diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2018-07-24 14:39:17 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2018-07-24 14:39:17 +0300 |
commit | d4adcd4077d2514059da880cb11a6f1a1760d0c7 (patch) | |
tree | 3a4f8440e881163456372f358b732cb0719232c0 /xs/xsp/GUI_3DScene.xsp | |
parent | 21a59ce710e7cf7348e092baccb7a6fdab0c062a (diff) |
Out of print volume detection for toolpaths
Diffstat (limited to 'xs/xsp/GUI_3DScene.xsp')
-rw-r--r-- | xs/xsp/GUI_3DScene.xsp | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/xs/xsp/GUI_3DScene.xsp b/xs/xsp/GUI_3DScene.xsp index 5c2f7df85..e09494146 100644 --- a/xs/xsp/GUI_3DScene.xsp +++ b/xs/xsp/GUI_3DScene.xsp @@ -657,33 +657,19 @@ reload_scene(canvas, force) CODE: _3DScene::reload_scene((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), force); -void -load_print_toolpaths(canvas) - SV *canvas; - CODE: - _3DScene::load_print_toolpaths((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas")); - void -load_print_object_toolpaths(canvas, print_object, tool_colors) +load_gcode_preview(canvas, preview_data, str_tool_colors) SV *canvas; - PrintObject *print_object; - std::vector<std::string> tool_colors; + GCodePreviewData *preview_data; + std::vector<std::string> str_tool_colors; CODE: - _3DScene::load_print_object_toolpaths((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), print_object, tool_colors); + _3DScene::load_gcode_preview((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), preview_data, str_tool_colors); void -load_wipe_tower_toolpaths(canvas, tool_colors) +load_preview(canvas, str_tool_colors) SV *canvas; - std::vector<std::string> tool_colors; - CODE: - _3DScene::load_wipe_tower_toolpaths((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), tool_colors); - -void -load_gcode_preview(canvas, preview_data, str_tool_colors) - SV *canvas; - GCodePreviewData *preview_data; std::vector<std::string> str_tool_colors; CODE: - _3DScene::load_gcode_preview((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), preview_data, str_tool_colors); - + _3DScene::load_preview((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), str_tool_colors); + %} |