Dalsze prace

This commit is contained in:
Rafał Paluch 2025-10-31 11:57:34 +01:00
parent 4cca1cd26b
commit 67b9e6ac2b
1 changed files with 15 additions and 5 deletions

View File

@ -31,6 +31,7 @@ $fn = 100;
dlugoscp = 300; dlugoscp = 300;
szerokoscp = 300; szerokoscp = 300;
grubosc_plyty = 13;
// //
// cube([dlugoscp, szerokoscp, 20], center=true) { // cube([dlugoscp, szerokoscp, 20], center=true) {
// //
@ -46,26 +47,32 @@ szerokoscp = 300;
dlugoscotw = 159; dlugoscotw = 159;
szeroscotw = 88.3; szeroscotw = 88.3;
promien_filarka = 10; promien_filarka = 10;
wysokosc_filarka = 13;
// SKR 1.4 // SKR 1.4 filarki
dlugoscoskr = 102; dlugoscoskr = 102;
szerokoscoskr = 76; szerokoscoskr = 76;
promien_filarka_skr = 5; promien_filarka_skr = 5;
// wysokosc_filarka = 13;
// grubosc_plyty = 8;
// 21 - 4 = 17 (śruba ma 27,3 więc zostaje 10,3)
// dodajemy 5 do płyty i zostanie 5,5 śruby
diff() diff()
cube([dlugoscp, szerokoscp, 8], center=true) { cube([dlugoscp, szerokoscp, grubosc_plyty], center=true) {
ymove(szeroscotw / 2 + promien_filarka + 5) ymove(szeroscotw / 2 + promien_filarka + 5)
position(FRONT) position(FRONT)
ycopies(88.3) ycopies(88.3)
xcopies(159) xcopies(159)
attach(BOTTOM) attach(BOTTOM)
screw_hole("M4,20", head="socket", counterbore=4, anchor=TOP); screw_hole("M3,50", head="socket", counterbore=4, anchor=TOP);
ymove(szeroscotw / 2 + promien_filarka + 5) ymove(szeroscotw / 2 + promien_filarka + 5)
position(TOP + FRONT) position(TOP + FRONT)
ycopies(szeroscotw) ycopies(szeroscotw)
xcopies(dlugoscotw) xcopies(dlugoscotw)
cylinder(h=13, r=promien_filarka, anchor=BOTTOM); cylinder(h=wysokosc_filarka, r=promien_filarka, anchor=BOTTOM);
ymove(-szerokoscoskr / 2 - promien_filarka_skr - 5) ymove(-szerokoscoskr / 2 - promien_filarka_skr - 5)
position(BACK) position(BACK)
@ -74,9 +81,12 @@ diff()
cylinder(h=13, r=promien_filarka_skr, anchor=BOTTOM) { cylinder(h=13, r=promien_filarka_skr, anchor=BOTTOM) {
// color(c="red", alpha=1.0) // color(c="red", alpha=1.0)
attach(TOP) attach(TOP)
screw_hole("M3,10", head="socket", counterbore=4, anchor=TOP); screw_hole("M3,10", head="socket", counterbore=5, anchor=TOP);
} }
} }
// screw_hole("M4,20", head="socket", counterbore=4, anchor=TOP); // screw_hole("M4,20", head="socket", counterbore=4, anchor=TOP);
// filarki SKR 1.4 // filarki SKR 1.4
// Pomysł
// Zastosować zwykły cylinder i zrobić remove na otworek :)