mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 08:47:50 -06:00
Remove debugging prints
This commit is contained in:
parent
ce125a41a5
commit
d0cc9ba8a6
1 changed files with 0 additions and 3 deletions
|
@ -174,15 +174,12 @@ class PauseAtHeight(Script):
|
||||||
if not line.startswith(";LAYER:"):
|
if not line.startswith(";LAYER:"):
|
||||||
continue
|
continue
|
||||||
current_layer = line[len(";LAYER:"):]
|
current_layer = line[len(";LAYER:"):]
|
||||||
print("----------current_layer:", current_layer)
|
|
||||||
try:
|
try:
|
||||||
current_layer = int(current_layer)
|
current_layer = int(current_layer)
|
||||||
except ValueError: #Couldn't cast to int. Something is wrong with this g-code data.
|
except ValueError: #Couldn't cast to int. Something is wrong with this g-code data.
|
||||||
print("----------couldn't cast to int")
|
|
||||||
continue
|
continue
|
||||||
if current_layer < pause_layer:
|
if current_layer < pause_layer:
|
||||||
break #Try the next layer.
|
break #Try the next layer.
|
||||||
print("------------hit! Got it!")
|
|
||||||
|
|
||||||
prevLayer = data[index - 1]
|
prevLayer = data[index - 1]
|
||||||
prevLines = prevLayer.split("\n")
|
prevLines = prevLayer.split("\n")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue