Date   
Z-down or Milling Depth?

Miles
 

Hello, just wondering if there is a good HELP file somewhere for the PCB-GCODE program. I see on the MACHINE tab "Z-High, Z-Up, Z-Down, Drill Depth, Drill Dwell, Milling Depth". I saw a PCB-GCODE graphic that explained the Z-High, Z-Up, Z-Down, Drill Depth, Drill Dwell, but no "Milling Depth info". "Z-Down" to me means "Milling Depth", so why does PCB-GCODE have a line for Milling Depth? What is the difference?
- Miles

Re: way too much Z movement

cutsandvolts
 

Thanks for your response. I have used the milling layer and it worked well, but that wasn't the issue I was trying to address.

I don't want to mill the board where my polygon boundaries are. I was having trouble getting it to generate gcode to cut very specific shapes to match the ground plane I need for high speed I/O. I have up to 4 ground planes on the same board and I'm wondering how the ulp handles polygons. If it should "just work" that is a fine answer for now so I can at least assume the problem is on my end.

I literally touched nothing after I installed it except for selecting Mach3 gcode format. The comments being inserted are nothing I've written or changed. They look like default comments from the author of the ulp. The (File Footer) comment at the bottom is also nothing I've touched and Mach3 doesn't like that either. Someone on CNCZone said they had a similar problem. I wish there was a button for "no comments at all" because that would fix the issue. Is the behavior of the script such that there should be a way to do this already or does it always generate some comments like the authors comment at the top and the file footer thing?

--- In pcb-gcode@..., John Johnson <john6060842@...> wrote:

Hi Tony,

1) If you just want to draw a shape and have it cut out, you can use the
Milling layer for that.
2) Sounds like you might have turned on 'Use user gcode' that is inserting
comments. Turn that off and they should go away.

Regards,
JJ

On Thu, Mar 24, 2011 at 5:34 PM, cutsandvolts <anthonyandriano@...>wrote:





i made some progress on this, but i have several other questions.

see this thread for the full explanation:


http://www.cnczone.com/forums/pcb_milling/123650-pcbs_weve_milled.html#post917123

basically, i'd like to know two things:

1) how does pcb-gcode interact with polygons? i want to define very
specific polygon shapes for high speed analog ground planes and i want it to
cut exactly what i define. instead, it seems like you have to just pick a
starting isolation distance and a step size. ideally i want it to just see
what i have drawn on the layout and do that exactly.

2) the comments inserted in the .nc files are not compatible with Mach3. i
have to manually remove them before Mach3 will read the file and generate
the tool path. i clicked off all of the comments in pcb-gcode setup but
there are still a few in there. there is also a thing at the bottom called
"(File Footer)" that is screwing up mach3 as well. i wrote a simple script
to automate this, but i think it would be better if the comments either
didn't get inserted into the file or changed to be compatible with Mach3.

thanks,
Tony


--- In pcb-gcode@..., "cutsandvolts" <anthonyandriano@>
wrote:

i am using opti on the code generated by pcb-gcode. it fixed all of the
really inefficient rapid movement, but obviously didn't do anything to all
of the z movement. pcb-gcode generated 117 extra z movements in my last
program that i wrote to demo a simple board. how can i fix this? im either
setting something incorrectly or this program needs a little work. any
advice?



--
Sent from a MacBook Pro



Re: way too much Z movement

John Johnson <john6060842@...>
 

Hi Tony,

1) If you just want to draw a shape and have it cut out, you can use the
Milling layer for that.
2) Sounds like you might have turned on 'Use user gcode' that is inserting
comments. Turn that off and they should go away.

Regards,
JJ

On Thu, Mar 24, 2011 at 5:34 PM, cutsandvolts <anthonyandriano@...>wrote:





i made some progress on this, but i have several other questions.

see this thread for the full explanation:


http://www.cnczone.com/forums/pcb_milling/123650-pcbs_weve_milled.html#post917123

basically, i'd like to know two things:

1) how does pcb-gcode interact with polygons? i want to define very
specific polygon shapes for high speed analog ground planes and i want it to
cut exactly what i define. instead, it seems like you have to just pick a
starting isolation distance and a step size. ideally i want it to just see
what i have drawn on the layout and do that exactly.

2) the comments inserted in the .nc files are not compatible with Mach3. i
have to manually remove them before Mach3 will read the file and generate
the tool path. i clicked off all of the comments in pcb-gcode setup but
there are still a few in there. there is also a thing at the bottom called
"(File Footer)" that is screwing up mach3 as well. i wrote a simple script
to automate this, but i think it would be better if the comments either
didn't get inserted into the file or changed to be compatible with Mach3.

thanks,
Tony


--- In pcb-gcode@..., "cutsandvolts" <anthonyandriano@...>
wrote:

i am using opti on the code generated by pcb-gcode. it fixed all of the
really inefficient rapid movement, but obviously didn't do anything to all
of the z movement. pcb-gcode generated 117 extra z movements in my last
program that i wrote to demo a simple board. how can i fix this? im either
setting something incorrectly or this program needs a little work. any
advice?



--
Sent from a MacBook Pro


[Non-text portions of this message have been removed]

Re: way too much Z movement

cutsandvolts
 

i made some progress on this, but i have several other questions.

see this thread for the full explanation:

http://www.cnczone.com/forums/pcb_milling/123650-pcbs_weve_milled.html#post917123

basically, i'd like to know two things:

1) how does pcb-gcode interact with polygons? i want to define very specific polygon shapes for high speed analog ground planes and i want it to cut exactly what i define. instead, it seems like you have to just pick a starting isolation distance and a step size. ideally i want it to just see what i have drawn on the layout and do that exactly.

2) the comments inserted in the .nc files are not compatible with Mach3. i have to manually remove them before Mach3 will read the file and generate the tool path. i clicked off all of the comments in pcb-gcode setup but there are still a few in there. there is also a thing at the bottom called "(File Footer)" that is screwing up mach3 as well. i wrote a simple script to automate this, but i think it would be better if the comments either didn't get inserted into the file or changed to be compatible with Mach3.

thanks,
Tony

--- In pcb-gcode@..., "cutsandvolts" <anthonyandriano@...> wrote:

i am using opti on the code generated by pcb-gcode. it fixed all of the really inefficient rapid movement, but obviously didn't do anything to all of the z movement. pcb-gcode generated 117 extra z movements in my last program that i wrote to demo a simple board. how can i fix this? im either setting something incorrectly or this program needs a little work. any advice?

way too much Z movement

cutsandvolts
 

i am using opti on the code generated by pcb-gcode. it fixed all of the really inefficient rapid movement, but obviously didn't do anything to all of the z movement. pcb-gcode generated 117 extra z movements in my last program that i wrote to demo a simple board. how can i fix this? im either setting something incorrectly or this program needs a little work. any advice?

arcs vs circle update please

Highvolt
 

Hi everyone,

I like the software a lot, but the arc vs circle thing is driving me nuts.

My workflow is something like this:
1. make my product in solidworks
2. make a pcb outline in solidworks so i can see where the connectors should
go, etc..
3. convert this solidworks part to a DXF
4. convert this DXF into an SCR so eagle can read it in as a script
5. Move some of the lines onto the milling layer
6. draw my circuit
7. Run PCB-GCODE
8. Forgot to draw over all my circles as arcs
9. spend 3 hours to draw arcs over about 60 12mm holes that I have in my pcb
10. Run PCB-GCODE
11. SUCCESS !!!

Either I make my own script that changes circles to arcs in the DXF to SCR
step, or someone should change PCB-GCODE so it can make gcode out of
circles.
I think it's the only feature left for me that would make this software
"perfect".

Re: Multiple runs

