Skip to content
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

Thumbnails not being displayed on qidi x-max 3 screen #5973

Open
3 tasks done
pmbroth opened this issue Jul 1, 2024 · 42 comments
Open
3 tasks done

Thumbnails not being displayed on qidi x-max 3 screen #5973

pmbroth opened this issue Jul 1, 2024 · 42 comments
Labels
bug Something isn't working

Comments

@pmbroth
Copy link

pmbroth commented Jul 1, 2024

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.1.1

Operating System (OS)

Windows

OS Version

windows

Additional system information

No response

Printer

Qidi X-max 3

How to reproduce

send job to printer, no thumbnail generated
image

Actual results

black screen, no thumbnail is shown, goto Qidi users forums, users are all stating this with 2.1.1

Expected results

Thumbnail to be displayed

Project file & Debug log uploads

any stl will produce this outcome

settings below

image

Checklist of files to include

  • Log file
  • Project file

Anything else?

image

@pmbroth pmbroth added the bug Something isn't working label Jul 1, 2024
@kiniad
Copy link
Contributor

kiniad commented Jul 1, 2024

I could confirm this for the Qidi X-Plus 3.
Reason: The COLPIC section (gimage, simage) have to be at the end of the gcode, as it was before 2.1 final with the thumbnails revamp.
See: #5555

@Viktor-N-snr
Copy link

QIDI X-Plus 3, yes this problem is still there since previous versions. I tried all sorts of combinations of resolution, number of resolutions (for example 380x380/COLPIC only), other bitmap formats and so on. Nothing helped at all.
A small thumbnail will appear in the file list. But not in the main window. Just the black square instead of the preview. With QIDI slicer it works corectly of course, ORCA doesn't.
QIDI slicer settings are: 380x380/QIDI, 210x210/QIDI, 110x110/PNG.
Well, ORCA doesn't know the QIDI type and uses COLPIC instead, but of course I immediately tried 380x380/COLPIC, 210x210/COLPIC, 110x110/PNG but alas — still the same, just black squere and not white circle or — required thumbnail… :-)))

@cableguyed
Copy link

Verified that if you save the gcode file, open with notepadd++ or similar and cut the ;gimage and ;simage sections, paste them at the very end, the thumbnails come right up when you use the device screen to upload the gcode file. I haven't had a chance to actually print a test file yet, but it looks promising. Should be a simple fix for Orca code.

@Viktor-N-snr
Copy link

Thanks for this interesting solution, but really there is no chance to edit each G-Code, when I am sending that directly to the printer. :-)

@cableguyed
Copy link

cableguyed commented Jul 15, 2024 via email

@pmbroth
Copy link
Author

pmbroth commented Jul 15, 2024

This is what I did, and it works on my qidi x-max 3, I moved the thumbnail section to the bottom of the configuration file.
Move yellow section to the bottom, as I did in the json file attached.
json file
fdm_qidi_x3_common.json

@cableguyed
Copy link

cableguyed commented Jul 15, 2024 via email

@nicolalamacchia
Copy link

Use this script in the post-processing setting: Global Settings -> Others -> [scroll to the bottom] -> Post-processing Scripts -> type the full path of the script you downloaded (make sure that the script is executable).

It worked for my X-Plus 3.

Thanks @kiniad. Looks like moving the whole thumbnail block works.

@jimwhitelaw
Copy link

I tried the solution posted by @pmbroth; it did not work on my X-Max 3.

@cableguyed
Copy link

Compiling the python script (with minor tweak to get the start point fixed) works great for both my X-Max3 and X-Smart 3.
Thanks Nicola!

@ovidakis
Copy link

Compiling the python script (with minor tweak to get the start point fixed) works great for both my X-Max3 and X-Smart 3. Thanks Nicola!

Hi @cableguyed ! How did u do that? I'v copied that file to my: /home/mks/qidi_thumbnail.py and make it executable and after that I copied address to orcaslicer. Still not workig. Am I missing something?

1
image
Thank you!

@cableguyed
Copy link

cableguyed commented Aug 25, 2024 via email

@ovidakis
Copy link

ovidakis commented Aug 26, 2024

