Enum scad_generator::ScadElement [] [src]

pub enum ScadElement {
    Translate(Vector3<f32>),
    Scale(Vector3<f32>),
    Rotate(f32Vector3<f32>),
    Mirror(Vector3<f32>),
    LinearExtrude(LinExtrudeParams),
    Difference,
    Union,
    Hull,
    Intersection,
    Cube(Vector3<f32>),
    Cylinder(f32CircleType),
    Sphere(CircleType),
    Cone(f32CircleTypeCircleType),
    Polyhedron(Vec<Vector3<f32>>, Vec<Vec<i32>>),
    Polygon(Vec<Vector2<f32>>, Vec<Vec<i32>>),
    Import(String),
    Square(Vector2<f32>),
}

Different kinds of scad modules and function. These are parameters for ScadObjects.

Most of these have the same name as the openscad counterparts so see their documentation for details

Variants

Methods

impl ScadElement
[src]

Returns scad code for each of the elements

Trait Implementations

impl Clone for ScadElement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more