Hi
I've attached few scripts that I use to generate g-code from curves drawn in Rhino. Supported curves are lines, arcs and circles, so before executing scripts, paths should be converted to lines/arcs.
SegmentsIO - import/export paths (evaluation version does not alow but 25 saves)
2DPath2GCode - creates gode from planar lines,arcs and circles. One polycurve (joined lines/arcs) is treated as one continous feature. If you're getting weird paths from polycurves that overlap at subcurve start/end points, try turning off "simplify" option.
Holes2GCode - creates gcode for drilling holes from circles and/or points (other curves will be filtered out after selection)
Cheers
disclamer: use at your own risk

ps. if you find bugs, please post seg files here