This commit is contained in:
julien committed 2026-10-26 13:44:05 +01:00
1 parent efe9f48af7
commit 889e5a094d
2 files changed
+7 -6

No files matched your search

+7 -6
View File
@@ -8,6 +8,7 @@ outer_d=inner_d+5;
plate_width=120; plate_width=120;
hole_pos=plate_width/2-10; hole_pos=plate_width/2-10;
plate_height=10; plate_height=10;
center_height=20;
module screw() { module screw() {
cylinder(h=20, d=5.4, center=true); cylinder(h=20, d=5.4, center=true);
@@ -19,8 +20,8 @@ module screw() {
translate([0,0,8]) cylinder(h=6, d=9); translate([0,0,8]) cylinder(h=6, d=9);
} }
* color("blue") { color("blue") {
translate([0,0,10]) zcyl(l=10, d=inner_d, rounding2=2); translate([0,0,10]) zcyl(l=center_height, d=inner_d, rounding2=2);
difference() { difference() {
cuboid([plate_width,plate_width,plate_height], rounding=1); cuboid([plate_width,plate_width,plate_height], rounding=1);
translate([hole_pos,hole_pos,8]) screw(); translate([hole_pos,hole_pos,8]) screw();
@@ -30,8 +31,8 @@ module screw() {
} }
} }
* color("red") { color("red") {
translate([0,0,15]) { translate([0,0,25]) {
difference() { difference() {
zcyl(l=5, d=inner_d, rounding1=1, rounding2=2); zcyl(l=5, d=inner_d, rounding1=1, rounding2=2);
translate([0,0,-1.25]) zcyl(l=2.5, d=3); translate([0,0,-1.25]) zcyl(l=2.5, d=3);
@@ -40,7 +41,7 @@ module screw() {
} }
} }
* color("cyan") { color("cyan") {
translate([0,0,12.5]) { translate([0,0,12.5]) {
difference() { difference() {
cuboid([plate_width,plate_width,plate_height], rounding=1); cuboid([plate_width,plate_width,plate_height], rounding=1);
@@ -54,7 +55,7 @@ module screw() {
} }
color("green") { color("green") {
translate([0,0,30]) { translate([0,0,35]) {
difference() { difference() {
cuboid([plate_width,plate_width,plate_height/2], rounding=1); cuboid([plate_width,plate_width,plate_height/2], rounding=1);
translate([hole_pos,hole_pos,0]) zcyl(l=plate_height/2, d=6, rounding=-1); translate([hole_pos,hole_pos,0]) zcyl(l=plate_height/2, d=6, rounding=-1);
Binary file not shown.