mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:28:59 +08: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
@ -326,6 +326,7 @@ class StartSliceJob(Job):
|
||||
|
||||
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…
x
Reference in New Issue
Block a user