mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-24 16:03:59 +02:00
25 lines
395 B
C++
25 lines
395 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 ReadFromPerl(SV* vertices, SV* facets);
|
|
void Repair();
|
|
void WriteOBJFile(char* output_file);
|
|
AV* ToPerl();
|
|
private:
|
|
stl_file stl;
|
|
};
|
|
|
|
|