I’ve made a tool to align the 3d model directly moving it over the pcbnew footprint.
here there is a small video tutorial:
With ‘kicad-StepUp-tools’ it is possible to load the kicad footprint in FreeCAD and align the 3D part with a visual real time feedback of the 3d model and footprint reciprocal position.
Once the 3D part is aligned to the footprint pads and silk, the model can be exported in STEP format and in VRML format for kicad 3d-rendering, just clicking on the Scale to kicad VRML button.
That will align EDA to MCAD 3d viewers. No need to reiterate the aligning process or empiric calculate offset and rotation to apply to VRML model.
You can also click on ‘Create axis’ button to have an other help in orienting the part.
With this tool is possible to download a part from on-line libraries (e.g. 3dcontentcentral, grabcad, etc), align the model to kicad footprint and export the model to wrl. That will produce a 3d VRML model exactly aligned to footprint as in mechanical CAD.
footprint aligner workflow:
- load the Macro
- open the 3d STEP model in FreeCAD
- click on ‘load the footprint’ button
- align the part to footprint
- click on ‘scale to kicad VRML’ button
and here the place to download the script:
Moreover if you have the model in VRML and STEP, you are just a ‘step’ from having also the 3D mechanical copy of your kicad board and assemblies for ECAD MCAD collaboration and enclosure design…
please have a look here for a full description of this feature: