Enum scad::ScadElement [−][src]
pub enum ScadElement { Translate(Vector3<f32>), Scale(Vector3<f32>), Rotate(f32, Vector3<f32>), Mirror(Vector3<f32>), LinearExtrude(LinExtrudeParams), RotateExtrude(RotateExtrudeParams), Difference, Union, Hull, Intersection, Cube(Vector3<f32>), Cylinder(f32, CircleType), Sphere(CircleType), Cone(f32, CircleType, CircleType), Polyhedron(Vec<Vector3<f32>>, Vec<Vec<i32>>), Import(String), Square(Vector2<f32>), Circle(CircleType), Polygon(PolygonParameters), Offset(OffsetType, bool), Rotate2d(f32), Translate2d(Vector2<f32>), Scale2d(Vector2<f32>), Color(Vector3<f32>), NamedColor(String), }
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
Translate(Vector3<f32>)
Scale(Vector3<f32>)
Rotate(f32, Vector3<f32>)
Mirror(Vector3<f32>)
LinearExtrude(LinExtrudeParams)
RotateExtrude(RotateExtrudeParams)
Difference
Union
Hull
Intersection
Cube(Vector3<f32>)
Cylinder(f32, CircleType)
Sphere(CircleType)
Cone(f32, CircleType, CircleType)
Polyhedron(Vec<Vector3<f32>>, Vec<Vec<i32>>)
Import(String)
Square(Vector2<f32>)
Circle(CircleType)
Polygon(PolygonParameters)
Offset(OffsetType, bool)
Rotate2d(f32)
Translate2d(Vector2<f32>)
Scale2d(Vector2<f32>)
Color(Vector3<f32>)
NamedColor(String)
Methods
impl ScadElement
[src]
impl ScadElement
Trait Implementations
impl Clone for ScadElement
[src]
impl Clone for ScadElement
fn clone(&self) -> ScadElement
[src]
fn clone(&self) -> ScadElement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ScadElement
impl Send for ScadElement
impl Sync for ScadElement
impl Sync for ScadElement