The extension has access to all the RoboFont API and callbacks. So for example CurrentFont() and CurrentGlyph() are directly accessible in a script!
drawGlyph(aGlyph) draws a glyph
bezierPath.addGlyph(aglyph) adds a glyph to the BezierPath object
There is one setting: you can tell RoboFont to use DrawBot as the default .py editor.
The extension installs also drawBot as module. This allows to use import drawBot and use drawBot in any script.
fromdrawBotimport*# reset the drawing stacknewDrawing()
# loop over all glyphsforglyphinCurrentFont():
# create a new pagenewPage(1000, 1000)
# draw each glyph on the pagedrawGlyph(glyph)