Skip to main content

M

Kind: Constant
Domain: Expressions, units, and tolerances
Canonical import: from cadflow import M

Signature

M: Unit = Unit(symbol='m', dimension=Dimension(length=1, angle=0), scale_to_canonical=1000.0)

Description

Named unit with a scale to CadFlow's canonical numeric units.

Named unit with a scale to CadFlow's canonical numeric units.

Custom units are supported and serialize their symbol, dimension, and scale. Registered built-in units serialize as compact symbols.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Behavior and constraints

  • Instances are immutable dataclass values; update workflows return a replacement value.

Import check

from cadflow import M

See also