PathScripts.PostUtils Namespace Reference

Classes

class  GCodeEditorDialog
 
class  GCodeHighlighter
 

Functions

def editor (gcode)
 
def fcoms (string, commentsym)
 
def fmt (num, dec, units)
 
def splitArcs (path)
 
def stringsplit (commandline)
 

Variables

 FreeCADGui = None
 
 translate = FreeCAD.Qt.translate
 

Function Documentation

◆ editor()

def PathScripts.PostUtils.editor (   gcode)
Pops up a handy little editor to look at the code output.

◆ fcoms()

def PathScripts.PostUtils.fcoms (   string,
  commentsym 
)
Filter and rebuild comments with user preferred comment symbol.

◆ fmt()

def PathScripts.PostUtils.fmt (   num,
  dec,
  units 
)
Use to format axis moves, feedrate, etc for decimal places and units.

◆ splitArcs()

def PathScripts.PostUtils.splitArcs (   path)
Filter a path object and replace all G2/G3 moves with discrete G1 moves.

Returns a Path object.

◆ stringsplit()

def PathScripts.PostUtils.stringsplit (   commandline)

Variable Documentation

◆ FreeCADGui

PathScripts.PostUtils.FreeCADGui = None

◆ translate

PathScripts.PostUtils.translate = FreeCAD.Qt.translate