Port PrintRegion::flow() and LayerRegion.flow() to XS

This commit is contained in:
Alessandro Ranellucci 2014-08-03 19:17:23 +02:00
parent 380dd8adfc
commit 7ff13c063f
11 changed files with 80 additions and 85 deletions

View file

@ -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)); %};
};