|
|
发表于 2011-8-8 21:04:03
|
显示全部楼层
mastercam 5轴处理的坐标算法与一般的算法不同.主要考虑有以下几点,这是个基本的方法
. g. o7 u |! i- G0 S1.机器的4,5轴模式, c: u- X5 M7 |/ F( F, j0 n
mastercam提供了6个5轴的方案.在使用5轴后处理时,你必需要清楚你的机器4,5的模式.如下+ d( Q9 ?: O, \
A/ d* I. E/ Rmtype : 2 #Machine type (Define base and rotation plane below)
% \8 Z/ A* s* s: r( x' E) Y #0 = Table/Table# r6 ^; X4 g/ b7 {
#1 = Tilt Head/Table0 I: v. y; N4 _- I+ }: G- O. |$ p
#2 = Head/Head4 D/ f1 E+ s) t
#3 = Nutator Table/Table L: d* ~0 G/ ^! F# B/ B
#4 = Nutator Tilt Head/Table+ O/ O) H" b& W+ o: ?+ o0 M8 z0 l
#5 = Nutator Head/Head4 M! g" b4 w. ~% a! k1 \' A0 l F# A
2.Z轴及刀具长度的计算方式:. f" ^/ u7 y, U6 ?; U
use_tlength : 1 #Use tool length, read from tool overall length + [- a, i5 A6 }& }" f- j- j
#0=Use 'toollength' var, 1=Mastercam OAL, 2=Prompt
7 ?0 m$ J9 ]4 V2 m4 S" C! b6 D2 _( stoollength : 0 #Tool length if not read from overall length3 W+ M) ^7 T) ~' J" U9 s0 K
shift_z_pvt : 0 #Shift Z by tool length, head/head program to pivot (Z axis only). @6 W: t2 H9 H/ k4 ?5 C, l9 J- T9 O6 N
#0=Pivot, 1=Pivot-Z, 2=Tool Tip Programming (without zero length)5 s% t- y( a/ d" ~
#Option 2, So we can still take advantage of brk_mv_head feature
* L2 \1 _4 `) A. F1 E- {7 t3.摆轴的长度计算3 a2 `' y7 {9 }) q- e3 }
saxisx : 0 #The axis offset direction?
% } u1 ^2 x, A# N6 Vsaxisy : 0 #The axis offset direction?
4 V3 z- C4 f2 }) jSAXISZ : 0 #FOR CHINA The axis offset direction?
3 Z! g' x i" W, f+ e: q8 c% x7 H# N* u; H
只要把以上几点整清楚了就好办了. |
|