Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Posted by
Jon Elson
on 2000-10-16 09:20:06 UTC
Alan Marconett KM6VV wrote:
it.
First, you map the extent of the drawing onto a bitmap. You then draw
in the
traces and pads, with the actual width or dimensions of the object. For
instance,
if the grid is 1 mil, then a 50 mil trace would be drawn by filling in a
50 bits wide
track from start to finish.
After this is all done, both traces and pads, you could raster through
the thing,
identifying all points where you cross from one 'color' to another. You
have to do
this in both axes to make sure you completely surround the traces and
pads.
This should define a 'border' as a closed pattern of border bits.
A second pass could define all separated borders by starting randomly at
the
first border seen and following all the way around its edge until you
get back to
the starting point, and numbering all these bits as part of border # 1.
You then scan for the next unmarked border, and follow it, marking it
#2.
You repeat this until there are no unmarked border bits left in the map.
You can now check each border to see which side it encloses from some
starting
point, and create offset tool paths to cut them out.
This actually doesn't sound so difficult, now that I have kind of
figured
out how it can be done. It could be a memory hog for large boards,
however.
Jon
> So how do we get from Gerber files to CNC files? As you observe, theI figured out a VERY crude algorithm to do this, if anyone wants to try
> Gerber "plots" each trace, what we want is contours AROUND the traces!
>
> I examined an HPGL PCB plot file (see View Companion), and studied how
>
> multiple pen lines were combined to draw a trace.
it.
First, you map the extent of the drawing onto a bitmap. You then draw
in the
traces and pads, with the actual width or dimensions of the object. For
instance,
if the grid is 1 mil, then a 50 mil trace would be drawn by filling in a
50 bits wide
track from start to finish.
After this is all done, both traces and pads, you could raster through
the thing,
identifying all points where you cross from one 'color' to another. You
have to do
this in both axes to make sure you completely surround the traces and
pads.
This should define a 'border' as a closed pattern of border bits.
A second pass could define all separated borders by starting randomly at
the
first border seen and following all the way around its edge until you
get back to
the starting point, and numbering all these bits as part of border # 1.
You then scan for the next unmarked border, and follow it, marking it
#2.
You repeat this until there are no unmarked border bits left in the map.
You can now check each border to see which side it encloses from some
starting
point, and create offset tool paths to cut them out.
This actually doesn't sound so difficult, now that I have kind of
figured
out how it can be done. It could be a memory hog for large boards,
however.
Jon
Discussion Thread
Tony Jeffree
2000-10-11 10:01:17 UTC
CNC Pro?
Carey L. Culpepper
2000-10-11 10:44:22 UTC
Re: [CAD_CAM_EDM_DRO] CNC Pro?
cnc002@a...
2000-10-11 11:36:50 UTC
Re: [CAD_CAM_EDM_DRO] CNC Pro?
Hugh Mahlendorf
2000-10-11 17:52:55 UTC
Sanyo "Step-Syn" Stepper Motors
Alan Marconett KM6VV
2000-10-11 18:19:16 UTC
Re: [CAD_CAM_EDM_DRO] Sanyo "Step-Syn" Stepper Motors
Doug Fortune
2000-10-11 18:42:43 UTC
Re: [CAD_CAM_EDM_DRO] Sanyo "Step-Syn" Stepper Motors
ballendo@y...
2000-10-12 00:06:12 UTC
re:Sanyo "Step-Syn" Stepper Motors
ballendo@y...
2000-10-12 00:18:04 UTC
Re: Sanyo "Step-Syn" Stepper Motors
cnc4me@u...
2000-10-12 00:25:04 UTC
Re: re:Sanyo "Step-Syn" Stepper Motors
ballendo@y...
2000-10-12 01:46:07 UTC
Re: re:Sanyo "Step-Syn" Stepper Motors
Mariss Freimanis
2000-10-12 10:13:13 UTC
Re: re:Sanyo "Step-Syn" Stepper Motors
Mike
2000-10-12 10:43:15 UTC
Help: PCB Trace Milling Software
Alan Marconett KM6VV
2000-10-12 13:09:47 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
ballendo@y...
2000-10-12 14:29:14 UTC
Re: re:Sanyo "Step-Syn" Stepper Motors
Jon Elson
2000-10-12 14:56:41 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
ballendo@y...
2000-10-12 15:13:12 UTC
Help: PCB Trace Milling Software
Mariss Freimanis
2000-10-12 15:16:38 UTC
Re: re:Sanyo "Step-Syn" Stepper Motors
Alan Marconett KM6VV
2000-10-12 15:34:55 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Alan Marconett KM6VV
2000-10-12 15:42:17 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Tom Caudle
2000-10-12 16:00:07 UTC
Re: Help: PCB Trace Milling Software
Tim Goldstein
2000-10-12 16:04:29 UTC
RE: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Mike
2000-10-12 16:23:17 UTC
Re: Help: PCB Trace Milling Software
ballendo@y...
2000-10-12 16:30:29 UTC
Re: Help: PCB Trace Milling Software
Anne Ogborn
2000-10-12 16:31:21 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Alan Marconett KM6VV
2000-10-12 17:39:45 UTC
Re: Help: PCB Trace Milling Software
Edward Rupp
2000-10-12 17:54:52 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Tom Caudle
2000-10-12 19:27:33 UTC
Re: Help: PCB Trace Milling Software
cnc4me@u...
2000-10-12 19:27:52 UTC
Re: Help: PCB Trace Milling Software
Dan Mauch
2000-10-12 19:42:46 UTC
Re: [CAD_CAM_EDM_DRO] Re: Help: PCB Trace Milling Software
Tom Caudle
2000-10-12 19:55:28 UTC
Re: Help: PCB Trace Milling Software
ballendo@y...
2000-10-12 19:59:32 UTC
Re: Help: PCB Trace Milling Software
Dan Mauch
2000-10-12 20:02:26 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Ron Hanson
2000-10-12 21:33:00 UTC
RE: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Alan Marconett KM6VV
2000-10-12 22:37:03 UTC
Re: Help: PCB Trace Milling Software
Hugh Mahlendorf
2000-10-12 23:31:51 UTC
Re: [CAD_CAM_EDM_DRO] re:Sanyo "Step-Syn" Stepper Motors
Tony Jeffree
2000-10-12 23:43:46 UTC
Re: Help: PCB Trace Milling Software
Ian Wright
2000-10-13 01:17:56 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
bfp
2000-10-13 03:04:50 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
cnc4me@u...
2000-10-13 08:36:52 UTC
Re: Help: PCB Trace Milling Software
Alan Marconett KM6VV
2000-10-13 09:19:54 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Ron Hanson
2000-10-13 09:37:50 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Tim Goldstein
2000-10-13 09:41:15 UTC
RE: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Tony Jeffree
2000-10-13 10:52:15 UTC
Re: Help: PCB Trace Milling Software
Hugh Prescott
2000-10-13 11:14:23 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Alan Marconett KM6VV
2000-10-13 11:45:09 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
ballendo@y...
2000-10-13 12:20:13 UTC
Re: re:Sanyo "Step-Syn" Stepper Motors
cnc4me@u...
2000-10-13 12:23:24 UTC
Re: Help: PCB Trace Milling Software
Henrik Olsson
2000-10-13 12:46:47 UTC
RE: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Jon Elson
2000-10-13 15:19:38 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Jon Elson
2000-10-13 15:47:36 UTC
Re: [CAD_CAM_EDM_DRO] Re: Help: PCB Trace Milling Software
Edward Rupp
2000-10-13 16:51:23 UTC
Re: [CAD_CAM_EDM_DRO] Re: Help: PCB Trace Milling Software
Hugh Mahlendorf
2000-10-13 19:19:21 UTC
Re: [CAD_CAM_EDM_DRO] Re: re:Sanyo "Step-Syn" Stepper Motors
Alan Marconett KM6VV
2000-10-13 22:19:16 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Jon Elson
2000-10-13 23:27:26 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Jon Elson
2000-10-16 09:20:06 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Dennis Bohlke
2000-10-16 10:37:04 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Alan Marconett KM6VV
2000-10-16 12:34:46 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
Alan Marconett KM6VV
2000-10-16 13:04:53 UTC
Re: [CAD_CAM_EDM_DRO] Help: PCB Trace Milling Software
John Mesh
2007-01-08 23:44:13 UTC
CNC Pro?
Bob Muse
2007-01-09 03:14:39 UTC
Re: [CAD_CAM_EDM_DRO] CNC Pro?
Amine BELHOUT
2007-01-09 10:50:17 UTC
RE : Re: [CAD_CAM_EDM_DRO] CNC Pro?
Seiman H
2007-01-09 11:20:23 UTC
Re: RE : Re: [CAD_CAM_EDM_DRO] CNC Pro?
Mike Phillips
2007-01-10 14:22:54 UTC
Re: CNC Pro?
Vince Endter
2007-01-10 16:03:36 UTC
Re: CNC Pro?
Stephen Wille Padnos
2007-01-10 16:47:48 UTC
Re: [CAD_CAM_EDM_DRO] Re: CNC Pro?
John Dammeyer
2007-01-10 17:53:40 UTC
ELS and the Omikron
Jon Elson
2007-01-10 19:36:45 UTC
Re: [CAD_CAM_EDM_DRO] Re: CNC Pro?
Ron Kline
2007-01-10 19:52:36 UTC
Re: [CAD_CAM_EDM_DRO] Re: CNC Pro?
Mike Phillips
2007-01-10 22:19:15 UTC
Re: CNC Pro?
Lester Caine
2007-01-11 00:42:54 UTC
Re: [CAD_CAM_EDM_DRO] Re: CNC Pro?
Mike Phillips
2007-01-11 05:44:31 UTC
Re: CNC Pro?
Lester Caine
2007-01-11 07:07:39 UTC
Re: [CAD_CAM_EDM_DRO] Re: CNC Pro?
Mike Phillips
2007-01-11 11:01:32 UTC
Re: CNC Pro?
Marv Frankel
2007-01-12 03:39:22 UTC
Re: CNC Pro?
Mike Phillips
2007-01-12 23:50:02 UTC
Re: CNC Pro?
Mike Phillips
2007-01-12 23:52:23 UTC
Re: CNC Pro?
art
2007-01-16 07:09:34 UTC
Re: [CAD_CAM_EDM_DRO] Re: CNC Pro?
Mike Phillips
2007-01-16 22:14:02 UTC
Re: CNC Pro?