mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Ported Print::bounding_box(), Print::total_bounding_box(), Print::skirt_flow(), Print:skirt_first_layer_height() to XS
This commit is contained in:
parent
baf070a36d
commit
e8ab9ac13a
8 changed files with 109 additions and 60 deletions
|
@ -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
|
||||
|
||||
%}
|
Loading…
Add table
Add a link
Reference in a new issue