Export suddenly doesn't work for certain models

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
tultalk
Posts: 39
Joined: Tue Jan 17, 2023 3:01 pm

Re: Export suddenly doesn't work for certain models

Post by tultalk »

Have problem with FreeCad macro that calls slicer

Error Message: ||
"Saving mesh failed: Export of STL mesh failed: C:/Program Files/FreeCAD 0.20/data/examples/PartDesignExample.FCStdPartDesignExample.stl "
File name screwed up by the macro

3d_Printer_Slicer-2.FCMacro
26 OutDir = FreeCAD.ActiveDocument.FileName.replace(FreeCAD.ActiveDocument.Label + ".fcstd", "")
27 visible_objs = []
48 stlFile = OutDir+str(doc.Label)+".stl"
49 Mesh.export(visible_objs,stlFile)

Suggestions? Thanks
Robert
Post Reply