Check for existence of gcode toolpaths that can be exported to obj file

This commit is contained in:
Enrico Turri 2019-08-20 11:33:58 +02:00
parent a99a89a831
commit 58473f84ee
7 changed files with 52 additions and 12 deletions

View file

@ -3403,6 +3403,11 @@ void GLCanvas3D::msw_rescale()
m_warning_texture.msw_rescale(*this);
}
bool GLCanvas3D::has_toolpaths_to_export() const
{
return m_volumes.has_toolpaths_to_export();
}
void GLCanvas3D::export_toolpaths_to_obj(const char* filename) const
{
m_volumes.export_toolpaths_to_obj(filename);