Skip to content

Commit

Permalink
Added step-up support and 3D models for vertical TH SMA and PC/104 co…
Browse files Browse the repository at this point in the history
…nnectors. See README for details about exporting 3D models of the board and the kicad support required to accomplish that. Repositories for kicad components (step and wrl files) exist but need to consider how that will fit into the SFUSat library structure. The paths set in pcbnew to point to the 3D structures are relative to the KISYS3DMOD, by default set to a strange location far from the project files. Consider changing this env var to something in the SFUSat-Kicad lib repo.
  • Loading branch information
TobiNakamura committed Dec 25, 2017
1 parent f55e8c2 commit c9457c5
Show file tree
Hide file tree
Showing 5 changed files with 289,592 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,24 @@ Exit back to the KiCad home window and go to Pcbnew > Preferences > Footprint Li
Disable global aperture settings by going to PCBNew > Dimentions > Pad Mask Clearence and set:
Solder mask clearence 0.075mm
Solder paste clearence 0mm
Make sure to set the Solder mask min width in accordance with your PCB manufacturer.
Make sure to set the Solder mask min width in accordance with your PCB manufacturer.


#3D Models
Both STEP and WRL files are stored in SFUSat.pretty

The procedure for generating 3D models of boards is complicated due to KiCad not natively supporting export of 3D models. We will use KiCad-Stepup (https://sourceforge.net/p/kicadstepup/wiki/Home/) to perform the following operations: component STEP file -> WRL file -> PCBNew settings -> board STEP file. KiCad-Stepup is a macro written for FreeCad (https://www.freecadweb.org/).

0. change ksu-config.ini: prefix3D_1 = /home/tobi/Cubesat/CubeSat-Radio-v0.1/KiCad-Lib/SFUSat.pretty
1. Load the macro in FreeCAD: Macro > Macros .. > Set Macro Destination > Create > Execute
2. Create new document in freecad
3. Load kicad footprint using the macro
4. Load step file using macro
5. Union the varius compoentns of the 3d model in the model tab of freecad
6. Move the 3D model such that it aligns with the footprint using the kicad-stepup macro interface. Note the orientation of the footprint indicated by the unit vectors in the bottom right of the 3D window.
7. Export to kicad using the macro, use all default values, change the file names to something appropriate, file names for .step and .wrl should be the same, move both files to SFUSat.pretty
8. in PCBnew > footprint properties > 3D settings > Add 3D shape to select the wrl file
9. Confirm the model positioning and file selection usign the PCBnew 3D view
10. Create a new document in freecad, Load Kicad_pcb using kicad-stepup macro
11. Select all geometries you want to export using the model tab.
12. Export to STEP using Export in Freecad
Loading

0 comments on commit c9457c5

Please sign in to comment.