mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Fixed typo preventing support material to work with new simplify() syntax
This commit is contained in:
@@ -776,7 +776,7 @@ sub generate_support_material {
|
||||
);
|
||||
$layers_contact_areas{$i} = [
|
||||
map $_->simplify($flow->scaled_spacing),
|
||||
collapse_ex([ map @$_, @{$layers_contact_areas{$i}} ], $flow->scaled_width),
|
||||
@{collapse_ex([ map @$_, @{$layers_contact_areas{$i}} ], $flow->scaled_width)},
|
||||
];
|
||||
|
||||
# to define interface regions of this layer we consider the overhangs of all the upper layers
|
||||
@@ -790,7 +790,7 @@ sub generate_support_material {
|
||||
);
|
||||
$layers_interfaces{$i} = [
|
||||
map $_->simplify($flow->scaled_spacing),
|
||||
collapse_ex([ map @$_, @{$layers_interfaces{$i}} ], $flow->scaled_width),
|
||||
@{collapse_ex([ map @$_, @{$layers_interfaces{$i}} ], $flow->scaled_width)},
|
||||
];
|
||||
|
||||
# generate support material in current layer (for upper layers)
|
||||
@@ -812,7 +812,7 @@ sub generate_support_material {
|
||||
);
|
||||
$layers{$i} = [
|
||||
map $_->simplify($flow->scaled_spacing),
|
||||
collapse_ex([ map @$_, @{$layers{$i}} ], $flow->scaled_width),
|
||||
@{collapse_ex([ map @$_, @{$layers{$i}} ], $flow->scaled_width)},
|
||||
];
|
||||
|
||||
# get layer overhangs and put them into queue for adding support inside lower layers;
|
||||
|
||||
Reference in New Issue
Block a user