mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-29 13:01:49 -06:00
Refactoring: removed the non-idempotent init_extruders() step. Also, infill_extruder was not limited to the available number of extruders when slicing from the plater, and support material extruder was considered also when support material was disabled
This commit is contained in:
parent
a3b843b24e
commit
722e94513c
16 changed files with 83 additions and 84 deletions
|
@ -22,7 +22,7 @@ class ModelObject;
|
|||
|
||||
|
||||
enum PrintStep {
|
||||
psInitExtruders, psSkirt, psBrim,
|
||||
psSkirt, psBrim,
|
||||
};
|
||||
enum PrintObjectStep {
|
||||
posSlice, posPerimeters, posPrepareInfill,
|
||||
|
@ -134,6 +134,7 @@ class PrintObject
|
|||
bool invalidate_step(PrintObjectStep step);
|
||||
bool invalidate_all_steps();
|
||||
|
||||
bool has_support_material() const;
|
||||
void bridge_over_infill();
|
||||
|
||||
private:
|
||||
|
@ -188,7 +189,8 @@ class Print
|
|||
|
||||
void add_model_object(ModelObject* model_object, int idx = -1);
|
||||
bool apply_config(DynamicPrintConfig config);
|
||||
void init_extruders();
|
||||
bool has_infinite_skirt() const;
|
||||
bool has_skirt() const;
|
||||
void validate() const;
|
||||
BoundingBox bounding_box() const;
|
||||
BoundingBox total_bounding_box() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue