Author Topic: Is there any PCB design software that will allow me to use an image as a guide?  (Read 23970 times)

0 Members and 4 Guests are viewing this topic.

Offline MaximRecoilTopic starter

  • Regular Contributor
  • *
  • Posts: 236
  • Country: us
For example, if I wanted to recreate an existing PCB, the easiest way to do it would be to scan the PCB in at e.g., 600 DPI, drag the image into design software, set the opacity to about 50%, and then layout the PCB design on top of it, using it as a guide. When finished, the image can be deleted. That's exactly how I would do it in e.g., Adobe Illustrator, but unfortunately, vector files aren't used for manufacturing PCBs (not that I know of anyway). There's no technical reason why they couldn't be used, provided a standard method of layering was agreed upon, i.e., put the silkscreen layout on one layer, the drill holes on another layer, and so on.

In any case, is there any PCB design software that allows for that? It would save me from having to do a bunch of manual measurements to determine trace/pad size, positioning, and shape.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14020
  • Country: gb
    • Mike's Electric Stuff
Some PCB packages will import vector-based formats like DXF and/or gerber, so if you can get to one of those you may stand a better chance.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline MaximRecoilTopic starter

  • Regular Contributor
  • *
  • Posts: 236
  • Country: us
I have Cadsoft Eagle. Can it do that? If not, which ones can?
 

Offline DerekG

  • Frequent Contributor
  • **
  • Posts: 883
  • Country: nf
Circad will do this for you, but it would be unusual to buy a CAD package for this type of one-off requirement.

http://holophase.com/features.htm

Half way down the above webpage "A Tool for Reverse Engineering"
I also sat between Elvis & Bigfoot on the UFO.
 

Offline MaximRecoilTopic starter

  • Regular Contributor
  • *
  • Posts: 236
  • Country: us
Circad will do this for you, but it would be unusual to buy a CAD package for this type of one-off requirement.

http://holophase.com/features.htm

Half way down the above webpage "A Tool for Reverse Engineering"

That's awesome. It reads almost exactly like my original post, including the part about deleting the image when you're done:

Quote
With pixel images integrated into PCB data files, reverse engineering a circuit becomes as simple as placing actual parts and tracks on top of the pictures of the parts and the tracks. An assortment of pixel image processing functions are available to rotate, scale, and transform the images so they are properly grid-aligned with the real world. Once the new layout is complete, the superfluous image data can be discarded.

Why doesn't all PCB design software have such functionality?
 

Offline NottheDan

  • Frequent Contributor
  • **
  • Posts: 281
  • Country: gb
Eagle can already import bitmap images, can't it? It will divide them into layers based on colour and display them as rectangle blocks. But with properly cleaned-up images that should do the job well enough, shouldn't it?
 

Offline MaximRecoilTopic starter

  • Regular Contributor
  • *
  • Posts: 236
  • Country: us
This is quite a coincidence. I've been emailing back and forth with someone who has done quite a few nice reproductions of ancient PCBs, and I asked him what he uses for PCB design software. I didn't mention anything about wanting to use an image as a guide, but this is what he said:

Quote
For the reproductions I am using Sprint Layout
(http://www.abacom-online.de/uk/html/sprint-layout.html),
you can load a JPEG image as a background for the PCB design.
Using this way you can re-draw the board. For my own designs
I am using Eagle.

Given his excellent results, I think I'll give that a try.
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
I have Cadsoft Eagle. Can it do that? If not, which ones can?

DipTrace can import DXF and Gerber files. If you have a PDF file that contains a layout, you can use "pstoedit" to convert it from PostScript to DXF.

For raster images, DipTrace will also allow you to apply a BMP/PNG/JPEG as a Silk/Assembly/Paste/Copper layer. So long as you crop and scale your image in a vector editor (GIMP/PhotoShop/Pixelmator) it should work fine. (Be aware the import will flatten the image to black and white (not grayscale), so you might want to do that yourself in a image editor before hand.)

Edit: Once I scanned an old PCB and separated the traces from pads into separate layers using my photo editor, then I ran the layers through an online raster to vector converter, took the resulting SVGs and converted them to a single multilayer DXF and imported it into DipTrace. During import, DipTrace let's you assign each DXF layer to something different (pads, top and bottom copper, silk, paste, etc.), which allowed me to have a fully editable version of the board that I could produce Gerbers from.
« Last Edit: November 24, 2016, 07:32:53 pm by timb »
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline MaximRecoilTopic starter

  • Regular Contributor
  • *
  • Posts: 236
  • Country: us

Edit: Once I scanned an old PCB and separated the traces from pads into separate layers using my photo editor, then I ran the layers through an online raster to vector converter, took the resulting SVGs and converted them to a single multilayer DXF and imported it into DipTrace. During import, DipTrace let's you assign each DXF layer to something different (pads, top and bottom copper, silk, paste, etc.), which allowed me to have a fully editable version of the board that I could produce Gerbers from.

That sounds like a nice way of doing it. Personally, I would vectorize the raster image manually, because that sort of thing is my specialty (I'm a screen printer; everything I print is from vector files). That's a good option for me to consider. Thanks.
 

Offline jpanhalt

  • Super Contributor
  • ***
  • Posts: 3815
  • Country: us
In answer to your earlier question whether Eagle can import DXF, the answer is yes.   In my version, it is a ulp.  I don't know about the lastest version.  The program I use is "import-dxf-1_6.ulp."  I use it quite frequently when needing a complex geometry.  You can important into almost any layer.  I generally use the dimension layer.  Oh, and be sure to specify in the import dialog whether the dimensions are imperial or metric.

John
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Is there any PCB design software that will allow me to use an image as a guide?
« Reply #10 on: November 25, 2016, 03:18:14 am »

Edit: Once I scanned an old PCB and separated the traces from pads into separate layers using my photo editor, then I ran the layers through an online raster to vector converter, took the resulting SVGs and converted them to a single multilayer DXF and imported it into DipTrace. During import, DipTrace let's you assign each DXF layer to something different (pads, top and bottom copper, silk, paste, etc.), which allowed me to have a fully editable version of the board that I could produce Gerbers from.

That sounds like a nice way of doing it. Personally, I would vectorize the raster image manually, because that sort of thing is my specialty (I'm a screen printer; everything I print is from vector files). That's a good option for me to consider. Thanks.

Yes, at the time I only had Pixelmator (which is like a nice lightweight alternative to Photoshop on macOS) and it was quicker for me to do it like that. These days I'd use AutoDesk Graphic (formerly iDraw) and import the scanned board as a raster layer, then trace over it with vector paths. I'd then export it as a PDF and run it through "pstoedit" which is a great little CLI program that converts PostScript files to tons of different vector formats, including DXF.

I've used the Graphic -> PDF -> pstoedit -> DXF workflow a lot lately to create custom, intricate pad shapes for DipTrace and it works surprisingly well. Dimensions are maintained perfectly throughout the conversion process.
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline rbm

  • Regular Contributor
  • *
  • Posts: 230
  • Country: ca
This Adafruit tutorial on Creating Accurate Footprints in Eagle uses a technique of importing a bitmap file for a footprint outline, which the designer then traces and later deletes.  This same technique could probably be used for your entire PCB duplication.
- Robert
 

Offline MaximRecoilTopic starter

  • Regular Contributor
  • *
  • Posts: 236
  • Country: us
I've used the Graphic -> PDF -> pstoedit -> DXF workflow a lot lately to create custom, intricate pad shapes for DipTrace and it works surprisingly well. Dimensions are maintained perfectly throughout the conversion process.

I really like this idea, because I can very accurately reproduce almost anything in Illustrator; the drawing tools are far superior to anything you'd find integrated into a PCB design program; drawing is Illustrator's specialty, and it's the de facto industry standard. This would be especially good for the silkscreen layer, because in Illustrator I can match text exactly, even if I don't have the correct font. Plus, I've been using Illustrator for about 12 years, so that alone makes things a lot easier.

Illustrator can export to .DXF, though there are sometimes issues with its .DXF files when used in AutoCAD. As long as they stay 2D they are fine, but I've seen some weird anomalies when extruding them to 3D. I had a trial program whose sole function was to convert .AI and .PDF files to .DWG and .DXF, and that did a beautiful job ("pdf2cad"), no issues even when extruding to 3D. It sounds like pstoedit may be just as good, and it's free. I see it uses ghostscript, which I've used in the past (along with GSView) for effectively turning my printer into a Postscript printer (which allows me to print halftone film positives for screen printing; you'd normally need a Postscript printer or [expensive] RIP software (such as Accurip) to do that.
« Last Edit: November 25, 2016, 07:21:08 am by MaximRecoil »
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Is there any PCB design software that will allow me to use an image as a guide?
« Reply #13 on: November 25, 2016, 08:40:52 am »
I've used the Graphic -> PDF -> pstoedit -> DXF workflow a lot lately to create custom, intricate pad shapes for DipTrace and it works surprisingly well. Dimensions are maintained perfectly throughout the conversion process.

I really like this idea, because I can very accurately reproduce almost anything in Illustrator; the drawing tools are far superior to anything you'd find integrated into a PCB design program; drawing is Illustrator's specialty, and it's the de facto industry standard. This would be especially good for the silkscreen layer, because in Illustrator I can match text exactly, even if I don't have the correct font. Plus, I've been using Illustrator for about 12 years, so that alone makes things a lot easier.

Illustrator can export to .DXF, though there are sometimes issues with its .DXF files when used in AutoCAD. As long as they stay 2D they are fine, but I've seen some weird anomalies when extruding them to 3D. I had a trial program whose sole function was to convert .AI and .PDF files to .DWG and .DXF, and that did a beautiful job ("pdf2cad"), no issues even when extruding to 3D. It sounds like pstoedit may be just as good, and it's free. I see it uses ghostscript, which I've used in the past (along with GSView) for effectively turning my printer into a Postscript printer (which allows me to print halftone film positives for screen printing; you'd normally need a Postscript printer or [expensive] RIP software (such as Accurip) to do that.

Exactly! Since you've got Illustrator, you should be able to churn out pretty much anything you'd need vector wise.

One nice thing about pstoedit is it gives you fine grain control over the conversion. For instance, you can convert to two different types of dxf files: Plain DXF and DXF_S (which supports splines). You can also add switches that can convert splines to polys or even polys to lines, and you can do it with whatever precision you desire (which controls how many points it produces when turning a spline to a poly or a series of lines).

Now, that may not be important in Eagle, it might support DXF files with splines, I'm not sure; DipTrace doesn't, so it's very nice to be able to convert them to polys.

I use it under macOS, but it should work under Windows just fine if you've got Ghostscript. I love GS as well! I've got it setup in my Windows 7 VM to provide a virtual PDF printer. It's so handy to be able to "print" a schematic directly to a PDF.

My current project involves a cap touch panel with a large number of buttons; using GS I can "print" my board layout to a PDF and then import that into my vector editor, AutoDesk Graphic. Now I've got an exact copy of my board outline with the exact position of the buttons (that's fully editable since it's vector) which I can use to create the silkscreen markings and laser cutting pattern for the acrylic overlay that goes on top of the cap touch PCB! That saves me a ton of time that I'd otherwise spend recreating the board in Graphic.

Let me know if you need any help with pstoedit, it has a lot of options so it may seem daunting at first, but I've found it's actually pretty easy to use once you narrow down the options. :)

Edit: Oh, something else I've found handy lately, is when I'm creating a new part in my PCB software, I start by importing a manufacturer's assembly drawing PDF into Graphic, cleaning it up so only the drawing of the component remains (deleting the dimensions, arrows, etc.), scaling it and then converting it to a DXF file. I then import that to the assembly layer of the part I'm creating in DipTrace. Saves me a *ton* of time drawing the assembly by hand.

I've done this about a dozen times in the last week while looking for the right LCD for this project. It allows me to see exactly how it will fit on my board.
« Last Edit: November 25, 2016, 10:47:41 pm by timb »
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 


Offline MaximRecoilTopic starter

  • Regular Contributor
  • *
  • Posts: 236
  • Country: us

Let me know if you need any help with pstoedit, it has a lot of options so it may seem daunting at first, but I've found it's actually pretty easy to use once you narrow down the options. :)

As a test, I drew some random traces in Illustrator, saved as a PDF, then converted to DXF in pstoedit. I opened DipTrace > PCB Layout, then File > Import > DXF. It brought up this screen -
.

In the drop-down menu for "Convert to:", which do I select in order for that to become the top traces? Also, can I draw the pads as part of the traces in Illustrator, like this -
? Or would I have to import the pads as a separate DXF file?
« Last Edit: November 26, 2016, 03:11:07 am by MaximRecoil »
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us

Let me know if you need any help with pstoedit, it has a lot of options so it may seem daunting at first, but I've found it's actually pretty easy to use once you narrow down the options. :)

