mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -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_
|