discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Stencils?

BC
Bob Carlson
Sun, Jan 8, 2023 9:06 PM

I recently did a project for my grandkids where an electroluminescent panel is behind a printed piece with their names on them. I wanted to use a specific font but needed a stencil type where there are no closed loops like Os. Is there any way to do this to an arbitrary font?? I assume there are stencil type fonts out there, but I tend to obsess over fonts and I want to pick my own. Since it was a small number I hand positioned bridges to the islands and that worked fine for this application, but it was time consuming.

Below is an example in Avenir.

-Bob
Tucson AZ

I recently did a project for my grandkids where an electroluminescent panel is behind a printed piece with their names on them. I wanted to use a specific font but needed a stencil type where there are no closed loops like Os. Is there any way to do this to an arbitrary font?? I assume there are stencil type fonts out there, but I tend to obsess over fonts and I want to pick my own. Since it was a small number I hand positioned bridges to the islands and that worked fine for this application, but it was time consuming. Below is an example in Avenir. -Bob Tucson AZ
J
jon
Sun, Jan 8, 2023 9:39 PM

When I wanted to do this I used a stencil font.  Quick and easy.

Jon

On 1/8/2023 4:06 PM, Bob Carlson wrote:

I recently did a project for my grandkids where an electroluminescent
panel is behind a printed piece with their names on them. I wanted to
use a specific font but needed a stencil type where there are no
closed loops like Os. Is there any way to do this to an arbitrary
font?? I assume there are stencil type fonts out there, but I tend to
obsess over fonts and I want to pick my own. Since it was a small
number I hand positioned bridges to the islands and that worked fine
for this application, but it was time consuming.

Below is an example in Avenir.

-Bob
Tucson AZ


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

When I wanted to do this I used a stencil font.  Quick and easy. Jon On 1/8/2023 4:06 PM, Bob Carlson wrote: > I recently did a project for my grandkids where an electroluminescent > panel is behind a printed piece with their names on them. I wanted to > use a specific font but needed a stencil type where there are no > closed loops like Os. Is there any way to do this to an arbitrary > font?? I assume there are stencil type fonts out there, but I tend to > obsess over fonts and I want to pick my own. Since it was a small > number I hand positioned bridges to the islands and that worked fine > for this application, but it was time consuming. > > Below is an example in Avenir. > > -Bob > Tucson AZ > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
FH
Father Horton
Sun, Jan 8, 2023 11:04 PM

There is probably a way to do it in OpenSCAD, but it looks like a headache.
If you are going to do this a lot, I'd set up each letter as its own module.

On Sun, Jan 8, 2023 at 3:41 PM jon jon@jonbondy.com wrote:

When I wanted to do this I used a stencil font.  Quick and easy.

Jon

On 1/8/2023 4:06 PM, Bob Carlson wrote:

I recently did a project for my grandkids where an electroluminescent
panel is behind a printed piece with their names on them. I wanted to use a
specific font but needed a stencil type where there are no closed loops
like Os. Is there any way to do this to an arbitrary font?? I assume there
are stencil type fonts out there, but I tend to obsess over fonts and I
want to pick my own. Since it was a small number I hand positioned bridges
to the islands and that worked fine for this application, but it was time
consuming.

Below is an example in Avenir.

-Bob
Tucson AZ


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

There is probably a way to do it in OpenSCAD, but it looks like a headache. If you are going to do this a lot, I'd set up each letter as its own module. On Sun, Jan 8, 2023 at 3:41 PM jon <jon@jonbondy.com> wrote: > When I wanted to do this I used a stencil font. Quick and easy. > > Jon > > > On 1/8/2023 4:06 PM, Bob Carlson wrote: > > I recently did a project for my grandkids where an electroluminescent > panel is behind a printed piece with their names on them. I wanted to use a > specific font but needed a stencil type where there are no closed loops > like Os. Is there any way to do this to an arbitrary font?? I assume there > are stencil type fonts out there, but I tend to obsess over fonts and I > want to pick my own. Since it was a small number I hand positioned bridges > to the islands and that worked fine for this application, but it was time > consuming. > > Below is an example in Avenir. > > -Bob > Tucson AZ > > > > _______________________________________________ > 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 >
BC
Bob Carlson
Sun, Jan 8, 2023 11:07 PM

Just went through all the fonts on Adobe that come up when you search for stencil. I did not like any of them. They all seemed to have bridges that are unnecessary and the bridges all seemed too thin. I tried .5 mm bridges at first and that worked but seemed too fragile. I went to 1 mm. Lack of control of this might be a problem depending on the font size.

The problem of turning a font into a stencil font seems like a difficult problem, but I thought there might be a library out there somewhere.

-Bob
Tucson AZ

On Jan 8, 2023, at 14:39, jon jon@jonbondy.com wrote:

When I wanted to do this I used a stencil font.  Quick and easy.

Jon

On 1/8/2023 4:06 PM, Bob Carlson wrote:

I recently did a project for my grandkids where an electroluminescent panel is behind a printed piece with their names on them. I wanted to use a specific font but needed a stencil type where there are no closed loops like Os. Is there any way to do this to an arbitrary font?? I assume there are stencil type fonts out there, but I tend to obsess over fonts and I want to pick my own. Since it was a small number I hand positioned bridges to the islands and that worked fine for this application, but it was time consuming.

Below is an example in Avenir.

-Bob
Tucson AZ


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

Just went through all the fonts on Adobe that come up when you search for stencil. I did not like any of them. They all seemed to have bridges that are unnecessary and the bridges all seemed too thin. I tried .5 mm bridges at first and that worked but seemed too fragile. I went to 1 mm. Lack of control of this might be a problem depending on the font size. The problem of turning a font into a stencil font seems like a difficult problem, but I thought there might be a library out there somewhere. -Bob Tucson AZ On Jan 8, 2023, at 14:39, jon <jon@jonbondy.com> wrote: When I wanted to do this I used a stencil font. Quick and easy. Jon On 1/8/2023 4:06 PM, Bob Carlson wrote: > I recently did a project for my grandkids where an electroluminescent panel is behind a printed piece with their names on them. I wanted to use a specific font but needed a stencil type where there are no closed loops like Os. Is there any way to do this to an arbitrary font?? I assume there are stencil type fonts out there, but I tend to obsess over fonts and I want to pick my own. Since it was a small number I hand positioned bridges to the islands and that worked fine for this application, but it was time consuming. > > Below is an example in Avenir. > > -Bob > Tucson AZ > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org>
BC
Bob Carlson
Sun, Jan 8, 2023 11:24 PM

Thought of that but it doesn’t really work (except for monospaced) because kerning is an issue.

-Bob
Tucson AZ

On Jan 8, 2023, at 16:04, Father Horton fatherhorton@gmail.com wrote:

There is probably a way to do it in OpenSCAD, but it looks like a headache. If you are going to do this a lot, I'd set up each letter as its own module.

On Sun, Jan 8, 2023 at 3:41 PM jon <jon@jonbondy.com mailto:jon@jonbondy.com> wrote:

When I wanted to do this I used a stencil font.  Quick and easy.

Jon

On 1/8/2023 4:06 PM, Bob Carlson wrote:

I recently did a project for my grandkids where an electroluminescent panel is behind a printed piece with their names on them. I wanted to use a specific font but needed a stencil type where there are no closed loops like Os. Is there any way to do this to an arbitrary font?? I assume there are stencil type fonts out there, but I tend to obsess over fonts and I want to pick my own. Since it was a small number I hand positioned bridges to the islands and that worked fine for this application, but it was time consuming.

Below is an example in Avenir.

-Bob
Tucson AZ


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 mailto:discuss-leave@lists.openscad.org


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

Thought of that but it doesn’t really work (except for monospaced) because kerning is an issue. -Bob Tucson AZ On Jan 8, 2023, at 16:04, Father Horton <fatherhorton@gmail.com> wrote: There is probably a way to do it in OpenSCAD, but it looks like a headache. If you are going to do this a lot, I'd set up each letter as its own module. On Sun, Jan 8, 2023 at 3:41 PM jon <jon@jonbondy.com <mailto:jon@jonbondy.com>> wrote: > When I wanted to do this I used a stencil font. Quick and easy. > > Jon > > > > On 1/8/2023 4:06 PM, Bob Carlson wrote: >> I recently did a project for my grandkids where an electroluminescent panel is behind a printed piece with their names on them. I wanted to use a specific font but needed a stencil type where there are no closed loops like Os. Is there any way to do this to an arbitrary font?? I assume there are stencil type fonts out there, but I tend to obsess over fonts and I want to pick my own. Since it was a small number I hand positioned bridges to the islands and that worked fine for this application, but it was time consuming. >> >> Below is an example in Avenir. >> >> -Bob >> Tucson AZ >> >> >> >> _______________________________________________ >> 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 <mailto:discuss-leave@lists.openscad.org> _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org
RC
Ray Cadmus
Sun, Jan 8, 2023 11:53 PM

Would one of these work?  Just quick search,  I haven’t tried any.

Ray


On Jan 8, 2023, at 5:24 PM, Bob Carlson bob@rjcarlson.com wrote:

