I would like to announce my little Slic3r Workbench, it helps you to work use FreeCAD and Slic3r for 3D printing, without having to manually go through the many clicks of exporting and running Slic3r manually. It is here:
I created it to have a more convenient workflow when using FreeCAD to design things for 3D printing. It's features are somewhat opinionated, so would love some feedback! It basically has four functions:
* Export current document as .STL file.
This function works with visible objects, rather than selected objects. I like it better that way. Doing a quick search for freecad export visible objects
seems to suggest that there are also other people who like this, but it might not be what everyone likes. What do you think? Also, there is no prompt for a filename but instead it chooses the directory and filename based on the FreeCAD document. I.e., if your document is called part.FCStd, the stl file will automatically be called part.stl and will be saved in the same directory. This is also by design, because I think it keeps things organised. It is analogous to how a compiler works, if there is a C file called function.c, then it will be compiled to function.o. But maybe this is not how everyone likes it either? Please let me know!
* Open Slic3r.
This function builds on the previous one. It exports the current document and then opens the resulting .stl file in Slic3r.
* Get slic3r info.
This function runs Slic3r in non-interactive mode to get information about used filament and estimated printing time, etc. It uses a predefined .ini config file for Slic3r which can be set in the preferences. Such an .ini file can be generated from Slic3r and exported.
* Run slic3r.
Run Slic3r with the same profile as above, and save the resulting .gcode file. Same philosophy here as with the .stl file, there is no prompt for a file name.
What do you think about this behavior?
Would also like some help with testing! It was a bit twiddly to determine what objects are actually visible. I want the algorithm to work in the same way as the main FreeCAD gui, also with App::Part and PartDesign::Body. I think I got it to work, but not 100% sure, so would also like some feedback on that.
Thanks for a great project!
Edit: For reference I should mention that Slic3r is an open source program for slicing 3D objects so they can be printed using a 3D printer. Here is a link: https://slic3r.org/