Skip to main content

piece_names

Function piece_names 

Source
pub fn piece_names<C>(
    sketch: &str,
    pieces: &[Piece<C>],
    closed: bool,
) -> (Vec<String>, Vec<String>)
Expand description

The names of the pieces of a sketch loop or chain, and of its joints: sketch,c3 for a piece and sketch,p2 for a joint. An open chain also names its end joint.