1st installment of export of gcode toolpaths to obj file

This commit is contained in:
Enrico Turri 2019-08-20 09:01:09 +02:00
parent 4fbee3216b
commit 1f6aab312b
9 changed files with 160 additions and 1 deletions

View file

@ -3403,6 +3403,11 @@ void GLCanvas3D::msw_rescale()
m_warning_texture.msw_rescale(*this);
}
void GLCanvas3D::export_toolpaths_to_obj(const char* filename) const
{
m_volumes.export_toolpaths_to_obj(filename);
}
bool GLCanvas3D::_is_shown_on_screen() const
{
return (m_canvas != nullptr) ? m_canvas->IsShownOnScreen() : false;