discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Render failure - Marker Felt "j"

BC
Bob Carter
Sat, May 29, 2021 4:03 PM

I also have  20220.01 on my M1 Mac so have done a little digging.

Getting rid of all the extraneous translates/rotates

font="Marker Felt:style=Thin";
fontsize=10;
letter="j";
width=11;
tileheight=1;

cube ([14,14,1]);
linear_extrude(height=6) text(letter,size=fontsize, font=font);

The J is present with F5 and disappears with F6.
Make the J and cube discontinuous also makes no difference

Comment out the cube and the J is present with both F5 and F6.

Adding the Offset suggested fixes the problem

linear_extrude(height=6) offset(0.001) text(letter,size=fontsize, font=font);

If I switch to OpenScad 2021.02.08 it then gives the error

Rendering Polygon Mesh using CGAL...
ERROR: The given mesh is not closed! Unable to convert to CGAL_Nef_Polyhedron.

Geometries in cache: 5

Geometry cache size in bytes: 89224

CGAL Polyhedrons in cache: 2

CGAL cache size in bytes: 461088

Total rendering time: 0:00:00.045

Top level object is a 3D object:

Simple: yes

Vertices: 8

Halfedges: 24

Edges: 12

Halffacets: 12

Facets: 6

Volumes: 2

Rendering finished.

cheers
Bob.C

On 29 May 2021, at 16:33, nop head nop.head@gmail.com wrote:

I meant try something like this:

linear_extrude(height=6)
translate([0,-4.2,0])
offset (0.001)
text(letter,size=fontsize, font=font);

If the J in the font has an outline that self intersects then offset() uses the Clipper library and that is very good at fixing 2D self intersections.

On Sat, 29 May 2021 at 16:16, Terrypin <terrypingm@gmail.com mailto:terrypingm@gmail.com> wrote:
Perhaps it's exclusively a Mac issue? Hopefully another Mac user might be along to check that guess.

BTW, I too am a novice and like you I don't understand what nophead meant ;-)

Terry
Sent from the OpenSCAD mailing list archive http://forum.openscad.org/ at Nabble.com.


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


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

I also have 20220.01 on my M1 Mac so have done a little digging. Getting rid of all the extraneous translates/rotates font="Marker Felt:style=Thin"; fontsize=10; letter="j"; width=11; tileheight=1; cube ([14,14,1]); linear_extrude(height=6) text(letter,size=fontsize, font=font); The J is present with F5 and disappears with F6. Make the J and cube discontinuous also makes no difference Comment out the cube and the J is present with both F5 and F6. Adding the Offset suggested fixes the problem linear_extrude(height=6) offset(0.001) text(letter,size=fontsize, font=font); If I switch to OpenScad 2021.02.08 it then gives the error Rendering Polygon Mesh using CGAL... ERROR: The given mesh is not closed! Unable to convert to CGAL_Nef_Polyhedron. Geometries in cache: 5 Geometry cache size in bytes: 89224 CGAL Polyhedrons in cache: 2 CGAL cache size in bytes: 461088 Total rendering time: 0:00:00.045 Top level object is a 3D object: Simple: yes Vertices: 8 Halfedges: 24 Edges: 12 Halffacets: 12 Facets: 6 Volumes: 2 Rendering finished. cheers Bob.C > On 29 May 2021, at 16:33, nop head <nop.head@gmail.com> wrote: > > I meant try something like this: > > linear_extrude(height=6) > translate([0,-4.2,0]) > offset (0.001) > text(letter,size=fontsize, font=font); > > If the J in the font has an outline that self intersects then offset() uses the Clipper library and that is very good at fixing 2D self intersections. > > > > On Sat, 29 May 2021 at 16:16, Terrypin <terrypingm@gmail.com <mailto:terrypingm@gmail.com>> wrote: > Perhaps it's exclusively a Mac issue? Hopefully another Mac user might be along to check that guess. > > BTW, I too am a novice and like you I don't understand what nophead meant ;-) > > Terry > Sent from the OpenSCAD mailing list archive <http://forum.openscad.org/> at Nabble.com. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
TP
Torsten Paul
Sat, May 29, 2021 4:14 PM

