Skip to main content

Module configurations

Module configurations 

Source
Expand description

A program’s configurations (ConfigurationsPanel): the variants of one design — a light and a full version of a bracket, a long and a short shaft — each setting the parameters, and which steps run.

A configuration is a row of the table looked up by the parameter CONFIGURATION (a [LookupTable] step, as any part family’s), so that each column is a parameter of the configuration built, configuration.length, which formulas read as any other. A step that runs in some configurations only says so by its formula of whether it runs (ProgramStep::active): configuration.fillet1, a column of 1 where it runs and 0 where it is suppressed. Nothing else is special about a configuration: the row built is the table’s own, which a program placing the part sets by name as it sets any table’s (configuration = "light"), and the bill of materials, the drawings and everything else read the part as built.

The panel shows each table a program is looked up in — its configurations first — with the row built, to switch; adds a configuration; and suppresses a step in the configuration built, or — where there are no two configurations — in all of it.

Structs§

ConfigurationsPanel
The configurations panel: see the module docs.
ConfigurationsState
What the configurations panel shows.
TableChoice
A table a program is looked up in, as the panel shows it.

Enums§

ConfigurationsCommand
What the configurations panel is sent.