Hi, I had hoped this was simple but I’ve tried a few things and am a bit stuck.
I have a cell that is essentially a taper (called “taper” my example code) that I want to call in other cells. Pin ‘a0’ is on the wider side, and pin ‘b0’ is on the thinner side. I want to call this cell, but be able to connect either pin to a waveguide, including the rotation.
works as expected with the ‘a0’ pin of the taper connected to the waveguide. However I don’t see an easy way to connect the waveguide pin ‘b0’ to the taper pin ‘b0’ in a way that would rotate the taper by 180 degrees. I hope this is clear, if not I can provide some diagrams.
taper.put(waveguide.pin['b0']) #should connect pin 'a0' of the taper to the waveguide