I am running OpenSCAD version 2025.04.13 (git f8d680306) on MacOS Sequoia
15.4.1 on a MacBook Air M4.
I am attempting to use BOSL2 path_text()
Path_text() is complaining: ERROR: Assertion 'false' failed: "textmetrics
disabled: Must specify letter size" in file
../libraries/BOSL2/shapes3d.scad, line 4030
However, OpenSCAD Preferences show textmetrics enabled.
Clicking on the Preferences > Features > textmetrics check box (either ON
or OFF) brings up the Customizer Pane.
Actually, clicking on ANY of the Preferences > Features check boxes brings
up the Customizer.
Is this expected at this time?
Thanks!
Did you give textmetrics=true to path_text to enable the feature in BOSL2?
On Wed, Apr 23, 2025 at 12:54 Leonard Martin Struttmann via Discuss <
discuss@lists.openscad.org> wrote:
I am running OpenSCAD version 2025.04.13 (git f8d680306) on MacOS Sequoia
15.4.1 on a MacBook Air M4.
I am attempting to use BOSL2 path_text()
Path_text() is complaining: ERROR: Assertion 'false' failed: "textmetrics
disabled: Must specify letter size" in file
../libraries/BOSL2/shapes3d.scad, line 4030
However, OpenSCAD Preferences show textmetrics enabled.
Clicking on the Preferences > Features > textmetrics check box (either ON
or OFF) brings up the Customizer Pane.
Actually, clicking on ANY of the Preferences > Features check boxes brings
up the Customizer.
Is this expected at this time?
Thanks!
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Yes,
#path_text(path, _text, font=_fontName, h=_letterDepth, size=_fontSize,
center=true, textmetrics=true );
On Wed, Apr 23, 2025 at 12:08 PM Adrian Mariano avm4@cornell.edu wrote:
Did you give textmetrics=true to path_text to enable the feature in BOSL2?
On Wed, Apr 23, 2025 at 12:54 Leonard Martin Struttmann via Discuss <
discuss@lists.openscad.org> wrote:
I am running OpenSCAD version 2025.04.13 (git f8d680306) on MacOS Sequoia
15.4.1 on a MacBook Air M4.
I am attempting to use BOSL2 path_text()
Path_text() is complaining: ERROR: Assertion 'false' failed: "textmetrics
disabled: Must specify letter size" in file
../libraries/BOSL2/shapes3d.scad, line 4030
However, OpenSCAD Preferences show textmetrics enabled.
Clicking on the Preferences > Features > textmetrics check box (either ON
or OFF) brings up the Customizer Pane.
Actually, clicking on ANY of the Preferences > Features check boxes
brings up the Customizer.
Is this expected at this time?
Thanks!
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On Apr 23, 2025, at 12:54, Leonard Martin Struttmann via Discuss discuss@lists.openscad.org wrote:
Clicking on the Preferences > Features > textmetrics check box (either ON or OFF) brings up the Customizer Pane.
Actually, clicking on ANY of the Preferences > Features check boxes brings up the Customizer.
Is this expected at this time?
That’s a separate issue. Will look into it.
-Marius
Actually that error is from BOSL2, not from openscad. Very strange because
it should appear only when textmetrics is false.
From openscad you get a “warning” that the textmetrics function doesn’t
exist.
On Wed, Apr 23, 2025 at 13:50 Marius Kintel via Discuss <
discuss@lists.openscad.org> wrote:
On Apr 23, 2025, at 12:54, Leonard Martin Struttmann via Discuss <
discuss@lists.openscad.org> wrote:
Clicking on the Preferences > Features > textmetrics check box (either ON
or OFF) brings up the Customizer Pane.
Actually, clicking on ANY of the Preferences > Features check boxes brings
up the Customizer.
Is this expected at this time?
That’s a separate issue. Will look into it.
-Marius
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Ok, my (partial) mistake.
I got so distracted playing with the Customizer pane popping up, that I
accidentally turned textmetrics back OFF in Preferences. When Preferences
is on AND textmetrics=true, then path_text() does not complain.
There's still the question of the Customizer pane, though.
Thanks, everyone!
On Wed, Apr 23, 2025 at 1:15 PM Adrian Mariano via Discuss <
discuss@lists.openscad.org> wrote:
Actually that error is from BOSL2, not from openscad. Very strange because
it should appear only when textmetrics is false.
From openscad you get a “warning” that the textmetrics function doesn’t
exist.
On Wed, Apr 23, 2025 at 13:50 Marius Kintel via Discuss <
discuss@lists.openscad.org> wrote:
On Apr 23, 2025, at 12:54, Leonard Martin Struttmann via Discuss <
discuss@lists.openscad.org> wrote:
Clicking on the Preferences > Features > textmetrics check box (either ON
or OFF) brings up the Customizer Pane.
Actually, clicking on ANY of the Preferences > Features check boxes
brings up the Customizer.
Is this expected at this time?
That’s a separate issue. Will look into it.
-Marius
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org