QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

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

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

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

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

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

x
请教大神们,车床后处理怎么样修改,能把G2或者G3改成非模态格式的,也就是说G02 X100.Z50.R2.  后面再跟一条不把G02给省略掉,万分感谢诸位大神们的解答!!!
发表于 2019-12-8 22:50:36 | 显示全部楼层 来自: 中国吉林
以默认MPLFAN为例,搜索 % p6 l2 |% J8 A, p2 F
psgcode         #Output the Gcode based on the current plane8 B; x2 o% b0 f9 M
找到代码
8 w, I7 [" J# B  g6 u" }% c: {& cpsgcode         #Output the Gcode based on the current plane0 e& \* `' g. d9 i; n) l. J
      if c_ax_flp,
; h: l# J' Q) c9 u; F0 |% `        [
, Y; T6 J( D* v7 U6 R        #Reverse arc direction for c_axis flip
, f! o4 T5 E! D/ G' A2 J2 h        if gcode$ = two | gcode$ = three,
& R& k0 j* U/ f0 t+ x& r4 ]          [( g) G6 W* q& r
          sav_gcode = gcode$4 L+ a+ A3 X" T: v% j: S8 ?  K) j  g
          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02; ?4 o0 y* f$ \2 F) u* T0 l1 R
          ]( o5 K0 F, g$ {) K
        ]
* D+ N" u' F% d) l( g% s5 q          if plane$ = zero, `sgcode
: t5 K% V  v$ W/ C. b      if plane$ = one, `sgcode1
* M; d) l4 G9 J3 J      if plane$ = two, `sgcode2
% V. e' O7 H6 N/ @4 A      if c_ax_flp, gcode$ = sav_gcode
, o1 u0 Q- I) d) n) K+ {7 W6 d: T8 U9 h* Z( x$ b4 Y/ x9 i
加点作料改为2 v; C/ g& u6 X: Z
psgcode         #Output the Gcode based on the current plane
2 d  J4 l) M8 f      if c_ax_flp,! P  Q% [3 _8 g9 A1 p/ J/ P3 I* `
        [  m2 y5 L4 a" t% f4 u7 J
        #Reverse arc direction for c_axis flip
" r8 C3 }" u7 _        if gcode$ = two | gcode$ = three,
- g' o% \$ R: p          [
9 L5 a8 {  W. J          sav_gcode = gcode$1 i1 b. f& y' C" }% X
          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02
8 h/ \4 [5 o" m, {% l          ]7 L3 J. Q, Q1 I2 l) N
        ]6 ?8 ^7 k, d( T
      if gcode$ = 2 | gcode$ = 3, result = force(gcode$). |0 `4 \9 [9 T1 ?
          if plane$ = zero, `sgcode: ]" E/ j- E' W' P0 F$ ^8 O
      if plane$ = one, `sgcode19 ]5 n5 Y* t2 \8 i4 [! N* D
      if plane$ = two, `sgcode2, m# `! Z$ \- j3 T% z
      if c_ax_flp, gcode$ = sav_gcode
! W' o3 u- [- [  Z/ \; n保存 完事
发表于 2019-12-8 23:29:11 | 显示全部楼层 来自: 中国广东深圳
学习大佬
发表于 2019-12-8 23:30:40 | 显示全部楼层 来自: 中国广东深圳
路过不买 发表于 2019-12-8 22:50
6 z5 W% ~* K) S7 k1 P9 Y1 v9 l+ i0 m以默认MPLFAN为例,搜索 * Z: A, N  F* m, l
psgcode         #Output the Gcode based on the current plane' q; R7 X' T3 _+ y% X5 ?# m; n, K5 S
找到代码

0 T7 }4 y" L  H( C; ]% ?2 C" d# S# [表哥:那可以问下后处理添加强制备刀,不需要开启预备刀怎么改
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


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

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

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