PrusaSlicer-NonPlainar/xs/src/TriangleMesh.hpp
2013-06-24 20:11:56 +02:00

24 lines
346 B
C++

#include <admesh/stl.h>
extern "C" {
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
}
class TriangleMesh
{
public:
TriangleMesh();
~TriangleMesh();
void ReadSTLFile(char* input_file);
void Repair();
void WriteOBJFile(char* output_file);
AV* ToPerl();
private:
stl_file stl;
};