Minimal tests for all modules

git-svn-id: http://svn.clifford.at/openscad/trunk@495 b57f626f-c46c-0410-a088-ec61d464b74c
stl_dim
kintel 2010-03-31 00:45:42 +00:00
parent cca148f5c9
commit 71c33d48e0
38 changed files with 87 additions and 0 deletions

36
testdata/scad/allmodules.scad vendored Normal file
View File

@ -0,0 +1,36 @@
minkowski();
glide();
subdiv();
child();
echo();
assign();
for();
intersection_for();
if(true) { }
union();
difference();
intersection();
dxf_linear_extrude();
linear_extrude();
dxf_rotate_extrude();
rotate_extrude();
import_stl();
import_off();
import_dxf();
group();
cube();
sphere();
cylinder();
polyhedron();
square();
circle();
polygon();
projection();
render();
surface();
scale();
rotate();
mirror();
translate();
multmatrix();
color();

1
testdata/scad/assign.scad vendored Normal file
View File

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

1
testdata/scad/child.scad vendored Normal file
View File

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

1
testdata/scad/circle.scad vendored Normal file
View File

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

1
testdata/scad/color.scad vendored Normal file
View File

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

1
testdata/scad/cube.scad vendored Normal file
View File

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

1
testdata/scad/cylinder.scad vendored Normal file
View File

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

1
testdata/scad/difference.scad vendored Normal file
View File

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

1
testdata/scad/dxf_linear_extrude.scad vendored Normal file
View File

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

1
testdata/scad/dxf_rotate_extrude.scad vendored Normal file
View File

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

1
testdata/scad/echo.scad vendored Normal file
View File

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

1
testdata/scad/for.scad vendored Normal file
View File

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

1
testdata/scad/glide.scad vendored Normal file
View File

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

1
testdata/scad/group.scad vendored Normal file
View File

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

1
testdata/scad/if.scad vendored Normal file
View File

@ -0,0 +1 @@
if(true) { }

1
testdata/scad/import_dxf.scad vendored Normal file
View File

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

1
testdata/scad/import_off.scad vendored Normal file
View File

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

1
testdata/scad/import_stl.scad vendored Normal file
View File

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

1
testdata/scad/intersection.scad vendored Normal file
View File

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

1
testdata/scad/intersection_for.scad vendored Normal file
View File

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

1
testdata/scad/linear_extrude.scad vendored Normal file
View File

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

1
testdata/scad/minkowski.scad vendored Normal file
View File

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

1
testdata/scad/mirror.scad vendored Normal file
View File

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

1
testdata/scad/multmatrix.scad vendored Normal file
View File

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

View File

@ -0,0 +1,15 @@
polyhedron
(points = [
[0, -10, 60], [0, 10, 60], [0, 10, 0], [0, -10, 0], [60, -10,
60], [60, 10, 60],
[10, -10, 50], [10, 10, 50], [10, 10, 30], [10, -10, 30], [30,
-10, 50], [30, 10, 50]
],
triangles = [
[0,2,3], [0,1,2], [0,4,5], [0,5,1], [5,4,2], [2,4,3],
[6,8,9], [6,7,8], [6,10,11], [6,11,7], [10,8,11],
[10,9,8], [0,3,9], [9,0,6], [10,6, 0], [0,4,10],
[3,9,10], [3,10,4], [1,7,11], [1,11,5], [1,7,8],
[1,8,2], [2,8,11], [2,11,5]
]
);

1
testdata/scad/polygon.scad vendored Normal file
View File

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

1
testdata/scad/polyhedron.scad vendored Normal file
View File

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

1
testdata/scad/projection.scad vendored Normal file
View File

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

1
testdata/scad/render.scad vendored Normal file
View File

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

1
testdata/scad/rotate.scad vendored Normal file
View File

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

1
testdata/scad/rotate_extrude.scad vendored Normal file
View File

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

1
testdata/scad/scale.scad vendored Normal file
View File

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

1
testdata/scad/sphere.scad vendored Normal file
View File

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

1
testdata/scad/square.scad vendored Normal file
View File

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

1
testdata/scad/subdiv.scad vendored Normal file
View File

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

1
testdata/scad/surface.scad vendored Normal file
View File

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

1
testdata/scad/translate.scad vendored Normal file
View File

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

1
testdata/scad/union.scad vendored Normal file
View File

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