|
|
发表于 2011-8-8 21:04:03
|
显示全部楼层
mastercam 5轴处理的坐标算法与一般的算法不同.主要考虑有以下几点,这是个基本的方法; d2 H) `# N( o6 C: X. J6 g! A# ~
1.机器的4,5轴模式
) d' }' k$ A$ ~ [3 Kmastercam提供了6个5轴的方案.在使用5轴后处理时,你必需要清楚你的机器4,5的模式.如下/ \- k$ h2 Z- m
: W+ ~7 `7 t2 E: pmtype : 2 #Machine type (Define base and rotation plane below) , I3 x/ I$ l- P" p8 t
#0 = Table/Table
/ r% c& q8 q! \, |9 I! P #1 = Tilt Head/Table% C3 O+ g' m5 C0 i
#2 = Head/Head
% x, M- W8 t4 P8 j) ^ #3 = Nutator Table/Table+ S- V. F+ _: |9 L5 k% L+ l1 ^
#4 = Nutator Tilt Head/Table
' x( B. L) u( J. x #5 = Nutator Head/Head6 d ~: L$ v8 P5 [
2.Z轴及刀具长度的计算方式:
* ], Z: i3 L% tuse_tlength : 1 #Use tool length, read from tool overall length
% v3 V) [: ^8 C/ ? #0=Use 'toollength' var, 1=Mastercam OAL, 2=Prompt( y9 L; r% |3 A. G+ f7 ?, t8 B
toollength : 0 #Tool length if not read from overall length
6 `6 L9 F+ S0 V& n Vshift_z_pvt : 0 #Shift Z by tool length, head/head program to pivot (Z axis only)( P/ c3 t! N& z' l
#0=Pivot, 1=Pivot-Z, 2=Tool Tip Programming (without zero length)$ G0 ^: w" ^! v- h. u
#Option 2, So we can still take advantage of brk_mv_head feature3 `, k8 P/ v6 T4 A% p
3.摆轴的长度计算
. ^/ H( H: A1 A4 d) R4 |saxisx : 0 #The axis offset direction?! K6 U# Z; w- ]5 {: T
saxisy : 0 #The axis offset direction?
/ I6 _& o5 M" `% E) u: s5 HSAXISZ : 0 #FOR CHINA The axis offset direction?
( I7 l% `. U& b3 j) x; h& O# w3 W$ m) m% I
只要把以上几点整清楚了就好办了. |
|