QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

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

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

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

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

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

x
请教大神们,车床后处理怎么样修改,能把G2或者G3改成非模态格式的,也就是说G02 X100.Z50.R2.  后面再跟一条不把G02给省略掉,万分感谢诸位大神们的解答!!!
发表于 2019-12-8 22:50:36 | 显示全部楼层 来自: 中国吉林
以默认MPLFAN为例,搜索   F) s7 @! G9 C9 }. j) g
psgcode         #Output the Gcode based on the current plane* {/ m" C/ p3 e9 L, N3 H
找到代码& o% u% Y% S" t# h
psgcode         #Output the Gcode based on the current plane7 U- `1 N: c5 Z5 F! l
      if c_ax_flp,
- R# E7 m6 S; ?        [2 ^6 U1 v' h" {. {% j$ j
        #Reverse arc direction for c_axis flip
0 ^' O, P" N& G7 ?        if gcode$ = two | gcode$ = three,6 r& M, J; b  k2 D3 }1 u' [3 O9 w
          [
& U( ?: S7 S0 y& S# c          sav_gcode = gcode$
- b, f' K2 O6 \8 W0 g          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02
$ U1 g6 Y. n! r1 y( d9 _8 F  n          ]+ z9 d% i) ~( @$ M
        ]
! h- |+ h3 |1 T2 n" B' M$ m* H          if plane$ = zero, `sgcode; K2 I5 q7 Z9 G+ T" x' x
      if plane$ = one, `sgcode1
' s( T7 A* Z' z, x      if plane$ = two, `sgcode2- N! ^$ M/ \7 m6 b8 i( i5 e6 S5 r
      if c_ax_flp, gcode$ = sav_gcode7 K& x, m. H3 @" Q+ z
. {, \& s/ o% S, H. w" X
加点作料改为
# X( t, Q$ p3 s- \: L; \. X2 R1 M, U& ?psgcode         #Output the Gcode based on the current plane
! z8 Z( {  W5 Y6 P" f+ w      if c_ax_flp,
: A/ J3 J& v2 ?0 b        [
1 U: a& H8 N3 ~        #Reverse arc direction for c_axis flip
: u4 Q$ a1 Z* ?- l        if gcode$ = two | gcode$ = three,
$ N# v& N$ J' H          [
; v4 r  u* w  Z" t  r. j          sav_gcode = gcode$. n: ~) b4 ~/ B8 d# T' A. w* g
          gcode$ = (5 - gcode$)  #G02->G03 or G03->G02
7 G) B4 i2 Y; U3 V          ]
% }7 H7 ^' W' V% _: ]( J! \        ]7 B% Y6 g  [# L: a
      if gcode$ = 2 | gcode$ = 3, result = force(gcode$)4 f2 ^+ m: ?, o/ m, E6 s
          if plane$ = zero, `sgcode5 U3 i$ i  g+ v. F. e
      if plane$ = one, `sgcode1; f& [. x: o; }. y
      if plane$ = two, `sgcode2
/ p" `1 g7 E. X# U+ T; O. W+ S2 [      if c_ax_flp, gcode$ = sav_gcode
2 p. {; }* \8 O/ p+ y5 x+ f保存 完事
发表于 2019-12-8 23:29:11 | 显示全部楼层 来自: 中国广东深圳
学习大佬
发表于 2019-12-8 23:30:40 | 显示全部楼层 来自: 中国广东深圳
路过不买 发表于 2019-12-8 22:50. C7 t* z4 y. e) a1 u' o
以默认MPLFAN为例,搜索 9 o# u! F! x/ R% s* R
psgcode         #Output the Gcode based on the current plane) g" M# z) u9 L* V  x5 f- Q
找到代码

8 Z+ b: d% l/ n! q表哥:那可以问下后处理添加强制备刀,不需要开启预备刀怎么改
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


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

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

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