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:10] – formlab | isel_icv4030:milling_pcb_s_v2 [2025/08/18 02:48] (current) – [Single layered PCB] formlab | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Single layered PCB ===== | ===== 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**! | + | 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. | ||
+ | * Set a margin of 0.5mm | ||
+ | * Use 1mm wide traces | ||
+ | * Try to enlarge the pads as much as possible while respecting the margin. You can speed up the process for similar components by changing 1 pad, then choose '' | ||
+ | * Don't draw GND tracks, as you'll use a ground plane (copper pour) with the option 'fill zone'. This prevents unnecessary overlapping track geometry in Freecad & Rhino. | ||
+ | |||
+ | Save the Kicad project. | ||
+ | |||
+ | * Open Freecad | ||
+ | * Select the KicadStepUp workbench. | ||
+ | * If this workbench isn't there. Install it: | ||
+ | * **automatically**: | ||
+ | * **Manually**: | ||
+ | |||
+ | * Click the {{: | ||
+ | * Click OK on a few popups | ||
+ | * The PCB without the pads and traces appears | ||
+ | * Click the {{: | ||
+ | * The pads and traces appear | ||
+ | * In the model panel, select the top object 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 on the Z-axis: | ||
+ | * Select the bottom pads components and press '' | ||
+ | * Move the pads up '' | ||
+ | |||
+ | Extrude the pads. The pads are positioned just below the PCB. Extrude them into the PCB: | ||
+ | * 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 '' | ||
+ | |||
+ | Info: We're not joining because due to the many faces overlapping each other this often doesn' | ||
+ | |||
+ | Extrude the tracks | ||
+ | * Only show the tracks component | ||
+ | * Press '' | ||
+ | * Drag a selection rectangle over all the tracks. | ||
+ | * Set distance to '' | ||
+ | |||
+ | Extrude the zones (if you have any) | ||
+ | * Only show the zones component | ||
+ | * Press '' | ||
+ | * Drag a selection rectangle over the zones. | ||
+ | * Set distance to '' | ||
+ | |||
+ | Go to Manufacture mode | ||
+ | * Create a setup and select all objects (PCB, tracks, Pads and zones) as the model. | ||
+ | * Add a drilling operation | ||
+ | * Select the hole face of the hole through the copper. If that doesn' | ||
+ | * Check '' | ||
+ | * Set the bottom height to '' | ||
+ | * Add a 3D contour operation 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 | ||
+ | |||
Line 13: | Line 156: | ||
- 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 | ||
+ | |||
+ | --- | ||