iCAx开思网

标题: 【讨论】【求助】UG二维图标注默认的四舍五入规则? [打印本页]

作者: 夜黑    时间: 2005-1-5 16:51
标题: 【讨论】【求助】UG二维图标注默认的四舍五入规则?
不记得是否有人讨论过没?
工作中遇到了这个问题,向大家求助了
  
比如说真实尺寸10。125  标注精度取为2位时,标注显示为10。12  (尾数是5,未进1)
真实尺寸为10。135时,标注精度仍然取2为,标注显示为10。14  (尾数是5,进1)
并未遵循我们日常的四舍五入原则。
  
据说是什么“偶数”原则,^_^,(我瞎说的,不过他尾数确实是偶数优先)
  
我想请问大家这个规则的控制位置在哪里,我怎么更改为日常的四舍五入原则。
采用这种规则的好处是什么?
  
谢谢
作者: 风里密码    时间: 2005-1-5 17:21
晕……
  
刚刚试了一下,果然啊!
作者: 夜黑    时间: 2005-1-6 11:33
风兄您可要多费点心啊
当然了,其他高手有解决办法最好了。
下面是老外的看法,大家看一下吧,也没有什么答案。
  
Gentlemen,
  
What many of us naturally assume to be a "no brainer" when rounding numbers is apparently not so - and can also be wrong.  Apparently "pure" engineering has different rules for rounding up/down than what we learned growing up and apply in other areas of life.  
  
One of our Company users recently had a dimension of xxx.25 that he wanted to be a one place dimension on the drafting side.  When switching it to a one place, the value went to xxx.2 and NOT to xxx.3 as expected.  After I duplicated the problem on my laptop and contacted GTAC about the issue, they replied to me with the IR (Incident Report) email below.  I'm including the report in its entirity, but have copied and pasted the relevant information to be immediately below and bold.  I was told that there is no toggle for which way the numbers get rounded and the methodology is hard programmed into the UG code this way to be compliant with the appropriate ANSI and ISO engineering standards.  The suggested solutions for rounding xxx.25 to a one place dimension of xxx.3 were to either change the model appropriately or consult with the engineer about these engineering rules and move forward from there based on the design intent of the component in question.
作者: jg一号    时间: 2005-1-6 14:43
其实在零件测绘的时候有一种说法,叫做四舍六入五单双。什么意思呢?前面大家都知道,就说说五单双把,如果小数点取2位,就看第3位。第2位是奇数就入,反之,就舍。
作者: XIAO002    时间: 2009-4-28 08:55
有此等事??




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3