mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Added initial implementation of fixing 3MFs through the Netfabb
API provided through the Windows 10 Universal Windows Platform API.
This commit is contained in:
parent
a9499ae45c
commit
e65fac5e84
3 changed files with 307 additions and 0 deletions
18
xs/src/slic3r/Utils/FixModelByWin10.hpp
Normal file
18
xs/src/slic3r/Utils/FixModelByWin10.hpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef slic3r_GUI_Utils_FixModelByWin10_hpp_
|
||||
#define slic3r_GUI_Utils_FixModelByWin10_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#ifdef HAS_WIN10SDK
|
||||
|
||||
extern bool is_windows10();
|
||||
extern bool fix_model_by_win10_sdk(const std::string &path_src, const std::string &path_dst);
|
||||
|
||||
#else /* HAS_WIN10SDK */
|
||||
|
||||
inline bool is_windows10() { return false; }
|
||||
inline bool fix_model_by_win10_sdk(const std::string &, const std::string &) { return false; }
|
||||
|
||||
#endif /* HAS_WIN10SDK *
|
||||
|
||||
#endif /* slic3r_GUI_Utils_FixModelByWin10_hpp_ */
|
Loading…
Add table
Add a link
Reference in a new issue