Expand description
The [machine] part of a machine file: the node lists, what each node may hold, and how they are read and
checked. NODES is the schema: the parser refuses a field it does not list, and json_schema is written from it.
Structs§
- Axis
Node - Body
Node - Field
- Frame
Node - Gantry
Node - A gantry’s bridge that yaws (
machine.gantry). - Guide
Node - Idler
Node - Lean
Node - A body leaning on its carriage along a horizontal axis (
machine.lean). - Motor
Node - Netlist
- The
[machine]part, read and checked; indices point into the node lists, motors in their order of the file. - Overhang
- Section
Node - Span
Node - TcpNode
- The tool centre point (
machine.tcp). - Worm
Node - A worm stage (
machine.worm): its ratio and its efficiencies driven forward and back.
Enums§
- Kind
- What a field holds.
- Transmission
- What a motor drives: a belt pulley, or an axis through a screw, rack, linear motor or rotary (each with the dotted path of its values’ table).
- Waypoint
- A point a section’s belt runs past in the 3D view.
Constants§
- NODES
- The node lists of
[machine], in the order they are read, each with its fields. - VERSION
- The version of the
[machine]part. A file states it asmachine.version; a later format that reads files differently gets a new number, and this one refuses it.
Functions§
- cylinders
- The
[[machine.cylinder]]nodes of a file (Netlist::parsehas checked their fields), forpneumatic::attach. - json_
schema - The JSON Schema (draft 2020-12) of a machine file, from
NODES, as a value for a JSON writer (sim_machineswrites it; this layer has no JSON). It describes[machine]in full; the other tables it lists as objects, since they are the tables of a machine config (docs/config-reference.md).