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
9.06k stars 1.09k forks source link

Error Send Model to FlashForge Adventurer 5M #4834

Open pacocatech opened 11 months ago

pacocatech commented 11 months ago

Is there an existing issue for this problem?

OrcaSlicer Version

2.0.0

Operating System (OS)

Windows

OS Version

Windows 10

Additional system information

No response

Printer

FlashForge Adventurer 5M

How to reproduce

1 Configure network connection 2 Slice Model 3 Print 4 Error on send model to printer image image image image

Actual results

Error on send model to printer image

Expected results

Send model to printer with success

Project file & Debug log uploads

crash_Tue_Mar_26_23_29_08_0.log bust.zip

Checklist of files to include

Anything else?

No response

pacocatech commented 11 months ago

When I make a smaller file, for example, the standard orca cube, the file is sent successfully, it must have something to do with the size of the file, in my example the file is more than 100mb

pacocatech commented 11 months ago

@FlashforgeOfficial can u help?

Savacartonner commented 11 months ago

I have the same problem with my X1C from Bambu Lab

FlashforgeOfficial commented 11 months ago

@FlashforgeOfficial can u help?

@iherbak Hi could you help take a look on this one?

tlochi commented 11 months ago

Same problem on my Adventure 5M. A consistent amount of time passes during uploading a file before Orca decides there is an error. On the printer interface, the upload status bar continues to fill up normally until Orca generates the error message.

iherbak commented 11 months ago

I’ve created a windows command line tool to provide something to experiment with. https://github.com/iherbak/OrcaSlicer/releases/download/Latest/5MWifi.zip

Could you try to use it for uploading the gcode? You could change the timeout and the size in bytes to split the file on sending. I was unable to reproduce the issue myself. I hope we could find the issue so i could adapt the code.

preacher4gh commented 10 months ago

I have an Adventure 3 and had the same issue. Command line tool worked prerfect for me, but surprisingly, after looking at the machine, the test file and even those that timed out on orca slicer were there, but without preview image. So I wonder, which Gcode flavor and which image format for preview to choose.

thhdragon commented 9 months ago

I’ve created a windows command line tool to provide something to experiment with. https://github.com/iherbak/OrcaSlicer/releases/download/Latest/5MWifi.zip

Could you try to use it for uploading the gcode? You could change the timeout and the size in bytes to split the file on sending. I was unable to reproduce the issue myself. I hope we could find the issue so i could adapt the code.

would you mind helping me out with that? what are the defaults for the port and the [data_wait_timeout] [data_packet_size]? not sure what values to start with. edit; actually changing the image format QOI solved the problem for me. still dont have a preview image but i doubt thats orcas fault. i can do a test real quick though to see if i send the same big stl from flashforges illegal copy of orca if it has a preview or not though

iherbak commented 9 months ago

Hi. The dafult port is 8899 waittime try 60 first packet size in bytes so try 10240.

thhdragon @.***> (időpont: 2024. jún. 8., Szo, 6:48) ezt írta:

I’ve created a windows command line tool to provide something to experiment with. https://github.com/iherbak/OrcaSlicer/releases/download/Latest/5MWifi.zip

Could you try to use it for uploading the gcode? You could change the timeout and the size in bytes to split the file on sending. I was unable to reproduce the issue myself. I hope we could find the issue so i could adapt the code.

would you mind helping me out with that? what are the defaults for the port and the [data_wait_timeout] [data_packet_size]? not sure what values to start with.

— Reply to this email directly, view it on GitHub https://github.com/SoftFever/OrcaSlicer/issues/4834#issuecomment-2155807460, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH6KN7EV6ESDQ5UB526Q5LZGKEIXAVCNFSM6AAAAABFRRF5VKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVHAYDONBWGA . You are receiving this because you were mentioned.Message ID: @.***>

Supremeb1 commented 9 months ago

Adventurer 5m same thing happens to me with 6mb file.

makc9 commented 8 months ago

I’ve created a windows command line tool to provide something to experiment with. https://github.com/iherbak/OrcaSlicer/releases/download/Latest/5MWifi.zip

Could you try to use it for uploading the gcode? You could change the timeout and the size in bytes to split the file on sending. I was unable to reproduce the issue myself. I hope we could find the issue so i could adapt the code.

thank you! with long timeout downloads well. how to change timeout in orca?

goldfish408 commented 7 months ago

Same issue for me with a FlashForge Adventurer 5M Pro with Windows 11.

xlordxcheater commented 6 months ago

Same happening here with a Adventurer 5m with files over 12mb. Sending the files via Wifi

rivens623 commented 4 months ago

