wassimj / TopologicSverchok

Topologic custom nodes for sverchok on Blender3D
GNU Affero General Public License v3.0
83 stars 18 forks source link

Usage instructions #5

Closed Sinasta closed 3 years ago

Sinasta commented 3 years ago

Hi, thank you very much for your impressive work. You are doing an incredible gift for the opensource community. I am new to topologic and i would love to get some information to how to get started with this addon. If you would qve some spare time i would greatly appreciate if you could upload a small video or sone general instructions ( possibly with examples) on how to use this addon in general. I know that this is WIP but it already seems quiet usable. Thanks again.

Sinasta commented 3 years ago

Oh and a small bug report: i get this error upon activation:

Traceback (most recent call last): File "/usr/share/blender/2.93/scripts/modules/addon_utils.py", line 351, in enable mod = import(module_name) File "/home/sinasta/.config/blender/2.93/scripts/addons/topologicsverchok-main/init.py", line 24, in blenderName = [name for name in os.listdir(home+"/"+conda) if name.startswith('Blender')][0] FileNotFoundError: [Errno 2] No such file or directory: '/home/sinasta//opt/anaconda3/envs'

I am using blender 2.93 with systems python 3.9 located at: /usr/lib/python3.9/site-packages on manjaro Linux

wassimj commented 3 years ago

Oh there is a double forward slash. Will fix


From: Sinasta @.> Sent: Monday, April 12, 2021 10:23:33 AM To: wassimj/topologicsverchok @.> Cc: Subscribed @.***> Subject: Re: [wassimj/topologicsverchok] Usage instructions (#5)

Oh and a small bug report: i get this error upon activation:

Traceback (most recent call last): File "/usr/share/blender/2.93/scripts/modules/addon_utils.py", line 351, in enable mod = import(module_name) File "/home/sinasta/.config/blender/2.93/scripts/addons/topologicsverchok-main/init.py", line 24, in blenderName = [name for name in os.listdir(home+"/"+conda) if name.startswith('Blender')][0] FileNotFoundError: [Errno 2] No such file or directory: '/home/sinasta//opt/anaconda3/envs'

I am using blender 2.93 with systems python 3.9 located at: /usr/lib/python3.9/site-packages on manjaro Linux

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/wassimj/topologicsverchok/issues/5#issuecomment-817644657, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQCZPNPSKLLT3NP4P44RVDTIK3ZLANCNFSM42Y366EQ.

wassimj commented 3 years ago

Dear @Sinasta, even if you have 2.93 that uses python 3.9, I suggest you create a virtual environment using conda. Create a virtual environment using python3.9 and called something like Blender39 or similar. Make sure the environment name starts with the word Blender. The init script assumes that you have cppyy and its dependencies also installed in that virtual environment so in: ~/opt/anaconda3/BlendeXXX/lib/site-package and the topologic-0.X-py3.X.egg installed there as well. The script will find the correct files if they start with Blender and with topologic If you have different locations, then you need to edit the init file and change the location of the sys.path.append. (But perhaps it is working already because it is using the system file locations?) Will try to record a quick tutorial for Blender soon. But if you need one-on-one, happy to do so, email me.

wassimj commented 3 years ago

The repo has been updated to 0.5.0.2 which fixes the double forward slash issue.