Thought of that but it doesn’t really work (except for monospaced) because kerning is an issue.

-Bob
Tucson AZ

On Jan 8, 2023, at 16:04, Father Horton fatherhorton@gmail.com wrote:

There is probably a way to do it in OpenSCAD, but it looks like a headache. If you are going to do this a lot, I'd set up each letter as its own module.

On Sun, Jan 8, 2023 at 3:41 PM jon <jon@jonbondy.com mailto:jon@jonbondy.com> wrote:

When I wanted to do this I used a stencil font.  Quick and easy.

Jon

On 1/8/2023 4:06 PM, Bob Carlson wrote:

I recently did a project for my grandkids where an electroluminescent panel is behind a printed piece with their names on them. I wanted to use a specific font but needed a stencil type where there are no closed loops like Os. Is there any way to do this to an arbitrary font?? I assume there are stencil type fonts out there, but I tend to obsess over fonts and I want to pick my own. Since it was a small number I hand positioned bridges to the islands and that worked fine for this application, but it was time consuming.

Below is an example in Avenir.

-Bob
Tucson AZ


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 mailto:discuss-leave@lists.openscad.org


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

Would one of these work? Just quick search, I haven’t tried any. Ray ---- > On Jan 8, 2023, at 5:24 PM, Bob Carlson <bob@rjcarlson.com> wrote: > > Thought of that but it doesn’t really work (except for monospaced) because kerning is an issue. > > -Bob > Tucson AZ > > > > On Jan 8, 2023, at 16:04, Father Horton <fatherhorton@gmail.com> wrote: > > There is probably a way to do it in OpenSCAD, but it looks like a headache. If you are going to do this a lot, I'd set up each letter as its own module. > > On Sun, Jan 8, 2023 at 3:41 PM jon <jon@jonbondy.com <mailto:jon@jonbondy.com>> wrote: >> When I wanted to do this I used a stencil font. Quick and easy. >> >> Jon >> >> >> >> On 1/8/2023 4:06 PM, Bob Carlson wrote: >>> I recently did a project for my grandkids where an electroluminescent panel is behind a printed piece with their names on them. I wanted to use a specific font but needed a stencil type where there are no closed loops like Os. Is there any way to do this to an arbitrary font?? I assume there are stencil type fonts out there, but I tend to obsess over fonts and I want to pick my own. Since it was a small number I hand positioned bridges to the islands and that worked fine for this application, but it was time consuming. >>> >>> Below is an example in Avenir. >>> >>> -Bob >>> Tucson AZ >>> >>> >>> >>> _______________________________________________ >>> 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 <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > 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
DP
David Phillip Oster
Mon, Jan 9, 2023 3:12 AM

True type Font editors are widely available. Just Open for editing a copy
of a font you like, rename it and add the barriers. Once you install it on
your computer, use OpenSCAD's Help > Font List menu item to get
OpenSCAD's name for it.

On Sun, Jan 8, 2023 at 1:08 PM Bob Carlson bob@rjcarlson.com wrote:

I recently did a project for my grandkids where an electroluminescent
panel is behind a printed piece with their names on them. I wanted to use a
specific font but needed a stencil type where there are no closed loops
like Os. Is there any way to do this to an arbitrary font?? I assume there
are stencil type fonts out there, but I tend to obsess over fonts and I
want to pick my own. Since it was a small number I hand positioned bridges
to the islands and that worked fine for this application, but it was time
consuming.

Below is an example in Avenir.

-Bob
Tucson AZ


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

True type Font editors are widely available. Just Open for editing a copy of a font you like, rename it and add the barriers. Once you install it on your computer, use OpenSCAD's *Help > Font List* menu item to get OpenSCAD's name for it. On Sun, Jan 8, 2023 at 1:08 PM Bob Carlson <bob@rjcarlson.com> wrote: > I recently did a project for my grandkids where an electroluminescent > panel is behind a printed piece with their names on them. I wanted to use a > specific font but needed a stencil type where there are no closed loops > like Os. Is there any way to do this to an arbitrary font?? I assume there > are stencil type fonts out there, but I tend to obsess over fonts and I > want to pick my own. Since it was a small number I hand positioned bridges > to the islands and that worked fine for this application, but it was time > consuming. > > Below is an example in Avenir. > > -Bob > Tucson AZ > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
CM
Curt McDowell
Mon, Jan 9, 2023 8:00 PM

A while back I needed such a thing and wrote some code to place "slits"
vertically across any Latin font characters that have holes in them. To
do that, I needed font metrics not yet available in OpenSCAD. But I
found a MIT fontmetrics library and modified it for my purposes. The
slits aren't lined up nicely as in your example, but it was adequate for
my 3D printing projects.

