[Gate-users] How to set material according to matrix value in repeated structure

Khalid Hussain khalidhussain1134 at gmail.com
Sat Oct 10 10:18:39 CEST 2020


Dear Gate Expert Users,

Please look the geometry below, e.g (241 x 241)
# Repeat the structure Box along x and y directions
/gate/Box/repeaters/insert cubicArray
/gate/Box/cubicArray/setRepeatNumberX 241
/gate/Box/cubicArray/setRepeatNumberY 241
/gate/Box/cubicArray/setRepeatNumberZ 1
/gate/Box/cubicArray/setRepeatVector 0.1   0.1   0.0 cm
 Here this Box geometry is repeated 241 x 241 times.

Now I want to set a material according to a binary matrix of 241 x  241,
which will be either opaque or transparent according to matrix value.

Need your help

Thank you

Regards

*KHALID HUSSAIN *| *PhD Scholar*
*Universiti Putra Malaysia (UPM), Malaysia*
Email:hussain.khalid at student.upm.edu.my
Cell: *+60-11-6455-2354*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20201010/d680b15f/attachment.html>


More information about the Gate-users mailing list