mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Add {travel_speed} as an alias to {speed_travel}...
...for all those people who still copy paste legacy start&end gcode snippets into Cura.
This commit is contained in:
parent
c73747ad44
commit
80c102f9de
1 changed files with 2 additions and 1 deletions
|
@ -323,9 +323,10 @@ class StartSliceJob(Job):
|
|||
value = stack.getProperty(key, "value")
|
||||
result[key] = value
|
||||
Job.yieldThread()
|
||||
|
||||
|
||||
result["print_bed_temperature"] = result["material_bed_temperature"] # Renamed settings.
|
||||
result["print_temperature"] = result["material_print_temperature"]
|
||||
result["travel_speed"] = result["speed_travel"]
|
||||
result["time"] = time.strftime("%H:%M:%S") #Some extra settings.
|
||||
result["date"] = time.strftime("%d-%m-%Y")
|
||||
result["day"] = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"][int(time.strftime("%w"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue