QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

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

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

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

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

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

x
请教大神们,车床后处理怎么样修改,能把G2或者G3改成非模态格式的,也就是说G02 X100.Z50.R2.  后面再跟一条不把G02给省略掉,万分感谢诸位大神们的解答!!!
发表于 2019-12-8 22:50:36 | 显示全部楼层 来自: 中国吉林
以默认MPLFAN为例,搜索 . w+ N. R* o. Q( y/ x  ]8 O  _
psgcode         #Output the Gcode based on the current plane, g  s+ R& D  ^( n2 B
找到代码7 Y4 t' }* P! |/ k% Q
psgcode         #Output the Gcode based on the current plane
. F( \/ ~- l6 c5 K# n$ K; Z# P7 v      if c_ax_flp,
! B" Y) n# R4 c: |) ^- e# @        [
0 `1 ?3 f$ R( \; y+ x6 K        #Reverse arc direction for c_axis flip
8 G6 X: R8 {3 z4 y        if gcode$ = two | gcode$ = three,3 i6 W1 B, P& d; ~" u
          [/ z$ W/ H6 c7 {0 F( K
          sav_gcode = gcode$4 Q! K  y7 C/ o) C
          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02
1 p3 g* B  b: C. l3 ~% N: S8 A          ]
  l$ c: F1 ^. q( M: y1 h0 q, F        ]- T0 E, I, j. h2 r
          if plane$ = zero, `sgcode
$ n+ g4 l) v, U- S# c      if plane$ = one, `sgcode1' `8 v: V$ p. v! Q! a+ }8 Z
      if plane$ = two, `sgcode2
1 C! O) C7 I. U! c      if c_ax_flp, gcode$ = sav_gcode# N6 E* S- F0 U! h  H2 d) `! ]

# u2 r7 d% l4 e5 H" A( r加点作料改为- P" s4 ^( ~5 Z1 B  G+ G, g
psgcode         #Output the Gcode based on the current plane
/ y/ e$ `/ @" h      if c_ax_flp,
# [9 k: V; k, h# J' }3 x        [
& d: ?( K: P+ A, _* c5 p- X3 L2 }        #Reverse arc direction for c_axis flip
# @9 Q% t; K4 ~5 n: ], x' Z( E$ b, |        if gcode$ = two | gcode$ = three,% S+ t' ?" e* E4 d
          [& l: f- H. O$ n' A% @
          sav_gcode = gcode$/ w3 H2 K: J( S7 l4 G* D9 D8 |
          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02
# b- m9 S3 u! \, z, U          ]
. A2 }& @6 _% s0 M* }1 x        ]& W6 r# A( K1 l; ]% z! ^. T: x
      if gcode$ = 2 | gcode$ = 3, result = force(gcode$)1 ^+ n+ q  |: d) Z2 p
          if plane$ = zero, `sgcode! n( ~2 Q+ }+ c) N
      if plane$ = one, `sgcode17 n4 h' W' U" T/ R" @! u! u3 h
      if plane$ = two, `sgcode2
+ O/ g" {9 A; e4 d: v      if c_ax_flp, gcode$ = sav_gcode
8 G2 c( i  l7 [! C9 k保存 完事
发表于 2019-12-8 23:29:11 | 显示全部楼层 来自: 中国广东深圳
学习大佬
发表于 2019-12-8 23:30:40 | 显示全部楼层 来自: 中国广东深圳
路过不买 发表于 2019-12-8 22:50, p4 G1 G! E# `% l7 u0 T- K& @" I, {
以默认MPLFAN为例,搜索
3 U& B3 U  W. S2 [5 U: @; b& _3 opsgcode         #Output the Gcode based on the current plane% T3 p: }  ^1 d8 w9 J/ Q: Y
找到代码

' n& {# h  G" s7 T2 {表哥:那可以问下后处理添加强制备刀,不需要开启预备刀怎么改
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


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

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

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