CAD CAM EDM DRO - Yahoo Group Archive

Re: LibreCad/.DXF to G-Code for CNC drill?

on 2012-05-29 03:19:29 UTC
When I made my driller, I wrote my code in excel.

When I did a 3 inch circle, it would lay out the g-code for that.

I was not sophisticated enough, so I had to create a specific spreadsheet for each set of holes. The distances are then filled in as the size changes.

The key was learning to use the concatenate function to joint all the text together.

Dave


--- In CAD_CAM_EDM_DRO@yahoogroups.com, Craig Carmichael <craig@...> wrote:
>
> Hi,
>
> Thanks to all for all the suggestions - all good learning.
>
> I've found a Linux program that generates g-code for point ("bolt
> hole") co-ordinates around a circle from the numbers you enter, in
> accordance with the G83 - G80 'canned drill cycle' mentioned:
> http://wiki.linuxcnc.org/uploads/boltcircle2.py
>
> Since the "Python" code is text, I can modify it to my exact
> requirements (eg, if the 'canned drill cycle' doesn't do what it's
> supposed to I can modify the code generated). So I guess I too will
> leave CAD packages for more convoluted things, and just string the
> several sets of 9 holes (and a few other holes) together in g-code.
>
> ( Maybe I can finally get on with this motor tomorow! :) )
>
> Cheers,
> Craig
>
> =====
>
> >Craig Carmichael wrote:
> > > 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.
> >>
> >Well, I wrote some little C programs that read in a file of X, Y pairs
> >and output
> >useful G-code programs. One generates 3 files, to spot, drill through
> >and tap
> >the holes. You answer a few questions about depth and feedrate for each
> >operation.
> >If you are only drilling, for example, you just throw the extra files away.
> >
> >I also have a program to do regular grids of holes.
> >
> >So, I never use a CAD package for these simple tasks. The G-code is
> >so simple you can write it yourself, too.
> >
> >Jon
> >
> >
>

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?