几何尺寸与公差论坛

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

PR 254008 Composite datum structure

[复制链接]
发表于 2008-5-26 12:03:35 | 显示全部楼层 |阅读模式
<< Jonathan Van Heijzen  --  03/25/08  14:50:37>>
Working in v4.2 MR1, I tried to create a runout dimension to two cylinders on either side of a part.  Each cylinder has a cylindricity callout to itself, as well as a runout callout to a composite datum structure that combines both of the individual cylinders.  In other words there is a datum A and a datum B and these are combined to form datum A-B.  I have done this before with true position and some other GD&T callouts, but it gives me an error when I try to do this with runout.  I tried this in v4.3 and the problem does not seem to have been fixed there.

Steps to reproduce:
Using Xactmeasure style dimensioning, try to implement a runout callout using multiple datums (A-B)

Results:
see the attached file called datum.doc for a screenshot of the error

Expected Results:
ability to use multiple datums to dimension runout
<<END>>
 楼主| 发表于 2008-5-26 12:04:09 | 显示全部楼层

回复: PR 254008 Composite datum structure

<< Don Turcotte  --  04/04/08  14:22:39>>
I have fixed this in V43B and V44B.  I have attached a test program in "254008.7z".

Files inserted to server
------------------------
V43B\DIMENS\DATDEF.CPP
V43B\DIMENS\DIM_RUNO.CPP
V43B\DIMENS\FEATCTRLFRM.CPP
V43B\DIMENS\FEATCTRLFRMUTIL.CPP
V43B\INCLUDE\FEATCTRLFRMUTIL.H

V44B\DIMENS\DATDEF.CPP
V44B\DIMENS\DIM_RUNO.CPP
V44B\DIMENS\FEATCTRLFRM.CPP
V44B\DIMENS\FEATCTRLFRMUTIL.CPP
V44B\INCLUDE\FEATCTRLFRMUTIL.H
<<END>>
 楼主| 发表于 2008-5-26 14:28:14 | 显示全部楼层

回复: PR 254008 Composite datum structure

V43B\DIMENS\FEATCTRLFRMUTIL.CPP
// PR254008
BOOL IsCoaxialCompoundDatum(CPCDpart_program *m_pPartProgram,CPCDcommand * pDatum)
{
BOOL isCoaxial = FALSE;
if( pDatum->type() == CONST_SET )
{
CPCDdatum_reference * pDrf = new CPCDdatum_reference(m_pPartProgram);
if( pDrf )
{
CPCDcons_set * pSet = dynamic_cast<CPCDcons_set *>(pDatum);
if( pSet )
{
if( pDrf->GetPatternType(pSet) == DAT_COAXIAL )
isCoaxial = TRUE;
}
}
delete pDrf;
}
return isCoaxial;
}
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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