Hi everyone,
Script description:
I am working on creating perforations on two facades (File#01 and File#02). The script uses circle packing based on a script found in the following link:
An image with varying black and white values is created and placed into the script. The script creates denser areas with smaller circles in the darker regions and vise versa. example:
Two Grasshopper Script Files:
File#01: The script is for a smaller façade (44’x17’). A value of 90,000 is entered to fill the façade with circles (perforations).
File#02: The script is for a larger façade (104’x17’). A value of 260,000 is entered to fill the façade with circles (perforations).
The problem:
The scripts seem to be beyond the capacity of the computer I am using (CPU@ 2.7GHz, RAM: 16.0GB) as the scripts would not respond when entering in the desired number of circles (perforations).
Several services like Google and Amazon WorkSpaces offer the option to connect to a virtual server. There are several virtual server options that offer a wide selection of instance types that have varying combinations of CPU, memory, storage, and networking capacity. There is flexibility to choose the appropriate mix of resources.
We selected a virtual server with the following resources: 96vCPUs, 3.3 GHz, RAM:192 GiB memory. However, the scripts are still having trouble. File#01 takes more than 24 hours to compute while the script for File#02 does not even begin to compute.
Since File#02 (260,000 perforations) does not even begin to compute, what server specifications would allow such a script to run? More processing power? Bigger memory?
Alternatively, is there a way to make the grasshopper file smaller so it could run more smoothly in the server I am currently using?
Attached are Script 02_Larger Façade (File #02) and its corresponding image (which needs to be imported into the script using the Import Image parameter).
Script 02_Larger Facade.gh (133.0 KB)
Any help would be greatly appreciated!
Thanks,