Download src/Tools/bindings/templates/templateModule.py from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 416 Bytes
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Tools/bindings/templates/templateModule.py
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Tools/bindings/templates/templateModule.py
-
curl -L -o templateModule.py https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Tools/bindings/templates/templateModule.py
416 Bytes
| #! python | |
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| # (c) 2006 Juergen Riegel | |
| from . import template, templateModuleApp | |
| class TemplateModule(template.ModelTemplate): | |
| def Generate(self): | |
| print("model.generateModel_Module.Generate()\n") | |
| App = templateModuleApp.TemplateModuleApp() | |
| App.outputDir = self.outputDir | |
| App.module = self.module | |
| App.Generate() | |