Loui Papadopoulos
 

Hi Bruce
I have made a documentation file in case I forget the settings for
different passes

Isolation
SINGLE PASS SETTINGS (from the internet)

Default :0.01
Maximum :0.005
Step size :0.001
Etching Tool size :0.01

3 PASS SETTINGS

Default :0.0254
Maximum :0.1
Step size :0.05
Etching Tool size :0.01

5 PASS SETTINGS (DEFAULT SETTINGS)

Default :0.0254
Maximum :0.508
Step size :0.127
Etching Tool size :0.1778

On 13-Mar-11 9:30 PM, brc_q wrote:

Ok..finally got gcode to run correctly with my Z axis (different issue
there and not with pcb-gcode)
But what I noticed ( this is after buying the 1 user license to mach3
so the 500 line limit is gone) is that pcb-gcode is now creating
multiple runs..I have a very simple pcb as a test object created with
EagleCad and running pcb-gcode there have been mulitple tool paths
created..in other words rather than just one time around to cut the
pads and traces it did this many times before finally getting to
drilling the holes in the pads.
What do I have set wrong that is making this happen? What would be a
good set of default perameters on tool widths, offsets, depth's etc
given a specific cutting tool that everyone seems to use?
Thanks,
Bruce

Re: Multiple runs

John Johnson <john6060842@...>
 

Hi Bruce,

The multiple passes are to get rid of the small slivers of copper that can cause shorts.
If you only want one pass, set the maximum isolation to a value smaller than the step size. For instance:
Default 0.001
Step size 0.005
Maximum 0.002
Those settings should give you one pass.

Let us know how it goes.

Regards,
JJ
On Mar 13, 2011, at 3:30 PM, "brc_q" <brc_q@...> wrote:

Ok..finally got gcode to run correctly with my Z axis (different issue there and not with pcb-gcode)
But what I noticed ( this is after buying the 1 user license to mach3 so the 500 line limit is gone) is that pcb-gcode is now creating multiple runs..I have a very simple pcb as a test object created with EagleCad and running pcb-gcode there have been mulitple tool paths created..in other words rather than just one time around to cut the pads and traces it did this many times before finally getting to drilling the holes in the pads.
What do I have set wrong that is making this happen? What would be a good set of default perameters on tool widths, offsets, depth's etc given a specific cutting tool that everyone seems to use?
Thanks,
Bruce


[Non-text portions of this message have been removed]

Multiple runs

bruce q
 

Ok..finally got gcode to run correctly with my Z axis (different issue there and not with pcb-gcode)
But what I noticed ( this is after buying the 1 user license to mach3 so the 500 line limit is gone) is that pcb-gcode is now creating multiple runs..I have a very simple pcb as a test object created with EagleCad and running pcb-gcode there have been mulitple tool paths created..in other words rather than just one time around to cut the pads and traces it did this many times before finally getting to drilling the holes in the pads.
What do I have set wrong that is making this happen? What would be a good set of default perameters on tool widths, offsets, depth's etc given a specific cutting tool that everyone seems to use?
Thanks,
Bruce

Re: javaw.exe file not found

bruce q
 

Loaded java and now I don't get the error message any more plus shows tool path which is nice to verify.
However...I just ran into another issue but not sure I should post it here so will create another subject.
Bruce

--- In pcb-gcode@..., John Johnson <john6060842@...> wrote:

Hi Bruce,

The previewer built into pcb-gcode needs Java to run. So you can either
install Java, or turn off the preview option in pcb-gcode-setup. (It's on
the Generation Options tab, in the Board group, "Show preview").
I recommend installing Java, as the previewer allows you to see what is
going to be cut out on the board. It's very handy.

Let us know how it works out for you.

Happy Milling!

Regards,
JJ

On Sat, Mar 12, 2011 at 8:10 PM, bruce q <brc_q@...> wrote:



