MustardUI 0.30 almost ready
Added 2023-10-30 20:30:42 +0000 UTCHi everyone!
I finally finished rewriting the whole code of MustardUI, also fixing some bugs that appeared in Blender 4.0. At the moment any version before 0.30 does not even start in Blender 4.0!
For those who want to use MustardUI in Blender 4.0, you can try the new version downloading the code at:
https://github.com/Mustard2/MustardUI/releases/tag/0.30-beta2
One of the biggest new feature is that MustardUI will now be an add-on only, This means that both creators should now install MustardUI as an add-on. But why this was necessary? There are some reasons:
- Code Maintenance: as the script reached 10k lines, the maintenance of the whole code was becoming a nightmare! Every time I had to change something I had to remember where I put the functions/operators/definitions in the code, and the IDE was not helping a lot ue to the huge amount of things on the same file. Separating the script in several files was the only way, and unfortunately this means that MustardUI can not be used as a script anymore (only single file script can run in Blender).

- Community engagement: a lot of people asked me to contribute to the project, but I must admit it was a nightmare to search things in the 10k lines file. Now it should be easier to find the various parts of the UI, and I hope this will make you try and contribute directly on the code. This is the structure you can find in the new version.
- Script/Add-on confusion: Using MustardUI was always confusing, especially for new people. I constantly get PMs asking me how to install MustardUI from users of the model. Now MustardUI will work only as an add-on, hopefully removing any confusion.
- Security: No registration of any script is required now, and this is a major security step forward! In fact, I had no control over the script once it was downloaded from the repository. Somebody could have maliciously changed it before shipping their models, potentially causing harm to the system were the model was used. With the addon, people will be forced to install it from a known and trusted source (GitHub) directly, avoiding the possibility of model creators to include malicious scripts in their files. In fact, install add-ons only from trusted sources (in general, directly from the creator website). I am aware of someone using the script shipping malwares, luckily they weren't so smart and a Windows Defender could find and block it.
- Performance: In general add-ons should perform better, and avoid issues where several scripts of MustardUI could be available in the same scene.
The biggest drawback about this that made me wait a lot to rewrite this as an add-on is the fact that now users should install MustardUI. Installing add-ons in Blender is not always straightforward, but I will provide a tutorial for the installation so model creators can share that directly with their users. :)
One thing still missing in the new version is the Armature support. At the moment the whole part is temporarily removed while I rewrite it.
Please let me know if you have any feedback/idea about this!
For those interested, coding add-ons in Blender is extremely easy with PyCharm (thanks Jetbrains for the free Community Edition!).
Some useful resources:
- https://github.com/BlackStartx/PyCharm-Blender-Plugin
- https://b3d.interplanety.org/en/using-external-ide-pycharm-for-writing-blender-scripts/
See you soon for the new model. ;)
Comments
It's already available :) https://github.com/Mustard2/MustardUI/releases
Mustard
2023-11-16 23:51:02 +0000 UTCCan't wait. Your UI is great and it's the backbone for all my models.
wolv3d
2023-11-16 01:50:10 +0000 UTCGreatness takes its time, nonetheless your tool is getting better and better, cheers! ;)
2D3DM4D
2023-11-02 22:40:02 +0000 UTCThank you all for your support! :)
Mustard
2023-11-02 18:53:36 +0000 UTCPeople like you warm my heart! Thank you for making our process seamless and intuitive!
Giga
2023-11-01 19:05:59 +0000 UTCThanks! Ngl, this took more time than expected :D
Mustard
2023-11-01 18:43:19 +0000 UTCThats great news my friend :) , keep up your awesome work and see you soon! ;)
2D3DM4D
2023-11-01 18:37:43 +0000 UTC