|
|
发表于 2011-8-8 21:04:03
|
显示全部楼层
mastercam 5轴处理的坐标算法与一般的算法不同.主要考虑有以下几点,这是个基本的方法+ E+ v& H& V0 M
1.机器的4,5轴模式4 ]. y4 q* O4 g; Z
mastercam提供了6个5轴的方案.在使用5轴后处理时,你必需要清楚你的机器4,5的模式.如下
2 x# r, q# C4 k1 C* u: M6 y# X- s# V7 a( i1 O3 E. S
mtype : 2 #Machine type (Define base and rotation plane below)
! j* b0 R3 a3 J& c/ L #0 = Table/Table
1 G5 l% w1 q5 K% Y #1 = Tilt Head/Table2 P: Z+ r8 ^+ B7 D6 A
#2 = Head/Head8 t9 l: O/ m8 {$ O$ C0 Q
#3 = Nutator Table/Table% @3 ^1 \( R( M( F) m
#4 = Nutator Tilt Head/Table
1 a; S. b) I/ X+ N #5 = Nutator Head/Head/ M7 a: R- {& B$ P. Y8 l
2.Z轴及刀具长度的计算方式:1 b7 e( u' ?% O- s5 e
use_tlength : 1 #Use tool length, read from tool overall length
7 v$ V1 ]& F J% [% o5 {0 i #0=Use 'toollength' var, 1=Mastercam OAL, 2=Prompt, p6 `# e( f; [% C+ o9 x/ _: c
toollength : 0 #Tool length if not read from overall length
: Q) S5 w* ~1 t% L( ]! n+ p) K5 Oshift_z_pvt : 0 #Shift Z by tool length, head/head program to pivot (Z axis only)- e0 Q) o7 Z% l. i- O1 \
#0=Pivot, 1=Pivot-Z, 2=Tool Tip Programming (without zero length)$ ?$ }/ Q4 h: F2 n/ L& ~" g/ L
#Option 2, So we can still take advantage of brk_mv_head feature7 T W; Y2 s! Y3 O* ^
3.摆轴的长度计算, R$ I# k3 O# @7 ~& O: @9 t
saxisx : 0 #The axis offset direction?! V" C% S' D! F; r
saxisy : 0 #The axis offset direction?' O9 Y3 f/ k* N- [" \- J9 W/ b
SAXISZ : 0 #FOR CHINA The axis offset direction?; J* w8 w: i& h, b3 X3 o$ k1 Q
2 N4 e6 l2 Z& k, s只要把以上几点整清楚了就好办了. |
|