gears.py: fix rack with draw_guides=False

This commit is contained in:
Florian Festi 2016-10-01 22:35:11 +02:00
parent b0fb04762b
commit bc1d9ce19e
1 changed files with 1 additions and 1 deletions

View File

@ -183,8 +183,8 @@ def generate_rack_points(tooth_count, pitch, addendum, pressure_angle,
# Draw line representing the pitch circle of infinite diameter
guide_path = None
if draw_guides:
p = []
if draw_guides:
p.append( (x_lhs + 0.5 * tab_length, 0) )
p.append( (x_rhs - 0.5 * tab_length, 0) )