QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

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

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

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

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

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

x
请教大神们,车床后处理怎么样修改,能把G2或者G3改成非模态格式的,也就是说G02 X100.Z50.R2.  后面再跟一条不把G02给省略掉,万分感谢诸位大神们的解答!!!
发表于 2019-12-8 22:50:36 | 显示全部楼层 来自: 中国吉林
以默认MPLFAN为例,搜索 1 D0 y7 Y  ?; w( ^
psgcode         #Output the Gcode based on the current plane
- Z% p  l" a- j6 L9 d* ^找到代码
! @: ^( K3 H* m3 R  g& kpsgcode         #Output the Gcode based on the current plane' H! z9 g0 N7 ^$ @9 y
      if c_ax_flp,
# {: U+ S; _! G1 `        [
( F8 _1 e1 Y! |' I9 v6 p; s        #Reverse arc direction for c_axis flip
+ z7 ^, e9 x, j% T  Y; L( c        if gcode$ = two | gcode$ = three,
, Y) t9 G( y. l          [) S+ r* g: i& ^0 E8 L( k
          sav_gcode = gcode$' z. J  _0 x3 e4 R9 K
          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02$ E2 |& K: K8 Y. t
          ]9 ~& \2 H* L6 u, ~! b. I# s( E. @/ D
        ]
+ X1 Q% G7 h" }2 k" \( m, \          if plane$ = zero, `sgcode( T9 c# C9 B8 t3 j, \
      if plane$ = one, `sgcode14 V0 h* e* B: i
      if plane$ = two, `sgcode2
$ S' G; @* M# m% ^1 |; [- W      if c_ax_flp, gcode$ = sav_gcode
8 K7 Y% D& }2 X6 e6 d6 R- c0 S/ C2 I; g6 o5 p- d2 F' C
加点作料改为0 R  i$ M6 T, l% |* Y5 `
psgcode         #Output the Gcode based on the current plane
7 n; t$ D7 z$ y      if c_ax_flp,
8 Z# `2 C# d* x' R$ A: E        [
2 t" B8 C& q  S* Q' J, r        #Reverse arc direction for c_axis flip0 y: p" f! E6 `  \
        if gcode$ = two | gcode$ = three,. Z- u8 \+ s$ u, {
          [
9 G: P2 }6 k3 J7 e          sav_gcode = gcode$
5 x* N$ z  t+ u2 S* F7 ^          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02
  o% v: C6 j3 W7 n          ]: |. g  D" {$ o: l' i6 {; N
        ]6 I8 w$ H& Y: N) |
      if gcode$ = 2 | gcode$ = 3, result = force(gcode$)) `) ]/ K6 j7 Z; p" S5 S  {
          if plane$ = zero, `sgcode2 R' \  H2 l3 G- }3 O
      if plane$ = one, `sgcode1
2 n5 s/ }' f3 e+ p# P% c      if plane$ = two, `sgcode2
; `: x1 J1 d0 |. y      if c_ax_flp, gcode$ = sav_gcode
/ X6 ^. n2 t4 T. L- C4 k9 }. r保存 完事
发表于 2019-12-8 23:29:11 | 显示全部楼层 来自: 中国广东深圳
学习大佬
发表于 2019-12-8 23:30:40 | 显示全部楼层 来自: 中国广东深圳
路过不买 发表于 2019-12-8 22:50' T( r  Z( u! v) L) R& |
以默认MPLFAN为例,搜索 $ w& Z" P- K- \1 M  D
psgcode         #Output the Gcode based on the current plane. h) ?8 x  W  a/ o6 ^
找到代码

9 k' p' X6 s% v3 `* @. k) u表哥:那可以问下后处理添加强制备刀,不需要开启预备刀怎么改
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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