Jump to content

Result Element for Degree Decimal


---
 Share

Recommended Posts

My customer would like to see their reports with some dimensions Deg Min Sec (which is my global setting) and others in Deg Decimal. I need some assistance on the formula within the Result Element to have the Characteristic to report Deg Decimal. Formulas are not my strong suit in programming yet.
Link to comment
Share on other sites

Inside the Result Element, set the dimension radio button to "Length" and end your formula with the .asDEG message.
getActual("Projection Angle").actual.asDEG
Link to comment
Share on other sites

deg(getActual("Projection Angle").actual) will also work in the same way as Phillip described.
deg() is in no way better but if you see it somewhere else, this is what it does.
Link to comment
Share on other sites

What's the formula for going back to degrees minutes seconds?

I keep my default at DD, but we have one or two customers that require DMS.
Link to comment
Share on other sites

Please sign in to view this quote.

You can make specific measurement plans use DMS under characteristic settings, instead of the global settings.

But I'm curious if there is a formula as well.
Link to comment
Share on other sites

Please sign in to view this quote.

I'm aware of the settings, I don't like to program in DMS so for the customers that require it, I'd prefer to go the formula route because with my current version of Calypso (6.6), it does not allow individual characteristics to be changed from DD to DMS, only the entire program...
Link to comment
Share on other sites

Result elements kind of sucks in a flexibillity point of view.

Would your customer be satisfied with the results as a comment line? We present some angles on our old legacy parts like this: 114_1028a0f2d92aeb1f9f58824d9a7840d4.jpg
I don't remember exacly how I did it, it was years ago. And I don't have access to that company network right now, but is was somthing along this line:
"	     "+getActual("3d Line1").a2.printAngleInDegMinSec+"			"+getActual().nominal.printAngleInDegMinSec+"			    "+getActual().tolerance.upperTolerance.printAngleInDegMinSec+"		    "+getActual().tolerance.lowerTolerance.printAngleInDegMinSec+"			  "+rad(getActual("3d Line1").a2.asDEG-getNominal().nominal.asDEG).printAngleInDegMinSec
Not very neat, but if it's just a few it's acceptable.
Link to comment
Share on other sites

 Share

×
×
  • Create New...