Skip to content

Commit 2a2badf

Browse files
committed
c
1 parent 94deb7b commit 2a2badf

33 files changed

+95
-34
lines changed

.vscode/launch.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
78

89

910

@@ -100,7 +101,7 @@
100101
"program": "pycut.py",
101102
"console": "integratedTerminal",
102103
"cwd": "C:\\Users\\xavie\\Documents\\GITHUB\\pycut",
103-
"args": ["-j", "xx.json"]
104+
"args": ["-j", "vise2-front_and_back_parts.json"]
104105
},
105106
{
106107
"name": "PYCUT HOLDER",

gcodesimulator_python/tests/job.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"overlap": 0.4,
3434
"rapid": 500,
3535
"plunge": 100,
36-
"cut": 250
36+
"cut": 250,
37+
"helix_pitch": 0.2
3738
},
3839
"Material": {
3940
"units": "mm",
@@ -48,6 +49,7 @@
4849
"GCodeConversion": {
4950
"units": "mm",
5051
"flip_xy": false,
52+
"use_offset": false,
5153
"x_offset": 0.0,
5254
"y_offset": 0.0,
5355
"xy_reference": "ZERO_TOP_LEFT_OF_MATERIAL"

jobs/cnc1310_horizontal_plate.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@
232232
"overlap": 0.6,
233233
"rapid": 500,
234234
"plunge": 100,
235-
"cut": 200
235+
"cut": 200,
236+
"helix_pitch": 0.2
236237
},
237238
"Material": {
238239
"units": "mm",
@@ -247,6 +248,7 @@
247248
"GCodeConversion": {
248249
"units": "mm",
249250
"flip_xy": false,
251+
"use_offset": false,
250252
"x_offset": -37.0,
251253
"y_offset": 58.25,
252254
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc1310_s52-90mm_plate.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@
131131
"overlap": 0.4,
132132
"rapid": 500,
133133
"plunge": 100,
134-
"cut": 250
134+
"cut": 250,
135+
"helix_pitch": 0.2
135136
},
136137
"Material": {
137138
"units": "mm",
@@ -146,6 +147,7 @@
146147
"GCodeConversion": {
147148
"units": "mm",
148149
"flip_xy": false,
150+
"use_offset": false,
149151
"x_offset": 0.0,
150152
"y_offset": 0.0,
151153
"xy_reference": "ZERO_TOP_LEFT_OF_MATERIAL"

jobs/cnc1310_s52_90x110.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@
216216
"overlap": 0.4,
217217
"rapid": 500,
218218
"plunge": 100,
219-
"cut": 300
219+
"cut": 300,
220+
"helix_pitch": 0.2
220221
},
221222
"Material": {
222223
"units": "mm",
@@ -231,6 +232,7 @@
231232
"GCodeConversion": {
232233
"units": "mm",
233234
"flip_xy": false,
235+
"use_offset": false,
234236
"x_offset": -45.0,
235237
"y_offset": 55.0,
236238
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc1310_s52_90x111_only_bearings.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@
8686
"overlap": 0.4,
8787
"rapid": 500,
8888
"plunge": 100,
89-
"cut": 250
89+
"cut": 250,
90+
"helix_pitch": 0.2
9091
},
9192
"Material": {
9293
"units": "mm",
@@ -101,6 +102,7 @@
101102
"GCodeConversion": {
102103
"units": "mm",
103104
"flip_xy": false,
105+
"use_offset": false,
104106
"x_offset": -45.0,
105107
"y_offset": 16.0,
106108
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc1310_test_backlash.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@
8989
"overlap": 0.5,
9090
"rapid": 500,
9191
"plunge": 100,
92-
"cut": 200
92+
"cut": 200,
93+
"helix_pitch": 0.2
9394
},
9495
"Material": {
9596
"units": "mm",
@@ -104,6 +105,7 @@
104105
"GCodeConversion": {
105106
"units": "mm",
106107
"flip_xy": false,
108+
"use_offset": false,
107109
"x_offset": -20.0,
108110
"y_offset": 20.0,
109111
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc1310_test_bearings.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"overlap": 0.4,
5151
"rapid": 500,
5252
"plunge": 100,
53-
"cut": 200
53+
"cut": 200,
54+
"helix_pitch": 0.2
5455
},
5556
"Material": {
5657
"units": "mm",
@@ -65,6 +66,7 @@
6566
"GCodeConversion": {
6667
"units": "mm",
6768
"flip_xy": false,
69+
"use_offset": false,
6870
"x_offset": -26.0,
6971
"y_offset": 26.0,
7072
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc1310_test_motor_stepper.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
"overlap": 0.4,
6868
"rapid": 500,
6969
"plunge": 100,
70-
"cut": 250
70+
"cut": 250,
71+
"helix_pitch": 0.2
7172
},
7273
"Material": {
7374
"units": "mm",
@@ -82,6 +83,7 @@
8283
"GCodeConversion": {
8384
"units": "mm",
8485
"flip_xy": false,
86+
"use_offset": false,
8587
"x_offset": -40.0,
8688
"y_offset": 40.0,
8789
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc1419-vise1-fixed-part-screws.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
"overlap": 0.95,
6363
"rapid": 500,
6464
"plunge": 100,
65-
"cut": 250
65+
"cut": 250,
66+
"helix_pitch": 0.2
6667
},
6768
"Material": {
6869
"units": "mm",
@@ -77,6 +78,7 @@
7778
"GCodeConversion": {
7879
"units": "mm",
7980
"flip_xy": false,
81+
"use_offset": false,
8082
"x_offset": -50.0,
8183
"y_offset": 10.0,
8284
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc1419_vise1.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@
106106
"overlap": 0.4,
107107
"rapid": 500,
108108
"plunge": 100,
109-
"cut": 250
109+
"cut": 250,
110+
"helix_pitch": 0.2
110111
},
111112
"Material": {
112113
"units": "mm",
@@ -121,6 +122,7 @@
121122
"GCodeConversion": {
122123
"units": "mm",
123124
"flip_xy": false,
125+
"use_offset": false,
124126
"x_offset": -30.0,
125127
"y_offset": 90.0,
126128
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc1419_vise1_2shafts.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103
"overlap": 0.4,
104104
"rapid": 500,
105105
"plunge": 5,
106-
"cut": 250
106+
"cut": 250,
107+
"helix_pitch": 0.2
107108
},
108109
"Material": {
109110
"units": "mm",
@@ -118,6 +119,7 @@
118119
"GCodeConversion": {
119120
"units": "mm",
120121
"flip_xy": true,
122+
"use_offset": false,
121123
"x_offset": -10.0,
122124
"y_offset": 30.0,
123125
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc1419_vise2.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@
108108
"overlap": 0.4,
109109
"rapid": 500,
110110
"plunge": 100,
111-
"cut": 250
111+
"cut": 250,
112+
"helix_pitch": 0.2
112113
},
113114
"Material": {
114115
"units": "mm",
@@ -123,6 +124,7 @@
123124
"GCodeConversion": {
124125
"units": "mm",
125126
"flip_xy": false,
127+
"use_offset": false,
126128
"x_offset": -10.0,
127129
"y_offset": 15.0,
128130
"xy_reference": "ZERO_TOP_LEFT_OF_MATERIAL"

jobs/cnc_all_letters.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,8 @@
747747
"overlap": 0.5,
748748
"rapid": 1000,
749749
"plunge": 127,
750-
"cut": 1000
750+
"cut": 1000,
751+
"helix_pitch": 0.2
751752
},
752753
"Material": {
753754
"units": "inch",
@@ -762,6 +763,7 @@
762763
"GCodeConversion": {
763764
"units": "mm",
764765
"flip_xy": false,
766+
"use_offset": false,
765767
"x_offset": 0.0,
766768
"y_offset": 100.0,
767769
"xy_reference": "ZERO_LOWER_LEFT_OF_OP"

jobs/cnc_all_letters_slaine.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@
117117
"overlap": 0.5,
118118
"rapid": 500,
119119
"plunge": 100,
120-
"cut": 200
120+
"cut": 200,
121+
"helix_pitch": 0.2
121122
},
122123
"Material": {
123124
"units": "mm",
@@ -132,6 +133,7 @@
132133
"GCodeConversion": {
133134
"units": "mm",
134135
"flip_xy": false,
136+
"use_offset": false,
135137
"x_offset": 0.0,
136138
"y_offset": 0.0,
137139
"xy_reference": "ZERO_TOP_LEFT_OF_MATERIAL"

jobs/cnc_all_letters_tudor.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,8 @@
748748
"overlap": 0.5,
749749
"rapid": 1000,
750750
"plunge": 1000,
751-
"cut": 1000
751+
"cut": 1000,
752+
"helix_pitch": 0.2
752753
},
753754
"Material": {
754755
"units": "mm",
@@ -763,6 +764,7 @@
763764
"GCodeConversion": {
764765
"units": "mm",
765766
"flip_xy": false,
767+
"use_offset": false,
766768
"x_offset": -10.08,
767769
"y_offset": 29.66,
768770
"xy_reference": "ZERO_LOWER_LEFT_OF_OP"

jobs/cnc_circle.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
"overlap": 0.6,
4848
"rapid": 1000,
4949
"plunge": 127,
50-
"cut": 1000
50+
"cut": 1000,
51+
"helix_pitch": 0.2
5152
},
5253
"Material": {
5354
"units": "mm",
@@ -62,6 +63,7 @@
6263
"GCodeConversion": {
6364
"units": "mm",
6465
"flip_xy": false,
66+
"use_offset": false,
6567
"x_offset": -100.0,
6668
"y_offset": 50.0,
6769
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc_control_panel.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@
174174
"overlap": 0.6,
175175
"rapid": 1000,
176176
"plunge": 127,
177-
"cut": 1000
177+
"cut": 1000,
178+
"helix_pitch": 0.2
178179
},
179180
"Material": {
180181
"units": "mm",
@@ -189,6 +190,7 @@
189190
"GCodeConversion": {
190191
"units": "mm",
191192
"flip_xy": true,
193+
"use_offset": false,
192194
"x_offset": -8.85,
193195
"y_offset": 51.15,
194196
"xy_reference": "ZERO_LOWER_LEFT_OF_OP"

jobs/cnc_polyline.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@
6464
"overlap": 0.6,
6565
"rapid": 1000,
6666
"plunge": 127,
67-
"cut": 1000
67+
"cut": 1000,
68+
"helix_pitch": 0.2
6869
},
6970
"Material": {
7071
"units": "mm",
@@ -79,6 +80,7 @@
7980
"GCodeConversion": {
8081
"units": "mm",
8182
"flip_xy": false,
83+
"use_offset": false,
8284
"x_offset": -75.0,
8385
"y_offset": 48.0,
8486
"xy_reference": "ZERO_CENTER_OF_OP"

jobs/cnc_test_svgelement.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@
128128
"overlap": 0.6,
129129
"rapid": 1000,
130130
"plunge": 127,
131-
"cut": 1000
131+
"cut": 1000,
132+
"helix_pitch": 0.2
132133
},
133134
"Material": {
134135
"units": "mm",
@@ -143,6 +144,7 @@
143144
"GCodeConversion": {
144145
"units": "mm",
145146
"flip_xy": false,
147+
"use_offset": false,
146148
"x_offset": 0.0,
147149
"y_offset": 0.0,
148150
"xy_reference": "ZERO_TOP_LEFT_OF_MATERIAL"

jobs/cnc_three_rects.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@
138138
"overlap": 0.6,
139139
"rapid": 1000,
140140
"plunge": 127,
141-
"cut": 1000
141+
"cut": 1000,
142+
"helix_pitch": 0.2
142143
},
143144
"Material": {
144145
"units": "mm",
@@ -153,6 +154,7 @@
153154
"GCodeConversion": {
154155
"units": "mm",
155156
"flip_xy": false,
157+
"use_offset": false,
156158
"x_offset": 0.0,
157159
"y_offset": 0.0,
158160
"xy_reference": "ZERO_TOP_LEFT_OF_MATERIAL"

jobs/cnc_three_rects_with_circle.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@
207207
"overlap": 0.6,
208208
"rapid": 500,
209209
"plunge": 100,
210-
"cut": 200
210+
"cut": 200,
211+
"helix_pitch": 0.2
211212
},
212213
"Material": {
213214
"units": "mm",
@@ -222,6 +223,7 @@
222223
"GCodeConversion": {
223224
"units": "mm",
224225
"flip_xy": false,
226+
"use_offset": false,
225227
"x_offset": 0.0,
226228
"y_offset": 0.0,
227229
"xy_reference": "ZERO_TOP_LEFT_OF_MATERIAL"

0 commit comments

Comments
 (0)