summaryrefslogtreecommitdiff
path: root/tests/regression/dumptest/projection-tests-expected.csg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regression/dumptest/projection-tests-expected.csg')
-rw-r--r--tests/regression/dumptest/projection-tests-expected.csg59
1 files changed, 15 insertions, 44 deletions
diff --git a/tests/regression/dumptest/projection-tests-expected.csg b/tests/regression/dumptest/projection-tests-expected.csg
index 86423a1..04cd404 100644
--- a/tests/regression/dumptest/projection-tests-expected.csg
+++ b/tests/regression/dumptest/projection-tests-expected.csg
@@ -1,56 +1,27 @@
group() {
projection(cut = false, convexity = 0);
projection(cut = false, convexity = 0);
- projection(cut = true, convexity = 0) {
+ projection(cut = false, convexity = 0) {
square(size = [1, 1], center = false);
}
- linear_extrude(height = 20, center = false, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
- projection(cut = false, convexity = 0) {
- sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
- }
- }
- multmatrix([[1, 0, 0, 22], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
- linear_extrude(height = 20, center = false, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
- projection(cut = true, convexity = 0) {
- multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 9], [0, 0, 0, 1]]) {
- sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
- }
- }
- }
+ projection(cut = false, convexity = 0) {
+ cube(size = [10, 10, 10], center = false);
}
- multmatrix([[1, 0, 0, 44], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
- linear_extrude(height = 20, center = false, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
- projection(cut = true, convexity = 0) {
- multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 7], [0, 0, 0, 1]]) {
- sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
- }
- }
- }
- }
- multmatrix([[1, 0, 0, 0], [0, 1, 0, -22], [0, 0, 1, 0], [0, 0, 0, 1]]) {
- linear_extrude(height = 5, center = false, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
- projection(cut = true, convexity = 0) {
- multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -4.999999], [0, 0, 0, 1]]) {
- cube(size = [10, 10, 10], center = true);
- }
+ multmatrix([[1, 0, 0, -12], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ projection(cut = false, convexity = 0) {
+ cube(size = [10, 10, 10], center = false);
+ difference() {
+ sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
+ cylinder($fn = 0, $fa = 12, $fs = 2, h = 30, r1 = 5, r2 = 5, center = true);
}
}
}
- multmatrix([[1, 0, 0, 0], [0, 1, 0, -44], [0, 0, 1, 0], [0, 0, 0, 1]]) {
- linear_extrude(height = 5, center = false, convexity = 1, scale = [1, 1], $fn = 0, $fa = 12, $fs = 2) {
- projection(cut = true, convexity = 0) {
- union() {
- difference() {
- cube(size = [5, 5, 5], center = true);
- cube(size = [4, 4, 4], center = true);
- }
- multmatrix([[1, 0, 0, 2.1], [0, 1, 0, 2.1], [0, 0, 1, 0], [0, 0, 0, 1]]) {
- difference() {
- cube(size = [5, 5, 5], center = true);
- cube(size = [4, 4, 4], center = true);
- }
- }
- }
+ multmatrix([[1, 0, 0, 6], [0, 1, 0, -12], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ projection(cut = false, convexity = 0) {
+ cube(size = [10, 10, 10], center = false);
+ difference() {
+ sphere($fn = 0, $fa = 12, $fs = 2, r = 10);
+ cylinder($fn = 0, $fa = 12, $fs = 2, h = 30, r1 = 5, r2 = 5, center = true);
}
}
}
contact: Jan Huwald // Impressum