Fix of SPE-1809, GH#10762, #10858, #10891

Fixed division by zero in tree supports & raft
This commit is contained in:
Vojtech Bubnik 2023-08-29 13:49:10 +02:00
parent b655677c95
commit 92318e45de

View File

@ -3457,7 +3457,9 @@ static void generate_support_areas(Print &print, const BuildVolume &build_volume
SupportParameters support_params(print_object); SupportParameters support_params(print_object);
support_params.with_sheath = true; support_params.with_sheath = true;
support_params.support_density = 0; // Don't override the support density of tree supports, as the support density is used for raft.
// The trees will have the density zeroed in tree_supports_generate_paths()
// support_params.support_density = 0;
SupportGeneratorLayerStorage layer_storage; SupportGeneratorLayerStorage layer_storage;
SupportGeneratorLayersPtr top_contacts; SupportGeneratorLayersPtr top_contacts;