mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Fix arrange objectfunction to avoid last object in awkward positions.
fixes #3900
This commit is contained in:
		
							parent
							
								
									d855015e2f
								
							
						
					
					
						commit
						096d0c9860
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -277,10 +277,10 @@ protected: | |||
|             if (result.empty()) | ||||
|                 score = 0.50 * dist + 0.50 * density; | ||||
|             else | ||||
|                 score = R * 0.60 * dist + | ||||
|                         (1.0 - R) * 0.20 * density + | ||||
|                         0.20 * alignment_score; | ||||
|              | ||||
|                 // Let the density matter more when fewer objects remain
 | ||||
|                 score = 0.50 * dist + (1.0 - R) * 0.20 * density + | ||||
|                         0.30 * alignment_score; | ||||
| 
 | ||||
|             break; | ||||
|         } | ||||
|         case LAST_BIG_ITEM: { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros