Expand description
The steps a program says what its part is by, besides its shape: its
parameters (DefineParameters), the tables a part family looks its
size up in (LookupTable) and its properties (PartProperties).
Each produces targets as any step does: a formula reads a parameter’s
target, and what lists the part reads its properties’. Every step that
defines parameters adds them to the part’s ParameterValues, a chain.
What a parameter is set to where the part is built is the run’s input
of its name — a Setting a program placing the part gives — and its
own definition where none is given. The colour is set the same way, by
the input COLOR, and the part is drawn in it (PartColor).
Structs§
- Define
Parameters - Defines the program’s number parameters, each a target of its own
(
parameter): what the run’s input of its name sets it to, else what it is defined as. A formula may read any other parameter of the step, defined before it or after, and those the steps before defined — a table’s columns; one reading one that reads it back fails, saying so. - Define
Parameters Args - Face
Color - Faces of the part in one colour.
- Lookup
Table - Looks the row a part family is built in up in a table: the row the
run’s text input
inputnames —size = "M4"from a program placing the part — else the rowselected. Defines the parameterinputas the row’s name, andinput.columnas its value in each column (size.d), each a target of its own (parameter), and adds them to the part’sParameterValues. A text that names no row fails, naming the input and the rows. - Lookup
Table Args - A table of the variants of a part family, one per row, looked up by the
input
input. - Part
Color - Draws a part in the colour its properties give it (see
PartProperties). - Part
Properties - Defines what the part is called and ordered as, its colours, and what
it is made of: its
properties. The colour is the run’s inputCOLORwhere it is given one. - Part
Properties Args - What a part is, besides its shape.
- Properties
- What a part is, besides its shape, as its program says: what it is called and ordered as, its colour and what it is made of.
Constants§
- LOOKUP
- The kind of the step looking a part family’s size up in a table.
- PARAMETERS
- The kind of the step defining a program’s parameters, and its id.
- PROPERTIES
- The kind of the step defining a part’s properties, and its id.
Functions§
- properties
- The part’s properties, defined by its
PartPropertiesstep. - read_
properties - The properties of the part
readerreads: none set, for a part whose program says nothing of them. - stem
- The name of the file
file, without folders or.geop: what a part placed from it is listed as without a title, and what a file written from it is named after —partif that leaves nothing.