- 3D-Interaction-Technologies changed review status to Awaiting Review
- 1 mo
Govie Tools is a Blender addon to optimize and export models in GLB-format for use in the Govie Editor.
Functionality:
For more information visit the manual
This extension requests the following permission:
Export GLB to disk
Some notes about code:
bpy.data.objects
to iterate over objects when selecting, it's better to use context.scene.objects
to avoid iterating over objects in other scenes and avoid errors and performance issues.__package__
should be used instead of __file__
everywhere except the last line of __init__
. In nested directories you can import __package__
from main.layout.panel
or register other panels as children of original. I would generally advise you to follow Blenders UI guidelines.Notes about usability:
hide_viewport
property for your needs? Would save lot of trouble to users it seems.Additionally:
Converted to Draft
Ready for review
What is the point of "get_addon_dir" function?
It stores the path to the addon directory. This path is then used by the local web server (that hosts the GLB-File for previewing) to read and write a JSON file (for storing the sub-process id of the server)
Use sys.executable
module should forward Blender's arguments.
Calling a python sub-process should typically pass in bpy.app.python_args
immediately after the Python command.
This ensures the Python environment is compatible with Blender's.
Failure to do so can cause Python not to start as environment variables such as
PYTHON_PATH
may point to incompatible Python versions on the users system.
NOTE: this requires Blender 4.2.1 or newer. For 4.2.0 the literal "-I" may be passed in.
Thank you for the feedback, I added a new version with the changes.
Think this is ready to be approved. If there are more feedback can be reflected in next versions, I don't think there's anything blocking left.
Hey everyone,
Just a heads-up about a recent change regarding the licensing of add-ons on the Blender extension platform. Moving forward, all add-ons will need to be released under the GNU/GPL 3.0 license (SPDX:GPL-3.0-or-later). This is mainly to keep things simple and consistent across the board.
Previously, we accepted various licenses as long as they were compatible with Blender’s distribution. However, to avoid any confusion and streamline the process, all add-ons using the bpy API should now be presented as GPL 3 (the same license the Blender bundle is distributed). Regardless of whether the original code was under GPL 2, or something else like MIT or ZLIB.
Existing add-ons versions won't be affected. However, new updates will need to comply to the revised requirements.
Thanks for understanding, and feel free to reach out if you have any questions.
uploaded new version: Add-on "Govie Tools" v1.0.16
Sign in to comment.
Ready for review