Grasshopper

algorithmic modeling for Rhino

I want to delete overlapping lines, when delete lines, as well as a corresponding set of data to will be deleted according to delete the line, so I want to delete CULL PATTERN.

As shown in the figure, I would like to get lines: 0 or1, 3,4,5,7,9,11.

line 0 and line 1 have the same length.

line 2 and line3 have the same start point,so 6 and 7 ,8 and 9...

A line only overlaps with  one line at most

Views: 1156

Attachments:

Replies to This Discussion

Not sure one of these could be a general solution, anyway..

Attachments:

nice,thanks you very much.

Hi,

maybe like this one?

Cheers,

Raul

Attachments:

thanks for your reply.

your solution did not work correctly ,there are still have duplicate lines.

 

 

Thats true,

the solution was the simplest one according to your first picture (just two lines are overlapping). So i didn't do further checks.

Kims solution may be the better choice.

en, i'll still thanks you for your help.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service