Page MenuHome

Node values for sizing remains in metric even with imperial selected
Closed, ArchivedPublic

Description

System Information
Operating system: Win 10
Graphics card: 3080

Blender Version
3.0.0

I’m trying to create a grid at a specific size with a specific number of divisions in each direction.

However, I’m not sure how Blender is calculating sizes, since what I thought would work as numeric inputs (values, to allow fractional input) is translating to a setting of 1/3 of what it should be.

In the picture below, the cube in the center is 1’. I thought I could use 1.0 in the value input and arrive at the same size, but it’s… weird.

FWIW it appears the input remains in Blender default metric units. Here is a view with a setting of “1” which appears to be 1 meter (39.4 inches)

If the input is removed, the units are correct:

Based on the default startup or an attached .blend file (as simple as possible).

Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Apr 12 2022, 3:25 PM

Inputs/Values tagged with PROP_DISTANCE will take scene units into account (and will allow for the special input like ft, m '' etc.
The Value / Integer nodes however dont support this since they are very general.
Possibly, a good solution would be to make them aware of units as well?
Other than that, passing along values between unit aware and non-unit aware nodes feels like a bug (not sure it will be considered one though), will confirm for now.

(could have sworn this came up in another report before, but cannot find it atm)

The data that is passed between nodes is always in "Blender Units", so Meters by default if you don't adjust the unit scale.
The units are just a UI feature so you can see/enter values in different unit systems, more of a tag for displaying values in a button.

In the future we want to propagate these unit tags between nodes in the node editor, but this is a large project with larger design ramifications, so it wouldn't be handled here.

Thanks for the report anyway.