Skip to main content

MM

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

Signature

MM: Unit = Unit(symbol='mm', dimension=Dimension(length=1, angle=0), scale_to_canonical=1.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 MM

See also