|
Nominal field in Angle Between dialog seems to be random from migrated part programs...
<< Tim Wernicke -- 04/14/09 11:36:27>>
Nominal field in Angle Between dialog seems to be random from migrated part programs.
Steps to reproduce:
Open the attached part program and note the dimension on line 484. It has a Nominal and Measured value of approximately 5.0°. If you F9 the command it shows a value of -13.9343.
<<END>>
<< Changes made by Don Turcotte (Field Changes) -- 04/15/09 08:56:05>>
Action: Don Turcotte to Yanhua Huang, Status: OPEN to REVIEW
<<END>>
<< Don Turcotte (Change Sets) -- 04/15/09 08:56:03>>
Files inserted to server
------------------------
V432\DIMENS\DIM_2D_A.CPP
V432\INCLUDE\DIM_2D_A.H
V44B\DIMENS\DIM_2D_A.CPP
V44B\INCLUDE\DIM_2D_A.H
<<END>>
<< Changes made by Don Turcotte (Resolution Data) -- 04/15/09 08:55:40>>
** Bug Fix - Likely Exists in Previous Versions - - - **
<<END>>
<< Don Turcotte (Development Notes) -- 04/15/09 08:55:08>>
I have fixed the two problems noted below in V432 and V44B. I have also tested with #259768.
Files inserted to server
------------------------
V432\DIMENS\DIM_2D_A.CPP
V432\INCLUDE\DIM_2D_A.H
V44B\DIMENS\DIM_2D_A.CPP
V44B\INCLUDE\DIM_2D_A.H
<<END>>
<< Don Turcotte (Development Notes) -- 04/14/09 17:18:14>>
Two problems here:
1. Earlier versions of PC-DMIS don't have the flag that says the user changed the nominal angle. I have added code to be smarter about determining this so the dialog will initialize with the user entered nominal regardless of the version the program was created in.
2. When you click Create after F9, PC-DMIS tries to determine which quadrant you want the measured angle reported in based on the nominal angle and nominal vectors. In the program attached to this PR, the nominal vectors and measured vectors are in different quandrants so I added additional logic to determine the quadrant based on the measured vectors in order to get a measured angle that is near the nominal angle (in the same quadrant as the nominal).
Still testing changes (must also test against other PRs against 2D angle).
<<END>> |
|