Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
isel_icv4030:milling_pcb_s_v2 [2024/09/04 06:07] – formlab | isel_icv4030:milling_pcb_s_v2 [2024/09/06 05:09] (current) – [Single layered PCB] formlab | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Milling PCB's ====== | ====== Milling PCB's ====== | ||
v2 | v2 | ||
+ | |||
+ | ===== Single layered PCB ===== | ||
+ | You will be milling the copper away. Soldering is done on the copper side. The components go on the other side, so in the PCB software, make the traces on the **bottom layer**! | ||
+ | |||
+ | Make circuit and PCB layout in Kicad. Save the Kicad project. | ||
+ | |||
+ | * Open Freecad | ||
+ | * Select the KicadStepUp workbench | ||
+ | * Click the '' | ||
+ | * The PCB without the pads and traces appears | ||
+ | * Click the '' | ||
+ | * The pads and traces appear | ||
+ | * Select the top object (more info please) and export (file > export. Select STEP). | ||
+ | |||
+ | Open Fusion 360 | ||
+ | |||
+ | Organize the files | ||
+ | * Upload the STEP file | ||
+ | * The file comes in the following components: | ||
+ | * PCB (the PCB board itself) | ||
+ | * PCB Sketch | ||
+ | * top pads | ||
+ | * bottom pads | ||
+ | * top tracks | ||
+ | * bottom tracks | ||
+ | * Delete the '' | ||
+ | |||
+ | Align the pads with the tracks | ||
+ | * Select the bottom pads components and press '' | ||
+ | * Move the pads up '' | ||
+ | |||
+ | Extrude the pads | ||
+ | * Only show the pad component | ||
+ | * Press '' | ||
+ | * Drag a selection rectangle over all the pads. | ||
+ | * You can now show the PCB component to make sure you're extruding into it. | ||
+ | * Set distance to '' | ||
+ | |||
+ | Extrude the tracks | ||
+ | * Only show the tracks component | ||
+ | * Press '' | ||
+ | * Drag a selection rectangle over all the tracks. | ||
+ | * You can now show the PCB component again to make sure you're extruding into it. | ||
+ | * Set distance to '' | ||
+ | |||
+ | Info: We're not joining because due to the many faces overlapping each other this often doesn' | ||
+ | |||
+ | Go to Manufacture mode | ||
+ | * Create a setup and select all objects (PCB, tracks and Pads) as the model. | ||
+ | * Add a drilling operation | ||
+ | * Select the hole face of the hole through the copper. For some reason it doesn' | ||
+ | * Check '' | ||
+ | * Set the bottom height to '' | ||
+ | * Add a 3D contour option and set the bottom height to '' | ||
+ | |||
+ | Todo: | ||
+ | * I don't like the areas of the holes to be milled already. How can this be avoided? | ||
+ | * Organize the PCB drills for differently sized holes. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Old info ==== | ||
+ | |||
+ | |||
+ | |||
+ | Export to SVG | ||
+ | * Go to the PCB editor, Fabrication outputs > Gerbers | ||
+ | * Set 'Plot format' | ||
+ | * Set the output folder location | ||
+ | * Only enable the '' | ||
+ | * General options | ||
+ | * Enable: Check zone fills before plotting | ||
+ | * Enable: Use drill/place file origin | ||
+ | * Gerber options: | ||
+ | * Enable: use extended X2 format | ||
+ | * Enable: Include netlist attributes | ||
+ | * Plot and generate the drill files (default settings) | ||
+ | |||
+ | Add the drill data to the svg files | ||
+ | * Go to https:// | ||
+ | * Drag all the Gerber files onto the website and download the generated SVG file. (This is a good way to include the holes into the SVG file) | ||
+ | * This generates 5 SVG files: | ||
+ | - bottom | ||
+ | - top | ||
+ | - back copper | ||
+ | - edge cuts | ||
+ | - holes | ||
+ | |||
+ | Combine the SVG data to a workable file | ||
+ | * Open the back-copper file in Inkscape | ||
+ | |||
+ | |||
+ | * edit > select all | ||
+ | |||
+ | Get rid of clones | ||
+ | * edit > clone > unlink clones recursively. The clone objects have now been changed to circle and rectangle objects | ||
+ | |||
+ | Change objects to paths | ||
+ | * path > objects to path | ||
+ | |||
+ | Stroke to path | ||
+ | * path > stroke to path | ||
+ | |||
+ | ungroup x times (until there are no folders anymore) | ||
+ | |||
+ | * path > union | ||
+ | |||
+ | Now there is only a single path | ||
+ | - file > save as. (this is the prepared SVG file) | ||
+ | |||
+ | |||
+ | - open the Drill SVG file in inkscape | ||
+ | - Align it by hand | ||
+ | -- an automatic way would be much nicer. This is doable for now. | ||
+ | |||
+ | - select the folder containing all the circles | ||
+ | -- * path > objects to path | ||
+ | -- combine | ||
+ | -- select the folder, and ungroup. Now there are only 2 paths | ||
+ | -- select the 2 paths | ||
+ | -- * path > difference | ||
+ | |||
+ | |||
+ | |||
+ | |||
Option 1: create circuit in Kicad, export Gerber files and import in Fusion 360 for milling | Option 1: create circuit in Kicad, export Gerber files and import in Fusion 360 for milling | ||
Line 8: | Line 139: | ||
- In Fusion 360: File > new electronics design | - In Fusion 360: File > new electronics design | ||
+ | --- | ||
+ | |||
+ | BAD: the circles are made up from several arcs. This way Fusion can't select it for drilling. | ||
+ | * In Inkscape, I draw a circle (object), I import it in Fusion, then it's good. | ||
+ | * This is the case somewhere in the steps to prep the SVG file in Inkscape. | ||
+ | * Can I prep the inkscape file without losing the clean circles? Or can I simplify a collection of arcs to become a circle again? | ||
+ | |||
+ | |||
+ | * open ' | ||
+ | * There are 3 layers: Clone-masked, | ||
+ | * for now, delete the 1st (clone masked) and 3rd layer (rectangle) | ||
+ | * right-click on the FOLDER icon, then edit > clone > release clone. Then the unselectable | ||
+ | |||
+ | --- | ||