QCAD
Open Source 2D CAD
Simon Class Reference
Inheritance diagram for Simon:
GCode CamExporter

Public Member Functions

void getFileExtensions ()
 
void Simon (void documentInterface, void newDocumentInterface)
 
void writeHeader ()
 
- Public Member Functions inherited from GCode
void append (void line, void str)
 
void exportFirstContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for first entity of a contour. More...
 
void exportLastContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for last entity of a contour. More...
 
void exportLeadIn (void entity)
 Called to export lead in for given entity. More...
 
void exportLeadOut (void entity)
 Called to export lead out for given entity. More...
 
void exportSingleContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for contours consisting of one single entity (e.g. More...
 
void formatNumber (void value)
 
void GCode (void documentInterface, void newDocumentInterface)
 
void getCamLayerId ()
 
void getCircularCCWMoveCode ()
 
void getCircularCCWMoveCodePostfix ()
 
void getCircularCWMoveCode ()
 
void getCircularCWMoveCodePostfix ()
 
void getFCode (void value)
 
void getFeedrate ()
 
void getFileExtensions ()
 
void getICode (void value)
 
void getJCode (void value)
 
void getLeadInShape (void entity)
 
void getLeadInSide (void entity)
 
void getLeadOutShape (void entity)
 
void getLeadShape (void entity, void leadIn)
 
void getLinearMoveCode ()
 
void getLinearMoveCodePostfix ()
 
void getLineNumberCode ()
 
void getRapidMoveCode ()
 
void getRapidMoveCodePostfix ()
 
void getSafetyZLevel ()
 
void getSideCode (void value)
 
void getSideCodePostfix (void value)
 
void getTool (void entity)
 
void getToolDownLevel ()
 
void getToolUpLevel ()
 
void getXCode (void value)
 
void getYCode (void value)
 
void getZCode (void value)
 
void gotFeedrateChange (void f)
 
void gotModeChange (void m)
 
void gotSideChange (void side)
 
void gotXMove (void x)
 
void gotYMove (void y)
 
void gotZMove (void z)
 
void hasLeadIn (void entity)
 
void hasLeadOut (void entity)
 
void include (void fileName)
 Includes the given file into the output. More...
 
void initDialog (void d)
 Initializes the CAM export dialog d. More...
 
void initGlobalOptionWidget (void w)
 Initializes the widget with global options (top-right of the CAM export dialog). More...
 
void initLayerOptionWidget (void w)
 Initializes the widget with layer specific options (bottom-right of the CAM export dialog). More...
 
void prepareForCutting ()
 Called before cutting starts (before G01, G02, G03). More...
 
void toolIsDown ()
 
void toolIsUp ()
 
void writeAfterRapidLinearMove (void x, void y)
 Writes the line(s) after moving rapidly to the given coordinate. More...
 
void writeBeforeRapidLinearMove (void x, void y)
 Writes the line(s) before moving rapidly to the given coordinate. More...
 
void writeCircularMove (void x, void y, void center, void radius, void startAngle, void endAngle, void isLarge, void isReversed)
 Writes the line(s) for a circular move (G02, G03) to the given coordinate. More...
 
void writeComment (void text)
 Writes a comment to the output file (a line starting with ;). More...
 
void writeFooter ()
 Writes the footer of the exported file. More...
 
void writeHeader ()
 Writes the header of the exported file (initialization, etc). More...
 
void writeLine (void custom, void append)
 Writes the next line of the file or the given custom line with line nummer. More...
 
void writeLinearMove (void x, void y)
 Writes the line(s) for a linear move (G01) to the given coordinate. More...
 
void writeRapidLinearMove (void x, void y)
 Writes the line(s) to move rapidly to the given coordinate. More...
 
void writeRapidMoveToSafetyLevel ()
 
void writeRapidZMove (void z)
 Writes the line(s) to move to the given Z level using a rapid movement. More...
 
void writeToolChange (void toolName)
 Writes a tool change (M6 T..) to the output file. More...
 
void writeToolDown ()
 Writes the line(s) to start cutting and moving the tool down, switching laser on, etc. More...
 
void writeToolUp ()
 Writes the line(s) to stop cutting and moving the tool up, switching laser off, etc. More...
 
void writeZMove (void z)
 Writes the line(s) to move to the given Z level using a movement with the current feedrate. More...
 
- Public Member Functions inherited from CamExporter
void appendToContour (void contour, void prepend)
 Appends / prepends entities to the given contour until no more connected entities can be found. More...
 
void CamExporter (void documentInterface, void newDocumentInterface)
 
void closeLogFile (void fileName)
 
void contourContains (void contour, void point)
 Allow exporters to implement their own test if point is inside contour. More...
 
void convert (void v)
 Converts the given value v from the document unit into the output unit. More...
 
void createLayer (void layerName, void color, void linetype)
 
void endExport ()
 
void exportArcSegment (void arc, void allowForZeroLength)
 
void exportClosedContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for entities of closed contours. More...
 
void exportContour (void contour, void contourId, void pos, void siEntryPoints, void progressDialog)
 Exports the given contour, starting at the the given position pos. More...
 
void exportContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Exports the given entity. More...
 
void exportEntities (void allBlocks, void undone)
 
void exportFile (void fileName)
 
void exportFirstClosedContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for the first entity of a closed contour. More...
 
void exportFirstContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for the first entity of open and closed contours. More...
 
void exportFirstOpenContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for the first entity of an open contour. More...
 
void exportLastClosedContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for the last entity of a closed contour. More...
 
void exportLastContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for the last entity of open and closed contours. More...
 
void exportLastOpenContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for the last entity of an open contour. More...
 
void exportLineSegment (void line, void angle)
 
void exportOpenContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for entities of an open contour. More...
 
void exportPoint (void point)
 
void exportSingleContourEntity (void entity, void rampOnPoint, void rampOffPoint)
 Called for single, isolated entities. More...
 
void fuzzyCompare (void v1, void v2)
 
void getCamLayerId ()
 Overwrite to create individual layers (e.g. More...
 
void getConfigName ()
 
void getContour (void entityId)
 Creates a new contour (Contour object) with the given entity and all connected entities. More...
 
void getDocument ()
 
void getEllipseSegments ()
 Overwrite to specify number of segments to use for interpolating ellipses. More...
 
void getEntityOption (void entity, void name, void def)
 
void getFileExtensions ()
 
void getGlobalOption (void name, void def)
 
void getGlobalOptionFloat (void name, void def)
 
void getGlobalOptionInt (void name, void def)
 
void getIncrementalXYZ ()
 Overwrite to enable incremental X/Y/Z moves. More...
 
void getInnerBeforeOuter ()
 Overwrite to change inner to outer option. More...
 
void getLayerOption (void name, void def)
 
void getOperation ()
 
void getPathOptimization ()
 Overwrite to change path optimization. More...
 
void getPathOrientation ()
 Overwrite to change contour orientation. More...
 
void getRampOff ()
 Overwrite to change contour ramp off. More...
 
void getRampOn ()
 Overwrite to change contour ramp on. More...
 
void getSafetyZLevel ()
 Can be overwritten to return the current safety level (used at beginning and end). More...
 
void getScale ()
 Overwrite to change scale of output. More...
 
void getSplineSegments ()
 Overwrite to specify number of segments to use for interpolating splines. More...
 
void getSplitFullCircles ()
 Overwrite to change split circle behavior. More...
 
void getStartPosition ()
 
void getTolerance ()
 Overwrite to change tolerance (maximum gap between connected entities). More...
 
void getTool ()
 
void getToolDownLevel ()
 Can be overwritten to return the current cutting level. More...
 
void getToolUpLevel ()
 Can be overwritten to return the current clear level (used to move around without cutting). More...
 
void getUnit ()
 Overwrite to change unit of output. More...
 
void getUnitScale ()
 Overwrite to set fixed unit scale. More...
 
void initDialog (void d)
 
void initGlobalOptionWidget (void w)
 
void initLayerOptionWidget (void w)
 
void initLogFile (void fileName)
 Prepares the log file for debugging. More...
 
void log (void msg)
 
void logView (void fileName)
 
void notifyUser (void msg, void progressDialog)
 
void prependToContour (void contour)
 
void rapidMove (void p)
 
void startExport ()
 
void toString ()
 
void write (void str)
 
void writeFooter ()
 
void writeHeader ()
 
void writeLine (void line)
 
void writeLinearMove (void x, void y)
 
void writeRampOff (void shape, void entity)
 
void writeRampOn (void shape, void entity)
 
void writeRapidLinearMove (void x, void y)
 
void writeToolUp ()
 

Additional Inherited Members

- Public Attributes inherited from GCode
int absoluteIJ
 
int alwaysWriteGCode
 
int decimals
 
int f
 
int forceSign
 
int fPrev
 
int g
 
int globalOptions
 
int gPrev
 
int i
 
int j
 
int layerOptions
 
int lineNumber
 
int separator
 
int toolPosition
 
int toolSide
 
int toolSidePrev
 
int trailingZeros
 
int useComma
 
int x
 
int xPrev
 
int y
 
int yPrev
 
int z
 
int zPrev
 
- Public Attributes inherited from CamExporter
int contourCounter
 
int contours
 
int cursor
 
int document
 
int documentInterface
 
int duringRapidMove
 
int ellipseSegments
 
int incrementalXYZ
 
int innerBeforeOuter
 
int logStream
 
int newDocument
 
int newDocumentInterface
 
int op
 
int pathOptimization
 
int pathOrientation
 
int rampOff
 
int rampOffFactor
 
int rampOn
 
int rampOnFactor
 
int scale
 
int splineSegments
 
int splitFullCircles
 
int stream
 
int tolerance
 
int traversed
 
int unit
 
int unitScale
 

Constructor & Destructor Documentation

void Simon::Simon ( void  documentInterface,
void  newDocumentInterface 
)
inline

Member Function Documentation

void Simon::getFileExtensions ( )
inline
void Simon::writeHeader ( )
inline

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