solidrs 0.2.0

Rust library to generate openScad models. Inspired by SolidPython.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// cube depth
depth = 5;
// cube height
height = 20;
// cube width
width = 10;
union(){
    cube([width,depth,height],center = true);
    translate([0,0,10]){
        cylinder(10, r = 5);
    }
}