14 lines
231 B
Python
14 lines
231 B
Python
|
#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"
|