Download src/Mod/Mesh/Init.py from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Mesh/Init.py
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Mod/Mesh/Init.py
-
curl -L -o Init.py https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Mesh/Init.py
1.15 kB
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| # FreeCAD init script of the Mesh module | |
| # (c) 2004 Werner Mayer LGPL | |
| import FreeCAD | |
| # Append the open handler | |
| FreeCAD.addImportType("STL Mesh (*.stl *.STL *.ast *.AST)", "Mesh") | |
| FreeCAD.addImportType("Binary Mesh (*.bms *.BMS)", "Mesh") | |
| FreeCAD.addImportType("Alias Mesh (*.obj *.OBJ)", "Mesh") | |
| FreeCAD.addImportType("Object File Format Mesh (*.off *.OFF)", "Mesh") | |
| FreeCAD.addImportType("Stanford Triangle Mesh (*.ply *.PLY)", "Mesh") | |
| FreeCAD.addImportType("Simple Model Format (*.smf *.SMF)", "Mesh") | |
| FreeCAD.addImportType("3D Manufacturing Format (*.3mf *.3MF)", "Mesh") | |
| FreeCAD.addExportType("STL Mesh (*.stl *.ast)", "Mesh") | |
| FreeCAD.addExportType("Binary Mesh (*.bms)", "Mesh") | |
| FreeCAD.addExportType("Alias Mesh (*.obj)", "Mesh") | |
| FreeCAD.addExportType("Object File Format Mesh (*.off)", "Mesh") | |
| FreeCAD.addExportType("Stanford Triangle Mesh (*.ply)", "Mesh") | |
| FreeCAD.addExportType("Additive Manufacturing Format (*.amf)", "Mesh") | |
| FreeCAD.addExportType("Simple Model Format (*.smf)", "Mesh") | |
| FreeCAD.addExportType("3D Manufacturing Format (*.3mf)", "Mesh") | |
| FreeCAD.__unit_test__ += ["MeshTestsApp"] | |