dadastudio
(Michał Jarociński)
1
Hi,
I want to rotate components. I’ve found this code by @mekkablue
myController = Glyphs.currentDocument.windowController()
rotateToolClass = NSClassFromString("GlyphsToolRotate")
myRotateTool = myController.toolForClass_( rotateToolClass )
How can I rotate my component? myRotateTool.setRotation(45) doesn’t work 
Thx.
mekkablue
(Rainer Erich Scheichelbauer)
2
You need to apply an affine transformation. There is code that autocompletes in my Python for Glyphs repo. Find the link on the Extend page.
dadastudio
(Michał Jarociński)
3
Yes, I have already found it. Thanks 
1 Like