QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

查看: 1319|回复: 3
收起左侧

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

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

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

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

x
请教大神们,车床后处理怎么样修改,能把G2或者G3改成非模态格式的,也就是说G02 X100.Z50.R2.  后面再跟一条不把G02给省略掉,万分感谢诸位大神们的解答!!!
发表于 2019-12-8 22:50:36 | 显示全部楼层 来自: 中国吉林
以默认MPLFAN为例,搜索
4 q) C  n: j( T. s# Apsgcode         #Output the Gcode based on the current plane: Q" h) d( @- H, s  T4 G) e
找到代码
1 {' h+ B3 r3 u  mpsgcode         #Output the Gcode based on the current plane
0 I- N! v9 ?& s& P      if c_ax_flp,
6 E3 k5 n7 D/ Q8 j4 b: p7 ?        [
: F  f7 o4 n) D- t% i( F  f1 b        #Reverse arc direction for c_axis flip- r8 z, h$ g0 L/ |: R
        if gcode$ = two | gcode$ = three,
/ ]5 \) Z% m" P          [
3 B: H: F9 M( ~6 r          sav_gcode = gcode$
% h% f: t, R6 c, @. D- e5 U$ T- Q          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02
" n% M6 C1 G2 j! d! G          ]7 m3 K  B& z) z2 N
        ]9 n, s) R- M: \
          if plane$ = zero, `sgcode
, ~( O- U8 p8 o; E1 ]' W, c      if plane$ = one, `sgcode1
: t6 p# c# U6 x- j      if plane$ = two, `sgcode2
& Q2 b/ e: c3 M' H3 ^" j) }8 D      if c_ax_flp, gcode$ = sav_gcode
. X$ L% O. L3 y5 ]; g; ^! ]' z+ T) p: |* a! e% E
加点作料改为
; K! w- m$ P3 Spsgcode         #Output the Gcode based on the current plane! D* E3 a" `3 c
      if c_ax_flp,& H0 {7 t9 \' b' _0 o1 R7 l
        [
' }  B% R: n8 ~        #Reverse arc direction for c_axis flip" }( I; M7 N% _, J
        if gcode$ = two | gcode$ = three,6 t1 _: \6 u; {5 o, S8 E4 h
          [) k/ }, z' e( t$ N
          sav_gcode = gcode$0 g8 \% E# c* N. m3 R" j
          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02! |% C6 J4 f7 f, g$ X
          ]( t) a4 j8 q) t
        ]; I7 D+ ]) U0 A1 U
      if gcode$ = 2 | gcode$ = 3, result = force(gcode$)
! M5 s/ y8 b4 Q  g          if plane$ = zero, `sgcode% o/ S5 N9 P% K* @
      if plane$ = one, `sgcode1
" R( O" R/ `4 |8 P8 c      if plane$ = two, `sgcode29 J' \9 B( `5 \
      if c_ax_flp, gcode$ = sav_gcode, c9 x2 P# S0 [" K9 L% k1 F8 F
保存 完事
发表于 2019-12-8 23:29:11 | 显示全部楼层 来自: 中国广东深圳
学习大佬
发表于 2019-12-8 23:30:40 | 显示全部楼层 来自: 中国广东深圳
路过不买 发表于 2019-12-8 22:50* t4 A% S2 G# m' s, r2 F
以默认MPLFAN为例,搜索 . l1 I0 c: |* `1 L" z) n1 B
psgcode         #Output the Gcode based on the current plane
$ m( o+ J4 w; F5 \" U  K1 ^% `3 L找到代码
! [2 d+ w; ]! m% e
表哥:那可以问下后处理添加强制备刀,不需要开启预备刀怎么改
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


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

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

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