|
|
发表于 2011-8-8 21:04:03
|
显示全部楼层
mastercam 5轴处理的坐标算法与一般的算法不同.主要考虑有以下几点,这是个基本的方法# @5 ~( u, V* i" |
1.机器的4,5轴模式; E9 L+ a& K. }% j$ x
mastercam提供了6个5轴的方案.在使用5轴后处理时,你必需要清楚你的机器4,5的模式.如下
; C0 d6 M; I% N1 m: I3 }0 i1 Z+ b2 ?
mtype : 2 #Machine type (Define base and rotation plane below)
) \! S6 w. N! f" m" E, C; e0 H #0 = Table/Table
" y# G0 S' f7 y" B$ ` #1 = Tilt Head/Table
0 l& q* ^* n1 X3 q8 t #2 = Head/Head
x$ O$ | j7 g. W+ L) Y #3 = Nutator Table/Table4 `0 _/ x" a& j* j/ s
#4 = Nutator Tilt Head/Table
, E( a8 ?* h+ Q #5 = Nutator Head/Head% G4 r+ W! [% D# s' I& Z6 y9 Q
2.Z轴及刀具长度的计算方式:
: P. r4 c0 x9 r; @+ D( O( ^use_tlength : 1 #Use tool length, read from tool overall length
6 [8 o1 i' Q! k0 D. ]* y #0=Use 'toollength' var, 1=Mastercam OAL, 2=Prompt1 D( }5 n8 u/ J& S& d: f. P J
toollength : 0 #Tool length if not read from overall length
" z, l# O& z. {0 _" H C+ nshift_z_pvt : 0 #Shift Z by tool length, head/head program to pivot (Z axis only)
* U. P+ Y% P* h; ~3 }6 ` #0=Pivot, 1=Pivot-Z, 2=Tool Tip Programming (without zero length)
* ~$ ^" v, ^' t9 |+ m6 x/ ?8 L #Option 2, So we can still take advantage of brk_mv_head feature1 N- }* A7 @) |0 B1 J, ?6 {
3.摆轴的长度计算
# k7 w b) M5 Q% ]* N+ B; asaxisx : 0 #The axis offset direction?
# u) O4 J! o3 Z# j. f" asaxisy : 0 #The axis offset direction?
' i- P4 T5 k+ lSAXISZ : 0 #FOR CHINA The axis offset direction?
/ G( {& U* @" c% w9 j
- g ^0 e8 O4 d只要把以上几点整清楚了就好办了. |
|