本人一直用MasterCAM出刀路,近日试用了powermill,觉得powermil的效率很高,而且很适合高速加工机(FIDIA),可是用powermill中自带的fidia.opt后处理出来的nc却没有小数点,而且格式不对,版主可否帮忙改一改?
N1G00Z5000
N2G00X5000Y5000
N3G00X5000Y5000Z1000M03
N4G00X-5074Y5520
N5G00Z500
N6G01Z-281
N7X-5071Y5495
N8X-5077Y5483
N9X-5176Y5283
N10X-5266Y5079
..........
N8731X-1759Y-2655
N8732X-1337Y-2686
N8733X-1056
N8734G00Z1000
N8735M09
N8736M02
现需要正确格式如下: (此程式masternam出的)
N100M155
N102G17Q1
N104T1M6
N106G0G90G55O1X1.368Y-47.777
N108S2850M3
N110Z20.
N112M8
N114Z1.
N116G1Z-1.F800
N118Y-44.177F5000
N120G3X-6.432Y-36.377R-7.8
N122G1X-48.74
N124G2X-54.74Y-30.377R-6.
N126G1Y27.933
N128X-54.704Y28.804
N130X-54.58Y29.791
N132X-54.376Y30.762
N134X-54.093Y31.711
N136X-53.733Y32.632
............
N3248X38.828Y-30.616Z5.292
N3250X38.683Y-30.761Z4.762
N3252X38.64Y-30.804Z4.249
N3254G0Z20.
N3256M5
N3258M9
N3260M2 |