Engineering Rules Examples#
A drawing rule is a check: most of them acquire data — from the drawing itself, from a Bill of Materials, from any other source — compare it against what is expected, then restitute the outcome as a report, as an annotated visualization, or both.
The two families of examples below both follow that shape; they differ in how they are delivered.
Six end-to-end checks, each with its annotated visualization: balloon addresses
and quantities against the BOM, safety class, section-line cross-references,
view-title formatting, view scale. They ship inside the installable package
(drawing_tools.demo_scenarios) and are runnable as Dessia platform workflows.
Ten rules on view names, numbering, ordering, letters, labels and title format,
given directly as scripts in the repository (scripts/rules_examples/).