14 lines
231 B
Python
Raw Normal View History

#FLM: Auto starting points
from robofab.world import CurrentGlyph
myGlyph = CurrentGlyph()
myGlyph.correctDirection()
myGlyph.autoContourOrder()
for contour in myGlyph:
contour.autoStartSegment()
myGlyph.update()
print "done"