summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'testdata')
-rw-r--r--testdata/scad/features/linear_extrude-scale-tests.scad17
1 files changed, 17 insertions, 0 deletions
diff --git a/testdata/scad/features/linear_extrude-scale-tests.scad b/testdata/scad/features/linear_extrude-scale-tests.scad
new file mode 100644
index 0000000..9a82c9d
--- /dev/null
+++ b/testdata/scad/features/linear_extrude-scale-tests.scad
@@ -0,0 +1,17 @@
+difference() {
+ linear_extrude(height=40, scale=[0, 0]) {
+ square(10, center=true);
+ translate([10,0]) circle(10);
+ }
+ translate([0,0,35]) sphere(10);
+}
+
+/*
+Test case ideas:
+o off-center starting point
+o Concave polygon
+o Disjoint polygons
+o multi-rotation twist
+o zero scales, zero scales in only one axis (for the above cases)
+o boolean operations on scaled extrusion (including zero scale)
+*/
contact: Jan Huwald // Impressum