Jump to content

Decimal Based Tolerancing


---
 Share

Recommended Posts

---

Is there a way to run a .xml that can read the number of decimal places in the nominal and give the tolerance based off that value?  

Example conditions below:

  • 3 place decimals: +/-.005
  • 2 place decimals: +/-.01
  • Angles: +/- 1.0
  • Like! 1
Link to comment
Share on other sites

Is there a way to do this through a .xml or .tol file though?  I do not have a PCM license, and my production floor cannot run PCM.

Link to comment
Share on other sites

Through tolerance selection it's not possible. You are defining only range of nominal and it will give you the tolerance, it's not reading how many decimals there are.

Only PCM or a parser of "inspection" file and do changes outside Calypso.

Link to comment
Share on other sites

Please sign in to view this quote.

You may be able to do this with basic PCM code.

If you have access to the PCM Presetting's, you can add code.

In my example I placed information that does nothing so I can edit on seats that do not have a PCM license and no access to Presetting's.

Then I edit the "inspset" file.

Search for my code words "This is your PCM Code"

I can then edit the roughly 50 lines I added as needed with PCM.

I have not delved into the exact code, but you would basically have to establish variables for your tolerances.

example:

(You may have to declare your variables)

Dec2plcs=0.010

Dec3plcs=0.005

Dec4plcs=0.001

Degang=1

Then in the characteristic.

Upper Tol. use Formula and add "Dec2plcs"

Lower Tol. use Formula with a negative sign "-Dec2plcs"

And so on for three places, four places and Angles.

I can now use this file on a non-licensed PCM seat. (The injected Code needs to be injected within a licensed PCM seat).

Where to add PCM code in the file when you have no PCM License, Presetting I am not sure.

Ignore the dmesn line, I was testing something and should have removed it.

 

 

PCM PreSettings.jpg

inspset file.jpg

Screenshot 2026-07-23 130726.jpg

inspeset file edited.jpg

Edited
Link to comment
Share on other sites

Please sign in to view this quote.

Please sign in to view this username.

 I am confused. Are you asking if you can use an XML file to automatically adjust the tolerance of a characteristic inside Calypso? 

Link to comment
Share on other sites

 Share

×
×
  • Create New...