Solidworks Pcb Open Gerber Files

You should have both a.SchDoc file (schematic) and a.PcbDoc file (PCB layout) at this stage. Generating Gerber Files Step 1: First, navigate to “File” tab at the top left corner of the program window. Next select “Fabrication Outputs” and in that drop-down menu select “Gerber Files”. Working with circuit boards/gerber files I have designed a custom circuit board that I now want to model a case for, is there a way I can import the gerber files into Fusion to work with? Will Fusion create a model based on those files so I can test fit components before 3D printing the case?

  1. Solidworks Pcb Cost
  2. Solidworks Pcb Open Gerber Files Extension

In this Gerber tutorial, I will teach you how to create the files you need for a 2-layer board using Cadsoft Eagle. After you have completed this tutorial you will have all the necessary files needed to send to most PCB manufacturers.

This tutorial is out of date. I have switched to KiCad, so I recommend the updated tutorial How to Create Gerber Files in KiCad.

Step 1: Open the CAM Processor

Open

In Eagle, open Board view. Click the “CAM” button or choose “File->CAM Processor”. This will open the CAM Processor tool that is used to generate the files.

Here you can define the sections you want to create files for.

But you don’t really need to understand this. Actually I have never really thought about the details of this until I was writing this article. I have just been using ready-made configurations. And that is probably what you want to do as well.

Gerber

Solidworks Pcb Cost

Step 2: Open a predefined job

To simplify creating Gerber files, Eagle comes with a predefined job for this. It is called gerb274x.cam.

(Note: If you want to order PCBs from Seeed Studio’s Fusion PCB service, you should instead download their own CAM-file from the bottom of their submission guidelines page. Be aware that this will give you different file names than the ones listed below in this article.)

To open it in the CAM Processor click “File->Open->Job…”

Browse to your …/eagle/cam/ folder, and you should see a file called gerb274x.cam. Choose it and click “Open”.

You will now see five tabs in the CAM Processor. Each of these tabs will generate a Gerber file.

Step 3: Adding a second silk screen (Optional)

If you look at the tabs, you will see that you don’t have a file for silk screen bottom. For simple boards, the silk screen is usually on the top layer so that you don’t need the bottom. Some of the cheap circuit board manufacturers don’t even allow bottom silk screen.

But if you need silk screen on bottom layer as well, follow these steps:

  • Click “Add”
  • Change Section to something like “Silk Screen SOL”
  • Change File to “%N.pls”
  • Deselect all layers
  • Select layers 20 “Dimension”, 22 “bPlace” and 26 “bNames”

There you go.

Step 4: Create each gerber file

Select where you want to put the Gerber files by clicking on the “File” button and choosing a folder. Do this for all the tabs.

OpenPcb

Then click “Process Job”. This creates your Gerber files.

Solidworks Pcb Open Gerber Files Extension

Step 5: Adding file for drill holes

Even though drilling is supported by the Gerber format, manufacturers usually want the Excellon file format for specifying drill holes. Luckily, Eagle also comes with a predefined job for creating a drill file.

(Note: This step is automatically done if you’re using the CAM-file from Seeed Studio that I linked to in step 2.)

Open it in the CAM Processor by clicking “File->Open->Job…”

Browse to your …/eagle/cam/ folder, and open the file named “excellon.cam”.

Select where to put the output file by clicking on the “File” button.

Then click “Process Job” to create your Excellon file.

Step 6: Check output files

You should now have the following files:

  • *.cmp (Copper, component side)
  • *.drd (Drill file)
  • *.dri (Drill Station Info File) – Usually not needed
  • *.gpi (Photoplotter Info File) – Usually not needed
  • *.plc (Silk screen, component side)
  • *.pls (Silk screen, solder side)
  • *.sol (Copper, solder side)
  • *.stc (Solder stop mask, component side)
  • *.sts (Solder stop mask, solder side)
Gerber

After you have created each gerber file, you should always look at them using a Gerber viewer to make sure everything is ok.

Summary

This Gerber tutorial shows one way of creating the files you need. Even though this should be OK for many PCB manufacturers, you might find that some would want the files created in a slightly different way. If so, don’t worry, they will probably provide you with a Job file you can load directly into Eagle or at least have a good explanation on how to do it on their website.

Check out more articles on PCB design by clicking this link:
Return from Gerber File to PCB Design

Importing into SolidWorks

So, let's import this into SolidWorks and see what we get. What would we like to get? Something like a multi-layer sandwidth: Each Gerber conductor layer on its own Z-level in SolidWorks with a given thickness. Between each conductor layer a solid body representing the FR4. Drill holes running through the entire assembly like toothpicks holding the whole thing together.

Importing

We are going to import into a SolidWorks part. We will start by just importing the top layer. We import it as a new part and the data as a 2D Sketch. here is what it looks like as it first comes in:


You can see that our circuit traces have lost their width but the solids for the square pads are OK. To convert this to a part, we have to selected the closed regions (i.e. the pads) and extrude them along Z. The actual thickness is about 0.0014 inch (assuming 1 oz.copper) but we will use 0.004 inch so that we can actually see something in 3D.

In order to extrude this, I had to first delete the sketch lines for the traces (as they don't form a closed body they can't be there), select the rest of the 2D sketch lines and then use the extude/boss function to extrude by 0.004 inch in the Z direction. I also set the material to copper which gives the data its brownish color.


I can now save this as a 'part' we'll call TOP_LAYER.SLDPRT

So you can see that to import just one layer requires several manual steps and we have yet to be able to import the traces.