Upon selecting the planar face of a solid, two new solids are created - the two halves of the bounding box of the original, split by the plane of the selected face.
Hi Jeremy,
Here's a simplified version of how I'm using the bounding box code from yesterday. Whether this command meets the definition of "doing something handy" is debatable, but it's at least a functional command. I'm working on solid modeling tools for working with non-parametric masses using somewhat different formal logic than the built-in "form" tools. The step demo'd here is really just one piece of construction geometry on the way to a more complex, yet-unfinished tool, but it illustrates a few useful functions:
- from user face selection, retrieve both the face and the solid
- from solid, generate solid of bounding box
- insert solid into family context
This draws _very_ heavily on the sample code provided with the SDK, particularly the FreeFormElement sample and planar face selection filter.
For the sample code I copied the relevant bits into a fresh addin and zipped the whole thing up. This has the source, working(for me) .dll and sample image and rfa in the "doc" folder.
Best,
Owen