DetachPlus

7 votes
Version: 
1.5
Date Updated: 
07/11/2022
Author Name: 
Branko Živković

detach-Plus

This simple tool allows you to detach Editable Poly and Editable Mesh objects in a specific way.

Additional Info: 

How it works: Just select a single Editable Poly object (without modifiers) and press the button. No need to select in sub-object mode

You can choose two types of detaching method:
#1 by Elements (every element will be detached to a single object)
#2 by Face Material ID (every Face ID group will be detached to a single object)

Additional Options (see tooltips on checkboxes)

*Randomize Wirecolor* - add random wirecolor to detached objects
*Centralize Pivot* - place pivot at the center of detached objects
*Preserve Normals* - every detached object will preserve existing normals
*Break Multimaterial* - every object will have assigned original material

This tool is requested on this page page by EricRLA , 1rv and harumscarum

update 1.1 now detached object (by MaterialID) will have name "Object Name_Material Name_Unique Number"
update 1.2 now supports Editable Mesh objects
update 1.5 The maxscript is rewritten from scratch
- There is 2 versions: for Max2022 and below and for Max 2023 and up
- Version for Max2023 uses two new functions which was recently added "polyOp.getFacesByMatId" and "meshOp.getFacesByMatId"
- Added support to do detach operation on multiple selected objects
- Improved support for EditablePoly and EditableMesh objects
- UNDO support
- Random Wirecolor option produces more intense colors now
- Preserve Normals affects border edges of Elements or Face ID polygons affer detaching
- Break Multimaterial now works for both methods:
- If detached part has several MatIDs, the tool will asign new multimaterial only with sub-materials which matches with Face ID
- All sub-materials will be instance of original Multimaterial
- All Face ID will be condensed, so if we have for example IDs:3,5,8 on detached part, they will be reseted to IDs:1,2,3
- If detached part has only one FaceID, single material will be assigned

Version Requirement: 
2020+
AttachmentSize
bga_detachplus_v1.5_max2022.ms11.14 KB
bga_detachplus_v1.5_max2023.ms10.98 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

...

Update 1.1 requested by 1rv

bga

1rv's picture

There's one problem: After

There's one problem:
After detaching, could the meshes be named by their materials (not Model_partXXX...)
Thank you

1rv's picture

The life saver! Absolutely

The life saver! Absolutely the best detacher. Many thanks Barigazi!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.