Comments (5)
In normal circumstances the object groups have no impact on performance. Only lights and animations are known to affect performance (mainly memory). I would need the full model to see what's going on
from floor3d-card.
I will send it to an email.
from floor3d-card.
Hello Keema, the behaviour of light with object group is unpredictable, usually it is preferable to have multiple entity with the same light entity and different object id, if what you want to obtain is a led strip or a group light. I've tried to create a rotate object with one of your grouped object and it is working as expected. Also bear in mind that the card is not supporting too many lights. Lights are the most demanding for the model rendering in 3d (if you want to have the shadow effect).
from floor3d-card.
OK, using light as switch might be the explanation for bad performance when I use it for gate or garage door.
But what to use as simple switch instead of light?
E.g. I have one entity for hide (the entity for door contact) and one entity for turning on and off but both are for garage door.
from floor3d-card.
OK, I got it!
For entities other than light I can use gesture with domain switch and service toggle. And it can also be used to deal with many object ids for one light - it could be separated to one object for light and rest for gesture:
object_groups:
- object_group: SvetloVchod1
objects:
- object_id: '1476_795'
- object_id: '1455_774'
- object_id: '1435_754'
- object_group: SvetloVchod2
objects:
- object_id: '1458_777'
entities:
- entity: switch.sonoff_10010e9531
type3d: gesture
object_id: <SvetloVchod1>
gesture:
domain: switch
service: toggle
- entity: switch.sonoff_10010e9531
object_id: <SvetloVchod2>
type3d: light
light:
lumens: '800'
Thank you for you help!
from floor3d-card.
Related Issues (20)
- 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
- Need Help HOT 5
- Q: How to bind door or cover to specific state? HOT 3
- Cannot import SweetHome3D project HOT 14
- Not able to group object with id HOT 4
- Click on entity with Cellphone doesnt work HOT 2
- Card fails to display simple floorplan model HOT 1
- When does it support displaying images on TV 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.