Creating a 3D model of an EasyEDA component in FreeCAD

Component Database (EasyEDA)[https://easyeda.com] is huge, but the image of the required part is not always found. If the landing site can be edited directly in the EasyEDA editor, having previously loaded the most similar prototype, then it is not possible to edit the 3D image of the component in the EasyEDA environment.

Here I was faced with the need to install a narrow 24-pin zero-force socket on a 3M board. (3M catalog number 224-5248-00-0602J) I took the prototype of the mounting place from a wide socket and successfully edited it. But I could not find a 3D model for it. Therefore, I had to draw the product in FreeCad:

EasyEDA allows you to load 3D models of components in .wrl or .obj format. The .obj format must be a zip archive and contain two files – the .obj file itself and the .mtl reference file. When exporting from FreeCad to .obj format, only one .obj file is created. Therefore, I used the .mtl format for export.

And everything works out, but individual bodies created using additional planes fly away in an arbitrary direction from the main body. Therefore, we throw the .wrl file obtained by exporting from FreeCad into (on-line converter)[https://imagetostl.com/ru/convert/file/wrl/to/obj#convert] and we get an obj archive consisting of two required files, which is understood by EasyEDA.

So, briefly step by step:

1. Create a 3D model in FreeCad.

2. Select all the bodies and go to → select the format “WRML 2.0 (*.wrl *.wrml *.wrz *.wrl.gz)”

3. Open [on-line конвертер](https://imagetostl.com/ru/convert/file/wrl/to/obj#convert), we load the received .wrl file into it, save the zip archive of the obj file.

3. In EasyEDA, create a new model: → <3D model>. In the “model block” field, enter “mm”.

4. Click on “+ add file”, click save.

The 3D model is ready and can be used in your developments.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *