Expand description
Document and product structure.
Parts, assemblies and instances with placements; colours and materials per shape and per sub-shape; layers; names and user properties; PMI and GD&T (dimensions, tolerances, datums, annotations); construction geometry; validation properties; transactional undo and redo; and the native persistence format.
Instancing leans directly on the location chain (docs/DATA_MODEL.md §2): an
assembly of ten thousand identical fasteners is ten thousand placements over one
piece of geometry, and that only works because placement is structural rather
than a matrix to be compared with an epsilon.
Deliberately not a label-and-attribute tree. The capability is required; that particular design, and compatibility with anyone’s file format, are not.
Re-exports§
pub use attributes::Layer;pub use attributes::LayerId;pub use attributes::Material;pub use attributes::MaterialId;pub use attributes::Property;pub use attributes::PropertyValue;pub use attributes::Texture;pub use attributes::TextureId;pub use attributes::TextureMapping;pub use attributes::ValidationProperties;pub use construction::Construction;pub use construction::ConstructionGeometry;pub use pmi::Annotated;pub use pmi::Callout;pub use pmi::Datum;pub use pmi::DatumModifier;pub use pmi::DatumModifierKind;pub use pmi::DatumReference;pub use pmi::DatumTarget;pub use pmi::DatumTargetKind;pub use pmi::Dimension;pub use pmi::GeometricTolerance;pub use pmi::LEAST_MATERIAL;pub use pmi::MAXIMUM_MATERIAL;pub use pmi::MeasureKind;pub use pmi::Pmi;pub use structure::Colour;pub use structure::Document;pub use structure::Instance;pub use structure::Occurrence;pub use structure::Product;pub use structure::ProductId;pub use structure::ProductKind;pub use view::Note;pub use view::View;
Modules§
- attributes
- The document’s attribute layer: properties, materials, layers, and validation values.
- construction
- Construction geometry: named points, axes, curves and surfaces a product carries for reference.
- pmi
- PMI: dimensions, geometric tolerances, datums, their targets, and the drawing of them.
- structure
- Product structure: parts, assemblies, instances with placements.
- view
- Saved views and standalone notes.