Those of you who use Blender know that it contains a VRML export plugin. This plugin was totally useless for KiCad, models produced by it would not display in PCBNew in the best case, in worst they could even crash the 3D previewer.
So I took it and modified to make its output compatible with KiCad. After a month of thorough testing I can say with confidence - it works, and it works excellently.
The plugin can be downloaded here:
The same GIT repository contains a number of KiCad footprints & 3D models I made in past weeks.
Here are some examples of models I did with the plugin, rendered in pcbnew:
It will be as precise as you wish (but you pour more time into it of course). However, if you need models for mechanical purposes I do not recommend using Blender or any other VRML generator. Instead use STEP (or the older IGES) and Mauriceās StepUp tool (which you can search for in the threads). Maurice also has an ongoing project to create STEP models of parts via FreeCAD.
In the development branch of KiCad there has been a lot of work in the past year to support rendering of STEP/IGES models and Iām hoping that all packaging issues can be sorted out so that the next stable release will include all these goodies.
Of course if you only want a nice 3D render then VRML models are perfectly adequate.
Hi @sprhawk
thanks for using my kicad StepUp tools and for the skull you gave me @hackaday.io
please fell free to ask for any advice you may require
Maurice
Blender is 100% precise. I do my models using manufacturer drafts together with the footprint, and usually after I open the 3D preview the model fits absolutely exactly in its place.
Also, Blender allows you to enter coordinates and sizes manually. For example, to create a simple 0805 resistor you can create a box, then open the object properties dialog (press āNā) and change box size: set X size (length) to 2.0, Y size (width) to 1.25 and Z size (height) to, say, 0.8. Then you can export it to KiCad WRL (File -> Export -> KicadVRML2) and instantly try it in pcbnew.
I like FreeCAD but itās in its early developement, while Blender is a stable mature program with very advanced editing capabilities. Perhaps Blender misses some āreal CADā features but for KiCAD-related tasks it is more than enough.
Blender is a very good sw, but the problem is CAD interoperability. ā¦
If you have a look to all main ECAD packages, STEP is the only format used for 3D mechanical designingā¦
unfortunately Blender is lacking of STEP import and export plugins ā¦
so the best choice is a sw that can handle STEP format which is the status for ECAD MCAD collaborationā¦
Moreover, using STEP you donāt even need to design anything; you can just get the model directly from the manufacturerā¦
MCAD road is the only way to have also interference analisys. ā¦
I use FreeCAD to design 3d models or enclosures and Blender to create realistic renderingā¦ so my path is using STEP as source for mechanical design and VRML as 3d rendering both in Kicad and in Blenderā¦
Thatās a good point, maybe one day Iāll write a STEP input/output plugin for Blender then you can do interference analysis in Blender as well. In fact, it would be useful if KiCad could export directly to some 3D format.