I been trying to simulate perforated lamellas on my model by following this thread: http://diva4rhino.com/forum/topics/metal-mesh
I have put the perforate.cal file into “C:\DIVA\Radiance\lib\” directory so DIVA knows where to find it. Then I modified my material.rad file to include:
void glass Lamellas_open
3 1.0 1.0 1.0
void plastic Lamellas_perforated
5 0.5 0.5 0.5 0 0
void mixfunc 20_perforated_s5_r4
6 Lamellas_open Lamellas_perforated uv_hole c:\DIVA\Radiance\lib\perforate.cal -s .5
When I run a visualization it doesn’t seem to make the holes. I then tried to hide the lamellas and assign the perforation material to my window_glass geometry since I thought the file couldn’t perforate planes which are not vertical or horizontal. It still didn’t visualize the holes but instead makes sort of a “tv-snow” pattern. I uploaded a picture of it.
I looked all over the internet for knowledge on the perforate.cal file and I think I understand what it is doing. The first part which G. Mischler wrote perforates only planes lying in the XY-, XZ- or YZ-plane. The next part I am not sure of, but I think it modifies the coordinate system to a relative coordinate system on the tilted plane and then makes the holes.
The last thing I tried was to move the window_glass geometry to the XZ-plane to try that out, but same “tv-snow” appeared. Now I don’t know how to proceed. Please help.
I took the liberty of emailing you the relavant files (in a .rar file) in advance since you requested that in my last thread and the model is too large to upload.
In your file, there are tons of glass surfaces on top of eachother.
I used the 'SelDup' command in Rhino to get rid of them all. That still didn't fix the issue however...
It turns out that the perforate.cal file works pretty well when you convert your Rhino file to meters instead of mm however. I am not quite sure why.
Thanks a lot. It seems to be working when the model is set up to meters instead of millimeters. I just build the whole model again because the conversion made the model weird. Now it is working perfectly. I just have to figure out how to estimate the percentage of perforation which seems difficult. I am of the impression that there is no method for doing this other than trial and error?