Exporting Segment as OBJ through Python

See also this topic: