mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Use support material layer height for raft layer instead of object layer height. #2723
This commit is contained in:
parent
d8ee9dd5f5
commit
8654537e55
4 changed files with 33 additions and 4 deletions
|
@ -322,11 +322,10 @@ Print::object_extruders() const
|
|||
|
||||
// returns 0-based indices of used extruders
|
||||
std::set<size_t>
|
||||
Print::extruders() const
|
||||
Print::support_material_extruders() const
|
||||
{
|
||||
std::set<size_t> extruders = this->object_extruders();
|
||||
std::set<size_t> extruders;
|
||||
|
||||
// add support material extruder(s)
|
||||
FOREACH_OBJECT(this, object) {
|
||||
if ((*object)->has_support_material()) {
|
||||
extruders.insert((*object)->config.support_material_extruder - 1);
|
||||
|
@ -337,6 +336,18 @@ Print::extruders() const
|
|||
return extruders;
|
||||
}
|
||||
|
||||
// returns 0-based indices of used extruders
|
||||
std::set<size_t>
|
||||
Print::extruders() const
|
||||
{
|
||||
std::set<size_t> extruders = this->object_extruders();
|
||||
|
||||
std::set<size_t> s_extruders = this->support_material_extruders();
|
||||
extruders.insert(s_extruders.begin(), s_extruders.end());
|
||||
|
||||
return extruders;
|
||||
}
|
||||
|
||||
void
|
||||
Print::_simplify_slices(double distance)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue