Blender 4.1 and display modes

Hello.

I had to make a slight change to make the VI-Suite compatible with Blender 4.1 but I haven’t noticed any other problems.

In other news, there are now 2 new experimental display modes for mesh visualisation of results i.e. SVF, Shadow maps and LiVi results. These two modes are Interpolate and Direction and both are exposed as options in the VI-Suite View panel before the visualisation button is clicked.

Interpolate does what it says on the packet and uses matplotlib to interpolate the results on the mesh. There are however limitations to this approach as matplotlib only does 2D interpolation so the sensor mesh should also be 2D. The sensor mesh can be moved and rotated but the transforms should not be cleared in Blender – the results mesh will likely appear in the wrong place if you do.

Another limitation with interpolation is that point numerical visualisation is not available as the results mesh is now a completely new mesh and not based on the sensor mesh. Also, as the interpolation is based on sensor mesh vertex position, then using vertices as the sensor point creates a more accurate interpolation.

Finally, there is a new option in the view panel which is Placement. This is required as Blender cannot convert the matplotlib interpolations into a mesh fully, but has to create overlapping planes. This means a result band forming one plane can be totally obscured by another when it should be visible. The Placement option orders the position of each result band in either result value order or reverse result value order so this may need to be changed in order to see all result planes as they should be. Even then there can be cases where not all result planes are seen, so interpolate should be used with care.

Interpolation

The second display option is for directional results, which at the moment means annual glare calculations (available in the CBDM menu of the LiVi Context node). Any other king of metric will fail, and the code does not currently check there are annual glare results to visualise and will therefore likely cause an error if not. The Direction visualisation will create an arrow for each face/vertex of the sensor mesh. This arrow is coloured according to the legend, and will point in the direction of the chosen view. Point numerical visualisation works as normal. There is one additional option in the View panel which is Arrow size, and this simply changes the size of the display arrow.

Directional

 

EnVi also got some love and can now export the Exhaust fan surface flow component to EnergyPlus, and is available in the Surface Flow node.

If these changes break things, and they might well do so, I have created a branch on the download page for Blender 4.1 that does not include these changes.

Enjoy!

Ryan

VI-Suite v0.6 – Update 3

Dear all.

I have, I believe, finished adding features to the VI-Suite, for now, and I am now moving into bug-fixing mode. I do not have the access to other computing platforms that I used to have due to the pandemic, so I am interested to hear if there are any activation issues with v0.6 on OS X, Windows and different flavours of Linux.

The zip file of the source code can be downloaded from https://github.com/rgsouthall/vi-suite06/archive/master.zip. This zip file should be installable directly from Blender’s addon preferences window. I have been working purely with Blender 2.83.6 LTS, and while it may work on later Blender versions I am primarily interested in any activation issues with 2.83.6 LTS.

I have not yet finished updating the user manual for v0.6 but for simple sun path, shadow mapping, SVF and LiVi (Radiance) calculations the process is quite similar to v0.4 and the tutorial videos for that release will hopefully give you enough to get started. EnVi (EnergyPlus) and FloVi (OpenFOAM) have changed quite a bit, and I advise waiting for updated documentation before trying those components. I will post here again when a basic manual is available. Tutorial videos will follow after that.

Any bug reports should go in the github page https://github.com/rgsouthall/vi-suite06/issues and general questions on the google group https://groups.google.com/g/vi-suite. Please include in any bug report platform information, the nature and version of the Blender install and any relevant terminal output.

Cheers

Ryan

 

VI-Suite v0.6 – Update 2

Dear all.

EnVi has now been transferred over to Blender 2.8, and most of the changes the user will see are within EnVi. The EnVi material system has been converted into a node system to allow up the EnergyPlus maximum of 10 layers in constructions. EnVi now supports the simulation of photovoltaics and phase change materials and you can now save your custom materials and constructions to a JSON database.

An example of EnVi Material node set-up

An example of an EnVi Material node set-up

The other major change in EnVi is that as ‘Layers’ now no longer exist in Blender – ‘Collections’ are used instead – EnergyPlus zones are specified by the Blender objects contained within collections. This allows multiple Blender objects to make up an EnergyPlus zone, and this has some advantages I hope to make use of in the future. I have not yet however finalised the logic of how muliple Blender objects become one EnergyPlus zone.

In other news the VI-Suite is now completely self-contained within the addon zip folder (at least on Windows and Linux). This means that you can install in Blender the git zip directly, and it will hopefully make it easier to get the VI-Suite working on a variety of Linux platforms.

I have general bug fixing still to do and Wind Rose display to finish, but I am hoping to announce a beta release for testing soon.

There is one fly in the ointment. The Blender 2.8 series does not currently allow the keyframing of custom node parameters. As most of the Vi-Suite parameters exposed to the user are custom node parameters, it means that automated parametric analysis is largely not possible.  This has been recognised by the Blender developers and if you want to register your interest in getting this fixed you can do so at https://developer.blender.org/T66392. The more people asking for it to be fixed the more likely it is to be fixed.

Regards

Ryan

VI-Suite v0.4.13a & Ubuntu 18.04

I have pushed version 0.4.13a to the download links which fixes an EnVi bug to account for syntax changes in EnergyPlus 8.9.

In other news, a couple of users have told me that the VI-Suite works on Ubuntu 18.04. I can confirm that their method does work on a fresh install of 18.04, although I have had problems running it on an 18.04 system that was upgraded from 16.04.

The process is pretty simple.

Make sure there is no existing Blender installation

Install Blender from a PPA with the terminal commands:

sudo add-apt-repository ppa:thomas-schiex/blender

sudo apt-get update

sudo apt-get install blender

This version of Blender should use the system installed Python distribution which will now require the ancillary libraries. To install these use the terminal commands:

sudo apt-get install python3-psutil

sudo apt-get install python3-pyqt5

sudo apt-get install python3-matplotlib

sudo apt-get install python3-kivy

The last command to install kivy should work in future but the current Python 3 version of kivy (1.9.1) is broken on Ubuntu 18.04. To get round this:

sudo add-apt-repository ppa:kivy-team/kivy-daily

sudo apt-get update

sudo apt-get install python3-kivy

I have changed the tar.gz compressed Linux VI-Suite download to a zip compressed one on the main download page. This can be installed directly from the Addons page within Blender’s User Preferences window with the Install-addon-from-file button. Alternatively, decompress and copy the folder to Blender’s Addon directory as before.