Hi there,
In 3ds max bounding box is displayed by default.
Surprisingly to me, in Maya and on the internet I can't find much about BB display in Maya.
Someone made a custom script but didn't share, so I keep searching.
For sure bouncing box is used by some tools (i.e. pivot matching tools) to calculate whatever they need.
Did anyone come across a method to display a bounding box of an object?
For now, I assembled a script which duplicates selected object and converts the duplicate into BB mesh.
It's not the same though.
//Object Mode
toggleSelMode;
changeSelectMode -object;
MoveTool;
//Duplicate Object
duplicate -rr;
//Convert To BoundingBox
GeometryToBoundingBox
Cheers,
DS
Solved! Go to Solution.
Hi there,
In 3ds max bounding box is displayed by default.
Surprisingly to me, in Maya and on the internet I can't find much about BB display in Maya.
Someone made a custom script but didn't share, so I keep searching.
For sure bouncing box is used by some tools (i.e. pivot matching tools) to calculate whatever they need.
Did anyone come across a method to display a bounding box of an object?
For now, I assembled a script which duplicates selected object and converts the duplicate into BB mesh.
It's not the same though.
//Object Mode
toggleSelMode;
changeSelectMode -object;
MoveTool;
//Duplicate Object
duplicate -rr;
//Convert To BoundingBox
GeometryToBoundingBox
Cheers,
DS
Solved! Go to Solution.
Solved by The-Digital-Shaman. Go to Solution.
Hmm, one can add an object to a Layer in ChannelBox panel, then right click the later and Set Selected Layers -> Bounding Box.
BB On:
setLayerTo selected".levelOfDetail" 1;
BB Off (Full Detail):
setLayerTo selected".levelOfDetail" 0;
Or
Just for the selected Layer:
setLayerTo onlySelected".levelOfDetail" 1;
setLayerTo onlySelected".levelOfDetail" 0;
Update; Easier method to switch display of an object into BB:
ShowBoundingBox;
HideBoundingBox;
However, disappointingly aligning pivot to Maya's BB doesn't work.
So my initial script is still useful.
Hmm, one can add an object to a Layer in ChannelBox panel, then right click the later and Set Selected Layers -> Bounding Box.
BB On:
setLayerTo selected".levelOfDetail" 1;
BB Off (Full Detail):
setLayerTo selected".levelOfDetail" 0;
Or
Just for the selected Layer:
setLayerTo onlySelected".levelOfDetail" 1;
setLayerTo onlySelected".levelOfDetail" 0;
Update; Easier method to switch display of an object into BB:
ShowBoundingBox;
HideBoundingBox;
However, disappointingly aligning pivot to Maya's BB doesn't work.
So my initial script is still useful.
Display > Object Display > Bounding Box
or
In your mesh's shape node, Object Display > Drawing Overrides > Level of Detail = Bounding Box
They are the same setting.
Display > Object Display > Bounding Box
or
In your mesh's shape node, Object Display > Drawing Overrides > Level of Detail = Bounding Box
They are the same setting.
Can't find what you're looking for? Ask the community or share your knowledge.