As a test, I drew some random traces in Illustrator, saved as a PDF, then converted to DXF in pstoedit. I opened DipTrace > PCB Layout, then File > Import > DXF. It brought up this screen -
.

In the drop-down menu for "Convert to:", which do I select in order for that to become the top traces? Also, can I draw the pads as part of the traces in Illustrator, like this -
? Or would I have to import the pads as a separate DXF file?

I don't think pstoedit can do multilayer DXF files, so what I'd do is export each layer from Illustrator as a separate PDF, convert each to DXF and import each as a separate object. Make sure up at the top right hand side of the import window you change it from "New" to "Add" so it imports each DXF onto your existing design.

For top side traces (well, copper in general) you'd select "Top" from that list, which is the default name of the top copper layer.

For through hole pads, the second image you posted will work, however I'd move the "inner circle" (the actual hole itself) of each pad to a separate layer, then import them separately as holes.

*Or* you could have three layers: Traces, pads, holes. That way, when you import the "pads" layer it can be applied to both sides of the board.

So, the first import would be the copper traces. The second would be copper pads (which would essentially show up as completely filled circles). The last layer would be the drill hits. That's also how a Gerber file is interpreted. (A drill hit centered on a copper pad is considered a plated through hole.)

Alternatively, you could only draw and import the traces (like your first image) and then use DipTrace to drop your SMD/PTH pads and holes. It's pretty simple to do, just click the "pads" button, drop them where you want, double click and select if they should be through-hole or SMD.

Also, when you do the pstoedit conversion, you might want to specify "dxf: -mm" and then set the Units option in the import window in DipTrace to Millimeters. That way you can make sure the scale is kept.

Oh, one more thing, be sure to define your board outline as well: Object -> Board Points. :)


Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline MaximRecoilTopic starter

  • Regular Contributor
  • *
  • Posts: 236
  • Country: us

For through hole pads, the second image you posted will work, however I'd move the "inner circle" (the actual hole itself) of each pad to a separate layer, then import them separately as holes.

I was wondering about doing it that way, and you answered it before I asked. I have designed, and had manufactured, one very simple PCB, about 4 years ago. I did it in Eagle, but all I did was follow a multipart tutorial on YouTube and substitute my design for the one in the tutorial. I didn't retain much of it. I remember the multiple output files deal is rather convoluted (.cmp, .drd, .plc, .pls, .sol, and so on) compared to files I'm used to dealing with (such as vector files), where you can put all your layers in one file and call it good. It strikes me as some sort of legacy system that is so well ensconced in the industry that no one wants to change it.

Quote
*Or* you could have three layers: Traces, pads, holes. That way, when you import the "pads" layer it can be applied to both sides of the board.

So, the first import would be the copper traces. The second would be copper pads (which would essentially show up as completely filled circles). The last layer would be the drill hits. That's also how a Gerber file is interpreted. (A drill hit centered on a copper pad is considered a plated through hole.)

Alternatively, you could only draw and import the traces (like your first image) and then use DipTrace to drop your SMD/PTH pads and holes. It's pretty simple to do, just click the "pads" button, drop them where you want, double click and select if they should be through-hole or SMD.

Also, when you do the pstoedit conversion, you might want to specify "dxf: -mm" and then set the Units option in the import window in DipTrace to Millimeters. That way you can make sure the scale is kept.

Oh, one more thing, be sure to define your board outline as well: Object -> Board Points. :)

Awesome information; thanks. I'll most likely have more questions once I get started. Before I can get started I have to depopulate the PCB that I intend to reproduce and scan it in, and before I do that, I'm waiting for some sockets and other parts in the mail. I figure I might as well put in some new parts if I'm removing everything anyway. Fortunately, it is a small PCB (74 x 74mm) and doesn't have many parts (7 DIP chips and some resistors and capacitors, all through-hole).
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Is there any PCB design software that will allow me to use an image as a guide?
« Reply #18 on: November 26, 2016, 11:16:40 pm »

