Grasshopper

algorithmic modeling for Rhino

Hello,

I'm new to Grasshopper, and this is my first question here.

I am using a component called Radial Hex that works just like GH Radial, and would like to limit the pattern boundary to a circle curve that I have set.

I have been trying different ways to go about this, but not found a solution just yet and would like to ask this forum for some advice.

Many thanks!

Views: 1477

Attachments:

Replies to This Discussion

Here is the solution!

Attachments:

Thank you so much! This is exactly what I needed! :D

You could 'Explode' all the polylines and use 'InCurve' to make sure BOTH end points of each segment are within the circle (radial_2017Mar8a.gh):

Or you could check just the mid-point of each line segment, which returns lines that cross the circle (radial_2017Mar8b.gh).

Then you could 'Shatter' those lines that intersect the circle and ignore the parts outside the circle; I'll leave that part to you. ;-)

Attachments:

Thank you so much! I've learnt a bunch of new things thanks to your answer!

Ah shucks, just do it the easy way!  'Trim With Region' (the circle)

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service