|
Sweet Home 3D Forum » List all forums » » Forum: Sweet Home 3D bar » » » Thread: Forge .sh3d file with AI help » » » » Post: Re: Forge .sh3d file with AI help |
Print at Jan 21, 2026, 8:27:44 AM |
| Posted by Keet at Sep 19, 2025, 2:04:10 PM |
|
Re: Forge .sh3d file with AI help The problem is not with the Home.xml file. The problem arises when you try to use a stand-alone Home.xml file for a .sh3d project file. There are no resources (i.e. furniture) to display the home. The best you can do is a Home.xml file with only non-resource dependend data. For example level definitions, non-textured walls and floors, etc. Furniture (including doors, windows, etc) need the obj/mtl resource files. If these are referred in the Home.xml file but are not included in the .sh3d project zip than the project can not load because it can't find the resources. Strictly it should be able to load the project but with big red crosses where the furniture is assumed. Your Home.xml file is probably invalid to begin with. Extract an existing .sh3d zip an look at the definitions it contains in the Home.xml file and how it relates to the other resources that were extracted. I doubt it very much that AI will be able to generate a functional .sh3d file with the current state of AI technology. What AI can do is generate a furniture file (obj/mtl) from an image. This has already been proven by our valued member GaudiGalopin who has experimented with this. Taking that a little further, a series of AI instructions could theoretically create all resource parts (furniture,doors,windows,..) and then combine them in a zip with a Home.xml file. You would need an AI specifically trained to do that. ETA: I did a little testing about what you can list in Home.xml without requiring extra resourses. (A texture is also a resource so only colors!) You can list levels, walls, rooms, dimension lines, poly lines, and a texts. You can leave out the starting nodes that you find in a regular Home.xml file and it will open correctly in Sweet Home 3D. Of course the listed nodes must conform to the structure as used by Sweet Home 3D. Once opened and save in Sweet Home 3D the default lines will be added automatically. This Home.xml zipped and renamed as .sh3d will open in Sweet Home 3D: <?xml version='1.0'?>If you can teach an AI the structure rules for the mentioned elements (level, wall, etc.) than it could possibly create a Home.xml. But only if it can recognize the correct element from an image and translate it to the correct xml node. It will have to ignore everything it can't map from the image to a correct xml node. ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Jan 21, 2026, 8:27:44 AM |