SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
7.49k stars 901 forks source link

Printer starts before reaching hotend temp - due to M104 command rather thanM109. Previously in #2334 but still present #4337

Open daveDGL opened 9 months ago

daveDGL commented 9 months ago

Is there an existing issue for this problem?

OrcaSlicer Version

1.9.1

Operating System (OS)

Windows

OS Version

win11

Additional system information

No response

Printer

Voxlab aquila

How to reproduce

its in the orca generated Gcode that comes before my start gcode: M204 P10000 R1000 T10000 M205 X10.00 Y10.00 Z0.40 E5.00 ; sets the jerk limits, mm/sec M190 S55 ; set bed temperature and wait for it to be reached M104 S220 ; set nozzle temperature <<<<<<<<<<<<<< ;TYPE:Custom

Actual results

If I select upload and print and the printer is currently idle (cool hotend) the bed reaches temperature then as soon as the hotend temp starts to rise it starts the print - with nothing extruded for the first few seconds as the nozzle heats up.

Expected results

The auto generated gcode should have M109 not M104 command for setting hotend temperature. then the file progress would pause until this is reached. clip in TPU.zip

Project file & Debug log uploads

clip in TPU.zip

Checklist of files to include

Anything else?

this was previously reported as bug #2334 but was closed as stale. The comments /workarounds are all manual start code edits, which is not ideal given I print different materials so one setting would not work for all

mikigal commented 8 months ago

I implemented a temporary fix that will work for all materials - the temperature is obtained from the first layer temperature. The code should be placed in your printer's Start G-Code section.

M109 S{nozzle_temperature_initial_layer[initial_extruder]} ; Fix for printing without waiting for the temperature
daveDGL commented 8 months ago

thanks - I discovered a similar fix after I posted the bug. I am new to orcaslicer and didnt grasp that the the filament type had its own start gcode settings....I've now added that M109 command for my 'go to ' filament in that area, but your solution is better as it works for all filament types/vendors and I've just added it.. I am really impressed with Orcaslicer. Thanks Dave

dragon-architect commented 5 months ago

I'm +1'ing this bug with the Anycubic Kobra 2. I was literally in the process of starting my first serious test print and the hot end wasn't doing a preheat-and-wait. So I looked in the gcode output by Orca Slicer to find M104 to set the hot end temperature instead of M109. This seems like an oversight.

EDIT: I think I have put together a slightly more optimized workaround that I also shared in #3061 but I'm in the middle of a 9 hour test print that I didn't want to stop just to test this out:

; Get bed and hotend both heating up simultaneously M140 S[first_layer_bed_temperature] ; set bed temperature M104 S[first_layer_temperature] ; set hotend temperature ; Wait for both bed and hotend to reach temperature M190 S[first_layer_bed_temperature] ; waiting for the temperature of the print bed M109 S[first_layer_temperature] ; waiting for hotend temperature

Visnitz commented 5 months ago

I have a same issue with OS X Orca 2.1.0 Start G code normal. Filament G code usualy empty. As I remember it used to work fine...

NathanNull commented 3 months ago

Same problem, using Anycubic Vyper. Someone fix this pls.

Mirniy2000 commented 3 months ago

Правильно понимаю что в кастомном профиле также отсутствует данный М-код?

TrentBartlem commented 3 months ago

Still there in 2.1.1

github-actions[bot] commented 1 week ago

Orca bot: this issue is stale because it has been open for 90 days with no activity.

disconn3ct commented 1 week ago

Did "orca bot" fix it? No? Then why is it being closed?