mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Fine tuning of precision.
This commit is contained in:
parent
224c0e74ea
commit
08fb677583
1 changed files with 2 additions and 2 deletions
|
@ -226,7 +226,7 @@ objfunc(const PointImpl& bincenter,
|
||||||
// The final mix of the score is the balance between the distance
|
// The final mix of the score is the balance between the distance
|
||||||
// from the full pile center, the pack density and the
|
// from the full pile center, the pack density and the
|
||||||
// alignment with the neigbours
|
// alignment with the neigbours
|
||||||
score = 0.4 * dist + 0.4 * density + 0.2 * alignment_score;
|
score = 0.45 * dist + 0.45 * density + 0.1 * alignment_score;
|
||||||
|
|
||||||
} else if( !isBig(item.area()) && spatindex.empty()) {
|
} else if( !isBig(item.area()) && spatindex.empty()) {
|
||||||
// If there are no big items, only small, we should consider the
|
// If there are no big items, only small, we should consider the
|
||||||
|
@ -261,7 +261,7 @@ void fillConfig(PConf& pcfg) {
|
||||||
|
|
||||||
// The accuracy of optimization.
|
// The accuracy of optimization.
|
||||||
// Goes from 0.0 to 1.0 and scales performance as well
|
// Goes from 0.0 to 1.0 and scales performance as well
|
||||||
pcfg.accuracy = 1.0f;
|
pcfg.accuracy = 0.6f;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class TBin>
|
template<class TBin>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue