Grasshopper

algorithmic modeling for Rhino

I am using planes (PerpFrames) on a curve to cut sections through a solid (Brep). The curve and the solid only partially overlap, therefore only some of the planes are actually sectioning the solid.

My question is how I can match which planes are actually cutting sections and match those back to the sections they are creating?

My reason for wanting to do this is so I can create a new set of planes with their origin points at the centroid of the sections but with the same X & Y axes. I realize I could do this visually (by extracting list items for example), however I am looking for a more robust solution that would allow me to use this procedure with different numbers of sectioning planes as well as with different guide curves and different solids.

Below is a screenshot of what I'm working with, and the rhino file and grasshopper definition are attached.

Thanks.

Views: 593

Attachments:

Replies to This Discussion

can you post rhino 4

rhino 4 version of the model attached.

Attachments:

Don't flatten the output and don't clean the tree.

Although there is a bug at the moment in this particular area of Path Output which puts all Nulls (misses) on one branch.

But you should be able to work out from the path Structure which the sections are by the branch address.

If your planes start on the left then you would have seen

{0} (N = 3) <-- these are your first 3 planes missing the bar

{0;3} (N = 1)

{0;4} (N = 1)

{0;5} (N = 1)

{0;6} (N = 1)

Like I said there is a bug which will be resolved when GH 0.9+ will be released and each plane will have its own branch regardless of a Null value or not

this is good news :)

thanks

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