For through hole pads, the second image you posted will work, however I'd move the "inner circle" (the actual hole itself) of each pad to a separate layer, then import them separately as holes.

I was wondering about doing it that way, and you answered it before I asked. I have designed, and had manufactured, one very simple PCB, about 4 years ago. I did it in Eagle, but all I did was follow a multipart tutorial on YouTube and substitute my design for the one in the tutorial. I didn't retain much of it. I remember the multiple output files deal is rather convoluted (.cmp, .drd, .plc, .pls, .sol, and so on) compared to files I'm used to dealing with (such as vector files), where you can put all your layers in one file and call it good. It strikes me as some sort of legacy system that is so well ensconced in the industry that no one wants to change it.

Yes, what you exported from Eagle to have the PCBs made are called Gerber files. It's a vector format designed specifically for PCB manufacturing use that's at least 30 years old now.

Each of those files represents a different layer: Top Silk, Bottom Silk, Top Copper, Bottom Copper, Top Mask, Bottom Mask, Top Solder Paste, Bottom Solder Paste, the Board Outline and so forth.

Holes are exported in a format called NC Drill. This file lists the various sizes of drill bit needed and tells the drill how to move and when the bit should go up or down. It's not unlike the HPGL format used for plotters.

The reason these "layers" are in separate files is because, traditionally, each step of the PCB creation involved different pieces of equipment and completely separate masks. Even today, producing a PCB requires a lot of "hands on" and is still labor intensive. Yes, there is automation for each step, but someone still has to move the racks of panels between processes and oversee everything.

I was thinking about these files you're exporting from Illustrator... Right now, you're exporting each layer as a separate PDF and running them through pstoedit, right? Well, if Illustrator supports native DXF exporting, you might be able to save some time and see if you can export a *single* multilayer DXF file. DipTrace *does* support those.

Quote
Awesome information; thanks. I'll most likely have more questions once I get started. Before I can get started I have to depopulate the PCB that I intend to reproduce and scan it in, and before I do that, I'm waiting for some sockets and other parts in the mail. I figure I might as well put in some new parts if I'm removing everything anyway. Fortunately, it is a small PCB (74 x 74mm) and doesn't have many parts (7 DIP chips and some resistors and capacitors, all through-hole).

Great! I think this system will work alright for you. I'm here to help. :)
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 1940
  • Country: au
... That's exactly how I would do it in e.g., Adobe Illustrator, but unfortunately, vector files aren't used for manufacturing PCBs (not that I know of anyway).

Err, actually PCBs are created using vector files, the common format uses is Gerber Photoplot file variants, and Excellon Drill file variants.

... Also, can I draw the pads as part of the traces in Illustrator, like this -

Whilst  you could do that, for some special cases* of output, you  probably are better using round entities for PADS and Holes.

*One special case for that outline-mode, could be if you wanted to use a Milling machine to cut bare copper for your PCB.
If you want to use more conventional PCB FAB of silk-screened PCB and plated thru solder masked holes, then see below.

... drawing is Illustrator's specialty, and it's the de facto industry standard. This would be especially good for the silkscreen layer, because in Illustrator I can match text exactly, even if I don't have the correct font. Plus, I've been using Illustrator for about 12 years, so that alone makes things a lot easier.

If you are an Illustrator Guru, and do not want overly complex PCBs  as in  " Fortunately, it is a small PCB (74 x 74mm) and doesn't have many parts (7 DIP chips and some resistors and capacitors, all through-hole)."

a quick Google finds others have been before you ... look at this - PDF to Gerber is exactly what you want, as it also does the Holes, and manages solder mask and silkscreen...

http://swannman.github.io/pdf2gerb/
pdf2gerb: Convert PDF to Gerber and NC Drill formats

The author even says this - exactly the Adobe Illustrator flow you are after!!  :)

"I prefer to design circuit board layouts in Adobe Illustrator — it's a familiar tool and I get results quickly. PCB manufacturers expect designs in Gerber + NC Drill format, however, and the best Illustrator can do is export to PDF."

That's all you need. No additional CAD to learn, and no redrawing / tracing ....


 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
