mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Merge branch 'main' into dev/bbl-network-upd
This commit is contained in:
@@ -1382,6 +1382,7 @@ void PrintObject::detect_surfaces_type()
|
|||||||
if (! top.empty() && ! bottom.empty()) {
|
if (! top.empty() && ! bottom.empty()) {
|
||||||
const auto cracks = intersection_ex(top, bottom);
|
const auto cracks = intersection_ex(top, bottom);
|
||||||
if (!cracks.empty()) {
|
if (!cracks.empty()) {
|
||||||
|
if (lower_layer) { // Only detect small cracks for non-first layer, because first layer should always be bottom
|
||||||
const float small_crack_threshold = -layerm->flow(frExternalPerimeter).scaled_width() * 1.5;
|
const float small_crack_threshold = -layerm->flow(frExternalPerimeter).scaled_width() * 1.5;
|
||||||
|
|
||||||
for (const auto& crack : cracks) {
|
for (const auto& crack : cracks) {
|
||||||
@@ -1402,6 +1403,7 @@ void PrintObject::detect_surfaces_type()
|
|||||||
bottom = std::move(bot_tmp);
|
bottom = std::move(bot_tmp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Polygons top_polygons = to_polygons(std::move(top));
|
Polygons top_polygons = to_polygons(std::move(top));
|
||||||
top.clear();
|
top.clear();
|
||||||
|
|||||||
@@ -857,6 +857,7 @@ void CalibUtils::calib_VFA(const CalibInfo &calib_info, wxString &error_message)
|
|||||||
print_config.set_key_value("wall_loops", new ConfigOptionInt(1));
|
print_config.set_key_value("wall_loops", new ConfigOptionInt(1));
|
||||||
print_config.set_key_value("detect_thin_wall", new ConfigOptionBool(false));
|
print_config.set_key_value("detect_thin_wall", new ConfigOptionBool(false));
|
||||||
print_config.set_key_value("alternate_extra_wall", new ConfigOptionBool(false));
|
print_config.set_key_value("alternate_extra_wall", new ConfigOptionBool(false));
|
||||||
|
print_config.set_key_value("detect_thin_wall", new ConfigOptionBool(false));
|
||||||
print_config.set_key_value("top_shell_layers", new ConfigOptionInt(0));
|
print_config.set_key_value("top_shell_layers", new ConfigOptionInt(0));
|
||||||
print_config.set_key_value("bottom_shell_layers", new ConfigOptionInt(1));
|
print_config.set_key_value("bottom_shell_layers", new ConfigOptionInt(1));
|
||||||
print_config.set_key_value("sparse_infill_density", new ConfigOptionPercent(0));
|
print_config.set_key_value("sparse_infill_density", new ConfigOptionPercent(0));
|
||||||
|
|||||||
Reference in New Issue
Block a user