Create command-line tool that uses Windows UWP SDK functions to import, repair and export a 3D mesh
Budget: $30 – $250 USD
Background
--------------
Windows has a tool called 3D Builder, which has a 3D mesh repair feature I use frequently. I would like to be able to use this mesh repair feature in my automated scripts. Although 3D Builder has no command line interface, the underlying functions it uses seem to be available via the Windows API.
Deliverables
---------------
- A command-line tool that imports a 3D model (STL format), runs Printing3DModel.RepairAsync on it, and exports it (also as an STL file).
- Source code / instructions for how to build the tool myself should I need to make changes later.
Requirements
----------------
Must run on Windows 10 in Windows Terminal (Powershell).
Must run headless (no GUI).
Command-line tool should require two arguments: the path to the input STL, and the path to the desired output STL.
References
--------------
Printing3DModel.RepairAsync method: https://learn.microsoft.com/en-us/uwp/api/windows.graphics.printing3d.printing3dmodel.repairasync?view=winrt-22000
Example code that reads, repairs and exports a 3D model file: https://learn.microsoft.com/en-us/windows/uwp/devices-sensors/3d-print-from-app#repair-model-data-for-3d-printing
Notes
-------
If I understand correctly, this function operates on .3mf files, not .stl files. So there may need to be a conversion to .3mf format after importing, and another conversion before export. 3D Builder does it, so there are probably API functions for it, but I'm not sure where they are.
--------------
Windows has a tool called 3D Builder, which has a 3D mesh repair feature I use frequently. I would like to be able to use this mesh repair feature in my automated scripts. Although 3D Builder has no command line interface, the underlying functions it uses seem to be available via the Windows API.
Deliverables
---------------
- A command-line tool that imports a 3D model (STL format), runs Printing3DModel.RepairAsync on it, and exports it (also as an STL file).
- Source code / instructions for how to build the tool myself should I need to make changes later.
Requirements
----------------
Must run on Windows 10 in Windows Terminal (Powershell).
Must run headless (no GUI).
Command-line tool should require two arguments: the path to the input STL, and the path to the desired output STL.
References
--------------
Printing3DModel.RepairAsync method: https://learn.microsoft.com/en-us/uwp/api/windows.graphics.printing3d.printing3dmodel.repairasync?view=winrt-22000
Example code that reads, repairs and exports a 3D model file: https://learn.microsoft.com/en-us/windows/uwp/devices-sensors/3d-print-from-app#repair-model-data-for-3d-printing
Notes
-------
If I understand correctly, this function operates on .3mf files, not .stl files. So there may need to be a conversion to .3mf format after importing, and another conversion before export. 3D Builder does it, so there are probably API functions for it, but I'm not sure where they are.