I tried pdf2gerb when I was trying to replicate the board I was discussing earlier and had very poor results with it. That's why I ended up going the PDF -> DXF -> DipTrace route.

It might work for a one off, so the OP should give it a try, but I wouldn't expect too much out of it.
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline MaximRecoilTopic starter

  • Regular Contributor
  • *
  • Posts: 236
  • Country: us
For through hole pads, the second image you posted will work, however I'd move the "inner circle" (the actual hole itself) of each pad to a separate layer, then import them separately as holes.

I imported the holes file but they didn't show up. I imported the board outline first, then the traces, then the pads, and those all showed up fine. I tried all of the relevant import options, i.e., importing them as "pad holes", then trying it as "all holes", then "Mt Holes", and none of them worked. I was able to click on pads, set them to through-hole, specify a hole size, and that worked.

If all else fails I could do all the pad holes like that, then import my holes file as anything other than one of the holes options (such as a silkscreen layer) so that it shows up, then use the "place mounting hole" function to place the non-pad holes, using my holes file as a guide.

Is there any way to get more precision from the pstoedit PDF-to-DXF conversion? Everything is showing up in DipTrace as crude polygons instead of circles/curves:



When creating the bottom silkscreen file, are you supposed to mirror it?

Quote
I was thinking about these files you're exporting from Illustrator... Right now, you're exporting each layer as a separate PDF and running them through pstoedit, right? Well, if Illustrator supports native DXF exporting, you might be able to save some time and see if you can export a *single* multilayer DXF file. DipTrace *does* support those.

I tried an Illustrator-export-to-DXF before trying pstoedit, and it just showed up as semi-random garbage when DipTrace tried to import it.
« Last Edit: November 28, 2016, 04:31:10 am by MaximRecoil »
 

Offline PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 1940
  • Country: au
I tried pdf2gerb when I was trying to replicate the board I was discussing earlier and had very poor results with it. That's why I ended up going the PDF -> DXF -> DipTrace route.

It might work for a one off, so the OP should give it a try, but I wouldn't expect too much out of it.

I've not tried it myself, but scripts like that will always be quite tool-specific - ie not work with any PDF, but should work ok with Illustrator-generated PDF, and only with the settings they give.

Which versions of Illustrator, and pdf2gerb, did you try ?
 

Offline PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 1940
  • Country: au
When creating the bottom silkscreen file, are you supposed to mirror it?

Usually bottom copper text and silkscreen text are mirrored in the PCB CAD so you get a sensible viewing system.
Some PCB tools allow a flip to bottom view, which changes the viewpoint.

At plot time, it is optional if you mirror-back the bottom silkscreen etc, as the PCB FAB will also sort that.

It is a good idea to have some label text on all plot layers, so the PCB FAB can easily see 'which way round' it needs to be.
 

Offline MaximRecoilTopic starter

  • Regular Contributor
  • *
  • Posts: 236
  • Country: us
I tried pdf2gerb when I was trying to replicate the board I was discussing earlier and had very poor results with it. That's why I ended up going the PDF -> DXF -> DipTrace route.

It might work for a one off, so the OP should give it a try, but I wouldn't expect too much out of it.

I've not tried it myself, but scripts like that will always be quite tool-specific - ie not work with any PDF, but should work ok with Illustrator-generated PDF, and only with the settings they give.

Which versions of Illustrator, and pdf2gerb, did you try ?

I tried it (Illustrator CS4 and pdf2gerb 1.6, which seems to be the latest version), and the output files were garbage.

Apparently the DXF format doesn't support bezier curves, which is bizarre. One of the PCBs I want to duplicate appears to have been designed/drawn by hand on paper due to the lack of perfect geometry, spacing, and slight width variances of the traces, and the traces are full of curves. DXF turns curves into ugly polygons, like in my screenshot above. Does the Gerber format itself support bezier curves? And if so, which Gerber software has a bezier tool?

Also, I'm getting tons of DRC errors, like hundreds or thousands of them, all on the pads and traces. They are all "gap" related. The most common one is "Gap=0 mm; Rule=152mm". I have no idea what "gaps" they are referring to. There are no "0 mm" gaps between anything in the design (which would mean things were touching):



This is what the original Illustrator file looks like:

« Last Edit: November 29, 2016, 04:29:45 am by MaximRecoil »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf