mirror of https://github.com/vitalif/openscad
18 lines
494 B
Plaintext
18 lines
494 B
Plaintext
difference() {
|
|
sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
|
|
%cylinder($fn = 0, $fa = 12, $fs = 2, h = 30, r1 = 6, r2 = 6, center = true);
|
|
%group() {
|
|
cube(size = [6, 25, 3], center = true);
|
|
}
|
|
}
|
|
multmatrix([[1, 0, 0, 13], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
|
|
difference() {
|
|
sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
|
|
%cylinder($fn = 0, $fa = 12, $fs = 2, h = 30, r1 = 6, r2 = 6, center = true);
|
|
%group() {
|
|
cube(size = [6, 25, 3], center = true);
|
|
}
|
|
}
|
|
}
|
|
|