| |
- BoundingRectangle
- DistanceFeedRate
class BoundingRectangle |
|
A class to get the corners of a gcode text. |
|
Methods defined here:
- getFromGcodeLines(self, lines, radius)
- Parse gcode text and get the minimum and maximum corners.
- isPointInside(self, point)
- Determine if the point is inside the bounding rectangle.
- parseCorner(self, line)
- Parse a gcode line and use the location to update the bounding corners.
|
class DistanceFeedRate |
|
A class to limit the z feed rate and round values. |
|
Methods defined here:
- __init__(self)
- addGcodeFromFeedRateThreadZ(self, feedRateMinute, thread, z)
- Add a thread to the output.
- addGcodeFromLoop(self, loop, z)
- Add the gcode loop.
- addGcodeFromThreadZ(self, thread, z)
- Add a thread to the output.
- addGcodeMovementZ(self, point, z)
- Add a movement to the output.
- addGcodeMovementZWithFeedRate(self, feedRateMinute, point, z)
- Add a movement to the output.
- addLine(self, line)
- Add a line of text and a newline to the output.
- addLines(self, lines)
- Add lines of text to the output.
- addLinesSetAbsoluteDistanceMode(self, lines)
- Add lines of text to the output.
- addPerimeterBlock(self, loop, z)
- Add the perimeter gcode block for the loop.
- addTagBracketedLine(self, tagName, value)
- Add a begin tag, balue and end tag.
- getBoundaryLine(self, location)
- Get boundary gcode line.
- getFirstWordMovement(self, firstWord, location)
- Get the start of the arc line.
- getLineWithFeedRate(self, feedRateMinute, line, splitLine)
- Get the line with a feed rate.
- getLineWithX(self, line, splitLine, x)
- Get the line with an x.
- getLineWithY(self, line, splitLine, y)
- Get the line with a y.
- getLineWithZ(self, line, splitLine, z)
- Get the line with a z.
- getLineWithZLimitedFeedRate(self, feedRateMinute, line, location, splitLine)
- Get a replaced limited gcode movement line.
- getLinearGcodeMovement(self, point, z)
- Get a linear gcode movement.
- getLinearGcodeMovementWithFeedRate(self, feedRateMinute, point, z)
- Get a z limited gcode movement.
- getLinearGcodeMovementWithZLimitedFeedRate(self, feedRateMinute, location)
- Get a z limited gcode movement.
- getRounded(self, number)
- Get number rounded to the number of carried decimal places as a string.
- getTagBracketedLine(self, tagName, value)
- Add a begin tag, balue and end tag.
- getZLimitedFeedRate(self, deltaZ, distance, feedRateMinute)
- Get the z limited feed rate.
- parseSplitLine(self, firstWord, splitLine)
- Parse gcode split line and store the parameters.
| |