New utility function its_merge_vertices().

Implemented contour simplification inside slice_mesh_ex().
This commit is contained in:
Vojtech Bubnik 2021-05-18 17:57:35 +02:00
parent dfc6d399f7
commit c28cd957d5
4 changed files with 83 additions and 1 deletions

View file

@ -36,7 +36,7 @@ struct MeshSlicingParamsEx : public MeshSlicingParams
float closing_radius { 0 };
// Positive offset applied when creating output expolygons.
float extra_offset { 0 };
// Resolution for contour simplification.
// Resolution for contour simplification, scaled!
// 0 = don't simplify.
double resolution { 0 };
};