几何尺寸与公差论坛

 找回密码
 注册
查看: 95|回复: 0

PR 261144 Nominal field in Angle Between dialog seems to be random from migra

[复制链接]
发表于 2009-4-22 16:31:03 | 显示全部楼层 |阅读模式
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>>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 18:29 , Processed in 0.035825 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表