Add the full source of BambuStudio

using version 1.0.10
This commit is contained in:
lane.wei 2022-07-15 23:37:19 +08:00 committed by Lane.Wei
parent 30bcadab3e
commit 1555904bef
3771 changed files with 1251328 additions and 0 deletions

View file

@ -0,0 +1,27 @@
#ifndef slic3r_CurvaAnalyzer_hpp_
#define slic3r_CurvaAnalyzer_hpp_
#include "ExtrusionEntityCollection.hpp"
namespace Slic3r {
enum class ECurveAnalyseMode : unsigned char
{
RelativeMode,
AbsoluteMode,
Count
};
//BBS: CurvaAnalyzer, ansolutely new file
class CurveAnalyzer {
public:
// This function is used to calculate curvature for paths.
// Paths must be generated from a closed polygon.
// Data in paths may be modify, and paths will be spilited and regenerated
// arrording to different curve degree.
void calculate_curvatures(ExtrusionPaths& paths, ECurveAnalyseMode mode = ECurveAnalyseMode::RelativeMode);
};
}
#endif