|
Sweet Home 3D Forum » List all forums » » Forum: Wishlist » » » Thread: Export to glTF format » » » » Post: Re: Export to glTF format |
Print at Dec 17, 2025, 1:28:01 AM |
| Posted by sjb007 at Feb 7, 2023, 5:20:19 PM |
|
Re: Export to glTF format That would be a lot of work judging by the size of that spec document. I raised a request and prototyped some code to add distinct objects to the exported .obj files. It abused the object name to provide logical hierarchy of collections in Blender. It seperated by elevation, level, walls/floors/ceilings/objects/groups. It is not trivial to use as you have to compile your own SH3D and replace some files in blender, and has possibly bit-rotted as it was written against SH3D 6.6. Original thread discussing adding "o" objects to exporter. Feature request with POC patch. Message in another thread where I linked to the Blender ticket. Blender enhancement request (with a nice pic of hierarchy) Unfortunately the blender guy didn't want to update the legacy importer Python code, and hasn't found time to implement the hierarchy feature in the C++ code so far. It is not clear if you want glTF for better import into Blender, or if the glTF is to use in something else. My solution gets you better import into Blender as is, and your scene could be exported from Blender to glTF if it was to be used elsewhere. |
|
|
Current timezone is GMT Dec 17, 2025, 1:28:01 AM |