diff options
author | Marius Kintel <marius@kintel.net> | 2013-12-16 01:15:01 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-12-16 01:15:01 (GMT) |
commit | e64bf96b37f483bcc9ac61ef4e3b4a935432cf5c (patch) | |
tree | 3e42349db17a0d34acb083a8ad11dbadcffbdcf4 /testdata | |
parent | a9bb2651e0ef7cfcd5af206e9856911b47012568 (diff) |
Added mesh test
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/scad/features/polygon-tests.scad | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testdata/scad/features/polygon-tests.scad b/testdata/scad/features/polygon-tests.scad index 0cd259f..ff1d73f 100644 --- a/testdata/scad/features/polygon-tests.scad +++ b/testdata/scad/features/polygon-tests.scad @@ -21,4 +21,9 @@ translate([-2,-4,0]) paths=[[0,1,2,3],[4,5,6,7]] ); +// Mesh +translate([0,0,0]) +polygon(points = [[0,1], [0,0], [1,0], [1,1], [0.8,0.8], [0.8,0.2], [0.2,0.2], [0.2,0.8]], + paths = [[7,6,5,4,3,2,1,0],[7,0,3,4] ]); + // FIXME: convexity |