Depending on what program you use to generate your g code, personally I use cambam, so I simply load the dxf file in to cambam, select the profile I want to cut, then after putting in the settings I want, I just click on "generate toolpaths" then "produce G code"

This is for my milling machine, I don't have a plasma.