alexqzd / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
http://marlinfw.org
GNU General Public License v3.0
197 stars 71 forks source link

Can't see Gcode Previews (Solved) #10

Closed GitUser999A closed 2 years ago

GitUser999A commented 2 years ago

Hello,

Windows 11 Pro 21H2 Cura 4.12.1 Python 3.10.1 Flashed my Voxelab Aquila G32 with Default-NoProbe-G32.bin and Alex's Firmware v1.3.5.1 Beta 4. Control -> Visual -> Show file Thumbnails is checked WhatsApp Image 2022-01-02 at 19 38 36

When I slice something I can see that my .gcode files now includes base64 image: image

Tried to restart printer. Enable/disable show file thumbnails. But still I can't get it to work.

GitUser999A commented 2 years ago

I got it to work.

Python 3.10. While you're in python setup windows set the checkbox add Python 3.10 to PATH. Enable all optional features. Go to Advanced, check add python to environment variables, set install directory C:\Program Files\Python310

Check if the "Cura_JPEG_Preview.py" is put in the correct directory -> C:\Users\YourUserName\AppData\Roaming\cura\4.12\scripts

Then open Cura go to Extensions > Post processing > Modify G-Code -> Add a script - > Create JPEG Preview image

image

Now if everything is done right you will see little icon next to slicing button which shows that the script is enabled. image

Slice > Save to Disk 1

2

P.S Don't forget to enable thumbnails in your printer > Control -> Visual -> Show file Thumbnails

stijnb1234 commented 2 years ago

@GitUser999A If resolved, please close the issue. ;)