mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 21:46:30 +01:00
C++ supports sketched, but not finalized yet. Slic3r is still using
the old Perl supports, but this time with the C++ fillers.
This commit is contained in:
1 parent
8f40d9b34e
commit
7d7f093120
19 files changed
+602
-557
No files matched your search
@@ -1,7 +1,23 @@
|
||||
%module{Slic3r::XS};
|
||||
|
||||
%{
|
||||
#include <xsinit.h>
|
||||
#include "libslic3r/SupportMaterial.hpp"
|
||||
%}
|
||||
|
||||
%name{Slic3r::Print::SupportMaterial2} class PrintSupportMaterial {
|
||||
%name{_new} PrintSupportMaterial(
|
||||
PrintConfig *print_config,
|
||||
PrintObjectConfig *object_config,
|
||||
Flow *flow,
|
||||
Flow *first_layer_flow,
|
||||
Flow *interface_flow,
|
||||
bool soluble_interface);
|
||||
~PrintSupportMaterial();
|
||||
|
||||
void generate(PrintObject *object)
|
||||
%code{% THIS->generate(*object); %};
|
||||
};
|
||||
|
||||
%package{Slic3r::Print::SupportMaterial};
|
||||
%{
|
||||
@@ -13,4 +29,4 @@ MARGIN()
|
||||
RETVAL = newSVnv(SUPPORT_MATERIAL_MARGIN);
|
||||
OUTPUT: RETVAL
|
||||
|
||||
%}
|
||||
%}
|
||||
Reference in new issue
Block a user