几何尺寸与公差论坛

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

PR 249040 Profiles are reporting in original alignment and not the alignment

[复制链接]
发表于 2009-5-20 18:54:58 | 显示全部楼层 |阅读模式
Profiles are reporting in original alignment and not the alignment created from the results of the simultaneous evaluation

<< David Petrizze  --  07/06/07  11:50:53>>
Profiles are reporting in original alignment and not the alignment created from the results of the simultaneous evaluation

Results:
From Chad:
In the program, jump to “LAT_SAG” or “MED_SAG”. This is the portion of the program that contains what we discussed.

Also, look at the variables being assigned from the simultaneous evaluation. I have turned the rotation off via your supplied variable, yet the “ADEV” variable is being assigned a value other than zero. Give me a call if you need anything.
<<END>>

<< Changes made by Yanhua Huang (Field Changes) -- 05/19/09  16:22:28>>
Action:  Wade Burton to Yanhua Huang
<<END>>
<< Changes made by Neil Kay -- 07/23/08  12:00:30>>
Action:  David Petrizze to Wade Burton
<<END>>
<< Don Turcotte  --  07/09/07  15:49:52>>
I have resolved the issue with OPTIMIZETRANSONLY=1 but the ADEV variable is being assigned a value other than zero.  The call to CheckStringForExpression was not seeing the ASSIGN so the fit was being evaluated without rotations being constrained.  This is now fixed in V42beta and V43B.
Files inserted to server
------------------------
V42\ALIGNMNT\BF2D_ALI.CPP
V42\DIMENS\DIM_PROF.CPP
V42\DIMENS\FEATCTRLFRM.CPP
V42\DIMENS\SIMULTANEOUS_EVALUATION.CPP
V42\INCLUDE\BF2D_ALI.H
V42\INCLUDE\DIM_PROF.H
V43B\ALIGNMNT\BF2D_ALI.CPP
V43B\DIMENS\DIM_PROF.CPP
V43B\DIMENS\FEATCTRLFRM.CPP
V43B\DIMENS\SIMULTANEOUS_EVALUATION.CPP
V43B\INCLUDE\BF2D_ALI.H
V43B\INCLUDE\DIM_PROF.H
<<END>>
<< Changes made by Don Turcotte -- 07/09/07  15:50:11>>
Action:  Don Turcotte to David Petrizze, Status:  OPEN to REVIEW
<<END>>
<< Don Turcotte  --  07/06/07  17:27:17>>
The issue with the alignment that uses the Simultaneous XDEV, YDEV, not affecting the profile results is that the alignment cad2parts and machine2parts are both modified by the alignment translation, so this has no net effect on the legacy profile formandlocation.   If you create a generic point with nominal value 0,0,0 and measured value XDEV, YDEV, ZDEV (from the simultaneous evaluation), then create a new alignment and translate to this point, the legacy profile dimension formandlocation will now show a difference.
The issue with the ADEV not being 0 seems to be a sequencing problem.  When the program is loaded, the simultaneous evalution does not de-serialize the angle value.  This is done when do_math is finally called, but do_math is not called until create_text(...) is called on the simultaneous evaluation command.  At this point the current command is the last command in the program (not the simultaneous evaluation command) so the call to CheckStringForExpression to find OPTIMIZETRANSONLY fails.  
<<END>>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-22 18:10 , Processed in 0.036003 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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