Modified test cases with new import() behavior

stl_dim
Marius Kintel 2011-09-07 01:12:53 +02:00
parent 8176b06fd0
commit a4ba8d44a4
17 changed files with 22 additions and 14 deletions

View File

@ -15,6 +15,7 @@ dxf_linear_extrude();
linear_extrude();
dxf_rotate_extrude();
rotate_extrude();
import();
import_stl();
import_off();
import_dxf();

1
testdata/scad/minimal/import.scad vendored Normal file
View File

@ -0,0 +1 @@
import();

View File

@ -1 +1 @@
(((((((((((((((linear_extrude14 + linear_extrude15) + rotate_extrude16) + rotate_extrude17) + import_stl18) + import_off19) + import_dxf20) + cube22) + sphere23) + cylinder24) + polyhedron25) + square26) + circle27) + polygon28) + projection29) + surface31)
((((((((((((((((linear_extrude14 + linear_extrude15) + rotate_extrude16) + rotate_extrude17) + import18) + import19) + import20) + import21) + cube23) + sphere24) + cylinder25) + polyhedron26) + square27) + circle28) + polygon29) + projection30) + surface32)

View File

@ -0,0 +1 @@
import2

View File

@ -1 +1 @@
import_dxf2
import2

View File

@ -1 +1 @@
import_off2
import2

View File

@ -1 +1 @@
import_stl2
import2

View File

@ -1 +1 @@
group1(minkowski2+glide3+subdiv4+hull5+group6+group6+group6+intersection_for9+group6+union11+difference12+intersection13+linear_extrude+linear_extrude+rotate_extrude+rotate_extrude+import_stl+import_off+import_dxf+group6+cube+sphere+cylinder+polyhedron+square+circle+polygon+projection+render30+surface+transform32+transform32+transform34+transform32+transform32+color37)
group1(minkowski2+glide3+subdiv4+hull5+group6+group6+group6+intersection_for9+group6+union11+difference12+intersection13+linear_extrude+linear_extrude+rotate_extrude+rotate_extrude+import+import+import+import+group6+cube+sphere+cylinder+polyhedron+square+circle+polygon+projection+render31+surface+transform33+transform33+transform35+transform33+transform33+color38)

View File

@ -0,0 +1 @@
group1(import)

View File

@ -1 +1 @@
group1(import_dxf)
group1(import)

View File

@ -1 +1 @@
group1(import_off)
group1(import)

View File

@ -1 +1 @@
group1(import_stl)
group1(import)

View File

@ -15,9 +15,10 @@ group() {
linear_extrude(file = "", cache = "0.0", layer = "", height = 100, origin = [ 0 0 ], scale = 1, center = false, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
rotate_extrude(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
rotate_extrude(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
import_stl(file = "", cache = "0.0", convexity = 1);
import_off(file = "", cache = "0.0", convexity = 1);
import_dxf(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
import(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
import(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
import(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
import(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
group();
cube(size = [1, 1, 1], center = false);
sphere($fn = 0, $fa = 12, $fs = 1, r = 1);

View File

@ -0,0 +1,3 @@
group() {
import(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
}

View File

@ -1,3 +1,3 @@
group() {
import_dxf(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
import(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
}

View File

@ -1,3 +1,3 @@
group() {
import_off(file = "", cache = "0.0", convexity = 1);
import(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
}

View File

@ -1,3 +1,3 @@
group() {
import_stl(file = "", cache = "0.0", convexity = 1);
import(file = "", cache = "0.0", layer = "", origin = [ 0 0 ], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
}