mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
Make loading of obj files into TriangleMesh possible.
This commit is contained in:
parent
e4247f9856
commit
9d775d0a43
2 changed files with 45 additions and 29 deletions
|
@ -5,8 +5,10 @@ namespace Slic3r {
|
|||
|
||||
class TriangleMesh;
|
||||
class Model;
|
||||
class ModelObject;
|
||||
|
||||
// Load an OBJ file into a provided model.
|
||||
extern bool load_obj(const char *path, TriangleMesh *mesh);
|
||||
extern bool load_obj(const char *path, Model *model, const char *object_name = nullptr);
|
||||
|
||||
extern bool store_obj(const char *path, TriangleMesh *mesh);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue