开启左侧

metrology定位圆时,搜索方向

[复制链接]
chxy10086 发表于 2019-8-4 11:30:49 | 显示全部楼层 |阅读模式
metrology定位圆时,搜索方向(默认是由圆心向圆外方向,是否可以设置为由外向内),谢谢
Princess 发表于 2019-8-4 13:43:10 | 显示全部楼层
检测方向好像换不了,但是可以通过极性旋转点位:
  1. set_metrology_object_param (MetrologyHandle, MetrologyCircleIndices, 'measure_transition', 'negative')
复制代码

或者
  1. set_metrology_object_param (MetrologyHandle, MetrologyCircleIndices, 'measure_transition', 'positive')
复制代码


 楼主| chxy10086 发表于 2019-8-5 20:37:15 | 显示全部楼层
Princess 发表于 2019-8-4 13:43
检测方向好像换不了,但是可以通过极性旋转点位:

或者

谢谢你的回复,我知道检测极限的,就是想了解下可不可以设置检测方向,就像spoke工具那样的,没有也没关系的,至少知道了哈。
eggplant 发表于 2019-8-8 08:54:29 | 显示全部楼层
应该可以通过在add_metrology_object_circle_measure算子中的GenParamName and GenParamValue去设置。
看帮助文档里的'point_order'是这么说的:
The parameter specifies the direction of the circular arc. For the value 'positive', the circular arc is defined between 'start_phi' and 'end_phi' in mathematically positive direction (counterclockwise). For the value 'negative', the circular arc is defined between 'start_phi' and 'end_phi' in mathematically negative direction (clockwise).
阿梅 发表于 2019-9-11 15:02:02 | 显示全部楼层
这个是设置检测起始角度的方向,顺时针还是逆时针,不是由圆心到边缘的或是由边缘到圆心的吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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