Hello all,
Is it to possible, in mecabricks or in blender (or elsewhere) to know what are the dimensions of a model created here ?
Thanks.
Hello,
There is no easy ways to find the dimensions in Mecabricks - If you know a bit about programming you might be able to get the dimensions of the bounding box in the browser console - I can provide the code to enter if needed.
Otherwise in Blender, don't scale your model, select edit mode (TA😎 and pick a vertex at the extremity. It will give you the global coordinates of this point.
I know a bit about programming, I'm a programmer ^^
So if you can give me the code ...
Thanks !
In the console type:
var size = new THREE.Box3();
size.setFromObject2(scene.main);
It will give the min and max values (in mm) on all 3 axes.
Thanks for the code.
When executing it on a scene with only a 1 x 1 brick, I get :
Max Object { x=3.96, y=11.4, z=3.96 }
Min Object { x=-3.96, y=0.02, z=-3.960001 }
Does this meen that the brick is 7.92mm by 11.2mm by 7.92mm approximately ?
Yes, this is it.
LEGO, the LEGO logo, the Minifigure, and the Brick and Knob configurations are trademarks of the LEGO Group of Companies. ©2024 The LEGO Group.
Mecabricks, the Mecabricks logo and all content not covered by The LEGO Group's copyright is, unless otherwise stated, ©2011-2024 Mecabricks.