Hi,
Maybe this idea may helpful,
so can ignore the order of the 8 points of bounding box maybe draw a polygon cube then convert the geos edges to curves.
for the cube just need width (assuming x), height (y), depth (z)
bounding box reference: http://download.autodesk.com/us/maya/2011help/Commands/xform.html#flagboundingBox
can see what get back for bounding box.
center bounding box reference: http://download.autodesk.com/us/maya/2011help/Commands/objectCenter.html
then maybe using something like
width = [3] - [0]
height = [4] - [1]
depth = [5] - [2], where the [li] is [ the index of what get back from xform -q -ws -bb ]
[/li]
this bit will select all edges of cube (MEL)
select -r `polyListComponentConversion -toEdge pCube1`
this should make curves for all edges selected
DuplicateCurve;
then can put all these curves into one transform (example use first curve, then parent all the other shapes to this transform)
Check out Ed Whetstone’s online tip “creating compound curve icons in maya”
Hope this is helpful,
cheers,
Nate