The complete OpenSCAD 2021.01 code with an example is here
(stencil_text.scad and supporting files):

https://github.com/curtmcd/OpenSCAD_Lib

I only tested with Liberation Sans.

Regards,
Curt

On 1/8/2023 1:06 PM, Bob Carlson wrote:

I recently did a project for my grandkids where an electroluminescent panel is behind a printed piece with their names on them. I wanted to use a specific font but needed a stencil type where there are no closed loops like Os. Is there any way to do this to an arbitrary font?? I assume there are stencil type fonts out there, but I tend to obsess over fonts and I want to pick my own. Since it was a small number I hand positioned bridges to the islands and that worked fine for this application, but it was time consuming.

Below is an example in Avenir.

-Bob
Tucson AZ


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

A while back I needed such a thing and wrote some code to place "slits" vertically across any Latin font characters that have holes in them. To do that, I needed font metrics not yet available in OpenSCAD. But I found a MIT fontmetrics library and modified it for my purposes. The slits aren't lined up nicely as in your example, but it was adequate for my 3D printing projects. The complete OpenSCAD 2021.01 code with an example is here (stencil_text.scad and supporting files): https://github.com/curtmcd/OpenSCAD_Lib I only tested with Liberation Sans. Regards, Curt On 1/8/2023 1:06 PM, Bob Carlson wrote: > I recently did a project for my grandkids where an electroluminescent panel is behind a printed piece with their names on them. I wanted to use a specific font but needed a stencil type where there are no closed loops like Os. Is there any way to do this to an arbitrary font?? I assume there are stencil type fonts out there, but I tend to obsess over fonts and I want to pick my own. Since it was a small number I hand positioned bridges to the islands and that worked fine for this application, but it was time consuming. > > Below is an example in Avenir. > > -Bob > Tucson AZ > > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JB
Jordan Brown
Mon, Jan 9, 2023 8:01 PM

There's currently no way for an OpenSCAD program to "look" at how font
glyphs are formed, so aside from brute-force answers like drawing a
horizontal line across just below the midpoint there's no answer.

With the geometry-as-data effort (PR#4478
https://github.com/openscad/openscad/pull/4478) it will be possible
to look at the lines that make up a piece of text... but figuring out
from that where there are "islands" and where to put bridges is not
immediately obvious.

A completely different strategy might be to attach the 3D printed parts
to a transparent carrier, a sheet of clear plastic.

There's currently no way for an OpenSCAD program to "look" at how font glyphs are formed, so aside from brute-force answers like drawing a horizontal line across just below the midpoint there's no answer. With the geometry-as-data effort (PR#4478 <https://github.com/openscad/openscad/pull/4478>) it will be *possible* to look at the lines that make up a piece of text... but figuring out from that where there are "islands" and where to put bridges is not immediately obvious. A completely different strategy might be to attach the 3D printed parts to a transparent carrier, a sheet of clear plastic.
RW
Raymond West
Mon, Jan 9, 2023 8:54 PM

I recently needed some quickly prepared temporary caution notices. I 
placed the text on a thinner background grid, and simply 3d printed it.

You need to make sure you catch the dotted i's and punctuation.

On 09/01/2023 20:01, Jordan Brown wrote:

There's currently no way for an OpenSCAD program to "look" at how font
glyphs are formed, so aside from brute-force answers like drawing a
horizontal line across just below the midpoint there's no answer.

With the geometry-as-data effort (PR#4478
https://github.com/openscad/openscad/pull/4478) it will be
possible to look at the lines that make up a piece of text... but
figuring out from that where there are "islands" and where to put
bridges is not immediately obvious.

A completely different strategy might be to attach the 3D printed
parts to a transparent carrier, a sheet of clear plastic.


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

I recently needed some quickly prepared temporary caution notices. I  placed the text on a thinner background grid, and simply 3d printed it. You need to make sure you catch the dotted i's and punctuation. On 09/01/2023 20:01, Jordan Brown wrote: > There's currently no way for an OpenSCAD program to "look" at how font > glyphs are formed, so aside from brute-force answers like drawing a > horizontal line across just below the midpoint there's no answer. > > With the geometry-as-data effort (PR#4478 > <https://github.com/openscad/openscad/pull/4478>) it will be > *possible* to look at the lines that make up a piece of text... but > figuring out from that where there are "islands" and where to put > bridges is not immediately obvious. > > A completely different strategy might be to attach the 3D printed > parts to a transparent carrier, a sheet of clear plastic. > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org