MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.GcodeProcessor Class Reference

Classes

class  BaseAction_Vector2f
 
class  BaseAction_Vector3f
 
class  Command
 
class  MoveAction
 

Public Member Functions

None __init__ (self)
 
None __init__ (self, GcodeProcessor arg0)
 
CNCMachineSettings getCNCMachineSettings (self)
 
GcodeProcessor.MoveAction processLine (self, str line, std_vector_GcodeProcessor_Command externalStorage)
 
std_vector_GcodeProcessor_MoveAction processSource (self)
 
None reset (self)
 
None setCNCMachineSettings (self, CNCMachineSettings settings)
 
None setGcodeSource (self, std_vector_std_string gcodeSource)
 

Static Public Attributes

 BaseAction2f
 
 BaseAction3f = GcodeProcessor.BaseAction_Vector3f
 

Detailed Description

Generated from:  MR::GcodeProcessor

class to process g-code source and generate toolpath

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.GcodeProcessor.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/2]

None meshlib.mrmeshpy.GcodeProcessor.__init__ ( self,
GcodeProcessor arg0 )
Implicit copy constructor.

Member Function Documentation

◆ getCNCMachineSettings()

CNCMachineSettings meshlib.mrmeshpy.GcodeProcessor.getCNCMachineSettings ( self)

◆ processLine()

GcodeProcessor.MoveAction meshlib.mrmeshpy.GcodeProcessor.processLine ( self,
str line,
std_vector_GcodeProcessor_Command externalStorage )
process all commands from one line g-code source and generate corresponding move action;
\\param externalStorage to avoid memory allocation on each line

◆ processSource()

std_vector_GcodeProcessor_MoveAction meshlib.mrmeshpy.GcodeProcessor.processSource ( self)
process all lines g-code source and generate corresponding move actions

◆ reset()

None meshlib.mrmeshpy.GcodeProcessor.reset ( self)
reset internal states

◆ setCNCMachineSettings()

None meshlib.mrmeshpy.GcodeProcessor.setCNCMachineSettings ( self,
CNCMachineSettings settings )
settings

◆ setGcodeSource()

None meshlib.mrmeshpy.GcodeProcessor.setGcodeSource ( self,
std_vector_std_string gcodeSource )
set g-code source

Member Data Documentation

◆ BaseAction2f

meshlib.mrmeshpy.GcodeProcessor.BaseAction2f
static

◆ BaseAction3f

meshlib.mrmeshpy.GcodeProcessor.BaseAction3f = GcodeProcessor.BaseAction_Vector3f
static

The documentation for this class was generated from the following file: