Closed dnewman-polar3d closed 6 years ago
[BOGUS: See next comment]
Looks like the underlying OctoPrint code, https://github.com/foosel/OctoPrint/blob/master/src/octoprint/plugins/cura/profile.py#L895, expects to see the obsolete "support" setting in order to then set key support parameters. (In this case "supportAngle"). If you look at Cura 15.04.6 sources, you'll see that it no longer looks for a parameter named "support". The OctoPrint code wants to see either "support=buildplate" or "support=everywhere" in order to set values like "supportAngle".
To work around this issue in OctoPrint, we need to modify this plugin to look for and passthru the obsolete "support" option. And further for the Polar Cloud to set it.
My mistake: here's the bug....
"supporteverywhere": ("support", lambda x: "everywhere" if x else "none") ,
That ignores the case of "support=buildplate". In that case, supportEverywhere=0 BUT other support values have been supplied. E.g., supportAngle >= 0.
Sorry @dnewman-polar3d I've been away on another thing. Thanks for the diagnosis. I'll get this fixed today or tomorrow.
I have a print which in the Polar Cloud has support enabled
When I manually slice the STL on the OctoPi with
/usr/local/bin/cura_engine
using theconfig.ini
from the cloud (shown above), the support is enabled and generated in the resulting gcode.However, when the PolarCloud plugin receives the
config.ini
and invokes Cura, the resulting gcode does not have support generated. Here's the Cura command the plugin generated