你有没有考虑钻孔输出R的情况下,因为R为非模态,每个钻孔坐标都会输出R数值。我在用一台老的大偎系统,圆 ...
要新建一个R属性,不然就会你说的那样 感谢分享
直接做条件输出,也不会过切{:lol:}
IJK的条件输出
# This custom command should return
# 1 : Output BLOCK
# 0 : No output
global mom_logname
global mom_arc_angle
global mom_pos_arc_center
global mom_prev_pos
global mi
global mj
global mk
if { $mom_arc_angle > 180.0 } {
return 1
MOM_force once I J X Y
}
return 0
R的条件输出
# This custom command should return
# 1 : Output BLOCK
# 0 : No output
global mom_logname
global mom_arc_angle
if { $mom_arc_angle <= 180.0 } {
return 1
MOM_force once R X Y
}
return 0
雁南一撇 发表于 2022-8-16 10:19
要新建一个R属性,不然就会你说的那样
怎么新建,我一直在纠结这个问题,想用R钻孔会输出多余的R数值,无奈选择IJK方式 这个我早就做过,我记得好像哪里会出点小问题,一直没用,现在功能都还在, 厉害,厉害,谢谢分享,还不错
页:
1
[2]