Skip to main content

export_examples

Function export_examples 

Source
pub(crate) fn export_examples(args: &ExamplesArgs) -> GeopResult<Vec<Compiled>>
Expand description

Write every built-in example as <out_dir>/<name>.geop and its part <out_dir>/<name>.stl, in the default format (see default_output) — and every example of several files as those files in <out_dir>/<name>/, its first one compiled — via compile, so an example’s part is written exactly the way any other program’s would be.