mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-21 17:11:53 -06:00
FIX: enhance auto-orientation with parameters
The tolerance of orientation filter is too large. Jira: STUDIO-1375,1376,1382 Change-Id: I794a161e74acbcf2e13c03dcc6e5e51d6b4e1f23 (cherry picked from commit 9d8f838fb06b8c0d4efed3e50d33db410efae360)
This commit is contained in:
parent
05a00edb79
commit
0193e70a9e
2 changed files with 11 additions and 11 deletions
|
@ -246,7 +246,7 @@ public:
|
|||
/// remove duplicate orientations
|
||||
/// </summary>
|
||||
/// <param name="tol">tolerance. default 0.01 =sin(0.57\degree)</param>
|
||||
void remove_duplicates(float tol=0.01)
|
||||
void remove_duplicates(float tol=0.001)
|
||||
{
|
||||
for (auto it = orientations.begin()+1; it < orientations.end(); )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue