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

@ -26,6 +26,9 @@
%code%{ RETVAL = &THIS->perimeters; %};
Ref<ExtrusionEntityCollection> fills()
%code%{ RETVAL = &THIS->fills; %};
Flow* flow(FlowRole role, bool bridge = false, double width = -1)
%code%{ RETVAL = new Flow(THIS->flow(role, bridge, width)); %};
};
%name{Slic3r::Layer} class Layer {