CNC friendly numbers in Rhino


 posted by Chris Chalmers, Fabripod 


I have updated the script in this post to automatically replace any two digit text objects in a rhino file with custom blocks (two digits for numbers up to 99). Simply copy the blocks in the example file (numbers-function.rvb) into yours and run the script. If your digits are too far away from each other or overlapping, adjust the “dblKern” variable in the script. 
here are the updated files:
(remember to right-click and save-as)
Modify the blocks using the in-place block editorfrom rhino-Labs. Let me know what you make with this I’d love to see it!

Single-line fonts are the standard for laser cutting and CNC milling because they are more eficient to cut. Somebody correct me if I’m missing something here, but  it seems impossible to get a single-line font to appear in Rhino using the typical text tools. I’ve been doing quite a bit of CNC milling lately, so I used this technique to create single-line labels for my cut files by using pre-defined blocks instead of text.

ScreenHunter_03 Jul. 16 23.16
ScreenHunter_01 Jul. 16 23.10

The script is set up as a function so you can incorporate it into your scripts easily. To use it, you have to first import the rhino file with the text blocks into your file.  Then run the script and it will simply turn the text you want to use into the appropriate block and place it.

The beauty of this system is that you can make your own custom fonts! Just draw any shapes you want to represent your letters and numbers. Make them into blocks with the appropriate names (letterA, number 2 etc..), and the script will place them instead. Make sure they are 1 unit high in the current unit system (ie: 1 foot, 1 inch, 1 meter etc..)  for the sizing bit to work properly.

I’ve always thought that a system based on geometry like latin numerals or braile might  wok better than text for labeling parts. I’d love to see your experiments, please send them to me!

(remember to right-click and save-as)




6 thoughts on “CNC friendly numbers in Rhino

  1. Pingback: Single-line fonts in Rhino | Rhinoceros

    • Cool, thanks! Seems like I’ve been looking for a real single line font forever. Some parts of the letters (ie: the curve of the little n) are coming in as closed curves. Any Idea how to get around that?

  2. Pingback:   Latest CNC news – Antibiotics for the Common Cold? by CNC – Computerized Cutting

  3. Pingback: o---FANCYWIRES--{>}

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s