summaryrefslogtreecommitdiff
path: root/tests/regression/dumptest/rotate_extrude-tests-expected.csg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regression/dumptest/rotate_extrude-tests-expected.csg')
-rw-r--r--tests/regression/dumptest/rotate_extrude-tests-expected.csg53
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/regression/dumptest/rotate_extrude-tests-expected.csg b/tests/regression/dumptest/rotate_extrude-tests-expected.csg
new file mode 100644
index 0000000..a86dd8f
--- /dev/null
+++ b/tests/regression/dumptest/rotate_extrude-tests-expected.csg
@@ -0,0 +1,53 @@
+group() {
+ rotate_extrude(convexity = 1, $fn = 0, $fa = 12, $fs = 2);
+ rotate_extrude(convexity = 1, $fn = 0, $fa = 12, $fs = 2);
+ rotate_extrude(convexity = 1, $fn = 0, $fa = 12, $fs = 2) {
+ cube(size = [1, 1, 1], center = false);
+ }
+ rotate_extrude(convexity = 1, $fn = 0, $fa = 12, $fs = 2) {
+ multmatrix([[1, 0, 0, 20], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ circle($fn = 0, $fa = 12, $fs = 2, r = 10);
+ }
+ }
+ multmatrix([[1, 0, 0, 50], [0, 1, 0, -20], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ difference() {
+ rotate_extrude(convexity = 1, $fn = 0, $fa = 12, $fs = 2) {
+ multmatrix([[1, 0, 0, 20], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ difference() {
+ circle($fn = 0, $fa = 12, $fs = 2, r = 10);
+ circle($fn = 0, $fa = 12, $fs = 2, r = 8);
+ }
+ }
+ }
+ multmatrix([[1, 0, 0, -50], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ cube(size = [100, 100, 100], center = true);
+ }
+ }
+ }
+ multmatrix([[1, 0, 0, 50], [0, 1, 0, 50], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ difference() {
+ difference() {
+ rotate_extrude(convexity = 1, $fn = 0, $fa = 12, $fs = 2) {
+ multmatrix([[1, 0, 0, 20], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ circle($fn = 0, $fa = 12, $fs = 2, r = 10);
+ }
+ }
+ rotate_extrude(convexity = 1, $fn = 0, $fa = 12, $fs = 2) {
+ multmatrix([[1, 0, 0, 20], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ circle($fn = 0, $fa = 12, $fs = 2, r = 8);
+ }
+ }
+ }
+ multmatrix([[1, 0, 0, -50], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ cube(size = [100, 100, 100], center = true);
+ }
+ }
+ }
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -60], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ rotate_extrude(convexity = 1, $fn = 1, $fa = 12, $fs = 2) {
+ multmatrix([[1, 0, 0, 20], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ circle($fn = 1, $fa = 12, $fs = 2, r = 10);
+ }
+ }
+ }
+}
contact: Jan Huwald // Impressum