Blender 2.8 Updating Addon Python Scripts

preview_player
Показать описание
In this video I show how to update your addon Python scripts for Blender 2.8.

These are changes that you can do right now, other API changes are still in development.

You can see these guidelines in the Blender wiki:

See my social profiles here

Рекомендации по теме
Комментарии
Автор

I'm a non-coder, just looking around for the potential MakeHuman add-on updates. Thanks guys and gals for all the work you do out here to help us noobs. I'm new to 3D as well :) fun stuff! cannot wait to get to use the full release of Blender 2.8 hopefully by then the MakeHuman add-ons will be up to speed as well. Nice work on this video/update.

virtual_intel
Автор

Great to see you made a vid about this, great! When you posted the vid about "Fast Carve", i sort of was hoping for this :)

RomboutVersluijs
Автор

Is it possible to do this for Molecular script addon?

SandeepRao
Автор

Hello, I'm not a developper but I have a stupid idea. Why not "Automatize" the process to convert a 2.7 addon to a 2.8 by a kind of "Super-Addon" making the job for ONCE ?
Or forget my question if this is not realistic to do so ...I was told you can do nearly everything with Python, am I wrong ?

dantab
Автор

Here's what I think about those changes :
1- Not a big change about bl_info
2- Classes naming convention is really a good idea specially with the new changes on blender's UI (specially the header part)
3- The new way to register classes is neat (specially the one line feature)
4- Ah... I still would prefer a variable
5- I'm a bit confused about the context argument right now.

BTW, I've created some scripts/addon before but since it's placed on the tool shelf from the 3D view, I can't redo it that way anymore. Is there any specific part of the UI where I can place a new UI (a standard place basically) ? I know I could just place it in any point from the properties area but if there's any standard way, I would prefer.

Zekium
Автор

what a heck is that "Field"? I dont find any reference of that in the python syntax. seems like no one never used or posted about "Fields" could you post a link of where you found that

Jeacom
Автор

Pretty useful, but you'll have to do these changes and make sure everything is consistent every time API gets changed.

TheJobCompany
Автор

oh thank you.
I don't know where BL info is located in blender. that right side on the screen existed and I have 0 knowledge of it.
I look up online "how to open the wall of text on the right side of the screen to mess around with Bl. info"
internet: "Oh you should already know where it is, so you're probably stupid have fun existing"
so thank you video and thank you internet I can't update to 2.8 at all.

Tay-xjud
Автор

how to enter in the panel to change the numers, i don't understand how u ariive there

EvankellVonCarstein
Автор

thanks for this. i must be missing something because neither of the new register code blocks will work in the scripts window (shown from 0:55'). is this because B2.8, now stable, one hopes, is different from the time this video was posted? the docs still show what you have in this video as being current and correct, but then again, they may be about to be updated.

juliandarley
Автор

Does anyone know how to get all classes of an imported file without manualy listing them ? I want to auto-generate the classes array.

ldelmar
Автор

I'm confused. Is there a more basic explanation?

ashleydurden
Автор

Is it possible to change the script for sculpt brush cursor, so that is like, "snapping" to the sculpt mesh?

nagamurachiaki
Автор

the toggle visibility seems to be buggy and cannot seem to animate visibility...is this expected for alpha? or is there a new method to toggle visibility and animating it ?

SandeepRao
Автор

I get an error line 25 NameError name 'classes' is not defined'

joexl
Автор

This seem out of topic but...

Does Blender 2.8 currently providing texture painting like before? I try to unwrap the model and switch to texture paint mode but I still can't paint it directly.

Is this not implemented yet or I just can't find a way to do it so?

Ngong
Автор

@0:55 "Ok, registering modules can't be done anymore with the register module function, this has been removed..." This should help if you had to play it 10+ times.

gregmurray
Автор

im just trying to work on the Zoo tycoon 2 and MMD for it as well if that does the trick

cmreturns
Автор

Tried this on an addon I didn't write and it did get rid of the 1st few errors but then I got a load more errors with blenders internal scripts not applicable to this video .So it isn't as easy as that LOL. Wish I was better at python. Thanks anyway your Tutorials are great.

simoncull
Автор

The creator dropped the addon I often use at 2.79.
It's not working for me to change the lines.
I'm blindfolded walking without direction and making worse what is bad already
Can anyone get the original [__init__.py] file [2.79] and convert to new file [2.8] functional ... please
if necessary send by email
[edited in google translate]

uallaceao