Skip to main content

stock_group

Function stock_group 

Source
pub fn stock_group(
    mesh: &StockMesh,
    to_model: &RigidTransform,
    deviation: Option<(&DeviationMap, f64)>,
) -> Value
Expand description

The stock surface as a triangle overlay group in MODEL coordinates (to_model is the setup’s machine-to-model transform). With a deviation map each vertex takes the colour of the column under it; without one the stock colour. An empty mesh removes the group.