Elektrine lite

← Feed

@chrishuck@hachyderm.io

Post #2678256

2026-02-08 13:50 UTC

I should clarify that this macro doesn’t do anything beyond automating the conversion steps to get from a mesh to a solid. Then, if desired, automating deletion of the source mesh object and an intermediate shape object after the conversion given that they’re no longer needed. There is nothing magical that will repair bad meshes or any other errors. After you’ve run the macro, you’ll have a solid that you can use for Boolean operations or you can drag it into an existing Part Design body to become a base feature for further modification. For best results, make sure your mesh is manifold, or repair it by other means before attempting conversion. #FreeCAD

Replies (2)

  • @chrishuck@hachyderm.io 2026-02-08 18:51

    Further, thanks to @sdwilsh@social.ridetrans.it, I learned of the Detesselate workbench for #FreeCAD. One of its many functions is a macro similar to my Mesh to Solid except that it creates a Part Design body with the converted mesh inserted as a Base Feature. That is one step beyond what my macro does, but is often my ultimate goal. Some of the other edge loop and sketcher tools are pretty cool too. Perhaps the best feature is the mesh placement tool that is EXTREMELY powerful for repositioning meshes relative to the origin. I wanted to add this feature to my macro, but this is WAY better than anything I would have implemented. You should check it out: https://github.com/DesignWeaver3D/Detessellate

    Open ##2678257

  • @Cookiemonster@chaos.social 2026-02-08 15:07

    @chrishuck@hachyderm.io as I rarely convert meshes to solids, this is perfect - I don't have to look up the steps every time. Thanks!

    Open ##2678262