Hello,
I have a complex object to 3D print and I'm trying to use the SURFACE
function to create the STL from a PNG file. Every attempt, no matter how
simple results in "WARNING: PolySet has degenerate polygons".
Even using the example files and code from the OpenSCAD documentation
pages gives the same result.
What could I be doing wrong?
I have OpenSCAD 2015.03-2.
Thank you,
Bob Starkey
Here is an example of the surface function not doing what I expect.
I downloaded file BRGY-Grey.png from the OpenSCAD documentation page.
CODE:
Dshape = "C:\Users\Bob\Desktop\Random\BRGY-Grey.png";
surface(file = Dshape, center = true, invert = false);
Console output:
Saved backup file:
C:/Users/Bob/Documents/OpenSCAD/backups/dragon-backup-gU249492.scad
Compiling design (CSG Tree generation)...
Compiling design (CSG Products generation)...
WARNING: PolySet has degenerate polygons
Geometries in cache: 3
Geometry cache size in bytes: 456
CGAL Polyhedrons in cache: 0
CGAL cache size in bytes: 0
Compiling design (CSG Products normalization)...
Normalized CSG tree has 1 elements
Compile and preview finished.
Total rendering time: 0 hours, 0 minutes, 0 seconds
I've tried to find online help besides the mailing list but everything
is archived and nothing there seems to address this.
Thank you,
Bob
Bob Kauffman Starkey wrote on 2/14/2023 11:26 AM:
Hello,
I have a complex object to 3D print and I'm trying to use the SURFACE
function to create the STL from a PNG file. Every attempt, no matter
how simple results in "WARNING: PolySet has degenerate polygons".
Even using the example files and code from the OpenSCAD documentation
pages gives the same result.
What could I be doing wrong?
I have OpenSCAD 2015.03-2.
Thank you,
Bob Starkey
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On 2/14/2023 8:26 AM, Bob Kauffman Starkey wrote:
I have OpenSCAD 2015.03-2.
I can't say that I've used surface() very much, but it does work.
First, I'd suggest installing a new OpenSCAD. 2015 is a long time ago.
If upgrading doesn't fix the problem, perhaps you can supply the
problematic PNG file.