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.
Thickness Analysis (New Custom Feature!)
MichaelPascoe
Member Posts: 2,935 PRO
Thickness Analysis (New Custom Feature!)
https://cad.onshape.com/documents/thicknessAnalysis With this custom feature, you can easily analyze the thickness of multiple faces. Special thanks to @Jacob_Corder for some performance tips.
This feature is sponsored by CADSharp.com. If your daily modeling is repetitive, consider automating your process with CADSharp to save time. CADSharp specializes in automation by utilizing custom features and API.

Set limits and report errors if they are exceeded:
Tips:- Relevant values are stored as variables in the Variable table on the right side of your screen.
- For large selections, uncheck "Analyze thickness" until you have created your selections.

Import functions to use with your own custom features:
Use these functions in your own custom features by placing the following import at the top of you code.- thicknessAnalysisPascoe() //Analyzes the thickness between two or more surfaces.
- faceGridPascoe() //Splits the selected face into a grid.
- colorGradientPascoe() //Returns a color based on a fractional input.
import(path : "55e98155dca4ba4e8049a18d/264916e1790d6b19b353dda6/c1fcec00ad4e3a44bd7f5a8c", version : "364ad9f0f694974f4028c05c");

How to add a custom feature to your toolbar:
Click this link then follow the steps in the gif below: https://cad.onshape.com/documents/thicknessAnalysis
RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________
Tagged:
15
Comments
-
Very cool!Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc2
-
-
@MichaelPascoeThe color spectrum from the analysis shows a taper or slope, in-line with the serpentine path. Exactly what was modeled
Nice tool. I like it
2 -
Thanks @ilya_baran and @bryan_lagrange!
Thanks @steve_shubin, glad its working! Though I can't take credit for the math behind the colors. The original three color gradient function is derived from luiscla27 at stackoverflow.com/questions/30143082.
RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________1 -
really cool feature, Michael!
1 -
Thanks @Evan_Reese. Feel free to give feedback. I'm sure there are improvements that can be made.
RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________0 -
Update!
- New drop down menu "Analyze" lets you choose which side to analyze. This cuts the regen time in half by defaulting to Side A instead of Both sides.

RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________2 -
correct me if I’m wrongMichaelPascoe said:I can't take credit for the math behind the colors. The original three color gradient function is derived from luiscla27 at stackoverflow.com/questions/30143082.
Ok, so you didn’t come up with the math for the coloring. But you did the other part. And without your effort, I would not have the thickness analysis tool
2 -
While we're talking about color gradients, I'm a big fan of Viridis. It's one of a few gradients which was developed to solve for visually equivalent steps, and being friendly for conversion to black and white, and people with color blindness.
https://bids.github.io/colormap/
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
2 -
@steve_shubin That is correct. Though imagine this tool as a temporary crutch until Onshape releases a built in tool.
@S1mon this is a good point. I have implemented something similar in the latest update:Update!
- Node selection for checking thickness at selected node.
- Color drop down menu: Standard, Blue to Green, and Grayscale.

RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________4 -
Can I inspect complex injection molded parts to verify that no wall thickness falls below the minimum wall thickness due to the draft?
Best regards,
Axel Kollmenter0 -
This was designed for a few faces at a time, not complex parts (depending on your definition of complex). Though this should work for portions of the complex parts.
Do you have an example part you could share?
RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________0 -

Update!
- Improved performance - 2x faster!
- Fixed bug where you could not select nodes if multiple faces were analyzed.
- Changed icon.
- Added CADSharp.com URL. Stay tuned, we have some neat things coming soon related to custom features
RENDERCAD
rendercad.ai - Photorealistic product rendering.
▚▞▚▞▚▞▚▞▚
________________________________________________________________________3






