blender-for-science / import-G-code

Imports G-code files into Blender 2.80+ as a collection of layers which can then be animated or exported.
GNU General Public License v3.0
33 stars 9 forks source link

How to create a single solid non-interlocking mesh #9

Open wernight opened 3 years ago

wernight commented 3 years ago

I know this is a question more about Blender but it's really a pretty unique usage of Blender (at least non-standard). Basically the imported mesh is like a long spaghetti (or even a straw). However it'd be very useful to build a single solid (manifold) mesh of it with no inter-penetrating faces. I think the boolean modifier does this for 2 meshes but I haven't seen a simple way for a single mesh.

Reasons to do this:

Note that I did find a kind of a solution but it's not ideal by far: https://github.com/Heinz-Loepmeier/Blender-Gcode-Import/issues/2

If someone has a way to achieve this better than my brute force voxel/metaball method, I'd be happy to learn and this could go into the README or Wiki.