Prusa MINI Firmware overview
g29_auto.py File Reference

Namespaces

 g29_auto
 

Functions

def g29_auto.has_g1 (line)
 
def g29_auto.find_axis (line, axis)
 
def g29_auto.set_mima (line)
 
def g29_auto.find_z (gcode, start_at_line=0)
 
def g29_auto.z_parse (gcode, start_at_line=0, end_at_line=0)
 
def g29_auto.get_lines (gcode, minimum)
 

Variables

string g29_auto.folder = './'
 
string g29_auto.my_file = 'test.gcode'
 
int g29_auto.min_g1 = 3
 
int g29_auto.max_g1 = 100000000
 
string g29_auto.g29_keyword = 'g29'
 
string g29_auto.output_file = folder + 'g29_' + my_file
 
string g29_auto.input_file = folder + my_file
 
int g29_auto.min_size = 40
 
int g29_auto.probing_points = 3
 
int g29_auto.min_x = 500
 
int g29_auto.min_y = min_x
 
int g29_auto.max_x = -500
 
int g29_auto.max_y = max_x
 
float g29_auto.last_z = 0.001
 
int g29_auto.layer = 0
 
int g29_auto.lines_of_g1 = 0
 
list g29_auto.gcode = []
 
int g29_auto.lines = 0
 
 g29_auto.start
 
 g29_auto.end
 
 g29_auto.offset_x = int((min_size - (max_x - min_x)) / 2 + 0.5)
 
 g29_auto.offset_y = int((min_size - (max_y - min_y)) / 2 + 0.5)
 
string g29_auto.new_command
 
 g29_auto.out_file = open(output_file, 'w')
 
 g29_auto.in_file = open(input_file, 'r')