mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Port PrintRegion::flow() and LayerRegion.flow() to XS
This commit is contained in:
parent
380dd8adfc
commit
7ff13c063f
11 changed files with 80 additions and 85 deletions
|
@ -34,6 +34,9 @@ _constant()
|
|||
Ref<PrintRegionConfig> config()
|
||||
%code%{ RETVAL = &THIS->config; %};
|
||||
Ref<Print> print();
|
||||
|
||||
Flow* flow(FlowRole role, double layer_height, bool bridge, bool first_layer, double width, PrintObject* object)
|
||||
%code%{ RETVAL = new Flow(THIS->flow(role, layer_height, bridge, first_layer, width, *object)); %};
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue