MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::GcodeProcessor Class Reference

class to process g-code source and generate toolpath More...

#include <MRGcodeProcessor.h>

Classes

struct  BaseAction
 
struct  Command
 
struct  MoveAction
 structure that stores information about the movement of the tool, specified by some string of commands More...
 

Public Types

using BaseAction2f = BaseAction<Vector2f>
 
using BaseAction3f = BaseAction<Vector3f>
 

Public Member Functions

MRMESH_API void reset ()
 reset internal states
 
MRMESH_API void setGcodeSource (const GcodeSource &gcodeSource)
 set g-code source
 
MRMESH_API std::vector< MoveActionprocessSource ()
 process all lines g-code source and generate corresponding move actions
 
MRMESH_API MoveAction processLine (const std::string_view &line, std::vector< Command > &externalStorage)
 
MRMESH_API void setCNCMachineSettings (const CNCMachineSettings &settings)
 settings
 
const CNCMachineSettingsgetCNCMachineSettings ()
 

Detailed Description

class to process g-code source and generate toolpath


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