summaryrefslogtreecommitdiff
path: root/testdata/scad/features/linear_extrude-tests.scad
blob: 7138e94bb4954b26fb033d61003df0337039f25e (plain)
1
2
3
4
5
6
7
8
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([19,20,0]) linear_extrude(height=20, twist=45, slices=10) square([10,10]);

// FIXME: Test dxf version
contact: Jan Huwald // Impressum