-
-
Notifications
You must be signed in to change notification settings - Fork 0
PLUGIN: Group OPs by purpose (Logical Grouping/Separation of Concerns) #19
Copy link
Copy link
Open
Labels
C issueC-class issues don't explicitly prevent actions from being performed.C-class issues don't explicitly prevent actions from being performed.SpicyHigh severity issues that affect use within the scope of its class.High severity issues that affect use within the scope of its class.more info neededMore information surrounding the circumstances of issue or environment is neededMore information surrounding the circumstances of issue or environment is needed
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
C issueC-class issues don't explicitly prevent actions from being performed.C-class issues don't explicitly prevent actions from being performed.SpicyHigh severity issues that affect use within the scope of its class.High severity issues that affect use within the scope of its class.more info neededMore information surrounding the circumstances of issue or environment is neededMore information surrounding the circumstances of issue or environment is needed
This is entirely for people coming to the the bpy from outside. Unfortunately it might mess with Fred if he's very used to the order.
Imports & Constants: import bpy, mybrushsize, myshadowsize.
Helper Functions: Small functions that do math or data lookup (e.g., find_layer_by_keyword, set_brush_size). These are pure logic, no bpy.ops calls ideally.
Operator Classes: The bpy.types.Operator classes.
Menu Registration: The register() and unregister() functions at the very bottom.
Blender Add-on convention works like this, so we should stick to that:
See #18
https://developer.blender.org/docs/handbook/extensions/addon_guidelines/
https://jlampel.github.io/blender_add-on_guidelines/06_code-structure.html
This will probably look like:
=investigate=