淡然 发表于 2016-12-22 09:21:06

怎样把CNC后缀的编程文件转化为DWG图形

我们需要一钣金的下料尺寸,没有图纸,对方传来一CNC程序。我们不懂数控程序,怎样通过CNC程序再转化为DWG图形,有这种逆向转换的可能吗?请教各位数控高手,非常感谢!
程序如下:

G92X0Y0
G91
G00X163.769Y214.319
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X153.643Y-105
G42
M07
G01X0.776Y-2.898
X-2.598Y-4.5
X-5.196Y9
X10.392
X-2.598Y-4.5
X-2.898Y-0.776
M08
G40
G00X202.121Y3.674
G42
M07
G01X0.776Y-2.898
X-2.598Y-4.5
X-5.196Y9
X10.392
X-2.598Y-4.5
X-2.898Y-0.776
M08
G40
G00X200.6
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X152.121Y101.326
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X2.121Y246.326
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X-147.879Y61.326
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X-20.267Y-44.436
G42
M07
G01X2.121Y2.121
X20
G02Y-8J-4
G01X-40
G02Y8J4
G01X20
X2.121Y-2.121
M08
G40
G00X-180.333Y44.436
G42
M07
G01X0.776Y-2.898
X-2.598Y-4.5
X-5.196Y9
X10.392
X-2.598Y-4.5
X-2.898Y-0.776
M08
G40
G00X-181.789Y-40.762
G42
M07
G01X2.121Y2.121
X20
G02Y-8J-4
G01X-40
G02Y8J4
G01X20
X2.121Y-2.121
M08
G40
G00X-20.333Y44.436
G42
M07
G01X0.776Y-2.898
X-2.598Y-4.5
X-5.196Y9
X10.392
X-2.598Y-4.5
X-2.898Y-0.776
M08
G40
G00X-149.4Y-65
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X-28.829Y210.807
G42
M07
G01X2.121Y-2.121
Y-30
G02X-15Y-15I-15
G01X-8
G03X-2Y-2J-2
G01Y-27.5
G02X-7.5Y-7.5I-7.5
X-7.5Y7.5J7.5
G01Y30
G02X0.927Y3.613I7.5
G01X8.826Y16.056
G03X0.247Y0.963I-1.753J0.963
G01Y45.847
G03X-0.399Y1.199I-2
G01X-8.105Y10.828
G02X-1.496Y4.494I6.004J4.494
G01Y30
G02X7.5Y7.5I7.5
X7.5Y-7.5J-7.5
G01Y-21.5
G03X2Y-2I2
G01X8
G02X15Y-15J-15
G01Y-30
X-2.121Y-2.121
M08
G40
G00X30.95Y289.762
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X153.643Y-65
G42
M07
G01X0.776Y-2.898
X-2.598Y-4.5
X-5.196Y9
X10.392
X-2.598Y-4.5
X-2.898Y-0.776
M08
G40
G00X202.121Y3.674
G42
M07
G01X0.776Y-2.898
X-2.598Y-4.5
X-5.196Y9
X10.392
X-2.598Y-4.5
X-2.898Y-0.776
M08
G40
G00X2.121Y137.794
G42
M07
G01X0.776Y-2.898
X-2.598Y-4.5
X-5.196Y9
X10.392
X-2.598Y-4.5
X-2.898Y-0.776
M08
G40
G00X206.707Y241.857
G42
M07
G01X2.121Y2.121
X5.197
X-5.196Y-9
X-5.197Y9
X5.196
X2.121Y-2.121
M08
G40
G00X115.401Y72.522
G42
M07
G01X-2.121Y-2.121
G02X-25Y25J25
G01Y45
G02X50I25
G01Y-45
G02X-25Y-25I-25
G01X-2.121Y2.121
M08
G40
G00X28.492Y-133.499
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X2.121Y-253.674
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X-147.879Y-68.674
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X152.121Y-188.674
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X-346.357Y-405
G42
M07
G01X0.776Y-2.898
X-2.598Y-4.5
X-5.196Y9
X10.392
X-2.598Y-4.5
X-2.898Y-0.776
M08
G40
G00X-349.4Y905
G42
M07
G01X-2.898Y0.776
X-2.598Y4.5
X10.392
X-5.196Y-9
X-2.598Y4.5
X0.776Y2.898
M08
G40
G00X141.114Y57.303
G42
M07
G01X2.121Y2.121
X5.197
X-5.197Y-9
X-5.196Y9
X5.197
X2.121Y-2.121
M08
G40
G00X-4.243Y200
G42
M07
G01X2.121Y2.121
X5.197
X-5.197Y-9
X-5.196Y9
X5.197
X2.121Y-2.121
M08
G40
G00X412.872
G42
M07
G01X2.121Y2.121
X5.197
X-5.196Y-9
X-5.197Y9
X5.196
X2.121Y-2.121
M08
G40
G00X-187.8Y-314.579
M07
G01X2.121Y-2.121
X-50
Y58
X-122.931
X-39.474Y286.191
G03X-10.096Y8.632I-9.907J-1.367
G01X-219.992Y-4.17
G03X-1.962Y-2I0.038J-2
G01Y-1.985
G02X-2Y-2I-2
G01X-33Y-0.002
G03X-14.997Y-14.998J-14.998
G01X-0.003Y-37.668
X-23.446
Y-221.986
X20.79
X-0.79Y-596.959
X4.937
X0.278Y-110
X-5.215
Y-365.972
X7.036
Y-69.07
X93.426Y0.04
X5.001Y20.002
Y-77.972
X735
Y77.972
X5Y-20
X93.43
Y69.028
X6.989
X-0.022Y365.973
X-5.002
Y109.779
X5.002
X-0.79Y597.181
X20.79
Y221.987
X-23.354Y-0.001
Y37.666
G03X-15Y15I-15
G01X-33
G02X-2Y2J2
G01Y1.985
G03X-1.962Y2I-2
G01X-220.142Y4.173
G03X-10.097Y-8.632I-0.19J-9.999
G01X-39.473Y-286.191
X-122.931Y-0.001
Y-58
M08
G00X638.75Y-499.065
M07
G01Y3
Y373
G02X53.158Y112.501I148.905J-1.55
G01Y74.374
G03X-24.641Y31.398I-36.647J-3.391
G01X-203.516Y-117.499
X-0.001Y-437.713
X175Y-36.061
X2.938Y-0.605
M08
G00X25.863Y-29.486
M07
G01X-0.776Y-2.898
X-203.516Y-117.499
Y-437.713
X175Y-36.06
Y373
G02X53.158Y112.501I148.905J-1.55
G01X-0.001Y74.373
G03X-24.641Y31.398I-36.647J-3.391
G01X-1.313Y2.697
M08
G00X-750.316Y897.793
G42
M07
G01X-0.573Y2.945
X-70Y360
X-344.943
X10.873Y-71.522
G02X-1.23Y-8.583I-14.83J-2.254
G03X-5.256Y-19.895I52.873J-24.609
X40.722Y-230.002I845.577J31.107
G01X4.999Y0.002
X10.538Y-30
X354.296
X3
M08
G40
G00X85.55Y87.773
G42
M07
G01X3
X3
X10.096
G03Y20J10
G01X-10.096
X-3
X-3
M08
G40
G00X34.036Y33.07
G42
M07
G01Y3
G02X10Y10I10
G01X46.3
G02X10Y-10J-10
G01X-7.25Y-87.995
G02X-9.95Y-9.005I-9.95J0.995
G01X-31.9
G02X-9.95Y9.004J9.999
G01X-7.25Y87.995
X5.988Y0.378
X2.994Y0.189
M08
G40
G00X-93.918Y15.314
G42
M07
G01X-3
X-10.1
Y-74.9
G03X20Y-20I20
G01X30
G03X20Y20J20
G01Y74.9
X-10.1
X-3
M08
G40
G00X-66.461Y-154.879
G42
M07
G01X3
X275.494
X41.689Y369.998
X-358.873
X41.69Y-369.998
X0.336Y-2.981
M08
G40
G00X301.387Y6.724
G42
M07
G01X3
X354.296
X10.538Y30
X5
G03X40.722Y229.998I-804.855J261.107
X-5.256Y19.896I-58.129J-4.713
G02X-1.23Y8.584I13.6J6.329
G01X10.873Y71.522
X-344.943
X-70Y-360
X-0.573Y-2.945
M08
G40
G00X-775.152Y-1538.62
M02





zhuzhout 发表于 2016-12-22 09:40:34

很专业 先赞一个

正在连接... 发表于 2016-12-22 09:55:19

用这个CIMCOEdit6。

小熊叹 发表于 2016-12-22 10:09:28

乡里娃,第一次听说,程序能转换,佩服佩服

Lixinwu 发表于 2016-12-22 10:34:00

熊族模拟软件就可以呀.:)

UGAIHAOWY 发表于 2016-12-22 11:06:05

这个是可以直接上气割的程序了割料的时候只要是个熟练工都能直接用的

残梅 发表于 2016-12-22 13:12:32

本帖最后由 残梅 于 2016-12-22 13:14 编辑

一般生成G代码的时候都会有校核、反过来生成轨迹之类的命令,这个搞激光切割的应该可以

韩寒11 发表于 2016-12-22 13:17:47

下一个检查刀路的软件,看看刀路形状,但是毛柸什么的尺寸也应该了解啊

星月刀 发表于 2017-1-23 22:30:29

用CIMCOEDIT,可以把刀迹生成DWG格式的

史德潮 发表于 2017-2-3 21:37:17

让他用这个程序加工好一个产品发给你不就行了
页: [1] 2
查看完整版本: 怎样把CNC后缀的编程文件转化为DWG图形