|
|
发表于 2011-8-8 21:04:03
|
显示全部楼层
mastercam 5轴处理的坐标算法与一般的算法不同.主要考虑有以下几点,这是个基本的方法
* G0 V" o3 i! H1 c& y1.机器的4,5轴模式
3 {" D" B2 T+ R' qmastercam提供了6个5轴的方案.在使用5轴后处理时,你必需要清楚你的机器4,5的模式.如下1 H1 q: _6 t$ ~4 }2 u
4 @. A1 N$ n+ f5 A2 ~
mtype : 2 #Machine type (Define base and rotation plane below) 6 w% E$ u% Q; e# ]$ F
#0 = Table/Table
" ]" `% H8 f, h* _ W7 o #1 = Tilt Head/Table
3 j# _, h+ l, l9 u; G1 \% j2 p #2 = Head/Head
+ @2 i; f( a$ _, m/ p O6 V #3 = Nutator Table/Table
0 k1 u. R+ ?4 U) \" Z7 ] #4 = Nutator Tilt Head/Table) n* ~. R6 T& T' g' u% V8 A! @/ ]2 I
#5 = Nutator Head/Head3 |1 }: Y; J4 y% |; \
2.Z轴及刀具长度的计算方式:
5 p$ y j7 O6 p0 u7 Ruse_tlength : 1 #Use tool length, read from tool overall length
$ O0 p- ?2 p+ a- J8 V$ g #0=Use 'toollength' var, 1=Mastercam OAL, 2=Prompt
0 p1 q" Y0 X" U7 K5 E- ttoollength : 0 #Tool length if not read from overall length
! j/ u3 |% [& W# |shift_z_pvt : 0 #Shift Z by tool length, head/head program to pivot (Z axis only)0 @' @4 l w4 P
#0=Pivot, 1=Pivot-Z, 2=Tool Tip Programming (without zero length) F F& |2 v8 y& |+ |
#Option 2, So we can still take advantage of brk_mv_head feature% O, f1 p; z! h4 \* g2 A
3.摆轴的长度计算9 Z; a" ?, z z: d1 F v: L
saxisx : 0 #The axis offset direction?- F8 B: S% p. F" Q- G2 s1 u6 Y
saxisy : 0 #The axis offset direction?
# ^( @3 j8 u QSAXISZ : 0 #FOR CHINA The axis offset direction?
) v! i7 r/ X5 W
7 d( j; B7 D& {; s/ s只要把以上几点整清楚了就好办了. |
|