Grasshopper

algorithmic modeling for Rhino

Hello,

I created a pattern on a rectangular grid and distorted it using point attractors.

However, as it can be seen in the image, as lines intersect, some unattached edges occur. I want to trim the line from the latest edge it intersects. 

How do you think do that?

Thank you,

Views: 1172

Attachments:

Replies to This Discussion

I cannot get your file to load in either Rhino 4 or 5. It just crashes everything.
sorry if you load with the 3dm file I put here, it works
Attachments:

I couldn't be bothered to try and work it out without scripting... sorry.

 

The attached script is completely unoptimized. It also removes lines that don't intersect at all.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:
Thank you, script worked perfectly as I wanted..

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service