Added 2d ring
This commit is contained in:
parent
5eb4cf289a
commit
3faafdd93e
|
@ -76,6 +76,13 @@ module dodecagon(radius)
|
|||
reg_polygon(12,radius);
|
||||
}
|
||||
|
||||
module ring(inside_diameter, thickness){
|
||||
difference(){
|
||||
circle(r=(inside_diameter+thickness*2)/2);
|
||||
circle(r=inside_diameter/2);
|
||||
}
|
||||
}
|
||||
|
||||
module ellipse(width, height) {
|
||||
scale([1, height/width, 1]) circle(r=width/2);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue