Difference between revisions of "Minitrix ICE-for Kids Kupplung"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
41285517? | 41285517? | ||
+ | <source lang='scad'> | ||
+ | // title : Minitrix ICE-for Kids Kupplung | ||
+ | // author : Wolfgang Fahl | ||
+ | // license : Apache License | ||
+ | // revision : 0.0.1 | ||
+ | |||
+ | module kupplung() { | ||
+ | l = 8.1; | ||
+ | w = 3.6; | ||
+ | h = 2.28; | ||
+ | r = 3.13 / 2; | ||
+ | dx = 5.0 / 2; | ||
+ | dz = -0.15; | ||
+ | |||
+ | union() { | ||
+ | translate([l/2, w/2, h/2]) | ||
+ | cube([l, w, h], center=true); | ||
+ | |||
+ | for (fz = [-1, 1]) | ||
+ | for (fx = [-1, 1]) | ||
+ | translate([l/2 + fx * dx, w/2, h/2 + fz * dz]) | ||
+ | sphere(r); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | rotate([90, 0, 0]) kupplung(); | ||
+ | </source> |
Revision as of 15:33, 8 June 2025
41285517?
// title : Minitrix ICE-for Kids Kupplung
// author : Wolfgang Fahl
// license : Apache License
// revision : 0.0.1
module kupplung() {
l = 8.1;
w = 3.6;
h = 2.28;
r = 3.13 / 2;
dx = 5.0 / 2;
dz = -0.15;
union() {
translate([l/2, w/2, h/2])
cube([l, w, h], center=true);
for (fz = [-1, 1])
for (fx = [-1, 1])
translate([l/2 + fx * dx, w/2, h/2 + fz * dz])
sphere(r);
}
}
rotate([90, 0, 0]) kupplung();