How to set a tolerance range for calculations in Part Studio?
Hi everyone,
In Onshape’s Part Studio, I’d like to control the calculation precision so that values like 1.0001 and 1.001 are treated as 1. This would help prevent minor numerical differences from affecting modeling or calculations.
I considered using FeatureScript to round values manually, but I’m wondering if there’s a better built-in way to define a global tolerance setting or default rounding rules for an entire Part Studio.
Is there a recommended approach for handling this within Onshape? Or would a custom FeatureScript be the best solution?
Thanks in advance for your help!
Answers
-
I agree that this could have value. I would also like to see the same thing for assemblies where the mate precision can be controlled. For complex mechanisms, even a very small angular offset can cause mates to fail. On a product the size of an airplane where parts are also somewhat flexible these rounding differences can cost many hours of work.
0 -
In FeatureScript there is a lot of support for "TolerantEquals" of dimensions or geometric objects.
https://cad.onshape.com/FsDoc/library.html#tolerantEquals-number-numberSimon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
1 -
So it sounds like the potential may be there…at least for Part Studios.
0

