Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?
Posted by
Craig Carmichael
on 2012-05-28 00:16:46 UTC
Hi,
Thanks Brian and Ron for your suggestions, but it looks like I'm not
there yet and am still looking.
Brian, 'Dxf2gcode' says a "point" is an undefined geometric type, and
for circles, it wants to mill around the periphery rather than to go
at any time to the center where I could tell it to drill.
So it looks like a great program for milling, but as far as I can
tell, it can't be used for drilling holes.
---
Ron, I guess what I'm doing is peck drilling. Many (most) of the
commands in your Mach3 example don't seem to match what I've been
using. But I'm not very literate at this stuff so far, and the
software is pretty old. (On the other hand, at least the drilling
co-ordinates are there.)
Here's a sample of what I have, which uses line numbers (and ignores
any lines <100!):
; abs. pos. mode
N101 G90
; go here
N102 G00 x -0.75 y +4.0625
; call hole drilling sequence
N104 M98 P1320 L1
; go next hole
N106 G90 G00 x +0.75 y +4.0625
; call same drilling sequence
N108 M98 P1320 L1
;etc, etc, etc
N109 G90 G00 x +2.037 y +3.594
N110 M98 P1320 L1
;=========
N500 M30
;=========
;hole drilling sequence
N1320 M44 ; wait a couple of seconds
N1330 M98 P1500 L12 ; peck drill multiple times (this was thick steel)
N1380 M99 ; return
N1500 M20 ; drill down (pneumatic - set air pressure for desired push)
N1520 M44 ; drill a couple of seconds
N1530 M21 ; drill up
N1540 M44 ; wait (then loop)
N1550 M99
======================================
Thanks Brian and Ron for your suggestions, but it looks like I'm not
there yet and am still looking.
Brian, 'Dxf2gcode' says a "point" is an undefined geometric type, and
for circles, it wants to mill around the periphery rather than to go
at any time to the center where I could tell it to drill.
So it looks like a great program for milling, but as far as I can
tell, it can't be used for drilling holes.
---
Ron, I guess what I'm doing is peck drilling. Many (most) of the
commands in your Mach3 example don't seem to match what I've been
using. But I'm not very literate at this stuff so far, and the
software is pretty old. (On the other hand, at least the drilling
co-ordinates are there.)
Here's a sample of what I have, which uses line numbers (and ignores
any lines <100!):
; abs. pos. mode
N101 G90
; go here
N102 G00 x -0.75 y +4.0625
; call hole drilling sequence
N104 M98 P1320 L1
; go next hole
N106 G90 G00 x +0.75 y +4.0625
; call same drilling sequence
N108 M98 P1320 L1
;etc, etc, etc
N109 G90 G00 x +2.037 y +3.594
N110 M98 P1320 L1
;=========
N500 M30
;=========
;hole drilling sequence
N1320 M44 ; wait a couple of seconds
N1330 M98 P1500 L12 ; peck drill multiple times (this was thick steel)
N1380 M99 ; return
N1500 M20 ; drill down (pneumatic - set air pressure for desired push)
N1520 M44 ; drill a couple of seconds
N1530 M21 ; drill up
N1540 M44 ; wait (then loop)
N1550 M99
======================================
>Hi Craig,
>There are a few freeby type dxf to gcode converters about. This one
>works well:
><http://christian-kohloeffel.homepage.t-online.de/index.html>http://christian-kohloeffel.homepage.t-online.de/index.html
>Regards,Brian
>--- On Thu, 24/5/12, Craig Carmichael
><<mailto:craig%40saers.com>craig@...> wrote:
>
>From: Craig Carmichael <<mailto:craig%40saers.com>craig@...>
>Subject: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?
>To: <mailto:CAD_CAM_EDM_DRO%40yahoogroups.com>CAD_CAM_EDM_DRO@yahoogroups.com
>Date: Thursday, 24 May, 2012, 19:59
>
>
>
>Hi,
>
>I've drawn up XY co-ordinates in LibreCAD, for a CNC to drill bolt &
>
>vent holes in round rotors/plates for my Electric Hubcap 5KW pancake
>
>motors. (When I couldn't figure out how to do and dupliate things at
>
>exact angles around a circle, I got good step by step instructions
>
>from LibreCAD's help forum.)
>
>I suspect there are people here who'll know... Now that I've done the
>
>drawing, how might I get a G-Code drill program from it?
>
>(Bla bla bla: My CNC drill/router, which I bought from the guy who
>
>made it maybe 10+ years ago, has no more sophisticated software than
>
>the G-Code controller. ...Previously, I worked out the co-ordinates
>
>via sines and cosines in a spreadsheet, and then created the g-code
>
>program by hand, cutting and pasting each number to where it needed
>
>to be. Now to make a change I have to do it all over again. Obviously
>
>I need to start moving into the modern era, so this time I downloaded
>
>LibreCAD.)
>
>TIA,
>
>Craig
>
><http://www.ElectricHubcap.com/>http://www.ElectricHubcap.com/
>
>===
Discussion Thread
Bill Griggs
2012-05-07 07:44:10 UTC
Photo album updates
Douglas Vogt
2012-05-12 22:37:07 UTC
Re: [CAD_CAM_EDM_DRO] Photo album updates
William C. Griggs
2012-05-13 10:03:23 UTC
Re: Photo album updates
Ron Ginger
2012-05-14 05:12:57 UTC
Re: Photo album updates
David G. LeVine
2012-05-14 14:37:58 UTC
[OT] Why shops will be replaced by weight rooms.
turbulatordude
2012-05-15 04:02:13 UTC
Re: Photo album updates
Craig Carmichael
2012-05-24 19:08:12 UTC
LibreCad/.DXF to G-Code for CNC drill?
Brian Worth
2012-05-25 00:04:02 UTC
Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?
Ron Thompson
2012-05-25 05:11:30 UTC
Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?
Craig Carmichael
2012-05-28 00:16:46 UTC
Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?
Randall Wink
2012-05-28 04:25:47 UTC
Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?
Ron Thompson
2012-05-28 04:49:19 UTC
Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?
Chuck Merja
2012-05-28 07:01:11 UTC
RE: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?
Jon Elson
2012-05-28 10:04:34 UTC
Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?
Craig Carmichael
2012-05-29 00:49:57 UTC
Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?
turbulatordude
2012-05-29 03:19:29 UTC
Re: LibreCad/.DXF to G-Code for CNC drill?
Tony Smith
2012-05-29 10:04:01 UTC
RE: [CAD_CAM_EDM_DRO] Re: LibreCad/.DXF to G-Code for CNC drill?
turbulatordude
2012-05-30 04:07:32 UTC
Re: LibreCad/.DXF to G-Code for CNC drill?
Tony Smith
2012-05-30 06:51:17 UTC
RE: [CAD_CAM_EDM_DRO] Re: LibreCad/.DXF to G-Code for CNC drill?