mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 04:08:02 -06:00
Model extrusion threads as rectangles with semicircles at the end. Remove overlap_ratio setting. #109 #112
This commit is contained in:
parent
869cb48c1a
commit
56691c1dea
16 changed files with 43 additions and 57 deletions
|
@ -12,8 +12,8 @@ sub fill_surface {
|
|||
|
||||
# no rotation is supported for this infill pattern
|
||||
|
||||
my $scaled_flow_spacing = scale $params{flow_spacing};
|
||||
my $distance = $scaled_flow_spacing / $params{density};
|
||||
my $scaled_flow_width = scale $params{flow_width};
|
||||
my $distance = $scaled_flow_width / $params{density};
|
||||
|
||||
my @contour_loops = ();
|
||||
my @hole_loops = ();
|
||||
|
@ -44,7 +44,7 @@ sub fill_surface {
|
|||
my $path = $loop->split_at($cur_pos);
|
||||
|
||||
# clip the path to avoid the extruder to get exactly on the first point of the loop
|
||||
$path->clip_end(scale $Slic3r::flow_spacing);
|
||||
$path->clip_end(scale $Slic3r::flow_width);
|
||||
|
||||
push @paths, $path->p;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue