|
|
发表于 2011-8-8 21:04:03
|
显示全部楼层
mastercam 5轴处理的坐标算法与一般的算法不同.主要考虑有以下几点,这是个基本的方法
5 P/ w$ v3 g" I9 c1.机器的4,5轴模式; B* H& K1 B! F4 Z/ z2 S# l9 o" L
mastercam提供了6个5轴的方案.在使用5轴后处理时,你必需要清楚你的机器4,5的模式.如下
0 R2 I* G5 C* ~& O
- k+ n+ k* y [0 q |" C+ \4 h/ |mtype : 2 #Machine type (Define base and rotation plane below)
* p& ]3 a' T+ D( S4 p- n M #0 = Table/Table
; i4 ]6 \( T# E4 S3 \% S( T& H #1 = Tilt Head/Table7 G. [) @' k1 B& E; z5 G- ~
#2 = Head/Head" z- K. Z( N; F- x {0 g0 E" L
#3 = Nutator Table/Table
3 Y3 d) h1 a- B' P& v3 ^+ k5 q7 M #4 = Nutator Tilt Head/Table
( h9 C. r! n& x1 ` #5 = Nutator Head/Head7 Y' g. m2 ?. v9 S7 o$ U3 o1 K) a
2.Z轴及刀具长度的计算方式:9 o* t7 o- I" P
use_tlength : 1 #Use tool length, read from tool overall length
' Z0 e) b0 D5 t. |# N, I; t #0=Use 'toollength' var, 1=Mastercam OAL, 2=Prompt
9 Y* ^9 Q7 u: h, b0 Y% e: Ptoollength : 0 #Tool length if not read from overall length
w+ [' B- `4 V6 s! n3 Sshift_z_pvt : 0 #Shift Z by tool length, head/head program to pivot (Z axis only)+ Q+ y8 z+ V/ _ B( x
#0=Pivot, 1=Pivot-Z, 2=Tool Tip Programming (without zero length): W5 w1 W; I" s
#Option 2, So we can still take advantage of brk_mv_head feature& l' _. j2 Y' h( {2 D# J
3.摆轴的长度计算
8 c# q6 E$ [1 @0 v! o* K& \9 |3 [saxisx : 0 #The axis offset direction?9 w9 |! c' J" b' r
saxisy : 0 #The axis offset direction?
: J4 `; b1 c0 l1 oSAXISZ : 0 #FOR CHINA The axis offset direction?3 ^5 q; r" F0 M
( u: V: i% X! }, z
只要把以上几点整清楚了就好办了. |
|