mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 00:31:11 -06:00
Some initial work for porting slice()
This commit is contained in:
parent
8607c559c7
commit
346c17d483
6 changed files with 126 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
|||
|
||||
#include <myinit.h>
|
||||
#include <admesh/stl.h>
|
||||
#include <vector>
|
||||
#include "Point.hpp"
|
||||
#include "Polygon.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
|
@ -20,6 +22,7 @@ class TriangleMesh
|
|||
void translate(float x, float y, float z);
|
||||
void align_to_origin();
|
||||
void rotate(double angle, Point* center);
|
||||
std::vector<Polygons>* slice(const std::vector<double> &z);
|
||||
stl_file stl;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue