mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
When the support extruders are set to 0, support is printed with the current material without a tool change.
A fix of support path generator.
This commit is contained in:
parent
4e90ae9a28
commit
4ab972b87a
7 changed files with 77 additions and 53 deletions
|
@ -27,6 +27,11 @@ SlicingParameters SlicingParameters::create_from_config(
|
|||
coordf_t first_layer_height = (object_config.first_layer_height.value <= 0) ?
|
||||
object_config.layer_height.value :
|
||||
object_config.first_layer_height.get_abs_value(object_config.layer_height.value);
|
||||
// If object_config.support_material_extruder == 0 resp. object_config.support_material_interface_extruder == 0,
|
||||
// print_config.nozzle_diameter.get_at(size_t(-1)) returns the 0th nozzle diameter,
|
||||
// which is consistent with the requirement that if support_material_extruder == 0 resp. support_material_interface_extruder == 0,
|
||||
// support will not trigger tool change, but it will use the current nozzle instead.
|
||||
// In that case all the nozzles have to be of the same diameter.
|
||||
coordf_t support_material_extruder_dmr = print_config.nozzle_diameter.get_at(object_config.support_material_extruder.value - 1);
|
||||
coordf_t support_material_interface_extruder_dmr = print_config.nozzle_diameter.get_at(object_config.support_material_interface_extruder.value - 1);
|
||||
bool soluble_interface = object_config.support_material_contact_distance.value == 0.;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue