Grasshopper

algorithmic modeling for Rhino

Hello,

I have a meshed model I would like to take a corner section out of so that I can see inside it. Clipping plane seems to always use an infinity extent for its cut. 

Is there a way to create a solid box and clip everything inside the box? I tried Boolean difference but its not coming out clean. Any advice appreciated. Thank you forum! 

Views: 3135

Replies to This Discussion

AFAIK there's no "AddCliipingObject" Method exposed in SDK ... thus clipping ops are restricted to planar infinitive clipping.

Anyway get this in case that you want to clip things from "inside" GH (but is this helpful for you? I doubt).

Load R file first for the test.

Attachments:

But ... never say never: is possible to define multiple clip planes ... thus you can "approximate" a bit better your goal.

Note: IF planes are provided and IF they are valid and IF useUserPlanes = true ... then these are used as clipping planes. If not the plane is defined as in V1.

Note: move and flip (new option) work if one plane is defined (i.e. not using the userPlanes List).

See attached

Attachments:

BTW: Preview the 3 test planes to see their "combined" clipping,

Here's a sequence of images indicating the usage of multiple clip planes (derived from a facet dome and oriented "inwards" ) in a sphere.

Peter - thank you so much for these interesting examples. I will study them carefully.

Well ... the customer satisfaction department notified me that there's an issue around with V1A (has to do with setting properly the activeViewport after choosing a view by name: silly me, blame shortage of espresso).

I'll fix things in the V1B update (soon).

But the issue here is that this approach is "OK" or ... not depending on the choice and orientation of the planes .... therefor post your messy mesh in order to mastermind the best way to examine it.  

Whilst waiting for your stuff have in mind that solids in Rhino and GH closed breps (not baked) are not displayed the same (gray is a R object the blue a GH brep). Some OpenGL stuff ? 

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