mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Add dedicated tests for support point generation
This commit is contained in:
parent
1172dfcb40
commit
4ef52af906
10 changed files with 285 additions and 21 deletions
|
@ -185,4 +185,13 @@ long raster_pxsum(const sla::RasterGrayscaleAA &raster);
|
|||
|
||||
double predict_error(const ExPolygon &p, const sla::RasterBase::PixelDim &pd);
|
||||
|
||||
// Make a 3D pyramid
|
||||
TriangleMesh make_pyramid(float base, float height);
|
||||
|
||||
TriangleMesh make_prism(double width, double length, double height);
|
||||
|
||||
sla::SupportPoints calc_support_pts(
|
||||
const TriangleMesh & mesh,
|
||||
const sla::SupportPointGenerator::Config &cfg = {});
|
||||
|
||||
#endif // SLA_TEST_UTILS_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue