(self,context)
Emit gcode for drawing line
Emit gcode for drawing line
Emit gcode for drawing line
def get_gcode(self,context):
		"Emit gcode for drawing line"
		context.codes.append("(" + str(self) + ")")
		context.go_to_point(self.start[0],self.start[1])
		context.draw_to_point(self.end[0],self.end[1])
		context.codes.append("")
def get_gcode ( self , context ) : context . codes . append ( "(" + str ( self ) + ")" ) context . go_to_point ( self . start [ 0 ] , self . start [ 1 ] ) context . draw_to_point ( self . end [ 0 ] , self . end [ 1 ] ) context . codes . append ( "" )