RepRap/Modelle: Unterschied zwischen den Versionen

Aus Stratum 0
Wechseln zu:Navigation, Suche
K (Schnurverstelldingsi: *tune*)
(Kabelrolle hinzugefügt)
Zeile 42: Zeile 42:
 
translate([width/2, width/2, height/2])
 
translate([width/2, width/2, height/2])
 
cube([thread_size, width, height+2], center=true);
 
cube([thread_size, width, height+2], center=true);
 +
}
 +
</pre>
 +
 +
==Kabelrolle==
 +
Es werden zwei ungleiche Teile gedruckt(kann man evt. umgehen, wenn man einen Versatz in den Zylinder einbaut.
 +
 +
<pre style="max-height:300px;overflow:scroll;">
 +
$fs=0.5;
 +
$fa=1;
 +
 +
//Sollradius 22.5 mm
 +
 +
difference(){
 +
union(){
 +
//Außenteil
 +
translate([35,0,0])difference(){
 +
union(){
 +
translate([0,0,0.5])cylinder(h=1, r=32.5, center=true);
 +
translate([0,0,5])cylinder(h=10, r=23, center=true);
 +
}
 +
translate([0,0,5.5])cylinder(h=12, r=22.5, center=true);
 +
}
 +
//Innenteil
 +
translate([-35,0,0])difference(){
 +
union(){
 +
translate([0,0,0.5])cylinder(h=1, r=32.5, center=true);
 +
translate([0,0,3])cylinder(h=6, r=22.5, center=true);
 +
}
 +
translate([0,0,5.5])cylinder(h=12, r=22, center=true);
 +
}
 +
}
 +
for(r=[1,-1]){
 +
translate([0,0,0])rotate([0,0,r*35])cube([22,1,4],center=true);
 +
}
 
}
 
}
 
</pre>
 
</pre>
  
 
[[Kategorie:RepRap]]
 
[[Kategorie:RepRap]]

Version vom 29. Oktober 2012, 15:30 Uhr

Keycap

Basierend auf shoragans version, Schlitze jetzt an der Seite und insgesamt etwas höher. Benötigt die stratum0-lowres.dxf der matetags.

$fs=0.5;
$fa=1;
height=24.5;
width=26.5;
rotate([90,0,0])
intersection() {
  scale([width/height,1,1])
  translate([0, 3.5, 0])
  difference() {
    union() {
      cylinder(h=5, r=height/2+1, center=true);
      scale([height/width, 1,1 ]) translate([0,-6.5,0]) linear_extrude(height=7, center=true) scale(0.2) translate([-25,0,0]) import("stratum0-lowres.dxf");
    }
    cylinder(h=2.4, r=height/2, center=true);
    translate([0, 6.8, 0]) cylinder(h=10, r=5/2, center=true);
	translate([0,-10,0])rotate([0,0,0])cube([40,24,1],center=true);
  }
  translate([0,11.5,-10]) cube(size=[100,30,100], center=true);
}

Schnurverstelldingsi

$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=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([thread_size, width, height+2], center=true);
}

Kabelrolle

Es werden zwei ungleiche Teile gedruckt(kann man evt. umgehen, wenn man einen Versatz in den Zylinder einbaut.

$fs=0.5;
$fa=1;

//Sollradius 22.5 mm

difference(){
	union(){
		//Außenteil
		translate([35,0,0])difference(){
			union(){
				translate([0,0,0.5])cylinder(h=1, r=32.5, center=true);
				translate([0,0,5])cylinder(h=10, r=23, center=true);
			}
			translate([0,0,5.5])cylinder(h=12, r=22.5, center=true);
		}
		//Innenteil
		translate([-35,0,0])difference(){
			union(){
				translate([0,0,0.5])cylinder(h=1, r=32.5, center=true);
				translate([0,0,3])cylinder(h=6, r=22.5, center=true);
			}
			translate([0,0,5.5])cylinder(h=12, r=22, center=true);
		}
	}
	for(r=[1,-1]){
	translate([0,0,0])rotate([0,0,r*35])cube([22,1,4],center=true);
	}
}