Open jerodjchastain opened 5 months ago
Hello @jerodjchastain, unfortunately the levels are only available if you use the sweethome3d plugin. What is the software you are using ? I do not suggest you to try to import the obj file in sweethome3d because anyway you will have to rebuild it to assign the levels.
Live Home 3D is the software I am using.
After studying the problem, I think there is only a way to get levels from other software, You need to call each object with a prefix based on levels:
Example:
# Home structure for HASS export
mtllib home.mtl
g lvl000wall_0_1
usemtl lvl000wall_0_1
v 194.5769 0.0 94.42459
v 194.5769 0.0 98.17459
v 707.5769 0.0 98.17459
v 711.3269 0.0 94.42459
vn 0.0 -1.0 0.0
f 4//1 3//1 2//1
f 4//1 2//1 1//1
g lvl000wall_0_2
usemtl lvl000wall_0_1
v 194.5769 0.0 101.92459
v 703.8269 0.0 101.92459
f 3//1 6//1 5//1
f 3//1 5//1 2//1
g lvl000wall_0_3
usemtl lvl000wall_0_1
v 194.5769 250.1 98.17459
v 194.5769 250.1 94.42459
v 711.3269 250.1 94.42459
v 707.5769 250.1 98.17459
vn -1.0 0.0 0.0
vn 0.70710677 0.0 0.70710677
vn 0.0 0.0 -1.0
vn 0.0 0.0 0.0
f 1//2 2//2 7//2 8//2
f 3//3 4//3 9//3 10//3
f 4//4 1//4 8//4 9//4
g lvl000wall_0_4
usemtl lvl000wall_0_1
v 194.5769 250.1 101.92459
v 703.8269 250.1 101.92459
vn 0.0 0.0 1.0
f 2//2 5//2 11//2 7//2
f 5//6 6//6 12//6 11//6
f 6//3 3//3 10//3 12//3
g lvl000wall_0_5
object name = lvl<level number 3 digits>
Of course this requires that you software let you edit the name of all the objects in the model.
It is not really optimized but I do not see other ways around it.
My Live Home 3d will let you name everything. I will try this.
Yes try first with a test model.....
I am using a different software to build my 3d home... Everything is working well but I want to use the levels and I cant find any instructions.