Skip to content

Commit 46223fd

Browse files
Update
0 parents  commit 46223fd

File tree

2 files changed

+189
-0
lines changed

2 files changed

+189
-0
lines changed

OpenBuilds_inch.pp

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
+================================================
2+
+
3+
+ Grbl - Vectric machine output configuration file
4+
+
5+
+================================================
6+
+
7+
+ History
8+
+
9+
+ Who When What
10+
+ ======== ========== ===========================
11+
+ EdwardP 28/11/2014 Written from GCode_mm.pp
12+
+ Added arc move support
13+
+ EdwardP 11/02/2015 Commented out arcs as these
14+
+ slow GRBL performance appear
15+
+ interpolated anyway
16+
+ EdwardP 18/06/2015 Explicitly set absolute mode (G90)
17+
+ Mark 24/11/2015 Updated for interim 0.9 spec.
18+
+ Renaming to be machine specific.
19+
+ Removing M30 from Footer.
20+
+ EdwardP 01/02/2018 Updated according to 1.1 spec
21+
+ Changed to 1.3 precision
22+
+ Spindle off (M5) in footer
23+
+ Added VTransfer Direct Output
24+
+ EdwardP 07/12/2018 Added grbl laser 1.1 support.
25+
+ - Power variable (0-1000 range)
26+
+ - Power on change only
27+
+ - [P] added to feedrate records
28+
+ - New laser record types:
29+
+ o JET_TOOL_ON
30+
+ o JET_TOOL_OFF
31+
+ o JET_TOOL_POWER
32+
+ MohamedM 13/12/2018 Move M3 and [S] from the header
33+
+ to a new SPINDLE_ON section which
34+
+ is not output in laser toolpaths
35+
+ or when the spindle speed is invalid (negative).
36+
+ EdwardP 20/12/2018 Re-enabled arcs in response to
37+
+ customer feedback ZD105327
38+
+ CharlotteP 26/03/2020 Updated to open builds from base
39+
+ grbl with ZD141201
40+
+ PetervdWalt 11/6/2020 Updated Header to include G20/G90 Modals
41+
+ for OpenBuilds BlackBox
42+
+ ======== ========== ===========================
43+
44+
POST_NAME = "OpenBuilds GRBL (Inches) (*.GCODE)"
45+
46+
POST_BASE = "Grbl_inch.pp"
47+
48+
FILE_EXTENSION = "GCODE"
49+
50+
UNITS = "INCHES"
51+
52+
+------------------------------------------------
53+
+ Line terminating characters
54+
+------------------------------------------------
55+
56+
LINE_ENDING = "[13][10]"
57+
58+
+------------------------------------------------
59+
+ Block numbering
60+
+------------------------------------------------
61+
62+
LINE_NUMBER_START = 0
63+
LINE_NUMBER_INCREMENT = 10
64+
LINE_NUMBER_MAXIMUM = 999999
65+
66+
+================================================
67+
+
68+
+ Formating for variables
69+
+
70+
+================================================
71+
72+
VAR LINE_NUMBER = [N|A|N|1.0]
73+
VAR SPINDLE_SPEED = [S|A|S|1.0]
74+
VAR FEED_RATE = [F|C|F|1.1]
75+
VAR X_POSITION = [X|C|X|1.4]
76+
VAR Y_POSITION = [Y|C|Y|1.4]
77+
VAR Z_POSITION = [Z|C|Z|1.4]
78+
VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.4]
79+
VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.4]
80+
VAR X_HOME_POSITION = [XH|A|X|1.4]
81+
VAR Y_HOME_POSITION = [YH|A|Y|1.4]
82+
VAR Z_HOME_POSITION = [ZH|A|Z|1.4]
83+
84+
+================================================
85+
+
86+
+ Block definitions for toolpath output
87+
+
88+
+================================================
89+
90+
+---------------------------------------------------
91+
+ Commands output at the start of the file
92+
+---------------------------------------------------
93+
94+
begin HEADER
95+
96+
"T1"
97+
"G17"
98+
"G20"
99+
"G90"
100+
"G0[ZH]"
101+
"G0[XH][YH]"
102+
103+
104+
+---------------------------------------------------
105+
+ Command output after the header to switch spindle on
106+
+---------------------------------------------------
107+
108+
begin SPINDLE_ON
109+
110+
"M3[S]"
111+
"G4 P1.8"

OpenBuilds_mm.pp

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
+================================================
2+
+
3+
+ Grbl - Vectric machine output configuration file
4+
+
5+
+================================================
6+
+
7+
+ History
8+
+
9+
+ Who When What
10+
+ ======== ========== ===========================
11+
+ EdwardP 28/11/2014 Written from GCode_mm.pp
12+
+ Added arc move support
13+
+ EdwardP 11/02/2015 Commented out arcs as these
14+
+ slow GRBL performance appear
15+
+ interpolated anyway
16+
+ EdwardP 18/06/2015 Explicitly set absolute mode (G90)
17+
+ Mark 24/11/2015 Updated for interim 0.9 spec.
18+
+ Renaming to be machine specific.
19+
+ Removing M30 from Footer.
20+
+ EdwardP 01/02/2018 Updated according to 1.1 spec
21+
+ Changed to 1.3 precision
22+
+ Spindle off (M5) in footer
23+
+ Added VTransfer Direct Output
24+
+ EdwardP 07/12/2018 Added grbl laser 1.1 support.
25+
+ - Power variable (0-1000 range)
26+
+ - Power on change only
27+
+ - [P] added to feedrate records
28+
+ - New laser record types:
29+
+ o JET_TOOL_ON
30+
+ o JET_TOOL_OFF
31+
+ o JET_TOOL_POWER
32+
+ MohamedM 13/12/2018 Move M3 and [S] from the header
33+
+ to a new SPINDLE_ON section which
34+
+ is not output in laser toolpaths
35+
+ or when the spindle speed is invalid (negative).
36+
+ EdwardP 20/12/2018 Re-enabled arcs in response to
37+
+ customer feedback ZD105327
38+
+ CharlotteP 26/03/2020 Updated to open builds from base
39+
+ grbl with ZD141201
40+
+ PetervdWalt 11/6/2020 Updated Header to include G20/G90 Modals
41+
+ for OpenBuilds BlackBox
42+
+ ======== ========== ===========================
43+
44+
POST_NAME = "OpenBuilds GRBL (mm) (*.GCODE)"
45+
46+
POST_BASE = "Grbl_mm.pp"
47+
48+
FILE_EXTENSION = "GCODE"
49+
50+
51+
+================================================
52+
+
53+
+ Block definitions for toolpath output
54+
+
55+
+================================================
56+
57+
+---------------------------------------------------
58+
+ Commands output at the start of the file
59+
+---------------------------------------------------
60+
61+
begin HEADER
62+
63+
"T1"
64+
"G17"
65+
"G21"
66+
"G90"
67+
"G0[ZH]"
68+
"G0[XH][YH]"
69+
70+
71+
+---------------------------------------------------
72+
+ Command output after the header to switch spindle on
73+
+---------------------------------------------------
74+
75+
begin SPINDLE_ON
76+
77+
"M3[S]"
78+
"G4 P1.8"

0 commit comments

Comments
 (0)