prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.73k stars 1.93k forks source link

Ender 3 Profile - Remaning Time #3758

Closed RivasBoy closed 3 years ago

RivasBoy commented 4 years ago

Version

PrusaSlicer 2.2.0-rc

Use About->About PrusaSlicer for release versions

For -dev versions, use git describe --tag or get the hash value for the version you downloaded or git rev-parse HEAD

Operating system type + version

windows 10 pro

3D printer brand / version + firmware version (if known)

Ender 3 Pro / board fysetc cheetah 1.2 MARLIN BUG FIX 2.0X

Behavior

The remaning time of the priting job does not work.

bubnikv commented 4 years ago

The remaning time of the priting job does not work.

What do you mean?

út 3. 3. 2020 v 0:21 odesílatel RivasBoy notifications@github.com napsal:

Version

PrusaSlicer 2.2.0-rc

Use About->About PrusaSlicer for release versions

For -dev versions, use git describe --tag or get the hash value for the version you downloaded or git rev-parse HEAD Operating system type + version

windows 10 pro 3D printer brand / version + firmware version (if known)

Ender 3 Pro / board fysetc cheetah 1.2 MARLIN BUG FIX 2.0X Behavior

The remaning time of the priting job does not work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/3758?email_source=notifications&email_token=ABMPSI6IV3MNSGZTB75MQ6DRFQ5RLA5CNFSM4K76WXD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IR3KEWQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMPSIZL4Z4BRPZAG4LR44DRFQ5RLANCNFSM4K76WXDQ .

neophyl commented 4 years ago

I don't have an Ender 3 but I do have a CR10 running Marlin and if the Ender is like the cr10 then the firmware doesn't know how to deal with the time remaining gcode so it 'doesn't work' in the sense that the time remaining is not displayed on the printers lcd.

However as its the firmware and not the slicer it wasn't anything to post about here. This may not be the same with the Ender but I thought I should mention the possibility.

RivasBoy commented 4 years ago

Good Morning, in the ender 3 pro with the slicer cura the post processing script show remaning time in lcd, works for me.

In prusa slicer in the tab Printer Settings I check the option Supports remaining times: I think this is the right way to do it.

neophyl commented 4 years ago

Can you compare the gcode for the 2 slicers ? That may help to figure out what the difference is.

RivasBoy commented 4 years ago

Ok. when i arrived at home i will compare the booth files. Thank you.

RivasBoy commented 4 years ago

Hello, Cura slicer added to file the code "M117 Time Left 0h33m48s", several times. For me the cura slicer calculate the time by layer and add this command during the print job.

neophyl commented 4 years ago

Ah that possibly explains it. M117 is the general print xxxxx to screen command. I'm sure Bubnik will correct me if I'm wrong :) but I think prusa slicer uses the M73 - set print progress command, for example :- M73 Q2 S41 - so time remaining in stealth mode 41 (S41) M73 P2 R41 - time remaining in normal mode 41 (R41) as I think the Prusa firmware is programmed to respond to those and can give time remaining in either normal or stealth modes.

At least when I've looked through any of my gcode files those commands seem to correspond to the time remaining displayed on the lcd at that point.

bubnikv commented 4 years ago

yes, the remaining times is a Prusa firmware specific feature. It emits a G-code that only Prusa firmware understands.

út 3. 3. 2020 v 13:06 odesílatel neophyl notifications@github.com napsal:

Ah that possibly explains it. M117 is the general print xxxxx to screen command. I'm sure Bubnik will correct me if I'm wrong :) but I think prusa slicer uses the M73 - set print progress command, for example :- M73 Q2 S41 - so time remaining in stealth mode 41 (S41) M73 P2 R41 - time remaining in normal mode 41 (R41) as I think the Prusa firmware is programmed to respond to those and can give time remaining in either normal or stealth modes.

At least when I've looked through any of my gcode files those commands seem to correspond to the time remaining displayed on the lcd at that point.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/3758?email_source=notifications&email_token=ABMPSI3NP3NM6LC532XHDFLRFTXDDA5CNFSM4K76WXD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENTHM2Q#issuecomment-593917546, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMPSIZFHD2B4FUR74WOZD3RFTXDDANCNFSM4K76WXDQ .

neophyl commented 4 years ago

I don't know anything about writing post processing scripts but I know Prusa Slicer can run them, so it should be possible to script something to replace/addto the M73 gcode lines with M117 Time Left and use the Rxx part to supply the time part ?

bubnikv commented 4 years ago

that will certainly work.

st 4. 3. 2020 v 14:35 odesílatel neophyl notifications@github.com napsal:

I don't know anything about writing post processing scripts but I know Prusa Slicer can run them, so it should be possible to script something to replace/addto the M73 gcode lines with M117 Time Left and use the Rxx part to supply the time part ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/3758?email_source=notifications&email_token=ABMPSIZCZU6OXNIL2RR7C5LRFZKI3A5CNFSM4K76WXD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENX327Q#issuecomment-594525566, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMPSI2BKTLDJJQM4DZVUG3RFZKI3ANCNFSM4K76WXDQ .

RivasBoy commented 4 years ago

I will study post-processing scripts and contribute if I can.

bubnikv commented 4 years ago

This may help if you are on Windows and you are brave to try Perl. On OSX or Linux the Perl interpreter is installed by default. https://github.com/prusa3d/PrusaSlicer/wiki/Running-Perl-post-processing-scripts-on-Windows-from-Slic3r-PE-1.42-and-newer

This Perl install has been derived from our old Perl based Slic3r Prusa Edition and it is tiny, it consumes just 6.64 MB of your hard drive.

This may help as well. https://manual.slic3r.org/advanced/post-processing https://hackaday.com/2016/07/20/3d-printering-g-code-post-processing-with-perl/

rtyr commented 3 years ago

I believe this issue can be closed. Also, as far as I know, the current Marlin supports our remaining time format so you may just update the firmware.