Rotation axis

Hi all. I’m trying to use a rotation axis to create some sort of shutters. With the help of a tutorial I created the ‘example’ shutter with a plane surface but once I tried using the ‘new’ surface, it doesn’t seem to be working anymore. It isn’t opening and closing as it should be. I would be grateful for any suggestions

I have attached the script below:
rotation_axis.gh (62.2 KB)



rotation_axis volker.gh (71.3 KB)

rotation_axis volker2.gh (134.9 KB)