sg to dxf format
sg2dxf(g, x, file)
g
sg object
x
pattern object used for computing g
file
filename for output