diff options
Diffstat (limited to 'testdata/scad/features/polygon-tests.scad')
-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 |