Skip to main content

eval_macro

Function eval_macro 

Source
pub fn eval_macro(
    name: &str,
    content: &[MacroContent],
    args: &[f64],
    tolerance: f64,
) -> Result<Shapes, MacroError>
Expand description

Evaluates macro name with the aperture-definition arguments args.

tolerance is the maximum chord deviation (mm) for circles and arcs.