RollTopBoxTambour.scad
http://forum.openscad.org/file/n11262/RollTopBoxTambour.scad
This design displays the following output containing a warning:
Compiling design (CSG Tree generation)...
Rendering Polygon Mesh using CGAL...
Geometries in cache: 94
Geometry cache size in bytes: 121968
CGAL Polyhedrons in cache: 6
CGAL cache size in bytes: 3717736
Total rendering time: 0 hours, 0 minutes, 16 seconds
Top level object is a 3D object:
Simple: yes
Vertices: 1438
Halfedges: 4710
Edges: 2355
Halffacets: 1838
Facets: 919
Volumes: 2
Rendering finished.
WARNING: PolySet has degenerate polygons
STL export finished.
The resulting STL file causes slic3r to crash.
The same file can be processed, exported and sliced without problems using
2014.03
If I'm introducing this problem with any aspect of my syntax I'd be grateful
if anyone could point that out.
--
View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
I had that warning when I was overlapping two things of the same shape too
exactly or when faces matched too exactly. Try putting some in some overlap
for faces and remove objects that overlap each other 100%.
A
--
View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11272.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Your cube and bars has co-incident faces.
Always overlap joins by a small amount or separate edges similarly, in the
below I just made the cube a fraction bigger.
length=165;
width=42;
smidgen=0.05;
// Flexible mat
rotate([0,0,-45])
translate([-smidgen,-smidgen,0])
cube([width+smidgen2,length+smidgen2,0.3]);
// Slats
for ( i = [0:(length/2.121)] ) {
translate([i1.5,i1.5,0])
rotate([90,0,45])
linear_extrude(width)
polygon(points=[[0,0],[0.3,1.2],[1.3,1.2],[1.6,0]]);
}
// Handle
rotate([0,0,-45]) {
translate([width/2,4,0]) {
difference() {
union() {
translate([-4,0,0])
cylinder(r=4,h=5,$fn=40);
translate([4,0,0])
cylinder(r=4,h=5,$fn=40);
translate([0,0,2.5])
rotate(0,0,0)
cube([8,8,5],center=true);
}
translate([0,8,8])
rotate([0,90,0])
cylinder(r=7.8,h=30,$fn=40,center=true);
translate([0,-8,8])
rotate([0,90,0])
cylinder(r=7.8,h=30,$fn=40,center=true);
}
}
}
Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11292.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Love the 'smidgen'.
A
--
View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11315.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
I usually abbreviate to s & s2...saves typing, I believe epsilon is the more
technically correct term.
Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11316.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Thank you for the advice.
Has anyone else bumped into this issue in the latest dev builds where they
didn't see it before?
--
View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11445.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On Feb 4, 2015, at 11:01 AM, JohnDiamond john.diamond@verizon.net wrote:
Has anyone else bumped into this issue in the latest dev builds where they
didn't see it before?
Can you share a design?
This warning is new, but it might be that we’re issuing it too liberally.
-Marius
Thank you for looking into this. I've uploaded 5 related files that all show
this problem when exporting to STL using 2015.01.23
RollTopBoxInsert.scad
http://forum.openscad.org/file/n11470/RollTopBoxInsert.scad
RollTopBoxTambour.scad
http://forum.openscad.org/file/n11470/RollTopBoxTambour.scad
RollTopBoxSidePanel.scad
http://forum.openscad.org/file/n11470/RollTopBoxSidePanel.scad
RollTopBoxFrontPanel.scad
http://forum.openscad.org/file/n11470/RollTopBoxFrontPanel.scad
RollTopBoxBase.scad
http://forum.openscad.org/file/n11470/RollTopBoxBase.scad
--
View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11470.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
On Feb 5, 2015, at 10:43 AM, JohnDiamond john.diamond@verizon.net wrote:
Thank you for looking into this. I've uploaded 5 related files that all show
this problem when exporting to STL using 2015.01.23
Thanks!
We did report excessive confusing warnings. I’ve reduced the amount of warning output for cases like yours.
The next snapshot will include the fix.
-Marius
I've just retested all five of the files previously provided in this thread
using version 2015.02.05 (git 37421bb). The previous "PolySet has degenerate
polygons" warnings are no longer displayed. However, Slic3r only manages to
properly render the "RollTopBoxInsert" STL results. The other four resulting
STL files either result in broken images when viewed in Slic3r or crash out
before allowing the object to be viewed. All five files were able to be
rendered to STL and subsequently processed by Slic3r using 2014.03 .
--
View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11542.html
Sent from the OpenSCAD mailing list archive at Nabble.com.