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.
Best Of
Sharing My Custom Rack Generation Feature
Since I frequently use racks in my designs but couldn’t find a suitable built-in feature in Onshape’s FeatureScript library, I decided to create a custom rack generation tool—inspired by Alex’s Spur Gear script.
This tool lets you choose between Module and DP, and supports a range of parameters including:
Pressure angle
Tooth thickness
Tooth height
Root radius
Tooth chamfer
Helical gearing
Herringbone gearing
If you have any questions or suggestions for new features, feel free to leave a comment below!
Special thanks to Alex’s FeatureScripts Spur Gear for the inspiration—many structural elements from that script were adapted in this project.
FeatureScripts link:
https://cad.onshape.com/documents/9c0c64f14f6c0a8922d0c88e/w/668e7a22a2b41969f33591ee/e/37b645a19f12f3274efcd532
sb_liu
Re: Cannot extrude remove due to "merge scope"

Re: How to use expressions to define a dimension relative to another?
Hi Denwen,
Probably the easiest way to achieve what I think you are trying to do is to use a geomtry contraint to make two reference lines equal. I know my geom is 2d whereas it looks like your sketch maybe on a 3d surface but the approach should work either way.
Hope this helps,
Paddy
Re: New FeatureScript: Plastic Threads
Thank you so much for making this script and responding to my newbie question! I did just finish printing the final version of the female thread and removed the additional .5mm I had added to the diameter and with the custom thread pitch of 3 the fit is PERFECT! Just need to reprint the male side in TPU to absorb impact if the inner tubes are dropped in uncontrolled. This part is for the bottom end of an extendable 33ft fiberglass antenna.
Thanks again!
Doug
Re: Switch from Creo w/manufacutring to OnShape with CAM studio for 3 axis milling
I can't help you with CAM, but I can chime in and say that I started CAD with Release 6 of Pro/E and around 2003 got more into Solidworks, and over the last 5 years or so have transitioned fully to Onshape. As Director of Product at an electric scooter company I switched them from Creo to Onshape. To me, it's been a breath of fresh air to not worry about managing the challenges of a file based PDM system and operating system/hardware compatibility/installation issues, etc. Also never losing work and being able to freely branch/merge/collaborate has been huge.
S1mon
Re: Rounding Measured Values in a Custom Table
for (var key in keys(allVars))
{
var cellValue = allVars[key];
if (match(key, "^rhett_(\\S+)").hasMatch)
cellValue = round(allVars[key], 0.001 * millimeter);
rows = append(rows, tableRow({ "name" : key, "value" : cellValue }));
}





