Anisotrpoic scaling of data

edited September 2011 in KLayout Development
I have started to play around with some Ruby scripts you provided as examples. Using layer_proc.rbm I was able to easily scale selected shapes using
active = input("2/0")
poly = input("7/0")
myshapes = active.mag(0.9)

What I really want to do is to scale x and y dimensions with unique values for all shapes in layout. Any suggestions?


  • edited October 2011


    right now there is no easy way to have anisotropic scaling, I'm sorry. It can be done (slowly) shape by shape with a ruby script but not using the transformations provided. Following the GDS convention, the transformation objects only allow isotropic scaling currently.

    Best regards,


Sign In or Register to comment.