diff --git a/resources/profiles/PrusaResearch.ini b/resources/profiles/PrusaResearch.ini index 1ea66c24b..a0de336a5 100644 --- a/resources/profiles/PrusaResearch.ini +++ b/resources/profiles/PrusaResearch.ini @@ -8,7 +8,7 @@ technologies = FFF; SLA # Configuration version of this file. Config file will only be installed, if the config_version differs. # This means, the server may force the PrusaSlicer configuration to be downgraded. -config_version = 1.1.2 +config_version = 1.1.3 # Where to get the updates from? config_update_url = changelog_url = http://files.prusa3d.com/?latest=slicer-profiles&lng=%1% @@ -147,7 +147,7 @@ compatible_printers = complete_objects = 0 default_acceleration = 1000 dont_support_bridges = 1 -elefant_foot_compensation = 0.2 +elefant_foot_compensation = -0.2 ensure_vertical_shell_thickness = 1 top_fill_pattern = rectilinear bottom_fill_pattern = rectilinear diff --git a/tests/sla_print/sla_print_tests.cpp b/tests/sla_print/sla_print_tests.cpp index 10f5742d3..cb54d136d 100644 --- a/tests/sla_print/sla_print_tests.cpp +++ b/tests/sla_print/sla_print_tests.cpp @@ -44,7 +44,8 @@ TEST_CASE("Support point generator should be deterministic if seeded", autogencfg.head_diameter = float(2 * supportcfg.head_front_radius_mm); sla::SupportPointGenerator point_gen{emesh, autogencfg, [] {}, [](int) {}}; - TriangleMeshSlicer slicer{&mesh}; + TriangleMeshSlicer slicer{ CLOSING_RADIUS , 0}; + slicer.init(&mesh, [] {}); auto bb = mesh.bounding_box(); double zmin = bb.min.z(); @@ -54,7 +55,7 @@ TEST_CASE("Support point generator should be deterministic if seeded", auto slicegrid = grid(float(gnd), float(zmax), layer_h); std::vector slices; - slicer.slice(slicegrid, SlicingMode::Regular, CLOSING_RADIUS, &slices, []{}); + slicer.slice(slicegrid, SlicingMode::Regular, &slices, []{}); point_gen.seed(0); point_gen.execute(slices, slicegrid); diff --git a/tests/sla_print/sla_test_utils.cpp b/tests/sla_print/sla_test_utils.cpp index a844b2eae..0cb17683e 100644 --- a/tests/sla_print/sla_test_utils.cpp +++ b/tests/sla_print/sla_test_utils.cpp @@ -89,7 +89,8 @@ void test_supports(const std::string &obj_filename, mesh.require_shared_vertices(); } - TriangleMeshSlicer slicer{&mesh}; + TriangleMeshSlicer slicer{ CLOSING_RADIUS,0 }; + slicer.init(&mesh, [] {}); auto bb = mesh.bounding_box(); double zmin = bb.min.z(); @@ -98,7 +99,7 @@ void test_supports(const std::string &obj_filename, auto layer_h = 0.05f; out.slicegrid = grid(float(gnd), float(zmax), layer_h); - slicer.slice(out.slicegrid, SlicingMode::Regular, CLOSING_RADIUS, &out.model_slices, []{}); + slicer.slice(out.slicegrid, SlicingMode::Regular, &out.model_slices, []{}); sla::cut_drainholes(out.model_slices, out.slicegrid, CLOSING_RADIUS, drainholes, []{}); // Create the special index-triangle mesh with spatial indexing which