Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/adizanni/floor3d-card
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea DI ZANNI committed Feb 27, 2022
2 parents a0f9862 + 03e690d commit bfd259b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ When you are finished, configure a new card (either in panel mode or regular) wi
| object_groups | array | none | list of object groups to apply grouped entity bindings. |
| style | string | none | the style that will be applied to the canvas element of the card. |
| path | string | **Required** | path to the Waterforont obj (objects), mtl (material) and other files. |
| objfile | string | **Required** | object file name (.obj) Waterfront format. |
| mtlfile | string | **Required** | material file name (.mtl) Waterfront format. |
| objfile | string | **Required** | object file name (.obj) for Waterfront format or glb file name for the binary (condensed) 3d format (still experimental). |
| mtlfile | string | **Required** | material file name (.mtl) Waterfront format. Only relevant when objefile has obj extension (no glb) |
| backgroundColor | string | '#aaaaaa' | canvas background color |
| header | string | 'yes' | if the header will be displayed or not |
| globalLightPower | float | 0.3 | intensity of the light illuminating the full scene it can also the name of a numeric sensor |
Expand Down Expand Up @@ -467,6 +467,12 @@ backgroundColor: '#000001'
globalLightPower: 0.4
```

### Working with levels (> v1.3.0)

If your Sweethome3d model has levels and you use the ExportToHass ([Download](https://github.com/adizanni/ExportToHASS/releases/latest/download/ExportToHASSPlugin.sh3p)) plugin, the card will show the levels with some buttons appearing at the top left of the 3d canvas. There is one button for each level and one butto for "all" levels. When you click on the button of the level, only that level will become visible in the card, and if you click on the "all" button all levels will appear in the card in a total view of your model.
All other functionalities will work as before.


### To Do

Project General Availability (https://github.com/adizanni/floor3d-card/projects/1)

0 comments on commit bfd259b

Please sign in to comment.