Multiple Split Macro
From gtwiki
This script helps a modeler who has to make many recursive splits from the same object.
| «««(?) |
Contents |
Script Description
Modelers often need to split up geometry into several portions. Digital Project cannot batch split between relative cutting objects.
This script allows a user to select the object "to chop up." Then the user can pick a Geometrical Set of "Cutters" that will chop up the geometry.
Cut-able Objects
Enhancements in the code allow users to cut object up into several types. It can cut...
- Curves/Surfaces into Sub-Curves/Sub-Surfaces
- Bodies into Sub-Surfaces
- Bodies into Sub-Bodies
- Curves/Surfaces/Bodies into Sub-Curves/Sub-Surfaces/Sub-Bodies in dedicated CATParts
Restrictions
New functionality allows users to run this script while working in a Product or a Part. However, in the case of "Bodies --> Sub-Bodies in Parts," this task require an active Product with a Part in it.
You cannot pick a non-connex Join of intersection objects, because the resultant output would be two non-manifold and non-connex splits, instead of the real number of separate elements.
Sometimes there are problems with splitting solids that were created in the default "PartBody" body. Insert a new body instead.
Lastly, it is imperative that users of the "... in dedicated CATParts" option have the same PartNumber (name) of their CATParts as the CATPart file name. The code will prompt the users with an "GetImpl" error. If you encounter this error message, stop (end) the code, rename the file name to match the PartNumber or vis-versa, and re-run the script.
Script Notes
It's sometimes better to have your set of chopping objects in order in the Geometrical Set. But this is sometimes not necessary. The best practice is to always order your cutters in the appropriate sequence. Also, the results may be cleaner if users have the cutting object trail off of the sides of the "cuttee."
Also there is a bug with one of the commands in the script. It will prompt the user with a message box saying "No command found: Undo," but this will not impact the script. Click OK, and it will continue. (Note: if you do not want this message to occur, activate a part or make a point. Then go to "Edit" > "Undo." By doing this, the message box will not appear in future executions of the code.)
"Multi-Split" Script Use
Download Script Version 10. November 3, 2009 (Updated naming conventions options.)
Download Script Version 9. January 21, 2009 (Saves Parts in Directories.)
Here is a video that shows how to use the MultiSplit script.
Here are some directions on how to load up your script and run the module.
Archived Versions of the Script
Download Script Version 8. January 20, 2009 (Naming Conventions, added Surface/Curve/Solid to Parts.)
Download Script Version 7. January 19, 2009 (Splits ALL configurations and works in Parts and Products.)
In-progress Script Versions 4, 5, and 6 have been archived.
Download Script Version 3. January 15, 2009 (Allows for PartBody Solids chopping)
Download Script Version 2. May 20, 2008 (Allows for PartBody chopping)
Download Script Version 1. March 3, 2008
