summaryrefslogtreecommitdiff
path: root/Filamenthalter/Filamenthalter.scad
diff options
context:
space:
mode:
Diffstat (limited to 'Filamenthalter/Filamenthalter.scad')
-rw-r--r--Filamenthalter/Filamenthalter.scad46
1 files changed, 46 insertions, 0 deletions
diff --git a/Filamenthalter/Filamenthalter.scad b/Filamenthalter/Filamenthalter.scad
new file mode 100644
index 0000000..5c2f562
--- /dev/null
+++ b/Filamenthalter/Filamenthalter.scad
@@ -0,0 +1,46 @@
+r = 52/2;
+d = 102;
+Rand = 4;
+dSchraube = 10;
+dQuader = 3/4*r;
+eps = 0.1;
+
+Teil = "beide";
+
+module Stab() {
+ difference() {
+ union() {
+ cylinder(r=r+Rand, h=Rand);
+ translate([0,0,Rand])
+ cylinder(r=r, h=d);
+ }
+ translate([0,0,-1])
+ cylinder(r=dSchraube/2, h=d+Rand+2);
+ translate([-dQuader/2-eps,-dQuader/2-eps,d+Rand-dQuader+1])
+ cube(dQuader+2*eps);
+ }
+}
+
+module Deckel() {
+ difference() {
+ union() {
+ translate([-dQuader/2-eps,-dQuader/2-eps,Rand])
+ cube(dQuader-2*eps);
+ cylinder(r=r+Rand, h=Rand);
+ }
+ translate([0,0,-1])
+ cylinder(r=dSchraube/2, h=dQuader+Rand+2);
+ translate([-dSchraube/2-eps,-dSchraube/2-eps,-1])
+ cube(dSchraube + 2*eps);
+ }
+}
+
+if (Teil == "Stab") {
+ Stab();
+} else if (Teil == "Deckel") {
+ Deckel();
+} else if (Teil == "beise") {
+ translate([2*r+3*Rand,0,0])
+ Stab();
+ Deckel();
+}