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_MARLIN_CONFIG = False |
| bool | OUTPUT_PATH = False |
| bool | OUTPUT_TOOL_CHANGE = False |
| parser = argparse.ArgumentParser(prog="marlin", 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 = "2020-11-03" |
| 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" |
| def PathScripts.post.marlin_post.drill_translate | ( | outlist, | |
| cmd, | |||
| params | |||
| ) |
References PathScripts.post.marlin_post.format_outlist(), and PathScripts.post.marlin_post.linenumber().
Referenced by PathScripts.post.marlin_post.parse().
| def PathScripts.post.marlin_post.dump | ( | obj | ) |
| def PathScripts.post.marlin_post.export | ( | objectslist, | |
| filename, | |||
| argstring | |||
| ) |
| def PathScripts.post.marlin_post.format_outlist | ( | strTable | ) |
Referenced by PathScripts.post.marlin_post.drill_translate(), and PathScripts.post.marlin_post.parse().
| def PathScripts.post.marlin_post.linenumber | ( | ) |
| def PathScripts.post.marlin_post.parse | ( | pathobj | ) |
References PathScripts.post.marlin_post.drill_translate(), DraftVecUtils.find(), PathScripts.post.marlin_post.format_outlist(), PathScripts.post.marlin_post.linenumber(), and PathScripts.post.marlin_post.parse().
Referenced by PathScripts.post.marlin_post.export(), and PathScripts.post.marlin_post.parse().
| def PathScripts.post.marlin_post.processArguments | ( | argstring | ) |
Referenced by PathScripts.post.marlin_post.export().
| PathScripts.post.marlin_post.action |
| string PathScripts.post.marlin_post.COMMAND_SPACE = " " |
| PathScripts.post.marlin_post.CURRENT_X = None |
| PathScripts.post.marlin_post.CURRENT_Y = None |
| PathScripts.post.marlin_post.CURRENT_Z = None |
| PathScripts.post.marlin_post.default |
| string PathScripts.post.marlin_post.DRILL_RETRACT_MODE = "G98" |
| PathScripts.post.marlin_post.help |
| int PathScripts.post.marlin_post.LINEINCR = 10 |
| int PathScripts.post.marlin_post.LINENR = 100 |
| bool PathScripts.post.marlin_post.MODAL = False |
| list PathScripts.post.marlin_post.MOTION_COMMANDS = ["G0", "G00", "G1", "G01", "G2", "G02", "G3", "G03"] |
| string PathScripts.post.marlin_post.MOTION_MODE = "G90" |
| bool PathScripts.post.marlin_post.OUTPUT_BCNC = False |
| bool PathScripts.post.marlin_post.OUTPUT_COMMENTS = True |
| bool PathScripts.post.marlin_post.OUTPUT_FINISH = False |
| bool PathScripts.post.marlin_post.OUTPUT_HEADER = True |
| bool PathScripts.post.marlin_post.OUTPUT_LINE_NUMBERS = False |
| bool PathScripts.post.marlin_post.OUTPUT_MARLIN_CONFIG = False |
| bool PathScripts.post.marlin_post.OUTPUT_PATH = False |
| bool PathScripts.post.marlin_post.OUTPUT_TOOL_CHANGE = False |
| PathScripts.post.marlin_post.parser = argparse.ArgumentParser(prog="marlin", add_help=False) |
| string PathScripts.post.marlin_post.POST_OPERATION = """""" |
| string PathScripts.post.marlin_post.POSTAMBLE |
| string PathScripts.post.marlin_post.PRE_OPERATION = """""" |
| string PathScripts.post.marlin_post.PREAMBLE = """""" |
| int PathScripts.post.marlin_post.PRECISION = 3 |
| list PathScripts.post.marlin_post.RAPID_MOVES = ["G0", "G00"] |
| PathScripts.post.marlin_post.RETURN_TO = None |
| string PathScripts.post.marlin_post.Revised = "2020-11-03" |
| bool PathScripts.post.marlin_post.SHOW_EDITOR = True |
| int PathScripts.post.marlin_post.SPINDLE_WAIT = 3 |
| list PathScripts.post.marlin_post.SUPPRESS_COMMANDS = [""] |
| string PathScripts.post.marlin_post.TOOL_CHANGE = """""" |
| string PathScripts.post.marlin_post.TOOLTIP |
| PathScripts.post.marlin_post.TOOLTIP_ARGS = parser.format_help() |
| bool PathScripts.post.marlin_post.TRANSLATE_DRILL_CYCLES = True |
| PathScripts.post.marlin_post.type |
| string PathScripts.post.marlin_post.UNIT_FEED_FORMAT = "mm/min" |
| string PathScripts.post.marlin_post.UNIT_FORMAT = "mm" |
| string PathScripts.post.marlin_post.UNITS = "G21" |
| string PathScripts.post.marlin_post.WORK_PLANE = "G17" |