Skip to content

Commit

Permalink
Forgot to use the offset in path finding
Browse files Browse the repository at this point in the history
  • Loading branch information
eyal0 committed Jun 30, 2020
1 parent 4e7e303 commit a39224e
Show file tree
Hide file tree
Showing 9 changed files with 2,291 additions and 1,650 deletions.
2 changes: 1 addition & 1 deletion surface_vectorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ vector<pair<linestring_type_fp, bool>> Surface_vectorial::get_single_toolpath(
keep_in.push_back(current_voronoi);
optional<multi_polygon_type_fp> keep_out;
if (current_trace) {
keep_out = bg_helpers::buffer(*current_trace, diameter/2);
keep_out = bg_helpers::buffer(*current_trace, diameter/2 + mill->offset);
}
auto path_finding_surface = path_finding::create_path_finding_surface(keep_in, keep_out, mill->tolerance);
// Find if a distance between two points should be milled or retract, move
Expand Down

0 comments on commit a39224e

Please sign in to comment.