After finally getting my PCB mill built and running I decided to try and
run a test pcb file from EagleCad.
It is a simple pcb but the first thing I ran into when running pcb-gcode
was this file not found (javaw.exe) yet it seemed to generate G-code ok.
Does anyone have any idea where this file is located and do I need to put
it in the pcb-gcode folder? Or is this error an Eaglecad error?

Thanks,
Bruce




--
Sent from a MacBook Pro


[Non-text portions of this message have been removed]

Re: javaw.exe file not found

John Johnson <john6060842@...>
 

Hi Bruce,

The previewer built into pcb-gcode needs Java to run. So you can either
install Java, or turn off the preview option in pcb-gcode-setup. (It's on
the Generation Options tab, in the Board group, "Show preview").
I recommend installing Java, as the previewer allows you to see what is
going to be cut out on the board. It's very handy.

Let us know how it works out for you.

Happy Milling!

Regards,
JJ

On Sat, Mar 12, 2011 at 8:10 PM, bruce q <brc_q@...> wrote:



After finally getting my PCB mill built and running I decided to try and
run a test pcb file from EagleCad.
It is a simple pcb but the first thing I ran into when running pcb-gcode
was this file not found (javaw.exe) yet it seemed to generate G-code ok.
Does anyone have any idea where this file is located and do I need to put
it in the pcb-gcode folder? Or is this error an Eaglecad error?

Thanks,
Bruce




--
Sent from a MacBook Pro


[Non-text portions of this message have been removed]

javaw.exe file not found

bruce q
 

After finally getting my PCB mill built and running I decided to try and run a test pcb file from EagleCad.
It is a simple pcb but the first thing I ran into when running pcb-gcode was this file not found (javaw.exe) yet it seemed to generate G-code ok.
Does anyone have any idea where this file is located and do I need to put it in the pcb-gcode folder? Or is this error an Eaglecad error?

Thanks,
Bruce

Forgetting Zero

edwardbnewman
 

I have a .tap file I'm trying to etch. When the bit actually touches the surface, it's etching just fine. However, it seems like every time I start or stop the code, Mach3 forgets where zero is on every axis. I can't discern any logic from where it assumes zero has moved to each time, either. Sometimes it's a 1/4th inch below the board, sometimes a 1/4th inch above in the air. Every time, I level the tool tip to the surface of the board and reset all axis to zero where they should be relative to the pcb being etched.

In the past with drill files, this has worked fine using code from EaglePCB with "PCB to Gcode" ULP pluggin. Not with .tap etch files from the same source, though. I raise the bit away from the board, rewind and start the cycle. Now, even when I move all axis to zero, the Mach3 determines that zero is somewhere else while the code is running. I suspect that location is somehow relative to where the carriage has previously stopped, but I'm uncertain.

Also, in the error field, I see "Absolute coordinates". I can't find a way to change this setting, if only just to test it's effects. I also see G54 work offset fixture 1, but I don't know if this would cause this or how to change it if it does.

Thanks for any clues.

-Ed

Re: DXF import to Eagle?

KM6VV
 

Thanks for the link!

I'm trying it, I generated a DXF (v12), and converted it, but I'm getting part of my contours and holes in a mirror image. So I need to play with it some more. Might be the polyline thing.

I've attached the DXF file if anyone wants a look.

Alan

-----Original Message-----
On Behalf Of Paul Kiedrowski

Good news all, I've answered my own question.

I contacted Cadsoft and they pointed me to a FREE utility that is already
available.
Go to www.cadsoftusa.com-> Downloads-> Miscellaneous. Look for dxf2scr-
1.zip. This is a small Windows executable, which takes your DXF text file and
spits out an EAGLE script file. After you generate the script file just open a new
blank board file in Eagle and click on the "SCR" menu button to run the script
file that was generated.

The only limitation is that the DXF file cannot contain any poly-lines (lines
combined into one entity with multiple vertices). It must be fully exploded into
simple lines. You can do that with most 2D CAD programs by exploding all
entities, or "breaking" lines.

