discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

the "write" library and the 19.05 release

TP
Torsten Paul
Tue, Jun 25, 2019 9:59 PM

Maybe also have a look at the "text_on_OpenSCAD" library which
is a rewrite of the "Write" library using text() - so normal
fonts can be used instead of just a couple of DXF fonts.

https://github.com/brodykenrick/text_on_OpenSCAD

It also seems to produce a couple of warnings, but there's
a bug tracker and some activity of small changes.

ciao,
Torsten.

Maybe also have a look at the "text_on_OpenSCAD" library which is a rewrite of the "Write" library using text() - so normal fonts can be used instead of just a couple of DXF fonts. https://github.com/brodykenrick/text_on_OpenSCAD It also seems to produce a couple of warnings, but there's a bug tracker and some activity of small changes. ciao, Torsten.
M
MichaelAtOz
Tue, Jun 25, 2019 11:38 PM

jon_bondy wrote

I honestly have no idea how to alter the "write" library to eliminate
the error messages

In write.scad change

module write(word){

to

module write(word, h=h, t=t, rotate=rotate, center=center, space=space,
font=font) {

save. Fixed.

I haven't looked in detail at other modules like writecylinder() and their
use case, if you use those extra parameters you may have to add
", h=h, t=t, rotate=rotate, center=center, space=space, font=font"
onto the end of the parameters in those other module definitions.


Admin - email* me if you need anything, or if I've done something stupid...

  • click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

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

jon_bondy wrote > I honestly have no idea how to alter the "write" library to eliminate > the error messages In write.scad change module write(word){ to module write(word, h=h, t=t, rotate=rotate, center=center, space=space, font=font) { save. Fixed. I haven't looked in detail at other modules like writecylinder() and their use case, if you use those extra parameters you may have to add ", h=h, t=t, rotate=rotate, center=center, space=space, font=font" onto the end of the parameters in those other module definitions. ----- Admin - email* me if you need anything, or if I've done something stupid... * click on my MichaelAtOz label, there is a link to email me. Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/