This class wraps the G0 and G1 g-codes which provide the printer track of line.
More...
|
| enum | SpeedModes { Fast,
Slow
} |
| | This enum wraps Rapid linear Move (G0, Fast) and Linear Move (G1, Slow) More...
|
| |
This class wraps the G0 and G1 g-codes which provide the printer track of line.
◆ SpeedModes
This enum wraps Rapid linear Move (G0, Fast) and Linear Move (G1, Slow)
◆ GCodeLine()
| GCodeAPI.GCodeLine.GCodeLine |
( |
double? |
x = null, |
|
|
double? |
y = null, |
|
|
double? |
z = null, |
|
|
double? |
speed = null, |
|
|
double? |
extrude = null, |
|
|
SpeedModes |
mode = SpeedModes.Slow |
|
) |
| |
Constructs a new GCodeLine object with the specified parameters.
- Parameters
-
| x | The position to move to on the X axis |
| y | The position to move to on the Y axis |
| z | The position to move to on the Z axis |
| speed | The feed-rate per minute of the move between the starting point and ending point |
| extrude | The amount to extrude between the starting point and ending point |
| mode | Rapid linear Move (G0, Fast) and Linear Move (G1, Slow) |
◆ Duplicate()
| IGCode GCodeAPI.GCodeLine.Duplicate |
( |
| ) |
|
◆ ToString()
| override string GCodeAPI.GCodeLine.ToString |
( |
| ) |
|
Returns the g-code string.
- Returns
◆ isMoving
| bool GCodeAPI.GCodeLine.isMoving |
|
get |
Returns true if this line contain x, y or z moving command.
◆ isMovingXY
| bool GCodeAPI.GCodeLine.isMovingXY |
|
get |
Returns true if this line contain x or y moving command.
◆ isMovingZ
| bool GCodeAPI.GCodeLine.isMovingZ |
|
get |
Returns true if this line contain z moving command.
◆ Name
| string GCodeAPI.GCodeLine.Name |
|
get |
◆ Position
| Point GCodeAPI.GCodeLine.Position |
|
get |
Returns a Point which contains the x y positions or null if there is not x-y positions.
◆ SpeedMode
Sets or returns the current speed mode [Rapid linear Move (G0, Fast) or Linear Move (G1, Slow)]
The documentation for this class was generated from the following file:
- E:/projects/biofiz/programs/PetriPrinter/git/gCodeAPI/GCodeLine.cs