mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 00:31:11 -06:00
Finished implementation of TriangleMesh->split
This commit is contained in:
parent
2d4aa439ae
commit
27e7c6b9f7
18 changed files with 59 additions and 23 deletions
|
@ -9,11 +9,15 @@
|
|||
|
||||
namespace Slic3r {
|
||||
|
||||
class TriangleMesh;
|
||||
typedef std::vector<TriangleMesh*> TriangleMeshPtrs;
|
||||
|
||||
class TriangleMesh
|
||||
{
|
||||
public:
|
||||
TriangleMesh();
|
||||
~TriangleMesh();
|
||||
SV* to_SV();
|
||||
void ReadSTLFile(char* input_file);
|
||||
void ReadFromPerl(SV* vertices, SV* facets);
|
||||
void Repair();
|
||||
|
@ -23,7 +27,7 @@ class TriangleMesh
|
|||
void align_to_origin();
|
||||
void rotate(double angle, Point* center);
|
||||
std::vector<Polygons>* slice(const std::vector<double> &z);
|
||||
std::vector<TriangleMesh> split() const;
|
||||
TriangleMeshPtrs split() const;
|
||||
stl_file stl;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue