PathScripts.post.refactored_grbl_post Namespace Reference

Functions

def export (objectslist, filename, argstring)
 
def init_argument_defaults (argument_defaults)
 
def init_arguments (values, argument_defaults, arguments_visible)
 
def init_arguments_visible (arguments_visible)
 
def init_values (values)
 

Variables

dictionary argument_defaults = {}
 
dictionary arguments_visible = {}
 
def parser = init_arguments(values, argument_defaults, arguments_visible)
 
string TOOLTIP
 
def TOOLTIP_ARGS = parser.format_help()
 
string UNITS = "G21"
 
dictionary values = {}
 

Function Documentation

◆ export()

def PathScripts.post.refactored_grbl_post.export (   objectslist,
  filename,
  argstring 
)
Postprocess the objects in objectslist to filename.

◆ init_argument_defaults()

def PathScripts.post.refactored_grbl_post.init_argument_defaults (   argument_defaults)
Initialize which arguments (in a pair) are shown as the default argument.

◆ init_arguments()

def PathScripts.post.refactored_grbl_post.init_arguments (   values,
  argument_defaults,
  arguments_visible 
)
Initialize the shared argument definitions.

◆ init_arguments_visible()

def PathScripts.post.refactored_grbl_post.init_arguments_visible (   arguments_visible)
Initialize which argument pairs are visible in TOOLTIP_ARGS.

◆ init_values()

def PathScripts.post.refactored_grbl_post.init_values (   values)
Initialize values that are used throughout the postprocessor.

Variable Documentation

◆ argument_defaults

dictionary PathScripts.post.refactored_grbl_post.argument_defaults = {}

◆ arguments_visible

dictionary PathScripts.post.refactored_grbl_post.arguments_visible = {}

◆ parser

def PathScripts.post.refactored_grbl_post.parser = init_arguments(values, argument_defaults, arguments_visible)

◆ TOOLTIP

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

◆ TOOLTIP_ARGS

def PathScripts.post.refactored_grbl_post.TOOLTIP_ARGS = parser.format_help()

◆ UNITS

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

◆ values

dictionary PathScripts.post.refactored_grbl_post.values = {}