Skip to main content

Module attributes

Module attributes 

Source
Expand description

The document’s attribute layer: properties, materials, layers, and validation values.

Everything here is data about shapes rather than geometry: the free-form key–value pairs an application pins to a face, the material a body is meant to be cut from, the layers a drawing organizes itself by, and the mass-property check values an exchange partner records so the receiver can verify a translation did not quietly lose a boss. The document stores and round-trips them; computing anything (a volume to compare against a validation record) stays with the code that owns the geometry.

Structs§

Layer
A layer: a named grouping with a visibility flag.
LayerId
A layer in the document’s own list.
Material
A material: what a body is meant to be made of.
MaterialId
A material in the document’s own list.
Property
One user-defined property: a name and a value.
Texture
A texture: an image and how it lands on the geometry.
TextureId
A texture’s place in the document.
ValidationProperties
Mass-property check values, recorded so a receiver can verify a translation preserved the body they describe.

Enums§

PropertyValue
A user-defined property’s value.
TextureMapping
How a texture’s image is laid onto a shape.