|
|
发表于 2011-8-8 21:04:03
|
显示全部楼层
mastercam 5轴处理的坐标算法与一般的算法不同.主要考虑有以下几点,这是个基本的方法
8 b# c4 C; S% |: p1.机器的4,5轴模式# u7 I0 ]& z- X
mastercam提供了6个5轴的方案.在使用5轴后处理时,你必需要清楚你的机器4,5的模式.如下7 o" w( w$ h5 ]5 k6 A: W' ]
6 ?% |. b; R' {! A% xmtype : 2 #Machine type (Define base and rotation plane below)
& g- ^; ]. s: ?, X #0 = Table/Table
0 P3 g' p$ K4 G #1 = Tilt Head/Table
4 k* m, O1 Y7 T' O #2 = Head/Head
' H, [6 p! a5 d$ F0 V$ s #3 = Nutator Table/Table$ F- f: j, I# J) }( e; W" C4 _
#4 = Nutator Tilt Head/Table
5 A8 x. F! h" m, N #5 = Nutator Head/Head- g% {# k( x8 h: x& k6 k( K$ u
2.Z轴及刀具长度的计算方式:# I( u/ f4 n, |7 Z, ^! T
use_tlength : 1 #Use tool length, read from tool overall length
2 K3 ?6 B# H; n6 ^! H #0=Use 'toollength' var, 1=Mastercam OAL, 2=Prompt P8 q$ s1 z3 |/ p
toollength : 0 #Tool length if not read from overall length
+ l3 c/ b# E9 yshift_z_pvt : 0 #Shift Z by tool length, head/head program to pivot (Z axis only)$ i! | s( [8 K, [ R* T5 f1 Q
#0=Pivot, 1=Pivot-Z, 2=Tool Tip Programming (without zero length)4 { k7 u4 u5 V. R6 w
#Option 2, So we can still take advantage of brk_mv_head feature; G3 b% g/ t3 {
3.摆轴的长度计算
+ q# W- H- s3 I# b# s! Csaxisx : 0 #The axis offset direction?: C9 f7 B' m' b4 _1 V3 H# ]8 s, [- L) \
saxisy : 0 #The axis offset direction?
8 t$ ], B3 F l# QSAXISZ : 0 #FOR CHINA The axis offset direction?
% F6 W7 S4 Z4 F5 L. i' @ B- Y+ U5 }! \+ m( Z' w7 Y. Z H
只要把以上几点整清楚了就好办了. |
|