I was wondering if anyone could offer some advice or insight. I'm writing a little PHP script to convert a subset of SVG PathData (only M, C, L and z directives) drawn with Inkscape into DXF SPLINEs (NURBs) for use in QCad. I can do it successfully following the practical instructions at the bottom of this article about NURBs
I realise you probably want to do this yourself programmatically but for what it is worth I may as well suggest some alternatives.
I'm not sure how it works but I rememeber reading that there was a way on Linux to transparently hook Inkscape up with other applications and export to a greater selection of file formats including the AutoCAD Drawing eXchange Format (DXF).
Dia has basic SVG import and also allows DXF Export, which might be of some use to you even if only to see how the conversions should work.
Hope that helps
Sincerely
Alan Horkan
Dia is for Diagrams http://gnome.org/projects/dia/ Abiword is Awesome http://abisource.com