Re: [CAD_CAM_EDM_DRO] Re: Recommen .. writing G-Code in Excel
Posted by
Alan Marconett
on 2004-09-21 12:24:37 UTC
HI Tom, Dave,
I was able to export epitrochoid (for Wankel engines) data in CSV from a
recently posted XLS file on one of the "engines" groups. A little work
with a text editor to remove the unwanted columns and adding some
standard settings gave me a Gcode file I could import to Vector CAD/CAM.
I added Xs and Ys with the editor as well. Block copy/paste works well.
From there I could scale it and generate an offset for a tool, and
generate another Gcode file that I could cut with.
The formulas for generating the X and Y coordinates were readily
available in the cells:
line 1 X =(B2*COS(3*RADIANS(A2)))+(C2*COS(RADIANS(A2)))
line 1 Y =(B2*SIN(3*RADIANS(A2)))+(C2*SIN(RADIANS(A2)))
line 2 X =(B3*COS(3*RADIANS(A3)))+(C3*COS(RADIANS(A3)))
. . .
I'd also be inclined to use the formulas in a simple 'C' program (or any
language), and then generate Gcode directly, if I wanted to further
study the shapes. But cut and paste works pretty good for a quick look.
Importing into a CAD/CAM program lets one do the offset tool path,
although with a little thinking, could also be incorporated into a program.
A simple format (PRINT) statement in the program adds the X and Y words
to the text generated.
Another way to do it would be to write a "filter" type program that
would accept CSV (or whatever you like) and generate Gcode for you.
I like line numbers, and always generate them, but they're not necessary.
The epitrochoid spread sheet also had a graphic of the data (I haven't
figured out that one yet) that was neat way to "chart" the data.
ExpressPCB data files were unreadable when I last looked at them, have
they changed? Were you able to export useable date from their files?
I played with a French program to layout PCBs, but found that I could
use Eagle, and generate Gerber files, or even isolation files.
Alan KM6VV
Tom Hubin wrote:
I was able to export epitrochoid (for Wankel engines) data in CSV from a
recently posted XLS file on one of the "engines" groups. A little work
with a text editor to remove the unwanted columns and adding some
standard settings gave me a Gcode file I could import to Vector CAD/CAM.
I added Xs and Ys with the editor as well. Block copy/paste works well.
From there I could scale it and generate an offset for a tool, and
generate another Gcode file that I could cut with.
The formulas for generating the X and Y coordinates were readily
available in the cells:
line 1 X =(B2*COS(3*RADIANS(A2)))+(C2*COS(RADIANS(A2)))
line 1 Y =(B2*SIN(3*RADIANS(A2)))+(C2*SIN(RADIANS(A2)))
line 2 X =(B3*COS(3*RADIANS(A3)))+(C3*COS(RADIANS(A3)))
. . .
I'd also be inclined to use the formulas in a simple 'C' program (or any
language), and then generate Gcode directly, if I wanted to further
study the shapes. But cut and paste works pretty good for a quick look.
Importing into a CAD/CAM program lets one do the offset tool path,
although with a little thinking, could also be incorporated into a program.
A simple format (PRINT) statement in the program adds the X and Y words
to the text generated.
Another way to do it would be to write a "filter" type program that
would accept CSV (or whatever you like) and generate Gcode for you.
I like line numbers, and always generate them, but they're not necessary.
The epitrochoid spread sheet also had a graphic of the data (I haven't
figured out that one yet) that was neat way to "chart" the data.
ExpressPCB data files were unreadable when I last looked at them, have
they changed? Were you able to export useable date from their files?
I played with a French program to layout PCBs, but found that I could
use Eagle, and generate Gerber files, or even isolation files.
Alan KM6VV
Tom Hubin wrote:
> Hello Dave,
>
>
>>I used excel to write points for a pcb when I had it in expressPCB (a
>>proprietary format that does not output a useable file)
>>
>>What I did was to create columns for each axis
>>
>>A B C D E
>>
>>G00 x 1.123 y 0.234
>>G00 x 1.555 y 1.254
>>
>>That makes it easire to see your numbers and you can chart them to
>>see if they are in some sequence you expect.
>>
>>Line numbering also is easy.
>>
>>To export the data, you can highlight the area of your work and then
>>copy it to the clipboard.
>
>
> You can also export the file directly from Excel as a text file. Some of
> the text export file types embed characters that TurboCnc does not like.
> One of the text export file types does work fine with TurboCnc but I
> don't recall which one. There are only a few export text file types so
> try each to find the one that TurboCnc is happy with.
>
> <SNIP>
>
> Tom Hubin
> thubin@...
>
Discussion Thread
Ted Gregorius
2004-09-20 07:55:13 UTC
Re: Recommended CAM software? - BobCad
R Rogers
2004-09-20 08:26:05 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Statman Designs, LLC
2004-09-20 08:51:37 UTC
RE: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Jeff Jones
2004-09-20 09:17:15 UTC
RE: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Ted Gregorius
2004-09-20 09:26:28 UTC
Re: Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
R Rogers
2004-09-20 09:35:11 UTC
RE: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Jon Elson
2004-09-20 09:42:35 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
R Rogers
2004-09-20 11:21:47 UTC
Re: Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Statman Designs, LLC
2004-09-20 11:40:27 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
R Rogers
2004-09-20 11:56:43 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
R Rogers
2004-09-20 12:00:55 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Jeff Jones
2004-09-20 12:38:07 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Statman Designs, LLC
2004-09-20 12:52:06 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Fred Smith
2004-09-20 13:28:50 UTC
Re: Recommended CAM software? Vector of course!
Pete Brown (YahooGroups)
2004-09-20 14:02:12 UTC
Re: Recommended CAM software? - BobCad
vavaroutsos
2004-09-20 14:37:56 UTC
Re: Recommended CAM software? - FreeMill
Keith Rumley
2004-09-20 16:17:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
R Rogers
2004-09-20 17:35:02 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? Vector of course!
wanliker@a...
2004-09-20 20:07:14 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Pete Brown (YahooGroups)
2004-09-20 20:19:57 UTC
RE: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? Vector of course!
Victor A. Estes
2004-09-20 22:40:11 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Bengt
2004-09-20 23:41:33 UTC
Re: Recommended CAM software? - BobCad
Fred Smith
2004-09-21 05:20:15 UTC
Re: Recommended CAM software? - BobCad
Hal Eckhart
2004-09-21 06:49:09 UTC
[CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
metlmunchr
2004-09-21 09:20:23 UTC
Re: Recommended CAM software? - BobCad
Victor A. Estes
2004-09-21 09:30:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
wanliker@a...
2004-09-21 09:42:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
turbulatordude
2004-09-21 09:51:10 UTC
Re: Recommen .. writing G-Code in Excel
Tom Hubin
2004-09-21 10:39:00 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommen .. writing G-Code in Excel
Stephen Wille Padnos
2004-09-21 10:44:09 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommen .. writing G-Code in Excel
Jones, Joseph A1
2004-09-21 11:02:00 UTC
RE: [CAD_CAM_EDM_DRO] Re: Recommen .. writing G-Code in Excel
Alan Marconett
2004-09-21 12:24:37 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommen .. writing G-Code in Excel
R Rogers
2004-09-21 12:34:24 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Jeff Jones
2004-09-21 12:34:35 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? Vector of course!
metlmunchr
2004-09-21 12:41:07 UTC
Re: Recommended CAM software? - BobCad
Les Newell
2004-09-21 12:57:48 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? Vector of course?
turbulatordude
2004-09-21 13:14:24 UTC
Re: Recommen .. Express-PCB
Ted Gregorius
2004-09-21 13:15:35 UTC
Re: Recommended CAM software? - BobCad
metlmunchr
2004-09-21 14:12:32 UTC
Re: Recommended CAM software? - BobCad
Jeff Jones
2004-09-21 14:47:43 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? Vector of course?
Boss
2004-09-21 15:02:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? Vector of course?
Jeff Jones
2004-09-21 15:37:22 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? Vector of course?
wanliker@a...
2004-09-21 15:58:44 UTC
Re: Recommended CAM software? Vector of course?
Fred Smith
2004-09-21 16:07:34 UTC
Re: Recommended CAM software? - Vector of course!
R Rogers
2004-09-21 16:13:01 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Pete Brown (YahooGroups)
2004-09-21 17:09:55 UTC
RE: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? Vector of course!
Jon Elson
2004-09-21 17:38:21 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? - BobCad
Jeff Jones
2004-09-21 20:37:15 UTC
RE: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? Vector of course!
Les Newell
2004-09-22 01:07:23 UTC
Re: [CAD_CAM_EDM_DRO] Re: Recommended CAM software? Vector of course?
rotarysmp
2004-09-29 07:10:10 UTC
Re: Recommen .. writing G-Code in Excel