On 8/3/2012 7:47 PM, Jason Cox wrote:
> Lee,
> I tried but no matter what I do I end up with the following DXF file
> ( https://dl.dropbox.com/u/3028956/9-parts-dxf_from_draftsight.png )
> that places some of the curves in the wrong place.

But, Jason, this image isn't a view of the DXF file, it is a view of the 
dxf2gcode interpretation of the DXF file.

I just tried loading your DWG file into DraftSight, deleting everything 
on the drawing except what I interpret to be "on the right (h)and side", 
saving the result as a DXF file (I tried different versions from R2010 
to R2000 to R14), and loading the DXF file into Autodesk's DWG TrueView 
2013 (which I'll refer to as DTV). I have not had access to any version 
of AutoCAD since I retired but DTV is based on the same Autodesk DWG 
engine and I consider it a gold standard for interpreting DWG and DXF 
files. DTV displays all these DXF files without any artifacts like the 
ones in your png.

I then loaded the DXF files into dxf2gcode (beta 2 version, same as 
yours) and see the artifacts shown in your png. The problem lies in 
dxf2gcode's apparent inability to read and process certain "legal" DXF 
entities which result from translating the original DWG entities.

I don't have QCAD in either the commercial or the community version 
installed anywhere at the moment so I can't repeat this test with it, 
but from your original message I infer you get the same result.

Perhaps if the author of the original drawing had constructed it in a 
different way.... You could try reducing the drawing complexity bit by 
bit to see if you can find the offending construction. In the extreme 
you could export each bulkhead and airfoil separately. Not a fun way to 
proceed but sometimes a "brute force and ignorance" approach is the 
fastest way to get on to making parts.

>
> Does anyone have a script fro DraftSight to convert DWG to GCODE?
>
> Jason Cox
>
>

Sorry, no. The author would have to know a great deal about DraftSight's 
proprietary data structures. Similarly, for a direct dwg2gcode program, 
the author would have to know a great deal about the proprietary DWG 
format which is not well documented. Perhaps one could join the Open 
Design Alliance and use their tools to read a DWG file into data 
structures that could then be converted to gcode, but who's going to do 
that?

Incidently, I think you should move this conversation over to emc-users. 
It has no bearing on the development of the LinuxCNC codebase.

(nice glider, by the way! It reminds me of when I lived in Germany in 
the 1950s.)

Regards,
Kent




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to