-
Notifications
You must be signed in to change notification settings - Fork 369
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
Add Cura for OctoPrint Cura integration #18
Comments
Cura can be added to a freshly built octopi image using the following:
In octoprint, set the path to cura as /home/pi/Cura/cura.sh Also create a CuraConfig.ini file from Cura for windows, copy it to /home/pi/Cura/config/CuraConfig.ini on the pi, and set that as the path to the Cura config file in the octoprint settings. |
Ok, can build and ship Cura now. I can also point OctoPrint to |
We can't really ship a bundled CuraConfig, since it's way too specific to the user's own setup (printer, filament etc). |
@foosel In theory we could ship several for common setups and have some
|
Ideally, long term, I would think octoprint should have an option to select Of course, that's easy for me to say. :) On Mon, Mar 24, 2014 at 1:33 PM, Guy Sheffer notifications@github.comwrote:
|
Let me say it that way, the slicer config is so specific that I use a It's just not something that can/should be shipped IMHO. Just include the Cura installation and ship with Cura support disabled by In the long run a UI needs to be placed in OctoPrint in any case to allow |
As a user, I'd agree with what foosel is saying. Even further, I love what Octoprint does for me and how easy Octopi made the initial setup, but I don't actually use Cura at all (and am unlikely to on the PI), so surely this potentially bloats the install for many users? Would it not be better to have a script in the OctoPi deployment which updates to install Cura (or other slicers)? Then again, this might be what you meant. |
Its not that bloated. People are asking for it. We can ship it. I think On Mon, Mar 24, 2014 at 9:09 PM, CraigRK notifications@github.com wrote:
|
Apologies as I seemed to have upset you. I didn't mean it that way. As I said, I appreciated what you did and how it made things easy for me. I'm not a Linux guy so what you did was invaluable to me. What I meant was that in the way that in windows you can choose to install certain options, etc, this would be desirable to some people in order to not install things they will never use. But of course the desires of the many are more important in this context. |
You didn't upset me at all :) On Mon, Mar 24, 2014 at 9:28 PM, CraigRK notifications@github.com wrote:
|
Bumping, should we include this? |
Just a heads up, I tried to install Cura using the above instructions today and I get the following error when running the make command: cc1plus: error: unrecognized command line option â-std=c++11â Is it possible the latest version of Cura requires a newer version of GCC? If so, perhaps you could post the steps to perform that update? |
+1 for Cura onboard. |
jessie (the Debian distro) has gcc 4.8, it means Cura support would mean upgrading to jesse. You should be able to do this on OctoPi with this:
|
Just to close the loop on the gcc 4.8 issue, I had to also run the following after upgrading to jesse:
Only after doing this was I able to However, there was one more step I had to add after make:
I also did a Also, at the time of this writing, there is a bug in Cura that breaks all slicing. I made a PR with a fix: https://github.com/daid/Cura/pull/989 After all this, I am now slicing using Cura in octopi. Thanks for the info! |
FYI, I'm successfully building CuraEngine from within the OctoPi build with this addition to the chroot script:
The patch being applied there is basically the same as the one described in this post. Mind you, that only takes care of CuraEngine though, not the full Cura package, as it's targeted towards the new slicing integration in the current OctoPrint |
Included in 0.12 |
OctoPrint has now inbuilt Cura integration. We need to get it shipped with OctoPi and make users happy
The text was updated successfully, but these errors were encountered: