Hi Przemas, so for doing a script right now it's easiest to modify the current Trim command script to delete cutting objects and do a join at the end. I've attached a version that does this.
The delete part is from this added line:
code:
moi.geometryDatabase.removeObjects( cutters );
and the join is from this added part:
code:
var join_factory = moi.command.createFactory( 'join' );
join_factory.setInput( 0, newobjs );
join_factory.commit();
Does that then do the boolean stencil function you want?
- Michael
|