Skip to content

Instantly share code, notes, and snippets.

@edy555
Created September 18, 2012 22:28
Show Gist options
  • Save edy555/3746370 to your computer and use it in GitHub Desktop.
Save edy555/3746370 to your computer and use it in GitHub Desktop.
G-Code generated by PyCAM and processed one by script
;PYCAM-META-DATA: Filename: /Users/takahasi/Desktop/helloworld.dxf
;PYCAM-META-DATA: Timestamp: 2012-09-17 19:34:47.608634
;PYCAM-META-DATA: Version: 0.5.1
;Estimated machine time: 5 minutes
G40 (disable tool radius compensation)
G49 (disable tool length compensation)
G80 (cancel modal motion)
G54 (select coordinate system 1)
G90 (disable incremental moves)
G21 (metric)
G61 (exact path mode)
F200.00000
S1000.00000
;PYCAM_TOOLPATH_SETTINGS: START
;[Bounds]
;maxz = 0.0
;maxx = 256.9586944
;maxy = 38.3379734
;minx = -123.8160346
;miny = -18.678729
;minz = 0.0
;
;[Tool]
;torus_radius = 0.25
;speed = 1000.0
;shape = SphericalCutter
;tool_radius = 5e-05
;feedrate = 200.0
;
;[Process]
;engrave_offset = 0.0
;step_down = 1.0
;generator = EngraveCutter
;postprocessor = SimpleCutter
;milling_style = climb
;material_allowance = 0.0
;pocketing_type = none
;path_direction = x
;
;PYCAM_TOOLPATH_SETTINGS: END
T4 M6
G0 Z3.0000
G0 X3.1089 Y0.6746
G1 Z0.0000
G1 X6.8534
G1 Y8.2648
G1 X12.3778
G1 Y0.6746
G1 X16.1223
G1 Y18.5770
G1 X12.3778
G1 Y11.7542
G1 X6.8534
G1 Y18.5770
G1 X3.1089
G1 Y0.6746
G0 Z3.0000
G0 X33.1429
G1 Z0.0000
G1 X36.6248
G1 Y19.3324
G1 X33.1429
G1 Y0.6746
G0 Z3.0000
G0 X30.1302 Y10.2943
G1 Z0.0000
G1 X28.9704 Y12.5216
G1 X27.1759 Y13.9515
G1 X24.8660 Y14.4281
G1 X22.3470 Y13.9575
G1 X20.4309 Y12.5456
G1 X19.2273 Y10.3122
G1 X18.8261 Y7.3775
G1 X19.2346 Y4.4037
G1 X20.4601 Y2.1734
G1 X22.4321 Y0.7885
G1 X25.0606 Y0.3268
G1 X27.5310 Y0.6266
G1 X30.0014 Y1.4899
G1 Y4.7994
G1 X27.6282 Y3.5764
G1 X25.3815 Y3.1806
G1 X24.1706 Y3.3695
G1 X23.2612 Y3.9361
G1 X22.6606 Y4.8804
G1 X22.3762 Y6.2023
G1 X30.5169
G1 Y7.4255
G1 X30.1302 Y10.2943
G0 Z3.0000
G0 X39.9900 Y0.6746
G1 Z0.0000
G1 X43.4719
G1 Y19.3324
G1 X39.9900
G1 Y0.6746
G0 Z3.0000
G0 X49.5070 Y13.9605
G1 Z0.0000
G1 X47.6055 Y12.5576
G1 X46.4165 Y10.3272
G1 X46.0202 Y7.3775
G1 X46.4165 Y4.4277
G1 X47.6055 Y2.1974
G1 X49.5070 Y0.7945
G1 X52.0212 Y0.3268
G1 X54.5232 Y0.7945
G1 X56.4076 Y2.1974
G1 X57.5966 Y4.4277
G1 X57.9929 Y7.3775
G1 X57.5966 Y10.3272
G1 X56.4076 Y12.5576
G1 X54.5232 Y13.9605
G1 X52.0212 Y14.4281
G1 X49.5070 Y13.9605
G0 Z3.0000
G0 X69.8296 Y0.6746
G1 Z0.0000
G1 X74.1479
G1 X76.7545 Y14.2842
G1 X79.3903 Y0.6746
G1 X83.7086
G1 X87.1322 Y18.5770
G1 X83.5725
G1 X81.0631 Y5.5668
G1 X78.5733 Y18.5770
G1 X74.9649
G1 X72.4750 Y5.5668
G1 X69.9657 Y18.5770
G1 X66.3768
G1 X69.8296 Y0.6746
G0 Z3.0000
G0 X91.4068 Y13.9605
G1 Z0.0000
G1 X89.5054 Y12.5576
G1 X88.3163 Y10.3272
G1 X87.9200 Y7.3775
G1 X88.3163 Y4.4277
G1 X89.5054 Y2.1974
G1 X91.4068 Y0.7945
G1 X93.9210 Y0.3268
G1 X96.4230 Y0.7945
G1 X98.3074 Y2.1974
G1 X99.4964 Y4.4277
G1 X99.8928 Y7.3775
G1 X99.4964 Y10.3272
G1 X98.3074 Y12.5576
G1 X96.4230 Y13.9605
G1 X93.9210 Y14.4281
G1 X91.4068 Y13.9605
G0 Z3.0000
G0 X110.5233 Y10.4475
G1 Z0.0000
G1 X110.5136 Y14.3325
G1 X109.9203 Y14.4044
G1 X109.5410 Y14.4281
G1 X107.4499 Y13.8166
G1 X105.9132 Y11.8980
G1 Y14.1044
G1 X102.4313
G1 Y0.6746
G1 X105.9132
G1 Y6.8619
G1 X106.0931 Y8.6095
G1 X106.6329 Y9.8956
G1 X107.5156 Y10.6960
G1 X108.7046 Y10.9628
G1 X109.6091 Y10.8309
G1 X110.5234 Y10.4472
G0 Z3.0000
G0 X112.2740 Y0.6746
G1 Z0.0000
G1 X115.7560
G1 Y19.3324
G1 X112.2740
G1 Y0.6746
G0 Z3.0000
G0 X124.9373 Y13.8646
G1 Z0.0000
G1 X122.9435 Y14.4281
G1 X121.1101 Y13.9335
G1 X119.6366 Y12.4497
G1 X118.6665 Y10.1984
G1 X118.3431 Y7.3775
G1 X118.6665 Y4.5536
G1 X119.6366 Y2.2933
G1 X121.1101 Y0.8184
G1 X122.9435 Y0.3268
G1 X124.9471 Y0.8784
G1 X126.5324 Y2.6171
G1 Y0.6746
G1 X130.0338
G1 Y19.3324
G1 X126.5324
G1 Y12.1379
G1 X124.9373 Y13.8646
G0 Z3.0000
G0 X123.2572 Y3.6963
G1 Z0.0000
G1 X122.5350 Y4.4517
G1 X121.9514 Y7.3775
G1 X122.5350 Y10.3033
G1 X123.2572 Y11.0587
G1 X124.2371 Y11.3105
G1 X125.2218 Y11.0587
G1 X125.9391 Y10.3033
G1 X126.3841 Y9.0682
G1 X126.5324 Y7.3775
G1 X126.3841 Y5.6868
G1 X125.9391 Y4.4517
G1 X125.2218 Y3.6963
G1 X124.2371 Y3.4445
G1 X123.2572 Y3.6963
G0 Z3.0000
G0 X94.9252 Y11.1007
G1 Z0.0000
G1 X95.6619 Y10.3273
G1 X96.1142 Y9.0802
G1 X96.2650 Y7.3775
G1 X96.1142 Y5.6718
G1 X95.6619 Y4.4157
G1 X94.9252 Y3.6513
G1 X93.9210 Y3.3965
G1 X92.8997 Y3.6513
G1 X92.1508 Y4.4157
G1 X91.6986 Y5.6718
G1 X91.5478 Y7.3775
G1 X91.6986 Y9.0802
G1 X92.1508 Y10.3273
G1 X92.8997 Y11.1007
G1 X93.9210 Y11.3584
G1 X94.9252 Y11.1007
G0 Z3.0000
G0 X53.0254
G1 Z0.0000
G1 X53.7621 Y10.3273
G1 X54.2144 Y9.0802
G1 X54.3651 Y7.3775
G1 X54.2144 Y5.6718
G1 X53.7621 Y4.4157
G1 X53.0254 Y3.6513
G1 X52.0212 Y3.3965
G1 X50.9999 Y3.6513
G1 X50.2510 Y4.4157
G1 X49.7988 Y5.6718
G1 X49.6480 Y7.3775
G1 X49.7988 Y9.0802
G1 X50.2510 Y10.3273
G1 X50.9999 Y11.1007
G1 X52.0212 Y11.3584
G1 X53.0254 Y11.1007
G0 Z3.0000
G0 X22.4151 Y8.8524
G1 Z0.0000
G1 X23.2029 Y10.8668
G1 X23.9299 Y11.3974
G1 X24.8466 Y11.5743
G1 X25.6903 Y11.3854
G1 X26.3541 Y10.8189
G1 X26.9377 Y8.8524
G1 X22.4151
G0 Z3.0000
G0 Z3.0000
M2 (end program)
;PYCAM-META-DATA: Filename: /Users/takahasi/Desktop/helloworld.dxf
;PYCAM-META-DATA: Timestamp: 2012-09-17 19:34:47.608634
;PYCAM-META-DATA: Version: 0.5.1
;Estimated machine time: 5 minutes
G40 (disable tool radius compensation)
G49 (disable tool length compensation)
G80 (cancel modal motion)
G54 (select coordinate system 1)
G90 (disable incremental moves)
G21 (metric)
G61 (exact path mode)
F200.00000
S1000.00000
;PYCAM_TOOLPATH_SETTINGS: START
;[Bounds]
;maxz = 0.0
;maxx = 256.9586944
;maxy = 38.3379734
;minx = -123.8160346
;miny = -18.678729
;minz = 0.0
;
;[Tool]
;torus_radius = 0.25
;speed = 1000.0
;shape = SphericalCutter
;tool_radius = 5e-05
;feedrate = 200.0
;
;[Process]
;engrave_offset = 0.0
;step_down = 1.0
;generator = EngraveCutter
;postprocessor = SimpleCutter
;milling_style = climb
;material_allowance = 0.0
;pocketing_type = none
;path_direction = x
;
;PYCAM_TOOLPATH_SETTINGS: END
T4 M6
G0 Z3.0000
X3.1089 Y0.6746
G1 Z0.0000
X6.8534
Y8.2648
X12.3778
Y0.6746
X16.1223
Y18.5770
X12.3778
Y11.7542
X6.8534
Y18.5770
X3.1089
Y0.6746
G0 Z3.0000
X33.1429
G1 Z0.0000
X36.6248
Y19.3324
X33.1429
Y0.6746
G0 Z3.0000
X30.1302 Y10.2943
G1 Z0.0000
X28.9704 Y12.5216
X27.1759 Y13.9515
X24.8660 Y14.4281
X22.3470 Y13.9575
X20.4309 Y12.5456
X19.2273 Y10.3122
X18.8261 Y7.3775
X19.2346 Y4.4037
X20.4601 Y2.1734
X22.4321 Y0.7885
X25.0606 Y0.3268
X27.5310 Y0.6266
X30.0014 Y1.4899
Y4.7994
X27.6282 Y3.5764
X25.3815 Y3.1806
X24.1706 Y3.3695
X23.2612 Y3.9361
X22.6606 Y4.8804
X22.3762 Y6.2023
X30.5169
Y7.4255
X30.1302 Y10.2943
G0 Z3.0000
X39.9900 Y0.6746
G1 Z0.0000
X43.4719
Y19.3324
X39.9900
Y0.6746
G0 Z3.0000
X49.5070 Y13.9605
G1 Z0.0000
X47.6055 Y12.5576
X46.4165 Y10.3272
X46.0202 Y7.3775
X46.4165 Y4.4277
X47.6055 Y2.1974
X49.5070 Y0.7945
X52.0212 Y0.3268
X54.5232 Y0.7945
X56.4076 Y2.1974
X57.5966 Y4.4277
X57.9929 Y7.3775
X57.5966 Y10.3272
X56.4076 Y12.5576
X54.5232 Y13.9605
X52.0212 Y14.4281
X49.5070 Y13.9605
G0 Z3.0000
X69.8296 Y0.6746
G1 Z0.0000
X74.1479
X76.7545 Y14.2842
X79.3903 Y0.6746
X83.7086
X87.1322 Y18.5770
X83.5725
X81.0631 Y5.5668
X78.5733 Y18.5770
X74.9649
X72.4750 Y5.5668
X69.9657 Y18.5770
X66.3768
X69.8296 Y0.6746
G0 Z3.0000
X91.4068 Y13.9605
G1 Z0.0000
X89.5054 Y12.5576
X88.3163 Y10.3272
X87.9200 Y7.3775
X88.3163 Y4.4277
X89.5054 Y2.1974
X91.4068 Y0.7945
X93.9210 Y0.3268
X96.4230 Y0.7945
X98.3074 Y2.1974
X99.4964 Y4.4277
X99.8928 Y7.3775
X99.4964 Y10.3272
X98.3074 Y12.5576
X96.4230 Y13.9605
X93.9210 Y14.4281
X91.4068 Y13.9605
G0 Z3.0000
X110.5233 Y10.4475
G1 Z0.0000
X110.5136 Y14.3325
X109.9203 Y14.4044
X109.5410 Y14.4281
X107.4499 Y13.8166
X105.9132 Y11.8980
Y14.1044
X102.4313
Y0.6746
X105.9132
Y6.8619
X106.0931 Y8.6095
X106.6329 Y9.8956
X107.5156 Y10.6960
X108.7046 Y10.9628
X109.6091 Y10.8309
X110.5234 Y10.4472
G0 Z3.0000
X112.2740 Y0.6746
G1 Z0.0000
X115.7560
Y19.3324
X112.2740
Y0.6746
G0 Z3.0000
X124.9373 Y13.8646
G1 Z0.0000
X122.9435 Y14.4281
X121.1101 Y13.9335
X119.6366 Y12.4497
X118.6665 Y10.1984
X118.3431 Y7.3775
X118.6665 Y4.5536
X119.6366 Y2.2933
X121.1101 Y0.8184
X122.9435 Y0.3268
X124.9471 Y0.8784
X126.5324 Y2.6171
Y0.6746
X130.0338
Y19.3324
X126.5324
Y12.1379
X124.9373 Y13.8646
G0 Z3.0000
X123.2572 Y3.6963
G1 Z0.0000
X122.5350 Y4.4517
X121.9514 Y7.3775
X122.5350 Y10.3033
X123.2572 Y11.0587
X124.2371 Y11.3105
X125.2218 Y11.0587
X125.9391 Y10.3033
X126.3841 Y9.0682
X126.5324 Y7.3775
X126.3841 Y5.6868
X125.9391 Y4.4517
X125.2218 Y3.6963
X124.2371 Y3.4445
X123.2572 Y3.6963
G0 Z3.0000
X94.9252 Y11.1007
G1 Z0.0000
X95.6619 Y10.3273
X96.1142 Y9.0802
X96.2650 Y7.3775
X96.1142 Y5.6718
X95.6619 Y4.4157
X94.9252 Y3.6513
X93.9210 Y3.3965
X92.8997 Y3.6513
X92.1508 Y4.4157
X91.6986 Y5.6718
X91.5478 Y7.3775
X91.6986 Y9.0802
X92.1508 Y10.3273
X92.8997 Y11.1007
X93.9210 Y11.3584
X94.9252 Y11.1007
G0 Z3.0000
X53.0254
G1 Z0.0000
X53.7621 Y10.3273
X54.2144 Y9.0802
X54.3651 Y7.3775
X54.2144 Y5.6718
X53.7621 Y4.4157
X53.0254 Y3.6513
X52.0212 Y3.3965
X50.9999 Y3.6513
X50.2510 Y4.4157
X49.7988 Y5.6718
X49.6480 Y7.3775
X49.7988 Y9.0802
X50.2510 Y10.3273
X50.9999 Y11.1007
X52.0212 Y11.3584
X53.0254 Y11.1007
G0 Z3.0000
X22.4151 Y8.8524
G1 Z0.0000
X23.2029 Y10.8668
X23.9299 Y11.3974
X24.8466 Y11.5743
X25.6903 Y11.3854
X26.3541 Y10.8189
X26.9377 Y8.8524
X22.4151
G0 Z3.0000
G0 Z3.0000
M2 (end program)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment