You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Receiving Error when starting to Print - Some slicer settings were missing from your gcode file. Missing Settings: Retraction Length,Retraction Speed,Deretraction Speed,Z Lift Height,X/Y Travel Speed,Z Travel Speed
#942
Open
bretthatcher opened this issue
Mar 8, 2024
· 2 comments
When you ran into the problem, did you have diagnostic logging enabled?
Diagnostic Logging was Enabled: No
What were you doing when the problem occurred
I had edited the Start G-Code in Cura so that Auto Configuration would work for OctoLapse
I sliced a new model and loaded the file into OctoPrint
When I went to print I got the following error:
Some slicer settings were missing from your gcode file. Missing Settings: Retraction Length,Retraction Speed,Deretraction Speed,Z Lift Height,X/Y Travel Speed,Z Travel Speed
What should have happened?
No error message with OctoLapse
My Fix
Need to add six more properties to the Start G-Code in Cura
; The following 6 settings were not part of the original G-Code
; and will cause OcotoLapse to throw an error. So I added them and everything works fine now
; retraction_distance = {retraction_amount}
; deretraction_speed = {retraction_speed}
; retraction_length = {retraction_amount}
; x_y_travel_speed = {travel_speed}
; z_lift_height = {z_hop_height}
; z_travel_speed = {z_hop_speed}
If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.
My Octolapse was working perfectly fine until last week and now it is coming up with the same error. gcode was copied and pasted and was working great now it is not and had to disable it to be able to print.
@bretthatcher
I think it may be because Octolapse searches the first and last 1000 lines of code.
In my case, I use a thumbnail plugin in Cura and it adds lines into the generated gcode file before the start gcode that is specified in the machine settings section in Cura.
I have yet to verify this and I will get back to you, but its probably worth opening one of your gcode files that triggers said error and open it in notepad++ (or similar) and just check what lines the octolapse comments are on.
If this is a feature request describe it here
___REPLACE_THIS__FEATURE_REQUEST_DESCRIPTION_GOES_HERE
Version of Octolapse
Octolapse Version: 0.4.5
Version of OctoPrint
OctoPrint Version: 1.9.3
When you ran into the problem, did you have diagnostic logging enabled?
Diagnostic Logging was Enabled: No
What were you doing when the problem occurred
Some slicer settings were missing from your gcode file. Missing Settings: Retraction Length,Retraction Speed,Deretraction Speed,Z Lift Height,X/Y Travel Speed,Z Travel Speed
What should have happened?
No error message with OctoLapse
My Fix
Need to add six more properties to the Start G-Code in Cura
; The following 6 settings were not part of the original G-Code
; and will cause OcotoLapse to throw an error. So I added them and everything works fine now
; retraction_distance = {retraction_amount}
; deretraction_speed = {retraction_speed}
; retraction_length = {retraction_amount}
; x_y_travel_speed = {travel_speed}
; z_lift_height = {z_hop_height}
; z_travel_speed = {z_hop_speed}
The full script located here:
https://raw.githubusercontent.com/wiki/FormerLurker/Octolapse/version/0.4/assets/scripts/slicer/cura/4.2/settings_output.gcode
Should look like this for it to work.
; Script based on an original created by tjjfvi (https://github.com/tjjfvi)
; An up-to-date version of the tjjfvi's original script can be found
; here: https://csi.t6.fyi/
; Note - This script will only work in Cura V4.2 and above!
; --- Global Settings
; layer_height = {layer_height}
; smooth_spiralized_contours = {smooth_spiralized_contours}
; magic_mesh_surface_mode = {magic_mesh_surface_mode}
; machine_extruder_count = {machine_extruder_count}
; --- Single Extruder Settings
; speed_z_hop = {speed_z_hop}
; retraction_amount = {retraction_amount}
; retraction_hop = {retraction_hop}
; retraction_hop_enabled = {retraction_hop_enabled}
; retraction_enable = {retraction_enable}
; retraction_speed = {retraction_speed}
; retraction_retract_speed = {retraction_retract_speed}
; retraction_prime_speed = {retraction_prime_speed}
; speed_travel = {speed_travel}
; retraction_distance = {retraction_amount}
; deretraction_speed = {retraction_speed}
; retraction_length = {retraction_amount}
; x_y_travel_speed = {travel_speed}
; z_lift_height = {z_hop_height}
; z_travel_speed = {z_hop_speed}
What happened instead?
Got the error message above.
Operating System running OctoPrint and Octolapse
OS Name: ___REPLACE_THIS__OS_NAME_GOES_HERE
Os Version: ___REPLACE_THIS__OS_VERSION_GOES_HERE
Printer model & used firmware incl. version
Printer Model: ___REPLACE_THIS__PRINTER_MODEL_GOES_HERE
Printer Firmware Version: ___REPLACE_THIS__PRINTER_FIRMWARE_VERSION_GOES_HERE
Browser and version of browser, operating system running browser
Browser: ___REPLACE_THIS__BROWSER_VERSION_GOES_HERE
Browser OS: ___REPLACE_THIS__BROWSER_OS_GOES_HERE
Link to the gcode file you were printing when the problem occurred
Link to Gcode File: ___REPLACE_THIS__GCODE_FILE_LINK_GOES_HERE
Link to settings.json
Link to settings.json with all passwords removed: ___REPLACE_THIS__SETTINGS_JSON_LINK_GOES_HERE
Link to plugin_octolapse.log
Link to plugin_octolapse.log: LINK_GOES_HERE
Link to octoprint.log
Link to octoprint.log: ___REPLACE_THIS__LINK_GOES_HERE
Link to contents of Javascript console in the browser
Link to javascript console output: ___REPLACE_THIS__LINK_GOES_HERE
Screenshots and/or videos of the problem:
Screenshot/Video Links: ___REPLACE_THIS__LINKs_GO_HERE
Please consider becoming a patron
If you like this project, please support my work by becoming a patron, and consider adding a 'star' to the repository. It takes a lot of time and effort to maintain the project and respond to issues. The cost of test prints, software, cameras, printer parts, etc. can quickly add up, so every bit helps.
You can find various videos and tutorials by subscribing to my Youtube channel. You can also follow me on Twitter.
The text was updated successfully, but these errors were encountered: