OctoLapse start / ignore command?

hi there,
all of my gcode-files start with some gcode to brush the nozzle following by two calibration-lines
now OctoLapse comes a bit into trouble and seems to interprete this part as one layer or one object and gets into trouble
when I remove this gcode-lines it works fine - otherwhise it mostly tries to stabilize near the nozzle-brush

so is there any way to tell OctoLapse to ignore this part of gcode?
I like this smooth timelapses :slight_smile:


Could you please post your start gcode - it might help others to find a solution for you. :slight_smile:

start gcode:

; X5SA 400!! Start Code

;stuff for Octolapse
; 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}

;let's go
G21;    set unit to millimeter
G90;    Absolute Positioning
M82;    Set E to absolute positioning.
M107 T0;  Fan off


;start heating nozzle and homing
M140 S{material_bed_temperature_layer_0};    set Bed temp
M104 S{material_print_temperature_layer_0} T0;  set Hotend temp
G28;    home all axes

;  Nozzle cleaning procedure
G1 Z10.0 F3000 ; Move Z Axis up little
G1 X400 Y150 F3600.0 ; Move to right corner

;	wait for hot bed and nozzle
M190 S{material_bed_temperature_layer_0};    wait for Bed Temp
M109 S{material_print_temperature_layer_0} T0;  wait for Hotend Temp
M300 S1000 P500 ; chirp to indicate printing starts soon
G92 E0;    reset Extruder
M77; stop PrintJobTimer

;start Dangerous Zone

;preprare Nozzle brush
G1 X410 Z8 F3600.0  start point
G1 E15 F50    extract
G1 E12 F1800    retact
G92 E0;        reset Extruder

;execute Nozzle brush 1
G0 X413 Y100 F3600.0
G0 X413 Y50 F3600.0
G0 X418 Y50 F3600.0
G0 X418 Y100 F3600.0
G0 X421 Y100 F3600.0
G0 X421 Y50 F3600.0

;execute Nozzle brush 2
G0 X413 Y90
G0 X421 Y90
G0 X421 Y85
G0 X413 Y85
G0 X413 Y80
G0 X421 Y80
G0 X421 Y75
G0 X413 Y75
G0 X413 Y70
G0 X421 Y70
G0 X421 Y65
G0 X413 Y65
G0 X413 Y60
G0 X421 Y60
G0 X421 Y55
G0 X413 Y55
G0 X413 Y50
G0 X421 Y50
G0 X421 Y100
G0 X413 Y150

;exit Dangerous Zone

;calibration line
G1 Z2.0 F3000 ; Move Z Axis up little to preventscratching of Heat Bed
G1 X400 Y120 Z0.3 F3600.0 ; Move to start position
G1 X400 Y370.0 Z0.3 F1500.0 E18 ; Draw the first line
G1 X396 Y370.0 Z0.3 F3600.0 ; Move to side a little
G1 X396 Y120 Z0.3 F1500.0 E36 ; Draw the second line
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X392 Y120 Z0.1 F3600.0 ; Move over to prevent blob squish
g0 Z1;
M75; start PrintJob Timer
;start printing

end gcode:

M77; stop PrintJobTimer
;end of print, cleaup and present
G91 ;Relative positioning
G1 E-2
G1 E-2 Z0.2 F2400
G1 X5 Y5 F3000
G1 Z10

M300 S440 P200
M300 S660 P250
M300 S880 P300

G1 X400 Y50 Z200 F600		;present
M106 S0
M104 S0
M140 S0

M84 X Y E

as I start extruding at X410 before nozzle-brush it looks like OctoLapse tries to make all pictures around X410 but this get's never reached again

1 Like