I also see this issue: OS: Windows 10 & macOS Sonoma 14.7 (M1 Max) Orca Slicer Version: 2.1.1 3d Printer: Flash Forge Adventurer 5M via WiFi Flash Print works via the same computer(Windows OS) and can send and print files of any size, Orca Slicer connects to the printer, but fails when trying to send files. Exporting the Gcode file from Orca Slicer to USB and loading the file directly to the printer works

xlordxcheater commented 4 months ago

I’ve created a windows command line tool to provide something to experiment with. https://github.com/iherbak/OrcaSlicer/releases/download/Latest/5MWifi.zip

Could you try to use it for uploading the gcode? You could change the timeout and the size in bytes to split the file on sending. I was unable to reproduce the issue myself. I hope we could find the issue so i could adapt the code.

How can I use the command line tool? I only got a zip file with a 5MWifi.exe and other files

Hugofer27 commented 4 months ago

@FlashforgeOfficial can u help?

@iherbak Hi could you help take a look on this one?

Fix your configuration on Orca Slicer

xlordxcheater commented 4 months ago

@FlashforgeOfficial can u help?

@iherbak Hi could you help take a look on this one?

Fix your configuration on Orca Slicer

Can you please Elaborate on this?

iherbak commented 4 months ago

@FlashforgeOfficial can u help?

@iherbak Hi could you help take a look on this one?

Fix your configuration on Orca Slicer

Can you please Elaborate on this?

I guess the issue is with the serial connection instability in case of uploading bigger files. Since Orca-Flashforge is available i found they added an more reliable rest communication to the firmware. I made an adaptation. https://github.com/iherbak/OrcaSlicer/releases/tag/Latest

Could you please try this version. The instruction on how to setup the connection is written in the notes. @xlordxcheater @rivens623

rivens623 commented 3 months ago

@iherbak - I installed the latest and a smaller STL file (12 MB) and it worked. I will try a bigger project file I am working on after this one is done. Thanks!!

rivens623 commented 3 months ago

@iherbak - Just tried to send a bigger file (164MB) and it failed to send. "Error uploading to print host: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond." The printer shows that it is receiving a file when I try to send it.

iherbak commented 3 months ago

@rivens623 Thanks for testing. I tried today with a 176 mb gcode and sent over fine. I tested using utp cable as well as wifi. Both were successfull at multiple attempt without any of them failing.

Maybe making a capture with wireshark could show something as unfortunatelly i am unable to reproduce the issue.

rivens623 commented 3 months ago

@iherbak do you have any specific filters you would want applied for wireshark or just start the monitoring, attempt to send the file to the printer and then send the results?

iherbak commented 3 months ago

@rivens623 no filter neccessary. Only the recorded file. Start it before hitting upload and stop it after the error happens in orca. I hope we could see something. Thanks

rivens623 commented 3 months ago

WireSharkResults.zip

@iherbak - Here are the wireshark results. Two files, one trying to send the file w/o printing, the other with printing command via OrcaSlicer.

iherbak commented 3 months ago

@rivens623 Examined the results. You are using the previous version which is using serial communication. (I see the gcode commands). I tried to reproduce the issue with no luck. However since Orca-flashforge is out a new API connection is available with the latest firmwares that is more reliable. Could you please try the latest version at my github. https://github.com/iherbak/OrcaSlicer/releases/tag/Latest. The instructions on how to configure is on the page.

I am waiting on feedbacks before creating a pull request to the Softfever repo.

rivens623 commented 3 months ago
@iherbak - That did it. Sorry I thought I had the right one installed. The version numbers were the same for the correct one I installed from the previous.
rfkarpinski commented 3 months ago

@rivens623 Examined the results. You are using the previous version which is using serial communication. (I see the gcode commands). I tried to reproduce the issue with no luck. However since Orca-flashforge is out a new API connection is available with the latest firmwares that is more reliable. Could you please try the latest version at my github. https://github.com/iherbak/OrcaSlicer/releases/tag/Latest. The instructions on how to configure is on the page.

I am waiting on feedbacks before creating a pull request to the Softfever repo.

Hello! Works like a charm. I have downloaded 2.3.0-dev, configure SN and printer ID and 62MB works. Thanks a lot!

github-actions[bot] commented 1 week ago

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

esistgut commented 1 week ago

@iherbak hey, did you push a merge request on mainline orca?

istvanherbak commented 1 week ago

@esistgut Hi, i had a merge request, but they commented on several time and lamented if we should preserve the old serial connection as well, so i gave up on that. Currently i added the dialog clearing before print, and i will prepare a new merge request including that as well. Till then in my own branch you could try it.