- some small changes in preprocessors
This commit is contained in:
@@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
|
|||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
28.02.2020
|
||||||
|
|
||||||
|
- some small changes in preprocessors
|
||||||
|
|
||||||
25.02.2020
|
25.02.2020
|
||||||
|
|
||||||
- fixed bug in Gerber parser: it tried to calculate a len() for a single element and not a list - a Gerber generated by Eagle exhibited this
|
- fixed bug in Gerber parser: it tried to calculate a len() for a single element and not a list - a Gerber generated by Eagle exhibited this
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
from FlatCAMPostProc import *
|
from FlatCAMPostProc import *
|
||||||
|
|
||||||
|
|
||||||
class Marlin_laser_use_FAN_pin(FlatCAMPostProc):
|
class Marlin_laser_FAN_pin(FlatCAMPostProc):
|
||||||
|
|
||||||
include_header = True
|
include_header = True
|
||||||
coordinate_format = "%.*f"
|
coordinate_format = "%.*f"
|
||||||
@@ -107,7 +107,7 @@ class Marlin_laser_use_FAN_pin(FlatCAMPostProc):
|
|||||||
|
|
||||||
def spindle_code(self, p):
|
def spindle_code(self, p):
|
||||||
if p.spindlespeed:
|
if p.spindlespeed:
|
||||||
return '%s S%s' % ('M106 ', str(p.spindlespeed))
|
return 'M106 S%s' % str(p.spindlespeed)
|
||||||
else:
|
else:
|
||||||
return 'M106'
|
return 'M106'
|
||||||
|
|
||||||
@@ -116,5 +116,5 @@ class Marlin_laser_use_FAN_pin(FlatCAMPostProc):
|
|||||||
|
|
||||||
def spindle_stop_code(self, p):
|
def spindle_stop_code(self, p):
|
||||||
gcode = 'M400\n'
|
gcode = 'M400\n'
|
||||||
gcode += 'M107'
|
gcode += 'M106 S0'
|
||||||
return gcode
|
return gcode
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
from FlatCAMPostProc import *
|
from FlatCAMPostProc import *
|
||||||
|
|
||||||
|
|
||||||
class Marlin_laser_use_Spindle_pin(FlatCAMPostProc):
|
class Marlin_laser_Spindle_pin(FlatCAMPostProc):
|
||||||
|
|
||||||
include_header = True
|
include_header = True
|
||||||
coordinate_format = "%.*f"
|
coordinate_format = "%.*f"
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
from FlatCAMPostProc import *
|
from FlatCAMPostProc import *
|
||||||
|
|
||||||
|
|
||||||
class Toolchange_manual(FlatCAMPostProc):
|
class Toolchange_Manual(FlatCAMPostProc):
|
||||||
|
|
||||||
include_header = True
|
include_header = True
|
||||||
coordinate_format = "%.*f"
|
coordinate_format = "%.*f"
|
||||||
Reference in New Issue
Block a user