jneilliii / OctoPrint-BGCode

9 stars 2 forks source link

BGCode

Plugin allows for the upload and conversion of bgcode files introduced in PrusaSlicer version 2.7.0+. I cannot control what is in the file during the conversion process, this plugin is just using the tool provided by PrusaResearch to convert from one format to another. If there are issues related to the ascii format file that cause other plugins to not work then you should open an issue on the conflicting plugin's repository, the PrusaResearch repository for the tool here, or for PrusaSlicer here. See below for currently known conflicting plugins and related errors.

Prerequisites

If installing on Windows or on octo4a you'll need some additional applications installed to complete the build process prior to installing the plugin. These are already included on OctoPi image, and possibly octoprint_deploy installations (need to verify).

Windows - Install the tools

Install Visual Studio Community 2019, or higher from visualstudio.microsoft.com/vs/. Older versions are not supported as libbgcode requires support for C++17. Select all workload options for C++ and make sure to launch Visual Studio after install (to ensure that the full setup completes).

Install CMake for Windows from cmake.org Download and run the exe accepting all defaults

Install git for Windows from gitforwindows.org Download and run the exe accepting all defaults

octo4a - Install the tools

After setting up OpenSSH server on settings tab, You can go to http://<your-ip>:5002 and use root username and the password you selected on the settings tab. Run these commands to add the necessary system dependencies.

apk add git
apk add zlib-dev
apk add cmake

Setup

Install manually using this URL:

https://github.com/jneilliii/OctoPrint-BGCode/archive/master.zip

TODO

[X] bundle libbgcode somehow

Known Issues/Plugin Conflicts


Get Help

If you experience issues with this plugin or need assistance please use the issue tracker by clicking issues above.

Additional Plugins

Check out my other plugins here


Sponsors

Patreon paypal

No paypal.me? Send funds via PayPal to jneilliii@gmail.com

You can use this link too. But the normal PayPal fee will be deducted.