mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
Incorporate individual support point radius.
This commit is contained in:
parent
61f8e4f6f7
commit
43f03b8032
5 changed files with 462 additions and 451 deletions
|
@ -2,6 +2,7 @@
|
|||
#define SLACOMMON_HPP
|
||||
|
||||
#include <Eigen/Geometry>
|
||||
#include <memory>
|
||||
|
||||
// #define SLIC3R_SLA_NEEDS_WINDTREE
|
||||
|
||||
|
@ -36,7 +37,6 @@ struct SupportPoint {
|
|||
bool operator!=(const SupportPoint& sp) const { return !(sp == (*this)); }
|
||||
};
|
||||
|
||||
|
||||
/// An index-triangle structure for libIGL functions. Also serves as an
|
||||
/// alternative (raw) input format for the SLASupportTree
|
||||
/*struct EigenMesh3D {
|
||||
|
@ -125,6 +125,8 @@ public:
|
|||
|
||||
bool inside(const Vec3d& p) const;
|
||||
#endif /* SLIC3R_SLA_NEEDS_WINDTREE */
|
||||
|
||||
double squared_distance(const Vec3d& p, int& i, Vec3d& c) const;
|
||||
};
|
||||
|
||||
|
||||
|
@ -134,4 +136,4 @@ public:
|
|||
} // namespace Slic3r
|
||||
|
||||
|
||||
#endif // SLASUPPORTTREE_HPP
|
||||
#endif // SLASUPPORTTREE_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue