Hallo Leute,
Um das Sommerloch während der Hitzewelle zu überbrücken, habe ich hier zwei Alternativen für Plattenverbindungen, links die vereinfachte "quick 'n dirty" Methode für die faulen Konstrukteure und rechts die systematische für die Perfektionisten, optisch im Ergebnis kein Unterschied, nur in der Codezeilenlänge.

Vereinfachte Plattenverbindung
//Plattenbefestigung vereinfacht
PLATTE_ABSTAND=25;
PLATTE_LAENGE=30;
PLATTE_BREITE=50;
PLATTE_DICKE=2;
VERBINDUNGSELEMENT_STAERKE=1*PLATTE_DICKE;
VERBINDUNGSELEMENT_RANDABSTAND=2*PLATTE_DICKE;
VERBINDUNGSELEMENT_LAENGE=3*PLATTE_DICKE;
QUASI_ENDLOS=1000;
PlattenbefestigungVereinfacht(-1*PLATTE_ABSTAND,0,0);
module PlattenbefestigungVereinfacht(posX,posY,posZ){
translate([posX,posY,posZ]){
Platte(0,0,0);
VerbindingselementeVereinfacht(0);
};
};
module Platte(posX,posY,posZ){
translate([posX,posY,posZ]){
cube([PLATTE_LAENGE,PLATTE_BREITE,PLATTE_DICKE],center=true);
};
};
module VerbindingselementeVereinfacht(welche){
translate([0,0,0]){
difference(){
cube([PLATTE_LAENGE-1.5*VERBINDUNGSELEMENT_RANDABSTAND,PLATTE_BREITE-1.5*VERBINDUNGSELEMENT_RANDABSTAND,VERBINDUNGSELEMENT_LAENGE],center=true);
union(){
cube([PLATTE_LAENGE-1.5*VERBINDUNGSELEMENT_RANDABSTAND-2*VERBINDUNGSELEMENT_STAERKE,QUASI_ENDLOS,QUASI_ENDLOS],center=true);
cube([QUASI_ENDLOS,PLATTE_BREITE-1.5*VERBINDUNGSELEMENT_RANDABSTAND-2*VERBINDUNGSELEMENT_STAERKE,QUASI_ENDLOS],center=true);
};
};
};
};
Display More
Systematische Plattenverbindung
//Plattenbefestigung systematisch
PLATTE_ABSTAND=25;
PLATTE_LAENGE=30;
PLATTE_BREITE=50;
PLATTE_DICKE=2;
VERBINDUNGSELEMENT_STAERKE=1*PLATTE_DICKE;
VERBINDUNGSELEMENT_RANDABSTAND=2*PLATTE_DICKE;
VERBINDUNGSELEMENT_LAENGE=3*PLATTE_DICKE;
PlattenbefestigungSystematisch(+1*PLATTE_ABSTAND,0,0);
module PlattenbefestigungSystematisch(posX,posY,posZ){
translate([posX,posY,posZ]){
Platte(0,0,0);
VerbindingselementeSystematisch(0);
};
};
module Platte(posX,posY,posZ){
translate([posX,posY,posZ]){
cube([PLATTE_LAENGE,PLATTE_BREITE,PLATTE_DICKE],center=true);
};
};
module VerbindingselementeSystematisch(welche){
Verbindingselement(-1,-1);
Verbindingselement(-1,+1);
Verbindingselement(+1,-1);
Verbindingselement(+1,+1);
};
module Verbindingselement(linksRechts,vorneHinten){
translate([linksRechts*(PLATTE_LAENGE/2-VERBINDUNGSELEMENT_RANDABSTAND),vorneHinten*(PLATTE_BREITE/2-VERBINDUNGSELEMENT_RANDABSTAND),0]){
cube([VERBINDUNGSELEMENT_STAERKE,VERBINDUNGSELEMENT_STAERKE,VERBINDUNGSELEMENT_LAENGE],center=true);
};
};
Display More
Viel Spaß beim Ausprobieren und beim Optimieren.
Gruß,
Johannis