mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Merge pull request #13718 from discip/patch-2
minor fixes + layer_no instead of height
This commit is contained in:
commit
ebbefb5439
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ class PauseAtHeight(Script):
|
|||
"description": "Whether to pause at a certain height or at a certain layer.",
|
||||
"type": "enum",
|
||||
"options": {"height": "Height", "layer_no": "Layer Number"},
|
||||
"default_value": "height"
|
||||
"default_value": "layer_no"
|
||||
},
|
||||
"pause_height":
|
||||
{
|
||||
|
@ -482,7 +482,7 @@ class PauseAtHeight(Script):
|
|||
# Wait till the user continues printing
|
||||
prepend_gcode += pause_command + " ; Do the actual pause\n"
|
||||
|
||||
# Set a custom GCODE section before pause
|
||||
# Set a custom GCODE section after pause
|
||||
if gcode_after:
|
||||
prepend_gcode += gcode_after.replace(";","\n") + "\n"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue