It looks like the cura resources were pushed to github some hours ago, so here is my attempt at a Linux Cura build. If anybody could test it that would be great. I don't have the printer built yet unfortunately.
I built this in an Ubuntu 20.04 chroot environment using the latest 4.13.x Cura branch as well as the latest in the Makertech Cura resources repo. I don't have the printer built yet to try this on, but I was able to launch it and add the various Makertech printers to my Cura profile (including the proforge 3).
Notes: From a vanilla install of Ubuntu 20.04 (that I ran from VirtualBox) I had to install the package "libnlopt0" and, maybe not required but I installed for other reasons, "build-essential" and "aptitude".
Thanks!
Craig
Posted an issue on github.
Thanks for the suggestion and confirming this was working.
Well, I think I've found a solution...
Before creating the AppImage with appimagetool, you need to edit the following configuration file:
./squashfs-root/usr/bin/resources/definitions/makertech_proforge_3.def.json
and set the supports_usb_connection attribute to true as below.
"metadata": { "author": "Makertech", "visible": true, "file_formats": "text/x-gcode", "quality_definition": "makertech_base", "supports_usb_connection": true, "platform": "proforge3_platform.stl", "platform_offset": [ 0, -30.8, 4] },
After that modification you can build the AppImage as described before.
Note that this will only enable the Octoprint plugin for the Proforge 3 as the supports_usb_connection is set to false by default for all Makertech3D printers. If you want to enable this for all Makertech3D printers, you would need to edit makertech_base.def.json instead.
If someone could test this solution that would be welcome :-)
Hi Dries,
Your proposed workaround seems to work, although I cannot fully test it as I haven't got the Proforge 3 yet ;-)
I still don't get why the "Connect Octoprint" is not available for the Proforge 3. I've searched different config files without success.
I'll keep looking into it and post here if I find something.
Best,
I don't have access to my computer but had the same problem. What I did as a fix is temporarily install the Ender 3 and set it up with octoprint. If I recall config files are stored under ~/.local/cura and I opened the config file for Ender 3 with a texteditor and copied the entry for octoprint to the config of the proforge.
Hi there,
I've followed the method described by Dries to build the Cura 4.13.1 AppImage on Ubuntu 20.04 and using the latest resources from Makertech3D github repo. The AppImage itself seems to work well. I can start Cura and add the Proforge 3 printer.
However, when I add the Octoprint plugin from Cura marketplace, there is no "Connect Octoprint" button next to the Proforge printer in the printers configuration dialog.
If I setup another printer like an Ender 3, the button is there.
Any idea?
I've found the following warning in Cura log along with many other Proforge related warnings: "WARNING - [MainThread] cura.Settings.CuraContainerRegistry.addContainer [74]: Instance container makertech_proforge_3_04 is outdated. Its setting version is 16 but it should be 19."
Could this be related?
This is a little guide on how I made a modified cura AppImage and did not involve a lot of packages to be installed:
Download original appImage from ultimaker website
Open terminal and go to the location of the downloaded appImage and type following command:
./Ultimaker_Cura-4.13.1.AppImage --appimage-extract
this will extract the content of the appImage into a folder called squashfs-root
Download the resources folder from Makertech3D github page
Copy the content from the resources folder into squashfs-root/bin/resources/
Download appimagetool, this app will be used to repack the appImage
in terminal use following command:
./appimagetool-x86_64.AppImage -v -n squashfs-root/ CuraMakertech3D.AppImage
I don't know if you're willing to test my appImage. This is not the 'makertechbuild' but what I did was extract the original cura appImage, add the resources folder from makertech3d github and repack the appImage. It's a 3 step easy process and will give you a cura version with the ability to add all printers including the ones of makertech3D. https://drive.google.com/file/d/1bigdq2-6II5gkeRzn9hCHCOZ5ORzEWyS/view?usp=sharing
Tried to run but got the error:
<frozen zipimport>:259: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses