question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Roller/Cover/Shutters support

See original GitHub issue

Hi,

Thanks for all the effort to make this card possible and such ‘easy’ to get started with from a SH3D model. I’m trying to get started with the cover/roller support, however i’m unable to make it work.

  • Could you share which SweetHome3D model/object you used for the example in your Readme? I’m sharing mine below.
  • Could you share the yaml code used for the same example, and the objectID definition used?

In particular, I set up all the needed parameters, and:

  • as long as i don’t add the pane element, the model loads but the roller doesn’t change its position/visibility. I confirm my ‘cover’ entity has a ‘current_position’ attribute, which seems to be mandatory based on your source code.
  • If I add the pane element then the model doesn’t load at all (black screen), with below console error.
styles.ts:368 
        
       Uncaught (in promise) TypeError: n.toArray is not a function
    at ns (floor3d-card.js?hacstag=3617765381412:2205:258462)
    at Vs.Cs [as setValue] (floor3d-card.js?hacstag=3617765381412:2205:261674)
    at Function.Ys.upload (floor3d-card.js?hacstag=3617765381412:2205:265074)
    at Tt (floor3d-card.js?hacstag=3617765381412:2205:354713)
    at Ha.renderBufferDirect (floor3d-card.js?hacstag=3617765381412:2205:346480)
    at y (floor3d-card.js?hacstag=3617765381412:2205:298182)
    at y (floor3d-card.js?hacstag=3617765381412:2205:298271)
    at y (floor3d-card.js?hacstag=3617765381412:2205:298271)
    at y (floor3d-card.js?hacstag=3617765381412:2205:298271)
    at Ra.render (floor3d-card.js?hacstag=3617765381412:2205:299668)

This is the SH3D model i’m using as roller, which is freely available in their website: https://www.sweethome3d.com/models/katorlegaz/window-blinds.zip https://www.sweethome3d.com/freeModels.jsp image

Thanks!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
diamant-xcommented, Apr 13, 2022

Awesome, with the previous blinds 3d model i managed to make it happen! Many thanks! 😃

1reaction
adizannicommented, Apr 13, 2022

😉. Try the other one in a separate simple model. The one you sent me is a little messed up with the axis. The principle is in the object_id field of the entity, you put the group of things that need to move (blades and cords), in the pane you put the object whose top is the cutting plane to make the object disappear when lifted.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support
Our customer support team are knowledgeable experts that are always happy to help and generally able to respond within the hour. Get help...
Read more >
Bodyline Automotive Restyling
Bodyline is dedicated to Quality Products, Competitive Pricing and Service. We are the leaders in Roller Cover / Shutters for Aussie pickups in...
Read more >
Affiliates - Carpentry Australia
... largest supplier of Manual & Electric Roller Cover Shutters, Canopies, ... Command better prices & service – when we as a group...
Read more >
behr ultra interior enamel - Ingelec Tech
To obtain warranty service, call 1-800-854-0133. ... Radiant resisting mildew, moisture and wear '' nap roller cover, shutters Interior!
Read more >
Roller Supports | McMaster-Carr
Choose from our selection of roller supports in a wide range of styles and sizes. ... Attachments slide onto the arms of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found