|
|
发表于 2011-8-8 21:04:03
|
显示全部楼层
mastercam 5轴处理的坐标算法与一般的算法不同.主要考虑有以下几点,这是个基本的方法" s- l$ B# K- D' A7 H$ d
1.机器的4,5轴模式
9 R- a) ^( _( V, ^mastercam提供了6个5轴的方案.在使用5轴后处理时,你必需要清楚你的机器4,5的模式.如下9 j% a1 `3 O o6 _& {7 y
. _6 p+ V! a1 R( ?; s1 B( Rmtype : 2 #Machine type (Define base and rotation plane below)
* u- I' t% X7 P9 Z9 @6 M #0 = Table/Table
6 \ a" {2 h) X #1 = Tilt Head/Table; D/ M. F/ K H; m' x7 G
#2 = Head/Head
% Q0 L1 A0 c5 b, m' n #3 = Nutator Table/Table
% [5 j- T+ m; z" F8 y #4 = Nutator Tilt Head/Table
: s1 x- S: {7 |* F& a. Y( O% W; w #5 = Nutator Head/Head
8 f; p% f4 ~7 C4 K4 \) _) K1 Z2.Z轴及刀具长度的计算方式:
) d Q+ V, _0 V; p* A% Kuse_tlength : 1 #Use tool length, read from tool overall length
+ s' m+ l2 A7 a- b# P$ z #0=Use 'toollength' var, 1=Mastercam OAL, 2=Prompt
q0 q7 Q2 b& S* [- A: Z/ ztoollength : 0 #Tool length if not read from overall length
" u9 B, S' d l0 y! C# hshift_z_pvt : 0 #Shift Z by tool length, head/head program to pivot (Z axis only); S2 ]6 J4 O0 I1 W
#0=Pivot, 1=Pivot-Z, 2=Tool Tip Programming (without zero length), q3 |8 d2 z- c7 e3 m. T# x
#Option 2, So we can still take advantage of brk_mv_head feature
4 @3 q9 l. P' j0 G' g6 {9 G3.摆轴的长度计算. }( g$ t* j$ [" L5 N- b# a
saxisx : 0 #The axis offset direction?( \& x) C" D' s, Q1 L
saxisy : 0 #The axis offset direction?0 T. N6 r7 _% z1 b! G
SAXISZ : 0 #FOR CHINA The axis offset direction?8 g5 j6 S+ S. I- O P9 ?
7 M' u) ?# r! O4 F9 V只要把以上几点整清楚了就好办了. |
|