Grasshopper

algorithmic modeling for Rhino

Hi all,

Sorry this might be a silly question.

I have a set of curves that intersect an open BREP and I want to trim the curves with the BREP. Elsewhere on the forum I have read that SHATTER is the way to go.

But SHATTER seems to find a "split" point on each curve for all points in the t-parameter list.

How to I make sure each curve is only shattered by the point on the list that is also on the curve?

In other words, I need to match each items of both lists before shattering.

I also don't know how to select the part of the curve of interest.

Views: 835

Attachments:

Replies to This Discussion

Shatter is looking for a curve parameter 't', while the Brep/Curve intersection gives the point of intersection 'P', so first you have to find what parameter on each curve corresponds with each point 'P' using Curve Closest Point. OTOH, since your object is a surface, you could use Surface/Curve intersection, which automatically gives you the parameter. --Observe the grafting.

Attachments:

Thanks Ethan, 

I will try this.

Cheers

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service