Notifications
Clear all
[Closed] Create Bounding Box Script
Jul 25, 2007 11:09 pm
Super basic. Might save someone a few minutes some day.
(
newdummy = dummy()
newdummy.name = uniquename("Bounding_Box_01")
Dummin = $.min
Dummax = $.max
Dumsize = Dummin - Dummax
dumsize.x = abs(dumsize.x)
dumsize.y = abs(dumsize.y)
dumsize.z = abs(dumsize.z)
newdummy.boxsize = dumsize
newdummy.pos = $.center
s = selection as array
for j in s do
(
j.parent = newdummy
)
)
1 Reply