I tried it and it ran perfectly on a board outline that would have probably taken
me hours to enter directly into Eagle. It pulled in lines, arcs, and circles (all that
was in my DXF).
I'm not sure what DXF versions it will work with, but I tried both a R12 and 2007
version and both worked OK. I should note the following pointers:

1) If you pull in the DXF using zero linewidths, all circles will be filled, so it may
be better to use the default value of 0.001 inch (you can set it to mm or inches).
You can fill them later by setting linewidth to zero.


2) You must tell it the name of the script file output to use. Make sure you add
the ".scr" file extension too.

3) The origin of the DXF file will be the same as the Eagle board origin. You can
enter an X/Y offset when importing (it doesn't rotate but you can form a group
in Eagle and rotate it there).

4) It always imports the DXF onto layer 20. No option to set that. However you
can easily edit the script file near the top, just change "LAYER DIMENSION" to
whatever layer name you want.

Good Luck
-Paul

Re: Proxxon IB/E vs. Dremel clone

John Johnson <john6060842@...>
 

Update:
Turns out the spindle is deep enough for bits with a depth ring. The
collet is snug and I thought the bit was bottoming out, but recently
discovered it has plenty of depth.

Regards,
JJ

On Fri, Feb 25, 2011 at 3:08 PM, John Johnson <@jtj> wrote:
Hello All,

Someone occasionally asks about the Proxxon IB/E as a high-speed
spindle. I bought one recently and I'm very impressed with it.
It looks, sounds and feels more professional than Dremels and their
clones. The spindle has no detectable play (using my fingers). The
aluminum nose makes for a nice solid mount. The Dremels and clones
sound really loud, whereas the Proxxon sounds like a precision
machine.

I haven't milled a PCB yet, but I did mill a plaque, which took a few
hours, and the Proxxon performed admirably.

The only drawback I've found is the hole in the spindle is not deep
enough to mount bits up to their depth ring. That isn't an issue for
me.

Before I bought mine I tried to find a video comparing the sound level
of the Proxxon and Dremel, but could not, so I've posted a video I
made. (My first YouTube upload.)
http://www.youtube.com/watch?v=takKXhoS_gA

Happy Milling!

Regards,
JJ
--
Sent from a MacBook Pro

Re: DXF import to Eagle?

John Johnson <john6060842@...>
 

Cool! Thanks Paul.

Regards,
JJ

On Tue, Mar 8, 2011 at 10:52 PM, Paul Kiedrowski
<paul_kiedrowski@...>wrote:



Good news all, I've answered my own question.

I contacted Cadsoft and they pointed me to a FREE utility that is already
available.
Go to www.cadsoftusa.com-> Downloads-> Miscellaneous. Look for
dxf2scr-1.zip. This is a small Windows executable, which takes your DXF text
file and spits out an EAGLE script file. After you generate the script file
just open a new blank board file in Eagle and click on the "SCR" menu button
to run the script file that was generated.

The only limitation is that the DXF file cannot contain any poly-lines
(lines combined into one entity with multiple vertices). It must be fully
exploded into simple lines. You can do that with most 2D CAD programs by
exploding all entities, or "breaking" lines.

I tried it and it ran perfectly on a board outline that would have probably
taken me hours to enter directly into Eagle. It pulled in lines, arcs, and
circles (all that was in my DXF).
I'm not sure what DXF versions it will work with, but I tried both a R12
and 2007 version and both worked OK. I should note the following pointers:

1) If you pull in the DXF using zero linewidths, all circles will be
filled, so it may be better to use the default value of 0.001 inch (you can
set it to mm or inches). You can fill them later by setting linewidth to
zero.


2) You must tell it the name of the script file output to use. Make sure
you add the ".scr" file extension too.

