pub fn search_axes(
entry: &MachineEntry,
cfg: &Config,
supply: &str,
wanted: &dyn Fn(&str) -> bool,
gearboxes: Option<&str>,
) -> Vec<Candidate>Expand description
The motor search on every axis of the catalogue that is of the config’s kind (axis_names: the EXCT sizes and
Bahr’s X/Z gantries for a config with a Z stroke, Bahr’s single axes for one with one stroke), keeping the
config’s cycle and payload. An axis that cannot carry the machine by its catalogue numbers (axis_refusal:
stroke, payload, speed) is listed once, with article “” and the reason in refused, and no motor is tried on
it. The rest are ranked together, cheapest first: the axis’s weight counts into cost. A screw, rack or linear
motor machine is tried on the mechanical axes as well (mech_axes: every ball screw, with the guide sets where the
config rates guides), a linear motor machine with the linear motors of the supply in place of rotary motors.