mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			389 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			389 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef libslic3r_SpeedGenerator_hpp_
 | |
| #define libslic3r_SpeedGenerator_hpp_
 | |
| 
 | |
| #include <string>
 | |
| 
 | |
| namespace Slic3r {
 | |
| 
 | |
| class ExtrusionPath;
 | |
| 
 | |
| class SpeedGenerator {
 | |
| public:
 | |
| 	SpeedGenerator();
 | |
| 	double calculate_speed(const ExtrusionPath& path, double max_speed, double min_speed);
 | |
| 
 | |
| private:
 | |
| 	boost::property_tree::ptree root;
 | |
| 	int speed_table[6];
 | |
| };
 | |
| 
 | |
| }
 | |
| 
 | |
| #endif // libslic3r_SpeedGenerator_hpp_
 | 
