Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
A way to mark or label part faces using split(?) or engrave text into a face with feature script?
Wonder if there is a feature script out there that can take a face I select and using a appropriate font split that face using the text I input? Im finding labeling my parts for a assembly document a bit tedious. Or any thoughts on how to automate this is appreciated. I know you can use the emboss feature script but in the end with hundreds of parts it gets a bit tedious. Make a sketch, draw text, align text on center of face, exit, then command to split or emboss.... I cant help but think there has to be a way to select the face and tell it what you want on it text wise, set the font size and be done with it.
Thoughts?
Thoughts?
Tagged:
1
Comments
Definitely possible. Try something like this:
(Note that I'm using right Shift + Enter to quickly accept and repeat the feature)
https://cad.onshape.com/documents/b1d09c5e0246be7b23c22292/w/6b512e106c2b29ad8439a31d/e/5325bb774e16c44d8255a0df?renderMode=0&uiState=63ca836f1c7ea5718534e80d
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
That looks very nice. Can you add manipulators (in case I want to drag the marking out of the default center position) and / or a way to position the text with dimensions? Maybe give us a way to select the "bottom left" corner of the face - then add dimensions to move the text away from that position?
@romeograham I'll probably turn this one into a full feature in some spare time and also implement your feedback. This would be a good one to have. While Surface text is an excellent custom feature, it is too complicated and not open source.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
LearnOnshape facebook group
Here is that other 10% Text - Custom Feature. Stay tuned for the rest of its functionality
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
This is great. A few things that would be super helpful:
@S1mon
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
3. I'm sure you can figure this out, but @Evan_Reese's Selection Fillet works pretty well at grabbing all the "non-capped" edges and/or capped. It would be nice to have some options here. I was initially thinking just the nominally vertical edges would be good to fillet, but I could see adding options for the letter faces and/or the intersection with the base part. Basically anything which would improve manufacturability (depending on the method) would be nice.
LearnOnshape facebook group
@Ben_ You should be able to press the mate connector button, place the mate and adjust the X and Y.
Also, it is supposed to save your last preset, which would save the split option for future operations. Let me know if this is not working and I'll take a look.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
LearnOnshape facebook group