UnitSettings(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.
UnitSettings
(bpy_struct)¶ -
length_unit
¶ Unit that will be used to display length values
Type: enum in [‘DEFAULT’], default ‘DEFAULT’
-
mass_unit
¶ Unit that will be used to display mass values
Type: enum in [‘DEFAULT’], default ‘DEFAULT’
-
scale_length
¶ Scale to use when converting between blender units and dimensions. When working at microscopic or astronomical scale, a small or large unit scale respectively can be used to avoid numerical precision problems
Type: float in [1e-05, 100000], default 0.0
-
system
¶ The unit system to use for user interface controls
Type: enum in [‘NONE’, ‘METRIC’, ‘IMPERIAL’], default ‘NONE’
-
system_rotation
¶ Unit to use for displaying/editing rotation values
DEGREES
Degrees, Use degrees for measuring angles and rotations.RADIANS
Radians.
Type: enum in [‘DEGREES’, ‘RADIANS’], default ‘DEGREES’
-
time_unit
¶ Unit that will be used to display time values
Type: enum in [‘DEFAULT’], default ‘DEFAULT’
-
use_separate
¶ Display units in pairs (e.g. 1m 0cm)
Type: boolean, default False
-
classmethod
bl_rna_get_subclass
(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The RNA type or default when not found. Return type: bpy.types.Struct
subclass
-
classmethod
bl_rna_get_subclass_py
(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The class or default when not found. Return type: type
-
Inherited Properties
Inherited Functions
References