I had a chance to do that at work, a few years ago and wrote these scripts for Rhino 4. wirefont.zip (55.6 KB)
The toolbar contains two buttons: the first is for drawing texts. It uses a simple ‘font’ that worked for me.
The character set only supports uppercase letters plus numbers
If the char set is OK but the font is not … please keep reading …
The second button lets you store your own font: just draw the font like in the attached 3dm file: the characters have to be clearly separated and the last one must be a ‘jolly’ char that the script uses for chars outside its char set. The script reads the curves and writes some code to the clipboard.
Then you have to save that code into the wirefontlib.rvb file … or use a different name and edit the button command text.
Hi All. I have successfully used Windows pseudo single line fonts for CNC in the past BUT they do require some panelbeating to be usefull.
Chosen text is set to designated single line windows font.
Explode the text into lines.
Explode again into line fragments.
Clear selection and then use SelDup and Press Delete - remove the windows ‘closing’ lines which end up being duplicates
Select all the leftover bits and JOIN.
This normally works ok, but it’s also a good idea to run the SelBadObjects command on this text.
If there are some bad lines then just explode and join again to fix.
@sochin, not sure why you cannot use this font. I hope it’s not because of the closed curves that are shown in your picture. If you use TextObject with the allow single line fonts option ticked, you will get something like this:
FeatureCam used to give away a set of single stroke fonts called 'Machine Tool…" they had Sans Serif, Gothic, and a few others. I have these on some hard drive, but they used to be available right off their site. Seems they changed things around and now they are called ‘Delcam’ and there is a little Autodesk logo on the webpage. Anyways, it would be great to add all of the liked to fonts to a wiki page for easy reference: http://wiki.mcneel.com/rhino/engravingfonts. I’m uploading the only one I have installed which is Machine Tool Sans Serif Regular. Again, must be used through the _TextObject command. machtssr-gm.zip (10.2 KB)
I want to say that this is very, very important topic for me.
Hi Rhino team, isn’t it difficult to make Rhino support an old, but still popular usual Windows plotter font format “.FON”? It is the only format from which I can get letter symbols that are necessary for me…
Thanks for the info.
I don’t think its likely that we will support .FON files, at least for general text use, in Rhino.
I’m still interested in what it is that you really want to do and what the workflow is that makes what you’ve described seem like the only way.
Do you need that specific font face because of the shape of the letters?
Would some other font be ok if it had Cyrillic characters?
What is the process you use to plot or engrave from Rhino?
Are .FON files important for some part of the process outside Rhino?
Do you want to use the font for Text, or do you want to end up with Curves?
thank you for your attention and understanding me correctly. Let me answer you…
I need that font face in Rhinoceros because its shape comply with ГОСТ, and maybe because it is the only cyrillic single-sroke font that I could find during about four hours of Google search;
Of coarse, any ISO, DIN, ANSI single-line multilingual fonts would also be a pretty good solution; maybe some day I’ll need a serif single-line font, but not just now;
The process is mostly 2D CNC metal shield work or wood&stone engraving, maybe madCAM can manage it;
For me, .FON files are just a still useful part of some 80’s computer junk that I have lived among for a decade of years - and maybe only such programs still actually need .FON files support in Windows 7, while others do not;
I want to use a single-line font in Rhino basically as Curves, but it would also be nice for me to see it available in an editable condition - as it is made with the “Text Block”, the way like .shx fonts are still used in AutoCAD.
\I’m sorry for the manner I replied you last time, Lowell… It was my inconsideration of the Discourse interface.\
Yes, an option to make TextObject from a good cyrillic single-stroke font would greatly help me, and not me only, in further. There are no actual text-engraving tasks for me just now, but it is very likely that they will come at any time.
Via a Ponoko blog post, I discovered an online font store called One Line Fonts. There is a sample font for download. Included are four different font files. Following the included FAQ, I installed OLFTestFontOC-Regular.ttf for use with Rhino: