Moo-Ack-Productions / MCprep

Blender python addon to increase workflow for creating minecraft renders and animations
https://theduckcow.com/MCprep
GNU General Public License v3.0
268 stars 26 forks source link

Using custom properties for assets #440

Open zNightlord opened 1 year ago

zNightlord commented 1 year ago

Check against existing requests

Describe the context

"mob_skip_prep" "make_real" are defined in the mcprep data update json I find this inconvenient in some way.

So I propose to move to custom properties. Custom Properties can be user added in and read through the API. Custom properties We can also set custom properties after doing certain operation.

Another name for this is "Extend MCprep attributes" because OBJ importer use this also

How do you imagine your feature works?

For material we introduce something like NO_PREP or SKIP_PREP custom properties with 1 value with that we can bring that information in so it doesn't clear the existing nodes in certain rig material. Same for collection in meshswap blend file for make real but the operator parameter can override it.

What existing workaround (or closest thing to a workaround) do you have today (within Blender, MCprep, or any software)? If there is no workaround, explain why you feel this way.

Beside custom properties there is asset tag but it is in 3.0, we can't really use that.

StandingPadAnimations commented 1 year ago

Marked this for 3.5.1 (albeit low priority)

zNightlord commented 11 months ago

Here are some properties I can bring up

Material:

Object or Collection:

Is the naming convention good? Or something need to be added?