You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: The given mesh is not closed! Unable to convert to CGAL_Nef_Polyhedron.
But the rendering is still badly wrong: the shapes look nothing like they are supposed to.
To anyone in the future reading this: Python's pyqrcode can generate .png files just a well as .svg and I'd expect that OpenSCAD would have no trouble with a .png barcode.
jumostedu
added a commit
to jumostedu/openscad
that referenced
this issue
Mar 9, 2024
The python qrcode package pyqrcode generates SVG using a series of short horizontal and vertical line segments.
Example of creating the .svg attached.
OpenSCAD version 2021.01, given the following .scad file:
does not parse this correctly compared to Inkscape and Google Chrome.
qrA.svg
could be worked up into a unit test.Originally posted by @DavidPhillipOster in #1740 (comment)
but reduced to a smaller file, with expected and actual results.
the SVG file
qrA.svg renamed so I can attach it here: qrA_svg.txt
Expected results
qrA.svg as rendered by Chrome and Inkscape
Actual results
as rendered by OpenSCAD version 2021.01
The problem is most visible in the corners - what should be a square surrounded by a larger square is merged into a single shape.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: