|
|
发表于 2011-8-8 21:04:03
|
显示全部楼层
mastercam 5轴处理的坐标算法与一般的算法不同.主要考虑有以下几点,这是个基本的方法
4 u8 T$ J. u: I+ Z* Q+ s& j2 q1.机器的4,5轴模式
7 b% {4 w; k" hmastercam提供了6个5轴的方案.在使用5轴后处理时,你必需要清楚你的机器4,5的模式.如下
1 r! v9 d* I$ D X2 i& X7 M. N3 O3 e% j7 b! r" B+ I
mtype : 2 #Machine type (Define base and rotation plane below) - D# ~8 H& k% f* n$ E
#0 = Table/Table; ^5 T$ D, t5 Z$ l
#1 = Tilt Head/Table
. R9 M% A3 w1 v6 n% f. n9 @ #2 = Head/Head9 }0 ?* S8 f& t. X) B: b
#3 = Nutator Table/Table
4 A' K1 S, f6 r( ~- M( q# A4 J #4 = Nutator Tilt Head/Table8 Q* C. B2 M/ c( u6 e
#5 = Nutator Head/Head
8 o6 J- i! H) N$ Z: W/ ^2.Z轴及刀具长度的计算方式:
. K8 }4 Y, p! d3 O; f. j2 Ause_tlength : 1 #Use tool length, read from tool overall length " G0 N# h, R/ x0 I n. z& B
#0=Use 'toollength' var, 1=Mastercam OAL, 2=Prompt3 H( G9 }, a2 M, ]+ I3 v& R3 B( {
toollength : 0 #Tool length if not read from overall length0 m2 d: S5 r! e8 h' |
shift_z_pvt : 0 #Shift Z by tool length, head/head program to pivot (Z axis only)
. O# h# g! X$ I; \) m, Q- I #0=Pivot, 1=Pivot-Z, 2=Tool Tip Programming (without zero length)
6 V- I, h) U; X! ^$ C3 S9 g #Option 2, So we can still take advantage of brk_mv_head feature2 \/ N- s" }. A: J9 o3 q
3.摆轴的长度计算1 F6 c+ y3 Z0 @* L9 T- F! o
saxisx : 0 #The axis offset direction?
2 z, l% ^5 O) }3 @* j- [! ?saxisy : 0 #The axis offset direction?/ v8 |1 b- y9 X9 U: N# E) c
SAXISZ : 0 #FOR CHINA The axis offset direction?
9 {' t# E9 L2 ~; p' h( F k( [. R4 b7 k4 w% ?: U
只要把以上几点整清楚了就好办了. |
|