Hi Ed, if you have the cutting object saved in its own 3DM file positioned around the origin and oriented upwards, you might try using the "ImportPart" command to bring it in - that's available by right clicking the File > Import button or by setting up a shortcut key with ImportPart as the command name.
When you run ImportPart it will be similar to running the Transform > Orient command for placing the object, except the base point will be automatically picked as the origin point in the file. That may save you some steps.
I'm not sure it's very feasible to do what you're describing with a script currently, things like analyzing an object to determine its normals, so that part of the script that you're describing would be difficult to do right now I think.
I want to add in a function for "Depth limited" booleans so you could use a curve as a cutting object but give it a depth to cut by rather than just cutting all the way through like it does now, would that help? Hopefully I'll be able to work on that for v4.
- Michael
|