3) The origin of the DXF file will be the same as the Eagle board origin.
You can enter an X/Y offset when importing (it doesn't rotate but you can
form a group in Eagle and rotate it there).

4) It always imports the DXF onto layer 20. No option to set that. However
you can easily edit the script file near the top, just change "LAYER
DIMENSION" to whatever layer name you want.

Good Luck
-Paul

--- On Sun, 3/6/11, Paul Kiedrowski <paul_kiedrowski@...> wrote:

From: Paul Kiedrowski <paul_kiedrowski@...>
Subject: [pcb-gcode] DXF import to Eagle?
To: "PCB-Gcode" <pcb-gcode@...>
Date: Sunday, March 6, 2011, 10:03 PM




Does anyone know the best way to import a 2D DXF file into Eagle for the
purpose of board outline?

I tried dxf-import.ulp but didn't work (and only works with polygons
anyway).

Needed because its just too hard to draw a complex board outline from
within Eagle.

thanks
-Paul






--
Sent from a MacBook Pro


[Non-text portions of this message have been removed]

Re: DXF import to Eagle?

kcress1x@sbcglobal.net
 

Hi Paul,

When your question came up I ran to Eagle and tried that exact program because I've used it before with some success.
The first thing I noticed was that the units are lost.

This means that if you do, say, a drawing in Autocad and then DXF it. And run it thru dxf2scr-1.zip to get a script file. You MUST make sure the Eagle layout you're going to run the script in has the SAME 'grid' units setting as the original CAD units you created the DXF in. I drew a strange trapezoid in Autocad that had vertices at 4",4" and the result were vertices at 4,4mm. So watch that.

I next drew a partial box and then an ellipse. I polar array'd the ellipse so they overlapped in the center looking like a daisy.

I then laid a circle on top of the daisy centered. I trimmed everything inside away. I then completed the drawing box to one of the petals.

Next I trimmed things until the drawing was a single polygon you could draw without lifting your pen and with no overlaps at all.

I considered that if this could be converted it would exceed anything I'd ever want to see in a PCB.

I continued the process as above and ran the script. The result left out all the small arcs that where from the circle connecting the petal sides with the adjacent petal sides.

So, I didn't suggest the program to you... I'm glad it did end up working for you but I can't say it's completely "there" yet.

Cheers.
---Keith---

--- In pcb-gcode@..., Paul Kiedrowski <paul_kiedrowski@...> wrote:

Good news all, I've answered my own question.
 
I contacted Cadsoft and they pointed me to a FREE utility that is already available.
Go to www.cadsoftusa.com-> Downloads-> Miscellaneous. Look for dxf2scr-1.zip. This is a small Windows executable, which takes your DXF text file and spits out an EAGLE script file. After you generate the script file just open a new blank board file in Eagle and click on the "SCR" menu button to run the script file that was generated.
 
The only limitation is that the DXF file cannot contain any poly-lines (lines combined into one entity with multiple vertices). It must be fully exploded into simple lines. You can do that with most 2D CAD programs by exploding all entities, or "breaking" lines.
 
I tried it and it ran perfectly on a board outline that would have probably taken me hours to enter directly into Eagle. It pulled in lines, arcs, and circles (all that was in my DXF).
I'm not sure what DXF versions it will work with, but I tried both a R12 and 2007 version and both worked OK.  I should note the following pointers:

1) If you pull in the DXF using zero linewidths, all circles will be filled, so it may be better to use the default value of 0.001 inch (you can set it to mm or inches). You can fill them later by setting linewidth to zero.
 
 
2) You must tell it the name of the script file output to use. Make sure you add the ".scr" file extension too.
 
3) The origin of the DXF file will be the same as the Eagle board origin. You can enter an X/Y offset when importing (it doesn't rotate but you can form a group in Eagle and rotate it there).
 
4) It always imports the DXF onto layer 20. No option to set that. However you can easily edit the script file near the top, just change "LAYER DIMENSION" to whatever layer name you want.
 