Hi Ed, still not woking :( I looked to g-code file and I found at the end of the file that the post-processing script done the job. Probably xindi/display cant read correctly those lines. By the way, my printer (X-max3) is on latest firmware based on Debian 12 Bookworm.
BR,
ovi

@cableguyed
Copy link

cableguyed commented Aug 26, 2024 via email

@Brandon520x
Copy link

I can confirm the thumbnails are not working on my X-Plus 3 with current QIDI firmware using 2.1.1. Very frustrating since this seems to have been committed in the latest build.

@astrojolo
Copy link

Still not working on the X-Plus 3 and 2.2.0-beta version.

@toxin9993
Copy link

still not working on the X-Plus3
Orcaslicer v2.2.0-beta2

@pmbroth
Copy link
Author

pmbroth commented Oct 9, 2024

rc 22 still thumbnails not working. .

@pmbroth
Copy link
Author

pmbroth commented Oct 18, 2024

Thumbnails still not working with 2.2 RC

@breathless19
Copy link

breathless19 commented Oct 18, 2024

Just wanted to chime in to say that cableguyed's solution worked on my X-Max 3 in OrcaSlicer. I didn't know what he was talking about with creating executable's in python, so I just edited the script according to what he said. First try, I got a line indentation error when trying to print my first file, which means that a straight copy and paste made the start of the edit indented by one space. Whoops.... Took that back one space by comparing it to the original script posted by nicolalamacchia and it worked! I'm on the latest X-Max 3 firmware by the way, and OrcaSlicer 2.2 RC.

@pmbroth
Copy link
Author

pmbroth commented Oct 30, 2024

@breathless19 You edited the script that you downloaded from his site? Then you just placed the whole script in the post processing area?

@cableguyed
Copy link

cableguyed commented Oct 30, 2024 via email

@pmbroth
Copy link
Author

pmbroth commented Oct 30, 2024

I firgured it out. I compoiled the script and all works...

@cableguyed
Copy link

cableguyed commented Oct 30, 2024 via email

@Arturis Arturis mentioned this issue Oct 30, 2024
3 tasks
@pmbroth
Copy link
Author

pmbroth commented Oct 31, 2024

Thank you again for your solution!!!! @cableguyed

@cptcl
Copy link

cptcl commented Dec 6, 2024

And we cannot have a simple solution for this?

@BobW55
Copy link

BobW55 commented Jan 3, 2025

Sorry I am late to the party.
If I read everything correctly, I am using a X Max 3 with Orca 2.2.0
I have downloaded the Python script and edited it using Thoney. (Still a novice python person)
What are you all using to convert the script to an EXE file? And I assume I need to post a link to the file here?
post

@cableguyed
Copy link

cableguyed commented Jan 3, 2025 via email

@BobW55
Copy link

BobW55 commented Jan 3, 2025

I managed to get the PY into an EXE file. I can see it run and I get no returned error.
Is this the proper location for the .json file?
Location

@BobW55
Copy link

BobW55 commented Jan 4, 2025

Ok found the correct place in the Orca slicer folder to place the Json file. Have to wait for current print to finish so I can reboot everything. Fingers crossed.

@BobW55
Copy link

BobW55 commented Jan 4, 2025

Double checked that I put the .json file and the correct spot and that it has been edited to move the thumbnails to the last few lines of code in the file.
Must be something corrupt in the EXE file I made.

@cableguyed
Copy link

cableguyed commented Jan 4, 2025 via email

@BobW55
Copy link

BobW55 commented Jan 4, 2025

Yes I added the i+1 and the i-1 as you indicated then I compiled it.

@cableguyed
Copy link

cableguyed commented Jan 4, 2025 via email

@BobW55
Copy link

BobW55 commented Jan 4, 2025

I appreciate the help. Recompiled it.
now getting this error:
C:\Users\k8pos\AppData\Local\Temp.OrcaSlicer.upload.cba5-46b0-0e15-e854 failed.
Error code: -1
I'll just wait till orca fixes it.

@cptcl
Copy link

cptcl commented Jan 10, 2025

not possible to just upload the compiled working exe somewhere so we can download and use it?

@cableguyed
Copy link

cableguyed commented Jan 10, 2025 via email

@cableguyed
Copy link

cableguyed commented Jan 10, 2025 via email

@BobW55
Copy link

BobW55 commented Jan 10, 2025

Probably need the .json file and the exe file for it to work.

@cableguyed
Copy link

cableguyed commented Jan 10, 2025 via email

@BobW55
Copy link

BobW55 commented Jan 11, 2025

So I downloaded the fdm_qidi_x3_common.json file from github. The placement of the thumbnail code is at the end of the file.
https://github.com/SoftFever/OrcaSlicer/blob/main/resources/profiles/Qidi/machine/fdm_qidi_x3_common.json
On my machine it was located towards the middle. The file resides here on your PC.
C:\Program Files\OrcaSlicer\resources\profiles\Qidi\machine\fdm_qidi_x3_common.json
I also DL the exe file that cableguyed was so kind to share. I placed mine in the root of where all my QIDI projects are located.
I now have working thumbnails.

Thank you Cableguyed ever so much.
I hope the developers add this fix to the next release.

@cableguyed
Copy link

cableguyed commented Jan 11, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests