mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 23:15:54 +08:00
One more fix of recent Organic support & Raft implementation.
This commit is contained in:
parent
d46ee7822f
commit
94d463b645
@ -130,8 +130,10 @@ TreeSupportSettings::TreeSupportSettings(const TreeSupportMeshGroupSettings& mes
|
|||||||
this->raft_layers.emplace_back(z);
|
this->raft_layers.emplace_back(z);
|
||||||
}
|
}
|
||||||
// Raft contact layer
|
// Raft contact layer
|
||||||
z = slicing_params.raft_contact_top_z;
|
if (slicing_params.raft_layers() > 1) {
|
||||||
this->raft_layers.emplace_back(z);
|
z = slicing_params.raft_contact_top_z;
|
||||||
|
this->raft_layers.emplace_back(z);
|
||||||
|
}
|
||||||
if (double dist_to_go = slicing_params.object_print_z_min - z; dist_to_go > EPSILON) {
|
if (double dist_to_go = slicing_params.object_print_z_min - z; dist_to_go > EPSILON) {
|
||||||
// Layers between the raft contacts and bottom of the object.
|
// Layers between the raft contacts and bottom of the object.
|
||||||
auto nsteps = int(ceil(dist_to_go / slicing_params.max_suport_layer_height));
|
auto nsteps = int(ceil(dist_to_go / slicing_params.max_suport_layer_height));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user