i was making a addon to create a stylized tree and when i run the script in the text editor of blender it run well , but when i convert it to a package ZIP to use it like a addon . Console show me No module named 'particles to leaves'

    "name":"Become to tree",
    "author":"Cristofer Erik Calvo Milla",
    "category":"Add Mesh"
import bpy
import sys
import os
import importlib
from bpy.props import PointerProperty
from bpy.props import EnumProperty


from particles_to_leaves import system_particles
from Branch import Type_Trunk

enter image description here

now i can add my addon to blender, but i can't see my menu in view -->UI

enter image description here

  • $\begingroup$ Would recommend making paths local to addon folder and using from . import foo .... rather than append relative paths (a single escape character `` in a string is another issue) Related blender.stackexchange.com/questions/183773/… $\endgroup$ – batFINGER Jan 13 at 10:22
  • $\begingroup$ thanks friend, it worked, but now my menu does not appear . it shoud be in Viewport3d--> UI but it doesn't show $\endgroup$ – Misha bytes Jan 13 at 13:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.