These are surely good points! For me it is not stl but ifc instead. You should make a feature request on mantis in this regard.RafaelRS wrote: ↑Tue Sep 17, 2019 7:42 amCurrently when you do export (and i am doing it to STL) it always offer first to export to AMF type. So i have every time to scroll file types to select STL. That's annoying when you do it several times:
And that's annoying that i have every time to select file type.
Best option will be have some setting says file type used to export everytime by default.
Also suggestion about file name while export to do it not blank, but filename of current editing FCStd file OR name of model you selected to export (this prefferable to be able tune by settings too)
Eg. this will export selected objects in the same folder as FC file, with same name except STL extension :
Code: Select all
import Mesh fn = App.ActiveDocument.FileName sel = Gui.Selection.getSelection() if fn != '' and len(sel) > 0: en = fn[:fn.rfind('.')] + '.stl' ret = Mesh.export(Gui.Selection.getSelection(),en) App.Console.PrintMessage("\nExported selected object of " + fn + " to " + en) elif fn == '': App.Console.PrintError("\nActive document has no filename, not able to export") else: App.Console.PrintError("\nNo object selected, canceled")