X-Git-Url: https://git.rohieb.name/stratum0-wiki.git/blobdiff_plain/0b962863a1989d2d73029bf0e4a60d54c6e6ec48..88e337b140606a08423bed4fdf5439682714a3ee:/RepRap%2FModelle.mw?ds=sidebyside diff --git a/RepRap%2FModelle.mw b/RepRap%2FModelle.mw index 2e41824cf..581c39d2a 100644 --- a/RepRap%2FModelle.mw +++ b/RepRap%2FModelle.mw @@ -26,18 +26,21 @@ intersection() { == Schnurverstelldingsi ==
-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=1.5*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);
 }