diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-26 15:37:45 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-26 15:37:45 (GMT) |
commit | e502fab71d998c0bd025512c0c3884a1117479d1 (patch) | |
tree | 5fb916cf36fcf418b8f384c3429b8342855e9f17 /testdata | |
parent | c4bffdaf37fdf72a84a225ec584d3698fe398857 (diff) | |
parent | 4ff2d1af446c1f276c644b12e6ec4cc6db0b6d65 (diff) |
Merge branch 'master' into color-priority
Conflicts:
openscad.pro
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/scad/misc/normal-nan.scad | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testdata/scad/misc/normal-nan.scad b/testdata/scad/misc/normal-nan.scad new file mode 100644 index 0000000..1c3f6ce --- /dev/null +++ b/testdata/scad/misc/normal-nan.scad @@ -0,0 +1,16 @@ +/* + When exporting this to STL, null polygons appear, causing + problems normalizing normal vectors (nan output in STL files) +*/ + +$fs=0.2; + +difference() { + cube(8); + + translate([0,20,4]) rotate([90,0,0]) union() { + translate([0,-3,14.5]) cube([5.4,6,2.4],center=true); + translate([0,0,13.3]) rotate([0,0,30]) cylinder(r=3.115,h=2.4,$fn=6); + } +} + |