diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-05 15:03:25 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-05 15:03:25 (GMT) |
commit | a75d95b8dee0e9ffc609d1458efc13fea22d1263 (patch) | |
tree | d5abd90ac60a4045a25d92c6d2321f63d2abd2db | |
parent | 4a952c3cc05704c64126f8b533501f62dcf7c416 (diff) |
Slightly modified to yield better test coverage
-rw-r--r-- | testdata/scad/features/linear_extrude-tests.scad | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/testdata/scad/features/linear_extrude-tests.scad b/testdata/scad/features/linear_extrude-tests.scad index af050fb..7138e94 100644 --- a/testdata/scad/features/linear_extrude-tests.scad +++ b/testdata/scad/features/linear_extrude-tests.scad @@ -1,7 +1,8 @@ linear_extrude(height=10) square([10,10]); -translate([19,5,0]) linear_extrude(height=10) circle(5); -translate([31.5,2.5,0]) linear_extrude(height=10) polygon(points = [[-5,-2.5], [5,-2.5], [0,2.5]]); +translate([19,5,0]) linear_extrude(height=10, center=true) difference() {circle(5); circle(3);} +translate([31.5,2.5,0]) linear_extrude(height=10, twist=-45) polygon(points = [[-5,-2.5], [5,-2.5], [0,2.5]]); -translate([0,-12,0]) linear_extrude(height=20, twist=45) square([10,10]); -translate([19,-7,0]) linear_extrude(height=20, twist=90) circle(5); -translate([31.5,-9.5,0]) linear_extrude(height=20, twist=180) polygon(points = [[-5,-2.5], [5,-2.5], [0,2.5]]); +translate([0,20,0]) linear_extrude(height=20, twist=45, slices=2) square([10,10]); +translate([19,20,0]) linear_extrude(height=20, twist=45, slices=10) square([10,10]); + +// FIXME: Test dxf version
\ No newline at end of file |