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.
New FeatureScript: Cosmetic Threads
sebastian_glanzner
Member, Developers Posts: 422 PRO
Hello Everyone,
I'm releasing my first FeatureScript!
Now you can create Cosmetic Threads in Part Studios:
These threads are two helix edges which were created with sweep and split commands.
Features:
Only works with cylinders and cones!
The ends of the selected surfaces have to be circles!
Here is the link:
https://cad.onshape.com/documents/60de6d7733c1f01904ca5910/w/65586bb1bf8227901a34fb9d/e/521b1025fcc83d6e45004d7c
I'm releasing my first FeatureScript!
Now you can create Cosmetic Threads in Part Studios:
These threads are two helix edges which were created with sweep and split commands.
Features:
- Specify the pitch and the direction of the thread!
- Shows in Part-Studios, Assembly and Drawing Tab!
- Much faster than a real 3D thread!
- You can set a custom name for the thread (for example: "M12x1.75 - 6g")
- Change pitch, direction and thread name with configurations!
Only works with cylinders and cones!
The ends of the selected surfaces have to be circles!
Here is the link:
https://cad.onshape.com/documents/60de6d7733c1f01904ca5910/w/65586bb1bf8227901a34fb9d/e/521b1025fcc83d6e45004d7c
Tagged:
10
Comments
HWM-Water Ltd
Twitter: @onshapetricks & @babart1977
Nice!
IR for AS/NZS 1100
Thanks, I hope you like it!
The trick is to use two helix surfaces to cut the cylinder:
I have not used the code you created, but I used the idea of the two helix to split the face.
Here is a video where you can see how it works and possibly get some ideas.
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
I'm glad I could help with the idea of using two helix surfaces Nice improvements!
How do you set attributes in FeatureScript is there an easy example?
Does that mean that you can use the Hole Callout command in drawings?
You can take a look in the std document at the Hole feature hole.fs and the holeAttribute.fs https://cad.onshape.com/documents/12312312345abcabcabcdeff/w/a855e4161c814f2e9ab3698a/e/5fcf48cb66a061fc3b60a0a3
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
Thank you
We can not share that FeatureScript. Many of our FeatureScripts and libraries are exclusive to our Onshape customers.
I just can share that video so you can see how it works and possibly get some ideas, and give some feedback of a few improvements you can add to the original FS (or a new one, as I mentioned before I have not used the code of the Sebastian FS)
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
I also made a tool for external threads and the option to switch between 2D and 3D threads:
https://forum.onshape.com/discussion/16744/new-featurescript-external-thread-2d-3d