Macro import

Source
macro_rules! import {
    ($file:expr) => { ... };
    ($file:expr, $convexity:expr) => { ... };
}
Expand description

Import a file for use in OpenSCAD

#params

file: The path of the file to import.

convexity: Number of outside faces a ray could encouter when passing through object. Preview only.

expansion: Scad struct literal.

#patterns

import!(‘file: &str’);

import!(‘file: &str’, ‘convexity: u64’);