Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    entry: &MachineEntry,
    cfg: &Config,
) -> Result<Config, ConfigError>
Expand description

The config with the catalogue values of the parts it names: [parts] with motor = "<article>", motor_supply (SUPPLIES), gearbox = "<size-frame-ratio>", drive = "<article>", belt = "<profile-width>" and axis = "<name>", “” for none. A named part overwrites the numbers the config has for it, and the velocity gain is retuned for it (see with_parts). Sim does this with every config it is given, so every front end gets it; the functions that read a config beside a Sim do it too.