QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

全站
12小时前
查看: 1355|回复: 3
收起左侧

[求助] mastercam数控车后处理问题

[复制链接]
发表于 2019-12-8 13:42:50 | 显示全部楼层 |阅读模式 来自: 中国河北

马上注册,结识高手,享用更多资源,轻松玩转三维网社区。

您需要 登录 才可以下载或查看,没有帐号?注册

x
请教大神们,车床后处理怎么样修改,能把G2或者G3改成非模态格式的,也就是说G02 X100.Z50.R2.  后面再跟一条不把G02给省略掉,万分感谢诸位大神们的解答!!!
发表于 2019-12-8 22:50:36 | 显示全部楼层 来自: 中国吉林
以默认MPLFAN为例,搜索 , w$ d# Y- c) J/ y* i
psgcode         #Output the Gcode based on the current plane
0 n6 N. w: y; ?找到代码: J) C# `8 Q0 z: Q* \
psgcode         #Output the Gcode based on the current plane# _' {2 @* n! i3 u* l
      if c_ax_flp,
0 \4 `% Q3 X; J0 c, y, c! j        [
5 Y, H6 z) {" m9 z) Z: v        #Reverse arc direction for c_axis flip/ |0 U2 E2 @+ Y6 [4 Q$ H1 z2 |; ]
        if gcode$ = two | gcode$ = three,2 ^* \6 u+ t" g6 R
          [
8 i7 m* _: i5 o2 z          sav_gcode = gcode$
1 V- k3 j) S; g* {          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02! \! f, a  {3 {3 B$ f
          ]  m, z! D/ B4 k% G( s( w
        ]
' N# I+ y6 H: S) h# H# |! x& z          if plane$ = zero, `sgcode: a0 k5 ~7 z( c
      if plane$ = one, `sgcode1; c6 y  [* a2 ]2 c' Y% q5 R& C
      if plane$ = two, `sgcode2
3 `/ j" \; y& ^! u! g      if c_ax_flp, gcode$ = sav_gcode
( |. t& }* E+ k
# X8 M$ J9 l5 o% r* O$ @加点作料改为9 [& n+ d/ J. u" d: @; M" \# y
psgcode         #Output the Gcode based on the current plane  d: T9 Q. S% o! m2 x$ y, G* d2 N
      if c_ax_flp,
; E( v  s' e" L9 @9 w- H! ^' U        [
- ~( x! y: F- k! G5 L" m        #Reverse arc direction for c_axis flip% J6 z# G! I3 O: r3 x
        if gcode$ = two | gcode$ = three,
3 N( |0 b+ Y$ Y& u% T4 E9 D$ t) e, f          [) ~. t; U* X* v. y4 ^
          sav_gcode = gcode$2 y, e# z7 z# y$ ~( ]
          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02
: W7 V7 L  a3 h; t          ]
5 o# Y7 T4 l6 Q! e7 l3 X        ]
5 n& ~3 T$ D/ ^; K5 A: j: }      if gcode$ = 2 | gcode$ = 3, result = force(gcode$)2 m; c) a# r# ~7 k
          if plane$ = zero, `sgcode
4 |) ~8 e4 s2 V0 p      if plane$ = one, `sgcode13 y$ _7 y- S3 W
      if plane$ = two, `sgcode2
6 C7 c+ c) d1 L! c2 t      if c_ax_flp, gcode$ = sav_gcode4 R1 e: s' }/ ~
保存 完事
发表于 2019-12-8 23:29:11 | 显示全部楼层 来自: 中国广东深圳
学习大佬
发表于 2019-12-8 23:30:40 | 显示全部楼层 来自: 中国广东深圳
路过不买 发表于 2019-12-8 22:50: g) H2 C0 `1 v# F" y/ U
以默认MPLFAN为例,搜索 ; e- i8 ^+ j: S: b0 y' ^
psgcode         #Output the Gcode based on the current plane* z; ]8 M( T, i3 ^' w; y/ [. A
找到代码
5 y  M9 X6 [" U" Z5 R: c8 ^
表哥:那可以问下后处理添加强制备刀,不需要开启预备刀怎么改
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Licensed Copyright © 2016-2020 http://www.3dportal.cn/ All Rights Reserved 京 ICP备13008828号

小黑屋|手机版|Archiver|三维网 ( 京ICP备2023026364号-1 )

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