几何尺寸与公差论坛

 找回密码
 注册
查看: 102|回复: 1

PR 243249 True Position dimension with Plane as secondary datum shifts the re

[复制链接]
发表于 2009-1-5 20:29:23 | 显示全部楼层 |阅读模式
True Position dimension with Plane as secondary datum shifts the result by the probe radius
<< David Petrizze  --  09/19/06  14:02:31>>
True Position dimension with Plane as secondary datum shifts the result by the plane's nominal location.
Steps to reproduce:
open the attached part program and look at the X location of the TP dimension.  It is way off
Expected Results:
Location should be correct.
<<END>>

<< Changes made by Neil Kay -- 12/12/08  09:23:44>>
Action:  Woody Anderson to Yanhua Huang, Assigned:  David Petrizze to CMM Group
<<END>>
<< Changes made by Neil Kay -- 07/22/08  19:47:34>>
Action:  David Petrizze to Woody Anderson
<<END>>
<< David Petrizze  --  09/19/06  15:08:40>>
Fixed.  See also 242422
for review: *uploaded 9/15 (before the creation of V42R)
\V41B\CONSFEAT\BEST_PLA.CPP
*\V42\CONSFEAT\BEST_PLA.CPP
*\V43B\CONSFEAT\BEST_PLA.CPP
<<END>>
<< Changes made by David Petrizze -- 09/19/06  15:08:55>>
Status:  OPEN to REVIEW
<<END>>
 楼主| 发表于 2009-1-5 20:33:44 | 显示全部楼层

回复: PR 243249 True Position dimension with Plane as secondary datum shifts

else
    {
      //I get the last fet's meas vector. Any fet can be however used.
      temp_vec = GETXYZ(input_vectors, num_inputs - 1);
    }

    //If the dot of the hit vector obained above & best fit vector is negative, the vectors are pointing
    //in the opposite directions.So reverse directions.
    if (dot(temp_vec, vector) < 0.0)
      for (i = 0; i < 3; i++)
        vector = - vector;

    //The vector points away from part. So when compensating we need to go the opposite direction.
    for (i = 0; i < 3; i++)
      centroid -= m_probeRad[0] * vector;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 06:02 , Processed in 0.037459 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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