Custom addon never appear in menu


I been trying like a thousand times with different scripts I wrote
although my addon is loaded on startup it never show at all in blender

it also does not seem to do the register() function

I tried View3D > Add > Mesh
I tried File > MyAddon

it just never works

here is my blinfo

bl_info = {
“name”: “Cross object painting”,
“description”: “”,
“author”: “…”,
“version”: (1, 0),
“blender”: (2, 73, 0),
“location”: “View3D > Add > Mesh”,
“warning”: “”,
“wiki_url”: “
“category”: “Object”}

please tell me what is needed to make this work


This bl_info map is only metadata it won’t affect your panels (provided that your panels are the ones that will be placed on the GUI). In order to make your panels appear anywhere you want you must set the values to the properties of the class.

This for example is the panel template from Blender examples.

class LayoutDemoPanel(bpy.types.Panel):
    """Creates a Panel in the scene context of the properties editor"""
    bl_label = "Layout Demo"
    bl_idname = "SCENE_PT_layout"
    bl_space_type = 'PROPERTIES'
    bl_region_type = 'WINDOW'
    bl_context = "scene"

For more information about the available bl_space_type values see here:

Did you check for errors in the terminal / system console? Do you conditionally call register() at the very end? You might want to add print()s to see if it’s run at all.

so I tried this

bl_space_type = 'VIEW_3D'
bl_region_type = 'TOOLS'
bl_context = "scene"

but I cant find my addon anywhere (menu,tools panel,search dialog…)even after reinstalling it
it is hard to figure out where it is going to end up just from the documentation

bl_info = {
    "name": "MyAddon",
    "description": "..",
    "author": "...",
    "version": (1, 0),
    "blender": (2, 73, 0),
    "location": "View3D > Add > Mesh",
    "warning": "", # used for warning icon and text in addons panel
    "wiki_url": ""
    "category": "Object"}

import bpy
from mathutils import Vector

class ModalOperator(bpy.types.Operator):
    bl_idname = "object.modal_operator"
    bl_label = "Simple Modal Operator"
    bl_options = {'REGISTER'}
    bl_space_type = 'VIEW_3D'
    bl_region_type = 'TOOLS'
    bl_context = "scene"
    def modal(self, context, event):
        return {'RUNNING_MODAL'}

    def invoke(self, context, event):
       # self.value = event.mouse_x
       # self.execute(context)

        return {'RUNNING_MODAL'}

addon_keymaps = []

def register():
     # handle the keymap
    wm = bpy.context.window_manager
    km ='Object Mode', space_type='EMPTY')

    kmi =, 'SPACE', 'PRESS', ctrl=True, shift=True) = 4



def unregister():
    # handle the keymap
    wm = bpy.context.window_manager
    for km in addon_keymaps:
    # clear the list


# This allows you to run the script directly from blenders text editor
# to test the addon without having to install it.
if __name__ == "__main__":

I also tried to add this

def menu_func(self, context):

def register():

does not work

[edit: ok after changing ModalOperator to something else, it appeared in the menu…
but it does not appear anymore when I restart Blender wtf ?
and register() is never called]

yes I tried that too, but it does not seem to register at all, see the code above

You should compare your code with Addon Add Object template

if I run the script it works
so it’s on install that it does not work
is there anyone willing to look at the code ?

I tried installing that addon (adding print debug lines to it) it does not register when installing
there is something wrong with blender 2.73

def register():

def unregister():

unless register is not supposed to be called on install