mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Separated Print / PrintObject into PrintBase.cpp/h to support SLAPrint
This commit is contained in:
		
							parent
							
								
									6d60ecffa0
								
							
						
					
					
						commit
						c2e46350f2
					
				
					 15 changed files with 433 additions and 406 deletions
				
			
		|  | @ -216,12 +216,10 @@ int main(int argc, char **argv) | |||
|             } | ||||
|             if (outfile.empty()) | ||||
|                 outfile = model.objects.front()->input_file + ".gcode"; | ||||
|             for (auto* mo : model.objects) { | ||||
|             for (auto* mo : model.objects) | ||||
|                 print.auto_assign_extruders(mo); | ||||
|                 print.add_model_object(mo); | ||||
|             } | ||||
|             print_config.normalize(); | ||||
|             print.apply_config(print_config); | ||||
|             print.apply(model, print_config); | ||||
|             std::string err = print.validate(); | ||||
|             if (err.empty()) | ||||
|                 print.export_gcode(outfile, nullptr); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv