|  |  | 
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)Initialize.
 addFlowRateLine(self, flowRate)Add a flow rate line.
 addGcodeFromFeedRateThreadZ(self, feedRateMinute, thread, travelFeedRateMinute, 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.
 addGcodeMovementZWithFeedRateVector3(self, feedRateMinute, vector3)Add a movement to the output by Vector3.
 addLine(self, line)Add a line of text and a newline to the output.
 addLineCheckAlteration(self, line)Add a line of text and a newline to the output and check to see if it is an alteration line.
 addLines(self, lines)Add lines of text to the output.
 addLinesSetAbsoluteDistanceMode(self, lines)Add lines of text to the output and ensure the absolute mode is set.
 addParameter(self, firstWord, parameter)Add the parameter.
 addPerimeterBlock(self, loop, z)Add the edge gcode block for the loop.
 addTagBracketedLine(self, tagName, value)Add a begin tag, value and end tag.
 addTagBracketedProcedure(self, procedure)Add a begin procedure tag, procedure and end procedure tag.
 addTagRoundedLine(self, tagName, value)Add a begin tag, rounded value and end tag.
 getBoundaryLine(self, location)Get boundary gcode line.
 getFirstWordMovement(self, firstWord, location)Get the start of the arc line.
 getInfillBoundaryLine(self, location)Get infill boundary gcode line.
 getIsAlteration(self, line)Determine if it is an alteration.
 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.
 getLinearGcodeMovement(self, point, z)Get a linear gcode movement.
 getLinearGcodeMovementWithFeedRate(self, feedRateMinute, point, z)Get a z limited gcode movement.
 getRounded(self, number)Get number rounded to the number of carried decimal places as a string.
 parseSplitLine(self, firstWord, splitLine)Parse gcode split line and store the parameters.
 |  |