diff options
author | Marius Kintel <marius@kintel.net> | 2013-12-26 23:09:19 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-12-26 23:09:19 (GMT) |
commit | 8c02f17bb3614bc6f31c45a42fdf4a55d74a8e50 (patch) | |
tree | d41ee18cdd06ac3d4114e1b64b6830cb439764c0 /testdata/scad | |
parent | e64bf96b37f483bcc9ac61ef4e3b4a935432cf5c (diff) |
Updated tests
Diffstat (limited to 'testdata/scad')
-rw-r--r-- | testdata/scad/features/linear_extrude-tests.scad | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testdata/scad/features/linear_extrude-tests.scad b/testdata/scad/features/linear_extrude-tests.scad index 680bf53..d6dee02 100644 --- a/testdata/scad/features/linear_extrude-tests.scad +++ b/testdata/scad/features/linear_extrude-tests.scad @@ -9,7 +9,12 @@ linear_extrude(height=10) square([10,10]); 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,20,0]) linear_extrude(height=20, twist=45, slices=2) square([10,10]); +translate([0,20,0]) linear_extrude(height=20, twist=45, slices=2) { + difference() { + square([10,10]); + translate([1,1]) square([8,8]); + } +} translate([19,20,0]) linear_extrude(height=20, twist=45, slices=10) square([10,10]); translate([0,-15,0]) linear_extrude(5) square([10,10]); |