mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Nicer 3D colors and lighting
This commit is contained in:
		
							parent
							
								
									bcc8e356b2
								
							
						
					
					
						commit
						a34c7c76c4
					
				
					 2 changed files with 49 additions and 23 deletions
				
			
		| 
						 | 
				
			
			@ -27,6 +27,9 @@ my %opt = ();
 | 
			
		|||
{
 | 
			
		||||
    my $model = Slic3r::Model->read_from_file($ARGV[0]);
 | 
			
		||||
    
 | 
			
		||||
    # make sure all objects have at least one defined instance
 | 
			
		||||
    $model->add_default_instances;
 | 
			
		||||
    
 | 
			
		||||
    $Slic3r::ViewMesh::object = $model->objects->[0];
 | 
			
		||||
    my $app = Slic3r::ViewMesh->new;
 | 
			
		||||
    $app->MainLoop;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue