Skip to main content

Module netlist

Module netlist 

Source
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§

AxisNode
BodyNode
Field
FrameNode
GantryNode
A gantry’s bridge that yaws (machine.gantry).
GuideNode
IdlerNode
LeanNode
A body leaning on its carriage along a horizontal axis (machine.lean).
MotorNode
Netlist
The [machine] part, read and checked; indices point into the node lists, motors in their order of the file.
Overhang
SectionNode
SpanNode
TcpNode
The tool centre point (machine.tcp).
WormNode
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 as machine.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::parse has checked their fields), for pneumatic::attach.
json_schema
The JSON Schema (draft 2020-12) of a machine file, from NODES, as a value for a JSON writer (sim_machines writes 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).