21
G-Code, CAD, and CAM discussions / Code preparation
« on: December 19, 2006, 06:02:33 PM »
I'm newcomer to CNC; having problems generating Gcode
I can generate gcode by checking the co-ordinates of a cad drawing and adding the 'M' and 'G' words and that seems to work but is tedious.
If I generate a DXF file and put it into LazyCam that gives good output as long as the drawn part is simple eg a triangular cut out within a triangle.
More complex shapes when dropped into LC need editing because of extra lines (not only rapids) which were not seen on the original CAD drawing
They then come apart because a required part is deleted by mistake,ie selecting and deleting one line takes a required line with it
Editing in Acad until only the outline required is present stilll results in extra lines when dropped into LC.
I have dropped DXF files into Acad2000 and saved them as ver12 and ver14 with little success.
How are you guys doing this, what are the ways of preparing the drawing so that LC can fix it and generate the gcode successfully.
tmsmith
I can generate gcode by checking the co-ordinates of a cad drawing and adding the 'M' and 'G' words and that seems to work but is tedious.
If I generate a DXF file and put it into LazyCam that gives good output as long as the drawn part is simple eg a triangular cut out within a triangle.
More complex shapes when dropped into LC need editing because of extra lines (not only rapids) which were not seen on the original CAD drawing
They then come apart because a required part is deleted by mistake,ie selecting and deleting one line takes a required line with it
Editing in Acad until only the outline required is present stilll results in extra lines when dropped into LC.
I have dropped DXF files into Acad2000 and saved them as ver12 and ver14 with little success.
How are you guys doing this, what are the ways of preparing the drawing so that LC can fix it and generate the gcode successfully.
tmsmith