-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending a file uploaded to octoprint via Prucaslic3r to the printer via the "Upload to SD" button. #33
Comments
With this plug-in installed you should be able to use the "upload to SD card" button within OctoPrint to upload a gcode file to the Dreamer NX's sd card. I am not familiar with Prucasl3ser, but I suspect that if you are using it to slice and it will connect to OctoPrint, you might be able to send the output from Prucasl3ser directly to the printer's SD card via OctoPrint. It is possible to do exactly that from Cura to a FlashForge Finder and it seems to work fine. |
Prucaslic3ril has a "send to printer" button. It only sends to octoprint. Or, if you check the "start printing" box, the printer will go against the limit switches and start raising the temperature properly, but the printer will not start the printing process. And it doesn't load the g-code into the printer's memory either. |
Thank you for clarifying. Let me think about it a bit. I need to finish some work on the plugin that is LONG overdue :) |
@KeltE I just pushed a new release that should allow you to print g-code directly from OctoPrint without using the "Upload to SD card" button. |
Hello! Best Egon _Changing monitoring state from "Offline" to "Detecting serial connection" |
Hi Egon, sorry it is not working. Can you turn on debugging for the plugin -
Also please supply the settings for your serial connection preferably by uploading ~/.octoprint/config.yaml (remove any confidential information first). Thanks! |
No need to apologize. I'm glad someone is bothering to deal with the problem :). I tried and did a new installation of octopi and got nicely connected now. the old way of "upload to SD" works beautifully. Since I have raspberryPi connected via Wifi and just the connection was lost then the printer went confused. Started printing something in the air: D. But I tried the "load and print" button and it starts printing, but doesn't activate the print on the print screen like the "load to SD card" button does. All the best Egon |
@KeltE Hi Egon,
I bet you have some good stories! I have an idea of what may be happening but it would be helpful if you can give me another log file with debugging for the plugin turned on like I suggested above - can you try:
Thanks! |
Hello! Sorry that the answer took so long. I looked at a very good table made with different printers. Best Egon |
Yes, as you describe. Vooliku-hoidik_0.2mm_ABS_11m_Pause test.g.zip I got a solution for how I can send the files inside the octoprint to the printer with the "upload to SD" button. I downloaded the "FileManager" plugin. |
Hello! Why does Octoprint occasionally send an M601 S0 request to the printer and disconnect the USB connection to the printer? Printed the same G code 7 times and happened 3 times during it. After the connection is lost, you must manually set the "serial port" to Auto and then you can connect again. |
This is really interesting. It looks like the connection was dropped around 6:29 am due to a USB error:
and then I am guessing you manually reconnected it?
but note that the printer did not respond to the M601 but the plugin detects the printer responses and that SD printing is in progress, so subsequent M601 "hello" commands to the printer are filtered out and not sent:
Meanwhile OctoPrint is waiting for a response to the M601 "hello" command and because it does not see it, thinks that the printer is not connected and so keeps sending the command until it gives up. So there are a couple of issues:
|
Polarcloud does not support the Dreamer Nx printer. So I have no connection there. Over Wifi I enter the Octop environment through the router. |
I think the subject can be locked at the moment. All the buttons, bells and whistles work that I've tested. The commands in the Dremel.Gcode.protokoll.Pdf file also work beautifully on Dreamer Nx. I even entered commands manually in the Octop environment and working And of course sorry I didn't look at the Dremel Gcode protocol. There yes M601 connection command. |
Glad to hear it is otherwise working well! I also have a Wiki page with the g-code commands that seem to work and has been updated with most of the ones from the dremel doc: https://github.com/Mrnt/OctoPrint-FlashForge/wiki/G-Code-Reference If you can reliably reproduce the conditions when it generates this error and closes the connection:
Then we could try a special build to see if it is possible to recover from the error without dropping the connection. |
Yes I will let you know if I can repeat the interruption. It seems to be happening too randomly at the moment. Hard to track that way. During the second hour of printing, the connection was lost again, but now it has been printing for 4.5 hours and the connection has not been lost again. |
Maybe the wrong place to share. Couldn't write anywhere else here. |
Oh thats great! When I have a chance I'll add a link to it in the docs or Wiki. I will also try to add the information you have there about which commands are supported by the dreamer nx to the g-code reference in the Wiki. I did ask for an official list of g-code commands on the official FF Facebook page but the response was short and negative. |
I can't say exactly when I'll be ready. It takes me a long time to write. I'm not very good at English. Much remains to be done and tested. I also have access to the Fanuc guide. Pretty much the commands in G-code are the same. I want to test my printer on what works and what doesn't. It's a shame that Flashforge is trying to keep information that I think should be in the user guide. G-code in for end user use. And as I understand it, they use open source projects a lot in the background. |
This is how Octoprint responds to the M651 command. It appears to be the origin of the machine home position. |
Egon, I finally updated the Wiki with respect to M651 - thanks for that! |
Hello! Sorry if maybe I'm posting in the wrong place. I'm very new here at Github. Couldn't find another place to write. I have a Dreamer NX connected to Octoprind and am using Prucasl3ser. Prucaslic3rist can send the g-code directly to OctoPi. Is it possible to select a G-code file directly from Octoprint with the "upload to SD card" button?
The text was updated successfully, but these errors were encountered: