Refactored PerimeterGenerator to output out_fill_surfaces as ExPolygons,
not SurfaceCollection. Reworked combineinfill.t, 07_extrusionpath.t, 08_extrusionloop.t to c++. Removed Layer / ExtrusionPath / ExtrusionLoop / ExtrusionEntityCollection from Perl bindings.
This commit is contained in:
parent
237e56c7ce
commit
d041fa6c0c
24 changed files with 422 additions and 852 deletions
|
@ -44,7 +44,7 @@ SCENARIO("Perimeter nesting", "[Perimeters]")
|
|||
|
||||
ExtrusionEntityCollection loops;
|
||||
ExtrusionEntityCollection gap_fill;
|
||||
SurfaceCollection fill_surfaces;
|
||||
ExPolygons fill_expolygons;
|
||||
Flow flow(1., 1., 1.);
|
||||
PerimeterGenerator::Parameters perimeter_generator_params(
|
||||
1., // layer height
|
||||
|
@ -67,7 +67,7 @@ SCENARIO("Perimeter nesting", "[Perimeters]")
|
|||
// cache:
|
||||
lower_layer_polygons_cache,
|
||||
// output:
|
||||
loops, gap_fill, fill_surfaces);
|
||||
loops, gap_fill, fill_expolygons);
|
||||
|
||||
THEN("expected number of collections") {
|
||||
REQUIRE(loops.entities.size() == data.expolygons.size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue