kicad ECAD meets MCAD with kicad StepUp script: STEP model of pcb and assemblies - Page 1
Forum section: electronics / general

author: easyw
author_rank: Contributor
timestamp: September 28, 2015, 08:59:33 pm
content: Hi, for 3D MCAD conversion from kicad ECAD environment I've done this script: 'Kicad StepUp script ECAD to MCAD':With kicad StepUp, it is possible to work in kicad EDA with the same component model data available in the STEP AP214 3D format, and obtain a 3D STEP AP214 model of the pcb board and a complete board assembles with electronic modules, to be used for MCAD interchange.The accurate 3D visualization of components on board assembles in kicad 3dviewer, is maintained in the same accuracy and aspect in STEP AP214 format.here there is a video tutorial of the script:kicad StepUp video howtoand attached there is a picture of how the ECAD and MCAD environments can be matched each other...(feedbacks are welcome)Maurice

author: awallin
author_rank: Frequent Contributor
timestamp: September 29, 2015, 04:48:51 am
content: Nice pictures!However, I don't understand the workflow here. Could you explain what your script actually does?Does it take STEP files for components found online and convert them so that KiCAD can use them?Is it possible to include 3D STEP models with the KiCAD standard library in the future?thanks,AW

author: easyw
author_rank: Contributor
timestamp: September 29, 2015, 08:16:44 am
content: Hi AW,theworkflowis very simple andmaintains the usual way to work with kicad:the user has just to substituteWings3Das modeler withFreeCAD.You can start to add models to your library creating 3D models in FreeCAD,or getting models from online libs (please pay attention to the license of using them)or from the parametric 3D lib expressly done to kicad (https://github.com/easyw/kicad-3d-models-in-freecad/tree/master/cadquery/FCAD_script_generator).Once you have your3D MCAD model, you need to have a copy of that inSTEPandVRMLformat.This is possible just exporting the model with FreeCAD (VRML format exported by FC is kicad compatible)Then just put your model in the same folder in which normally you are used to put vrml models, and the script will assembly the MCAD board and models as in 3d-viewer of kicad.Here you can find a wikihttp://sourceforge.net/p/kicadstepup/wiki/Home/and a starter guidehttp://sourceforge.net/projects/kicadstepup/files/kicadStepUp-starter-Guide.pdf/downloadThe kicad StepUp script has a fully contained demo board to test it, with 3D VRML and STEP models athttp://sourceforge.net/projects/kicadstepup/files/latest/download?source=navbarAt this link the kicad MOD-MPU9150 board with all 3D models (VRML and STEP) and the full assemblies(a self contained fully working example of OLIMEX MOD-MPU9150):http://sourceforge.net/projects/kicadstepup/files/prjs/MOD-MPU9150-master.zip/downloadof the OLIMEX board:https://www.olimex.com/Products/Modules/Sensors/MOD-MPU9150/open-source-hardwareboard which is done with kicad.and here the picture of the 3D board converted in MCAD:You can find a nice video at YouTube of a kicad drone copter (Crazyflie) converted from kicad to MCAD:This video is a demo of what can be done in kicad, for an ECAD MCAD collaboration.Maurice