Good Luck
-Paul

--- On Sun, 3/6/11, Paul Kiedrowski <paul_kiedrowski@...> wrote:


From: Paul Kiedrowski <paul_kiedrowski@...>
Subject: [pcb-gcode] DXF import to Eagle?
To: "PCB-Gcode" <pcb-gcode@...>
Date: Sunday, March 6, 2011, 10:03 PM


 



Does anyone know the best way to import a 2D DXF file into Eagle for the purpose of board outline?

I tried dxf-import.ulp but didn't work (and only works with polygons anyway).

Needed because its just too hard to draw a complex board outline from within Eagle.

thanks
-Paul











[Non-text portions of this message have been removed]

which one is good for PCB design of Xilinx Spartan XC6SLX75-2FG484C

Steve Qi
 

hello everyone,
 
we mainly have been a manufacturer of PCB, but did do some design work, not experienced guru.
 
Can anyone give some suggestion for which one is better for pcb design with Xilinx Spartan XC6SLX75-2FG484C - not complicated one  but allows programming, use of chip.
Orcad or Protel?
 
Steve
28 North Ring Rd.
Shijiazhuang, China
http://www.facebook.com/home.php#!/profile.php?id=100001362315920&sk=info
http://twitter.com/#!/aerotechpcb

--- On Tue, 3/8/11, Paul Kiedrowski <paul_kiedrowski@...> wrote:


From: Paul Kiedrowski <paul_kiedrowski@...>
Subject: Re: [pcb-gcode] DXF import to Eagle?
To: pcb-gcode@...
Date: Tuesday, March 8, 2011, 7:52 PM


 



Good news all, I've answered my own question.
 
I contacted Cadsoft and they pointed me to a FREE utility that is already available.
Go to www.cadsoftusa.com-> Downloads-> Miscellaneous. Look for dxf2scr-1.zip. This is a small Windows executable, which takes your DXF text file and spits out an EAGLE script file. After you generate the script file just open a new blank board file in Eagle and click on the "SCR" menu button to run the script file that was generated.
 
The only limitation is that the DXF file cannot contain any poly-lines (lines combined into one entity with multiple vertices). It must be fully exploded into simple lines. You can do that with most 2D CAD programs by exploding all entities, or "breaking" lines.
 
I tried it and it ran perfectly on a board outline that would have probably taken me hours to enter directly into Eagle. It pulled in lines, arcs, and circles (all that was in my DXF).
I'm not sure what DXF versions it will work with, but I tried both a R12 and 2007 version and both worked OK.  I should note the following pointers:

1) If you pull in the DXF using zero linewidths, all circles will be filled, so it may be better to use the default value of 0.001 inch (you can set it to mm or inches). You can fill them later by setting linewidth to zero.
 
 
2) You must tell it the name of the script file output to use. Make sure you add the ".scr" file extension too.
 
3) The origin of the DXF file will be the same as the Eagle board origin. You can enter an X/Y offset when importing (it doesn't rotate but you can form a group in Eagle and rotate it there).
 
4) It always imports the DXF onto layer 20. No option to set that. However you can easily edit the script file near the top, just change "LAYER DIMENSION" to whatever layer name you want.
 
Good Luck
-Paul

--- On Sun, 3/6/11, Paul Kiedrowski <paul_kiedrowski@...> wrote:

From: Paul Kiedrowski <paul_kiedrowski@...>
Subject: [pcb-gcode] DXF import to Eagle?
To: "PCB-Gcode" <pcb-gcode@...>
Date: Sunday, March 6, 2011, 10:03 PM

 

Does anyone know the best way to import a 2D DXF file into Eagle for the purpose of board outline?

I tried dxf-import.ulp but didn't work (and only works with polygons anyway).

Needed because its just too hard to draw a complex board outline from within Eagle.

thanks
-Paul

Re: DXF import to Eagle?

Paul Kiedrowski
 

Good news all, I've answered my own question.
 
I contacted Cadsoft and they pointed me to a FREE utility that is already available.
Go to www.cadsoftusa.com-> Downloads-> Miscellaneous. Look for dxf2scr-1.zip. This is a small Windows executable, which takes your DXF text file and spits out an EAGLE script file. After you generate the script file just open a new blank board file in Eagle and click on the "SCR" menu button to run the script file that was generated.
 
The only limitation is that the DXF file cannot contain any poly-lines (lines combined into one entity with multiple vertices). It must be fully exploded into simple lines. You can do that with most 2D CAD programs by exploding all entities, or "breaking" lines.
 
I tried it and it ran perfectly on a board outline that would have probably taken me hours to enter directly into Eagle. It pulled in lines, arcs, and circles (all that was in my DXF).
I'm not sure what DXF versions it will work with, but I tried both a R12 and 2007 version and both worked OK.  I should note the following pointers:

1) If you pull in the DXF using zero linewidths, all circles will be filled, so it may be better to use the default value of 0.001 inch (you can set it to mm or inches). You can fill them later by setting linewidth to zero.
 
 
2) You must tell it the name of the script file output to use. Make sure you add the ".scr" file extension too.
 
3) The origin of the DXF file will be the same as the Eagle board origin. You can enter an X/Y offset when importing (it doesn't rotate but you can form a group in Eagle and rotate it there).
 
4) It always imports the DXF onto layer 20. No option to set that. However you can easily edit the script file near the top, just change "LAYER DIMENSION" to whatever layer name you want.
 
Good Luck
-Paul

--- On Sun, 3/6/11, Paul Kiedrowski <paul_kiedrowski@...> wrote:


From: Paul Kiedrowski <paul_kiedrowski@...>
Subject: [pcb-gcode] DXF import to Eagle?
To: "PCB-Gcode" <pcb-gcode@...>
Date: Sunday, March 6, 2011, 10:03 PM


 



Does anyone know the best way to import a 2D DXF file into Eagle for the purpose of board outline?

I tried dxf-import.ulp but didn't work (and only works with polygons anyway).

Needed because its just too hard to draw a complex board outline from within Eagle.

thanks
-Paul

Re: DXF import to Eagle?

markotime <markotime@...>
 

For those investigating ACE Converter, be aware that there is a serious bug (well, bad error) in the way ACE interprets arcs which use the "bulge" convention. Some CAD programs (MS Visio, for one!) generate DXF code using the bulge arc convention, and ACE will NOT create GCode properly.

Neither the author of ACE (who also created CNCPro) nor DAK (who created some improvements unker the GPL) were able to address this problem, as I recall. /mark

--- In pcb-gcode@..., Aaron Franzen <aaron.franzen@...> wrote:

There is a free dxf to g-code converter out there, and it is used by a
number of other packages. This should work, but you may have to manually
edit the g-code for z-axis levels. It's called ACE converter, and has
worked for me before discovering pcb-gcode.

http://www.dakeng.com/ace.html

<http://www.dakeng.com/ace.html>Let me know how it works.

-Aaron

On Sun, Mar 6, 2011 at 11:13 PM, KM6VV <KM6VV@...> wrote:



I wondered about that. I have the same problem! I noticed the DXF
layer, but I saw no way to import. You've given me a clue...

'Hope somebody has the answer!

Alan KM6VV


On 3/6/2011 8:03 PM, Paul Kiedrowski wrote:
Does anyone know the best way to import a 2D DXF file into Eagle for the
purpose of board outline?

I tried dxf-import.ulp but didn't work (and only works with polygons
anyway).

Needed because its just too hard to draw a complex board outline from
within Eagle.

thanks
-Paul





------------------------------------

Find us on Facebook:
http://www.facebook.com/group.php?gid=324296011726&ref=ts


Also check out the Phorum http://www.pcbgcode.org/

Yahoo! Groups Links