Jump to content
Ultimaker Community of 3D Printing Experts
  • Sign Up
burtoogle

Experimental Cura build for Raspberry Pi 4 now available

Recommended Posts

Posted · Experimental Cura build for Raspberry Pi 4 now available

You have done "sudo apt-get install libgles-dev"  haven't you?

 

I can't think of anything else that would cause a problem.

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available
1 hour ago, burtoogle said:

You have done "sudo apt-get install libgles-dev"  haven't you?

 

I can't think of anything else that would cause a problem.

You're a hero! Perfect 

043147FD-5E77-4B98-A2BC-ACBB396B7D8F.jpeg

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

I am very interested in this project, could you tell me could i run this from the pi desktop as i want to try and install and run both this and octoprint from the desktop. many thanks great project

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

Download the latest Linux-armhf AppImage from https://www.dropbox.com/sh/s43vqzmi4d2bqe2/AAADdYdSu9iwcKa0Knqgurm4a?dl=0

 

While you are there read the README.md file.

 

In a terminal window, enter: sudo apt-get install libgles-dev

 

Make the downloaded AppImage executable by either using a file manager program or in a terminal using chmod +x.

 

You should now be able to run the AppImage by either typing its name in a terminal window or clicking on it in a file manager.

 

Hope this helps!

 

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

Thanks burtoogle but i am unsure what to do with the Linux-armhf AppImage once i have downloaded it. I have loaded the libgles-dev onto my Pi. but how do i load the Appimage. the card i am using in my raspberry pi already has octopi on it i don't really want to overwrite this has i want both on my pi. Hope that makes sense.

 

Peter

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

Most people run Octopi remotely with the Pi somewhere near the printer. Control is done through a web interface that you can then access from any other device /computer/phone etc on your network.

 

i have a Pi3 sat under the carriage of my printer. But I use a Pi4 as a desktop which I run both Cura and another well known slicer on.

 

Pi3s are pretty cheap right now, the built in WiFi, connectivity and processing power make the ideal remote computers.

 

This App image of Cura is designed to run on the Raspbian desktop, you cannot just run in while using the commandline.


if you downloaded the Octoprint image directly I don’t believe it is designed to run the Pi desktop (as default) rather the command prompt.

 

you will be able to install the desktop of you want, but that will require some tweaking.

 

Hope that helps.

Share this post


Link to post
Share on other sites
Posted (edited) · Experimental Cura build for Raspberry Pi 4 now available

Hi @QBall1977, thanks for chipping in, that's all good info.

 

Just to clarify one tiny point, you can run the AppImage from the command line when you have a terminal window open on an X Windows display. But I get the point that you need to have a desktop running.

 

Incidentally, the PI4 that I use to build the Cura releases is accessed remotely using VNC and Raspbian does make it very easy to run headless remote desktops. I also have two SV01 printers, one connected to a Pi2 the other to a PI3. Both of those PIs are running Raspbian and have Octoprint installed. Neither have screens attached but I can access their desktops using VNC.

Edited by burtoogle

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

thanks for you support in this, i have desktop installed but am awaiting a cdmi adapter before i can connect to a monitor. Just so i have it straight a i create a folder and place init the app image make it executable and run it from there 

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available
2 minutes ago, private4587 said:

Just so i have it straight a i create a folder and place init the app image make it executable and run it from there 

 

Yes, that sounds good.

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

Hi, I just started using the latest version of the armhf app image (5/10/2020). The software looks awesome and it self seems to be working fine, however when I want to start printing via USB (PI4) it doesn't seem to work properly. For example:

 

1. The LED's don't turn on as the printer starts moving (I programmed them to turn on when printing)

2. The print head doesn't move any material in the closer left corner of the build plate as it usually does be default before starting the actual print.

3. The print head doesn't move any material (at all) when it should be printing.

 

The build plate and print head look like they are following the gcode to execute the print but nothing comes out.

 

I have been using Ultimakers for a while on Windows so this is fairly new to me. If you have any suggestions please let me know.

 

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

Hello @EvilHag101. I've never used Cura to drive a printer using USB so I can't really help there. Have you tried using a different program to send the same gcode to the printer? Have you tried octoprint?, pronterface?

 

Anyway, could you please attach a sample gcode file produced by 20200510 to this thread so I can check it looks sane? Thanks.

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available
17 minutes ago, burtoogle said:

Hello @EvilHag101. I've never used Cura to drive a printer using USB so I can't really help there. Have you tried using a different program to send the same gcode to the printer? Have you tried octoprint?, pronterface?

 

Anyway, could you please attach a sample gcode file produced by 20200510 to this thread so I can check it looks sane? Thanks.

Thanks for your reply.UM2_Top_H20_Hex_SM_Fan40_Screws.gcode

 

I haven't tried other programs to send gcodes to the printer, perhaps that might solve the problem.

 

I included a gcode of a PI4 case I'm trying to print.

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

Thanks for the gcode file. When I look at that, I can't see any gcodes for setting the temperatures, is that because the printer handles all of the temperatures (and also the prime in the left hand corner)? Otherwise, the gcode looks pretty much what I would expect.

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available
4 minutes ago, burtoogle said:

Thanks for the gcode file. When I look at that, I can't see any gcodes for setting the temperatures, is that because the printer handles all of the temperatures (and also the prime in the left hand corner)? Otherwise, the gcode looks pretty much what I would expect.

I do believe the printer (UM2+) handles the temperatures after looking at it now. I've been comparing the gcode from the 20200510 version to my windows version (4.6.1). They seem to have slight differences in values but nothing major. 

 

I included the other gcode version if you are interested in taking a look.windows_UM2_Top_H20_Hex_SM_Fan40_Screws.gcode

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

Yes, although there's a lot of differences between those files, I can't see anything obviously bad in the 20200510 file.

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available
2 hours ago, EvilHag101 said:

when I want to start printing via USB (PI4) it doesn't seem to work properly

 

That's not related to the Cura version, but to the used gcode-flavor. Gcode-flavor "Ultimaker" and the led-setting on the printer require that the print is started from the printers menu.

 

 

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

is there any way for this appimage version to save the cura settinngs?

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

It does save the settings into ~/.config/cura/master/cura.cfg. It also writes to files in ~/.local/share/cura/master.

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

Here's a tease of what I have been working on recently...

 

Screenshot_2020-05-22_17-07-22.thumb.png.c1a3a3d60e8dbccd4ebc56f25f8a166d.png

 

Yes, it's the simulation view running on the Pi 4 with working layer and line sliders. It doesn't look too bad from that angle but, unfortunately, looking from the side it is rather ugly...

 

Screenshot_2020-05-22_17-09-34.thumb.png.18f7330920a5f9f3a3c385139dec8fa9.png

 

So it's not really the full 3d view, but rather, a 2.5d view. The problem is that the Pi 4's graphics hardware isn't as powerful as most "grown up" computers and it's running out of resources when trying to render that view. I'm still working on it and haven't given up hope (yet) but it may be that a 2.5d view is the best it can support. I will make what I have here available in a future release. Stay tuned...

 

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

So, to recap, the problem is that the Pi 4's graphics hardware does not have enough resources to render the lines in the same manner as more powerful hardware can. It can display the line segments as 2d slabs rather than the 3d diamonds that is normal but as you see above, when viewed from the side, the slabs have no thickness.

 

I came up with a solution that works surprisingly well, it flips the orientation of the slabs as you change the view angle. So when looking at the scene from above (or below) it renders the lines as horizontal slabs. That's what is being done in my previous post. But when you look at the model from the side, it now renders the lines as vertical slabs. Obviously, as the view is tilted it flips from one orientation to the other but, it's not that disturbing and looks better than it sounds!

 

Screenshot_2020-05-23_12-04-16.thumb.png.3a6d64c416c165ef60fd63199e093bd1.png

 

Screenshot_2020-05-23_12-03-53.thumb.png.13e87f81e8e7e81e86968c01b2fdad57.png

Anyway, if anyone wants to try this out, today's (20200523) release has this feature. You need to use replacement graphics libraries that I have packaged into mesa-21.tar.gz. Download and unpack that (sudo tar xzf mesa-2.1.tar.gz), it puts the libraries into /opt/mesa-2.1 so it won't overwrite any existing system files.

 

All feedback is welcome.

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

Hi
It is starting to be at the top.
Thank you burtoogle for sharing

Share this post


Link to post
Share on other sites
Posted · Experimental Cura build for Raspberry Pi 4 now available

I have managed to workaround the various limitations and bugs in the graphic library and now have quite a nice display. It still has some compromises compared to the other builds (Linux/Mac/Windows) and it's definitely a bit sluggish if the model is large but for small models I think it's preferable  to the compatibility mode display. YMMV.

 

Screenshot_2020-05-29_11-36-06.thumb.png.a04ebf82760bab6c775eae6776bf423e.png

  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...