Struct scad_generator::ScadFile
[−]
[src]
pub struct ScadFile { /* fields omitted */ }
Object that stores scad objects along with global parameters for the objects. Also has methods for writing the data to files.
Methods
impl ScadFile
[src]
fn new() -> ScadFile
fn get_code(&self) -> String
Returns the code for the global parameters as well as all the children in the file
fn add_object(&mut self, object: ScadObject)
fn set_detail(&mut self, detail: i32)
Sets the $fn variable for the whole file. This varibale defines the detail amount for cylindrical objects