LDraw.org Discussion Forums
Convert LGEO parts to other 3D formats - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Parts Authoring (https://forums.ldraw.org/forum-19.html)
+--- Thread: Convert LGEO parts to other 3D formats (/thread-21897.html)



Convert LGEO parts to other 3D formats - Reuben Pearse - 2016-11-06

I've been experimenting with options for converting native POV-Ray CSG objects to OBJ format, and now have a potential workflow to achieve this as detailed below:

Convert CSG to an Isosurface using William Pokorny's ObjectAsIso macro
Convert Isosurface to mesh using Jaap Franks macro
Convert mesh file to mesh2 format using meshcomp v3.0 (WinMeshcomp30_beta3.zip)
Convert mesh2 to OBJ using mesh22obj.py (a Python script written by ingo)

For more details on this approach see this post:
http://news.povray.org/povray.general/thread/%3C581dabc0%40news.povray.org%3E/

I'm wondering if this approach would be useful for converting LGEO based parts to other 3D formats (or even reverse engineer parts that don't exist in LDraw). Are there any parts that only exist in LGEO?