summaryrefslogtreecommitdiff
path: root/tests/regression/dumptest/resize-2d-tests-expected.csg
diff options
context:
space:
mode:
authorVicnet <vo.publique@gmail.com>2013-09-13 12:52:22 (GMT)
committerVicnet <vo.publique@gmail.com>2013-09-13 12:52:22 (GMT)
commit7b1e423f8214bb42c7668505066507e4d9c7091a (patch)
tree19e9174a312f35af416f9fa4cd58f31876052e79 /tests/regression/dumptest/resize-2d-tests-expected.csg
parentf6343949ebc6936880a6cd62bfe3574541a11fb5 (diff)
parentead8749e99238c18a3d7bb903f98bb7bca6a7685 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tests/regression/dumptest/resize-2d-tests-expected.csg')
-rw-r--r--tests/regression/dumptest/resize-2d-tests-expected.csg50
1 files changed, 50 insertions, 0 deletions
diff --git a/tests/regression/dumptest/resize-2d-tests-expected.csg b/tests/regression/dumptest/resize-2d-tests-expected.csg
index 5f8d8b5..5cd9a2e 100644
--- a/tests/regression/dumptest/resize-2d-tests-expected.csg
+++ b/tests/regression/dumptest/resize-2d-tests-expected.csg
@@ -173,4 +173,54 @@ group() {
}
}
}
+ color([0, 0, 1, 1]) {
+ multmatrix([[1, 0, 0, -16], [0, 1, 0, -16], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ resize(newsize = [10,8,0], auto = [0,1,0]) {
+ multmatrix([[0.5, 0, 0, 0], [0, 100, 0, 0], [0, 0, 20, 0], [0, 0, 0, 1]]) {
+ group() {
+ difference() {
+ square(size = [5, 5], center = false);
+ multmatrix([[1, 0, 0, 1], [0, 1, 0, 1], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ square(size = [1, 1], center = false);
+ }
+ multmatrix([[1, 0, 0, 3], [0, 1, 0, 3], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ circle($fn = 10, $fa = 12, $fs = 2, r = 1);
+ }
+ }
+ }
+ }
+ }
+ }
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, -16], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ resize(newsize = [8,10,15], auto = [1,1,1]) {
+ multmatrix([[1000, 0, 0, 0], [0, 0.5, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ group() {
+ difference() {
+ square(size = [5, 5], center = false);
+ multmatrix([[1, 0, 0, 1], [0, 1, 0, 1], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ square(size = [1, 1], center = false);
+ }
+ multmatrix([[1, 0, 0, 2], [0, 1, 0, 2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ square(size = [1, 1], center = false);
+ }
+ }
+ }
+ }
+ }
+ }
+ multmatrix([[1, 0, 0, 16], [0, 1, 0, -16], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ resize(newsize = [10,8,15], auto = [0,0,0]) {
+ multmatrix([[200, 0, 0, 0], [0, 200, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ group() {
+ difference() {
+ square(size = [5, 5], center = false);
+ multmatrix([[1, 0, 0, 0], [0, 1, 0, 2.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ square(size = [5, 1], center = false);
+ }
+ }
+ }
+ }
+ }
+ }
+ }
}
contact: Jan Huwald // Impressum