FreeCAD: Workbench Refactor

This commit is contained in:
Mark Voltov 2024-04-14 18:54:47 +00:00 committed by Igor Brylyov
parent 037827669a
commit a58dcdafb1
386 changed files with 997 additions and 64533 deletions

View file

@ -0,0 +1,17 @@
import sys
from utils.freecad_exporters import publish_project_database
import FreeCAD as App
def process_file():
filename = App.getDocument(App.ActiveDocument.Label)
publish_project_database(filename)
if __name__ == "__main__":
if len(sys.argv) != 2:
print("Использование: python main.py ")
else:
filename = sys.argv[1]
process_file(filename)