mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 04:37:52 -06:00
Group hollowing result (including grid) into one struct
This commit is contained in:
parent
e57eca0289
commit
82954ba715
7 changed files with 133 additions and 67 deletions
|
@ -88,9 +88,9 @@ void test_supports(const std::string &obj_filename,
|
|||
REQUIRE_FALSE(mesh.empty());
|
||||
|
||||
if (hollowingcfg.enabled) {
|
||||
auto inside = sla::generate_interior(mesh, hollowingcfg);
|
||||
REQUIRE(inside);
|
||||
mesh.merge(*inside);
|
||||
sla::InteriorPtr interior = sla::generate_interior(mesh, hollowingcfg);
|
||||
REQUIRE(interior);
|
||||
mesh.merge(sla::get_mesh(*interior));
|
||||
mesh.require_shared_vertices();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue