Notifications
Clear all

Cannot get octoprint working with the mk3  

  RSS
Chris
(@chris-16)
Reputable Member
Cannot get octoprint working with the mk3

I have an MK3 and I have a RPI running octoprint 1.3.6 (latest version) I had been using this sucessfully with a Wanhao i3 clone for at least 6 months and it has mostly worked flawlessly.

Last night I added a new profile, set the settings for the prusa and attempted a print, at first i had to go back in and set a custom bounding box for the priming wipe outside the printbed, so restarted and retry and no matter what print i was printing from the pi it would heat fully, then do the prime wipe and just stop. it would indicate it was printing but instead of doing anything if would just sit. in checking terminal this is repeated over and over:

Recv: Error:No Line Number with checksum, Last Line: 13
Send: N16 G90*39
Recv: Error:Line Number is not Last Line Number+1, Last Line: 13
Recv: Resend: 14
Recv: ok
Send: N14 M900 K{if printer_preset=="Original Prusa i3 MK2 MultiMaterial"}200{elsif printer_preset=="Original Prusa i3 MK2 MM Single Mode"}200{else}45{endif}*11

The file is being sent by prusa slic3r edition (latest and greatest) direct to octoprint via the SEND TO PRINTER button in prusa slic3r edition.

when i save the same file to the sd card and print i have no issues it just works. is there something i am missing?

Posted : 21/12/2017 12:37 am
rufflez
(@rufflez)
Estimable Member
Re: Cannot get octoprint working with the mk3

I believe your issue is with the if/else statement in Slic3r that might not be supported yet in Marlin

Change:
N14 M900 K{if printer_preset=="Original Prusa i3 MK2 MultiMaterial"}200{elsif printer_preset=="Original Prusa i3 MK2 MM Single Mode"}200{else}45{endif}*11
to
N14 M900 K45

If you're using MultiMaterial
change to
N14 M900 K200

This is the linear advance setting.

Posted : 21/12/2017 12:42 am
Chris
(@chris-16)
Reputable Member
Topic starter answered:
Re: Cannot get octoprint working with the mk3


I believe your issue is with the if/else statement in Slic3r that might not be supported yet in Marlin

Change:
N14 M900 K{if printer_preset=="Original Prusa i3 MK2 MultiMaterial"}200{elsif printer_preset=="Original Prusa i3 MK2 MM Single Mode"}200{else}45{endif}*11
to
N14 M900 K45

If you're using MultiMaterial
change to
N14 M900 K200

This is the linear advance setting.

ok i found in slic3r where that line appears, it is specific to the filament so i will have to do it for each filament i use.
The thing is the file in octoprint is the exact file that is being saved to the sd so why is it not doing the same thing when printing from the sd?

i'm in the middle of a 10 hr print so i can't check it at the moment but i will report back if that fixes it.

Posted : 21/12/2017 2:16 am
rufflez
(@rufflez)
Estimable Member
Re: Cannot get octoprint working with the mk3

Maybe its not marlin that can't read it, maybe its Octoprint itself. Let me know what happens after you use it. I've been using the previous release (pre drivers 2.0.0) on my mk2 with octoprint without issue. I haven't tried the new version yet because I'm waiting on a hotend (failed print took it out). I just got my mk3 today and I haven't had a chance to build it yet.

Posted : 21/12/2017 2:32 am
HackMonkey
(@hackmonkey-2)
Trusted Member
Re: Cannot get octoprint working with the mk3

I am guessing it is Octoprint. I tried sending a multi color file from Color Print through Octoprint and the printer disconnected from Octoprint when a M900 code came through.

Otherwise, I had no problem plugging a Pi that had been previously setup to work with an MP Maker Select, into the Prusa MK3 and it worked right off the bat.

Posted : 21/12/2017 5:22 am
Peter
(@peter-12)
Estimable Member
Re: Cannot get octoprint working with the mk3

Those types of macros are not real gcode, and it's the slicers job to parse them and create the result. If you're slicing with octoprint, it is octoprint that should fix the gcode. If you're not slicing with octoprint, whatever slicer you do use should fix the gcode.

Posted : 21/12/2017 9:08 am
JLTX
 JLTX
(@jltx)
Reputable Member
Re: Cannot get octoprint working with the mk3



I believe your issue is with the if/else statement in Slic3r that might not be supported yet in Marlin

Change:
N14 M900 K{if printer_preset=="Original Prusa i3 MK2 MultiMaterial"}200{elsif printer_preset=="Original Prusa i3 MK2 MM Single Mode"}200{else}45{endif}*11
to
N14 M900 K45

If you're using MultiMaterial
change to
N14 M900 K200

This is the linear advance setting.

ok i found in slic3r where that line appears, it is specific to the filament so i will have to do it for each filament i use.
The thing is the file in octoprint is the exact file that is being saved to the sd so why is it not doing the same thing when printing from the sd?

i'm in the middle of a 10 hr print so i can't check it at the moment but i will report back if that fixes it.

I am having the exact same problem. Did this clear it up?

Posted : 21/12/2017 2:46 pm
Chris
(@chris-16)
Reputable Member
Topic starter answered:
Re: Cannot get octoprint working with the mk3


I am having the exact same problem. Did this clear it up?

yes
it is under filament settings tab, Custom Gcode, start g-gcode

Posted : 21/12/2017 6:19 pm
Chris
(@chris-16)
Reputable Member
Topic starter answered:
Re: Cannot get octoprint working with the mk3


Those types of macros are not real gcode, and it's the slicers job to parse them and create the result. If you're slicing with octoprint, it is octoprint that should fix the gcode. If you're not slicing with octoprint, whatever slicer you do use should fix the gcode.

This is getting inserted by slic3r prusa edition

Posted : 21/12/2017 6:19 pm
Peter
(@peter-12)
Estimable Member
Re: Cannot get octoprint working with the mk3



Those types of macros are not real gcode, and it's the slicers job to parse them and create the result. If you're slicing with octoprint, it is octoprint that should fix the gcode. If you're not slicing with octoprint, whatever slicer you do use should fix the gcode.

This is getting inserted by slic3r prusa edition

Yes, but people were discussing whether the if macro would be supported by marlin. No. It won't. It is a slicer macro.

Posted : 21/12/2017 7:57 pm
JLTX
 JLTX
(@jltx)
Reputable Member
Re: Cannot get octoprint working with the mk3



I am having the exact same problem. Did this clear it up?

yes
it is under filament settings tab, Custom Gcode, start g-gcode

Thanks, that worked for me. Oddly, my default was 30 instead of 45.

Posted : 21/12/2017 9:29 pm
kelchm
(@kelchm)
Eminent Member
Re: Cannot get octoprint working with the mk3


I believe your issue is with the if/else statement in Slic3r that might not be supported yet in Marlin

Marlin isn't what needs to support it. If you're having issues with this it means you need to download a newer release of Slic3r PE (at least 1.38.4) from here.

Posted : 21/12/2017 10:48 pm
Share: