几何尺寸与公差论坛

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

Review - PR 258057 Is parallelism projection length in MM when reporting in I

[复制链接]
发表于 2009-2-24 15:17:07 | 显示全部楼层 |阅读模式
<< Phil Leather  --  11/06/08  15:27:29>>
If i have a metric program and report Parallelism, or Angularity, in inches Is the projected length still in MM
In the past i have reported in Inches, and i think the projected length in MM.
in the parallelism dialog box if i have MM selected and fill in the Tolerance and Projected length. If i then change to Inches the tolerance gets re-calculated to inches as i would expect, but also the projexted length gets re-calculated.
If the projected length is actually in MM in a MM program, why does it get re-calculated when switched to inches in the dialog?
Can you please confirm if the projected length is in MM if i report inches in a metric program.

I have attached 2 screen shots showing the conversion.
<<END>>

<< Changes made by Don Turcotte -- 02/09/09  13:36:55>>
Action:  Don Turcotte to David Petrizze, Status:  OPEN to REVIEW
<<END>>
<< Don Turcotte  --  02/09/09  13:33:49>>
I fixed angularity so it works the same as parallelism and perpendicularity.  The original fix in #233139 had overlooked angularity.  Fixed in V44B.
Files inserted to server
------------------------
V44B\DIMENS\DIM_ANGU.CPP
V44B\MENU\DIMANGUL.CPP
<<END>>
<< Phil Leather  --  12/18/08  15:49:42>>
See attached program which gives the following results
In a METRIC program i need to report INCHES, this is supposed to be fixed yet still needs EXTENDLENGTH in METRIC for Angularity.


$$ NO,*********************************************************************************************************
     ,        Parallelism appears to be working, EXTENDLENGTH in MM give correct answer in MM
     ,               In Inches EXTENDLENGTH in inches gives correct result in Inches
     ,********************************************************************************************************
DIM PARL1= PARALLELISM OF LINE MEAS_LINE,RFS TO LINE LINE_X,RFS EXTENDLENGTH=40.000  UNITS=MM ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
M       0.000      0.010      0.000      1.998      1.998      1.988 -------->
DIM PARL2= PARALLELISM OF LINE MEAS_LINE,RFS TO LINE LINE_X,RFS EXTENDLENGTH=1.575  UNITS=IN ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
M       0.000      0.000      0.000      0.079      0.079      0.079 -------->
$$ NO,*********************************************************************************************************
     ,        PERPENDICULARITY appears to be working, EXTENDLENGTH in MM give correct answer in MM
     ,               In Inches EXTENDLENGTH in inches gives correct result in Inches
     ,********************************************************************************************************
DIM PERP1= PERPENDICULARITY OF LINE MEAS_LINE,RFS TO LINE LINE_Y,RFS EXTENDLENGTH=40.000  UNITS=MM ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
M       0.000      0.000      0.000      1.998      1.998      1.998 -------->
DIM PERP2= PERPENDICULARITY OF LINE MEAS_LINE,RFS TO LINE LINE_Y,RFS EXTENDLENGTH=1.575  UNITS=IN ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
M       0.000      0.000      0.000      0.079      0.079      0.079 -------->
$$ NO,**********************************************************************************************************
     ,Angularity is correct in METRIC,  in Inches to get the correct answer i have to have extendlength in METRIC
DIM ANGLRTY1= ANGULARITY FROM LINE MEAS_LINE TO LINE F4 EXTENDLENGTH=40.000 ANG=17.000  UNITS=MM ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
M       0.000      0.000      0.000      1.998      1.998      1.998 -------->
DIM ANGLRTY2= ANGULARITY FROM LINE MEAS_LINE TO LINE F4 EXTENDLENGTH=40.000 ANG=17.000  UNITS=IN ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
M       0.000      0.000      0.000      0.079      0.079      0.079 -------->
<<END>>
<< Changes made by Phil Leather -- 12/18/08  15:49:45>>
Status:  RESOLVED to OPEN
<<END>>
<< Phil Leather  --  11/18/08  16:04:48>>
Am i then to assume that any program created in V3.7, if the program is in metric and reporting in inches, i will have to manually reset the projection length for all parallelism/perpendicularity etc, to be in inches, as at the moment they are in metric?
<<END>>
<< Changes made by Phil Leather -- 11/18/08  16:04:49>>
Action:  Phil Leather to Don Turcotte
<<END>>
<< Don Turcotte  --  11/12/08  15:24:11>>
This was fixed by PR#233139 such that if the dimension is in inches, then all values are taken to be in inches including the tolerance and the projection distance regardless of whether the overall program is also in inches.  This applies to all the orientation dimensions (parallelism, perpendicularity, angularity) as well as coaxiality and true position.  If the dimension is in MM, then all values are taken to be in MM.  This rule applies to both legacy and FCF dimensions.
This fix started in the first V40 release version.  The fix was not included in any V37 release version so if you have a program from V37 or earlier it was possible to have a metric program, but report parallelism or angularity in inches in which case the projection distance was still metric.
<<END>>
<< Changes made by Don Turcotte -- 11/12/08  15:25:18>>
Action:  Don Turcotte to Phil Leather, Status:  OPEN to RESOLVED
<<END>>
<< Changes made by Tim Wernicke -- 11/06/08  09:35:10>>
Action:  Tim Wernicke to Don Turcotte, Assigned:   to Don Turcotte, Priority:  to Critical
<<END>>
 楼主| 发表于 2009-2-24 15:19:55 | 显示全部楼层

回复: Review - PR 258057 Is parallelism projection length in MM when reportin

T:\V44B\DIMENS\DIM_ANGU.CPP(749): swprintf_s (global_str, ID_LTRS, _T("%.*f"), (DECIMALS), m_extend_length*GetDimUnitsConversion(m_pPartProgram, bit(DIMENSION_UNITS), type())); // PR258057

T:\V44B\DIMENS\DIM_ANGU.CPP(1181): return new D_TYPES:_TYPEDouble(m_extend_length*GetDimUnitsConversion(m_pPartProgram, bit(DIMENSION_UNITS), type()), DECIMALS); // PR258057

T:\V44B\DIMENS\DIM_ANGU.CPP(1414): m_extend_length = m_extend_length / GetDimUnitsConversion(m_pPartProgram, bit(DIMENSION_UNITS), type()); // PR258057

T:\V44B\DIMENS\DIM_ANGU.CPP(2210): dlg->m_extend_length = dblstr(m_pPartProgram, m_extend_length*GetDimUnitsConversion(m_pPartProgram, bit(DIMENSION_UNITS), type())); // PR258057

T:\V44B\DIMENS\DIM_ANGU.CPP(2259): // PR258057

T:\V44B\DIMENS\DIM_ANGU.CPP(2373): p1->m_extend_length = _ttof(dlg->m_extend_length)/GetDimUnitsConversion(m_pPartProgram, p1->bit(DIMENSION_UNITS), type()); // PR258057

T:\V44B\MENU\DIMANGUL.CPP(144): // PR258057

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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