mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-03 19:16:31 +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/SupportMaterial.xsp
|
||||||
xsp/Surface.xsp
|
xsp/Surface.xsp
|
||||||
xsp/SurfaceCollection.xsp
|
xsp/SurfaceCollection.xsp
|
||||||
|
xsp/TransformationMatrix.xsp
|
||||||
xsp/TriangleMesh.xsp
|
xsp/TriangleMesh.xsp
|
||||||
xsp/typemap.xspt
|
xsp/typemap.xspt
|
||||||
xsp/XS.xsp
|
xsp/XS.xsp
|
||||||
|
@ -60,6 +60,7 @@ REGISTER_CLASS(SLAPrint, "SLAPrint");
|
|||||||
REGISTER_CLASS(SlicingAdaptive, "SlicingAdaptive");
|
REGISTER_CLASS(SlicingAdaptive, "SlicingAdaptive");
|
||||||
REGISTER_CLASS(Surface, "Surface");
|
REGISTER_CLASS(Surface, "Surface");
|
||||||
REGISTER_CLASS(SurfaceCollection, "Surface::Collection");
|
REGISTER_CLASS(SurfaceCollection, "Surface::Collection");
|
||||||
|
REGISTER_CLASS(TransformationMatrix, "TransformationMatrix");
|
||||||
REGISTER_CLASS(TriangleMesh, "TriangleMesh");
|
REGISTER_CLASS(TriangleMesh, "TriangleMesh");
|
||||||
REGISTER_CLASS(GLVertexArray, "GUI::_3DScene::GLVertexArray");
|
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
|
ZTable* O_OBJECT
|
||||||
|
|
||||||
|
TransformationMatrix* O_OBJECT_SLIC3R
|
||||||
|
Ref<TransformationMatrix> O_OBJECT_SLIC3R_T
|
||||||
|
Clone<TransformationMatrix> O_OBJECT_SLIC3R_T
|
||||||
|
|
||||||
TriangleMesh* O_OBJECT_SLIC3R
|
TriangleMesh* O_OBJECT_SLIC3R
|
||||||
Ref<TriangleMesh> O_OBJECT_SLIC3R_T
|
Ref<TriangleMesh> O_OBJECT_SLIC3R_T
|
||||||
Clone<TriangleMesh> O_OBJECT_SLIC3R_T
|
Clone<TriangleMesh> O_OBJECT_SLIC3R_T
|
||||||
|
@ -85,6 +85,9 @@
|
|||||||
%typemap{ExtrusionLoop*};
|
%typemap{ExtrusionLoop*};
|
||||||
%typemap{Ref<ExtrusionLoop>}{simple};
|
%typemap{Ref<ExtrusionLoop>}{simple};
|
||||||
%typemap{Clone<ExtrusionLoop>}{simple};
|
%typemap{Clone<ExtrusionLoop>}{simple};
|
||||||
|
%typemap{TransformationMatrix*};
|
||||||
|
%typemap{Ref<TransformationMatrix>}{simple};
|
||||||
|
%typemap{Clone<TransformationMatrix>}{simple};
|
||||||
%typemap{TriangleMesh*};
|
%typemap{TriangleMesh*};
|
||||||
%typemap{Ref<TriangleMesh>}{simple};
|
%typemap{Ref<TriangleMesh>}{simple};
|
||||||
%typemap{Clone<TriangleMesh>}{simple};
|
%typemap{Clone<TriangleMesh>}{simple};
|
||||||
@ -178,6 +181,7 @@
|
|||||||
%typemap{ExtrusionPaths};
|
%typemap{ExtrusionPaths};
|
||||||
%typemap{Surfaces};
|
%typemap{Surfaces};
|
||||||
%typemap{Polygons*};
|
%typemap{Polygons*};
|
||||||
|
%typemap{TransformationMatrix*};
|
||||||
%typemap{TriangleMesh*};
|
%typemap{TriangleMesh*};
|
||||||
%typemap{TriangleMeshPtrs};
|
%typemap{TriangleMeshPtrs};
|
||||||
%typemap{Extruder*};
|
%typemap{Extruder*};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user