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.
FeatureScript for removing threads from imported parts?
dean_brettle Member Posts: 10 EDU
Is there an existing FS that can be used to remove threads from imported parts like bolts/screws and nuts to improve performance? Or has someone attempted this in the past and not succeeded?
Here's a comparison of the custom feature vs delete face. I've abandoned development of the feature in favor of just using delete face.
P.S. Sorry for the late reply. The notification email went to Spam...
Here's the code, but the challenge is designing good query strategies that will always find the correct faces to delete and nothing extra. The method i'm using here really only works for this one kind of screw, but would fail with an internal thread, tri-lobed thread-forming screw, wood screw, and probably many other situations where you'd want it to work. I could imagine the feature would become quite long to cover all of these cases, and would likely still be buggy-feeling.