mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-30 16:42:43 +00:00
Rewrote Fill2.pm to C++, deleted Perl infills for good.
Removed dependency on Perl Math::PlanePath module. Fixed compilation with Visual Studio and SLIC3R_DEBUG: Visual Studio older than 2015 does not support the prinf type specifier %zu. Use %Iu instead. C++11 move semantics enabled.
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include <xsinit.h>
|
||||
#include "libslic3r/Fill/Fill.hpp"
|
||||
#include "libslic3r/PolylineCollection.hpp"
|
||||
#include "libslic3r/ExtrusionEntity.hpp"
|
||||
#include "libslic3r/ExtrusionEntityCollection.hpp"
|
||||
%}
|
||||
|
||||
%name{Slic3r::Filler} class Filler {
|
||||
@@ -63,5 +65,13 @@ new_from_type(CLASS, type)
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
void
|
||||
make_fill(CLASS, layer_region, out_append)
|
||||
char* CLASS;
|
||||
LayerRegion* layer_region;
|
||||
ExtrusionEntityCollection* out_append;
|
||||
CODE:
|
||||
make_fill(*layer_region, *out_append);
|
||||
%}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user