mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-02-15 08:59:32 -07:00
Merge pull request #20371 from Ultimaker/CURA-12453_fix-auto-arrange-overlapping-models
CURA-12453 fix auto arrange overlapping models
This commit is contained in:
commit
d8b9b7e441
1 changed files with 2 additions and 3 deletions
|
|
@ -102,8 +102,7 @@ class Nest2DArrange(Arranger):
|
|||
NfpConfig.Alignment.BOTTOM_LEFT,
|
||||
NfpConfig.Alignment.BOTTOM_RIGHT,
|
||||
NfpConfig.Alignment.TOP_LEFT,
|
||||
NfpConfig.Alignment.TOP_RIGHT,
|
||||
NfpConfig.Alignment.DONT_ALIGN]
|
||||
NfpConfig.Alignment.TOP_RIGHT]
|
||||
found_solution_for_all = False
|
||||
while not found_solution_for_all and len(strategies) > 0:
|
||||
|
||||
|
|
@ -124,7 +123,7 @@ class Nest2DArrange(Arranger):
|
|||
|
||||
config = NfpConfig()
|
||||
config.accuracy = 1.0
|
||||
config.alignment = NfpConfig.Alignment.CENTER
|
||||
config.alignment = NfpConfig.Alignment.DONT_ALIGN
|
||||
config.starting_point = strategies[0]
|
||||
strategies = strategies[1:]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue