Macro 3d Printer Slicer/cs

Popis
Tento kód při spuštění exportuje aktuálně otevřený design do souboru STL a otevře jej v softwaru na krájení, který používáte. Tento příklad je pro KISSlicer, ale lze jej upravit Slic3r, Cura, nebo jakýkoli jiný 3D software tiskárny. Může být také mírně upraveno, aby se otevřel software CAM pro CNC stroje.

It is best used by creating a link to the macro on the toolbar, and when your ready to slice the object, just click it and your object, as it appears on the screen in FreeCAD will appear on your slicing software's interface, ready to slice. It will also create an STL file with the same filename as the design file in the same directory as the design file as a backup.



Script
The SLICER variable can be changed to any slicing software of your choosing, just make sure to set it before you try running it or it'll flag an error with the script.

Macro_3d_Printer_Slicer.py

Credits
Thanks to Wmayer for his help in writing this script.

Original forum topic: http://forum.freecadweb.org/viewtopic.php?f=10&t=4686