mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-04-19 12:19:51 +08:00
readd perl map; it actually works this time
This commit is contained in:
parent
b1a3b3cc9d
commit
2aeacd3f59
@ -260,6 +260,7 @@ xsp/SlicingAdaptive.xsp
|
||||
xsp/SupportMaterial.xsp
|
||||
xsp/Surface.xsp
|
||||
xsp/SurfaceCollection.xsp
|
||||
xsp/TransformationMatrix.xsp
|
||||
xsp/TriangleMesh.xsp
|
||||
xsp/typemap.xspt
|
||||
xsp/XS.xsp
|
||||
|
@ -60,6 +60,7 @@ REGISTER_CLASS(SLAPrint, "SLAPrint");
|
||||
REGISTER_CLASS(SlicingAdaptive, "SlicingAdaptive");
|
||||
REGISTER_CLASS(Surface, "Surface");
|
||||
REGISTER_CLASS(SurfaceCollection, "Surface::Collection");
|
||||
REGISTER_CLASS(TransformationMatrix, "TransformationMatrix");
|
||||
REGISTER_CLASS(TriangleMesh, "TriangleMesh");
|
||||
REGISTER_CLASS(GLVertexArray, "GUI::_3DScene::GLVertexArray");
|
||||
|
||||
|
14
xs/xsp/TransformationMatrix.xsp
Normal file
14
xs/xsp/TransformationMatrix.xsp
Normal file
@ -0,0 +1,14 @@
|
||||
%module{Slic3r::XS};
|
||||
|
||||
%{
|
||||
#include <xsinit.h>
|
||||
#include "libslic3r/libslic3r.h"
|
||||
#include "libslic3r/TransformationMatrix.hpp"
|
||||
%}
|
||||
|
||||
%name{Slic3r::TransformationMatrix} class TransformationMatrix {
|
||||
TransformationMatrix();
|
||||
~TransformationMatrix();
|
||||
Clone<TransformationMatrix> clone()
|
||||
%code{% RETVAL=THIS; %};
|
||||
};
|
@ -53,6 +53,10 @@ Ref<FullPrintConfig> O_OBJECT_SLIC3R_T
|
||||
|
||||
ZTable* O_OBJECT
|
||||
|
||||
TransformationMatrix* O_OBJECT_SLIC3R
|
||||
Ref<TransformationMatrix> O_OBJECT_SLIC3R_T
|
||||
Clone<TransformationMatrix> O_OBJECT_SLIC3R_T
|
||||
|
||||
TriangleMesh* O_OBJECT_SLIC3R
|
||||
Ref<TriangleMesh> O_OBJECT_SLIC3R_T
|
||||
Clone<TriangleMesh> O_OBJECT_SLIC3R_T
|
||||
|
@ -85,6 +85,9 @@
|
||||
%typemap{ExtrusionLoop*};
|
||||
%typemap{Ref<ExtrusionLoop>}{simple};
|
||||
%typemap{Clone<ExtrusionLoop>}{simple};
|
||||
%typemap{TransformationMatrix*};
|
||||
%typemap{Ref<TransformationMatrix>}{simple};
|
||||
%typemap{Clone<TransformationMatrix>}{simple};
|
||||
%typemap{TriangleMesh*};
|
||||
%typemap{Ref<TriangleMesh>}{simple};
|
||||
%typemap{Clone<TriangleMesh>}{simple};
|
||||
@ -178,6 +181,7 @@
|
||||
%typemap{ExtrusionPaths};
|
||||
%typemap{Surfaces};
|
||||
%typemap{Polygons*};
|
||||
%typemap{TransformationMatrix*};
|
||||
%typemap{TriangleMesh*};
|
||||
%typemap{TriangleMeshPtrs};
|
||||
%typemap{Extruder*};
|
||||
|
Loading…
x
Reference in New Issue
Block a user