Grasshopper

algorithmic modeling for Rhino

Hi, 

I am trying to trim a set of closed Breps between two Planes. 

I have tried using a solid difference between the set of Breps and plane 1. This gives me the desired effect, but when I try to repeat the process with the second plane it chooses to select only the Breps which intersect the plane. This is different to the first solid difference which took into account all the Breps. 

Essentially I would like to find a way to trim any of the curved Breps that fall outside either of the two planes. This would be a quick operation in Rhino, but I would like to avoid baking to keep the definition parametric. 

Simplified definition attached. Any help would be greatly appreciated, Thanks. Tom 

Views: 5393

Attachments:

Replies to This Discussion

This seem far more difficult than it should be, eh?  It would be easier to trim the edge curves of these shapes before they are extruded, if possible.

But here's some code that splits the breps and keeps the pieces between the "planes" (actually surfaces in your code), knowing the X direction...

(Sorry for the delay, I am severely restricted in my ability to access Ning networks today, including this forum - happens all too often, unfortunately.  A stealth proxy extension got me through this time.)

Attachments:

It does indeed! This is great though, thanks very much for getting back to me! I found a workaround based on what I ultimately want to achieve from my definition, but I have definitely encountered this problem before and I'm sure I will again, so thank you!

Hi,

could you please tell how you created the plane?

Those things labeled as 'Plane 1' and 'Plane 2' are actually surfaces, not planes.  This works:

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service