mini-beieli-project/Mechanical-Parts/auflage-slim.csg

44 lines
1.5 KiB
Plaintext

color([1, 0, 0, 1]) {
difference() {
union() {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 2.5], [0, 0, 0, 1]]) {
group() {
minkowski(convexity = 0) {
cube(size = [320, 50, 5], center = true);
cylinder($fn = 100, $fa = 12, $fs = 2, h = 0.1, r1 = 5, r2 = 5, center = true);
}
}
}
multmatrix([[1, 0, 0, 53], [0, 1, 0, 0], [0, 0, 1, 6.5], [0, 0, 0, 1]]) {
group() {
minkowski(convexity = 0) {
cube(size = [30, 30, 3], center = true);
cylinder($fn = 100, $fa = 12, $fs = 2, h = 0.1, r1 = 5, r2 = 5, center = true);
}
}
}
}
multmatrix([[1, 0, 0, 53], [0, 1, 0, -7.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -1], [0, 0, 0, 1]]) {
cylinder($fn = 100, $fa = 12, $fs = 2, h = 10, r1 = 3.25, r2 = 3.25, center = false);
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -1], [0, 0, 0, 1]]) {
cylinder($fn = 100, $fa = 12, $fs = 2, h = 4.5, r1 = 7.75, r2 = 3.25, center = false);
}
}
}
multmatrix([[1, 0, 0, 53], [0, 1, 0, 7.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
group() {
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -1], [0, 0, 0, 1]]) {
cylinder($fn = 100, $fa = 12, $fs = 2, h = 10, r1 = 3.25, r2 = 3.25, center = false);
}
multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -1], [0, 0, 0, 1]]) {
cylinder($fn = 100, $fa = 12, $fs = 2, h = 4.5, r1 = 7.75, r2 = 3.25, center = false);
}
}
}
}
}