Expand description
The step-order wizard: proposes the step tree from an assembly’s occurrence tree and mate graph.
The order, per assembly level:
- every sub-assembly is one step of its parent’s level whose children are its own parts’ steps: they build it first, then the step places it;
- the grounded components come first, then mate order: the next component is the one mated to what is already placed, earliest in the assembly’s own order. When the assembly already has an exploded view, its steps seed the order instead (an exploded view lists parts coming OFF, so it reads backwards);
- fasteners come last, one step per fastener part, in the order of the parts they fasten, with the torque taken from the part’s attribute.
One step per component or sub-assembly. The author merges, splits and
reorders afterwards (crate::edit).
Structs§
Functions§
- find_
level - The level at
pathinsideroot(""is the root). - flatten
- Every component of
leveland its sub-assemblies, depth first, each with the path of the level that holds it. - level_
steps - The steps that build
level, in proposed order; a sub-assembly’s step holds the steps that build it as its children. - order
- The level’s components grouped into steps, in proposed order. Every group but a fastener group holds one component.
- propose
- Propose the steps for
rootintoblock, replacing its step tree. - step_
for - The step that adds
group.