/* Schnurverstelldingsi */ bessere Version, die nur von Fadenstärke abhängt
authorDaniel Bohrer <Daniel Bohrer@stratum0.org/mediawiki/>
Fri, 26 Oct 2012 13:58:20 +0000 (13:58 +0000)
committerDaniel Bohrer <Daniel Bohrer@stratum0.org/mediawiki/>
Fri, 26 Oct 2012 13:58:20 +0000 (13:58 +0000)
RepRap%2FModelle.mw

index 2e41824..13d26f2 100644 (file)
@@ -26,19 +26,23 @@ intersection() {
 
 == Schnurverstelldingsi ==
 <pre style="max-height:300px;overflow:scroll;">
-height=3;
-width=15;
+$fn=30;
 
+thread_size=1; // change this, everything other is calculated
+
+height=1.5 * thread_size;
+width=7*thread_size;
 difference() {
        hull() {
                translate([width/2, 0, 0]) cylinder(r=width/2, h=height);
                translate([-width/2, 0, 0]) cylinder(r=width/2, h=height);
        }
-       translate([width/2, 0, -1]) cylinder(r=height, h=height+2);
-       translate([-width/2, 0, -1]) cylinder(r=height, h=height+2);
+       translate([width/2, 0, -1]) cylinder(r=thread_size, h=height+2);
+       translate([-width/2, 0, -1]) cylinder(r=thread_size, h=height+2);
        translate([width/2, width/2, height/2])
-               cube([height, width, height+2], center=true);
-}
+               cube([thread_size, width, height+2], center=true);
+}      
+
 </pre>
 
 [[Kategorie:RepRap]]
This page took 0.025923 seconds and 4 git commands to generate.