mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Added synonyms to some PrintSteps:
psWipeTower now equals to new psToolOrdering indicating that the ToolOrdering has been calculated (only if non-sequential mode is active). psBrim now equals to new psExtrusionPaths psExtrusionPaths shall be the last step before psWipeTower, indicating that all the printing extrusions are calculated for the G-code preview slider to edit the custom per print_z color changes, tool changes etc.
This commit is contained in:
parent
536514ff03
commit
8e5ba5ccc5
5 changed files with 68 additions and 10 deletions
|
@ -460,6 +460,9 @@ void ToolOrdering::collect_extruder_statistics(bool prime_multi_material)
|
|||
// If multiple events are planned over a span of a single layer, use the last one.
|
||||
void ToolOrdering::assign_custom_gcodes(const Print &print)
|
||||
{
|
||||
// Only valid for non-sequential print.
|
||||
assert(! print.config().complete_objects.value);
|
||||
|
||||
const std::vector<Model::CustomGCode> &custom_gcode_per_print_z = print.model().custom_gcode_per_print_z;
|
||||
if (custom_gcode_per_print_z.empty())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue