PathScripts.post.rrf_post Namespace Reference

Functions

def drill_translate (outlist, cmd, params)
 
def dump (obj)
 
def export (objectslist, filename, argstring)
 
def format_outlist (strTable)
 
def linenumber ()
 
def parse (pathobj)
 
def processArguments (argstring)
 

Variables

 action
 
string COMMAND_SPACE = " "
 
 CURRENT_X = None
 
 CURRENT_Y = None
 
 CURRENT_Z = None
 
 default
 
string DRILL_RETRACT_MODE = "G98"
 
 help
 
int LINEINCR = 10
 
int LINENR = 100
 
bool MODAL = False
 
list MOTION_COMMANDS = ["G0", "G00", "G1", "G01", "G2", "G02", "G3", "G03"]
 
string MOTION_MODE = "G90"
 
bool OUTPUT_BCNC = False
 
bool OUTPUT_COMMENTS = True
 
bool OUTPUT_FINISH = False
 
bool OUTPUT_HEADER = True
 
bool OUTPUT_LINE_NUMBERS = False
 
bool OUTPUT_PATH = False
 
bool OUTPUT_RRF_CONFIG = True
 
bool OUTPUT_TOOL_CHANGE = True
 
 parser = argparse.ArgumentParser(prog="rrf", add_help=False)
 
string POST_OPERATION = """"""
 
string POSTAMBLE
 
string PRE_OPERATION = """"""
 
string PREAMBLE = """"""
 
int PRECISION = 3
 
list RAPID_MOVES = ["G0", "G00"]
 
 RETURN_TO = None
 
string Revised = "2021-10-21"
 
bool SHOW_EDITOR = True
 
int SPINDLE_WAIT = 3
 
list SUPPRESS_COMMANDS = []
 
string TOOL_CHANGE = """"""
 
string TOOLTIP
 
 TOOLTIP_ARGS = parser.format_help()
 
bool TRANSLATE_DRILL_CYCLES = True
 
 type
 
string UNIT_FEED_FORMAT = "mm/min"
 
string UNIT_FORMAT = "mm"
 
string UNITS = "G21"
 
string WORK_PLANE = "G17"
 

Function Documentation

◆ drill_translate()

def PathScripts.post.rrf_post.drill_translate (   outlist,
  cmd,
  params 
)

◆ dump()

def PathScripts.post.rrf_post.dump (   obj)

◆ export()

def PathScripts.post.rrf_post.export (   objectslist,
  filename,
  argstring 
)

◆ format_outlist()

def PathScripts.post.rrf_post.format_outlist (   strTable)

◆ linenumber()

◆ parse()

◆ processArguments()

def PathScripts.post.rrf_post.processArguments (   argstring)

Variable Documentation

◆ action

PathScripts.post.rrf_post.action

◆ COMMAND_SPACE

string PathScripts.post.rrf_post.COMMAND_SPACE = " "

◆ CURRENT_X

PathScripts.post.rrf_post.CURRENT_X = None

◆ CURRENT_Y

PathScripts.post.rrf_post.CURRENT_Y = None

◆ CURRENT_Z

PathScripts.post.rrf_post.CURRENT_Z = None

◆ default

PathScripts.post.rrf_post.default

◆ DRILL_RETRACT_MODE

string PathScripts.post.rrf_post.DRILL_RETRACT_MODE = "G98"

◆ help

PathScripts.post.rrf_post.help

◆ LINEINCR

int PathScripts.post.rrf_post.LINEINCR = 10

◆ LINENR

int PathScripts.post.rrf_post.LINENR = 100

◆ MODAL

bool PathScripts.post.rrf_post.MODAL = False

◆ MOTION_COMMANDS

list PathScripts.post.rrf_post.MOTION_COMMANDS = ["G0", "G00", "G1", "G01", "G2", "G02", "G3", "G03"]

◆ MOTION_MODE

string PathScripts.post.rrf_post.MOTION_MODE = "G90"

◆ OUTPUT_BCNC

bool PathScripts.post.rrf_post.OUTPUT_BCNC = False

◆ OUTPUT_COMMENTS

bool PathScripts.post.rrf_post.OUTPUT_COMMENTS = True

◆ OUTPUT_FINISH

bool PathScripts.post.rrf_post.OUTPUT_FINISH = False

◆ OUTPUT_HEADER

bool PathScripts.post.rrf_post.OUTPUT_HEADER = True

◆ OUTPUT_LINE_NUMBERS

bool PathScripts.post.rrf_post.OUTPUT_LINE_NUMBERS = False

◆ OUTPUT_PATH

bool PathScripts.post.rrf_post.OUTPUT_PATH = False

◆ OUTPUT_RRF_CONFIG

bool PathScripts.post.rrf_post.OUTPUT_RRF_CONFIG = True

◆ OUTPUT_TOOL_CHANGE

bool PathScripts.post.rrf_post.OUTPUT_TOOL_CHANGE = True

◆ parser

PathScripts.post.rrf_post.parser = argparse.ArgumentParser(prog="rrf", add_help=False)

◆ POST_OPERATION

string PathScripts.post.rrf_post.POST_OPERATION = """"""

◆ POSTAMBLE

string PathScripts.post.rrf_post.POSTAMBLE
Initial value:
1= """M5
2"""

◆ PRE_OPERATION

string PathScripts.post.rrf_post.PRE_OPERATION = """"""

◆ PREAMBLE

string PathScripts.post.rrf_post.PREAMBLE = """"""

◆ PRECISION

int PathScripts.post.rrf_post.PRECISION = 3

◆ RAPID_MOVES

list PathScripts.post.rrf_post.RAPID_MOVES = ["G0", "G00"]

◆ RETURN_TO

PathScripts.post.rrf_post.RETURN_TO = None

◆ Revised

string PathScripts.post.rrf_post.Revised = "2021-10-21"

◆ SHOW_EDITOR

bool PathScripts.post.rrf_post.SHOW_EDITOR = True

◆ SPINDLE_WAIT

int PathScripts.post.rrf_post.SPINDLE_WAIT = 3

◆ SUPPRESS_COMMANDS

list PathScripts.post.rrf_post.SUPPRESS_COMMANDS = []

◆ TOOL_CHANGE

string PathScripts.post.rrf_post.TOOL_CHANGE = """"""

◆ TOOLTIP

string PathScripts.post.rrf_post.TOOLTIP
Initial value:
1= """
2Generate g-code from a Path that is compatible with the Duet controller (RepRapFirmware).
3import rrf_post
4rrf_post.export(object, "/path/to/file.nc")
5"""

◆ TOOLTIP_ARGS

PathScripts.post.rrf_post.TOOLTIP_ARGS = parser.format_help()

◆ TRANSLATE_DRILL_CYCLES

bool PathScripts.post.rrf_post.TRANSLATE_DRILL_CYCLES = True

◆ type

PathScripts.post.rrf_post.type

◆ UNIT_FEED_FORMAT

string PathScripts.post.rrf_post.UNIT_FEED_FORMAT = "mm/min"

◆ UNIT_FORMAT

string PathScripts.post.rrf_post.UNIT_FORMAT = "mm"

◆ UNITS

string PathScripts.post.rrf_post.UNITS = "G21"

◆ WORK_PLANE

string PathScripts.post.rrf_post.WORK_PLANE = "G17"