polylines not connecting

Hi thank you for your time, I am at a loss. attached is an example. I usually work in rhino and I am having trouble with some dxf files to be cut on my cnc plasma.

so I have searched and searched the web to no avail, pedit, join, gap tolerance, whatever. no go. I have everything converted to polylines but I cant get the polylines to connect to each other. 

I have multiple files this way with hundreds of hours of work to get these lines now my sheetcam wont import them correctly, because the lines are not connected / closed.

any help would be much appreciated.

Matt