1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-01 11:25:50 +00:00

Bugfix: spiral vase was not working when extrusion axis was not E. #2350

This commit is contained in:
Alessandro Ranellucci
2014-11-23 18:59:18 +01:00
parent c1e26a70f8
commit 2c64c3dd5b
5 changed files with 35 additions and 9 deletions
+11
View File
@@ -372,6 +372,17 @@ class GCodeConfig : public virtual StaticPrintConfig
return NULL;
};
std::string get_extrusion_axis() const
{
if (this->gcode_flavor.value == gcfMach3) {
return "A";
} else if (this->gcode_flavor.value == gcfNoExtrusion) {
return "";
} else {
return this->extrusion_axis.value;
}
};
};
class PrintConfig : public GCodeConfig