Vectric Aspire Post Processor for SO3

Post Reply
woodworkerbob
Posts: 243
Joined: Tue Apr 15, 2014 6:31 pm
Location: SVEMakerSpaces - Mesa, AZ

Vectric Aspire Post Processor for SO3

Post by woodworkerbob » Thu Nov 12, 2015 1:05 am

Just sent the post processor I wrote to a requestor. Not going to ask if someone else wants it, just going to include it. As a bonus anyone suffering from insomnia and just start reading this stuff and be asleep in minutes.

This is an "inch" or standard version. If a metric version is needed, only a couple of changes are required.

This software must not be sold. This software must be distributed at no cost. No warranties are implied or given. Hey, it's free and worth the price.

Bob

Code: Select all

+================================================
+  
+  Shapeoko 3 with GRBL
+                                                
+================================================
+                                                
+ History           atc added                                
+                                                
+ Who      When       What                         
+ ======== ========== ===========================
+ B.Turner 28FEB15    Started with Mesa High Version and the Shapeoko 2 version
+                     from the Shapeoko Forum
+                     Did not understand Set Home in the header, but left in
+ B.Turner 14JUN15    Added G90 Command
+ B.Turner 15JUN15    Commented out Home
+
+================================================

POST_NAME = "Shapeoko3 (inch) (*.nc)"

FILE_EXTENSION = "nc"

UNITS = "INCHES"

+------------------------------------------------
+    Line terminating characters                 
+------------------------------------------------

LINE_ENDING = "[13][10]"

+------------------------------------------------
+    Block numbering                             
+------------------------------------------------

LINE_NUMBER_START = 10
LINE_NUMBER_INCREMENT = 10
LINE_NUMBER_MAXIMUM = 999999

+================================================
+                                                
+    Formating for variables                     
+                                                
+================================================

VAR LINE_NUMBER = [N|A|N|05.0]
VAR SPINDLE_SPEED = [S|A| S|1.0]
VAR FEED_RATE = [F|C| F|1.0]
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 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]
VAR ARC_CENTRE_I_INC_POSITION = [I|A| I|1.4]
VAR ARC_CENTRE_J_INC_POSITION = [J|A| J|1.4]


+================================================
+                                                
+    Block definitions for toolpath output       
+                                                
+================================================

+---------------------------------------------------
+  Commands output at the start of the file
+---------------------------------------------------

begin HEADER

"[N] ; ---------------------------------------------"
"[N] ; Filename: [TP_FILENAME]"
"[N] ; Created:  [DATE]   [TIME]"
"[N] ; Generated from Aspire for Shapeoko 3/GRBL"
"[N] ;     "
"[N] ; Tools: [TOOLS_USED]"
"[N] ; ---------------------------------------------"
"[N] ; Circular Interpolation Plane Selection XY"
"[N] G17"
"[N] ; Select Inches Units"
"[N] G20"
"[N] ; No Tool Offset"
"[N] G49"
"[N] ; Distance Mode Absolute"
"[N] G90"
"[N] ; ---------------------------------------------"
"[N] ; Toolchange:    T[T] - Speed:[S]"
"[N] ; Tool:          [TOOLNAME]"
"[N] ; Tool Pathname: [TOOLPATH_NAME]"
"[N] ; ---------------------------------------------"
"[N] ; Start Tool Change"
"[N] T[T] M6"
"[N] ; Spindle on CW"
"[N] M3 [S][F]"
"[N] ; Pause for 1 second"
"[N] G4 P1"
"[N] ; Set Home"
"[N] ;G0 [ZH]"
"[N] ;G0 [XH][YH]"
"[N] ; ---------------------------------------------"

+---------------------------------------------------
+  Commands output for rapid moves 
+---------------------------------------------------

begin RAPID_MOVE

"[N] G0[X][Y][Z]"

+---------------------------------------------------
+  Commands output for feed rate moves
+---------------------------------------------------

begin FEED_MOVE

"[N] G1[X][Y][Z][F]"

+---------------------------------------------------
+  Commands output for the first clockwise arc move
+---------------------------------------------------

begin FIRST_CW_ARC_MOVE

"[N] G2[X][Y][I][J][F]"

+---------------------------------------------------
+  Commands output for clockwise arc  move
+---------------------------------------------------

begin CW_ARC_MOVE

"[N] G2[X][Y][I][J]"

+---------------------------------------------------
+  Commands output for the first counterclockwise arc move
+---------------------------------------------------

begin FIRST_CCW_ARC_MOVE

"[N] G3[X][Y][I][J][F]"

+---------------------------------------------------
+  Commands output for counterclockwise arc  move
+---------------------------------------------------

begin CCW_ARC_MOVE

"[N] G3[X][Y][I][J]"

+---------------------------------------------------
+  Commands output at toolchange
+---------------------------------------------------

begin TOOLCHANGE

"[N] ; ---------------------------------------------"
"[N] ; Toolchange:    T[T] - Speed:[S]"
"[N] ; Tool:          [TOOLNAME]"
"[N] ; Tool Pathname: [TOOLPATH_NAME]"
"[N] ; ---------------------------------------------"
"[N] ; Start Tool Change"
"[N] ; Turn off the spindle"
"[N] M5"
"[N] ; Change the tool"
"[N] T[T] M6"
"[N] ; Spindle on CW"
"[N] M3 [S][F]"
"[N] ; Pause for 1 second"
"[N] G4 P1"
"[N] ; ---------------------------------------------"

+---------------------------------------------------
+  Commands output at the end of the file
+---------------------------------------------------

begin FOOTER

"[N] ; ---------------------------------------------"
"[N] ; End of Job"
"[N] ; ---------------------------------------------"
"[N] ; Spindle off"
"[N] M5"
"[N] ; Pause for 1 second"
"[N] G4 P1"
"[N] ; Rapid move to home"
"[N] ;G0 [ZH]"
"[N] ;G0 [XH][YH]"
"[N] ; Unload Current Tool"
"[N] ; M6 T0 "
"[N] ; End-Custom M Code"
"[N] M30"

Shapeoko 3 - #13, dust deputy, precision collets, limit switches.
SVEMakerSpaces

cvoinescu
Posts: 4442
Joined: Thu Jul 19, 2012 6:50 pm
Location: Camberley, UK
Contact:

Re: Vectric Aspire Post Processor for SO3

Post by cvoinescu » Thu Nov 12, 2015 1:41 am

Just curious, what makes it specific to the Shapeoko 3?
Proud owner of ShapeOko #709, eShapeOko #0, and of store.amberspyglass.co.uk

woodworkerbob
Posts: 243
Joined: Tue Apr 15, 2014 6:31 pm
Location: SVEMakerSpaces - Mesa, AZ

Re: Vectric Aspire Post Processor for SO3

Post by woodworkerbob » Thu Nov 12, 2015 1:59 am

cvoinescu wrote:Just curious, what makes it specific to the Shapeoko 3?
I have only run the Gcode generated from this post processor on an SO3. The post processor MAY work for any GRBL based machine. Just don't know.

Bob
Shapeoko 3 - #13, dust deputy, precision collets, limit switches.
SVEMakerSpaces

CastIrony
Posts: 650
Joined: Mon Jul 21, 2014 10:21 pm
Location: Portland, OR

Re: Vectric Aspire Post Processor for SO3

Post by CastIrony » Thu Nov 12, 2015 6:06 pm

Comparing that post processor to the stock Vectric Grbl 0.8 one, there isn't much different. Yours uses line numbers, and has a few more commands at the beginning and end, and a tool change block. Otherwise they seem to be functionally identical.
Shapeoko 3 #192 - Complete! Needs limit switches.

woodworkerbob
Posts: 243
Joined: Tue Apr 15, 2014 6:31 pm
Location: SVEMakerSpaces - Mesa, AZ

Re: Vectric Aspire Post Processor for SO3

Post by woodworkerbob » Thu Nov 12, 2015 7:20 pm

CastIrony wrote:Comparing that post processor to the stock Vectric Grbl 0.8 one, there isn't much different. Yours uses line numbers, and has a few more commands at the beginning and end, and a tool change block. Otherwise they seem to be functionally identical.
I donate this version of an Aspire post processor to the cause. I'll even offer to make any changes as requested. The big differences in post processors is with tool changing, start job, and end job as you noticed. After that it's just formatting preferences. This version includes quite a bit of "fluff", gcode comments, to document the file.

Bob
Shapeoko 3 - #13, dust deputy, precision collets, limit switches.
SVEMakerSpaces

jbc
Posts: 95
Joined: Sun Aug 23, 2015 3:15 pm
Location: Visalia, CA
Contact:

Re: Vectric Aspire Post Processor for SO3

Post by jbc » Sun Nov 22, 2015 10:53 pm

Thank you for the work!
I'll dive in tomorrow.

jbc
jbc
VCarvePro 8
3D Printing prototypes
Sketchup
http://www.CaffeineMachine.com

DannyBoyNYC
Posts: 14
Joined: Sat Mar 07, 2015 5:16 pm
Location: Brooklyn

Re: Vectric Aspire Post Processor for SO3

Post by DannyBoyNYC » Mon Dec 07, 2015 12:23 am

Thanks for this.

Haven't installed and tested it yet but am curious to know if it removes the need to set the z axis zero point at the bottom of the stock.

CastIrony
Posts: 650
Joined: Mon Jul 21, 2014 10:21 pm
Location: Portland, OR

Re: Vectric Aspire Post Processor for SO3

Post by CastIrony » Mon Dec 07, 2015 12:43 am

DannyBoyNYC wrote:Thanks for this.

Haven't installed and tested it yet but am curious to know if it removes the need to set the z axis zero point at the bottom of the stock.
I've tried the built-in Grbl 0.8c post processor a few times, with the z zero point at the top of the stock, and haven't seen the issue you mentioned. I think you're zeroing the machine incorrectly.
Shapeoko 3 #192 - Complete! Needs limit switches.

Post Reply