summaryrefslogtreecommitdiffstats
path: root/microwave_turntable.scad
diff options
context:
space:
mode:
authorRobert "ar" Gerus <ar@bash.org.pl>2013-06-07 17:00:35 +0200
committerRobert "ar" Gerus <ar@bash.org.pl>2013-06-07 17:00:35 +0200
commitea7650f161fd74e002e5bcc1f0c1e2584ddde3a5 (patch)
tree3a15839c4751b96cab38ca681a503b8a4ca64c1f /microwave_turntable.scad
parent131045760abcacfe797f744ea468895c19668a2e (diff)
download3dparts-ea7650f161fd74e002e5bcc1f0c1e2584ddde3a5.tar.gz
3dparts-ea7650f161fd74e002e5bcc1f0c1e2584ddde3a5.tar.bz2
3dparts-ea7650f161fd74e002e5bcc1f0c1e2584ddde3a5.zip
parametrize it.
Diffstat (limited to 'microwave_turntable.scad')
-rw-r--r--microwave_turntable.scad23
1 files changed, 9 insertions, 14 deletions
diff --git a/microwave_turntable.scad b/microwave_turntable.scad
index b971f1e..9afdd2a 100644
--- a/microwave_turntable.scad
+++ b/microwave_turntable.scad
@@ -1,16 +1,18 @@
-module turntable() {
+$fn = 100;
+
+module turntable(height, cut_in_width, tube_radius) {
// tube
difference() {
- cylinder(20,5,5,0);
+ cylinder(height,tube_radius,tube_radius,0);
translate([0,0,-1])
- cylinder(30 + 2,4,4,0);
+ cylinder(height + 2,tube_radius-1,tube_radius-1,0);
}
// cut-in for the tube
intersection() {
- cylinder(20,5,5,0);
- translate([-11,-11,0])
- cube([10,20,30]);
+ cylinder(height,5,5,0);
+ translate([cut_in_width,-15,0])
+ cube([10,20,height]);
}
// holder
@@ -25,11 +27,4 @@ module turntable() {
// my own
color("green")
- turntable();
-
-// thingiverse
-translate([0,50,0])
- color("blue")
- scale([0.8,0.8,0.8])
- import("thingiverse_microwave_turntable.stl");
-
+ turntable(50, 2.2, 5.5);