If you zoom in to the section marked by the attached screenshot
you'll find the reason for the issue.

ciao,
Torsten.

If you zoom in to the section marked by the attached screenshot you'll find the reason for the issue. ciao, Torsten.
J
jon
Sat, May 29, 2021 4:26 PM

Interesting.  Then why does the "J" appear with both F5 and F6 on my
Windows system using version 2021.01

Jon

On 5/29/2021 12:14 PM, Torsten Paul wrote:

If you zoom in to the section marked by the attached screenshot
you'll find the reason for the issue.

ciao,
Torsten.


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

Interesting.  Then why does the "J" appear with both F5 and F6 on my Windows system using version 2021.01 Jon On 5/29/2021 12:14 PM, Torsten Paul wrote: > If you zoom in to the section marked by the attached screenshot > you'll find the reason for the issue. > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
TP
Torsten Paul
Sat, May 29, 2021 4:29 PM

On 29.05.21 18:26, jon wrote:

Interesting.  Then why does the "J" appear with both F5 and F6
on my Windows system using version 2021.01

Did you install exactly the same font, e.g. the "thin" variant?
I used that one: https://ufonts.com/download/marker-felt-thin.html

Those kind of issues are often very specific and not necessarily
affect all font variants.

ciao,
Torsten.

On 29.05.21 18:26, jon wrote: > Interesting.  Then why does the "J" appear with both F5 and F6 > on my Windows system using version 2021.01 Did you install *exactly* the same font, e.g. the "thin" variant? I used that one: https://ufonts.com/download/marker-felt-thin.html Those kind of issues are often very specific and not necessarily affect all font variants. ciao, Torsten.
J
jon
Sat, May 29, 2021 4:31 PM

Ah.  Good point.  I guess when there is an inexact font match, the
system goes with the nearest best, without a warning message.

Jon

On 5/29/2021 12:29 PM, Torsten Paul wrote:

On 29.05.21 18:26, jon wrote:

Interesting.  Then why does the "J" appear with both F5 and F6
on my Windows system using version 2021.01
Did you install exactly the same font, e.g. the "thin" variant?
I used that one: https://ufonts.com/download/marker-felt-thin.html

Those kind of issues are often very specific and not necessarily
affect all font variants.

ciao,
Torsten.


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

Ah.  Good point.  I guess when there is an inexact font match, the system goes with the nearest best, without a warning message. Jon On 5/29/2021 12:29 PM, Torsten Paul wrote: > On 29.05.21 18:26, jon wrote: >> Interesting.  Then why does the "J" appear with both F5 and F6 >> on my Windows system using version 2021.01 > Did you install *exactly* the same font, e.g. the "thin" variant? > I used that one: https://ufonts.com/download/marker-felt-thin.html > > Those kind of issues are often very specific and not necessarily > affect all font variants. > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
D
dpa
Sat, May 29, 2021 7:14 PM

make a little offset and it will render (F6).
like so:
cube ([14,14,1]);
linear_extrude(height=6) offset(0.001) text(letter,size=fontsize,
font=font);

Am Sa., 29. Mai 2021 um 18:15 Uhr schrieb Torsten Paul <Torsten.Paul@gmx.de

:

If you zoom in to the section marked by the attached screenshot
you'll find the reason for the issue.

ciao,
Torsten.


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

make a little offset and it will render (F6). like so: cube ([14,14,1]); linear_extrude(height=6) offset(0.001) text(letter,size=fontsize, font=font); Am Sa., 29. Mai 2021 um 18:15 Uhr schrieb Torsten Paul <Torsten.Paul@gmx.de >: > If you zoom in to the section marked by the attached screenshot > you'll find the reason for the issue. > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
DM
DAVID MENDALSKI
Sat, May 29, 2021 8:29 PM

Can someone contact the administrator and ask to have my email removed from the mailing list? I've tried twice on-line with no success.
Thank you,
David M

 On 05/29/2021 2:14 PM dpa <sc@pankd.de> wrote:
  
  
 make a little offset and it will render (F6).
 like so:
 cube ([14,14,1]);
 linear_extrude(height=6)  offset(0.001)  text(letter,size=fontsize, font=font); 

 Am Sa., 29. Mai 2021 um 18:15 Uhr schrieb Torsten Paul < Torsten.Paul@gmx.de mailto:Torsten.Paul@gmx.de >:

If you zoom in to the section marked by the attached screenshot

     you'll find the reason for the issue.

     ciao,
       Torsten.
     _______________________________________________
     OpenSCAD mailing list
     To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org
 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org
Can someone contact the administrator and ask to have my email removed from the mailing list? I've tried twice on-line with no success. Thank you, David M > On 05/29/2021 2:14 PM dpa <sc@pankd.de> wrote: > > > make a little offset and it will render (F6). > like so: > cube ([14,14,1]); > linear_extrude(height=6) offset(0.001) text(letter,size=fontsize, font=font); > > Am Sa., 29. Mai 2021 um 18:15 Uhr schrieb Torsten Paul < Torsten.Paul@gmx.de mailto:Torsten.Paul@gmx.de >: > > > > If you zoom in to the section marked by the attached screenshot > > you'll find the reason for the issue. > > > > ciao, > > Torsten. > > _______________________________________________ > > OpenSCAD mailing list > > To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org > > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
GH
Gene Heskett
Sat, May 29, 2021 8:45 PM

On Saturday 29 May 2021 16:29:22 DAVID MENDALSKI wrote:

Can someone contact the administrator and ask to have my email removed
from the mailing list? I've tried twice on-line with no success. Thank
you,
David M

Did you reply in the affirmative to the message the server sent to the
address on record?

Cheers, Gene Heskett

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.

On Saturday 29 May 2021 16:29:22 DAVID MENDALSKI wrote: > Can someone contact the administrator and ask to have my email removed > from the mailing list? I've tried twice on-line with no success. Thank > you, > David M Did you reply in the affirmative to the message the server sent to the address on record? Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
JB
Jordan Brown
Sat, May 29, 2021 9:30 PM

On 5/29/2021 9:31 AM, jon wrote:

Ah.  Good point.  I guess when there is an inexact font match, the
system goes with the nearest best, without a warning message.

Yes, that's an explicit design feature of the fontconfig library used.

https://www.freedesktop.org/software/fontconfig/fontconfig-user.html#AEN25

Fontconfig performs matching by measuring the distance from a
provided pattern to all of the available fonts in the system. The
closest matching font is selected. This ensures that a font will
always be returned, but doesn't ensure that it is anything like the
requested pattern.

Sometimes it's what you want.  Sometimes not so much.

On 5/29/2021 9:31 AM, jon wrote: > Ah.  Good point.  I guess when there is an inexact font match, the > system goes with the nearest best, without a warning message. Yes, that's an explicit design feature of the fontconfig library used. https://www.freedesktop.org/software/fontconfig/fontconfig-user.html#AEN25 Fontconfig performs matching by measuring the distance from a provided pattern to all of the available fonts in the system. The closest matching font is selected. This ensures that a font will always be returned, but doesn't ensure that it is anything like the requested pattern. Sometimes it's what you want.  Sometimes not so much.
G
GaryMcIntyre
Sun, May 30, 2021 10:12 PM

Thank you everyone!

I've added the offset to my code and everything seems to be good.

--
Sent from: http://forum.openscad.org/

Thank you everyone! I've added the offset to my code and everything seems to be good. -- Sent from: http://forum.openscad.org/