-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not save zip file #1
Comments
Hello Thundergreen, as I already told to others, I'm moving in an uncharted territory with this plugin. I'm not a Java developer and plugin working depends on many external factors. So please be patient. Try to run Sweethome from the cmd line first (cmd in windows, terminal in Linux). If the zip is not generarated it means there is an error. The stack trace of the error will appear in the cmd console. Please copy paste here the stack trace. If there is no stack trace I suggest to send me your model via file share. I'm going to be off a few days but when back I will fix the issue. The problem is that I discover every day new model object types that have to be managed for the export to work well. This morning I have released a patch to manage Levels.... |
Here you go: As soon as I hit the Arch Linux
|
Do you confirm you put the file into a knonw folder and your file name (zip) is not empty ? |
At first, great that you're creating this! Are there logs saved somewhere during the export? |
No not yet, I will do a release this week-end to be sure I can have better troubleshooting. Of course to share your sh3d model file with the faulty objects can help. There are a lot of object types I'm not yet managing and they may cause unhandled exceptions. Please be patient..... |
I think it would help to send me the sh3d file with the objects that were causing errors, there are so many cases and I have to manage them all for the export to work fine, the more I have examples the more the plugin will be stable |
Receiving identical issue in a very different operating environment: EDIT: Attached is the sh3d I am using. |
That's because your sh3d has 2 levels. The plugin can't do that. If you delete Level 1, it exports OK. cheers, |
Hello thanks uss. Squirrel, I confirm, today I'm not supporting multiple level in the plugin. This may change in the future even though, the rendering of multiple floors is not really good for the card, it works better on single floors. |
Thank you for the info, that's helpful to know. Given that, I tried deleting the second level and still received the same error so I tried exporting new model using the 4BR demo house and still see the same. I've attached the demo house for reference. |
Hi. I also have a SH3D file containing two floors with multiple layers on each (some on same elevation, just to have lights and doors separately from the main house plan. Following this issue, I have copied all the objects on the ground floor into a new SH3D file that only has one layer, and used your tool to create the ZIP. All worked fine. However, when I repeated the same thing for the first floor, into a new SH3D file, the tool does not produce the ZIP file. Using windows 10. I tried starting the application from the command line, but I dont get any error log output |
Hello all, I'm able to reproduce the issue in Windows 10 but the linux version is working. |
Great! Thank you for your great work! |
Hello all, I'm back now, in fact my previous post is not correct. The plugin was not working because I was using a previous version. Instead of following my procedure in the readme (I will modify it) please follow these steps in windows:
In this release I have added a final message box to show that the export was succesful. If you do not see the message box it means you have other problems. But now it will be more difficult for me to debug (until I will put some logs, but this plugin is really developed in best effort). Please try!!! |
Is there an equivalent change on directions on MacOS 11.1? |
I cannot test in MacOS but, as far as I know, it is really similar to Linux. Try to search for the file name ExportToHassPlugin.sh3p. In Linux this is located in /home/username/.eteks/sweethome3d/plugin. I have the impression that the double-click on the plugin file is not always working in windows (I cannot tell in MacOS and in Linux it has never worked so you need to copy the file manually). |
Wait a moment, your sh3d model is not working in my linux either. It may be a grouped object causing an exception. Try to start with a simple model and see if it is working,..... ..... No no correction I removed the roof an it is now working. So I confirm without the roof level the your model is working in both Linux and Windows; unfortunately I cannot test on MacOS |
I can confirm that I can export a model until i group two objects, then it is not possible anymore. I use groups a lot for organization so would be great when this would be handled, and as others have said, I really appreciate the time you have put into this. keep up the good work! |
Yes I just noticed that my "first floor" had a groupped object and it was not exporting. As soon as I ungrouped them, the export succeeded. So it's definitely an issue with the groups |
Hello Christos, yes I'm going to try to manage the groups this can even give some ideas to avoid the # feature (see the README) or the object grouping in the card |
Loaded a new version that should fix the group problem. The group itself is not exported but all its children furniture are correctly exported |
In absence of a feedback I close the issue. Re-open it if you still experience the issue |
Working for me recently as I had a small concrete slab level under the house to raise the floor off ground =) |
It exports everything,but for some reason it does not load into HA |
Windows 7 |
Hello Vlastelin, you need to give me more info: console logs |
Only the mtl file is loaded,the obj file is not loaded(50Mb) file size. HA is installed in VirtualBox.
С уважением,
Владимир Марчуков
***@***.***
К этому письму приложены ссылки на следующие файлы:
1. home.obj (58.3 Мб)
Ссылка для скачивания файлов: https://cloud.mail.ru/stock/8QVH87NLSoEem1tGMcypNx8T
Файлы будут храниться до 08.03.2022
|
Good evening.I downloaded the files,now there is another problem.Shows only a gray screen. What could be wrong? All files in the www folder, the paths are spelled out(/hacsfiles/local/home. obj ,/hacsfiles/local/home. mtl ,/hacsfiles/local/home.json)(/hacsfiles/floor3d-card/floor3d-card.js?hacstag=361776538111)
С уважением,
Владимир Марчуков
***@***.***
|
The right path for the obj and mtl files is /local/(www folder in config where you have copied the files). No hacsfiles |
С уважением,
Владимир Марчуков
***@***.***
|
I figured it out, thank you. the path was not correct, I specified /local/ and everything went.
С уважением,
Владимир Марчуков
***@***.***
|
thank you for your amazing work. I'm not able to get the plugin to work. can you help? |
Hello @Abhome do you see the plugin menu at least ? The plugin is very experimental and it works only when all the conditions are met, and still I do not know what are all the conditions :). Can you please tell me:
|
Just update the sweet home to version 6.6a, and it solves the problem; thank you for your help. |
Sorry to bother you. My question is, can I bind an entity with the white light source? How can I find the object id of the white light source? |
The white light source has no effect for the export to home assistant . In SweetHome3D it is used just to do realistic rendering effect. In the floor3d-card you bind directly to the lamp object in order to render the light |
I'm using a white source light for my led strip. Do you have any solution for the led strip? |
I have not yet implemented this type of light from Three.js. It is not an easy coding. In the mean time I suggest you create a "fake" strip light by putting small objects (ex cubes) in a line in your model and in the card you create an object group that contains all the cubes. After you bind your strip ha light to the object group you will be able to do a stripe like effect. Of course this is consuming a lot of light sources: I remind you that, if you want realistic lights with shadows, the number of lights is limited by the max number of textures that your GPU can handle |
I succesfully installed the plugin and it is well showing under tools --> export ... but the zip file will never be exported. I already restarte Sweet home 3d
The text was updated successfully, but these errors were encountered: