User:Mths/sdr ldr: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
[[File:Helmetnumber1photo2.JPG|frame|right|200px|user with helmet]] | [[File:Helmetnumber1photo2.JPG|frame|right|200px|user with helmet]] | ||
[[File:Helmetnumber1photo1.jpg|frame| | [[File:Helmetnumber1photo1.jpg|frame|right|200px|helmet #1 on a table]] | ||
[[File:Helmetnumber1photo4.png|frame|right|200px|Reverse bias Oscillator. Only a battery, one capacitor, one transistor, one lightresistor and a small speaker are necessary.]] | [[File:Helmetnumber1photo4.png|frame|right|200px|Reverse bias Oscillator. Only a battery, one capacitor, one transistor, one lightresistor and a small speaker are necessary.]] | ||
[[File:Helmetnumber1photo5.jpg|frame| | [[File:Helmetnumber1photo5.jpg|frame|right|200px|a circuit for one vertex]] | ||
[[File:Helmetnumber1photo3.png|frame|right|200px|3d view of a vertex]] | [[File:Helmetnumber1photo3.png|frame|right|200px|3d view of a vertex]] | ||
Code for creation of a vertex in [http://www.openscad.org/ OPENSCAD] | Code for creation of a vertex in [http://www.openscad.org/ OPENSCAD] |
Revision as of 10:25, 1 July 2013
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