mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 00:01:09 -06:00
Finished porting LayerRegion to C++
This commit is contained in:
parent
5b8ed7367a
commit
9fcec10737
28 changed files with 319 additions and 203 deletions
|
@ -9,14 +9,10 @@
|
|||
~BridgeDetector();
|
||||
|
||||
bool detect_angle();
|
||||
Polygons coverage()
|
||||
%code{% THIS->coverage(&RETVAL); %};
|
||||
Polygons coverage_by_angle(double angle)
|
||||
%code{% THIS->coverage(angle, &RETVAL); %};
|
||||
Polylines unsupported_edges()
|
||||
%code{% THIS->unsupported_edges(&RETVAL); %};
|
||||
Polylines unsupported_edges_by_angle(double angle)
|
||||
%code{% THIS->unsupported_edges(angle, &RETVAL); %};
|
||||
Polygons coverage();
|
||||
%name{coverage_by_angle} Polygons coverage(double angle);
|
||||
Polylines unsupported_edges();
|
||||
%name{unsupported_edges_by_angle} Polylines unsupported_edges(double angle);
|
||||
double angle()
|
||||
%code{% RETVAL = THIS->angle; %};
|
||||
double resolution()
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
%code%{ RETVAL = &THIS->thin_fills; %};
|
||||
Ref<SurfaceCollection> fill_surfaces()
|
||||
%code%{ RETVAL = &THIS->fill_surfaces; %};
|
||||
Ref<ExPolygonCollection> bridged()
|
||||
%code%{ RETVAL = &THIS->bridged; %};
|
||||
Polygons bridged()
|
||||
%code%{ RETVAL = THIS->bridged; %};
|
||||
Ref<PolylineCollection> unsupported_bridge_edges()
|
||||
%code%{ RETVAL = &THIS->unsupported_bridge_edges; %};
|
||||
Ref<ExtrusionEntityCollection> perimeters()
|
||||
|
@ -32,6 +32,7 @@
|
|||
void prepare_fill_surfaces();
|
||||
void make_perimeters(SurfaceCollection* slices, SurfaceCollection* fill_surfaces)
|
||||
%code%{ THIS->make_perimeters(*slices, fill_surfaces); %};
|
||||
double infill_area_threshold();
|
||||
};
|
||||
|
||||
%name{Slic3r::Layer} class Layer {
|
||||
|
|
|
@ -107,6 +107,7 @@ _constant()
|
|||
void set_step_started(PrintObjectStep step)
|
||||
%code%{ THIS->state.set_started(step); %};
|
||||
|
||||
void process_external_surfaces();
|
||||
void bridge_over_infill();
|
||||
|
||||
int ptr()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue