2014-12-12 18:14:52 +00:00
|
|
|
%module{Slic3r::XS};
|
|
|
|
|
2016-10-16 14:30:56 +00:00
|
|
|
%{
|
2015-12-07 23:39:54 +00:00
|
|
|
#include <xsinit.h>
|
2014-12-12 18:14:52 +00:00
|
|
|
#include "libslic3r/SupportMaterial.hpp"
|
2016-10-16 14:30:56 +00:00
|
|
|
%}
|
|
|
|
|
2016-10-20 11:04:23 +00:00
|
|
|
%name{Slic3r::Print::SupportMaterial2} class PrintObjectSupportMaterial {
|
|
|
|
PrintObjectSupportMaterial(PrintObject *print_object);
|
|
|
|
~PrintObjectSupportMaterial();
|
2016-10-16 14:30:56 +00:00
|
|
|
|
|
|
|
void generate(PrintObject *object)
|
|
|
|
%code{% THIS->generate(*object); %};
|
|
|
|
};
|
2014-12-12 18:14:52 +00:00
|
|
|
|
|
|
|
%package{Slic3r::Print::SupportMaterial};
|
|
|
|
%{
|
|
|
|
|
|
|
|
SV*
|
|
|
|
MARGIN()
|
|
|
|
PROTOTYPE:
|
|
|
|
CODE:
|
|
|
|
RETVAL = newSVnv(SUPPORT_MATERIAL_MARGIN);
|
|
|
|
OUTPUT: RETVAL
|
|
|
|
|
2016-10-16 14:30:56 +00:00
|
|
|
%}
|