How to make add-on witch made to append custom mesh object from blend file with custom icon

How to make, this add-on witch made to append custom mesh object custom
0- in the top of menu
1- add objects list on add menu.
2- with sub-menu.
3- and custom icons .
4- and appending custom objects from blend file .
5- with relative path , so I can attach blend file with it.

if any one can help or make tutorial about it , this will be nice thanks

You can study this script for the meshes:
blender\2.82\scripts\addons\_\add_mesh_BoltFactory

This one for the icons:
blender\2.82\scripts\addons\_\archipack

1 Like