mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed out of print volume detection
This commit is contained in:
		
							parent
							
								
									7e228e6698
								
							
						
					
					
						commit
						16259e6f26
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -818,7 +818,10 @@ bool GLVolumeCollection::check_outside_state(const DynamicPrintConfig* config, M | |||
|         return false; | ||||
| 
 | ||||
|     BoundingBox bed_box_2D = get_extents(Polygon::new_scale(opt->values)); | ||||
|     BoundingBoxf3 print_volume(unscale(bed_box_2D.min(0), bed_box_2D.min(1), 0.0), unscale(bed_box_2D.max(0), bed_box_2D.max(1), unscale<double>(config->opt_float("max_print_height")))); | ||||
| //############################################################################################################################################
 | ||||
|     BoundingBoxf3 print_volume(unscale(bed_box_2D.min(0), bed_box_2D.min(1), 0.0), unscale(bed_box_2D.max(0), bed_box_2D.max(1), config->opt_float("max_print_height"))); | ||||
| //    BoundingBoxf3 print_volume(unscale(bed_box_2D.min(0), bed_box_2D.min(1), 0.0), unscale(bed_box_2D.max(0), bed_box_2D.max(1), unscale<double>(config->opt_float("max_print_height"))));
 | ||||
| //############################################################################################################################################
 | ||||
|     // Allow the objects to protrude below the print bed
 | ||||
|     print_volume.min(2) = -1e10; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri