mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
FIX: auto-arrange may crash due to clipper
1. Use nlopt and clipper offset togather seems not stable, very easy to crash. We do the offset outside nlopt now. 2. Fix a bug with finalAlign where objects may be translated to overlap with excluded region. 3. change the words of support_expansion Change-Id: I22e37b20e4ae16f47bde206de90845616e4cefad (cherry picked from commit 1c26e5d2862fd3f3292971b5c749420bfb2cdf0e)
This commit is contained in:
parent
95ed039879
commit
4eba8a2a2d
6 changed files with 47 additions and 55 deletions
|
@ -625,8 +625,8 @@ public:
|
|||
//preprocess an arrangement::ArrangePolygon, return true if it is in a locked plate
|
||||
bool preprocess_arrange_polygon(int obj_index, int instance_index, arrangement::ArrangePolygon& arrange_polygon, bool selected);
|
||||
bool preprocess_arrange_polygon_other_locked(int obj_index, int instance_index, arrangement::ArrangePolygon& arrange_polygon, bool selected);
|
||||
bool preprocess_exclude_areas(arrangement::ArrangePolygons& unselected, int num_plates = 16);
|
||||
bool preprocess_nonprefered_areas(arrangement::ArrangePolygons& regions, int num_plates = 1);
|
||||
bool preprocess_exclude_areas(arrangement::ArrangePolygons& unselected, int num_plates = 16, float inflation = 0);
|
||||
bool preprocess_nonprefered_areas(arrangement::ArrangePolygons& regions, int num_plates = 1, float inflation=0);
|
||||
|
||||
void postprocess_bed_index_for_selected(arrangement::ArrangePolygon& arrange_polygon);
|
||||
void postprocess_bed_index_for_unselected(arrangement::ArrangePolygon& arrange_polygon);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue