iat-cener / tonatiuh

A Monte Carlo ray tracer for the optical simulation of solar concentrating systems
http://iat-cener.github.io/tonatiuh/
GNU General Public License v3.0
54 stars 14 forks source link

Define Sun Light - Script Editor #108

Closed felipelobi closed 4 years ago

felipelobi commented 4 years ago

Hi ! I am working with the tonatiuh Script Editor and I can't find how define the nodes that i don't want to cumpute first stage rays area. I wish I could include these two nodes.

image

help!

amutuberria commented 4 years ago

Hi, to define these nodes you have to use the "SetValue" function. There is not a specific funtion for that. In the example that you have proposed the function will be use in the following way:

tonatiuh.SetValue("//Light", "disabledNodes", "//SunNode/RootNode/SF/concentrator/Tapa;//SunNode/RootNode/SF/foco");

felipelobi commented 4 years ago

Thanks!!