This is a g-code collection which help to manage IGCode objects.
More...
This is a g-code collection which help to manage IGCode objects.
◆ GCodeCollector() [1/3]
GCodeAPI.GCodeCollector.GCodeCollector |
( |
| ) |
|
◆ GCodeCollector() [2/3]
GCodeAPI.GCodeCollector.GCodeCollector |
( |
int |
capacity | ) |
|
Constructs a new GCodeCollector and sets the capacity of its list.
- Parameters
-
capacity | The number of elements that the new list can initially store. |
◆ GCodeCollector() [3/3]
GCodeAPI.GCodeCollector.GCodeCollector |
( |
List< IGCode > |
code | ) |
|
◆ addCode() [1/2]
void GCodeAPI.GCodeCollector.addCode |
( |
IGCode |
code | ) |
|
Appends the specified element to the end of this list.
- Parameters
-
code | element to be appended to this list |
◆ addCode() [2/2]
Appends all of the elements in the specified GCodeCollector to the end of this list.
- Parameters
-
◆ Duplicate()
Return a deep copy of the object.
- Returns
◆ SaveTogCodeFile()
void GCodeAPI.GCodeCollector.SaveTogCodeFile |
( |
string |
path | ) |
|
Saves the g-code strings as a text file.
- Parameters
-
◆ ToString()
override string GCodeAPI.GCodeCollector.ToString |
( |
| ) |
|
Returns to the g-code string of all elements.
- Returns
◆ Codes
List<IGCode> GCodeAPI.GCodeCollector.Codes |
|
get |
Gets the list of IGCode objects.
◆ LastPoint
Point GCodeAPI.GCodeCollector.LastPoint |
|
get |
Returns the XY position of last GCodeLine object.
The documentation for this class was generated from the following file:
- E:/projects/biofiz/programs/PetriPrinter/git/gCodeAPI/GCodeCollector.cs