This R package processes output .csv data from VI-Suite, an addon for Blender 3D content creation application. It's designed for studies examining illumination across various dates, focusing on four seasonal dates (Summer Solstice, Autumn Equinox, Winter Solstice, Spring Equinox) and multiple hours within those seasons across multiple analysis planes in each "Room" of a structure.
This script was developed as part of Alexander Birkett's PhD project, "Virtual Ruins, Real Insights: Establishing A Framework for three-dimensional Modelling in Archaeology."
The VI-Suite is an addon for Blender, functioning as a pre/post processor for Radiance and EnergyPlus building simulation tools, and providing various building context analyses. Like Blender, Radiance, EnergyPlus, and OpenFOAM, the VI-Suite is free, open-source, and multi-platform. Its deep integration with Blender offers several capabilities:
- Flexible Interface: Utilizes Blender’s node system for a user-friendly experience.
- Geometry Specification: Employs Blender’s advanced material and geometry tools for defining building geometry.
- Dynamic Analyses: Integrates Blender’s animation system for both parametric and static analyses.
- Custom Functions: Allows manual editing of simulation input files and writing custom functions via Blender’s text editor.
- Animation Creation: Uses Blender’s video sequence editor for animations of parametric analyses.
- Visualisation: Leverages Blender’s material system for scene-based visualization of results.
- Information Display: Implements Blender’s OpenGL interface for creating heads-up displays.
- Additional Tools: Incorporates matplotlib for 2D result plotting and Kivy for simulation monitoring.
The use of VI-Suite and Blender is essential for the data this script processes.
This software can be cited with the following DOI: 10.6084/m9.figshare.24552889
- R Programming Language
- R Libraries:
dplyr
,readr
- Blender (with VI-Suite addon)
- R Installation: Download R from The Comprehensive R Archive Network (CRAN).
- Library Installation: Install
dplyr
andreadr
libraries in R.install.packages("dplyr") install.packages("readr")
- Blender Installation: Ensure Blender is installed and VI-Suite addon is added. Blender can be downloaded from Blender's official website.
- Place your VI-Suite generated CSV files in a designated folder.
- Open the script in RStudio or another R environment.
- Set
num_files
to match the number of input files. - Modify
test_names
for your specific seasonal tests. - Run the script for processing and output generation.
Input CSV files should be named as Input_XXX.csv
, where XXX
is a sequential number. They should contain structured illuminance data for the script.
The script generates Season_XXX_summary.csv
files, representing processed data for each season or test.
Modify the script as needed to fit specific requirements of your workflow.
For queries or issues, please open an issue on this GitHub repository.