ENH: wipe tower add solid infill for support filament

jira: none

Change-Id: I438e06b5e50259d5a9caefbc0d8580187c2b7051
(cherry picked from commit 8a6b9851dbca4162799960074ffe304b02a8b077)
This commit is contained in:
zhimin.zeng
2025-01-01 12:02:53 +08:00
committed by Noisyfox
parent 0112d0ce41
commit b3edd30bf7
2 changed files with 144 additions and 16 deletions

View File

@@ -311,6 +311,7 @@ public:
int block_id{0};
int filament_category{0};
std::vector<float> layer_depths;
std::vector<bool> solid_infill;
float depth{0};
float start_depth{0};
float cur_depth{0};
@@ -346,7 +347,8 @@ public:
ToolChangeResult tool_change_new(size_t new_tool);
NozzleChangeResult nozzle_change_new(int old_filament_id, int new_filament_id);
ToolChangeResult finish_layer_new(bool extrude_perimeter = true, bool extrude_fill = true, bool extrude_fill_wall = true);
ToolChangeResult finish_block(const WipeTowerBlock &block, int filament_id, bool extrude_perimeter = true, bool extrude_fill = true);
ToolChangeResult finish_block(const WipeTowerBlock &block, int filament_id, bool extrude_fill = true);
ToolChangeResult finish_block_solid(const WipeTowerBlock &block, int filament_id, bool extrude_fill = true);
void toolchange_wipe_new(WipeTowerWriter &writer, const box_coordinates &cleaning_box, float wipe_length);
private: