Skip to main content

attach

Function attach 

Source
pub fn attach(
    cfg: &Config,
    nodes: &[CylinderNode],
    carrying: &[(String, Option<[f64; 3]>)],
    machine: Box<dyn Machine>,
) -> Result<Box<dyn Machine>, ConfigError>
Expand description

The machine with the cylinders nodes attached, as it is without any. carrying: the axes that carry the tool, where the cylinders sit, each with its direction (a unit vector) or None for a rotary axis.