User:Mths/sdr ldr
Helmet #1
Code for creation of a vertex in OPENSCAD <source lang="javascript"> hoehe2 = 18; hoehe = -8; abstand = 10; laengestab = 10; wert = 200; winkel = 58.2; //31,8 //69.1
module test001()
{
union() {
difference() {
union() {
cylinder(r = 20,h = 13, center = true,$fn=wert);
rotate(winkel, [1, 0, 0])
translate([0,hoehe,hoehe2])
cylinder(r = 7, h = laengestab, center = true,$fn=wert);
rotate(72, [0, 0, 1])
rotate(winkel, [1, 0, 0])
translate([0,hoehe,hoehe2])
cylinder(r = 7, h = laengestab, center = true,$fn=wert);
rotate(144, [0, 0, 1])
rotate(winkel, [1, 0, 0])
translate([0,hoehe,hoehe2])
cylinder(r = 7, h = laengestab, center = true,$fn=wert);
rotate(216, [0, 0, 1])
rotate(winkel, [1, 0, 0])
translate([0,hoehe,hoehe2])
cylinder(r = 7, h = laengestab, center = true,$fn=wert);
rotate(288, [0, 0, 1])
rotate(winkel, [1, 0, 0])
translate([0,hoehe,hoehe2])
cylinder(r = 7, h = laengestab, center = true,$fn=wert);
}
union() {
translate([0,0,2])
rotate(90, [0, 0, 0])
cylinder(r = 11.1, h = 9, center = true,$fn=wert);
rotate(winkel, [1, 0, 0])
translate([0,hoehe,hoehe2])
cylinder(r = 3.25, h = laengestab, center = true,$fn=wert);
rotate(72, [0, 0, 1])
rotate(winkel, [1, 0, 0])
translate([0,hoehe,hoehe2])
cylinder(r = 3.25, h = laengestab, center = true,$fn=wert);
rotate(144, [0, 0, 1])
rotate(winkel, [1, 0, 0])
translate([0,hoehe,hoehe2])
cylinder(r = 3.25, h = laengestab, center = true,$fn=wert);
rotate(216, [0, 0, 1])
rotate(winkel, [1, 0, 0])
translate([0,hoehe,hoehe2])
cylinder(r = 3.25, h = laengestab, center = true,$fn=wert);
rotate(288, [0, 0, 1])
rotate(winkel, [1, 0, 0])
translate([0,hoehe,hoehe2])
cylinder(r = 3.25, h = laengestab, center = true,$fn=wert);
}
}
}
}
test001();
</source