mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Bugfix: spiral vase was not working when extrusion axis was not E. #2350
This commit is contained in:
parent
c1e26a70f8
commit
2c64c3dd5b
5 changed files with 35 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue