Layered 3D Export & Viewport Scripts

I was told that I should probably post this here…

Anyway I made this set of scripts to export layered sprites as voxel like models. The exported models should really be cleaned up in something like Blender before using them but they can be directly imported into Godot. I’m pretty new to Lua so sorry if there’s any problems that I’ve not spotted.
Layered Mesh 3D

2 Likes

After the layered export, open the mesh once and check non-manifold edges / scale before you drop it into Blender or a printer — voxel exports are easy to leave dirty. STL Viewer Online: Mesh Dimensions, Area & Volume | CADProps