Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

New Sketch Function: Hershey Text

DavisCCRDavisCCR OS Professional Posts: 7 ✭✭

Link to Hershey Text

I have seen a few improvement requests related to adding single line fonts for CNC engraving. After some research I found these 31 single line or "Hershey Fonts" available online here, and an explanation on how to decode them. I converted the data into a CSV for FeatureScript to interpret and tried to copy the behavior of skText() as best I could. The skHersheyText() function takes the same inputs aside from an additional "lineSpacing" which is lacking in skText(). I tried to make this a drop in replacement for easy integration with existing custom features.

This tester feature is just that. I am working on a more general Label Feature that will use this but it is not ready yet. I will also be publishing an Engrave Feature soon that will create the geometry a v-groove bit would on this text.

Hope this helps some people cleanly label their parts!

Comments

Sign In or Register to comment.