diff options
author | bubnikv <bubnikv@gmail.com> | 2018-11-08 16:23:17 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-11-08 16:23:17 +0300 |
commit | c2e46350f28de58b0f0bdd20de0aa04f928a8c62 (patch) | |
tree | 3b59929042f0b00c5176eea7637f5604fbe5839f /xs | |
parent | 6d60ecffa0e610d70bef8fa3040147051380db00 (diff) |
Separated Print / PrintObject into PrintBase.cpp/h to support SLAPrint
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/Model.xsp | 4 | ||||
-rw-r--r-- | xs/xsp/Print.xsp | 7 |
2 files changed, 0 insertions, 11 deletions
diff --git a/xs/xsp/Model.xsp b/xs/xsp/Model.xsp index 11fa7e920..ffcb81def 100644 --- a/xs/xsp/Model.xsp +++ b/xs/xsp/Model.xsp @@ -92,10 +92,6 @@ bool store_stl(char *path, bool binary) %code%{ TriangleMesh mesh = THIS->mesh(); RETVAL = Slic3r::store_stl(path, &mesh, binary); %}; - bool store_amf(char *path, Print* print, bool export_print_config) - %code%{ RETVAL = Slic3r::store_amf(path, THIS, print, export_print_config); %}; - bool store_3mf(char *path, Print* print, bool export_print_config) - %code%{ RETVAL = Slic3r::store_3mf(path, THIS, print, export_print_config); %}; %{ diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp index cf3b67931..f6edb5d64 100644 --- a/xs/xsp/Print.xsp +++ b/xs/xsp/Print.xsp @@ -58,10 +58,6 @@ _constant() Points _shifted_copies() %code%{ RETVAL = THIS->copies(); %}; - bool add_copy(Vec2d* point) - %code%{ RETVAL = THIS->add_copy(*point); %}; - bool delete_last_copy(); - bool reload_model_instances(); void set_layer_height_ranges(t_layer_height_ranges layer_height_ranges) %code%{ THIS->layer_height_ranges = layer_height_ranges; %}; @@ -109,12 +105,9 @@ _constant() %code%{ RETVAL = THIS->wipe_tower_data().number_of_toolchanges; %}; PrintObjectPtrs* objects() %code%{ RETVAL = const_cast<PrintObjectPtrs*>(&THIS->objects()); %}; - void clear_objects(); Ref<PrintObject> get_object(int idx) %code%{ RETVAL = THIS->objects()[idx]; %}; - void delete_object(int idx); void reload_object(int idx); - bool reload_model_instances(); size_t object_count() %code%{ RETVAL = THIS->objects().size(); %}; |