mirror of
https://git.mirrors.martin98.com/https://github.com/petaflot/pygcode
synced 2025-07-14 04:21:46 +08:00
changed name to GCodeCannedCycleReturn**Prev**Level
This commit is contained in:
parent
dfc7e3e6b0
commit
b4b71daae8
@ -53,7 +53,7 @@ __all__ = [
|
|||||||
'GCodeCancelCannedCycle',
|
'GCodeCancelCannedCycle',
|
||||||
'GCodeCancelToolLengthOffset',
|
'GCodeCancelToolLengthOffset',
|
||||||
'GCodeCannedCycle',
|
'GCodeCannedCycle',
|
||||||
'GCodeCannedCycleReturnLevel',
|
'GCodeCannedCycleReturnPrevLevel',
|
||||||
'GCodeCannedCycleReturnToR',
|
'GCodeCannedCycleReturnToR',
|
||||||
'GCodeCannedReturnMode',
|
'GCodeCannedReturnMode',
|
||||||
'GCodeCoolant',
|
'GCodeCoolant',
|
||||||
@ -199,7 +199,7 @@ from .gcodes import (
|
|||||||
# G83 - GCodeDrillingCyclePeck: G83: Drilling Cycle, Peck
|
# G83 - GCodeDrillingCyclePeck: G83: Drilling Cycle, Peck
|
||||||
# G76 - GCodeThreadingCycle: G76: Threading Cycle
|
# G76 - GCodeThreadingCycle: G76: Threading Cycle
|
||||||
# - GCodeCannedReturnMode:
|
# - GCodeCannedReturnMode:
|
||||||
# G98 - GCodeCannedCycleReturnLevel: G98: Canned Cycle Return to the level set prior to cycle start
|
# G98 - GCodeCannedCycleReturnPrevLevel: G98: Canned Cycle Return to the level set prior to cycle start
|
||||||
# G99 - GCodeCannedCycleReturnToR: G99: Canned Cycle Return to the level set by R
|
# G99 - GCodeCannedCycleReturnToR: G99: Canned Cycle Return to the level set by R
|
||||||
# - GCodeCoolant:
|
# - GCodeCoolant:
|
||||||
# M08 - GCodeCoolantFloodOn: M8: turn flood coolant on
|
# M08 - GCodeCoolantFloodOn: M8: turn flood coolant on
|
||||||
@ -330,7 +330,7 @@ from .gcodes import (
|
|||||||
GCodeCancelCannedCycle,
|
GCodeCancelCannedCycle,
|
||||||
GCodeCancelToolLengthOffset,
|
GCodeCancelToolLengthOffset,
|
||||||
GCodeCannedCycle,
|
GCodeCannedCycle,
|
||||||
GCodeCannedCycleReturnLevel,
|
GCodeCannedCycleReturnPrevLevel,
|
||||||
GCodeCannedCycleReturnToR,
|
GCodeCannedCycleReturnToR,
|
||||||
GCodeCannedReturnMode,
|
GCodeCannedReturnMode,
|
||||||
GCodeCoolant,
|
GCodeCoolant,
|
||||||
|
@ -7,7 +7,7 @@ from .gcodes import GCodeAbsoluteDistanceMode, GCodeIncrementalDistanceMode
|
|||||||
from .gcodes import GCodeAbsoluteArcDistanceMode, GCodeIncrementalArcDistanceMode
|
from .gcodes import GCodeAbsoluteArcDistanceMode, GCodeIncrementalArcDistanceMode
|
||||||
from .gcodes import GCodeCannedCycle
|
from .gcodes import GCodeCannedCycle
|
||||||
from .gcodes import GCodeDrillingCyclePeck, GCodeDrillingCycleDwell, GCodeDrillingCycleChipBreaking
|
from .gcodes import GCodeDrillingCyclePeck, GCodeDrillingCycleDwell, GCodeDrillingCycleChipBreaking
|
||||||
from .gcodes import GCodeCannedReturnMode, GCodeCannedCycleReturnLevel, GCodeCannedCycleReturnToR
|
from .gcodes import GCodeCannedReturnMode, GCodeCannedCycleReturnPrevLevel, GCodeCannedCycleReturnToR
|
||||||
from .gcodes import _gcodes_abs2rel
|
from .gcodes import _gcodes_abs2rel
|
||||||
|
|
||||||
from .machine import Position
|
from .machine import Position
|
||||||
@ -381,7 +381,7 @@ def linearize_arc(arc_gcode, start_pos, plane=None, method_class=None,
|
|||||||
|
|
||||||
DEFAULT_SCC_PLANE = GCodeSelectXYPlane
|
DEFAULT_SCC_PLANE = GCodeSelectXYPlane
|
||||||
DEFAULT_SCC_DISTMODE = GCodeAbsoluteDistanceMode
|
DEFAULT_SCC_DISTMODE = GCodeAbsoluteDistanceMode
|
||||||
DEFAULT_SCC_RETRACTMODE = GCodeCannedCycleReturnLevel
|
DEFAULT_SCC_RETRACTMODE = GCodeCannedCycleReturnPrevLevel
|
||||||
|
|
||||||
def simplify_canned_cycle(canned_gcode, start_pos,
|
def simplify_canned_cycle(canned_gcode, start_pos,
|
||||||
plane=None, dist_mode=None, retract_mode=None,
|
plane=None, dist_mode=None, retract_mode=None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user