0
$\begingroup$

Let me just get straight to the point!

I use visual studio code to write my addon. If I open it through visual studio code, it works fine, but when I try to import it into Blender by loading the init.py of my addon. It won't show up.

While there were tutorials online on how to create an addon in vs code, but none of them show how to actually export addons from vs code and load them into blender. So now I'm kind of lost. I couldn't find this in forums and not sure how people figure this out by themselves, but here I am asking for help.

And I highly appreciate every answer I could get! Thanks in advance!

My init.py is in screenshotsenter image description here enter image description here

$\endgroup$
  • $\begingroup$ Have you created a .zip of your whole add-on and tried to install it in the preferences Edit > Preferences > Add-ons? $\endgroup$ – Robert Gützkow Nov 18 at 19:50
  • $\begingroup$ I did it trough the preferences, and yes I tried the zip, for the 2nd time now, but no luck. Thank you for your suggestion though. $\endgroup$ – WalterTheModeler Nov 18 at 20:03
  • $\begingroup$ Just to be clear you don't find it listed among the other add-ons? Are there any errors printed to the console (on Windows: Window > Toggle System Console; Linux, macOS: requires starting Blender from the terminal) $\endgroup$ – Robert Gützkow Nov 18 at 20:05
  • $\begingroup$ Ok, here is the thing man... you mentioned if I had tried to install it trough preferences and trough zip. Which were the only ones I tried, so you gave me the idea of just doing it manually by just dropping it in the addons folder. And IT WORKED! Now I'm not sure why it didn't work trough zip and stuff like that, but at least it worked this way. $\endgroup$ – WalterTheModeler Nov 19 at 8:18
  • $\begingroup$ blender.stackexchange.com/questions/39745/… Please post code as text in a code block. $\endgroup$ – batFINGER Nov 24 at 4:20

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.