Many vendors of enclosure publish STEP files and often they include the PCB (max recomended size) as a part. I have tried to import them into FreeCAD and convert to SVG (KiCAD imports SVG) but with no luck. Does anyone have an idea how to go about this?
Hi,
STEP is a 3D model format. SVG is a 2d vector format.
You can probably export a sketch created in FreeCAD to SVG, but can’t export a STEP file imported to FreeCAD (not natively created in FreeCAD).
So the solution would be to to set the view in FreeCAD as you want it in KiCAD, “copy” the STEP 2D view to your own sketch, then export that to SVG or DXF and import that to KiCAD.
Most enclosures are simple enough to copy it in FreeCAD pretty quickly.
You can follow segments of this, my Tutorial on using a Hammond Box Step file, in FreeCAD and using it, tweaking it, exporting it and using it in Kicad for a footprint. First five, or so minutes is all you need to see…