mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 16:21:24 -06:00
Bugfix: make_perimeters() was not truly idempotent because prepare_infill() split ->slices into typed surfaces
This commit is contained in:
parent
28f9278963
commit
d9f5fdae72
6 changed files with 38 additions and 3 deletions
|
@ -66,7 +66,8 @@ REGISTER_CLASS(PrintRegion, "Print::Region");
|
|||
|
||||
PrintObject::PrintObject(Print* print, ModelObject* model_object, const BoundingBoxf3 &modobj_bbox)
|
||||
: _print(print),
|
||||
_model_object(model_object)
|
||||
_model_object(model_object),
|
||||
typed_slices(false)
|
||||
{
|
||||
region_volumes.resize(this->_print->regions.size());
|
||||
|
||||
|
|
|
@ -70,6 +70,10 @@ class PrintObject
|
|||
Points copies; // Slic3r::Point objects in scaled G-code coordinates
|
||||
PrintObjectConfig config;
|
||||
t_layer_height_ranges layer_height_ranges;
|
||||
|
||||
// this is set to true when LayerRegion->slices is split in top/internal/bottom
|
||||
// so that next call to make_perimeters() performs a union() before computing loops
|
||||
bool typed_slices;
|
||||
|
||||
Point3 size; // XYZ in scaled coordinates
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue