[+] Exports
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import FreeCAD
|
||||
import os.path
|
||||
|
||||
doc = FreeCAD.activeDocument()
|
||||
base_filename = os.path.splitext(doc.FileName)[0]
|
||||
|
||||
for obj in doc.Objects:
|
||||
if obj.ViewObject.Visibility:
|
||||
filename = base_filename + "_" + obj.Label + ".stl"
|
||||
obj.Shape.exportStl(filename)
|
||||
Reference in New Issue
Block a user