Code: Alles auswählen
--get length
bBoxLength = $.max.y - $.min.y;
--get width
bBoxWidth = $.max.x - $.min.x;
--get height
bBoxHeight = $.max.z - $.min.z;
--create Bounding Box
Box length:bBoxLength width:bBoxWidth height:bBoxHeight
Moderator: Falk
Code: Alles auswählen
--get length
bBoxLength = $.max.y - $.min.y;
--get width
bBoxWidth = $.max.x - $.min.x;
--get height
bBoxHeight = $.max.z - $.min.z;
--create Bounding Box
Box length:bBoxLength width:bBoxWidth height:bBoxHeight