-
-
Notifications
You must be signed in to change notification settings - Fork 968
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
Comments
I could confirm this for the Qidi X-Plus 3. |
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. |
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. |
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. :-) |
Hi,
If you click on the down arrow next to the print tab and select save as
gcode instead, then create the file, edit it to make it show the thumbnail,
then go to the device tab and under jobs click on the plus sign and select
upload, then browse to the edited gcode file and you will have the
thumbnail on the printer screen when you select to print the file.
This is just a temporary fix until the coders get around to qidi update on
orca... I have multiple qidi printers and like to see what is on each at a
glance.
Regards,
Ed
…On Sun, Jul 14, 2024 at 9:26 AM Viktor-N-snr ***@***.***> wrote:
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. :-)
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7TALIB5B23UMSPC5WDZMKKBJAVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGM4DMMJZHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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. |
That made no difference for my X-Max3.
…On Mon, Jul 15, 2024 at 7:12 AM pmbroth ***@***.***> wrote:
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.
fdm_qidi_x3_common.json
<https://github.com/user-attachments/files/16234971/fdm_qidi_x3_common.json>
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7QSUIXSYNUSLT7J5L3ZMPDD7AVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYGQ3TIOBWGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
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. |
I tried the solution posted by @pmbroth; it did not work on my X-Max 3. |
Compiling the python script (with minor tweak to get the start point fixed) works great for both my X-Max3 and X-Smart 3. |
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? |
First, make a copy of the qidi_thumbnail.py just in case...
I had to edit the qidi_thumbnail.py to change the " # Find the start and
end of the thumbnail block" section to:
for i, line in enumerate(lines):
if re.match(r'; HEADER_BLOCK_END', line):
thumbnail_start = i+1
if re.match(r'; external perimeters*', line):
thumbnail_end = i-1
I haven't done any Python programming at all and any serious programming
for years so I had to google some python methods to figure out that the
program wants to look in the Python/scripts area for the compiled result.
Below is my file path once I created the executable in Python. (And put
your path in the post-processing scripts area in Orca.)
C:\Users\cable\AppData\Local\Programs\Python\Python312\Scripts\dist\qidi_thumbnail.exe;
I also had to change the image sizes for the different LCD screen sizes
between my X-Max3 and my X-Smart3.
X-Max3 = 380x380/COLPIC, 210x210/COLPIC, 110x110/PNG
X-Smart3 = 210x210/COLPIC, 110x110/COLPIC, 110x110/PNG
Hope this helps!
Regards,
Ed
…On Sun, Aug 25, 2024 at 5:24 AM ovidakis ***@***.***> wrote:
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 <https://github.com/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.JPG (view on web)
<https://github.com/user-attachments/assets/79f41d79-6122-4db7-8740-e458dd0897a9>
image.png (view on web)
<https://github.com/user-attachments/assets/122c54ae-166b-458c-97de-e0af1647043d>
Thank you!
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7TZXZOOFQRBSFRLW5DZTG5F3AVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYG44DQOBXHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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. |
I only update firmware from qidi direct, don't know if that makes a
difference.
…On Mon, Aug 26, 2024, 2:34 PM ovidakis ***@***.***> wrote:
First, make a copy of the qidi_thumbnail.py just in case... I had to edit
the qidi_thumbnail.py to change the " # Find the start and end of the
thumbnail block" section to: for i, line in enumerate(lines): if
re.match(r'; HEADER_BLOCK_END', line): thumbnail_start = i+1 if
re.match(r'; external perimeters*', line): thumbnail_end = i-1 I haven't
done any Python programming at all and any serious programming for years so
I had to google some python methods to figure out that the program wants to
look in the Python/scripts area for the compiled result. Below is my file
path once I created the executable in Python. (And put your path in the
post-processing scripts area in Orca.)
C:\Users\cable\AppData\Local\Programs\Python\Python312\Scripts\dist\qidi_thumbnail.exe;
I also had to change the image sizes for the different LCD screen sizes
between my X-Max3 and my X-Smart3. X-Max3 = 380x380/COLPIC, 210x210/COLPIC,
110x110/PNG X-Smart3 = 210x210/COLPIC, 110x110/COLPIC, 110x110/PNG Hope
this helps! Regards, Ed
… <#m_2451421436868073245_>
On Sun, Aug 25, 2024 at 5:24 AM ovidakis *@*.*> wrote: 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
<https://github.com/cableguyed> https://github.com/cableguyed
<https://github.com/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.JPG (view on web)
https://github.com/user-attachments/assets/79f41d79-6122-4db7-8740-e458dd0897a9
<https://github.com/user-attachments/assets/79f41d79-6122-4db7-8740-e458dd0897a9>
image.png (view on web)
https://github.com/user-attachments/assets/122c54ae-166b-458c-97de-e0af1647043d
<https://github.com/user-attachments/assets/122c54ae-166b-458c-97de-e0af1647043d>
Thank you! — Reply to this email directly, view it on GitHub <#5973
(comment)
<#5973 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO4WM7TZXZOOFQRBSFRLW5DZTG5F3AVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYG44DQOBXHE
<https://github.com/notifications/unsubscribe-auth/AO4WM7TZXZOOFQRBSFRLW5DZTG5F3AVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYG44DQOBXHE>
. You are receiving this because you were mentioned.Message ID: @.*>
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.
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7Q75WMEI2FDVBVVYRLZTOGOPAVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJRGAZTQOBSGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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. |
Still not working on the X-Plus 3 and 2.2.0-beta version. |
still not working on the X-Plus3 |
rc 22 still thumbnails not working. . |
Thumbnails still not working with 2.2 RC |
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. |
@breathless19 You edited the script that you downloaded from his site? Then you just placed the whole script in the post processing area? |
I looked at the script and it didn't match the gcode that my X-Max3 made so
I edited it to catch the proper start and end lines of the 2 image sections
at the top part of the gcode file that I used to test with. And No, you
have to compile it to an executable with python. There are directions where
you download python... I put the executable where python put it and just
copied the path in Orca postprocessing script area.
BTW, it's working fine, use it constantly.
Regards,
Ed
…On Wed, Oct 30, 2024 at 11:31 AM pmbroth ***@***.***> wrote:
@breathless19 <https://github.com/breathless19> You edited the script
that you downloaded from his site? Then you just placed the whole script in
the post processing area?
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7VC7I4AVQQXR6XENM3Z6EJYBAVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBXHA4DSOJUGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I firgured it out. I compoiled the script and all works... |
Glad to hear!
…On Wed, Oct 30, 2024 at 12:44 PM pmbroth ***@***.***> wrote:
I firgured it out. I compoiled the script and all works...
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7W3G35P2GGGI33BW33Z6ESJPAVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBYGA3TCNRZHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thank you again for your solution!!!! @cableguyed |
And we cannot have a simple solution for this? |
Hi Bob,
It has been a while since I did it but you need to download an IDE in order
to compile the script into an exe. There are several, search for python
IDE's. I had to tweak the script a little in order to get it to capture the
start and end of the 2 image sections. Look at a gcode file from your
slicer for your printer and find unique lines at the start and end of the
images and edit the script to work properly. Again, it has been some time
since I did it so I'm a little hazy on the specifics but if I could do it,
I'm sure you can too. And yes, put the exe file path in the location you
referenced. It still works even with several firmware updates since I did
it. Just make sure to put the path in if you change to a new setup for your
printer.
…On Thu, Jan 2, 2025 at 6:09 PM BobW55 ***@***.***> wrote:
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.png (view on web)
<https://github.com/user-attachments/assets/2a8ac84d-7110-4904-9815-726df7aeff12>
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7RATZX2HYIWOSIDHO32IXPNBAVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRYGU3TONZTGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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. |
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. |
I didn't have to do anything with a json file, just put the .exe that was
compiled from the script. I did have to tweak the script to trigger on the
start and end lines of the image sections of the gcode file. Then put the
file path of that .exe in the place in the slicer for post processing
scripts.
…On Sat, Jan 4, 2025 at 8:54 AM BobW55 ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7T4MTSL6KBN7IPYEBT2I774TAVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZRGM2DAMZYGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes I added the i+1 and the i-1 as you indicated then I compiled it. |
Then all you may need to do is leave the .exe file wherever the complier
saved it and copy the file path and paste in the slicer location.
…On Sat, Jan 4, 2025 at 11:38 AM BobW55 ***@***.***> wrote:
Yes I added the i+1 and the i-1 as you indicated then I compiled it.
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7QK3IWUC2UF5KLOP2D2JATB5AVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZRGM3TSMBRGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I appreciate the help. Recompiled it. |
not possible to just upload the compiled working exe somewhere so we can download and use it? |
I had to tweak the original script to grab the start and end lines of the
image sections so I doubt it would work. I tested by first saving out a
gcode file instead of printing it, then made a copy of that and went in
with notepad++ and copied the 2 adjoining image sections from the top area
of the file and pasted it at the end of the file. I used a small quick
print and tried the unmodded one, no image on the preview screen, then the
modded one and saw the preview. I then looked at the script that was posted
and saw that the triggers would not work for my gcode setup and changed it
to grab the first line before the top image section and then the last line
of the second image section. I had never used python before so I downloaded
it and it didn't have an easy (to me) way to compile into an executable so
I searched for and easy IDE for it and that allowed me to compile. I just
left the exe where python put it and just copied the path and pasted it
into the postprocessing script section of ORCA.
I'm old and my memory isn't all that great but that was the process I used.
It is still working for both my X-Max3 and X-Smart3. I hope this helps. In
the meantime I will try to gather the IDE and tweaks I did, I just don't
know if I kept the original script to see the changes.
Regards,
Ed
…On Fri, Jan 10, 2025 at 2:27 AM cptcl ***@***.***> wrote:
not possible to just upload the compiled working exe somewhere so we can
download and use it?
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7U7H2HOZF4VV2TA4AT2J6HBDAVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBSGE3DMNRXGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I used pycharm to compile (I think). Here is the original script and the
script I had to mod to make it work on my gcode files. You may have to
tweak it for your setup.
…On Fri, Jan 10, 2025 at 2:27 AM cptcl ***@***.***> wrote:
not possible to just upload the compiled working exe somewhere so we can
download and use it?
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7U7H2HOZF4VV2TA4AT2J6HBDAVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBSGE3DMNRXGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Probably need the .json file and the exe file for it to work. |
exe
https://drive.google.com/file/d/19w7T0AAwF6UPFbI3i3VuNAxwpZKZTBF3/view?usp=drive_link
don't remember any json needed but i do have one banging around.
…On Fri, Jan 10, 2025 at 9:27 AM BobW55 ***@***.***> wrote:
Probably need the .json file and the exe file for it to work.
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7SALXCD3L7XICZ3LQD2J7YGTAVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBTGE3DSNZUHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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. Thank you Cableguyed ever so much. |
Glad to hear it is working! When you change profiles or something, just
look at the postprocessing box to make sure the path is still there. I keep
a copy of the path up on my notepad++ so I can always pop it in when needed.
Regards,
Ed
…On Sat, Jan 11, 2025 at 7:15 AM BobW55 ***@***.***> wrote:
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
<http://url>
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.
I now have working thumbnails.
Thank you Cableguyed ever so much.
I hope the developers add this fix to the next release.
—
Reply to this email directly, view it on GitHub
<#5973 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4WM7QECF6GB33HDQ7MGEL2KERRHAVCNFSM6AAAAABKGGELHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBVGI4DEOJYGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Is there an existing issue for this problem?
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
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
Checklist of files to include
Anything else?
The text was updated successfully, but these errors were encountered: