Last active
January 26, 2018 21:55
-
-
Save paulkaplan/8359802 to your computer and use it in GitHub Desktop.
Vectric configuration file for Shapeoko (mm, with arcs)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+================================================ | |
+ | |
+ Vectric machine output configuration file | |
+ | |
+================================================ | |
+ | |
+ History | |
+ | |
+ Who When What | |
+ ======== ========== =========================== | |
+ Paul K. 10/01/2013 Written | |
+================================================ | |
POST_NAME = "Shapeoko (mm) (*.gcode)" | |
FILE_EXTENSION = "gcode" | |
UNITS = "MM" | |
+------------------------------------------------ | |
+ Line terminating characters | |
+------------------------------------------------ | |
LINE_ENDING = "[13][10]" | |
+------------------------------------------------ | |
+ Block numbering | |
+------------------------------------------------ | |
LINE_NUMBER_START = 0 | |
LINE_NUMBER_INCREMENT = 10 | |
LINE_NUMBER_MAXIMUM = 999999 | |
+================================================ | |
+ | |
+ Formating for variables | |
+ | |
+================================================ | |
VAR LINE_NUMBER = [N|A|N|1.0] | |
VAR SPINDLE_SPEED = [S|A|S|1.0] | |
VAR FEED_RATE = [F|C|F|1.1] | |
VAR X_POSITION = [X|C|X|1.4] | |
VAR Y_POSITION = [Y|C|Y|1.4] | |
VAR Z_POSITION = [Z|C|Z|1.4] | |
VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.4] | |
VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.4] | |
VAR X_HOME_POSITION = [XH|A|X|1.4] | |
VAR Y_HOME_POSITION = [YH|A|Y|1.4] | |
VAR Z_HOME_POSITION = [ZH|A|Z|1.4] | |
+================================================ | |
+ | |
+ Block definitions for toolpath output | |
+ | |
+================================================ | |
+--------------------------------------------------- | |
+ Commands output at the start of the file | |
+--------------------------------------------------- | |
begin HEADER | |
"T1M6" | |
"G17" | |
"G20" | |
"G0 [ZH]" | |
"G0 [XH] [YH] [S] M3" | |
+--------------------------------------------------- | |
+ Commands output for rapid moves | |
+--------------------------------------------------- | |
begin RAPID_MOVE | |
"G0 [X] [Y] [Z]" | |
+--------------------------------------------------- | |
+ Commands output for the first feed rate move | |
+--------------------------------------------------- | |
begin FIRST_FEED_MOVE | |
"G1 [X] [Y] [Z] [F]" | |
+--------------------------------------------------- | |
+ Commands output for feed rate moves | |
+--------------------------------------------------- | |
begin FEED_MOVE | |
"G1 [X] [Y] [Z]" | |
+--------------------------------------------------- | |
+ Commands output for the first clockwise arc move | |
+--------------------------------------------------- | |
begin FIRST_CW_ARC_MOVE | |
"G2 [X] [Y] [I] [J] [F]" | |
+--------------------------------------------------- | |
+ Commands output for clockwise arc move | |
+--------------------------------------------------- | |
begin CW_ARC_MOVE | |
"G2 [X] [Y] [I] [J]" | |
+--------------------------------------------------- | |
+ Commands output for the first counterclockwise arc move | |
+--------------------------------------------------- | |
begin FIRST_CCW_ARC_MOVE | |
"G3 [X] [Y] [I] [J] [F]" | |
+--------------------------------------------------- | |
+ Commands output for counterclockwise arc move | |
+--------------------------------------------------- | |
begin CCW_ARC_MOVE | |
"G3 [X] [Y] [I] [J]" | |
+--------------------------------------------------- | |
+ Commands output at the end of the file | |
+--------------------------------------------------- | |
begin FOOTER | |
"G0 [ZH]" | |
"G0 [XH] [YH]" | |
"M30" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
G20 has to be changed to G21 since units are MM.