Skip to main content

Module parameters

Module parameters 

Source
Expand description

What a part says of itself besides its shape: the parameters its design is given by (definition) — numbers, and the tables a part family looks its size up in — and its properties — title, designation, colour, material — as steps of its program producing targets (steps), set by a program placing it through the run’s inputs (Settings), and read and set in a program (program); where the parts of its instances are placed by it (instance); the configurations of a design (configurations); and the files a field picks from (files).

Re-exports§

pub use configurations::ConfigurationsCommand;
pub use configurations::ConfigurationsPanel;
pub use configurations::ConfigurationsState;
pub use configurations::TableChoice;
pub use definition::COLOR;
pub use definition::CONFIGURATION;
pub use definition::Material;
pub use definition::NumberParameter;
pub use definition::Parameter;
pub use definition::ParameterKind;
pub use definition::Parameters;
pub use definition::Row;
pub use definition::validate_color;
pub use files::file_choices;
pub use instance::Factor;
pub use instance::Instance;
pub use instance::Placement;
pub use instance::PoseOf;
pub use instance::compose;
pub use instance::define_instance;
pub use instance::instance;
pub use instance::instances;
pub use instance::located;
pub use instance::placement;
pub use program::parameter_numbers;
pub use program::parameters_of;
pub use program::set_parameters;
pub use steps::DefineParameters;
pub use steps::DefineParametersArgs;
pub use steps::FaceColor;
pub use steps::LookupTable;
pub use steps::LookupTableArgs;
pub use steps::PartColor;
pub use steps::PartProperties;
pub use steps::PartPropertiesArgs;
pub use steps::Properties;
pub use steps::read_properties;
pub use steps::stem;

Modules§

configurations
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.
definition
Parameters: the named values a program’s design is given by — numbers, tables of variants, the part’s colour and what it is made of.
files
The files around a program, as a field picking one offers them: read through the runner running the program (see geop_core_program::workspace).
instance
Where placed parts are: what the step that places a part (see geop_core_program::placed) says of it, as a target of its own (define_instance). The program only builds the placed part; where it goes is a value of the state, or a fixed motion after another instance, composed outermost first (placement), and where that puts it (compose, located).
program
The parameters of a Program, as its steps define them (see crate::parameters::steps): read and set.
steps
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.