This article will show you how to find out exactly which layer is causing your FreeCAD file to balloon in size, by getting a granular list of all of the layers in your document tree, sorted by size.
Who is Eco-Libre?
Eco-Libre is a volunteer-run project that designs libre technology for sustainable communities.
Eco-Libre’s mission is to research, develop, document, teach, build, and distribute open-source technology that sustainably enfranchises communities’ human rights.
We aim to provide clear documentation to build low-cost machines, tools, and infrastructure for people all over the world who wish to live in sustainable communities with others.
Contribute to Eco-Libre
If you’d like to help Eco-Libre reach our mission to enfranchise sustainable communities’ human rights with libre tech, please contact us to get involved :)
Cheers,
The Eco-Libre Team
https://www.eco-libre.org/



Thanks for writing it up, although the blog post raises more questions for me than it answers. Is that a common thing? I’ve never noticed overly large files, but maybe I wasn’t paying attention? What is the cause of it, complex geometries? What can be done in such a case to optimise?
In our case, it was caused by a mesh.
We’re working on a follow-up article now that shows how to optimize modeling meshes (eg Expanded Metal) in FreeCAD
But, yeah, it’s definitely common for volunteers to open-hardware projects to produce overly-detailed CAD contributions that don’t work at scale.
Ah, I see. I thought this was about an issue with FreeCAD, but it is actually a process problem. (Why wouldn’t FreeCAD allow me to stuff arbitrarily complex meshes into a model, and of course that can lead to slow computation times.)
That said, analysis tools built into the software would probably be a useful thing to investigate what makes a file “slow.”
Agreed. I also submitted a feature request to add this to the GUI: