几何尺寸与公差论坛

 找回密码
 注册
查看: 263|回复: 2

PR 254782 minus tol on slot width in FCF true position gets reset to -.1 afte

[复制链接]
发表于 2008-5-26 10:47:31 | 显示全部楼层 |阅读模式
minus tol on slot width in FCF true position gets reset to -.1 after execution of program
<< Don Turcotte  --  05/05/08  11:06:25>>
Minus tol on slot width is 0.25 in FCF true position, but after execution of program the minus tol on slot width has reset to -0.1 so bonus calculation is wrong.
Steps to reproduce:
Load attached program
Display report and note that +/- tol on WF (slot width) is 0.25
Execute program offline or with simulator.
Results:
The minus tol on WF (slot width) is now -0.1 for all the true position FCF's so the width bonus calculation is wrong.
Expected Results:
Executing program should not change size tolerances in FCF's
<<END>>
 楼主| 发表于 2008-5-26 10:47:54 | 显示全部楼层

回复: PR 254782 minus tol on slot width in FCF true position gets reset to -.

<< Don Turcotte  --  05/06/08  17:09:59>>
I have uploaded my changes to FeatCtrlFrm.cpp so that the line1 size tols are not displayed in the edit window for tp on slots since this is controlled by the LF and WF axes (I have removed this for both command and summary modes).   In addition, I have modified read_text(...) so that a call with DTYPE F_PLUS_TOL or F_MINUS_TOL does nothing in the case of a slot.  Fixed in V43R, V43B, V44B.

I have not yet resolved the issue with the expression evaluator interpreting -.1 as an expression.

Files inserted to server
------------------------
V43B\DIMENS\FEATCTRLFRM.CPP
V43R\DIMENS\FEATCTRLFRM.CPP
V44B\DIMENS\FEATCTRLFRM.CPP

<<END>>
 楼主| 发表于 2008-5-26 11:11:40 | 显示全部楼层

回复: PR 254782 minus tol on slot width in FCF true position gets reset to -.

1.
T:\V44B\DIMENS\FEATCTRLFRM.CPP(9089): if( CanUseLine1() ) // PR254782
CPCDcommand * CPCDFeatCtrlFrm::read_text(CString text,
D_TYPES:_TYPE dtype,
long typeindex)
2.
T:\V44B\DIMENS\FEATCTRLFRM.CPP(9113): if (axis_data.DimType() == DIMENSION_TRUE_DF_LOCATION /*|| axis_data.DimType() == DIMENSION_TRUE_WF_LOCATION*/) // PR254782
3.
T:\V44B\DIMENS\FEATCTRLFRM.CPP(9140): if( CanUseLine1() ) // PR254782
4.
T:\V44B\DIMENS\FEATCTRLFRM.CPP(9164): if (axis_data.DimType() == DIMENSION_TRUE_DF_LOCATION /*|| axis_data.DimType() == DIMENSION_TRUE_WF_LOCATION*/) // PR254782
5.
T:\V44B\DIMENS\FEATCTRLFRM.CPP(19613): ret = CanUseLine1(); // PR254782
BOOL CPCDFeatCtrlFrm::CanHaveSizeTolerance(void)
{
BOOL ret = FALSE;
CPCDcommand *p;
for(int i=0; i<m_InternalCmdsArray2.GetSize(); i++)
{
p = m_InternalCmdsArray2.GetAt(i);
if(p && (p->is_dim_start_trueposition() || p->is_dim_perpendicularity() || p->is_dim_parallelism()))
{
ret = CanUseLine1(); // PR254782
break;
}
}
return ret;
}
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 00:05 , Processed in 0.036975 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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