Comments (5)
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.
from floor3d-card.
Live Home 3D is the software I am using.
from floor3d-card.
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.
from floor3d-card.
My Live Home 3d will let you name everything.
I will try this.
from floor3d-card.
Yes try first with a test model.....
from floor3d-card.
Related Issues (20)
- Probably SweetHome3d issue but no idea how to fix. HOT 2
- Need help: I need to use a door magnetic sensor to provide feedback on the door switch in the 3D layout HOT 4
- How to rotate a ceiling fan? HOT 2
- Can the curtains be closed left and right HOT 1
- Can't Add more one light entity in the same plants HOT 4
- Can not get it to load obj or glb file HOT 2
- The model is trying to load images that the export does not export oO HOT 5
- Curtains: Movement HOT 1
- Failed to execute 'define' on 'CustomElementRegistry': the name "mwc-notched-outline" has already been used with this registry HOT 3
- Garage Door problem HOT 7
- Uncaught error from Chrome 119.0.0.0 on Windows 10 Error HOT 2
- Uncaught error HOT 13
- Integrate dockerised "online" version of SweetHome3D HOT 10
- I do not see the menu of the floor levels HOT 8
- Q: How to bind door or cover to specific state? HOT 3
- Cannot import SweetHome3D project HOT 14
- Mapped objects causes performance issues HOT 5
- Not able to group object with id HOT 4
- Click on entity with Cellphone doesnt work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floor3d-card.