几何尺寸与公差论坛

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

Which role is verify_datum_reference_frame function?

[复制链接]
发表于 2008-4-6 10:55:52 | 显示全部楼层 |阅读模式
Yanhua,

This function is used to make sure that the datums that the user has selected make sense.  Datums are used to control degrees of freedom (translation in X, Y, Z, and rotation about X, Y, Z).  The primary datum controls as many degrees of freedom as the datum feature allows.  The secondary datum controls as many of the remaining degrees of freedom as the datum feature allows.  The tertiary datum controls any remaining degrees of freedom.  For example, it would be illogical to select a plane as primary datum and a second parallel plane as a secondary datum.  There would be no degrees of freedom that the secondary datum could constrain that have not already been constrained by the primary datum.  The verify_datum_reference_frame function will return an error code if an illogical combination of datum features has been selected.



Regards,

Don




From: Yanhua HUANG
Sent: Monday, January 14, 2008 3:57 AM
To: Don Turcotte
Cc: Rick Tischler; Porter Bassett
Subject: Which role is verify_datum_reference_frame function?





Don,

Which role is verify_datum_reference_frame function?

// t:\V44B\DIMENS\FEATCTRLFRMUTIL.CPP

  CPCDdatum_reference tempref(m_pPartProgram, NONE,NULL,DAT_RFS,0,0.0,pPrimary,DAT_RFS,pSecondary,DAT_RFS,pTertiary,DAT_RFS,NULL);

  DRF_STATUS status = tempref.verify_datum_reference_frame();

Yanhua Huang yanhua.huang@hexagonmetrology.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-22 23:35 , Processed in 0.036809 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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