Then run the script and it will simply turn the text you want to use into the appropriate block and place it. To use it, you have to first import the rhino file with the text blocks into your file. The script is set up as a function so you can incorporate it into your scripts easily. 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. 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. Single-line fonts are the standard for laser cutting and CNC milling because they are more eficient to cut. here are the updated files: numbers.3dm numbers-function.rvb (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! -Chris If your digits are too far away from each other or overlapping, adjust the “dblKern” variable in the script. Simply copy the blocks in the example file (numbers-function.rvb) into yours and run the script. Posted by Chris Chalmers, Fabripod UPDATE: 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).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |