I found a NSC polygon object 'prism_array.pob' that does ALMOST what I want (put a linear array of microprisms on a 'slab' of material), but I would like to generate (micro-)prisms having different angles, spacing, scale, and different thickness 'slabs.'
Editing the .POB file shows that it starts as follows with the comment that it was created by a ZPL macro 'prism_array.zpl':
'! This polygon object was created by the prism_array.zpl macro
!
V 1 82.50000000 50.00000000 0
V 2 82.50000000 -50.00000000 0
V 3 -82.50000000 -50.00000000 0
V 4 -82.50000000 50.00000000 0
R 1 2 3 4 0 0
V 5 82.50000000 50.00000000 10.00000000 ...'
But I can't find the prism_array.zpl macro to edit it, see what can be varied, or to use it to generate new prism array .POBs.
Can anybody provide a copy of prism_array.zpl, or point me to where to find it? I have the latest OpticStudio release 20.2 (Professional, perpetual), and can't find it in the Macros folder (or among the same list in the program).
-- Greg