| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- /* [OpenScad] */
- $fn=90;
- /* [Teil] */
- Teil = 4; // [1:1:4]
- /* [Borletti] */
- // Bohrungen erstellen
- Bohrungen = true;
- // Anzahl Mitnehmerbohrungen
- Mitnehmer = 5; // [1:1:8]
- // Verschiebung x
- Shift_x = 0.0; // [-2:0.1:2]
- // Verschiebung y
- Shift_y = 0.0; // [-2:0.1:2]
- /* [Hidden] */
- Delta=0.005;
- Dicke = 3.5;
- Zusatz = 0.75;
- Aufnahme = 21.5;
- module borletti(filename) {
- difference() {
- translate([Shift_x,Shift_y,0]) linear_extrude(height=Dicke+Zusatz) import(file=filename, center=true);
- if (Bohrungen) translate([0,0,-Delta]) union() {
- cylinder(d=Aufnahme, h=2*Dicke);
- cylinder(d=Aufnahme+2, h=Zusatz);
- for(winkel=[0:360/Mitnehmer:359]) {
- rotate([0,0,winkel]) translate([30.5/2,0,0]) union() {
- hull() {
- translate([+0.5,0,0]) cylinder(d=3.5, h=2*Dicke);
- translate([-0.5,0,0]) cylinder(d=3.5, h=2*Dicke);
- }
- hull() {
- translate([+0.5,0,0]) cylinder(d=4, h=Zusatz);
- translate([-0.5,0,0]) cylinder(d=4, h=Zusatz);
- }
- }
- }
- }
- }
- }
- //ranslate([+25,0,0]) borletti("Borletti-3ZickZack.svg");
- //translate([-25,0,0]) borletti("Borletti-Overlock-3L1R.svg");
- //translate([0,40,0])
- //borletti("Borletti-4ZickZack-2.svg");
- if (Teil==1) {
- translate([+25,0,0]) linear_extrude(height=Dicke) import(file="borletti-2-zickzack.svg", center=true);
- translate([-25,0,0]) linear_extrude(height=Dicke) import(file="borletti-3-zickzack.svg", center=true);
- }
- if (Teil==2) {
- translate([+25,0,0]) linear_extrude(height=Dicke) import(file="borletti-4-zickzack.svg", center=true);
- translate([-25,0,0]) linear_extrude(height=Dicke) import(file="borletti-lycrastich.svg", center=true);
- }
- if (Teil==3) {
- translate([+25,0,0]) linear_extrude(height=Dicke) import(file="borletti-overlock.svg", center=true);
- translate([-25,0,0]) linear_extrude(height=Dicke) import(file="borletti-universal.svg", center=true);
- }
- if (Teil==4) {
- //translate([+25,0,0])
- difference(){
- linear_extrude(height=Dicke) import(file="borletti-vrv.svg", id="disc", center=true);
- translate([0,0,Dicke-0.5]) linear_extrude(height=0.6) import(file="borletti-vrv.svg", id="notes", center=true);
- }
- }
|