discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Font render problem Unable to convert to CGAL_Nef_Polyhedron.

D
Daniel
Sat, Mar 26, 2022 1:40 AM

Hi,

I can linear_extrude this font fine but as soon as I put it against a
flat surface or substract it from one I am in trouble.

The font is "Pioneerbrush" and I have attached it

-Daniel

Hi, I can linear_extrude this font fine but as soon as I put it against a flat surface or substract it from one I am in trouble. The font is "Pioneerbrush" and I have attached it -Daniel
D
Daniel
Sat, Mar 26, 2022 1:42 AM

This is where it fails

Rendering Polygon Mesh using CGAL...

ERROR: The given mesh is not closed! Unable to convert to
CGAL_Nef_Polyhedron.

On 26/03/2022 01:40, Daniel wrote:

Hi,

I can linear_extrude this font fine but as soon as I put it against a
flat surface or substract it from one I am in trouble.

The font is "Pioneerbrush" and I have attached it

-Daniel


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

This is where it fails Rendering Polygon Mesh using CGAL... ERROR: The given mesh is not closed! Unable to convert to CGAL_Nef_Polyhedron. On 26/03/2022 01:40, Daniel wrote: > Hi, > > I can linear_extrude this font fine but as soon as I put it against a > flat surface or substract it from one I am in trouble. > > The font is "Pioneerbrush" and I have attached it > > -Daniel > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JB
Jordan Brown
Sat, Mar 26, 2022 2:01 AM

Most likely the font has a self-intersection somewhere in one or more of
its characters, quite possibly very small.

Isolate which particular character causes the problem, then blow it way
up and examine it carefully.

It might also work to linear_extrude it and view it with View/Thrown
Together.  (Do not render it with F6.)  Look for purple faces.

Most likely the font has a self-intersection somewhere in one or more of its characters, quite possibly very small. Isolate which particular character causes the problem, then blow it way up and examine it carefully. It might also work to linear_extrude it and view it with View/Thrown Together.  (Do not render it with F6.)  Look for purple faces.
JB
Jordan Brown
Sat, Mar 26, 2022 2:02 AM

Unfortunately, finding a self-intersection doesn't solve the problem -
it just shows that the font is misdesigned.

Unfortunately, finding a self-intersection doesn't solve the problem - it just shows that the font is misdesigned.
NH
nop head
Sat, Mar 26, 2022 8:13 AM

Try offsetting by a minute amount before extruding. That sometimes fixes 2D
self intersections because Clipper gets called to do the offset and it can
fix polygons.

On Sat, 26 Mar 2022 at 02:03, Jordan Brown openscad@jordan.maileater.net
wrote:

Unfortunately, finding a self-intersection doesn't solve the problem - it
just shows that the font is misdesigned.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Try offsetting by a minute amount before extruding. That sometimes fixes 2D self intersections because Clipper gets called to do the offset and it can fix polygons. On Sat, 26 Mar 2022 at 02:03, Jordan Brown <openscad@jordan.maileater.net> wrote: > Unfortunately, finding a self-intersection doesn't solve the problem - it > just shows that the font is misdesigned. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
D
Daniel
Sat, Mar 26, 2022 10:48 AM

Thanks nop head! That worked a treat

-Daniel

On 26/03/2022 01:40, Daniel wrote:

Hi,

I can linear_extrude this font fine but as soon as I put it against a
flat surface or substract it from one I am in trouble.

The font is "Pioneerbrush" and I have attached it

-Daniel


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Thanks nop head! That worked a treat -Daniel On 26/03/2022 01:40, Daniel wrote: > Hi, > > I can linear_extrude this font fine but as soon as I put it against a > flat surface or substract it from one I am in trouble. > > The font is "Pioneerbrush" and I have attached it > > -Daniel > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org