Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-06-19 17:08:53 +0300
committerbubnikv <bubnikv@gmail.com>2018-06-19 17:08:53 +0300
commit5a56f08aad20237cc6ce0fe95abf06e9279d4096 (patch)
tree79f49e6d9d44548d1c7540b455f5eeac44b2d2e6 /xs/xsp/Print.xsp
parent734273a33a7059ae2410f4d012432bfbf2a64b26 (diff)
parenta3949b9f01f60ad3f0543de270f4dc662f6c9249 (diff)
Merge remote-tracking branch 'remotes/origin/opengl_to_cpp'
Diffstat (limited to 'xs/xsp/Print.xsp')
-rw-r--r--xs/xsp/Print.xsp12
1 files changed, 3 insertions, 9 deletions
diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp
index ef9c5345f..e05112932 100644
--- a/xs/xsp/Print.xsp
+++ b/xs/xsp/Print.xsp
@@ -52,6 +52,9 @@ _constant()
int region_count()
%code%{ RETVAL = THIS->print()->regions.size(); %};
+ int region_volumes_count()
+ %code%{ RETVAL = THIS->region_volumes.size(); %};
+
Ref<Print> print();
Ref<ModelObject> model_object();
Ref<StaticPrintConfig> config()
@@ -119,15 +122,6 @@ _constant()
RETVAL.push_back(slicing_params.layer_height);
%};
- void adjust_layer_height_profile(coordf_t z, coordf_t layer_thickness_delta, coordf_t band_width, int action)
- %code%{
- THIS->update_layer_height_profile(THIS->model_object()->layer_height_profile);
- adjust_layer_height_profile(
- THIS->slicing_parameters(), THIS->model_object()->layer_height_profile, z, layer_thickness_delta, band_width, LayerHeightEditActionType(action));
- THIS->model_object()->layer_height_profile_valid = true;
- THIS->layer_height_profile_valid = false;
- %};
-
void reset_layer_height_profile();
int ptr()