Hi,
The hbjson model size for a job i sent is too big (32 Mb). The pollination site says that it is too big to preview.
This is not so critical right now, but could be in the future.
What are the options?
This is the link for the model.
We are in the process of replacing the current viewer which has limitations on what it can preview with a better viewer. @ngimbal is working on the first iteration of the new viewer as we speak!
Meanwhile, you can use honeybee-vtk library to view your HBJSON models. It’s not the most convenient way but it should work.
If you don’t have honeybee-vtk you have to install it first:
The command has more options but with the default settings it creates an HTML file which includes the geometry and the viewer itself. --show tells the command to open the HTML file once it is created. Here is the HTML file for your model. I zipped it to be able to upload it to Discourse.
Hi @ayezioro, just a quick update/teaser that we have the viewer up and running on the staging. We should be able to push it to production by early next week at the latest! Here is a large sample model that loads in a couple of seconds.
Hi @ayezioro! The feature that @mostapha has been teasing just went live! You should be able to view hbjson files of any size. Depending on the size of your file it might take up to ~20 seconds for it to load, but then you should be good to go!
If you haven’t refreshed in a little while you might need to refresh your browser for the changes to take effect.
Let us know how it goes and any issues you encounter!
Hi @nicolas,
I don’t know if it is related to my internet connection at home, but the link i posted at the top is spinning more than 15 minutes now and nothing is coming up.
I tried with a small model (2K) and it took like 5 seconds to show.
I’ll try again later on or net week at my university to see if the internet connection makes a difference.
Question: Is the model json file supposed to be downloaded to my local computer for this task? If so, where to look for it?
Thanks!!!
-A.
Hi @mingbo ,
My question was more related to the process that happens when you ask to show the model online.
I know i can download the model manually but it won’t solve the display …
Thanks,
-A.
Hi @ayezioro, looks like you’re still using the older version of the app. Can you hard refresh the page in your browser and try again?
The model doesn’t get downloaded on your machine. It goes to Pollination server and once the translation is done the model is pushed back to the browser for visualization.
The upper image shows one of the examples from the new viewer post. Its size is small and it shows quickly. The second one, from the same source, is bigger but it’s been a few minutes, and it is spinning. I see the interface window is the new one.
I don’t know what and why it can be. Maybe my internet at home, so i’ll wait to be at the university to check again.
-A.
p.s. The second example just showed.
You are right @ayezioro! You are using the latest version but I think for the larger models the data transfer takes longer and it will be slow on a slower internet connection. @nicolas has some plans to make this waiting time more interesting and communicative so you can see if the work is happening or the process has been canceled/failed.
Hi,
Just want to report that the model shows when connected at my university. It took almost 2 minutes to show, but … it shows. Finally.
Thanks for the help and support.
-A.