discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

2015.01.23 Throws a 'WARNING: PolySet has degenerate polygons' warning

MK
Marius Kintel
Sat, Feb 7, 2015 5:31 AM

On Feb 6, 2015, at 22:28 PM, JohnDiamond john.diamond@verizon.net wrote:

I've just retested all five of the files previously provided in this thread
using version 2015.02.05 (git 37421bb).

I just tested exporting all those .scad files to STL and subsequently using Slic3r to G-code.
I didn’t notice any issues with that process.

Could you provide some more info about which system you’re running this, which version of Slic3r, and how it “crashes out” ?

-Marius

On Feb 6, 2015, at 22:28 PM, JohnDiamond <john.diamond@verizon.net> wrote: > I've just retested all five of the files previously provided in this thread > using version 2015.02.05 (git 37421bb). I just tested exporting all those .scad files to STL and subsequently using Slic3r to G-code. I didn’t notice any issues with that process. Could you provide some more info about which system you’re running this, which version of Slic3r, and how it “crashes out” ? -Marius
J
JohnDiamond
Sun, Feb 8, 2015 11:18 PM

RollTopBoxBase.stl http://forum.openscad.org/file/n11572/RollTopBoxBase.stl
I'm running under Windows 7 Pro with the latest MS patches. I'm using Slic3r
v1.1.7 (64 bit) which claims to be the latest version according to its
internal update facility. The design that causes the instant crash of Slic3r
is "RollTopBoxBase.stl" which I've attached to this post. Slic3r aborts
within a second of telling it to load that STL. The error popup simply
states "slic3r has stopped working ... Windows is checking for a solution
...". This isn't a problem with the gcode output as it never got that far.

I appreciate your attention on this issue. I'm looking forward to the next
release of OpenSCAD being most feature rich and stable version to date.

--
View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11572.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

RollTopBoxBase.stl <http://forum.openscad.org/file/n11572/RollTopBoxBase.stl> I'm running under Windows 7 Pro with the latest MS patches. I'm using Slic3r v1.1.7 (64 bit) which claims to be the latest version according to its internal update facility. The design that causes the instant crash of Slic3r is "RollTopBoxBase.stl" which I've attached to this post. Slic3r aborts within a second of telling it to load that STL. The error popup simply states "slic3r has stopped working ... Windows is checking for a solution ...". This isn't a problem with the gcode output as it never got that far. I appreciate your attention on this issue. I'm looking forward to the next release of OpenSCAD being most feature rich and stable version to date. -- View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11572.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Sun, Feb 8, 2015 11:48 PM

NetFabb shows 3 holes (yellow lines). (I recommend getting the Basic version
here http://www.netfabb.com/downloadcenter.php?basic=1  it's free)

http://forum.openscad.org/file/n11576/tp11262.jpg

If you share your code I can have a look.

Or if you just want a fixed stl, it is attached.
RollTopBoxBase_tp11262_fixed.stl
http://forum.openscad.org/file/n11576/RollTopBoxBase_tp11262_fixed.stl


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.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11576.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

NetFabb shows 3 holes (yellow lines). (I recommend getting the Basic version here <http://www.netfabb.com/downloadcenter.php?basic=1> it's free) <http://forum.openscad.org/file/n11576/tp11262.jpg> If you share your code I can have a look. Or if you just want a fixed stl, it is attached. RollTopBoxBase_tp11262_fixed.stl <http://forum.openscad.org/file/n11576/RollTopBoxBase_tp11262_fixed.stl> ----- 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. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11576.html Sent from the OpenSCAD mailing list archive at Nabble.com.
J
JohnDiamond
Mon, Feb 9, 2015 4:02 AM

RollTopBoxBase.scad
http://forum.openscad.org/file/n11578/RollTopBoxBase.scad
I appreciate the mesh analysis and repair. Here's the scad source. My main
concern at this point is that this file can be output to STL and
subsequently processed into GCODE using Slic3r when the 2014.03 version of
OpenSCAD is used. There seems to be extra accommodation required when
processing using the latest development build of OpenSCAD.

--
View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11578.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

RollTopBoxBase.scad <http://forum.openscad.org/file/n11578/RollTopBoxBase.scad> I appreciate the mesh analysis and repair. Here's the scad source. My main concern at this point is that this file can be output to STL and subsequently processed into GCODE using Slic3r when the 2014.03 version of OpenSCAD is used. There seems to be extra accommodation required when processing using the latest development build of OpenSCAD. -- View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11578.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Tue, Feb 10, 2015 2:25 AM

RollTopBoxBase_tp11262_M.scad
http://forum.openscad.org/file/n11583/RollTopBoxBase_tp11262_M.scad

You had a lot of co-incident faces, I tried to comment, with original
values, where I changed comething.
But there was a lot of trial/error so some may have been missed.

When you see things like the following, it generally indicates something is
wrong.

http://forum.openscad.org/file/n11583/tp11262_throwntogether.jpg
http://forum.openscad.org/file/n11583/tp11262_end_of_bar_prewiew.jpg
http://forum.openscad.org/file/n11583/tp11262_end_of_bar_wireframe.jpg
http://forum.openscad.org/file/n11583/tp11262_corner_wireframe.jpg
http://forum.openscad.org/file/n11583/tp11262_corner_preview.jpg

Particularly any purple showing in Thrown Together view
http://forum.openscad.org/file/n11583/tp11262_corner_throwntogether2.jpg
http://forum.openscad.org/file/n11583/tp11262_bar_throwntogether.jpg


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.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11583.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

RollTopBoxBase_tp11262_M.scad <http://forum.openscad.org/file/n11583/RollTopBoxBase_tp11262_M.scad> You had a lot of co-incident faces, I tried to comment, with original values, where I changed comething. But there was a lot of trial/error so some may have been missed. When you see things like the following, it generally indicates something is wrong. <http://forum.openscad.org/file/n11583/tp11262_throwntogether.jpg> <http://forum.openscad.org/file/n11583/tp11262_end_of_bar_prewiew.jpg> <http://forum.openscad.org/file/n11583/tp11262_end_of_bar_wireframe.jpg> <http://forum.openscad.org/file/n11583/tp11262_corner_wireframe.jpg> <http://forum.openscad.org/file/n11583/tp11262_corner_preview.jpg> Particularly any purple showing in Thrown Together view <http://forum.openscad.org/file/n11583/tp11262_corner_throwntogether2.jpg> <http://forum.openscad.org/file/n11583/tp11262_bar_throwntogether.jpg> ----- 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. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11583.html Sent from the OpenSCAD mailing list archive at Nabble.com.
JL
Joseph Lenox
Tue, Feb 10, 2015 6:36 AM

Have you tried export to AMF? I think there is an odd bug with stl export
that showed up after 2014.03.

I ran afoul of it when trying to build parts from the Prusa i3 repo.

Everything worked out fine with AMF but STL had weird degenerate faces.

I have an issue open on github but haven't been able to run the problem
down any further (such as with a bisect), as there a lot of intermediary
commits that segfault.
On Feb 9, 2015 8:25 PM, "MichaelAtOz" oz.at.michael@gmail.com wrote:

RollTopBoxBase_tp11262_M.scad
http://forum.openscad.org/file/n11583/RollTopBoxBase_tp11262_M.scad

You had a lot of co-incident faces, I tried to comment, with original
values, where I changed comething.
But there was a lot of trial/error so some may have been missed.

When you see things like the following, it generally indicates something is
wrong.

http://forum.openscad.org/file/n11583/tp11262_throwntogether.jpg
http://forum.openscad.org/file/n11583/tp11262_end_of_bar_prewiew.jpg
http://forum.openscad.org/file/n11583/tp11262_end_of_bar_wireframe.jpg
http://forum.openscad.org/file/n11583/tp11262_corner_wireframe.jpg
http://forum.openscad.org/file/n11583/tp11262_corner_preview.jpg

Particularly any purple showing in Thrown Together view
http://forum.openscad.org/file/n11583/tp11262_corner_throwntogether2.jpg
http://forum.openscad.org/file/n11583/tp11262_bar_throwntogether.jpg


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.

The TPP is no simple “trade agreement.”  Fight it!
http://www.ourfairdeal.org/

View this message in context:
http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11583.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Have you tried export to AMF? I think there is an odd bug with stl export that showed up after 2014.03. I ran afoul of it when trying to build parts from the Prusa i3 repo. Everything worked out fine with AMF but STL had weird degenerate faces. I have an issue open on github but haven't been able to run the problem down any further (such as with a bisect), as there a lot of intermediary commits that segfault. On Feb 9, 2015 8:25 PM, "MichaelAtOz" <oz.at.michael@gmail.com> wrote: > RollTopBoxBase_tp11262_M.scad > <http://forum.openscad.org/file/n11583/RollTopBoxBase_tp11262_M.scad> > > You had a lot of co-incident faces, I tried to comment, with original > values, where I changed comething. > But there was a lot of trial/error so some may have been missed. > > When you see things like the following, it generally indicates something is > wrong. > > <http://forum.openscad.org/file/n11583/tp11262_throwntogether.jpg> > <http://forum.openscad.org/file/n11583/tp11262_end_of_bar_prewiew.jpg> > <http://forum.openscad.org/file/n11583/tp11262_end_of_bar_wireframe.jpg> > <http://forum.openscad.org/file/n11583/tp11262_corner_wireframe.jpg> > <http://forum.openscad.org/file/n11583/tp11262_corner_preview.jpg> > > Particularly any purple showing in Thrown Together view > <http://forum.openscad.org/file/n11583/tp11262_corner_throwntogether2.jpg> > <http://forum.openscad.org/file/n11583/tp11262_bar_throwntogether.jpg> > > > > > > > ----- > 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. > > The TPP is no simple “trade agreement.” Fight it! > http://www.ourfairdeal.org/ > -- > View this message in context: > http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11583.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
M
MichaelAtOz
Tue, Feb 10, 2015 8:16 AM

Thanks Joseph, the above is the fixed version and some pointers for John on
what to look for.


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.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/

View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11586.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Thanks Joseph, the above is the fixed version and some pointers for John on what to look for. ----- 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. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ -- View this message in context: http://forum.openscad.org/2015-01-23-Throws-a-WARNING-PolySet-has-degenerate-polygons-warning-tp11262p11586.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Tue, Feb 10, 2015 7:54 PM

On Feb 8, 2015, at 18:18 PM, JohnDiamond john.diamond@verizon.net wrote:

I'm running under Windows 7 Pro with the latest MS patches. I'm using Slic3r
v1.1.7 (64 bit) which claims to be the latest version according to its
internal update facility. The design that causes the instant crash of Slic3r
is "RollTopBoxBase.stl" which I've attached to this post. Slic3r aborts
within a second of telling it to load that STL. The error popup simply
states "slic3r has stopped working …

In addition to any OpenSCAD issue, this is a bug in Slic3r (which triggers only on Windows apparently), and should be reported to them as well.
I’m continuing to look into how to avoid such problems when exporting from OpenSCAD.

-Marius

On Feb 8, 2015, at 18:18 PM, JohnDiamond <john.diamond@verizon.net> wrote: > I'm running under Windows 7 Pro with the latest MS patches. I'm using Slic3r > v1.1.7 (64 bit) which claims to be the latest version according to its > internal update facility. The design that causes the instant crash of Slic3r > is "RollTopBoxBase.stl" which I've attached to this post. Slic3r aborts > within a second of telling it to load that STL. The error popup simply > states "slic3r has stopped working … In addition to any OpenSCAD issue, this is a bug in Slic3r (which triggers only on Windows apparently), and should be reported to them as well. I’m continuing to look into how to avoid such problems when exporting from OpenSCAD. -Marius
MK
Marius Kintel
Thu, Feb 12, 2015 5:02 PM

Please follow this issue to keep track of progress: https://github.com/openscad/openscad/issues/1215

If you encounter more similar issue, please post them so we can get them tested as well.
A fix is underway..

-Marius

Please follow this issue to keep track of progress: https://github.com/openscad/openscad/issues/1215 If you encounter more similar issue, please post them so we can get them tested as well. A fix is underway.. -Marius