From 32d8d43692f378ab6c9645a3dfc37d1fade14a6c Mon Sep 17 00:00:00 2001 From: evanchodora Date: Thu, 3 May 2018 10:26:17 -0400 Subject: [PATCH] Updated comments --- Slicer.py | 2 +- path.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Slicer.py b/Slicer.py index 18a754b..719736e 100644 --- a/Slicer.py +++ b/Slicer.py @@ -79,7 +79,7 @@ def slice_geometry(self): # Check for incorrect slice heights (negative or zero) if step <= 0: step = 0.1 - num_steps = int(h/step) + num_steps = int(h/step) # Calculate number of slices space = infill_space.get() # Check for incorrect infill spacing (negative or zero) if space <= 0: diff --git a/path.py b/path.py index 61f5554..b622d3e 100644 --- a/path.py +++ b/path.py @@ -51,7 +51,7 @@ def headpath(contour, fillx, filly, z): d = 4 # Number of decimals places to round the coordinates (0.0001 in) if len(contour) != 0: - contour_num = 1 # Start with the first (only possibly only contour on that slice) + contour_num = 1 # Start with the first (possibly the only contour on that slice) start = 1 # Indicates the start of a contour to handle contour looping begin = [] # Open the path.csv file to append new lines, create it if it does not exist