mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-30 16:42:43 +00:00
Ported Print::bounding_box(), Print::total_bounding_box(), Print::skirt_flow(), Print:skirt_first_layer_height() to XS
This commit is contained in:
@@ -193,6 +193,10 @@ _constant()
|
||||
croak("%s\n", e.what());
|
||||
}
|
||||
%};
|
||||
Clone<BoundingBox> bounding_box();
|
||||
Clone<BoundingBox> total_bounding_box();
|
||||
double skirt_first_layer_height();
|
||||
Clone<Flow> skirt_flow();
|
||||
%{
|
||||
|
||||
double
|
||||
|
||||
16
xs/xsp/SupportMaterial.xsp
Normal file
16
xs/xsp/SupportMaterial.xsp
Normal file
@@ -0,0 +1,16 @@
|
||||
%module{Slic3r::XS};
|
||||
|
||||
#include <myinit.h>
|
||||
#include "libslic3r/SupportMaterial.hpp"
|
||||
|
||||
%package{Slic3r::Print::SupportMaterial};
|
||||
%{
|
||||
|
||||
SV*
|
||||
MARGIN()
|
||||
PROTOTYPE:
|
||||
CODE:
|
||||
RETVAL = newSVnv(SUPPORT_MATERIAL_MARGIN);
|
||||
OUTPUT: RETVAL
|
||||
|
||||
%}
|
||||
Reference in New Issue
Block a user