archipack
archipack copied to clipboard
Input is always in meters even if scene units are set to cm/mm
This is a bit annoying, even if Archipack dimensions are shown as "123cm", you have to remember to always type "1.23" because it measures everything in meters and ignores your scene unit settings. Could it use the scene units instead for input?
Unfortunately this is a blender limitation in FloatProperties. Units setup only change display, if you want to use anything else than meter you have to enter the unit by hand, eg 123cm. Perhaps report to blender dev's as this make some sense - unless "adaptive" units is set. Might at least try to implement this for manipulators.
Hmm, I see. What's weird - in Blender's native translation tools, for example you can type "g z 20" and it will move it by 20cm, in this way it respects the units. I'm wondering if the current units/scale is available anywhere in the Blender's API?
Under the hood, manipulators rely on transform.translate operator (same as g) so should work as native one out of the box. When you click on text values, text is passed to blender's interpreter for dimensions evaluations.