From 153f8c1a12fe9cef2092ea534e01bb0e2e9d4d07 Mon Sep 17 00:00:00 2001 From: Albert Rodriguez Franco Date: Tue, 16 Mar 2021 23:44:58 +0100 Subject: [PATCH] Upgrading to 2.92 (#10) * Fixing breaking changes for Blender 2.92 * Changing Plugin version descriptions * Adding bpy autocomplete to latest 2.92 version --- README.md | 4 +- __init__.py | 6 +- addon/utility/ray.py | 2 +- blender_autocomplete/aud.py | 2 +- blender_autocomplete/bgl.py | 36 +- .../bl_i18n_utils/__init__.py | 9 +- blender_autocomplete/bl_i18n_utils/utils.py | 16 + .../bl_i18n_utils/utils_cli.py | 50 + .../bl_keymap_utils/__init__.py | 5 +- blender_autocomplete/bl_keymap_utils/io.py | 2 +- .../bl_keymap_utils/versioning.py | 10 + blender_autocomplete/bl_operators/__init__.py | 37 +- blender_autocomplete/bl_operators/anim.py | 155 + .../{uvcalc_smart_project.py => assets.py} | 170 +- .../bl_operators/geometry_nodes.py | 341 + .../bl_operators/gpencil_mesh_bake.py | 178 - .../bl_operators/simulation.py | 164 - blender_autocomplete/bl_ui/__init__.py | 98 +- .../bl_ui/properties_constraint.py | 116 +- .../bl_ui/properties_data_camera.py | 198 - .../bl_ui/properties_data_curve.py | 190 + .../bl_ui/properties_data_empty.py | 192 - .../bl_ui/properties_data_hair.py | 360 +- .../bl_ui/properties_data_pointcloud.py | 362 +- .../bl_ui/properties_data_volume.py | 195 + .../bl_ui/properties_grease_pencil_common.py | 14 - .../bl_ui/properties_paint_common.py | 9 + .../bl_ui/properties_physics_fluid.py | 726 ++ .../bl_ui/properties_physics_rigidbody.py | 2 +- .../bl_ui/properties_render.py | 3 + .../bl_ui/properties_view_layer.py | 932 +- blender_autocomplete/bl_ui/space_clip.py | 933 ++ blender_autocomplete/bl_ui/space_dopesheet.py | 173 +- .../bl_ui/space_filebrowser.py | 1108 +- blender_autocomplete/bl_ui/space_graph.py | 186 + blender_autocomplete/bl_ui/space_image.py | 806 +- blender_autocomplete/bl_ui/space_node.py | 6 + .../bl_ui/space_properties.py | 175 +- blender_autocomplete/bl_ui/space_sequencer.py | 461 +- blender_autocomplete/bl_ui/space_time.py | 106 +- .../bl_ui/space_toolsystem_toolbar.py | 35 +- blender_autocomplete/bl_ui/space_userpref.py | 381 + blender_autocomplete/bl_ui/space_view3d.py | 823 +- .../bl_ui/space_view3d_toolbar.py | 2 +- blender_autocomplete/bmesh/ops.py | 303 +- blender_autocomplete/bmesh/types.py | 39 +- blender_autocomplete/bmesh/utils.py | 4 +- blender_autocomplete/bpy/__init__.py | 4 +- blender_autocomplete/bpy/app/__init__.py | 24 +- blender_autocomplete/bpy/context.py | 2 + blender_autocomplete/bpy/ops/__init__.py | 151 +- blender_autocomplete/bpy/ops/action.py | 17 +- blender_autocomplete/bpy/ops/anim.py | 18 +- blender_autocomplete/bpy/ops/armature.py | 10 +- blender_autocomplete/bpy/ops/asset.py | 34 + blender_autocomplete/bpy/ops/buttons.py | 36 +- blender_autocomplete/bpy/ops/cachefile.py | 4 +- blender_autocomplete/bpy/ops/clip.py | 33 +- blender_autocomplete/bpy/ops/constraint.py | 8 +- blender_autocomplete/bpy/ops/curve.py | 22 +- blender_autocomplete/bpy/ops/cycles.py | 16 - blender_autocomplete/bpy/ops/ed.py | 101 + blender_autocomplete/bpy/ops/export_scene.py | 12 +- blender_autocomplete/bpy/ops/file.py | 53 +- blender_autocomplete/bpy/ops/font.py | 53 +- blender_autocomplete/bpy/ops/geometry.py | 26 + blender_autocomplete/bpy/ops/gpencil.py | 337 +- blender_autocomplete/bpy/ops/graph.py | 49 +- blender_autocomplete/bpy/ops/image.py | 43 +- blender_autocomplete/bpy/ops/import_mesh.py | 16 +- blender_autocomplete/bpy/ops/import_scene.py | 22 +- blender_autocomplete/bpy/ops/info.py | 2 +- blender_autocomplete/bpy/ops/mask.py | 9 +- blender_autocomplete/bpy/ops/mesh.py | 129 +- blender_autocomplete/bpy/ops/nla.py | 9 +- blender_autocomplete/bpy/ops/node.py | 105 +- blender_autocomplete/bpy/ops/object.py | 270 +- blender_autocomplete/bpy/ops/outliner.py | 28 +- blender_autocomplete/bpy/ops/paint.py | 128 +- blender_autocomplete/bpy/ops/particle.py | 13 +- blender_autocomplete/bpy/ops/preferences.py | 50 +- blender_autocomplete/bpy/ops/rigidbody.py | 2 +- blender_autocomplete/bpy/ops/scene.py | 18 +- blender_autocomplete/bpy/ops/screen.py | 8 +- blender_autocomplete/bpy/ops/script.py | 2 +- blender_autocomplete/bpy/ops/sculpt.py | 223 +- blender_autocomplete/bpy/ops/sequencer.py | 94 +- blender_autocomplete/bpy/ops/simulation.py | 10 - blender_autocomplete/bpy/ops/sound.py | 14 +- blender_autocomplete/bpy/ops/surface.py | 12 +- blender_autocomplete/bpy/ops/text.py | 12 +- blender_autocomplete/bpy/ops/transform.py | 23 +- blender_autocomplete/bpy/ops/uv.py | 67 +- blender_autocomplete/bpy/ops/view3d.py | 101 +- blender_autocomplete/bpy/ops/wm.py | 227 +- blender_autocomplete/bpy/props.py | 94 +- blender_autocomplete/bpy/types.py | 10822 ++++++++++------ blender_autocomplete/bpy/utils/__init__.py | 16 +- blender_autocomplete/bpy/utils/previews.py | 4 +- blender_autocomplete/bpy_extras/__init__.py | 9 +- blender_autocomplete/bpy_extras/anim_utils.py | 4 +- .../bpy_extras/asset_utils.py | 31 + .../bpy_extras/node_shader_utils.py | 24 + blender_autocomplete/console/__init__.py | 2 +- blender_autocomplete/freestyle/__init__.py | 6 +- .../freestyle/chainingiterators.py | 16 +- blender_autocomplete/freestyle/predicates.py | 4 +- blender_autocomplete/freestyle/shaders.py | 6 +- blender_autocomplete/freestyle/types.py | 489 +- blender_autocomplete/gpu/__init__.py | 4 +- blender_autocomplete/gpu/shader.py | 6 +- blender_autocomplete/gpu/types.py | 4 +- blender_autocomplete/mathutils/__init__.py | 26 +- blender_autocomplete/mathutils/bvhtree.py | 4 +- blender_autocomplete/nodeitems_builtins.py | 20 +- blender_autocomplete/nodeitems_utils.py | 8 + 116 files changed, 17510 insertions(+), 6861 deletions(-) create mode 100644 blender_autocomplete/bl_i18n_utils/utils_cli.py create mode 100644 blender_autocomplete/bl_keymap_utils/versioning.py rename blender_autocomplete/bl_operators/{uvcalc_smart_project.py => assets.py} (51%) create mode 100644 blender_autocomplete/bl_operators/geometry_nodes.py delete mode 100644 blender_autocomplete/bl_operators/gpencil_mesh_bake.py delete mode 100644 blender_autocomplete/bl_operators/simulation.py create mode 100644 blender_autocomplete/bpy/ops/asset.py create mode 100644 blender_autocomplete/bpy/ops/geometry.py delete mode 100644 blender_autocomplete/bpy/ops/simulation.py create mode 100644 blender_autocomplete/bpy_extras/asset_utils.py diff --git a/README.md b/README.md index 9862d5c..7d83f04 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This Blender addon is intended to accelerate the creation of measures for an Ava ## Developing the plugin Install the following tools: -- [Blender 2.90](https://download.blender.org/release/Blender2.90/) **Other versions won't work** +- [Blender 2.92](https://download.blender.org/release/Blender2.92/) **Other versions won't work** - [Visual Studio Code](https://code.visualstudio.com/) - [Python for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-python.python) - [Blender Development](https://marketplace.visualstudio.com/items?itemName=JacquesLucke.blender-development) @@ -23,7 +23,7 @@ Follow the instructions of the Blender Development plugin setup to connect to yo ## Installing in Blender If you simply want to test how the addon works, get the latest version of the addon from the [releases page](https://github.com/UncleFirefox/Measures-Addon-For-Blender/releases). -**Remember, only Blender 2.90 works with this plugin** +**Remember, only Blender 2.92 works with this plugin** Inside Blender go to: `Edit > Preferences`, go the the `Add-ons` section in the left menu, hit the `Install...` button and select the file you donwloaded. diff --git a/__init__.py b/__init__.py index 4fb1d84..7977061 100644 --- a/__init__.py +++ b/__init__.py @@ -2,10 +2,10 @@ "name": "Measures Library", "author": "Albert Rodriguez", "description": "Tools to take measures for Avatar", - "blender": (2, 90, 0), - "version": (0, 4, 0), + "blender": (2, 92, 0), + "version": (0, 4, 1), "location": "View3D > Toolshelf", - "warning": "This plugin is only compatible with Blender 2.90", + "warning": "This plugin is only compatible with Blender 2.92", "category": "Add measures", "wiki_url": "https://github.com/UncleFirefox/Measures-Addon-For-Blender/wiki", "support": "COMMUNITY", diff --git a/addon/utility/ray.py b/addon/utility/ray.py index c792c98..c4cd294 100644 --- a/addon/utility/ray.py +++ b/addon/utility/ray.py @@ -55,6 +55,6 @@ def mouse_raycast_to_scene(context, event): bpy.context.region, bpy.context.region_data, mouse_pos) hit, location, normal, index, object, matrix = context.scene.ray_cast( - context.view_layer, origin, direction) + context.view_layer.depsgraph, origin, direction) return hit, location, normal, index, object, matrix diff --git a/blender_autocomplete/aud.py b/blender_autocomplete/aud.py index 9076da5..49e7586 100644 --- a/blender_autocomplete/aud.py +++ b/blender_autocomplete/aud.py @@ -277,7 +277,7 @@ def pause(cls, catKey: int) -> bool: pass @classmethod - def setVolume(cls, sound: 'bpy.types.Sound', catKey: int) -> 'Handle': + def play(cls, sound: 'bpy.types.Sound', catKey: int) -> 'Handle': ''' Plays a sound through the playback manager and assigns it to a category. :param sound: The sound to play. diff --git a/blender_autocomplete/bgl.py b/blender_autocomplete/bgl.py index d4e261f..568f2ae 100644 --- a/blender_autocomplete/bgl.py +++ b/blender_autocomplete/bgl.py @@ -21,7 +21,7 @@ def __init__( type: int, dimensions: typing.Union[typing.List[int], typing. List['bpy.context.object']], - template=' None') -> typing.Union['Buffer', 'bpy.context.object']: + template=' None') -> typing.Union['bpy.context.object', 'Buffer']: ''' This will create a new Buffer object for use with other bgl OpenGL commands. Only the type of argument to store in the buffer and the dimensions of the buffer are necessary. Buffers are zeroed by default unless a template is supplied, in which case the buffer is initialized to the template. :param type: The format to store data in. The type should be one of GL_BYTE, GL_SHORT, GL_INT, or GL_FLOAT. @@ -30,7 +30,7 @@ def __init__( :type dimensions: typing.Union[typing.List[int], typing.List['bpy.context.object']] :param template: A sequence of matching dimensions which will be used to initialize the Buffer. If a template is not passed in all fields will be initialized to 0. :type template: typing.List['bpy.context.object'] - :rtype: typing.Union['Buffer', 'bpy.context.object'] + :rtype: typing.Union['bpy.context.object', 'Buffer'] :return: The newly created buffer as a PyObject. ''' pass @@ -294,13 +294,13 @@ def glClearStencil(s: int): def glClipPlane(plane: typing.Union[int, str], - equation: typing.Union['Buffer', 'bpy.context.object']): + equation: typing.Union['bpy.context.object', 'Buffer']): ''' Specify a plane against which all geometry is clipped :param plane: Specifies which clipping plane is being positioned. :type plane: typing.Union[int, str] :param equation: Specifies the address of an array of four double- precision floating-point values. These values are interpreted as a plane equation. - :type equation: typing.Union['Buffer', 'bpy.context.object'] + :type equation: typing.Union['bpy.context.object', 'Buffer'] ''' pass @@ -318,18 +318,18 @@ def glColor(red, green, blue, alpha): pass -def glColorMask(red: typing.Union[int, bool], green: typing.Union[int, bool], - blue: typing.Union[int, bool], alpha: typing.Union[int, bool]): +def glColorMask(red: typing.Union[bool, int], green: typing.Union[bool, int], + blue: typing.Union[bool, int], alpha: typing.Union[bool, int]): ''' Enable and disable writing of frame buffer color components :param red: Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. - :type red: typing.Union[int, bool] + :type red: typing.Union[bool, int] :param green: Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. - :type green: typing.Union[int, bool] + :type green: typing.Union[bool, int] :param blue: Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. - :type blue: typing.Union[int, bool] + :type blue: typing.Union[bool, int] :param alpha: Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. - :type alpha: typing.Union[int, bool] + :type alpha: typing.Union[bool, int] ''' pass @@ -640,11 +640,11 @@ def glDepthFunc(func: typing.Union[int, str]): pass -def glDepthMask(flag: typing.Union[int, bool]): +def glDepthMask(flag: typing.Union[bool, int]): ''' Enable or disable writing into the depth buffer :param flag: Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. - :type flag: typing.Union[int, bool] + :type flag: typing.Union[bool, int] ''' pass @@ -822,7 +822,7 @@ def glEvalPoint(i: int, j: int): def glFeedbackBuffer(size: int, type: typing.Union[int, str], - buffer: typing.Union['Buffer', 'bpy.context.object']): + buffer: typing.Union['bpy.context.object', 'Buffer']): ''' Controls feedback mode :param size: Specifies the maximum number of values that can be written into buffer. @@ -830,7 +830,7 @@ def glFeedbackBuffer(size: int, type: typing.Union[int, str], :param type: Specifies a symbolic constant that describes the information that will be returned for each vertex. :type type: typing.Union[int, str] :param buffer: Returns the feedback data. - :type buffer: typing.Union['Buffer', 'bpy.context.object'] + :type buffer: typing.Union['bpy.context.object', 'Buffer'] ''' pass @@ -938,13 +938,13 @@ def glGenRenderbuffers(p0: int, p1: int): def glGenTextures(n: int, - textures: typing.Union['Buffer', 'bpy.context.object']): + textures: typing.Union['bpy.context.object', 'Buffer']): ''' Generate texture names :param n: Specifies the number of textures name to be generated. :type n: int :param textures: Specifies an array in which the generated textures names are stored. - :type textures: typing.Union['Buffer', 'bpy.context.object'] + :type textures: typing.Union['bpy.context.object', 'Buffer'] ''' pass @@ -1972,7 +1972,7 @@ def glReadBuffer(mode: typing.Union[int, str]): def glReadPixels(x: int, y: int, width: int, height: int, format: typing.Union[int, str], type: typing.Union[int, str], - pixels: typing.Union['Buffer', 'bpy.context.object']): + pixels: typing.Union['bpy.context.object', 'Buffer']): ''' Read a block of pixels from the frame buffer :param x: Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels. @@ -1988,7 +1988,7 @@ def glReadPixels(x: int, y: int, width: int, height: int, :param type: Specifies the data type of the pixel data. :type type: typing.Union[int, str] :param pixels: Returns the pixel data. - :type pixels: typing.Union['Buffer', 'bpy.context.object'] + :type pixels: typing.Union['bpy.context.object', 'Buffer'] ''' pass diff --git a/blender_autocomplete/bl_i18n_utils/__init__.py b/blender_autocomplete/bl_i18n_utils/__init__.py index 95e4da2..a1b9c00 100644 --- a/blender_autocomplete/bl_i18n_utils/__init__.py +++ b/blender_autocomplete/bl_i18n_utils/__init__.py @@ -1,8 +1,9 @@ import sys import typing -from . import utils_languages_menu from . import settings -from . import bl_extract_messages -from . import utils_rtl -from . import utils +from . import utils_languages_menu from . import merge_po +from . import utils +from . import utils_rtl +from . import bl_extract_messages +from . import utils_cli diff --git a/blender_autocomplete/bl_i18n_utils/utils.py b/blender_autocomplete/bl_i18n_utils/utils.py index f3077a6..04e8bbb 100644 --- a/blender_autocomplete/bl_i18n_utils/utils.py +++ b/blender_autocomplete/bl_i18n_utils/utils.py @@ -312,6 +312,22 @@ def is_valid_po_path(path): pass +def list_po_dir(root_path, settings): + ''' + + ''' + + pass + + +def locale_explode(locale): + ''' + + ''' + + pass + + def locale_match(loc1, loc2): ''' diff --git a/blender_autocomplete/bl_i18n_utils/utils_cli.py b/blender_autocomplete/bl_i18n_utils/utils_cli.py new file mode 100644 index 0000000..36e9897 --- /dev/null +++ b/blender_autocomplete/bl_i18n_utils/utils_cli.py @@ -0,0 +1,50 @@ +import sys +import typing + + +def cleanup_po(args, settings): + ''' + + ''' + + pass + + +def language_menu(args, settings): + ''' + + ''' + + pass + + +def main(): + ''' + + ''' + + pass + + +def rtl_process_po(args, settings): + ''' + + ''' + + pass + + +def strip_po(args, settings): + ''' + + ''' + + pass + + +def update_po(args, settings): + ''' + + ''' + + pass diff --git a/blender_autocomplete/bl_keymap_utils/__init__.py b/blender_autocomplete/bl_keymap_utils/__init__.py index 5f3fd22..d7d0920 100644 --- a/blender_autocomplete/bl_keymap_utils/__init__.py +++ b/blender_autocomplete/bl_keymap_utils/__init__.py @@ -1,6 +1,7 @@ import sys import typing -from . import keymap_hierarchy -from . import platform_helpers from . import keymap_from_toolbar +from . import platform_helpers from . import io +from . import keymap_hierarchy +from . import versioning diff --git a/blender_autocomplete/bl_keymap_utils/io.py b/blender_autocomplete/bl_keymap_utils/io.py index 9bf34be..f155bca 100644 --- a/blender_autocomplete/bl_keymap_utils/io.py +++ b/blender_autocomplete/bl_keymap_utils/io.py @@ -18,7 +18,7 @@ def keyconfig_export_as_data(wm, kc, filepath, all_keymaps): pass -def keyconfig_import_from_data(name, keyconfig_data): +def keyconfig_import_from_data(name, keyconfig_data, keyconfig_version): ''' ''' diff --git a/blender_autocomplete/bl_keymap_utils/versioning.py b/blender_autocomplete/bl_keymap_utils/versioning.py new file mode 100644 index 0000000..9e055f7 --- /dev/null +++ b/blender_autocomplete/bl_keymap_utils/versioning.py @@ -0,0 +1,10 @@ +import sys +import typing + + +def keyconfig_update(keyconfig_data, keyconfig_version): + ''' + + ''' + + pass diff --git a/blender_autocomplete/bl_operators/__init__.py b/blender_autocomplete/bl_operators/__init__.py index 456ae12..3dbe06e 100644 --- a/blender_autocomplete/bl_operators/__init__.py +++ b/blender_autocomplete/bl_operators/__init__.py @@ -1,33 +1,32 @@ import sys import typing -from . import screen_play_rendered_anim +from . import assets from . import vertexpaint_dirt -from . import object_align from . import object_randomize_transform -from . import anim -from . import view3d -from . import add_mesh_torus -from . import clip -from . import gpencil_mesh_bake -from . import sequencer -from . import presets -from . import node from . import rigidbody -from . import simulation -from . import uvcalc_lightmap +from . import userpref from . import console -from . import constraint +from . import anim +from . import sequencer +from . import bmesh +from . import geometry_nodes +from . import mesh from . import object_quick_effects +from . import object +from . import add_mesh_torus +from . import uvcalc_lightmap +from . import wm from . import image -from . import userpref -from . import mesh +from . import screen_play_rendered_anim +from . import node from . import freestyle +from . import constraint +from . import object_align from . import uvcalc_follow_active -from . import object -from . import wm -from . import uvcalc_smart_project -from . import bmesh from . import file +from . import clip +from . import view3d +from . import presets def register(): diff --git a/blender_autocomplete/bl_operators/anim.py b/blender_autocomplete/bl_operators/anim.py index 749ff7b..645319b 100644 --- a/blender_autocomplete/bl_operators/anim.py +++ b/blender_autocomplete/bl_operators/anim.py @@ -161,6 +161,161 @@ def values(self): pass +class ANIM_OT_show_group_colors_deprecated(bpy_types.Operator): + bl_idname = None + ''' ''' + + bl_label = None + ''' ''' + + bl_options = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def as_keywords(self, ignore): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class ClearUselessActions(bpy_types.Operator): bl_idname = None ''' ''' diff --git a/blender_autocomplete/bl_operators/uvcalc_smart_project.py b/blender_autocomplete/bl_operators/assets.py similarity index 51% rename from blender_autocomplete/bl_operators/uvcalc_smart_project.py rename to blender_autocomplete/bl_operators/assets.py index d9f7738..1f33806 100644 --- a/blender_autocomplete/bl_operators/uvcalc_smart_project.py +++ b/blender_autocomplete/bl_operators/assets.py @@ -3,7 +3,7 @@ import bpy_types -class SmartProject(bpy_types.Operator): +class ASSET_OT_tag_add(bpy_types.Operator): bl_idname = None ''' ''' @@ -67,12 +67,6 @@ def get(self): ''' pass - def invoke(self, context, _event): - ''' - - ''' - pass - def is_property_hidden(self): ''' @@ -170,110 +164,162 @@ def values(self): pass -class thickface: - pass +class ASSET_OT_tag_remove(bpy_types.Operator): + bl_idname = None + ''' ''' + bl_label = None + ''' ''' -def VectoQuat(vec): - ''' + bl_options = None + ''' ''' - ''' + bl_rna = None + ''' ''' - pass + id_data = None + ''' ''' + def as_keywords(self, ignore): + ''' -def boundsIsland(faces): - ''' + ''' + pass - ''' + def as_pointer(self): + ''' - pass + ''' + pass + def bl_rna_get_subclass(self): + ''' -def getUvIslands(faceGroups, me): - ''' + ''' + pass - ''' + def bl_rna_get_subclass_py(self): + ''' - pass + ''' + pass + def driver_add(self): + ''' -def island2Edge(island): - ''' + ''' + pass - ''' + def driver_remove(self): + ''' - pass + ''' + pass + def execute(self, context): + ''' -def islandIntersectUvIsland(source, target, SourceOffset): - ''' + ''' + pass - ''' + def get(self): + ''' - pass + ''' + pass + def is_property_hidden(self): + ''' -def main(context, island_margin, projection_limit, user_area_weight, - use_aspect, stretch_to_bounds): - ''' + ''' + pass - ''' + def is_property_overridable_library(self): + ''' - pass + ''' + pass + def is_property_readonly(self): + ''' -def main_consts(): - ''' + ''' + pass - ''' + def is_property_set(self): + ''' - pass + ''' + pass + def items(self): + ''' -def mergeUvIslands(islandList): - ''' + ''' + pass - ''' + def keyframe_delete(self): + ''' - pass + ''' + pass + def keyframe_insert(self): + ''' -def optiRotateUvIsland(faces): - ''' + ''' + pass - ''' + def keys(self): + ''' - pass + ''' + pass + def path_from_id(self): + ''' -def packIslands(islandList): - ''' + ''' + pass - ''' + def path_resolve(self): + ''' - pass + ''' + pass + def poll(self, context): + ''' -def pointInIsland(pt, island): - ''' + ''' + pass - ''' + def pop(self): + ''' - pass + ''' + pass + def property_overridable_library_set(self): + ''' -def pointInTri2D(v, v1, v2, v3): - ''' + ''' + pass - ''' + def property_unset(self): + ''' - pass + ''' + pass + def type_recast(self): + ''' -def rotate_uvs(uv_points, angle): - ''' + ''' + pass - ''' + def values(self): + ''' - pass + ''' + pass diff --git a/blender_autocomplete/bl_operators/geometry_nodes.py b/blender_autocomplete/bl_operators/geometry_nodes.py new file mode 100644 index 0000000..6c9981e --- /dev/null +++ b/blender_autocomplete/bl_operators/geometry_nodes.py @@ -0,0 +1,341 @@ +import sys +import typing +import bpy_types + + +class NewGeometryNodeTreeAssign(bpy_types.Operator): + bl_idname = None + ''' ''' + + bl_label = None + ''' ''' + + bl_options = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def as_keywords(self, ignore): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def execute(self, context): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class NewGeometryNodesModifier(bpy_types.Operator): + bl_idname = None + ''' ''' + + bl_label = None + ''' ''' + + bl_options = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def as_keywords(self, ignore): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def execute(self, context): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +def geometry_modifier_poll(context): + ''' + + ''' + + pass + + +def geometry_node_group_empty_new(context): + ''' + + ''' + + pass diff --git a/blender_autocomplete/bl_operators/gpencil_mesh_bake.py b/blender_autocomplete/bl_operators/gpencil_mesh_bake.py deleted file mode 100644 index 80554de..0000000 --- a/blender_autocomplete/bl_operators/gpencil_mesh_bake.py +++ /dev/null @@ -1,178 +0,0 @@ -import sys -import typing -import bpy_types - - -class GPENCIL_OT_mesh_bake(bpy_types.Operator): - bl_idname = None - ''' ''' - - bl_label = None - ''' ''' - - bl_options = None - ''' ''' - - bl_rna = None - ''' ''' - - id_data = None - ''' ''' - - def as_keywords(self, ignore): - ''' - - ''' - pass - - def as_pointer(self): - ''' - - ''' - pass - - def bl_rna_get_subclass(self): - ''' - - ''' - pass - - def bl_rna_get_subclass_py(self): - ''' - - ''' - pass - - def driver_add(self): - ''' - - ''' - pass - - def driver_remove(self): - ''' - - ''' - pass - - def execute(self, context): - ''' - - ''' - pass - - def get(self): - ''' - - ''' - pass - - def invoke(self, context, _event): - ''' - - ''' - pass - - def is_property_hidden(self): - ''' - - ''' - pass - - def is_property_overridable_library(self): - ''' - - ''' - pass - - def is_property_readonly(self): - ''' - - ''' - pass - - def is_property_set(self): - ''' - - ''' - pass - - def items(self): - ''' - - ''' - pass - - def keyframe_delete(self): - ''' - - ''' - pass - - def keyframe_insert(self): - ''' - - ''' - pass - - def keys(self): - ''' - - ''' - pass - - def path_from_id(self): - ''' - - ''' - pass - - def path_resolve(self): - ''' - - ''' - pass - - def poll(self, context): - ''' - - ''' - pass - - def pop(self): - ''' - - ''' - pass - - def property_overridable_library_set(self): - ''' - - ''' - pass - - def property_unset(self): - ''' - - ''' - pass - - def type_recast(self): - ''' - - ''' - pass - - def values(self): - ''' - - ''' - pass - - -def my_objlist_callback(scene, context): - ''' - - ''' - - pass diff --git a/blender_autocomplete/bl_operators/simulation.py b/blender_autocomplete/bl_operators/simulation.py deleted file mode 100644 index 7029891..0000000 --- a/blender_autocomplete/bl_operators/simulation.py +++ /dev/null @@ -1,164 +0,0 @@ -import sys -import typing -import bpy_types - - -class NewSimulation(bpy_types.Operator): - bl_idname = None - ''' ''' - - bl_label = None - ''' ''' - - bl_options = None - ''' ''' - - bl_rna = None - ''' ''' - - id_data = None - ''' ''' - - def as_keywords(self, ignore): - ''' - - ''' - pass - - def as_pointer(self): - ''' - - ''' - pass - - def bl_rna_get_subclass(self): - ''' - - ''' - pass - - def bl_rna_get_subclass_py(self): - ''' - - ''' - pass - - def driver_add(self): - ''' - - ''' - pass - - def driver_remove(self): - ''' - - ''' - pass - - def execute(self, context): - ''' - - ''' - pass - - def get(self): - ''' - - ''' - pass - - def is_property_hidden(self): - ''' - - ''' - pass - - def is_property_overridable_library(self): - ''' - - ''' - pass - - def is_property_readonly(self): - ''' - - ''' - pass - - def is_property_set(self): - ''' - - ''' - pass - - def items(self): - ''' - - ''' - pass - - def keyframe_delete(self): - ''' - - ''' - pass - - def keyframe_insert(self): - ''' - - ''' - pass - - def keys(self): - ''' - - ''' - pass - - def path_from_id(self): - ''' - - ''' - pass - - def path_resolve(self): - ''' - - ''' - pass - - def poll(self, context): - ''' - - ''' - pass - - def pop(self): - ''' - - ''' - pass - - def property_overridable_library_set(self): - ''' - - ''' - pass - - def property_unset(self): - ''' - - ''' - pass - - def type_recast(self): - ''' - - ''' - pass - - def values(self): - ''' - - ''' - pass diff --git a/blender_autocomplete/bl_ui/__init__.py b/blender_autocomplete/bl_ui/__init__.py index f52f9d4..e541717 100644 --- a/blender_autocomplete/bl_ui/__init__.py +++ b/blender_autocomplete/bl_ui/__init__.py @@ -2,70 +2,70 @@ import typing import bpy_types +from . import properties_render +from . import space_node from . import properties_physics_fluid -from . import properties_data_shaderfx from . import space_time -from . import properties_data_light +from . import properties_physics_rigidbody_constraint +from . import properties_material_gpencil +from . import space_sequencer +from . import properties_grease_pencil_common +from . import space_outliner +from . import space_filebrowser +from . import space_text +from . import properties_data_modifier +from . import properties_paint_common +from . import properties_data_volume +from . import properties_physics_common +from . import properties_data_empty from . import properties_data_camera -from . import properties_workspace -from . import space_info -from . import space_nla -from . import properties_data_gpencil -from . import properties_texture -from . import space_graph +from . import space_image +from . import properties_data_armature +from . import properties_data_bone from . import space_clip -from . import space_userpref -from . import space_view3d +from . import space_info +from . import properties_data_lightprobe from . import space_toolsystem_toolbar -from . import properties_physics_common -from . import properties_physics_dynamicpaint +from . import properties_physics_rigidbody +from . import properties_output from . import properties_constraint from . import properties_freestyle -from . import properties_data_lightprobe -from . import space_toolsystem_common -from . import properties_material_gpencil -from . import space_properties -from . import properties_particle -from . import properties_data_empty -from . import properties_data_bone -from . import properties_output -from . import properties_data_metaball -from . import properties_physics_rigidbody_constraint -from . import space_text -from . import properties_physics_cloth -from . import space_outliner -from . import space_view3d_toolbar -from . import properties_view_layer -from . import properties_grease_pencil_common -from . import utils +from . import properties_workspace from . import properties_physics_softbody -from . import properties_data_lattice -from . import properties_paint_common -from . import properties_render -from . import properties_data_pointcloud -from . import properties_mask_common -from . import properties_world -from . import space_sequencer +from . import properties_data_gpencil from . import space_console -from . import space_node +from . import properties_mask_common +from . import properties_data_lattice from . import properties_data_speaker -from . import space_topbar -from . import properties_scene +from . import space_nla +from . import space_view3d_toolbar +from . import space_view3d +from . import properties_material +from . import properties_physics_dynamicpaint +from . import properties_animviz +from . import space_graph from . import properties_data_curve -from . import properties_object -from . import space_image -from . import properties_data_modifier -from . import properties_data_volume +from . import properties_data_pointcloud +from . import space_properties +from . import utils +from . import properties_data_light from . import properties_data_mesh +from . import properties_particle +from . import properties_view_layer +from . import space_userpref +from . import properties_physics_field +from . import properties_texture +from . import space_topbar +from . import properties_physics_cloth +from . import properties_data_shaderfx from . import space_dopesheet -from . import properties_material -from . import properties_physics_rigidbody from . import space_statusbar -from . import properties_animviz -from . import properties_data_armature +from . import properties_object +from . import properties_world from . import properties_data_hair -from . import properties_physics_field -from . import space_filebrowser +from . import properties_scene +from . import properties_data_metaball +from . import space_toolsystem_common class UI_UL_list(bpy_types.UIList, bpy_types._GenericUI): diff --git a/blender_autocomplete/bl_ui/properties_constraint.py b/blender_autocomplete/bl_ui/properties_constraint.py index 9d1f25b..06bd626 100644 --- a/blender_autocomplete/bl_ui/properties_constraint.py +++ b/blender_autocomplete/bl_ui/properties_constraint.py @@ -519,7 +519,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -1480,7 +1480,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -1870,7 +1870,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -2261,7 +2261,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -2651,7 +2651,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -3041,7 +3041,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -3431,7 +3431,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -3821,7 +3821,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -4212,7 +4212,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -4603,7 +4603,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -4993,7 +4993,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -5383,7 +5383,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -5774,7 +5774,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -6164,7 +6164,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -6554,7 +6554,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -6945,7 +6945,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -7335,7 +7335,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -7725,7 +7725,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -8115,7 +8115,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -8506,7 +8506,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -8897,7 +8897,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -9288,7 +9288,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -9678,7 +9678,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -10068,7 +10068,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -10458,7 +10458,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -10848,7 +10848,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -11238,7 +11238,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -11628,7 +11628,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -12019,7 +12019,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -12409,7 +12409,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -14466,7 +14466,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -15333,7 +15333,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -15962,7 +15962,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -16353,7 +16353,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -16744,7 +16744,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -17135,7 +17135,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -17526,7 +17526,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -17917,7 +17917,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -18308,7 +18308,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -18699,7 +18699,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -19090,7 +19090,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -19481,7 +19481,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -19872,7 +19872,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -20263,7 +20263,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -20654,7 +20654,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -21044,7 +21044,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -21435,7 +21435,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -21826,7 +21826,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -22217,7 +22217,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -22608,7 +22608,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -22999,7 +22999,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -23390,7 +23390,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -23781,7 +23781,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -24172,7 +24172,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -24563,7 +24563,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -24954,7 +24954,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -25345,7 +25345,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' @@ -25736,7 +25736,7 @@ def remove(self, draw_func): ''' pass - def space_template(self, layout, con, target, owner): + def space_template(self, layout, con, target, owner, separator): ''' ''' diff --git a/blender_autocomplete/bl_ui/properties_data_camera.py b/blender_autocomplete/bl_ui/properties_data_camera.py index 4c9f446..44456b3 100644 --- a/blender_autocomplete/bl_ui/properties_data_camera.py +++ b/blender_autocomplete/bl_ui/properties_data_camera.py @@ -1203,204 +1203,6 @@ def values(self): pass -class DATA_PT_camera_display_passepartout(CameraButtonsPanel, bpy_types.Panel, - bpy_types._GenericUI): - COMPAT_ENGINES = None - ''' ''' - - bl_context = None - ''' ''' - - bl_label = None - ''' ''' - - bl_options = None - ''' ''' - - bl_parent_id = None - ''' ''' - - bl_region_type = None - ''' ''' - - bl_rna = None - ''' ''' - - bl_space_type = None - ''' ''' - - id_data = None - ''' ''' - - def append(self, draw_func): - ''' - - ''' - pass - - def as_pointer(self): - ''' - - ''' - pass - - def bl_rna_get_subclass(self): - ''' - - ''' - pass - - def bl_rna_get_subclass_py(self): - ''' - - ''' - pass - - def draw(self, context): - ''' - - ''' - pass - - def draw_header(self, context): - ''' - - ''' - pass - - def driver_add(self): - ''' - - ''' - pass - - def driver_remove(self): - ''' - - ''' - pass - - def get(self): - ''' - - ''' - pass - - def is_extended(self): - ''' - - ''' - pass - - def is_property_hidden(self): - ''' - - ''' - pass - - def is_property_overridable_library(self): - ''' - - ''' - pass - - def is_property_readonly(self): - ''' - - ''' - pass - - def is_property_set(self): - ''' - - ''' - pass - - def items(self): - ''' - - ''' - pass - - def keyframe_delete(self): - ''' - - ''' - pass - - def keyframe_insert(self): - ''' - - ''' - pass - - def keys(self): - ''' - - ''' - pass - - def path_from_id(self): - ''' - - ''' - pass - - def path_resolve(self): - ''' - - ''' - pass - - def poll(self, context): - ''' - - ''' - pass - - def pop(self): - ''' - - ''' - pass - - def prepend(self, draw_func): - ''' - - ''' - pass - - def property_overridable_library_set(self): - ''' - - ''' - pass - - def property_unset(self): - ''' - - ''' - pass - - def remove(self, draw_func): - ''' - - ''' - pass - - def type_recast(self): - ''' - - ''' - pass - - def values(self): - ''' - - ''' - pass - - class DATA_PT_camera_dof(CameraButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): COMPAT_ENGINES = None diff --git a/blender_autocomplete/bl_ui/properties_data_curve.py b/blender_autocomplete/bl_ui/properties_data_curve.py index e0a88e6..51d33a7 100644 --- a/blender_autocomplete/bl_ui/properties_data_curve.py +++ b/blender_autocomplete/bl_ui/properties_data_curve.py @@ -1397,6 +1397,196 @@ def values(self): pass +class DATA_PT_geometry_curve_start_end(CurveButtonsPanelCurve, + CurveButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_options = None + ''' ''' + + bl_parent_id = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class DATA_PT_pathanim(CurveButtonsPanelCurve, CurveButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): bl_context = None diff --git a/blender_autocomplete/bl_ui/properties_data_empty.py b/blender_autocomplete/bl_ui/properties_data_empty.py index 4df3bb1..70a327b 100644 --- a/blender_autocomplete/bl_ui/properties_data_empty.py +++ b/blender_autocomplete/bl_ui/properties_data_empty.py @@ -202,198 +202,6 @@ def values(self): pass -class DATA_PT_empty_alpha(DataButtonsPanel, bpy_types.Panel, - bpy_types._GenericUI): - bl_context = None - ''' ''' - - bl_label = None - ''' ''' - - bl_parent_id = None - ''' ''' - - bl_region_type = None - ''' ''' - - bl_rna = None - ''' ''' - - bl_space_type = None - ''' ''' - - id_data = None - ''' ''' - - def append(self, draw_func): - ''' - - ''' - pass - - def as_pointer(self): - ''' - - ''' - pass - - def bl_rna_get_subclass(self): - ''' - - ''' - pass - - def bl_rna_get_subclass_py(self): - ''' - - ''' - pass - - def draw(self, context): - ''' - - ''' - pass - - def draw_header(self, context): - ''' - - ''' - pass - - def driver_add(self): - ''' - - ''' - pass - - def driver_remove(self): - ''' - - ''' - pass - - def get(self): - ''' - - ''' - pass - - def is_extended(self): - ''' - - ''' - pass - - def is_property_hidden(self): - ''' - - ''' - pass - - def is_property_overridable_library(self): - ''' - - ''' - pass - - def is_property_readonly(self): - ''' - - ''' - pass - - def is_property_set(self): - ''' - - ''' - pass - - def items(self): - ''' - - ''' - pass - - def keyframe_delete(self): - ''' - - ''' - pass - - def keyframe_insert(self): - ''' - - ''' - pass - - def keys(self): - ''' - - ''' - pass - - def path_from_id(self): - ''' - - ''' - pass - - def path_resolve(self): - ''' - - ''' - pass - - def poll(self, context): - ''' - - ''' - pass - - def pop(self): - ''' - - ''' - pass - - def prepend(self, draw_func): - ''' - - ''' - pass - - def property_overridable_library_set(self): - ''' - - ''' - pass - - def property_unset(self): - ''' - - ''' - pass - - def remove(self, draw_func): - ''' - - ''' - pass - - def type_recast(self): - ''' - - ''' - pass - - def values(self): - ''' - - ''' - pass - - class DATA_PT_empty_image(DataButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): bl_context = None diff --git a/blender_autocomplete/bl_ui/properties_data_hair.py b/blender_autocomplete/bl_ui/properties_data_hair.py index 8a1c000..05655be 100644 --- a/blender_autocomplete/bl_ui/properties_data_hair.py +++ b/blender_autocomplete/bl_ui/properties_data_hair.py @@ -21,6 +21,363 @@ def poll(self, context): pass +class HAIR_MT_add_attribute(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def add_standard_attribute(self, layout, hair, name, data_type, domain): + ''' + + ''' + pass + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class HAIR_UL_attributes(bpy_types.UIList, bpy_types._GenericUI): + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw_item(self, context, layout, data, attribute, icon, active_data, + active_propname, index): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class DATA_PT_context_hair(DataButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): COMPAT_ENGINES = None @@ -402,7 +759,8 @@ def values(self): pass -class DATA_PT_hair(DataButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): +class DATA_PT_hair_attributes(DataButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): COMPAT_ENGINES = None ''' ''' diff --git a/blender_autocomplete/bl_ui/properties_data_pointcloud.py b/blender_autocomplete/bl_ui/properties_data_pointcloud.py index 6abd878..a345a8c 100644 --- a/blender_autocomplete/bl_ui/properties_data_pointcloud.py +++ b/blender_autocomplete/bl_ui/properties_data_pointcloud.py @@ -21,6 +21,364 @@ def poll(self, context): pass +class POINTCLOUD_MT_add_attribute(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def add_standard_attribute(self, layout, pointcloud, name, data_type, + domain): + ''' + + ''' + pass + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class POINTCLOUD_UL_attributes(bpy_types.UIList, bpy_types._GenericUI): + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw_item(self, context, layout, data, attribute, icon, active_data, + active_propname, index): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class DATA_PT_context_pointcloud(DataButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): COMPAT_ENGINES = None @@ -403,8 +761,8 @@ def values(self): pass -class DATA_PT_pointcloud(DataButtonsPanel, bpy_types.Panel, - bpy_types._GenericUI): +class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): COMPAT_ENGINES = None ''' ''' diff --git a/blender_autocomplete/bl_ui/properties_data_volume.py b/blender_autocomplete/bl_ui/properties_data_volume.py index c032beb..27a1032 100644 --- a/blender_autocomplete/bl_ui/properties_data_volume.py +++ b/blender_autocomplete/bl_ui/properties_data_volume.py @@ -1309,3 +1309,198 @@ def values(self): ''' pass + + +class DATA_PT_volume_viewport_display_slicing( + DataButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): + COMPAT_ENGINES = None + ''' ''' + + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_parent_id = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def draw_header(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass diff --git a/blender_autocomplete/bl_ui/properties_grease_pencil_common.py b/blender_autocomplete/bl_ui/properties_grease_pencil_common.py index c8d0151..8b4c561 100644 --- a/blender_autocomplete/bl_ui/properties_grease_pencil_common.py +++ b/blender_autocomplete/bl_ui/properties_grease_pencil_common.py @@ -31,12 +31,6 @@ def draw_layers(self, context, layout, gpd): ''' pass - def poll(self, context): - ''' - - ''' - pass - class AnnotationDrawingToolsPanel: bl_category = None @@ -2357,11 +2351,3 @@ def draw(self, context): ''' pass - - -def gpencil_stroke_placement_settings(context, layout): - ''' - - ''' - - pass diff --git a/blender_autocomplete/bl_ui/properties_paint_common.py b/blender_autocomplete/bl_ui/properties_paint_common.py index 0823d4e..5a4cded 100644 --- a/blender_autocomplete/bl_ui/properties_paint_common.py +++ b/blender_autocomplete/bl_ui/properties_paint_common.py @@ -697,6 +697,15 @@ def prop_unified_color_picker(self, parent, context, brush, prop_name, pass +def brush_basic__draw_color_selector(context, layout, brush, gp_settings, + props): + ''' + + ''' + + pass + + def brush_basic_gpencil_paint_settings(layout, context, brush, compact): ''' diff --git a/blender_autocomplete/bl_ui/properties_physics_fluid.py b/blender_autocomplete/bl_ui/properties_physics_fluid.py index e0de9a2..b5cee9e 100644 --- a/blender_autocomplete/bl_ui/properties_physics_fluid.py +++ b/blender_autocomplete/bl_ui/properties_physics_fluid.py @@ -5338,6 +5338,243 @@ def values(self): pass +class PHYSICS_PT_viewport_display_advanced(PhysicButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_options = None + ''' ''' + + bl_parent_id = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def check_domain_has_unbaked_guide(self, domain): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def poll_fluid(self, context): + ''' + + ''' + pass + + def poll_fluid_domain(self, context): + ''' + + ''' + pass + + def poll_fluid_flow(self, context): + ''' + + ''' + pass + + def poll_fluid_flow_liquid(self, context): + ''' + + ''' + pass + + def poll_fluid_flow_outflow(self, context): + ''' + + ''' + pass + + def poll_gas_domain(self, context): + ''' + + ''' + pass + + def poll_liquid_domain(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class PHYSICS_PT_viewport_display_color(PhysicButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): bl_context = None @@ -5822,3 +6059,492 @@ def values(self): ''' pass + + +class PHYSICS_PT_viewport_display_slicing(PhysicButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_options = None + ''' ''' + + bl_parent_id = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def check_domain_has_unbaked_guide(self, domain): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def draw_header(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def poll_fluid(self, context): + ''' + + ''' + pass + + def poll_fluid_domain(self, context): + ''' + + ''' + pass + + def poll_fluid_flow(self, context): + ''' + + ''' + pass + + def poll_fluid_flow_liquid(self, context): + ''' + + ''' + pass + + def poll_fluid_flow_outflow(self, context): + ''' + + ''' + pass + + def poll_gas_domain(self, context): + ''' + + ''' + pass + + def poll_liquid_domain(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class PHYSICS_PT_viscosity(PhysicButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): + COMPAT_ENGINES = None + ''' ''' + + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_options = None + ''' ''' + + bl_parent_id = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def check_domain_has_unbaked_guide(self, domain): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def draw_header(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def poll_fluid(self, context): + ''' + + ''' + pass + + def poll_fluid_domain(self, context): + ''' + + ''' + pass + + def poll_fluid_flow(self, context): + ''' + + ''' + pass + + def poll_fluid_flow_liquid(self, context): + ''' + + ''' + pass + + def poll_fluid_flow_outflow(self, context): + ''' + + ''' + pass + + def poll_gas_domain(self, context): + ''' + + ''' + pass + + def poll_liquid_domain(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass diff --git a/blender_autocomplete/bl_ui/properties_physics_rigidbody.py b/blender_autocomplete/bl_ui/properties_physics_rigidbody.py index 270a54e..936e454 100644 --- a/blender_autocomplete/bl_ui/properties_physics_rigidbody.py +++ b/blender_autocomplete/bl_ui/properties_physics_rigidbody.py @@ -1544,7 +1544,7 @@ def values(self): pass -def rigid_body_warning(layout): +def rigid_body_warning(layout, text): ''' ''' diff --git a/blender_autocomplete/bl_ui/properties_render.py b/blender_autocomplete/bl_ui/properties_render.py index 7b8972e..5aaf49c 100644 --- a/blender_autocomplete/bl_ui/properties_render.py +++ b/blender_autocomplete/bl_ui/properties_render.py @@ -3655,6 +3655,9 @@ def values(self): class RENDER_PT_gpencil(RenderButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): + COMPAT_ENGINES = None + ''' ''' + bl_context = None ''' ''' diff --git a/blender_autocomplete/bl_ui/properties_view_layer.py b/blender_autocomplete/bl_ui/properties_view_layer.py index 7cf020d..96f8f8f 100644 --- a/blender_autocomplete/bl_ui/properties_view_layer.py +++ b/blender_autocomplete/bl_ui/properties_view_layer.py @@ -3,6 +3,171 @@ import bpy_types +class VIEWLAYER_UL_aov(bpy_types.UIList, bpy_types._GenericUI): + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw_item(self, context, layout, data, item, icon, active_data, + active_propname): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class ViewLayerButtonsPanel: bl_context = None ''' ''' @@ -20,8 +185,8 @@ def poll(self, context): pass -class VIEWLAYER_PT_eevee_layer_passes(ViewLayerButtonsPanel, bpy_types.Panel, - bpy_types._GenericUI): +class VIEWLAYER_PT_eevee_layer_passes_data( + ViewLayerButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): COMPAT_ENGINES = None ''' ''' @@ -31,6 +196,9 @@ class VIEWLAYER_PT_eevee_layer_passes(ViewLayerButtonsPanel, bpy_types.Panel, bl_label = None ''' ''' + bl_parent_id = None + ''' ''' + bl_region_type = None ''' ''' @@ -206,7 +374,7 @@ def values(self): pass -class VIEWLAYER_PT_eevee_layer_passes_data( +class VIEWLAYER_PT_eevee_layer_passes_effects( ViewLayerButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): COMPAT_ENGINES = None ''' ''' @@ -395,7 +563,7 @@ def values(self): pass -class VIEWLAYER_PT_eevee_layer_passes_effects( +class VIEWLAYER_PT_eevee_layer_passes_light( ViewLayerButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): COMPAT_ENGINES = None ''' ''' @@ -584,8 +752,8 @@ def values(self): pass -class VIEWLAYER_PT_eevee_layer_passes_light( - ViewLayerButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): +class VIEWLAYER_PT_layer(ViewLayerButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): COMPAT_ENGINES = None ''' ''' @@ -595,9 +763,6 @@ class VIEWLAYER_PT_eevee_layer_passes_light( bl_label = None ''' ''' - bl_parent_id = None - ''' ''' - bl_region_type = None ''' ''' @@ -773,8 +938,8 @@ def values(self): pass -class VIEWLAYER_PT_layer(ViewLayerButtonsPanel, bpy_types.Panel, - bpy_types._GenericUI): +class VIEWLAYER_PT_layer_passes(ViewLayerButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): COMPAT_ENGINES = None ''' ''' @@ -957,3 +1122,748 @@ def values(self): ''' pass + + +class ViewLayerAOVPanel(ViewLayerButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class ViewLayerCryptomattePanel(ViewLayerButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class VIEWLAYER_PT_layer_passes_aov(ViewLayerAOVPanel, ViewLayerButtonsPanel, + bpy_types.Panel, bpy_types._GenericUI): + COMPAT_ENGINES = None + ''' ''' + + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_parent_id = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class VIEWLAYER_PT_layer_passes_cryptomatte( + ViewLayerCryptomattePanel, ViewLayerButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): + COMPAT_ENGINES = None + ''' ''' + + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_parent_id = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass diff --git a/blender_autocomplete/bl_ui/space_clip.py b/blender_autocomplete/bl_ui/space_clip.py index 4967e63..efa41fe 100644 --- a/blender_autocomplete/bl_ui/space_clip.py +++ b/blender_autocomplete/bl_ui/space_clip.py @@ -2440,6 +2440,936 @@ class CLIP_MT_track(bpy_types.Menu, bpy_types._GenericUI): id_data = None ''' ''' + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class CLIP_MT_track_animation(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, _context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class CLIP_MT_track_cleanup(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, _context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class CLIP_MT_track_clear(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, _context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class CLIP_MT_track_motion(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, _context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class CLIP_MT_track_refine(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + def append(self, draw_func): ''' @@ -6924,6 +7854,9 @@ class CLIP_PT_tracking_lens(bpy_types.Panel, bpy_types._GenericUI): bl_options = None ''' ''' + bl_parent_id = None + ''' ''' + bl_region_type = None ''' ''' diff --git a/blender_autocomplete/bl_ui/space_dopesheet.py b/blender_autocomplete/bl_ui/space_dopesheet.py index 0b865b6..a0bdc61 100644 --- a/blender_autocomplete/bl_ui/space_dopesheet.py +++ b/blender_autocomplete/bl_ui/space_dopesheet.py @@ -4,184 +4,13 @@ import bl_ui.properties_grease_pencil_common -class DOPESHEET_HT_editor_buttons(bpy_types.Header, bpy_types._GenericUI): - bl_idname = None - ''' ''' - - bl_label = None - ''' ''' - - bl_rna = None - ''' ''' - - bl_space_type = None - ''' ''' - - id_data = None - ''' ''' - - def append(self, draw_func): - ''' - - ''' - pass - - def as_pointer(self): - ''' - - ''' - pass - - def bl_rna_get_subclass(self): - ''' - - ''' - pass - - def bl_rna_get_subclass_py(self): - ''' - - ''' - pass - - def draw(self, context): - ''' - - ''' - pass - +class DOPESHEET_HT_editor_buttons: def draw_header(self, context, layout): ''' ''' pass - def driver_add(self): - ''' - - ''' - pass - - def driver_remove(self): - ''' - - ''' - pass - - def get(self): - ''' - - ''' - pass - - def is_extended(self): - ''' - - ''' - pass - - def is_property_hidden(self): - ''' - - ''' - pass - - def is_property_overridable_library(self): - ''' - - ''' - pass - - def is_property_readonly(self): - ''' - - ''' - pass - - def is_property_set(self): - ''' - - ''' - pass - - def items(self): - ''' - - ''' - pass - - def keyframe_delete(self): - ''' - - ''' - pass - - def keyframe_insert(self): - ''' - - ''' - pass - - def keys(self): - ''' - - ''' - pass - - def path_from_id(self): - ''' - - ''' - pass - - def path_resolve(self): - ''' - - ''' - pass - - def pop(self): - ''' - - ''' - pass - - def prepend(self, draw_func): - ''' - - ''' - pass - - def property_overridable_library_set(self): - ''' - - ''' - pass - - def property_unset(self): - ''' - - ''' - pass - - def remove(self, draw_func): - ''' - - ''' - pass - - def type_recast(self): - ''' - - ''' - pass - - def values(self): - ''' - - ''' - pass - class DOPESHEET_HT_header(bpy_types.Header, bpy_types._GenericUI): bl_rna = None diff --git a/blender_autocomplete/bl_ui/space_filebrowser.py b/blender_autocomplete/bl_ui/space_filebrowser.py index a1499e7..b4f9cee 100644 --- a/blender_autocomplete/bl_ui/space_filebrowser.py +++ b/blender_autocomplete/bl_ui/space_filebrowser.py @@ -1,8 +1,1082 @@ import sys import typing +import bpy_extras.asset_utils import bpy_types +class ASSETBROWSER_PT_metadata(bpy_extras.asset_utils.AssetBrowserPanel, + bpy_types.Panel, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_options = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class ASSETBROWSER_PT_metadata_details( + bpy_extras.asset_utils.AssetMetaDataPanel, bpy_types.Panel, + bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class ASSETBROWSER_PT_metadata_preview( + bpy_extras.asset_utils.AssetMetaDataPanel, bpy_types.Panel, + bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class ASSETBROWSER_PT_metadata_tags(bpy_extras.asset_utils.AssetMetaDataPanel, + bpy_types.Panel, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class ASSETBROWSER_PT_navigation_bar(bpy_extras.asset_utils.AssetBrowserPanel, + bpy_types.Panel, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_options = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class ASSETBROWSER_UL_metadata_tags(bpy_types.UIList, bpy_types._GenericUI): + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw_item(self, _context, layout, _data, item, icon, _active_data, + _active_propname, _index): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class FILEBROWSER_HT_header(bpy_types.Header, bpy_types._GenericUI): bl_rna = None ''' ''' @@ -43,6 +1117,12 @@ def draw(self, context): ''' pass + def draw_asset_browser_buttons(self, context): + ''' + + ''' + pass + def driver_add(self): ''' @@ -2097,12 +3177,6 @@ def is_header_visible(self, context): ''' pass - def is_option_region_visible(self, context, space): - ''' - - ''' - pass - def is_property_hidden(self): ''' @@ -2219,6 +3293,9 @@ class FILEBROWSER_PT_display(bpy_types.Panel, bpy_types._GenericUI): bl_space_type = None ''' ''' + bl_ui_units_x = None + ''' ''' + id_data = None ''' ''' @@ -2398,6 +3475,9 @@ class FILEBROWSER_PT_filter(bpy_types.Panel, bpy_types._GenericUI): bl_space_type = None ''' ''' + bl_ui_units_x = None + ''' ''' + id_data = None ''' ''' @@ -2729,6 +3809,22 @@ def values(self): pass +def is_option_region_visible(context, space): + ''' + + ''' + + pass + + +def panel_poll_is_asset_browsing(context): + ''' + + ''' + + pass + + def panel_poll_is_upper_region(region): ''' diff --git a/blender_autocomplete/bl_ui/space_graph.py b/blender_autocomplete/bl_ui/space_graph.py index a4ac716..9767c3a 100644 --- a/blender_autocomplete/bl_ui/space_graph.py +++ b/blender_autocomplete/bl_ui/space_graph.py @@ -1290,6 +1290,192 @@ def values(self): pass +class GRAPH_MT_key_snap(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, _context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class GRAPH_MT_key_transform(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' diff --git a/blender_autocomplete/bl_ui/space_image.py b/blender_autocomplete/bl_ui/space_image.py index b9298ef..92eee60 100644 --- a/blender_autocomplete/bl_ui/space_image.py +++ b/blender_autocomplete/bl_ui/space_image.py @@ -3765,6 +3765,192 @@ def values(self): pass +class IMAGE_MT_uvs_unwrap(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class IMAGE_MT_view(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -4831,12 +5017,6 @@ def path_resolve(self): ''' pass - def poll(self, context): - ''' - - ''' - pass - def pop(self): ''' @@ -5431,7 +5611,7 @@ def values(self): pass -class IMAGE_PT_proportional_edit(bpy_types.Panel, bpy_types._GenericUI): +class IMAGE_PT_overlay(bpy_types.Panel, bpy_types._GenericUI): bl_label = None ''' ''' @@ -5607,11 +5787,11 @@ def values(self): pass -class IMAGE_PT_render_slots(bpy_types.Panel, bpy_types._GenericUI): - bl_category = None +class IMAGE_PT_overlay_image(bpy_types.Panel, bpy_types._GenericUI): + bl_label = None ''' ''' - bl_label = None + bl_parent_id = None ''' ''' bl_region_type = None @@ -5740,12 +5920,6 @@ def path_resolve(self): ''' pass - def poll(self, context): - ''' - - ''' - pass - def pop(self): ''' @@ -5789,10 +5963,13 @@ def values(self): pass -class IMAGE_PT_snapping(bpy_types.Panel, bpy_types._GenericUI): +class IMAGE_PT_overlay_texture_paint(bpy_types.Panel, bpy_types._GenericUI): bl_label = None ''' ''' + bl_parent_id = None + ''' ''' + bl_region_type = None ''' ''' @@ -5919,6 +6096,12 @@ def path_resolve(self): ''' pass + def poll(self, context): + ''' + + ''' + pass + def pop(self): ''' @@ -5962,11 +6145,11 @@ def values(self): pass -class IMAGE_PT_udim_grid(bpy_types.Panel, bpy_types._GenericUI): - bl_category = None +class IMAGE_PT_overlay_uv_edit(bpy_types.Panel, bpy_types._GenericUI): + bl_label = None ''' ''' - bl_label = None + bl_parent_id = None ''' ''' bl_region_type = None @@ -6144,11 +6327,11 @@ def values(self): pass -class IMAGE_PT_udim_tiles(bpy_types.Panel, bpy_types._GenericUI): - bl_category = None +class IMAGE_PT_overlay_uv_edit_geometry(bpy_types.Panel, bpy_types._GenericUI): + bl_label = None ''' ''' - bl_label = None + bl_parent_id = None ''' ''' bl_region_type = None @@ -6326,10 +6509,7 @@ def values(self): pass -class IMAGE_PT_uv_cursor(bpy_types.Panel, bpy_types._GenericUI): - bl_category = None - ''' ''' - +class IMAGE_PT_proportional_edit(bpy_types.Panel, bpy_types._GenericUI): bl_label = None ''' ''' @@ -6342,6 +6522,9 @@ class IMAGE_PT_uv_cursor(bpy_types.Panel, bpy_types._GenericUI): bl_space_type = None ''' ''' + bl_ui_units_x = None + ''' ''' + id_data = None ''' ''' @@ -6459,12 +6642,6 @@ def path_resolve(self): ''' pass - def poll(self, context): - ''' - - ''' - pass - def pop(self): ''' @@ -6508,7 +6685,7 @@ def values(self): pass -class IMAGE_PT_view_display(bpy_types.Panel, bpy_types._GenericUI): +class IMAGE_PT_render_slots(bpy_types.Panel, bpy_types._GenericUI): bl_category = None ''' ''' @@ -6690,20 +6867,10 @@ def values(self): pass -class IMAGE_PT_view_display_uv_edit_overlays(bpy_types.Panel, - bpy_types._GenericUI): - bl_category = None - ''' ''' - +class IMAGE_PT_snapping(bpy_types.Panel, bpy_types._GenericUI): bl_label = None ''' ''' - bl_options = None - ''' ''' - - bl_parent_id = None - ''' ''' - bl_region_type = None ''' ''' @@ -6830,12 +6997,6 @@ def path_resolve(self): ''' pass - def poll(self, context): - ''' - - ''' - pass - def pop(self): ''' @@ -6879,18 +7040,375 @@ def values(self): pass -class IMAGE_PT_view_display_uv_edit_overlays_stretch(bpy_types.Panel, - bpy_types._GenericUI): +class IMAGE_PT_udim_grid(bpy_types.Panel, bpy_types._GenericUI): bl_category = None ''' ''' bl_label = None ''' ''' - bl_options = None + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class IMAGE_PT_udim_tiles(bpy_types.Panel, bpy_types._GenericUI): + bl_category = None + ''' ''' + + bl_label = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class IMAGE_PT_uv_cursor(bpy_types.Panel, bpy_types._GenericUI): + bl_category = None ''' ''' - bl_parent_id = None + bl_label = None ''' ''' bl_region_type = None @@ -6935,7 +7453,183 @@ def draw(self, context): ''' pass - def draw_header(self, context): + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class IMAGE_PT_view_display(bpy_types.Panel, bpy_types._GenericUI): + bl_category = None + ''' ''' + + bl_label = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): ''' ''' diff --git a/blender_autocomplete/bl_ui/space_node.py b/blender_autocomplete/bl_ui/space_node.py index 6a8d432..e184436 100644 --- a/blender_autocomplete/bl_ui/space_node.py +++ b/blender_autocomplete/bl_ui/space_node.py @@ -2038,6 +2038,12 @@ def remove(self, draw_func): ''' pass + def show_socket_input(self, socket): + ''' + + ''' + pass + def type_recast(self): ''' diff --git a/blender_autocomplete/bl_ui/space_properties.py b/blender_autocomplete/bl_ui/space_properties.py index 6d4f452..2fd8078 100644 --- a/blender_autocomplete/bl_ui/space_properties.py +++ b/blender_autocomplete/bl_ui/space_properties.py @@ -37,7 +37,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -344,3 +344,176 @@ def values(self): ''' pass + + +class PROPERTIES_PT_options(bpy_types.Panel, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass diff --git a/blender_autocomplete/bl_ui/space_sequencer.py b/blender_autocomplete/bl_ui/space_sequencer.py index 49cb00e..c4d852b 100644 --- a/blender_autocomplete/bl_ui/space_sequencer.py +++ b/blender_autocomplete/bl_ui/space_sequencer.py @@ -3703,6 +3703,192 @@ def values(self): pass +class SEQUENCER_MT_strip_image_transform(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, _context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class SEQUENCER_MT_strip_input(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -4997,54 +5183,189 @@ def values(self): pass -class SequencerButtonsPanel: +class SEQUENCER_PT_overlay(bpy_types.Panel, bpy_types._GenericUI): + bl_label = None + ''' ''' + bl_region_type = None ''' ''' + bl_rna = None + ''' ''' + bl_space_type = None ''' ''' - def has_sequencer(self, context): + bl_ui_units_x = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): ''' ''' pass - def poll(self, context): + def as_pointer(self): ''' ''' pass + def bl_rna_get_subclass(self): + ''' -class SequencerButtonsPanel_Output: - bl_region_type = None - ''' ''' + ''' + pass - bl_space_type = None - ''' ''' + def bl_rna_get_subclass_py(self): + ''' - def has_preview(self, context): + ''' + pass + + def draw(self, _context): ''' ''' pass - def poll(self, context): + def driver_add(self): ''' ''' pass + def driver_remove(self): + ''' -class SEQUENCER_PT_adjust(SequencerButtonsPanel, bpy_types.Panel, - bpy_types._GenericUI): - bl_category = None - ''' ''' + ''' + pass + + def get(self): + ''' + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class SEQUENCER_PT_preview_overlay(bpy_types.Panel, bpy_types._GenericUI): bl_label = None ''' ''' + bl_parent_id = None + ''' ''' + bl_region_type = None ''' ''' @@ -5105,12 +5426,6 @@ def get(self): ''' pass - def has_sequencer(self, context): - ''' - - ''' - pass - def is_extended(self): ''' @@ -5226,17 +5541,10 @@ def values(self): pass -class SEQUENCER_PT_adjust_color(SequencerButtonsPanel, bpy_types.Panel, - bpy_types._GenericUI): - bl_category = None - ''' ''' - +class SEQUENCER_PT_sequencer_overlay(bpy_types.Panel, bpy_types._GenericUI): bl_label = None ''' ''' - bl_options = None - ''' ''' - bl_parent_id = None ''' ''' @@ -5300,12 +5608,6 @@ def get(self): ''' pass - def has_sequencer(self, context): - ''' - - ''' - pass - def is_extended(self): ''' @@ -5421,15 +5723,55 @@ def values(self): pass -class SEQUENCER_PT_adjust_comp(SequencerButtonsPanel, bpy_types.Panel, - bpy_types._GenericUI): +class SequencerButtonsPanel: + bl_region_type = None + ''' ''' + + bl_space_type = None + ''' ''' + + def has_sequencer(self, context): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + +class SequencerButtonsPanel_Output: + bl_region_type = None + ''' ''' + + bl_space_type = None + ''' ''' + + def has_preview(self, context): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + +class SEQUENCER_PT_adjust_color(SequencerButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): bl_category = None ''' ''' bl_label = None ''' ''' - bl_parent_id = None + bl_options = None ''' ''' bl_region_type = None @@ -5613,17 +5955,14 @@ def values(self): pass -class SEQUENCER_PT_adjust_sound(SequencerButtonsPanel, bpy_types.Panel, - bpy_types._GenericUI): +class SEQUENCER_PT_adjust_comp(SequencerButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): bl_category = None ''' ''' bl_label = None ''' ''' - bl_parent_id = None - ''' ''' - bl_region_type = None ''' ''' @@ -5805,15 +6144,15 @@ def values(self): pass -class SEQUENCER_PT_adjust_transform(SequencerButtonsPanel, bpy_types.Panel, - bpy_types._GenericUI): +class SEQUENCER_PT_adjust_crop(SequencerButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): bl_category = None ''' ''' bl_label = None ''' ''' - bl_parent_id = None + bl_options = None ''' ''' bl_region_type = None @@ -5997,20 +6336,14 @@ def values(self): pass -class SEQUENCER_PT_adjust_transform_crop( - SequencerButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): +class SEQUENCER_PT_adjust_sound(SequencerButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): bl_category = None ''' ''' bl_label = None ''' ''' - bl_options = None - ''' ''' - - bl_parent_id = None - ''' ''' - bl_region_type = None ''' ''' @@ -6053,12 +6386,6 @@ def draw(self, context): ''' pass - def draw_header(self, context): - ''' - - ''' - pass - def driver_add(self): ''' @@ -6198,8 +6525,8 @@ def values(self): pass -class SEQUENCER_PT_adjust_transform_offset( - SequencerButtonsPanel, bpy_types.Panel, bpy_types._GenericUI): +class SEQUENCER_PT_adjust_transform(SequencerButtonsPanel, bpy_types.Panel, + bpy_types._GenericUI): bl_category = None ''' ''' @@ -6209,9 +6536,6 @@ class SEQUENCER_PT_adjust_transform_offset( bl_options = None ''' ''' - bl_parent_id = None - ''' ''' - bl_region_type = None ''' ''' @@ -6254,12 +6578,6 @@ def draw(self, context): ''' pass - def draw_header(self, context): - ''' - - ''' - pass - def driver_add(self): ''' @@ -6410,9 +6728,6 @@ class SEQUENCER_PT_adjust_video(SequencerButtonsPanel, bpy_types.Panel, bl_options = None ''' ''' - bl_parent_id = None - ''' ''' - bl_region_type = None ''' ''' diff --git a/blender_autocomplete/bl_ui/space_time.py b/blender_autocomplete/bl_ui/space_time.py index 42f52f9..54f8557 100644 --- a/blender_autocomplete/bl_ui/space_time.py +++ b/blender_autocomplete/bl_ui/space_time.py @@ -3,19 +3,21 @@ import bpy_types -class TIME_HT_editor_buttons(bpy_types.Header, bpy_types._GenericUI): - bl_idname = None - ''' ''' +class TIME_HT_editor_buttons: + def draw_header(self, context, layout): + ''' + + ''' + pass + +class TIME_MT_cache(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' bl_rna = None ''' ''' - bl_space_type = None - ''' ''' - id_data = None ''' ''' @@ -49,7 +51,13 @@ def draw(self, context): ''' pass - def draw_header(self, context, layout): + def draw_collapsible(self, context, layout): + ''' + + ''' + pass + + def draw_preset(self, _context): ''' ''' @@ -133,6 +141,13 @@ def path_from_id(self): ''' pass + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + def path_resolve(self): ''' @@ -182,7 +197,10 @@ def values(self): pass -class TIME_MT_cache(bpy_types.Menu, bpy_types._GenericUI): +class TIME_MT_editor_menus(bpy_types.Menu, bpy_types._GenericUI): + bl_idname = None + ''' ''' + bl_label = None ''' ''' @@ -368,10 +386,7 @@ def values(self): pass -class TIME_MT_editor_menus(bpy_types.Menu, bpy_types._GenericUI): - bl_idname = None - ''' ''' - +class TIME_MT_marker(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -557,7 +572,7 @@ def values(self): pass -class TIME_MT_marker(bpy_types.Menu, bpy_types._GenericUI): +class TIME_MT_view(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -743,13 +758,40 @@ def values(self): pass -class TIME_MT_view(bpy_types.Menu, bpy_types._GenericUI): +class TimelinePanelButtons: + bl_region_type = None + ''' ''' + + bl_space_type = None + ''' ''' + + def has_timeline(self, context): + ''' + + ''' + pass + + +class TIME_PT_auto_keyframing(TimelinePanelButtons, bpy_types.Panel, + bpy_types._GenericUI): bl_label = None ''' ''' + bl_options = None + ''' ''' + + bl_region_type = None + ''' ''' + bl_rna = None ''' ''' + bl_space_type = None + ''' ''' + + bl_ui_units_x = None + ''' ''' + id_data = None ''' ''' @@ -783,31 +825,25 @@ def draw(self, context): ''' pass - def draw_collapsible(self, context, layout): - ''' - - ''' - pass - - def draw_preset(self, _context): + def driver_add(self): ''' ''' pass - def driver_add(self): + def driver_remove(self): ''' ''' pass - def driver_remove(self): + def get(self): ''' ''' pass - def get(self): + def has_timeline(self, context): ''' ''' @@ -873,14 +909,13 @@ def path_from_id(self): ''' pass - def path_menu(self, searchpaths, operator, props_default, prop_filepath, - filter_ext, filter_path, display_name, add_operator): + def path_resolve(self): ''' ''' pass - def path_resolve(self): + def poll(self, context): ''' ''' @@ -929,20 +964,6 @@ def values(self): pass -class TimelinePanelButtons: - bl_region_type = None - ''' ''' - - bl_space_type = None - ''' ''' - - def has_timeline(self, context): - ''' - - ''' - pass - - class TIME_PT_keyframing_settings(TimelinePanelButtons, bpy_types.Panel, bpy_types._GenericUI): bl_label = None @@ -1146,6 +1167,9 @@ class TIME_PT_playback(TimelinePanelButtons, bpy_types.Panel, bl_space_type = None ''' ''' + bl_ui_units_x = None + ''' ''' + id_data = None ''' ''' diff --git a/blender_autocomplete/bl_ui/space_toolsystem_toolbar.py b/blender_autocomplete/bl_ui/space_toolsystem_toolbar.py index 0d0cb58..f9fb7d1 100644 --- a/blender_autocomplete/bl_ui/space_toolsystem_toolbar.py +++ b/blender_autocomplete/bl_ui/space_toolsystem_toolbar.py @@ -1184,6 +1184,12 @@ def generate_from_brushes(self, context): ''' pass + def gpencil_primitive_toolbar(self, context, layout, tool, props): + ''' + + ''' + pass + class _defs_gpencil_sculpt: def generate_from_brushes(self, context): @@ -1321,6 +1327,15 @@ class _defs_sculpt: color_filter = None ''' ''' + face_set_box = None + ''' ''' + + face_set_edit = None + ''' ''' + + face_set_lasso = None + ''' ''' + hide_border = None ''' ''' @@ -1333,9 +1348,21 @@ class _defs_sculpt: mask_lasso = None ''' ''' + mask_line = None + ''' ''' + mesh_filter = None ''' ''' + project_line = None + ''' ''' + + trim_box = None + ''' ''' + + trim_lasso = None + ''' ''' + def generate_from_brushes(self, context): ''' @@ -1423,7 +1450,13 @@ class _defs_view3d_add: uv_sphere_add = None ''' ''' - def draw_settings_interactive_add(self, layout, tool): + def description_interactive_add(self, context, _item, _km, prefix): + ''' + + ''' + pass + + def draw_settings_interactive_add(self, layout, tool, extra): ''' ''' diff --git a/blender_autocomplete/bl_ui/space_userpref.py b/blender_autocomplete/bl_ui/space_userpref.py index 8f55f65..7fc461c 100644 --- a/blender_autocomplete/bl_ui/space_userpref.py +++ b/blender_autocomplete/bl_ui/space_userpref.py @@ -4876,6 +4876,189 @@ def values(self): pass +class USERPREF_PT_file_paths_asset_libraries(FilePathsPanel, bpy_types.Panel, + bpy_types._GenericUI): + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def poll(self, context): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class USERPREF_PT_file_paths_data(FilePathsPanel, bpy_types.Panel, bpy_types._GenericUI): bl_context = None @@ -10630,6 +10813,12 @@ def path_resolve(self): ''' pass + def poll(self, context): + ''' + + ''' + pass + def pop(self): ''' @@ -11596,6 +11785,198 @@ def values(self): pass +class USERPREF_PT_theme_collection_colors( + ThemePanel, CenterAlignMixIn, bpy_types.Panel, bpy_types._GenericUI): + bl_context = None + ''' ''' + + bl_label = None + ''' ''' + + bl_options = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def draw_centered(self, context, layout): + ''' + + ''' + pass + + def draw_header(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + class USERPREF_PT_theme_interface_gizmos( ThemePanel, CenterAlignMixIn, bpy_types.Panel, bpy_types._GenericUI): bl_context = None diff --git a/blender_autocomplete/bl_ui/space_view3d.py b/blender_autocomplete/bl_ui/space_view3d.py index e1c26a7..f17828c 100644 --- a/blender_autocomplete/bl_ui/space_view3d.py +++ b/blender_autocomplete/bl_ui/space_view3d.py @@ -555,12 +555,6 @@ def path_resolve(self): ''' pass - def poll(self, context): - ''' - - ''' - pass - def pop(self): ''' @@ -2833,7 +2827,7 @@ def values(self): pass -class VIEW3D_MT_edit_armature(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_draw_gpencil(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -2867,7 +2861,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -3019,7 +3013,7 @@ def values(self): pass -class VIEW3D_MT_edit_armature_delete(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_armature(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -3053,7 +3047,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -3205,7 +3199,7 @@ def values(self): pass -class VIEW3D_MT_edit_armature_names(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_armature_delete(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -3391,7 +3385,7 @@ def values(self): pass -class VIEW3D_MT_edit_armature_parent(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_armature_names(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -3577,7 +3571,7 @@ def values(self): pass -class VIEW3D_MT_edit_armature_roll(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_armature_parent(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -3763,7 +3757,7 @@ def values(self): pass -class VIEW3D_MT_edit_curve(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_armature_roll(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -3949,7 +3943,7 @@ def values(self): pass -class VIEW3D_MT_edit_curve_clean(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_curve(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -4135,7 +4129,7 @@ def values(self): pass -class VIEW3D_MT_edit_curve_context_menu(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_curve_clean(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -4321,7 +4315,7 @@ def values(self): pass -class VIEW3D_MT_edit_curve_ctrlpoints(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_curve_context_menu(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -4355,7 +4349,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -4507,7 +4501,7 @@ def values(self): pass -class VIEW3D_MT_edit_curve_delete(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_curve_ctrlpoints(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -4541,7 +4535,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -4693,7 +4687,7 @@ def values(self): pass -class VIEW3D_MT_edit_curve_segments(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_curve_delete(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -4879,7 +4873,7 @@ def values(self): pass -class VIEW3D_MT_edit_font(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_curve_segments(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -5065,7 +5059,7 @@ def values(self): pass -class VIEW3D_MT_edit_font_chars(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_font(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -5251,7 +5245,7 @@ def values(self): pass -class VIEW3D_MT_edit_font_context_menu(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_font_chars(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -5437,7 +5431,7 @@ def values(self): pass -class VIEW3D_MT_edit_font_delete(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_font_context_menu(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -5623,7 +5617,7 @@ def values(self): pass -class VIEW3D_MT_edit_font_kerning(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_font_delete(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -5657,7 +5651,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -5809,7 +5803,7 @@ def values(self): pass -class VIEW3D_MT_edit_gpencil(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_font_kerning(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -5843,7 +5837,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -5995,7 +5989,7 @@ def values(self): pass -class VIEW3D_MT_edit_gpencil_delete(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_gpencil(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -6181,7 +6175,7 @@ def values(self): pass -class VIEW3D_MT_edit_gpencil_interpolate(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_gpencil_delete(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -6367,7 +6361,7 @@ def values(self): pass -class VIEW3D_MT_edit_gpencil_point(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_gpencil_interpolate(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -6553,7 +6547,7 @@ def values(self): pass -class VIEW3D_MT_edit_gpencil_showhide(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_gpencil_point(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -6739,7 +6733,7 @@ def values(self): pass -class VIEW3D_MT_edit_gpencil_stroke(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_gpencil_showhide(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -6925,7 +6919,7 @@ def values(self): pass -class VIEW3D_MT_edit_gpencil_transform(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_gpencil_stroke(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -6959,7 +6953,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -7111,7 +7105,7 @@ def values(self): pass -class VIEW3D_MT_edit_lattice(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_gpencil_transform(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -7297,8 +7291,7 @@ def values(self): pass -class VIEW3D_MT_edit_lattice_context_menu(bpy_types.Menu, - bpy_types._GenericUI): +class VIEW3D_MT_edit_lattice(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -7484,7 +7477,8 @@ def values(self): pass -class VIEW3D_MT_edit_mesh(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_lattice_context_menu(bpy_types.Menu, + bpy_types._GenericUI): bl_label = None ''' ''' @@ -7670,7 +7664,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_clean(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -7856,7 +7850,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_context_menu(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_clean(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -7890,7 +7884,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -8042,7 +8036,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_delete(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_context_menu(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -8076,7 +8070,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -8228,7 +8222,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_edges(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_delete(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -8414,7 +8408,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_edges_data(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_edges(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -8448,7 +8442,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -8600,7 +8594,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_extrude(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_edges_data(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -8664,12 +8658,6 @@ def driver_remove(self): ''' pass - def extrude_options(self, context): - ''' - - ''' - pass - def get(self): ''' @@ -8792,10 +8780,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_faces(bpy_types.Menu, bpy_types._GenericUI): - bl_idname = None - ''' ''' - +class VIEW3D_MT_edit_mesh_extrude(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -8829,7 +8814,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -8859,6 +8844,12 @@ def driver_remove(self): ''' pass + def extrude_options(self, context): + ''' + + ''' + pass + def get(self): ''' @@ -8981,7 +8972,10 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_faces_data(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_faces(bpy_types.Menu, bpy_types._GenericUI): + bl_idname = None + ''' ''' + bl_label = None ''' ''' @@ -9167,7 +9161,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_merge(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_faces_data(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -9353,7 +9347,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_normals(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_merge(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -9539,8 +9533,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_normals_average(bpy_types.Menu, - bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_normals(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -9726,8 +9719,8 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_normals_select_strength(bpy_types.Menu, - bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_normals_average(bpy_types.Menu, + bpy_types._GenericUI): bl_label = None ''' ''' @@ -9913,8 +9906,8 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_normals_set_strength(bpy_types.Menu, - bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_normals_select_strength(bpy_types.Menu, + bpy_types._GenericUI): bl_label = None ''' ''' @@ -10100,8 +10093,8 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_select_by_trait(bpy_types.Menu, - bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_normals_set_strength(bpy_types.Menu, + bpy_types._GenericUI): bl_label = None ''' ''' @@ -10135,7 +10128,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -10287,7 +10280,8 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_select_linked(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_select_by_trait(bpy_types.Menu, + bpy_types._GenericUI): bl_label = None ''' ''' @@ -10321,7 +10315,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -10473,7 +10467,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_select_loops(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_select_linked(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -10659,7 +10653,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_select_mode(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_select_loops(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -10845,8 +10839,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_select_more_less(bpy_types.Menu, - bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_select_mode(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -11032,7 +11025,8 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_select_similar(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_select_more_less(bpy_types.Menu, + bpy_types._GenericUI): bl_label = None ''' ''' @@ -11218,7 +11212,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_shading(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_select_similar(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -11404,7 +11398,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_split(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_shading(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -11590,7 +11584,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_vertices(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_split(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -11776,7 +11770,7 @@ def values(self): pass -class VIEW3D_MT_edit_mesh_weights(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_vertices(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -11962,7 +11956,7 @@ def values(self): pass -class VIEW3D_MT_edit_meta(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_mesh_weights(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -12148,7 +12142,7 @@ def values(self): pass -class VIEW3D_MT_edit_meta_showhide(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_meta(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -12334,8 +12328,7 @@ def values(self): pass -class VIEW3D_MT_edit_metaball_context_menu(bpy_types.Menu, - bpy_types._GenericUI): +class VIEW3D_MT_edit_meta_showhide(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -12521,7 +12514,8 @@ def values(self): pass -class VIEW3D_MT_edit_surface(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_metaball_context_menu(bpy_types.Menu, + bpy_types._GenericUI): bl_label = None ''' ''' @@ -12707,7 +12701,7 @@ def values(self): pass -class VIEW3D_MT_editor_menus(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_edit_surface(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -12741,7 +12735,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -12893,7 +12887,7 @@ def values(self): pass -class VIEW3D_MT_face_sets(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_editor_menus(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -12927,7 +12921,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -13079,7 +13073,7 @@ def values(self): pass -class VIEW3D_MT_face_sets_init(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_face_sets(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -13265,7 +13259,7 @@ def values(self): pass -class VIEW3D_MT_gpencil_animation(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_face_sets_init(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -13408,12 +13402,6 @@ def path_resolve(self): ''' pass - def poll(self, context): - ''' - - ''' - pass - def pop(self): ''' @@ -13457,7 +13445,7 @@ def values(self): pass -class VIEW3D_MT_gpencil_autoweights(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_gpencil_animation(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -13600,6 +13588,12 @@ def path_resolve(self): ''' pass + def poll(self, context): + ''' + + ''' + pass + def pop(self): ''' @@ -13643,7 +13637,7 @@ def values(self): pass -class VIEW3D_MT_gpencil_copy_layer(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_gpencil_autoweights(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -13677,7 +13671,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -13829,8 +13823,7 @@ def values(self): pass -class VIEW3D_MT_gpencil_edit_context_menu(bpy_types.Menu, - bpy_types._GenericUI): +class VIEW3D_MT_gpencil_copy_layer(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -14016,7 +14009,8 @@ def values(self): pass -class VIEW3D_MT_gpencil_simplify(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_gpencil_edit_context_menu(bpy_types.Menu, + bpy_types._GenericUI): bl_label = None ''' ''' @@ -14050,7 +14044,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -14202,7 +14196,7 @@ def values(self): pass -class VIEW3D_MT_gpencil_vertex_group(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_gpencil_simplify(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -14236,7 +14230,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -14388,7 +14382,7 @@ def values(self): pass -class VIEW3D_MT_hook(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_gpencil_vertex_group(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -14574,7 +14568,7 @@ def values(self): pass -class VIEW3D_MT_image_add(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_hook(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -14608,7 +14602,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -14760,10 +14754,7 @@ def values(self): pass -class VIEW3D_MT_light_add(bpy_types.Menu, bpy_types._GenericUI): - bl_idname = None - ''' ''' - +class VIEW3D_MT_image_add(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -14949,7 +14940,7 @@ def values(self): pass -class VIEW3D_MT_lightprobe_add(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_light_add(bpy_types.Menu, bpy_types._GenericUI): bl_idname = None ''' ''' @@ -15138,7 +15129,10 @@ def values(self): pass -class VIEW3D_MT_make_links(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_lightprobe_add(bpy_types.Menu, bpy_types._GenericUI): + bl_idname = None + ''' ''' + bl_label = None ''' ''' @@ -15324,7 +15318,7 @@ def values(self): pass -class VIEW3D_MT_make_single_user(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_make_links(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -15510,7 +15504,7 @@ def values(self): pass -class VIEW3D_MT_mask(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_make_single_user(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -15696,10 +15690,7 @@ def values(self): pass -class VIEW3D_MT_mesh_add(bpy_types.Menu, bpy_types._GenericUI): - bl_idname = None - ''' ''' - +class VIEW3D_MT_mask(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -15885,7 +15876,7 @@ def values(self): pass -class VIEW3D_MT_metaball_add(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_mesh_add(bpy_types.Menu, bpy_types._GenericUI): bl_idname = None ''' ''' @@ -16074,7 +16065,10 @@ def values(self): pass -class VIEW3D_MT_mirror(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_metaball_add(bpy_types.Menu, bpy_types._GenericUI): + bl_idname = None + ''' ''' + bl_label = None ''' ''' @@ -16260,10 +16254,7 @@ def values(self): pass -class VIEW3D_MT_object(bpy_types.Menu, bpy_types._GenericUI): - bl_context = None - ''' ''' - +class VIEW3D_MT_mirror(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -16297,7 +16288,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -16449,7 +16440,10 @@ def values(self): pass -class VIEW3D_MT_object_animation(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object(bpy_types.Menu, bpy_types._GenericUI): + bl_context = None + ''' ''' + bl_label = None ''' ''' @@ -16483,7 +16477,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -16635,7 +16629,7 @@ def values(self): pass -class VIEW3D_MT_object_apply(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_animation(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -16821,7 +16815,7 @@ def values(self): pass -class VIEW3D_MT_object_clear(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_apply(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -17007,7 +17001,7 @@ def values(self): pass -class VIEW3D_MT_object_collection(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_cleanup(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -17193,7 +17187,7 @@ def values(self): pass -class VIEW3D_MT_object_constraints(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_clear(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -17379,7 +17373,7 @@ def values(self): pass -class VIEW3D_MT_object_context_menu(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_collection(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -17413,7 +17407,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -17565,7 +17559,7 @@ def values(self): pass -class VIEW3D_MT_object_mode_pie(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_constraints(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -17751,7 +17745,7 @@ def values(self): pass -class VIEW3D_MT_object_parent(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_context_menu(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -17785,7 +17779,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -17937,7 +17931,7 @@ def values(self): pass -class VIEW3D_MT_object_quick_effects(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_mode_pie(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -18123,7 +18117,7 @@ def values(self): pass -class VIEW3D_MT_object_relations(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_parent(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -18309,7 +18303,7 @@ def values(self): pass -class VIEW3D_MT_object_rigid_body(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_quick_effects(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -18343,7 +18337,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -18495,7 +18489,7 @@ def values(self): pass -class VIEW3D_MT_object_shading(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_relations(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -18681,7 +18675,7 @@ def values(self): pass -class VIEW3D_MT_object_showhide(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_rigid_body(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -18867,7 +18861,7 @@ def values(self): pass -class VIEW3D_MT_object_track(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_shading(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -19053,7 +19047,7 @@ def values(self): pass -class VIEW3D_MT_orientations_pie(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_showhide(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -19087,7 +19081,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -19239,7 +19233,7 @@ def values(self): pass -class VIEW3D_MT_paint_gpencil(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_object_track(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -19425,7 +19419,7 @@ def values(self): pass -class VIEW3D_MT_paint_vertex(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_orientations_pie(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -19459,7 +19453,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -19611,7 +19605,7 @@ def values(self): pass -class VIEW3D_MT_paint_weight(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_paint_gpencil(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -19645,7 +19639,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -19657,7 +19651,187 @@ def draw_collapsible(self, context, layout): ''' pass - def draw_generic(self, layout, is_editmode): + def draw_preset(self, _context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_menu(self, searchpaths, operator, props_default, prop_filepath, + filter_ext, filter_path, display_name, add_operator): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class VIEW3D_MT_paint_vertex(bpy_types.Menu, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_rna = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, _context): + ''' + + ''' + pass + + def draw_collapsible(self, context, layout): ''' ''' @@ -19803,7 +19977,7 @@ def values(self): pass -class VIEW3D_MT_paint_weight_lock(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_paint_weight(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -19849,6 +20023,12 @@ def draw_collapsible(self, context, layout): ''' pass + def draw_generic(self, layout, is_editmode): + ''' + + ''' + pass + def draw_preset(self, _context): ''' @@ -19989,7 +20169,7 @@ def values(self): pass -class VIEW3D_MT_particle(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_paint_weight_lock(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -20023,7 +20203,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -20175,7 +20355,7 @@ def values(self): pass -class VIEW3D_MT_particle_context_menu(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_particle(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -20361,7 +20541,7 @@ def values(self): pass -class VIEW3D_MT_pivot_pie(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_particle_context_menu(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -20547,7 +20727,7 @@ def values(self): pass -class VIEW3D_MT_pose(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pivot_pie(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -20581,7 +20761,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -20733,7 +20913,7 @@ def values(self): pass -class VIEW3D_MT_pose_apply(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -20919,7 +21099,7 @@ def values(self): pass -class VIEW3D_MT_pose_constraints(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose_apply(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -21105,7 +21285,7 @@ def values(self): pass -class VIEW3D_MT_pose_context_menu(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose_constraints(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -21291,7 +21471,7 @@ def values(self): pass -class VIEW3D_MT_pose_group(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose_context_menu(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -21325,7 +21505,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -21477,7 +21657,7 @@ def values(self): pass -class VIEW3D_MT_pose_ik(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose_group(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -21511,7 +21691,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -21663,7 +21843,7 @@ def values(self): pass -class VIEW3D_MT_pose_library(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose_ik(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -21849,7 +22029,7 @@ def values(self): pass -class VIEW3D_MT_pose_motion(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose_library(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -22035,7 +22215,7 @@ def values(self): pass -class VIEW3D_MT_pose_names(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose_motion(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -22221,7 +22401,7 @@ def values(self): pass -class VIEW3D_MT_pose_propagate(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose_names(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -22407,7 +22587,7 @@ def values(self): pass -class VIEW3D_MT_pose_slide(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose_propagate(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -22593,7 +22773,7 @@ def values(self): pass -class VIEW3D_MT_pose_transform(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_pose_slide(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -22779,8 +22959,7 @@ def values(self): pass -class VIEW3D_MT_proportional_editing_falloff_pie(bpy_types.Menu, - bpy_types._GenericUI): +class VIEW3D_MT_pose_transform(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -22814,7 +22993,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -22966,7 +23145,8 @@ def values(self): pass -class VIEW3D_MT_sculpt(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_proportional_editing_falloff_pie(bpy_types.Menu, + bpy_types._GenericUI): bl_label = None ''' ''' @@ -23000,7 +23180,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -23152,8 +23332,7 @@ def values(self): pass -class VIEW3D_MT_sculpt_face_sets_edit_pie(bpy_types.Menu, - bpy_types._GenericUI): +class VIEW3D_MT_sculpt(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -23339,7 +23518,7 @@ def values(self): pass -class VIEW3D_MT_sculpt_mask_edit_pie(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_sculpt_automasking_pie(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -23373,7 +23552,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -23525,7 +23704,8 @@ def values(self): pass -class VIEW3D_MT_sculpt_set_pivot(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_sculpt_face_sets_edit_pie(bpy_types.Menu, + bpy_types._GenericUI): bl_label = None ''' ''' @@ -23711,7 +23891,7 @@ def values(self): pass -class VIEW3D_MT_select_edit_armature(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_sculpt_mask_edit_pie(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -23897,7 +24077,7 @@ def values(self): pass -class VIEW3D_MT_select_edit_curve(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_sculpt_set_pivot(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -24083,7 +24263,7 @@ def values(self): pass -class VIEW3D_MT_select_edit_lattice(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_edit_armature(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -24269,7 +24449,7 @@ def values(self): pass -class VIEW3D_MT_select_edit_mesh(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_edit_curve(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -24455,7 +24635,7 @@ def values(self): pass -class VIEW3D_MT_select_edit_metaball(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_edit_lattice(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -24641,7 +24821,7 @@ def values(self): pass -class VIEW3D_MT_select_edit_surface(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_edit_mesh(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -24827,7 +25007,7 @@ def values(self): pass -class VIEW3D_MT_select_edit_text(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_edit_metaball(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -25013,7 +25193,7 @@ def values(self): pass -class VIEW3D_MT_select_gpencil(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_edit_surface(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -25199,7 +25379,7 @@ def values(self): pass -class VIEW3D_MT_select_object(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_edit_text(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -25385,7 +25565,7 @@ def values(self): pass -class VIEW3D_MT_select_object_more_less(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_gpencil(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -25419,7 +25599,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -25571,7 +25751,7 @@ def values(self): pass -class VIEW3D_MT_select_paint_mask(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_object(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -25757,7 +25937,7 @@ def values(self): pass -class VIEW3D_MT_select_paint_mask_vertex(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_object_more_less(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -25943,7 +26123,7 @@ def values(self): pass -class VIEW3D_MT_select_particle(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_paint_mask(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -26129,7 +26309,7 @@ def values(self): pass -class VIEW3D_MT_select_pose(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_paint_mask_vertex(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -26315,7 +26495,7 @@ def values(self): pass -class VIEW3D_MT_select_pose_more_less(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_particle(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -26501,7 +26681,7 @@ def values(self): pass -class VIEW3D_MT_shading_ex_pie(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_pose(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -26535,7 +26715,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -26687,7 +26867,7 @@ def values(self): pass -class VIEW3D_MT_shading_pie(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_select_pose_more_less(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -26721,7 +26901,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -26873,7 +27053,7 @@ def values(self): pass -class VIEW3D_MT_snap(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_shading_ex_pie(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -26907,7 +27087,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -27059,7 +27239,7 @@ def values(self): pass -class VIEW3D_MT_snap_pie(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_shading_pie(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -27093,7 +27273,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -27245,10 +27425,7 @@ def values(self): pass -class VIEW3D_MT_surface_add(bpy_types.Menu, bpy_types._GenericUI): - bl_idname = None - ''' ''' - +class VIEW3D_MT_snap(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -27434,10 +27611,7 @@ def values(self): pass -class VIEW3D_MT_transform_base(bpy_types.Menu, bpy_types._GenericUI): - bl_category = None - ''' ''' - +class VIEW3D_MT_snap_pie(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -27471,7 +27645,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -27623,7 +27797,10 @@ def values(self): pass -class VIEW3D_MT_transform_gizmo_pie(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_surface_add(bpy_types.Menu, bpy_types._GenericUI): + bl_idname = None + ''' ''' + bl_label = None ''' ''' @@ -27657,7 +27834,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, context): + def draw(self, _context): ''' ''' @@ -27809,7 +27986,21 @@ def values(self): pass -class VIEW3D_MT_uv_map(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_transform_base: + bl_category = None + ''' ''' + + bl_label = None + ''' ''' + + def draw(self, context): + ''' + + ''' + pass + + +class VIEW3D_MT_transform_gizmo_pie(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -27995,7 +28186,7 @@ def values(self): pass -class VIEW3D_MT_vertex_gpencil(bpy_types.Menu, bpy_types._GenericUI): +class VIEW3D_MT_uv_map(bpy_types.Menu, bpy_types._GenericUI): bl_label = None ''' ''' @@ -28029,7 +28220,7 @@ def bl_rna_get_subclass_py(self): ''' pass - def draw(self, _context): + def draw(self, context): ''' ''' @@ -31549,6 +31740,182 @@ class VIEW3D_PT_gizmo_display(bpy_types.Panel, bpy_types._GenericUI): bl_space_type = None ''' ''' + bl_ui_units_x = None + ''' ''' + + id_data = None + ''' ''' + + def append(self, draw_func): + ''' + + ''' + pass + + def as_pointer(self): + ''' + + ''' + pass + + def bl_rna_get_subclass(self): + ''' + + ''' + pass + + def bl_rna_get_subclass_py(self): + ''' + + ''' + pass + + def draw(self, context): + ''' + + ''' + pass + + def driver_add(self): + ''' + + ''' + pass + + def driver_remove(self): + ''' + + ''' + pass + + def get(self): + ''' + + ''' + pass + + def is_extended(self): + ''' + + ''' + pass + + def is_property_hidden(self): + ''' + + ''' + pass + + def is_property_overridable_library(self): + ''' + + ''' + pass + + def is_property_readonly(self): + ''' + + ''' + pass + + def is_property_set(self): + ''' + + ''' + pass + + def items(self): + ''' + + ''' + pass + + def keyframe_delete(self): + ''' + + ''' + pass + + def keyframe_insert(self): + ''' + + ''' + pass + + def keys(self): + ''' + + ''' + pass + + def path_from_id(self): + ''' + + ''' + pass + + def path_resolve(self): + ''' + + ''' + pass + + def pop(self): + ''' + + ''' + pass + + def prepend(self, draw_func): + ''' + + ''' + pass + + def property_overridable_library_set(self): + ''' + + ''' + pass + + def property_unset(self): + ''' + + ''' + pass + + def remove(self, draw_func): + ''' + + ''' + pass + + def type_recast(self): + ''' + + ''' + pass + + def values(self): + ''' + + ''' + pass + + +class VIEW3D_PT_gpencil_curve_edit(bpy_types.Panel, bpy_types._GenericUI): + bl_label = None + ''' ''' + + bl_region_type = None + ''' ''' + + bl_rna = None + ''' ''' + + bl_space_type = None + ''' ''' + id_data = None ''' ''' @@ -33259,12 +33626,6 @@ def path_resolve(self): ''' pass - def poll(self, context): - ''' - - ''' - pass - def pop(self): ''' diff --git a/blender_autocomplete/bl_ui/space_view3d_toolbar.py b/blender_autocomplete/bl_ui/space_view3d_toolbar.py index a66bded..6d7c8d3 100644 --- a/blender_autocomplete/bl_ui/space_view3d_toolbar.py +++ b/blender_autocomplete/bl_ui/space_view3d_toolbar.py @@ -15895,7 +15895,7 @@ def values(self): pass -def draw_vpaint_symmetry(layout, vpaint): +def draw_vpaint_symmetry(layout, vpaint, mesh): ''' ''' diff --git a/blender_autocomplete/bmesh/ops.py b/blender_autocomplete/bmesh/ops.py index c07c952..4551112 100644 --- a/blender_autocomplete/bmesh/ops.py +++ b/blender_autocomplete/bmesh/ops.py @@ -41,8 +41,8 @@ def beautify_fill( def bevel(bm: 'bmesh.types.BMesh', geom: typing. - Union[typing.List['bmesh.types.BMFace'], typing. - List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']], + Union[typing.List['bmesh.types.BMEdge'], typing. + List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']], offset: float, offset_type: typing.Union[int, str], profile_type: typing.Union[int, str], segments: int, profile: float, affect: typing.Union[int, str], clamp_overlap: bool, material: int, @@ -57,7 +57,7 @@ def bevel(bm: 'bmesh.types.BMesh', geom: typing. :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' :param geom: input edges and vertices - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] :param offset: amount to offset beveled edge :type offset: float :param offset_type: how to measure the offset @@ -94,7 +94,7 @@ def bevel(bm: 'bmesh.types.BMesh', geom: typing. :type smoothresh: float :param custom_profile: CurveProfile :type custom_profile: 'bpy.types.bpy_struct' - :param vmesh_method: Undocumented. + :param vmesh_method: The method to use to create meshes at intersections. :type vmesh_method: typing.Union[int, str] :return: - faces : output faces **type** list of ( bmesh.types.BMFace ) - edges : output edges **type** list of ( bmesh.types.BMEdge ) - verts : output verts **type** list of ( bmesh.types.BMVert ) ''' @@ -123,8 +123,8 @@ def bisect_edges(bm: 'bmesh.types.BMesh', def bisect_plane( bm: 'bmesh.types.BMesh', geom: typing. - Union[typing.List['bmesh.types.BMFace'], typing. - List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']], + Union[typing.List['bmesh.types.BMEdge'], typing. + List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']], dist: float, plane_co: typing.List['mathutils.Vector'], plane_no: typing.List['mathutils.Vector'], use_snap_center: bool, clear_outer: bool, clear_inner: bool) -> dict: @@ -132,8 +132,8 @@ def bisect_plane( :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param geom: Undocumented. - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] + :param geom: input geometry + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] :param dist: minimum distance when testing if a vert is exactly on the plane :type dist: float :param plane_co: point on the plane @@ -158,9 +158,9 @@ def bmesh_to_mesh(bm: 'bmesh.types.BMesh', mesh: 'bpy.types.Mesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param mesh: Undocumented. + :param mesh: pointer to a mesh structure to fill in :type mesh: 'bpy.types.Mesh' - :param object: Undocumented. + :param object: pointer to an object structure :type object: 'bpy.types.Object' ''' @@ -181,11 +181,11 @@ def bridge_loops(bm: 'bmesh.types.BMesh', :type use_pairs: bool :param use_cyclic: Undocumented. :type use_cyclic: bool - :param use_merge: Undocumented. + :param use_merge: merge rather than creating faces :type use_merge: bool - :param merge_factor: Undocumented. + :param merge_factor: merge factor :type merge_factor: float - :param twist_offset: Undocumented. + :param twist_offset: twist offset for closed loops :type twist_offset: int :return: - faces : new faces **type** list of ( bmesh.types.BMFace ) - edges : new edges **type** list of ( bmesh.types.BMEdge ) ''' @@ -229,11 +229,11 @@ def connect_vert_pair( :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param verts: Undocumented. + :param verts: input vertices :type verts: typing.List['bmesh.types.BMVert'] - :param verts_exclude: Undocumented. + :param verts_exclude: input vertices to explicitly exclude from connecting :type verts_exclude: typing.List['bmesh.types.BMVert'] - :param faces_exclude: Undocumented. + :param faces_exclude: input faces to explicitly exclude from connecting :type faces_exclude: typing.List['bmesh.types.BMFace'] :return: - edges : **type** list of ( bmesh.types.BMEdge ) ''' @@ -249,9 +249,9 @@ def connect_verts(bm: 'bmesh.types.BMesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param verts: Undocumented. + :param verts: input vertices :type verts: typing.List['bmesh.types.BMVert'] - :param faces_exclude: Undocumented. + :param faces_exclude: input faces to explicitly exclude from connecting :type faces_exclude: typing.List['bmesh.types.BMFace'] :param check_degenerate: prevent splits with overlaps & intersections :type check_degenerate: bool @@ -267,7 +267,7 @@ def connect_verts_concave(bm: 'bmesh.types.BMesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param faces: Undocumented. + :param faces: input faces :type faces: typing.List['bmesh.types.BMFace'] :return: - edges : **type** list of ( bmesh.types.BMEdge ) - faces : **type** list of ( bmesh.types.BMFace ) ''' @@ -283,7 +283,7 @@ def connect_verts_nonplanar(bm: 'bmesh.types.BMesh', angle_limit: float, :type bm: 'bmesh.types.BMesh' :param angle_limit: total rotation angle (radians) :type angle_limit: float - :param faces: Undocumented. + :param faces: input faces :type faces: typing.List['bmesh.types.BMFace'] :return: - edges : **type** list of ( bmesh.types.BMEdge ) - faces : **type** list of ( bmesh.types.BMFace ) ''' @@ -293,15 +293,15 @@ def connect_verts_nonplanar(bm: 'bmesh.types.BMesh', angle_limit: float, def contextual_create( bm: 'bmesh.types.BMesh', geom: typing. - Union[typing.List['bmesh.types.BMFace'], typing. - List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']], + Union[typing.List['bmesh.types.BMEdge'], typing. + List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']], mat_nr: int, use_smooth: bool) -> dict: ''' Contextual Create. This is basically F-key, it creates new faces from vertices, makes stuff from edge nets, makes wire edges, etc. It also dissolves faces. Three verts become a triangle, four become a quad. Two become a wire edge. :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' :param geom: input geometry. - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] :param mat_nr: material to use :type mat_nr: int :param use_smooth: smooth to use @@ -313,17 +313,17 @@ def contextual_create( def convex_hull(bm: 'bmesh.types.BMesh', - input: typing.Union[typing.List['bmesh.types.BMFace'], typing. + input: typing.Union[typing.List['bmesh.types.BMEdge'], typing. List['bmesh.types.BMVert'], typing. - List['bmesh.types.BMEdge']], + List['bmesh.types.BMFace']], use_existing_faces: bool) -> dict: ''' Convex Hull Builds a convex hull from the vertices in 'input'. If 'use_existing_faces' is true, the hull will not output triangles that are covered by a pre-existing face. All hull vertices, faces, and edges are added to 'geom.out'. Any input elements that end up inside the hull (i.e. are not used by an output face) are added to the 'interior_geom' slot. The 'unused_geom' slot will contain all interior geometry that is completely unused. Lastly, 'holes_geom' contains edges and faces that were in the input and are part of the hull. :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param input: Undocumented. - :type input: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] - :param use_existing_faces: Undocumented. + :param input: input geometry + :type input: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] + :param use_existing_faces: skip hull triangles that are covered by a pre-existing face :type use_existing_faces: bool :return: - geom : **type** list of ( bmesh.types.BMVert , bmesh.types.BMEdge , bmesh.types.BMFace ) - geom_interior : **type** list of ( bmesh.types.BMVert , bmesh.types.BMEdge , bmesh.types.BMFace ) - geom_unused : **type** list of ( bmesh.types.BMVert , bmesh.types.BMEdge , bmesh.types.BMFace ) - geom_holes : **type** list of ( bmesh.types.BMVert , bmesh.types.BMEdge , bmesh.types.BMFace ) ''' @@ -342,7 +342,7 @@ def create_circle(bm: 'bmesh.types.BMesh', cap_ends: bool, cap_tris: bool, :type cap_ends: bool :param cap_tris: fill ends with triangles instead of ngons :type cap_tris: bool - :param segments: Undocumented. + :param segments: number of vertices in the circle :type segments: int :param radius: Radius of the circle. :type radius: float @@ -368,7 +368,7 @@ def create_cone(bm: 'bmesh.types.BMesh', cap_ends: bool, cap_tris: bool, :type cap_ends: bool :param cap_tris: fill ends with triangles instead of ngons :type cap_tris: bool - :param segments: Undocumented. + :param segments: number of vertices in the base circle :type segments: int :param diameter1: diameter of one end :type diameter1: float @@ -502,16 +502,16 @@ def create_vert(bm: 'bmesh.types.BMesh', def delete(bm: 'bmesh.types.BMesh', - geom: typing.Union[typing.List['bmesh.types.BMFace'], typing. + geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing. List['bmesh.types.BMVert'], typing. - List['bmesh.types.BMEdge']], + List['bmesh.types.BMFace']], context: typing.Union[int, str]): ''' Delete Geometry. Utility operator to delete geometry. :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param geom: Undocumented. - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] + :param geom: input geometry + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] :param context: geometry types to delete :type context: typing.Union[int, str] ''' @@ -527,7 +527,7 @@ def dissolve_degenerate(bm: 'bmesh.types.BMesh', dist: float, :type bm: 'bmesh.types.BMesh' :param dist: maximum distance to consider degenerate :type dist: float - :param edges: Undocumented. + :param edges: input edges :type edges: typing.List['bmesh.types.BMEdge'] ''' @@ -541,11 +541,11 @@ def dissolve_edges(bm: 'bmesh.types.BMesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param edges: Undocumented. + :param edges: input edges :type edges: typing.List['bmesh.types.BMEdge'] :param use_verts: dissolve verts left between only 2 edges. :type use_verts: bool - :param use_face_split: Undocumented. + :param use_face_split: split off face corners to maintain surrounding geometry :type use_face_split: bool :return: - region : **type** list of ( bmesh.types.BMFace ) ''' @@ -560,7 +560,7 @@ def dissolve_faces(bm: 'bmesh.types.BMesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param faces: Undocumented. + :param faces: input faces :type faces: typing.List['bmesh.types.BMFace'] :param use_verts: dissolve verts left between only 2 edges. :type use_verts: bool @@ -581,13 +581,13 @@ def dissolve_limit(bm: 'bmesh.types.BMesh', angle_limit: float, :type bm: 'bmesh.types.BMesh' :param angle_limit: total rotation angle (radians) :type angle_limit: float - :param use_dissolve_boundaries: Undocumented. + :param use_dissolve_boundaries: dissolve all vertices in between face boundaries :type use_dissolve_boundaries: bool - :param verts: Undocumented. + :param verts: input vertices :type verts: typing.List['bmesh.types.BMVert'] - :param edges: Undocumented. + :param edges: input edges :type edges: typing.List['bmesh.types.BMEdge'] - :param delimit: Undocumented. + :param delimit: delimit dissolve operation :type delimit: set :return: - region : **type** list of ( bmesh.types.BMFace ) ''' @@ -602,11 +602,11 @@ def dissolve_verts(bm: 'bmesh.types.BMesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param verts: Undocumented. + :param verts: input vertices :type verts: typing.List['bmesh.types.BMVert'] - :param use_face_split: Undocumented. + :param use_face_split: split off face corners to maintain surrounding geometry :type use_face_split: bool - :param use_boundary_tear: Undocumented. + :param use_boundary_tear: split off face corners instead of merging faces :type use_boundary_tear: bool ''' @@ -614,18 +614,18 @@ def dissolve_verts(bm: 'bmesh.types.BMesh', def duplicate(bm: 'bmesh.types.BMesh', - geom: typing.Union[typing.List['bmesh.types.BMFace'], typing. + geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing. List['bmesh.types.BMVert'], typing. - List['bmesh.types.BMEdge']], + List['bmesh.types.BMFace']], dest: 'bmesh.types.BMesh', use_select_history: bool, use_edge_flip_from_face: bool) -> dict: ''' Duplicate Geometry. Utility operator to duplicate geometry, optionally into a destination mesh. :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param geom: Undocumented. - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] - :param dest: Undocumented. + :param geom: input geometry + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] + :param dest: destination bmesh, if NULL will use current on :type dest: 'bmesh.types.BMesh' :param use_select_history: Undocumented. :type use_select_history: bool @@ -730,23 +730,19 @@ def extrude_edge_only(bm: 'bmesh.types.BMesh', def extrude_face_region( - bm: 'bmesh.types.BMesh', - geom: typing.Union[typing.List['bmesh.types.BMFace'], typing. - List['bmesh.types.BMVert'], typing. - List['bmesh.types.BMEdge']] = [], - edges_exclude: set = [], - use_keep_orig: bool = False, - use_normal_flip: bool = False, - use_normal_from_adjacent: bool = False, - use_dissolve_ortho_edges: bool = False, - use_select_history: bool = False) -> dict: + bm: 'bmesh.types.BMesh', geom: typing. + Union[typing.List['bmesh.types.BMEdge'], typing. + List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']], + edges_exclude: set, use_keep_orig: bool, use_normal_flip: bool, + use_normal_from_adjacent: bool, use_dissolve_ortho_edges: bool, + use_select_history: bool) -> dict: ''' Extrude Faces. Extrude operator (does not transform) :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' :param geom: edges and faces - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] - :param edges_exclude: Undocumented. + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] + :param edges_exclude: input edges to explicitly exclude from extrusion :type edges_exclude: set :param use_keep_orig: keep original geometry (requires geom to include edges). :type use_keep_orig: bool @@ -866,15 +862,15 @@ def inset_individual(bm: 'bmesh.types.BMesh', :type bm: 'bmesh.types.BMesh' :param faces: input faces :type faces: typing.List['bmesh.types.BMFace'] - :param thickness: Undocumented. + :param thickness: thickness :type thickness: float - :param depth: Undocumented. + :param depth: depth :type depth: float - :param use_even_offset: Undocumented. + :param use_even_offset: scale the offset to give more even thickness :type use_even_offset: bool - :param use_interpolate: Undocumented. + :param use_interpolate: blend face data across the inset :type use_interpolate: bool - :param use_relative_offset: Undocumented. + :param use_relative_offset: scale the offset by surrounding geometry :type use_relative_offset: bool :return: - faces : output faces **type** list of ( bmesh.types.BMFace ) ''' @@ -894,23 +890,23 @@ def inset_region( :type bm: 'bmesh.types.BMesh' :param faces: input faces :type faces: typing.List['bmesh.types.BMFace'] - :param faces_exclude: Undocumented. + :param faces_exclude: input faces to explicitly exclude from inset :type faces_exclude: typing.List['bmesh.types.BMFace'] - :param use_boundary: Undocumented. + :param use_boundary: inset face boundaries :type use_boundary: bool - :param use_even_offset: Undocumented. + :param use_even_offset: scale the offset to give more even thickness :type use_even_offset: bool - :param use_interpolate: Undocumented. + :param use_interpolate: blend face data across the inset :type use_interpolate: bool - :param use_relative_offset: Undocumented. + :param use_relative_offset: scale the offset by surrounding geometry :type use_relative_offset: bool - :param use_edge_rail: Undocumented. + :param use_edge_rail: inset the region along existing edges :type use_edge_rail: bool - :param thickness: Undocumented. + :param thickness: thickness :type thickness: float - :param depth: Undocumented. + :param depth: depth :type depth: float - :param use_outset: Undocumented. + :param use_outset: outset rather than inset :type use_outset: bool :return: - faces : output faces **type** list of ( bmesh.types.BMFace ) ''' @@ -929,15 +925,15 @@ def join_triangles(bm: 'bmesh.types.BMesh', :type bm: 'bmesh.types.BMesh' :param faces: input geometry. :type faces: typing.List['bmesh.types.BMFace'] - :param cmp_seam: Undocumented. + :param cmp_seam: Compare seam :type cmp_seam: bool - :param cmp_sharp: Undocumented. + :param cmp_sharp: Compare sharp :type cmp_sharp: bool - :param cmp_uvs: Undocumented. + :param cmp_uvs: Compare UVs :type cmp_uvs: bool - :param cmp_vcols: Undocumented. + :param cmp_vcols: compare VCols :type cmp_vcols: bool - :param cmp_materials: Undocumented. + :param cmp_materials: compare materials :type cmp_materials: bool :param angle_face_threshold: Undocumented. :type angle_face_threshold: float @@ -955,9 +951,9 @@ def mesh_to_bmesh(bm: 'bmesh.types.BMesh', mesh: 'bpy.types.Mesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param mesh: Undocumented. + :param mesh: pointer to a Mesh structure :type mesh: 'bpy.types.Mesh' - :param object: Undocumented. + :param object: pointer to an Object structure :type object: 'bpy.types.Object' :param use_shapekey: load active shapekey coordinates into verts :type use_shapekey: bool @@ -967,18 +963,18 @@ def mesh_to_bmesh(bm: 'bmesh.types.BMesh', mesh: 'bpy.types.Mesh', def mirror(bm: 'bmesh.types.BMesh', - geom: typing.Union[typing.List['bmesh.types.BMFace'], typing. + geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing. List['bmesh.types.BMVert'], typing. - List['bmesh.types.BMEdge']], + List['bmesh.types.BMFace']], matrix: 'mathutils.Matrix', merge_dist: float, axis: typing.Union[int, str], mirror_u: bool, mirror_v: bool, - mirror_udim: bool) -> dict: + mirror_udim: bool, use_shapekey: bool) -> dict: ''' Mirror. Mirrors geometry along an axis. The resulting geometry is welded on using merge_dist. Pairs of original/mirrored vertices are welded using the merge_dist parameter (which defines the minimum distance for welding to happen). :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' :param geom: input geometry - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] :param matrix: matrix defining the mirror transformation :type matrix: 'mathutils.Matrix' :param merge_dist: maximum distance for merging. does no merging if 0. @@ -991,6 +987,8 @@ def mirror(bm: 'bmesh.types.BMesh', :type mirror_v: bool :param mirror_udim: mirror UVs in each tile :type mirror_udim: bool + :param use_shapekey: Transform shape keys too. + :type use_shapekey: bool :return: - geom : output geometry, mirrored **type** list of ( bmesh.types.BMVert , bmesh.types.BMEdge , bmesh.types.BMFace ) ''' @@ -1003,9 +1001,9 @@ def object_load_bmesh(bm: 'bmesh.types.BMesh', scene: 'bpy.types.Scene', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param scene: Undocumented. + :param scene: pointer to an scene structure :type scene: 'bpy.types.Scene' - :param object: Undocumented. + :param object: pointer to an object structure :type object: 'bpy.types.Object' ''' @@ -1019,11 +1017,11 @@ def offset_edgeloops(bm: 'bmesh.types.BMesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param edges: input faces + :param edges: input edges :type edges: typing.List['bmesh.types.BMEdge'] - :param use_cap_endpoint: Undocumented. + :param use_cap_endpoint: extend loop around end-points :type use_cap_endpoint: bool - :return: - edges : output faces **type** list of ( bmesh.types.BMEdge ) + :return: - edges : output edges **type** list of ( bmesh.types.BMEdge ) ''' pass @@ -1107,7 +1105,7 @@ def recalc_face_normals(bm: 'bmesh.types.BMesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param faces: Undocumented. + :param faces: input faces :type faces: typing.List['bmesh.types.BMFace'] ''' @@ -1116,15 +1114,15 @@ def recalc_face_normals(bm: 'bmesh.types.BMesh', def region_extend( bm: 'bmesh.types.BMesh', geom: typing. - Union[typing.List['bmesh.types.BMFace'], typing. - List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']], + Union[typing.List['bmesh.types.BMEdge'], typing. + List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']], use_contract: bool, use_faces: bool, use_face_step: bool) -> dict: ''' Region Extend. used to implement the select more/less tools. this puts some geometry surrounding regions of geometry in geom into geom.out. if use_faces is 0 then geom.out spits out verts and edges, otherwise it spits out faces. :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' :param geom: input geometry - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] :param use_contract: find boundary inside the regions, not outside. :type use_contract: bool :param use_faces: extend from faces instead of edges @@ -1139,7 +1137,7 @@ def region_extend( def remove_doubles(bm: 'bmesh.types.BMesh', verts: typing.List['bmesh.types.BMVert'], dist: float): - ''' Remove Doubles. Finds groups of vertices closer then dist and merges them together, using the weld verts bmop. + ''' Remove Doubles. Finds groups of vertices closer than dist and merges them together, using the weld verts bmop. :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' @@ -1196,8 +1194,8 @@ def reverse_uvs(bm: 'bmesh.types.BMesh', def rotate(bm: 'bmesh.types.BMesh', cent: typing.List['mathutils.Vector'], matrix: 'mathutils.Matrix', - verts: typing.List['bmesh.types.BMVert'], - space: 'mathutils.Matrix'): + verts: typing.List['bmesh.types.BMVert'], space: 'mathutils.Matrix', + use_shapekey: bool): ''' Rotate. Rotate vertices around a center, using a 3x3 rotation matrix. :param bm: The bmesh to operate on. @@ -1210,6 +1208,8 @@ def rotate(bm: 'bmesh.types.BMesh', cent: typing.List['mathutils.Vector'], :type verts: typing.List['bmesh.types.BMVert'] :param space: matrix to define the space (typically object matrix) :type space: 'mathutils.Matrix' + :param use_shapekey: Transform shape keys too. + :type use_shapekey: bool ''' pass @@ -1263,7 +1263,8 @@ def rotate_uvs(bm: 'bmesh.types.BMesh', def scale(bm: 'bmesh.types.BMesh', vec: typing.List['mathutils.Vector'], - space: 'mathutils.Matrix', verts: typing.List['bmesh.types.BMVert']): + space: 'mathutils.Matrix', verts: typing.List['bmesh.types.BMVert'], + use_shapekey: bool): ''' Scale. Scales vertices by an offset. :param bm: The bmesh to operate on. @@ -1274,6 +1275,8 @@ def scale(bm: 'bmesh.types.BMesh', vec: typing.List['mathutils.Vector'], :type space: 'mathutils.Matrix' :param verts: input vertices :type verts: typing.List['bmesh.types.BMVert'] + :param use_shapekey: Transform shape keys too. + :type use_shapekey: bool ''' pass @@ -1339,17 +1342,17 @@ def smooth_vert(bm: 'bmesh.types.BMesh', def solidify(bm: 'bmesh.types.BMesh', - geom: typing.Union[typing.List['bmesh.types.BMFace'], typing. + geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing. List['bmesh.types.BMVert'], typing. - List['bmesh.types.BMEdge']], + List['bmesh.types.BMFace']], thickness: float) -> dict: ''' Solidify. Turns a mesh into a shell with thickness :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param geom: Undocumented. - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] - :param thickness: Undocumented. + :param geom: input geometry + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] + :param thickness: thickness :type thickness: float :return: - geom : **type** list of ( bmesh.types.BMVert , bmesh.types.BMEdge , bmesh.types.BMFace ) ''' @@ -1358,8 +1361,8 @@ def solidify(bm: 'bmesh.types.BMesh', def spin(bm: 'bmesh.types.BMesh', geom: typing. - Union[typing.List['bmesh.types.BMFace'], typing. - List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']], + Union[typing.List['bmesh.types.BMEdge'], typing. + List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']], cent: typing.List['mathutils.Vector'], axis: typing.List['mathutils.Vector'], dvec: typing.List['mathutils.Vector'], angle: float, @@ -1369,8 +1372,8 @@ def spin(bm: 'bmesh.types.BMesh', geom: typing. :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param geom: Undocumented. - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] + :param geom: input geometry + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] :param cent: rotation center :type cent: typing.List['mathutils.Vector'] :param axis: rotation axis @@ -1396,16 +1399,16 @@ def spin(bm: 'bmesh.types.BMesh', geom: typing. def split(bm: 'bmesh.types.BMesh', geom: typing. - Union[typing.List['bmesh.types.BMFace'], typing. - List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']], + Union[typing.List['bmesh.types.BMEdge'], typing. + List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']], dest: 'bmesh.types.BMesh', use_only_faces: bool) -> dict: ''' Split Off Geometry. Disconnect geometry from adjacent edges and faces, optionally into a destination mesh. :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param geom: Undocumented. - :type geom: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] - :param dest: Undocumented. + :param geom: input geometry + :type geom: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] + :param dest: destination bmesh, if NULL will use current one :type dest: 'bmesh.types.BMesh' :param use_only_faces: when enabled. don't duplicate loose verts/edges :type use_only_faces: bool @@ -1447,13 +1450,13 @@ def subdivide_edgering(bm: 'bmesh.types.BMesh', :type edges: typing.List['bmesh.types.BMEdge'] :param interp_mode: interpolation method :type interp_mode: typing.Union[int, str] - :param smooth: Undocumented. + :param smooth: smoothness factor :type smooth: float - :param cuts: Undocumented. + :param cuts: number of cuts :type cuts: int :param profile_shape: profile shape type :type profile_shape: typing.Union[int, str] - :param profile_shape_factor: Undocumented. + :param profile_shape_factor: how much intermediary new edges are shrunk/expanded :type profile_shape_factor: float :return: - faces : output faces **type** list of ( bmesh.types.BMFace ) ''' @@ -1472,19 +1475,19 @@ def subdivide_edges( :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param edges: Undocumented. + :param edges: input edges :type edges: typing.List['bmesh.types.BMEdge'] - :param smooth: Undocumented. + :param smooth: smoothness factor :type smooth: float :param smooth_falloff: smooth falloff type :type smooth_falloff: typing.Union[int, str] - :param fractal: Undocumented. + :param fractal: fractal randomness factor :type fractal: float - :param along_normal: Undocumented. + :param along_normal: apply fractal displacement along normal only :type along_normal: float - :param cuts: Undocumented. + :param cuts: number of cuts :type cuts: int - :param seed: Undocumented. + :param seed: seed for the random number generator :type seed: int :param custom_patterns: uses custom pointers :type custom_patterns: dict @@ -1509,20 +1512,23 @@ def subdivide_edges( def symmetrize(bm: 'bmesh.types.BMesh', - input: typing.Union[typing.List['bmesh.types.BMFace'], typing. + input: typing.Union[typing.List['bmesh.types.BMEdge'], typing. List['bmesh.types.BMVert'], typing. - List['bmesh.types.BMEdge']], - direction: typing.Union[int, str], dist: float) -> dict: + List['bmesh.types.BMFace']], + direction: typing.Union[int, str], dist: float, + use_shapekey: bool) -> dict: ''' Symmetrize. Makes the mesh elements in the "input" slot symmetrical. Unlike normal mirroring, it only copies in one direction, as specified by the "direction" slot. The edges and faces that cross the plane of symmetry are split as needed to enforce symmetry. All new vertices, edges, and faces are added to the "geom.out" slot. :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param input: Undocumented. - :type input: typing.Union[typing.List['bmesh.types.BMFace'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge']] + :param input: input geometry + :type input: typing.Union[typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMFace']] :param direction: axis to use :type direction: typing.Union[int, str] :param dist: minimum distance :type dist: float + :param use_shapekey: Transform shape keys too. + :type use_shapekey: bool :return: - geom : **type** list of ( bmesh.types.BMVert , bmesh.types.BMEdge , bmesh.types.BMFace ) ''' @@ -1531,7 +1537,7 @@ def symmetrize(bm: 'bmesh.types.BMesh', def transform(bm: 'bmesh.types.BMesh', matrix: 'mathutils.Matrix', space: 'mathutils.Matrix', - verts: typing.List['bmesh.types.BMVert']): + verts: typing.List['bmesh.types.BMVert'], use_shapekey: bool): ''' Transform. Transforms a set of vertices by a matrix. Multiplies the vertex coordinates with the matrix. :param bm: The bmesh to operate on. @@ -1542,15 +1548,16 @@ def transform(bm: 'bmesh.types.BMesh', matrix: 'mathutils.Matrix', :type space: 'mathutils.Matrix' :param verts: input vertices :type verts: typing.List['bmesh.types.BMVert'] + :param use_shapekey: Transform shape keys too. + :type use_shapekey: bool ''' pass -def translate(bm: 'bmesh.types.BMesh', - vec: typing.List['mathutils.Vector'], +def translate(bm: 'bmesh.types.BMesh', vec: typing.List['mathutils.Vector'], space: 'mathutils.Matrix', - verts: typing.List['bmesh.types.BMVert'] = []): + verts: typing.List['bmesh.types.BMVert'], use_shapekey: bool): ''' Translate. Translate vertices by an offset. :param bm: The bmesh to operate on. @@ -1561,6 +1568,8 @@ def translate(bm: 'bmesh.types.BMesh', :type space: 'mathutils.Matrix' :param verts: input vertices :type verts: typing.List['bmesh.types.BMVert'] + :param use_shapekey: Transform shape keys too. + :type use_shapekey: bool ''' pass @@ -1573,7 +1582,7 @@ def triangle_fill(bm: 'bmesh.types.BMesh', use_beauty: bool, :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param use_beauty: Undocumented. + :param use_beauty: use best triangulation division :type use_beauty: bool :param use_dissolve: dissolve resulting faces :type use_dissolve: bool @@ -1595,11 +1604,11 @@ def triangulate(bm: 'bmesh.types.BMesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param faces: Undocumented. + :param faces: input faces :type faces: typing.List['bmesh.types.BMFace'] - :param quad_method: Undocumented. + :param quad_method: method for splitting the quads into triangles :type quad_method: typing.Union[int, str] - :param ngon_method: Undocumented. + :param ngon_method: method for splitting the polygons into triangles :type ngon_method: typing.Union[int, str] :return: - edges : **type** list of ( bmesh.types.BMEdge ) - faces : **type** list of ( bmesh.types.BMFace ) - face_map : **type** dict mapping vert/edge/face types to bmesh.types.BMVert / bmesh.types.BMEdge / bmesh.types.BMFace - face_map_double : duplicate faces **type** dict mapping vert/edge/face types to bmesh.types.BMVert / bmesh.types.BMEdge / bmesh.types.BMFace ''' @@ -1615,7 +1624,7 @@ def unsubdivide(bm: 'bmesh.types.BMesh', :type bm: 'bmesh.types.BMesh' :param verts: input vertices :type verts: typing.List['bmesh.types.BMVert'] - :param iterations: Undocumented. + :param iterations: number of times to unsubdivide :type iterations: int ''' @@ -1628,7 +1637,7 @@ def weld_verts(bm: 'bmesh.types.BMesh', :param bm: The bmesh to operate on. :type bm: 'bmesh.types.BMesh' - :param targetmap: Undocumented. + :param targetmap: maps welded vertices to verts they should weld to :type targetmap: typing.Union[dict, dict, dict] ''' @@ -1646,23 +1655,23 @@ def wireframe(bm: 'bmesh.types.BMesh', :type bm: 'bmesh.types.BMesh' :param faces: input faces :type faces: typing.List['bmesh.types.BMFace'] - :param thickness: Undocumented. + :param thickness: thickness :type thickness: float - :param offset: Undocumented. + :param offset: offset the thickness from the center :type offset: float - :param use_replace: Undocumented. + :param use_replace: remove original geometry :type use_replace: bool - :param use_boundary: Undocumented. + :param use_boundary: inset face boundaries :type use_boundary: bool - :param use_even_offset: Undocumented. + :param use_even_offset: scale the offset to give more even thickness :type use_even_offset: bool - :param use_crease: Undocumented. + :param use_crease: crease hub edges for improved subdivision surface :type use_crease: bool - :param crease_weight: Undocumented. + :param crease_weight: the mean crease weight for resulting edges :type crease_weight: float - :param use_relative_offset: Undocumented. + :param use_relative_offset: scale the offset by surrounding geometry :type use_relative_offset: bool - :param material_offset: Undocumented. + :param material_offset: offset material index of generated faces :type material_offset: int :return: - faces : output faces **type** list of ( bmesh.types.BMFace ) ''' diff --git a/blender_autocomplete/bmesh/types.py b/blender_autocomplete/bmesh/types.py index e068825..4ac180e 100644 --- a/blender_autocomplete/bmesh/types.py +++ b/blender_autocomplete/bmesh/types.py @@ -282,10 +282,10 @@ class BMEditSelIter: class BMEditSelSeq: - active: typing.Union['BMFace', 'BMVert', 'BMEdge'] = None + active: typing.Union['BMEdge', 'BMVert', 'BMFace'] = None ''' The last selected element or None (read-only). - :type: typing.Union['BMFace', 'BMVert', 'BMEdge'] + :type: typing.Union['BMEdge', 'BMVert', 'BMFace'] ''' def add(self, element): @@ -612,6 +612,9 @@ class BMLayerAccessEdge: :type: 'BMLayerCollection' ''' + color = None + ''' Generic RGBA color with 8-bit precision custom-data layer. type: BMLayerCollection''' + crease: 'BMLayerCollection' = None ''' Edge crease for subdivision surface - float in [0 - 1]. @@ -621,6 +624,12 @@ class BMLayerAccessEdge: float = None ''' Generic float custom-data layer. type: BMLayerCollection''' + float_color = None + ''' Generic RGBA color with float precision custom-data layer. type: BMLayerCollection''' + + float_vector = None + ''' Generic 3D vector with float precision custom-data layer. type: BMLayerCollection''' + freestyle = None ''' Accessor for Freestyle edge layer. type: BMLayerCollection''' @@ -635,12 +644,21 @@ class BMLayerAccessFace: ''' Exposes custom-data layer attributes. ''' + color = None + ''' Generic RGBA color with 8-bit precision custom-data layer. type: BMLayerCollection''' + face_map = None ''' FaceMap custom-data layer. type: BMLayerCollection''' float = None ''' Generic float custom-data layer. type: BMLayerCollection''' + float_color = None + ''' Generic RGBA color with float precision custom-data layer. type: BMLayerCollection''' + + float_vector = None + ''' Generic 3D vector with float precision custom-data layer. type: BMLayerCollection''' + freestyle = None ''' Accessor for Freestyle face layer. type: BMLayerCollection''' @@ -656,11 +674,17 @@ class BMLayerAccessLoop: ''' color = None - ''' Accessor for vertex color layer. type: BMLayerCollection''' + ''' Generic RGBA color with 8-bit precision custom-data layer. type: BMLayerCollection''' float = None ''' Generic float custom-data layer. type: BMLayerCollection''' + float_color = None + ''' Generic RGBA color with float precision custom-data layer. type: BMLayerCollection''' + + float_vector = None + ''' Generic 3D vector with float precision custom-data layer. type: BMLayerCollection''' + int = None ''' Generic int custom-data layer. type: BMLayerCollection''' @@ -681,12 +705,21 @@ class BMLayerAccessVert: :type: 'BMLayerCollection' ''' + color = None + ''' Generic RGBA color with 8-bit precision custom-data layer. type: BMLayerCollection''' + deform = None ''' Vertex deform weight BMDeformVert (TODO). type: BMLayerCollection''' float = None ''' Generic float custom-data layer. type: BMLayerCollection''' + float_color = None + ''' Generic RGBA color with float precision custom-data layer. type: BMLayerCollection''' + + float_vector = None + ''' Generic 3D vector with float precision custom-data layer. type: BMLayerCollection''' + int = None ''' Generic int custom-data layer. type: BMLayerCollection''' diff --git a/blender_autocomplete/bmesh/utils.py b/blender_autocomplete/bmesh/utils.py index 48b5950..c03cc1c 100644 --- a/blender_autocomplete/bmesh/utils.py +++ b/blender_autocomplete/bmesh/utils.py @@ -139,7 +139,7 @@ def vert_collapse_edge(vert: 'bmesh.types.BMVert', def vert_collapse_faces(vert: 'bmesh.types.BMVert', edge: 'bmesh.types.BMEdge', - fac: float, join_faces) -> 'bmesh.types.BMEdge': + fac: float, join_faces: bool) -> 'bmesh.types.BMEdge': ''' Collapses a vertex that has only two manifold edges onto a vertex it shares an edge with. :param vert: The vert that will be collapsed. @@ -148,6 +148,8 @@ def vert_collapse_faces(vert: 'bmesh.types.BMVert', edge: 'bmesh.types.BMEdge', :type edge: 'bmesh.types.BMEdge' :param fac: The factor to use when merging customdata [0 - 1]. :type fac: float + :param join_faces: When true the faces around the vertex will be joined otherwise collapse the vertex by merging the 2 edges this vertex connects to into one. + :type join_faces: bool :return: The resulting edge from the collapse operation. ''' diff --git a/blender_autocomplete/bpy/__init__.py b/blender_autocomplete/bpy/__init__.py index bed80b8..1d5768a 100644 --- a/blender_autocomplete/bpy/__init__.py +++ b/blender_autocomplete/bpy/__init__.py @@ -6,10 +6,10 @@ from . import ops from . import app from . import context -from . import utils from . import props -from . import msgbus from . import path +from . import msgbus +from . import utils data: 'bpy.types.BlendData' = None ''' Access to Blender's internal data diff --git a/blender_autocomplete/bpy/app/__init__.py b/blender_autocomplete/bpy/app/__init__.py index 0a07ebe..31910f4 100644 --- a/blender_autocomplete/bpy/app/__init__.py +++ b/blender_autocomplete/bpy/app/__init__.py @@ -1,7 +1,7 @@ import sys import typing -from . import timers from . import translations +from . import timers from . import handlers from . import icons @@ -30,7 +30,7 @@ ''' binary_path_python = None -''' String, the path to the python executable (read-only) +''' String, the path to the python executable (read-only). Deprecated! Use sys.executable instead. ''' build_branch = None @@ -169,14 +169,6 @@ ''' constant value bpy.app.ffmpeg(supported=True, avcodec_version=(58, 54, 100), avcodec_version_string='58, 54, 100', avdevice_version=(58, 8, 100), avdevice_version_string='58, 8, 100', avformat_version=(58, 29, 100), avformat_version_string='58, 29, 100', avutil_version=(56, 31, 100), avutil_version_string='56, 31, 100', swscale_version=(5, 5, 100), swscale_version_string=' 5, 5, 100') ''' -handlers = None -''' constant value bpy.app.handlers(frame_change_pre=[], frame_change_post=[], render_pre=[], render_post=[], render_write=[], render_stats=[], render_init=[], render_complete=[], render_cancel=[], load_pre=[], load_post=[], save_pre=[], save_post=[], undo_pre=[], undo_post=[], redo_pre=[], redo_post=[], depsgraph_update_pre=[], depsgraph_update_post=[], version_update=[], load_factory_preferences_post=[], load_factory_startup_post=[], persistent=) -''' - -icons = None -''' Manage custom icons -''' - ocio = None ''' constant value bpy.app.ocio(supported=True, version=(1, 1, 1), version_string=' 1, 1, 1') ''' @@ -209,14 +201,6 @@ ''' String, the temp directory used by blender (read-only) ''' -timers = None -''' Manage timers -''' - -translations = None -''' Application and addons internationalization API -''' - usd = None ''' constant value bpy.app.usd(supported=True, version=(0, 20, 5), version_string=' 0, 20, 5') ''' @@ -241,6 +225,10 @@ ''' The release status of this build alpha/beta/rc/release ''' +version_file = None +''' The blend file version, compatible with bpy.data.version +''' + version_string = None ''' The Blender version formatted as a string ''' diff --git a/blender_autocomplete/bpy/context.py b/blender_autocomplete/bpy/context.py index faa066c..7debeb5 100644 --- a/blender_autocomplete/bpy/context.py +++ b/blender_autocomplete/bpy/context.py @@ -142,6 +142,8 @@ selected_editable_fcurves: typing.List['bpy.types.FCurve'] = None +selected_editable_keyframes: typing.List['bpy.types.Keyframe'] = None + selected_editable_objects: typing.List['bpy.types.Object'] = None selected_editable_sequences: typing.List['bpy.types.Sequence'] = None diff --git a/blender_autocomplete/bpy/ops/__init__.py b/blender_autocomplete/bpy/ops/__init__.py index e41ebb4..451f70e 100644 --- a/blender_autocomplete/bpy/ops/__init__.py +++ b/blender_autocomplete/bpy/ops/__init__.py @@ -1,107 +1,74 @@ import sys import typing -from . import anim -from . import buttons -from . import info -from . import view2d -from . import node -from . import screen -from . import wm -from . import curve -from . import import_curve -from . import texture -from . import world -from . import gizmogroup -from . import mball -from . import workspace -from . import material -from . import outliner +from . import dpaint +from . import palette +from . import camera +from . import cloth from . import paintcurve -from . import simulation -from . import preferences +from . import import_anim +from . import action +from . import paint from . import pose -from . import text -from . import armature -from . import image +from . import preferences +from . import surface +from . import rigidbody +from . import particle +from . import uv +from . import nla +from . import wm +from . import screen from . import graph -from . import import_anim -from . import camera +from . import ptcache +from . import sequencer +from . import asset +from . import view3d +from . import text +from . import import_curve +from . import outliner +from . import mball +from . import gizmogroup +from . import mesh +from . import script +from . import clip +from . import transform from . import ui +from . import view2d from . import scene -from . import marker -from . import import_mesh -from . import rigidbody -from . import lattice +from . import curve from . import brush -from . import font -from . import mask -from . import safe_areas -from . import dpaint -from . import constraint -from . import view3d -from . import cachefile -from . import sculpt -from . import clip -from . import mesh -from . import palette -from . import export_anim -from . import export_scene -from . import ptcache -from . import cycles -from . import console -from . import ed -from . import paint from . import export_mesh -from . import surface from . import render -from . import uv from . import sound -from . import particle -from . import fluid -from . import cloth +from . import file +from . import node +from . import marker +from . import info +from . import mask +from . import cycles +from . import cachefile +from . import export_scene +from . import lattice +from . import import_scene from . import boid -from . import transform from . import poselib -from . import nla -from . import collection -from . import sequencer -from . import script -from . import action +from . import world from . import gpencil -from . import file -from . import import_scene +from . import texture from . import object - - -class BPyOps: - pass - - -class BPyOpsSubMod: - pass - - -class BPyOpsSubModOp: - def get_rna_type(self): - ''' - - ''' - pass - - def idname(self): - ''' - - ''' - pass - - def idname_py(self): - ''' - - ''' - pass - - def poll(self, args): - ''' - - ''' - pass +from . import anim +from . import geometry +from . import font +from . import collection +from . import export_anim +from . import material +from . import buttons +from . import sculpt +from . import fluid +from . import armature +from . import constraint +from . import import_mesh +from . import console +from . import image +from . import workspace +from . import ed +from . import safe_areas diff --git a/blender_autocomplete/bpy/ops/action.py b/blender_autocomplete/bpy/ops/action.py index 8d4ffb6..c2613c4 100644 --- a/blender_autocomplete/bpy/ops/action.py +++ b/blender_autocomplete/bpy/ops/action.py @@ -51,9 +51,11 @@ def copy(): pass -def delete(): +def delete(confirm: bool = True): ''' Remove all selected keyframes + :param confirm: Confirm, Prompt for confirmation + :type confirm: bool ''' pass @@ -138,7 +140,7 @@ def keyframe_insert(type: typing.Union[int, str] = 'ALL'): def keyframe_type(type: typing.Union[int, str] = 'KEYFRAME'): ''' Set type of keyframe for the selected keyframes - :param type: Type * KEYFRAME Keyframe, Normal keyframe - e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose - e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. + :param type: Type * KEYFRAME Keyframe, Normal keyframe, e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose, e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. :type type: typing.Union[int, str] ''' @@ -172,7 +174,7 @@ def markers_make_local(): def mirror(type: typing.Union[int, str] = 'CFRA'): ''' Flip selected keyframes over the selected mirror line - :param type: Type * CFRA By Times Over Current Frame, Flip times of selected keyframes using the current frame as the mirror line. * XAXIS By Values Over Value=0, Flip values of selected keyframes (i.e. negative values become positive, and vice versa). * MARKER By Times Over First Selected Marker, Flip times of selected keyframes using the first selected marker as the reference point. + :param type: Type * CFRA By Times Over Current Frame, Flip times of selected keyframes using the current frame as the mirror line. * XAXIS By Values Over Zero Value, Flip values of selected keyframes (i.e. negative values become positive, and vice versa). * MARKER By Times Over First Selected Marker, Flip times of selected keyframes using the first selected marker as the reference point. :type type: typing.Union[int, str] ''' @@ -300,13 +302,14 @@ def select_column(mode: typing.Union[int, str] = 'KEYS'): pass -def select_lasso(path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None, +def select_lasso(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, mode: typing.Union[int, str] = 'SET'): ''' Select keyframe points using lasso selection :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] :param mode: Mode * SET Set, Set a new selection. * ADD Extend, Extend existing selection. * SUB Subtract, Subtract existing selection. :type mode: typing.Union[int, str] ''' @@ -354,7 +357,7 @@ def select_more(): def snap(type: typing.Union[int, str] = 'CFRA'): ''' Snap selected keyframes to the times specified - :param type: Type * CFRA Current Frame, Snap selected keyframes to the current frame. * NEAREST_FRAME Nearest Frame, Snap selected keyframes to the nearest (whole) frame (use to fix accidental sub-frame offsets). * NEAREST_SECOND Nearest Second, Snap selected keyframes to the nearest second. * NEAREST_MARKER Nearest Marker, Snap selected keyframes to the nearest marker. + :param type: Type * CFRA Selection to Current Frame, Snap selected keyframes to the current frame. * NEAREST_FRAME Selection to Nearest Frame, Snap selected keyframes to the nearest (whole) frame (use to fix accidental subframe offsets). * NEAREST_SECOND Selection to Nearest Second, Snap selected keyframes to the nearest second. * NEAREST_MARKER Selection to Nearest Marker, Snap selected keyframes to the nearest marker. :type type: typing.Union[int, str] ''' diff --git a/blender_autocomplete/bpy/ops/anim.py b/blender_autocomplete/bpy/ops/anim.py index d73dbdc..9bbb9db 100644 --- a/blender_autocomplete/bpy/ops/anim.py +++ b/blender_autocomplete/bpy/ops/anim.py @@ -33,7 +33,7 @@ def channels_clean_empty(): def channels_click(extend: bool = False, children_only: bool = False): - ''' Handle mouse-clicks over animation channels + ''' Handle mouse clicks over animation channels :param extend: Extend Select :type extend: bool @@ -217,7 +217,7 @@ def channels_ungroup(): def clear_useless_actions(only_unused: bool = True): - ''' Mark actions with no F-Curves for deletion after save & reload of file preserving "action libraries" + ''' Mark actions with no F-Curves for deletion after save and reload of file preserving "action libraries" :param only_unused: Only Unused, Only unused (Fake User only) actions get considered :type only_unused: bool @@ -466,7 +466,7 @@ def paste_driver_button(): def previewrange_clear(): - ''' Clear Preview Range + ''' Clear preview range ''' @@ -495,6 +495,14 @@ def previewrange_set(xmin: int = 0, pass +def show_group_colors_deprecated(): + ''' This option moved to Preferences > Animation :file: startup/bl_operators/anim.py\:439 _ + + ''' + + pass + + def start_frame_set(): ''' Set the current frame as the preview or scene start frame @@ -504,9 +512,9 @@ def start_frame_set(): def update_animated_transform_constraints(use_convert_to_radians: bool = True): - ''' Update fcurves/drivers affecting Transform constraints (use it with files from 2.70 and earlier) + ''' Update f-curves/drivers affecting Transform constraints (use it with files from 2.70 and earlier) - :param use_convert_to_radians: Convert To Radians, Convert fcurves/drivers affecting rotations to radians (Warning: use this only once!) + :param use_convert_to_radians: Convert to Radians, Convert fcurves/drivers affecting rotations to radians (Warning: use this only once!) :type use_convert_to_radians: bool ''' diff --git a/blender_autocomplete/bpy/ops/armature.py b/blender_autocomplete/bpy/ops/armature.py index 4d0571b..02baeb5 100644 --- a/blender_autocomplete/bpy/ops/armature.py +++ b/blender_autocomplete/bpy/ops/armature.py @@ -53,7 +53,7 @@ def bone_layers( def bone_primitive_add(name: str = "Bone"): - ''' Add a new bone located at the 3D-Cursor + ''' Add a new bone located at the 3D cursor :param name: Name, Name of the newly created bone :type name: str @@ -153,7 +153,7 @@ def extrude_move(ARMATURE_OT_extrude=None, TRANSFORM_OT_translate=None): def fill(): - ''' Add bone between selected joint(s) and/or 3D-Cursor + ''' Add bone between selected joint(s) and/or 3D cursor ''' @@ -193,7 +193,7 @@ def layers_show_all(all: bool = True): def parent_clear(type: typing.Union[int, str] = 'CLEAR'): ''' Remove the parent-child relationship between selected bones and their parents - :param type: ClearType, What way to clear parenting + :param type: Clear Type, What way to clear parenting :type type: typing.Union[int, str] ''' @@ -203,7 +203,7 @@ def parent_clear(type: typing.Union[int, str] = 'CLEAR'): def parent_set(type: typing.Union[int, str] = 'CONNECTED'): ''' Set the active bone as the parent of the selected bones - :param type: ParentType, Type of parenting + :param type: Parent Type, Type of parenting :type type: typing.Union[int, str] ''' @@ -351,7 +351,7 @@ def subdivide(number_cuts: int = 1): def switch_direction(): - ''' Change the direction that a chain of bones points in (head <-> tail swap) + ''' Change the direction that a chain of bones points in (head and tail swap) ''' diff --git a/blender_autocomplete/bpy/ops/asset.py b/blender_autocomplete/bpy/ops/asset.py new file mode 100644 index 0000000..5f76801 --- /dev/null +++ b/blender_autocomplete/bpy/ops/asset.py @@ -0,0 +1,34 @@ +import sys +import typing + + +def clear(): + ''' Delete all asset metadata and turn the selected asset data-blocks back into normal data-blocks + + ''' + + pass + + +def mark(): + ''' Enable easier reuse of selected data-blocks through the Asset Browser, with the help of customizable metadata (like previews, descriptions and tags) + + ''' + + pass + + +def tag_add(): + ''' Add a new keyword tag to the active asset :file: startup/bl_operators/assets.py\:37 _ + + ''' + + pass + + +def tag_remove(): + ''' Remove an existing keyword tag from the active asset :file: startup/bl_operators/assets.py\:62 _ + + ''' + + pass diff --git a/blender_autocomplete/bpy/ops/buttons.py b/blender_autocomplete/bpy/ops/buttons.py index d72f7d1..c97bb0c 100644 --- a/blender_autocomplete/bpy/ops/buttons.py +++ b/blender_autocomplete/bpy/ops/buttons.py @@ -2,6 +2,14 @@ import typing +def clear_filter(): + ''' Clear the search filter + + ''' + + pass + + def context_menu(): ''' Display properties editor context_menu @@ -31,8 +39,8 @@ def directory_browse(directory: str = "", filemode: int = 9, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): - ''' Open a directory browser, Hold Shift to open the file, Alt to browse containing directory + sort_method: typing.Union[int, str] = ''): + ''' Open a directory browser, hold Shift to open the file, Alt to browse containing directory :param directory: Directory, Directory of the file :type directory: str @@ -76,7 +84,7 @@ def directory_browse(directory: str = "", :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -104,8 +112,8 @@ def file_browse(filepath: str = "", filemode: int = 9, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): - ''' Open a file browser, Hold Shift to open the file, Alt to browse containing directory + sort_method: typing.Union[int, str] = ''): + ''' Open a file browser, hold Shift to open the file, Alt to browse containing directory :param filepath: File Path, Path to file :type filepath: str @@ -149,8 +157,24 @@ def file_browse(filepath: str = "", :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' pass + + +def start_filter(): + ''' Start entering filter text + + ''' + + pass + + +def toggle_pin(): + ''' Keep the current data-block displayed + + ''' + + pass diff --git a/blender_autocomplete/bpy/ops/cachefile.py b/blender_autocomplete/bpy/ops/cachefile.py index a9fcc1d..1a9578c 100644 --- a/blender_autocomplete/bpy/ops/cachefile.py +++ b/blender_autocomplete/bpy/ops/cachefile.py @@ -23,7 +23,7 @@ def open(filepath: str = "", filter_blenlib: bool = False, filemode: int = 8, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): + sort_method: typing.Union[int, str] = ''): ''' Load a cache file :param filepath: File Path, Path to file @@ -68,7 +68,7 @@ def open(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' diff --git a/blender_autocomplete/bpy/ops/clip.py b/blender_autocomplete/bpy/ops/clip.py index cc77f2e..7da91aa 100644 --- a/blender_autocomplete/bpy/ops/clip.py +++ b/blender_autocomplete/bpy/ops/clip.py @@ -95,7 +95,7 @@ def clean_tracks(frames: int = 0, :param frames: Tracked Frames, Effect on tracks which are tracked less than specified amount of frames :type frames: int - :param error: Reprojection Error, Effect on tracks which have got larger re-projection error + :param error: Reprojection Error, Effect on tracks which have got larger reprojection error :type error: float :param action: Action, Cleanup action to execute * SELECT Select, Select unclean tracks. * DELETE_TRACK Delete Track, Delete unclean tracks. * DELETE_SEGMENTS Delete Segments, Delete unclean segments of tracks. :type action: typing.Union[int, str] @@ -116,7 +116,7 @@ def clear_track_path(action: typing.Union[int, str] = 'REMAINED', clear_active: bool = False): ''' Clear tracks after/before current position or clear the whole track - :param action: Action, Clear action to execute * UPTO Clear up-to, Clear path up to current frame. * REMAINED Clear remained, Clear path at remaining frames (after current). * ALL Clear all, Clear the whole path. + :param action: Action, Clear action to execute * UPTO Clear Up To, Clear path up to current frame. * REMAINED Clear Remained, Clear path at remaining frames (after current). * ALL Clear All, Clear the whole path. :type action: typing.Union[int, str] :param clear_active: Clear Active, Clear active track only instead of all selected tracks :type clear_active: bool @@ -417,8 +417,10 @@ def mode_set(mode: typing.Union[int, str] = 'TRACKING'): def open(directory: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, hide_props_region: bool = True, filter_blender: bool = False, filter_backup: bool = False, @@ -441,13 +443,13 @@ def open(directory: str = "", show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): + sort_method: typing.Union[int, str] = ''): ''' Load a sequence of frames or a movie file :param directory: Directory, Directory of the file :type directory: str :param files: Files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings :type hide_props_region: bool :param filter_blender: Filter .blend files @@ -492,7 +494,7 @@ def open(directory: str = "", :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -617,20 +619,21 @@ def select_circle(x: int = 0, def select_grouped(group: typing.Union[int, str] = 'ESTIMATED'): ''' Select all tracks from specified group - :param group: Action, Clear action to execute * KEYFRAMED Keyframed tracks, Select all keyframed tracks. * ESTIMATED Estimated tracks, Select all estimated tracks. * TRACKED Tracked tracks, Select all tracked tracks. * LOCKED Locked tracks, Select all locked tracks. * DISABLED Disabled tracks, Select all disabled tracks. * COLOR Tracks with same color, Select all tracks with same color as active track. * FAILED Failed Tracks, Select all tracks which failed to be reconstructed. + :param group: Action, Clear action to execute * KEYFRAMED Keyframed Tracks, Select all keyframed tracks. * ESTIMATED Estimated Tracks, Select all estimated tracks. * TRACKED Tracked Tracks, Select all tracked tracks. * LOCKED Locked Tracks, Select all locked tracks. * DISABLED Disabled Tracks, Select all disabled tracks. * COLOR Tracks with Same Color, Select all tracks with same color as active track. * FAILED Failed Tracks, Select all tracks which failed to be reconstructed. :type group: typing.Union[int, str] ''' pass -def select_lasso(path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None, +def select_lasso(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, mode: typing.Union[int, str] = 'SET'): ''' Select markers using lasso selection :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] :param mode: Mode * SET Set, Set a new selection. * ADD Extend, Extend existing selection. * SUB Subtract, Subtract existing selection. :type mode: typing.Union[int, str] ''' @@ -723,7 +726,7 @@ def set_solver_keyframe(keyframe: typing.Union[int, str] = 'KEYFRAME_A'): def set_viewport_background(): - ''' Set current movie clip as a camera background in 3D view-port (works only when a 3D view-port is visible) :file: startup/bl_operators/clip.py\:433 _ + ''' Set current movie clip as a camera background in 3D Viewport (works only when a 3D Viewport is visible) :file: startup/bl_operators/clip.py\:433 _ ''' @@ -741,7 +744,7 @@ def setup_tracking_scene(): def slide_marker(offset: typing.List[float] = (0.0, 0.0)): ''' Slide marker areas - :param offset: Offset, Offset in floating point units, 1.0 is the width and height of the image + :param offset: Offset, Offset in floating-point units, 1.0 is the width and height of the image :type offset: typing.List[float] ''' @@ -933,7 +936,7 @@ def view_ndof(): def view_pan(offset: typing.List[float] = (0.0, 0.0)): ''' Pan the view - :param offset: Offset, Offset in floating point units, 1.0 is the width and height of the image + :param offset: Offset, Offset in floating-point units, 1.0 is the width and height of the image :type offset: typing.List[float] ''' @@ -973,7 +976,7 @@ def view_zoom_in(location: typing.List[float] = (0.0, 0.0)): def view_zoom_out(location: typing.List[float] = (0.0, 0.0)): ''' Zoom out the view - :param location: Location, Cursor location in normalized (0.0-1.0) coordinates + :param location: Location, Cursor location in normalized (0.0 to 1.0) coordinates :type location: typing.List[float] ''' diff --git a/blender_autocomplete/bpy/ops/constraint.py b/blender_autocomplete/bpy/ops/constraint.py index e0df8e0..e53b557 100644 --- a/blender_autocomplete/bpy/ops/constraint.py +++ b/blender_autocomplete/bpy/ops/constraint.py @@ -12,7 +12,7 @@ def add_target(): def childof_clear_inverse(constraint: str = "", owner: typing.Union[int, str] = 'OBJECT'): - ''' Clear inverse correction for ChildOf constraint + ''' Clear inverse correction for Child Of constraint :param constraint: Constraint, Name of the constraint to edit :type constraint: str @@ -25,7 +25,7 @@ def childof_clear_inverse(constraint: str = "", def childof_set_inverse(constraint: str = "", owner: typing.Union[int, str] = 'OBJECT'): - ''' Set inverse correction for ChildOf constraint + ''' Set inverse correction for Child Of constraint :param constraint: Constraint, Name of the constraint to edit :type constraint: str @@ -142,7 +142,7 @@ def normalize_target_weights(): def objectsolver_clear_inverse(constraint: str = "", owner: typing.Union[int, str] = 'OBJECT'): - ''' Clear inverse correction for ObjectSolver constraint + ''' Clear inverse correction for Object Solver constraint :param constraint: Constraint, Name of the constraint to edit :type constraint: str @@ -155,7 +155,7 @@ def objectsolver_clear_inverse(constraint: str = "", def objectsolver_set_inverse(constraint: str = "", owner: typing.Union[int, str] = 'OBJECT'): - ''' Set inverse correction for ObjectSolver constraint + ''' Set inverse correction for Object Solver constraint :param constraint: Constraint, Name of the constraint to edit :type constraint: str diff --git a/blender_autocomplete/bpy/ops/curve.py b/blender_autocomplete/bpy/ops/curve.py index 3ae293a..1a9eafa 100644 --- a/blender_autocomplete/bpy/ops/curve.py +++ b/blender_autocomplete/bpy/ops/curve.py @@ -61,21 +61,23 @@ def draw(error_threshold: float = 0.0, fit_method: typing.Union[int, str] = 'REFIT', corner_angle: float = 1.22173, use_cyclic: bool = True, - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None, + stroke: typing. + Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], + 'bpy_prop_collection'] = None, wait_for_input: bool = True): ''' Draw a freehand spline :param error_threshold: Error, Error distance threshold (in object units) :type error_threshold: float - :param fit_method: Fit Method * REFIT Refit, Incrementally re-fit the curve (high quality). * SPLIT Split, Split the curve until the tolerance is met (fast). + :param fit_method: Fit Method * REFIT Refit, Incrementally refit the curve (high quality). * SPLIT Split, Split the curve until the tolerance is met (fast). :type fit_method: typing.Union[int, str] :param corner_angle: Corner Angle :type corner_angle: float :param use_cyclic: Cyclic :type use_cyclic: bool :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] :param wait_for_input: Wait for Input :type wait_for_input: bool ''' @@ -177,7 +179,7 @@ def primitive_bezier_circle_add(radius: float = 1.0, :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -202,7 +204,7 @@ def primitive_bezier_curve_add(radius: float = 1.0, :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -227,7 +229,7 @@ def primitive_nurbs_circle_add(radius: float = 1.0, :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -252,7 +254,7 @@ def primitive_nurbs_curve_add(radius: float = 1.0, :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -277,7 +279,7 @@ def primitive_nurbs_path_add(radius: float = 1.0, :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -537,7 +539,7 @@ def split(): def subdivide(number_cuts: int = 1): ''' Subdivide selected segments - :param number_cuts: Number of cuts + :param number_cuts: Number of Cuts :type number_cuts: int ''' diff --git a/blender_autocomplete/bpy/ops/cycles.py b/blender_autocomplete/bpy/ops/cycles.py index 728f4fc..71eb2e0 100644 --- a/blender_autocomplete/bpy/ops/cycles.py +++ b/blender_autocomplete/bpy/ops/cycles.py @@ -2,14 +2,6 @@ import typing -def add_aov(): - ''' Add an AOV pass :file: addons/cycles/operators.py\:52 _ - - ''' - - pass - - def denoise_animation(input_filepath: str = "", output_filepath: str = ""): ''' Denoise rendered animation sequence using current scene and view layer settings. Requires denoising data passes and output to OpenEXR multilayer files @@ -38,14 +30,6 @@ def merge_images(input_filepath1: str = "", pass -def remove_aov(): - ''' Remove an AOV pass :file: addons/cycles/operators.py\:67 _ - - ''' - - pass - - def use_shading_nodes(): ''' Enable nodes on a material, world or light :file: addons/cycles/operators.py\:36 _ diff --git a/blender_autocomplete/bpy/ops/ed.py b/blender_autocomplete/bpy/ops/ed.py index 6a9e29e..1dd3dfe 100644 --- a/blender_autocomplete/bpy/ops/ed.py +++ b/blender_autocomplete/bpy/ops/ed.py @@ -10,6 +10,107 @@ def flush_edits(): pass +def lib_id_fake_user_toggle(): + ''' Save this data-block even if it has no users + + ''' + + pass + + +def lib_id_generate_preview(): + ''' Create an automatic preview for the selected data-block + + ''' + + pass + + +def lib_id_load_custom_preview( + filepath: str = "", + hide_props_region: bool = True, + filter_blender: bool = False, + filter_backup: bool = False, + filter_image: bool = True, + filter_movie: bool = False, + filter_python: bool = False, + filter_font: bool = False, + filter_sound: bool = False, + filter_text: bool = False, + filter_archive: bool = False, + filter_btx: bool = False, + filter_collada: bool = False, + filter_alembic: bool = False, + filter_usd: bool = False, + filter_volume: bool = False, + filter_folder: bool = True, + filter_blenlib: bool = False, + filemode: int = 9, + show_multiview: bool = False, + use_multiview: bool = False, + display_type: typing.Union[int, str] = 'DEFAULT', + sort_method: typing.Union[int, str] = ''): + ''' Choose an image to help identify the data-block visually + + :param filepath: File Path, Path to file + :type filepath: str + :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings + :type hide_props_region: bool + :param filter_blender: Filter .blend files + :type filter_blender: bool + :param filter_backup: Filter .blend files + :type filter_backup: bool + :param filter_image: Filter image files + :type filter_image: bool + :param filter_movie: Filter movie files + :type filter_movie: bool + :param filter_python: Filter python files + :type filter_python: bool + :param filter_font: Filter font files + :type filter_font: bool + :param filter_sound: Filter sound files + :type filter_sound: bool + :param filter_text: Filter text files + :type filter_text: bool + :param filter_archive: Filter archive files + :type filter_archive: bool + :param filter_btx: Filter btx files + :type filter_btx: bool + :param filter_collada: Filter COLLADA files + :type filter_collada: bool + :param filter_alembic: Filter Alembic files + :type filter_alembic: bool + :param filter_usd: Filter USD files + :type filter_usd: bool + :param filter_volume: Filter OpenVDB volume files + :type filter_volume: bool + :param filter_folder: Filter folders + :type filter_folder: bool + :param filter_blenlib: Filter Blender IDs + :type filter_blenlib: bool + :param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file + :type filemode: int + :param show_multiview: Enable Multi-View + :type show_multiview: bool + :param use_multiview: Use Multi-View + :type use_multiview: bool + :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. + :type display_type: typing.Union[int, str] + :param sort_method: File sorting mode + :type sort_method: typing.Union[int, str] + ''' + + pass + + +def lib_id_unlink(): + ''' Remove a usage of a data-block, clearing the assignment + + ''' + + pass + + def redo(): ''' Redo previous action diff --git a/blender_autocomplete/bpy/ops/export_scene.py b/blender_autocomplete/bpy/ops/export_scene.py index 449bdd1..a6ddba2 100644 --- a/blender_autocomplete/bpy/ops/export_scene.py +++ b/blender_autocomplete/bpy/ops/export_scene.py @@ -10,6 +10,7 @@ def fbx(filepath: str = "", global_scale: float = 1.0, apply_unit_scale: bool = True, apply_scale_options: typing.Union[int, str] = 'FBX_SCALE_NONE', + use_space_transform: bool = True, bake_space_transform: bool = False, object_types: typing.Union[typing.Set[int], typing.Set[str]] = { 'ARMATURE', 'CAMERA', 'EMPTY', 'LIGHT', 'MESH', 'OTHER' @@ -58,6 +59,8 @@ def fbx(filepath: str = "", :type apply_unit_scale: bool :param apply_scale_options: Apply Scalings, How to apply custom and units scalings in generated FBX file (Blender uses FBX scale to detect units on import, but many other applications do not handle the same way) * FBX_SCALE_NONE All Local, Apply custom scaling and units scaling to each object transformation, FBX scale remains at 1.0. * FBX_SCALE_UNITS FBX Units Scale, Apply custom scaling to each object transformation, and units scaling to FBX scale. * FBX_SCALE_CUSTOM FBX Custom Scale, Apply custom scaling to FBX scale, and units scaling to each object transformation. * FBX_SCALE_ALL FBX All, Apply custom scaling and units scaling to FBX scale. :type apply_scale_options: typing.Union[int, str] + :param use_space_transform: Use Space Transform, Apply global space transform to the object rotations. When disabled only the axis space is written to the file and all object transforms are left as-is + :type use_space_transform: bool :param bake_space_transform: Apply Transform, Bake space transform into object data, avoids getting unwanted rotations to objects when target space is not aligned with Blender's space (WARNING! experimental option, use at own risks, known broken with armatures/animations) :type bake_space_transform: bool :param object_types: Object Types, Which kind of object to export * EMPTY Empty. * CAMERA Camera. * LIGHT Lamp. * ARMATURE Armature, WARNING: not supported in dupli/group instances. * MESH Mesh. * OTHER Other, Other geometry types, like curve, metaball, etc. (converted to meshes). @@ -131,9 +134,10 @@ def gltf(export_format: typing.Union[int, str] = 'GLB', export_draco_position_quantization: int = 14, export_draco_normal_quantization: int = 10, export_draco_texcoord_quantization: int = 12, + export_draco_color_quantization: int = 10, export_draco_generic_quantization: int = 12, export_tangents: bool = False, - export_materials: bool = True, + export_materials: typing.Union[int, str] = 'EXPORT', export_colors: bool = True, export_cameras: bool = False, export_selected: bool = False, @@ -185,12 +189,14 @@ def gltf(export_format: typing.Union[int, str] = 'GLB', :type export_draco_normal_quantization: int :param export_draco_texcoord_quantization: Texcoord quantization bits, Quantization bits for texture coordinate values (0 = no quantization) :type export_draco_texcoord_quantization: int + :param export_draco_color_quantization: Color quantization bits, Quantization bits for color values (0 = no quantization) + :type export_draco_color_quantization: int :param export_draco_generic_quantization: Generic quantization bits, Quantization bits for generic coordinate values like weights or joints (0 = no quantization) :type export_draco_generic_quantization: int :param export_tangents: Tangents, Export vertex tangents with meshes :type export_tangents: bool - :param export_materials: Materials, Export materials - :type export_materials: bool + :param export_materials: Materials, Export materials * EXPORT Export, Export all materials used by included objects. * PLACEHOLDER Placeholder, Do not export materials, but write multiple primitive groups per mesh, keeping material slot information. * NONE No export, Do not export materials, and combine mesh primitive groups, losing material slot information. + :type export_materials: typing.Union[int, str] :param export_colors: Vertex Colors, Export vertex colors with meshes :type export_colors: bool :param export_cameras: Cameras, Export cameras diff --git a/blender_autocomplete/bpy/ops/file.py b/blender_autocomplete/bpy/ops/file.py index 217049f..266192b 100644 --- a/blender_autocomplete/bpy/ops/file.py +++ b/blender_autocomplete/bpy/ops/file.py @@ -107,29 +107,28 @@ def filepath_drop(filepath: str = "Path"): pass -def find_missing_files( - find_all: bool = False, - directory: str = "", - hide_props_region: bool = True, - filter_blender: bool = False, - filter_backup: bool = False, - filter_image: bool = False, - filter_movie: bool = False, - filter_python: bool = False, - filter_font: bool = False, - filter_sound: bool = False, - filter_text: bool = False, - filter_archive: bool = False, - filter_btx: bool = False, - filter_collada: bool = False, - filter_alembic: bool = False, - filter_usd: bool = False, - filter_volume: bool = False, - filter_folder: bool = False, - filter_blenlib: bool = False, - filemode: int = 9, - display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): +def find_missing_files(find_all: bool = False, + directory: str = "", + hide_props_region: bool = True, + filter_blender: bool = False, + filter_backup: bool = False, + filter_image: bool = False, + filter_movie: bool = False, + filter_python: bool = False, + filter_font: bool = False, + filter_sound: bool = False, + filter_text: bool = False, + filter_archive: bool = False, + filter_btx: bool = False, + filter_collada: bool = False, + filter_alembic: bool = False, + filter_usd: bool = False, + filter_volume: bool = False, + filter_folder: bool = False, + filter_blenlib: bool = False, + filemode: int = 9, + display_type: typing.Union[int, str] = 'DEFAULT', + sort_method: typing.Union[int, str] = ''): ''' Try to find missing external files :param find_all: Find All, Find all files in the search path (not just missing) @@ -174,7 +173,7 @@ def find_missing_files( :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -278,7 +277,7 @@ def report_missing_files(): def reset_recent(): - ''' Reset Recent files + ''' Reset recent files ''' @@ -317,7 +316,7 @@ def select_all(action: typing.Union[int, str] = 'TOGGLE'): def select_bookmark(dir: str = ""): ''' Select a bookmarked directory - :param dir: Dir + :param dir: Directory :type dir: str ''' @@ -406,7 +405,7 @@ def unpack_item(method: typing.Union[int, str] = 'USE_LOCAL', :param method: Method, How to unpack :type method: typing.Union[int, str] - :param id_name: ID name, Name of ID block to unpack + :param id_name: ID Name, Name of ID block to unpack :type id_name: str :param id_type: ID Type, Identifier type of ID block :type id_type: int diff --git a/blender_autocomplete/bpy/ops/font.py b/blender_autocomplete/bpy/ops/font.py index 211c942..fbf8bdf 100644 --- a/blender_autocomplete/bpy/ops/font.py +++ b/blender_autocomplete/bpy/ops/font.py @@ -99,7 +99,7 @@ def open(filepath: str = "", filemode: int = 9, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): + sort_method: typing.Union[int, str] = ''): ''' Load a new font from a file :param filepath: File Path, Path to file @@ -144,7 +144,7 @@ def open(filepath: str = "", :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -202,7 +202,7 @@ def text_insert(text: str = "", accent: bool = False): :param text: Text, Text to insert at the cursor position :type text: str - :param accent: Accent mode, Next typed character will strike through previous, for special character input + :param accent: Accent Mode, Next typed character will strike through previous, for special character input :type accent: bool ''' @@ -217,28 +217,27 @@ def text_paste(): pass -def text_paste_from_file( - filepath: str = "", - hide_props_region: bool = True, - filter_blender: bool = False, - filter_backup: bool = False, - filter_image: bool = False, - filter_movie: bool = False, - filter_python: bool = False, - filter_font: bool = False, - filter_sound: bool = False, - filter_text: bool = True, - filter_archive: bool = False, - filter_btx: bool = False, - filter_collada: bool = False, - filter_alembic: bool = False, - filter_usd: bool = False, - filter_volume: bool = False, - filter_folder: bool = True, - filter_blenlib: bool = False, - filemode: int = 9, - display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): +def text_paste_from_file(filepath: str = "", + hide_props_region: bool = True, + filter_blender: bool = False, + filter_backup: bool = False, + filter_image: bool = False, + filter_movie: bool = False, + filter_python: bool = False, + filter_font: bool = False, + filter_sound: bool = False, + filter_text: bool = True, + filter_archive: bool = False, + filter_btx: bool = False, + filter_collada: bool = False, + filter_alembic: bool = False, + filter_usd: bool = False, + filter_volume: bool = False, + filter_folder: bool = True, + filter_blenlib: bool = False, + filemode: int = 9, + display_type: typing.Union[int, str] = 'DEFAULT', + sort_method: typing.Union[int, str] = ''): ''' Paste contents from file :param filepath: File Path, Path to file @@ -281,7 +280,7 @@ def text_paste_from_file( :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -297,7 +296,7 @@ def textbox_add(): def textbox_remove(index: int = 0): - ''' Remove the textbox + ''' Remove the text box :param index: Index, The current text box :type index: int diff --git a/blender_autocomplete/bpy/ops/geometry.py b/blender_autocomplete/bpy/ops/geometry.py new file mode 100644 index 0000000..267c43e --- /dev/null +++ b/blender_autocomplete/bpy/ops/geometry.py @@ -0,0 +1,26 @@ +import sys +import typing + + +def attribute_add(name: str = "Attribute", + data_type: typing.Union[int, str] = 'FLOAT', + domain: typing.Union[int, str] = 'POINT'): + ''' Add attribute to geometry + + :param name: Name, Name of new attribute + :type name: str + :param data_type: Data Type, Type of data stored in attribute * FLOAT Float, Floating-point value. * INT Integer, 32-bit integer. * FLOAT_VECTOR Vector, 3D vector with floating-point values. * FLOAT_COLOR Color, RGBA color with floating-point precisions. * BYTE_COLOR Byte Color, RGBA color with 8-bit precision. * STRING String, Text string. * BOOLEAN Boolean, True or false. + :type data_type: typing.Union[int, str] + :param domain: Domain, Type of element that attribute is stored on * POINT Point, Attribute on point. * EDGE Edge, Attribute on mesh edge. * CORNER Corner, Attribute on mesh polygon corner. * POLYGON Polygon, Attribute on mesh polygons. * CURVE Curve, Attribute on hair curve. + :type domain: typing.Union[int, str] + ''' + + pass + + +def attribute_remove(): + ''' Remove attribute from geometry + + ''' + + pass diff --git a/blender_autocomplete/bpy/ops/gpencil.py b/blender_autocomplete/bpy/ops/gpencil.py index 3ff7fb1..1cf9593 100644 --- a/blender_autocomplete/bpy/ops/gpencil.py +++ b/blender_autocomplete/bpy/ops/gpencil.py @@ -19,16 +19,17 @@ def active_frames_delete_all(): pass -def annotate( - mode: typing.Union[int, str] = 'DRAW', - arrowstyle_start: typing.Union[int, str] = 'NONE', - arrowstyle_end: typing.Union[int, str] = 'NONE', - use_stabilizer: bool = False, - stabilizer_factor: float = 0.75, - stabilizer_radius: int = 35, - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None, - wait_for_input: bool = True): +def annotate(mode: typing.Union[int, str] = 'DRAW', + arrowstyle_start: typing.Union[int, str] = 'NONE', + arrowstyle_end: typing.Union[int, str] = 'NONE', + use_stabilizer: bool = False, + stabilizer_factor: float = 0.75, + stabilizer_radius: int = 35, + stroke: typing. + Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], + 'bpy_prop_collection'] = None, + wait_for_input: bool = True): ''' Make annotations on the active data :param mode: Mode, Way to interpret mouse movements * DRAW Draw Freehand, Draw freehand stroke(s). * DRAW_STRAIGHT Draw Straight Lines, Draw straight line segment(s). * DRAW_POLY Draw Poly Line, Click to place endpoints of straight line segments (connected). * ERASER Eraser, Erase Annotation strokes. @@ -44,7 +45,7 @@ def annotate( :param stabilizer_radius: Stabilizer Stroke Radius, Minimum distance from last point before stroke continues :type stabilizer_radius: int :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] :param wait_for_input: Wait for Input, Wait for first click instead of painting immediately :type wait_for_input: bool ''' @@ -68,39 +69,42 @@ def annotation_add(): pass -def bake_mesh_animation(frame_start: int = 1, +def bake_mesh_animation(target: typing.Union[int, str] = 'NEW', + frame_start: int = 1, frame_end: int = 250, step: int = 1, - angle: float = 1.22173, thickness: int = 1, + angle: float = 1.22173, + offset: float = 0.001, seams: bool = False, faces: bool = True, - offset: float = 0.001, + only_selected: bool = False, frame_target: int = 1, - target: str = "*NEW", project_type: typing.Union[int, str] = 'VIEW'): - ''' Bake Mesh Animation to Grease Pencil strokes + ''' Bake mesh animation to grease pencil strokes + :param target: Target Object, Target grease pencil + :type target: typing.Union[int, str] :param frame_start: Start Frame, The start frame :type frame_start: int :param frame_end: End Frame, The end frame of animation :type frame_end: int :param step: Step, Step between generated frames :type step: int - :param angle: Threshold Angle, Threshold to determine ends of the strokes - :type angle: float :param thickness: Thickness :type thickness: int + :param angle: Threshold Angle, Threshold to determine ends of the strokes + :type angle: float + :param offset: Stroke Offset, Offset strokes from fill + :type offset: float :param seams: Only Seam Edges, Convert only seam edges :type seams: bool :param faces: Export Faces, Export faces as filled strokes :type faces: bool - :param offset: Offset, Offset strokes from fill - :type offset: float - :param frame_target: Frame Target + :param only_selected: Only Selected Keyframes, Convert only selected keyframes + :type only_selected: bool + :param frame_target: Target Frame, Destination frame :type frame_target: int - :param target: Target Object, Target grease pencil object name. Leave empty for new object - :type target: str :param project_type: Projection Type * KEEP No Reproject. * FRONT Front, Reproject the strokes using the X-Z plane. * SIDE Side, Reproject the strokes using the Y-Z plane. * TOP Top, Reproject the strokes using the X-Y plane. * VIEW View, Reproject the strokes to end up on the same plane, as if drawn from the current viewpoint using 'Cursor' Stroke Placement. * CURSOR Cursor, Reproject the strokes using the orientation of 3D cursor. :type project_type: typing.Union[int, str] ''' @@ -119,7 +123,7 @@ def blank_frame_add(all_layers: bool = False): def brush_reset(): - ''' Reset Brush to default parameters + ''' Reset brush to default parameters ''' @@ -225,7 +229,7 @@ def delete(type: typing.Union[int, str] = 'POINTS'): def dissolve(type: typing.Union[int, str] = 'POINTS'): ''' Delete selected points without splitting strokes - :param type: Type, Method used for dissolving Stroke points * POINTS Dissolve, Dissolve selected points. * BETWEEN Dissolve Between, Dissolve points between selected points. * UNSELECT Dissolve Unselect, Dissolve all unselected points. + :param type: Type, Method used for dissolving stroke points * POINTS Dissolve, Dissolve selected points. * BETWEEN Dissolve Between, Dissolve points between selected points. * UNSELECT Dissolve Unselect, Dissolve all unselected points. :type type: typing.Union[int, str] ''' @@ -233,24 +237,29 @@ def dissolve(type: typing.Union[int, str] = 'POINTS'): def draw(mode: typing.Union[int, str] = 'DRAW', - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None, + stroke: typing. + Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], + 'bpy_prop_collection'] = None, wait_for_input: bool = True, disable_straight: bool = False, disable_fill: bool = False, + disable_stabilizer: bool = False, guide_last_angle: float = 0.0): - ''' Draw mouse_prv new stroke in the active Grease Pencil Object + ''' Draw a new stroke in the active Grease Pencil object :param mode: Mode, Way to interpret mouse movements * DRAW Draw Freehand, Draw freehand stroke(s). * DRAW_STRAIGHT Draw Straight Lines, Draw straight line segment(s). * ERASER Eraser, Erase Grease Pencil strokes. :type mode: typing.Union[int, str] :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] :param wait_for_input: Wait for Input, Wait for first click instead of painting immediately :type wait_for_input: bool :param disable_straight: No Straight lines, Disable key for straight lines :type disable_straight: bool :param disable_fill: No Fill Areas, Disable fill to use stroke as fill boundary :type disable_fill: bool + :param disable_stabilizer: No Stabilizer + :type disable_stabilizer: bool :param guide_last_angle: Angle, Speed guide angle :type guide_last_angle: float ''' @@ -319,13 +328,23 @@ def extrude_move(GPENCIL_OT_extrude=None, TRANSFORM_OT_translate=None): def fill(on_back: bool = False): ''' Fill with color the shape formed by strokes - :param on_back: Draw On Back, Send new stroke to Back + :param on_back: Draw on Back, Send new stroke to back :type on_back: bool ''' pass +def frame_clean_duplicate(type: typing.Union[int, str] = 'ALL'): + ''' Remove any duplicated frame + + :param type: Type + :type type: typing.Union[int, str] + ''' + + pass + + def frame_clean_fill(mode: typing.Union[int, str] = 'ACTIVE'): ''' Remove 'no fill' boundary strokes @@ -671,46 +690,6 @@ def material_unlock_all(): pass -def mesh_bake(frame_start: int = 1, - frame_end: int = 250, - step: int = 1, - thickness: int = 1, - angle: float = 1.22173, - offset: float = 0.001, - seams: bool = False, - faces: bool = True, - target: typing.Union[int, str] = '', - frame_target: int = 1, - project_type: typing.Union[int, str] = 'KEEP'): - ''' Bake all mesh animation into grease pencil strokes - - :param frame_start: Start Frame, Start frame for baking - :type frame_start: int - :param frame_end: End Frame, End frame for baking - :type frame_end: int - :param step: Frame Step, Frame Step - :type step: int - :param thickness: Thickness, Thickness of the stroke lines - :type thickness: int - :param angle: Threshold Angle, Threshold to determine ends of the strokes - :type angle: float - :param offset: Stroke Offset, Offset strokes from fill - :type offset: float - :param seams: Only Seam Edges, Convert only seam edges - :type seams: bool - :param faces: Export Faces, Export faces as filled strokes - :type faces: bool - :param target: Target Object, Grease Pencil Object - :type target: typing.Union[int, str] - :param frame_target: Target Frame, Destination frame for the baked animation - :type frame_target: int - :param project_type: Reproject Type, Type of projection * KEEP No Reproject. * FRONT Front, Reproject the strokes using the X-Z plane. * SIDE Side, Reproject the strokes using the Y-Z plane. * TOP Top, Reproject the strokes using the X-Y plane. * VIEW View, Reproject the strokes to current viewpoint. * CURSOR Cursor, Reproject the strokes using the orientation of 3D cursor. - :type project_type: typing.Union[int, str] - ''' - - pass - - def move_to_layer(layer: int = 0): ''' Move selected strokes to another layer @@ -743,12 +722,91 @@ def paste(type: typing.Union[int, str] = 'ACTIVE', paste_back: bool = False): pass -def primitive(edges: int = 4, - type: typing.Union[int, str] = 'BOX', - wait_for_input: bool = True): - ''' Create predefined grease pencil stroke shapes +def primitive_box(subdivision: int = 3, + edges: int = 2, + type: typing.Union[int, str] = 'BOX', + wait_for_input: bool = True): + ''' Create predefined grease pencil stroke box shapes + + :param subdivision: Subdivisions, Number of subdivision by edges + :type subdivision: int + :param edges: Edges, Number of points by edge + :type edges: int + :param type: Type, Type of shape + :type type: typing.Union[int, str] + :param wait_for_input: Wait for Input + :type wait_for_input: bool + ''' + + pass + + +def primitive_circle(subdivision: int = 94, + edges: int = 2, + type: typing.Union[int, str] = 'CIRCLE', + wait_for_input: bool = True): + ''' Create predefined grease pencil stroke circle shapes + + :param subdivision: Subdivisions, Number of subdivision by edges + :type subdivision: int + :param edges: Edges, Number of points by edge + :type edges: int + :param type: Type, Type of shape + :type type: typing.Union[int, str] + :param wait_for_input: Wait for Input + :type wait_for_input: bool + ''' + + pass + + +def primitive_curve(subdivision: int = 62, + edges: int = 2, + type: typing.Union[int, str] = 'CURVE', + wait_for_input: bool = True): + ''' Create predefined grease pencil stroke curve shapes + + :param subdivision: Subdivisions, Number of subdivision by edges + :type subdivision: int + :param edges: Edges, Number of points by edge + :type edges: int + :param type: Type, Type of shape + :type type: typing.Union[int, str] + :param wait_for_input: Wait for Input + :type wait_for_input: bool + ''' + + pass + + +def primitive_line(subdivision: int = 6, + edges: int = 2, + type: typing.Union[int, str] = 'LINE', + wait_for_input: bool = True): + ''' Create predefined grease pencil stroke lines - :param edges: Edges, Number of polygon edges + :param subdivision: Subdivisions, Number of subdivision by edges + :type subdivision: int + :param edges: Edges, Number of points by edge + :type edges: int + :param type: Type, Type of shape + :type type: typing.Union[int, str] + :param wait_for_input: Wait for Input + :type wait_for_input: bool + ''' + + pass + + +def primitive_polyline(subdivision: int = 6, + edges: int = 2, + type: typing.Union[int, str] = 'POLYLINE', + wait_for_input: bool = True): + ''' Create predefined grease pencil stroke polylines + + :param subdivision: Subdivisions, Number of subdivision by edges + :type subdivision: int + :param edges: Edges, Number of points by edge :type edges: int :param type: Type, Type of shape :type type: typing.Union[int, str] @@ -800,14 +858,14 @@ def reveal(select: bool = True): pass -def sculpt_paint( - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None, - wait_for_input: bool = True): +def sculpt_paint(stroke: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] = None, + wait_for_input: bool = True): ''' Apply tweaks to strokes by painting over the strokes :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] :param wait_for_input: Wait for Input, Enter a mini 'sculpt-mode' if enabled, otherwise, exit after drawing a single stroke :type wait_for_input: bool ''' @@ -943,14 +1001,16 @@ def select_grouped(type: typing.Union[int, str] = 'LAYER'): def select_lasso(mode: typing.Union[int, str] = 'SET', - path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None): + path: typing. + Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], + 'bpy_prop_collection'] = None): ''' Select Grease Pencil strokes using lasso selection :param mode: Mode * SET Set, Set a new selection. * ADD Extend, Extend existing selection. * SUB Subtract, Subtract existing selection. * XOR Difference, Inverts existing selection. * AND Intersect, Intersect existing selection. :type mode: typing.Union[int, str] :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] ''' pass @@ -1013,7 +1073,7 @@ def selection_opacity_toggle(): def selectmode_toggle(mode: int = 0): ''' Set selection mode for Grease Pencil strokes - :param mode: Select mode, Select mode + :param mode: Select Mode, Select mode :type mode: int ''' @@ -1073,7 +1133,7 @@ def stroke_arrange(direction: typing.Union[int, str] = 'UP'): def stroke_caps_set(type: typing.Union[int, str] = 'TOGGLE'): - ''' Change Stroke caps mode (rounded or flat) + ''' Change stroke caps mode (rounded or flat) :param type: Type * TOGGLE Both. * START Start. * END End. * TOGGLE Default, Set as default rounded. :type type: typing.Union[int, str] @@ -1092,13 +1152,16 @@ def stroke_change_color(material: str = ""): pass -def stroke_cutter( - path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None): +def stroke_cutter(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, + flat_caps: bool = False): ''' Select section and cut :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :param flat_caps: Flat Caps + :type flat_caps: bool ''' pass @@ -1117,6 +1180,27 @@ def stroke_cyclical_set(type: typing.Union[int, str] = 'TOGGLE', pass +def stroke_editcurve_set_handle_type( + type: typing.Union[int, str] = 'AUTOMATIC'): + ''' Set the type of a edit curve handle + + :param type: Type, Spline type + :type type: typing.Union[int, str] + ''' + + pass + + +def stroke_enter_editcurve_mode(error_threshold: float = 0.1): + ''' Called to transform a stroke into a curve + + :param error_threshold: Error Threshold, Threshold on the maximum deviation from the actual stroke + :type error_threshold: float + ''' + + pass + + def stroke_flip(): ''' Change direction of the points of the selected strokes @@ -1192,6 +1276,16 @@ def stroke_merge_material(hue_threshold: float = 0.001, pass +def stroke_reset_vertex_color(mode: typing.Union[int, str] = 'BOTH'): + ''' Reset vertex color for all or selected strokes + + :param mode: Mode * STROKE Stroke, Reset Vertex Color to Stroke only. * FILL Fill, Reset Vertex Color to Fill only. * BOTH Stroke and Fill, Reset Vertex Color to Stroke and Fill. + :type mode: typing.Union[int, str] + ''' + + pass + + def stroke_sample(length: float = 0.1): ''' Sample stroke points to predefined segment length @@ -1308,8 +1402,39 @@ def stroke_trim(): def tint_flip(): - ''' Switch Tint colors :file: startup/bl_ui/properties_grease_pencil_common.py\:894 _ + ''' Switch tint colors :file: startup/bl_ui/properties_grease_pencil_common.py\:872 _ + + ''' + + pass + +def trace_image(target: typing.Union[int, str] = 'NEW', + thickness: int = 10, + resolution: int = 5, + scale: float = 1.0, + sample: float = 0.0, + threshold: float = 0.5, + turnpolicy: typing.Union[int, str] = 'MINORITY', + mode: typing.Union[int, str] = 'SINGLE'): + ''' Extract Grease Pencil strokes from image + + :param target: Target Object, Target grease pencil + :type target: typing.Union[int, str] + :param thickness: Thickness + :type thickness: int + :param resolution: Resolution, Resolution of the generated curves + :type resolution: int + :param scale: Scale, Scale of the final stroke + :type scale: float + :param sample: Sample, Distance to sample points, zero to disable + :type sample: float + :param threshold: Color Threshold, Determine the lightness threshold above which strokes are generated + :type threshold: float + :param turnpolicy: Turn Policy, Determines how to resolve ambiguities during decomposition of bitmaps into paths * BLACK Black, Prefers to connect black (foreground) components. * WHITE White, Prefers to connect white (background) components. * LEFT Left, Always take a left turn. * RIGHT Right, Always take a right turn. * MINORITY Minority, Prefers to connect the color (black or white) that occurs least frequently in the local neighborhood of the current position. * MAJORITY Majority, Prefers to connect the color (black or white) that occurs most frequently in the local neighborhood of the current position. * RANDOM Random, Choose pseudo-randomly. + :type turnpolicy: typing.Union[int, str] + :param mode: Mode, Determines if trace simple image or full sequence * SINGLE Single, Trace the current frame of the image. * SEQUENCE Sequence, Trace full sequence. + :type mode: typing.Union[int, str] ''' pass @@ -1320,7 +1445,7 @@ def transform_fill(mode: typing.Union[int, str] = 'ROTATE', rotation: float = 0.0, scale: float = 0.0, release_confirm: bool = False): - ''' Transform Grease Pencil Stroke Fill + ''' Transform grease pencil stroke fill :param mode: Mode :type mode: typing.Union[int, str] @@ -1345,7 +1470,7 @@ def unlock_all(): pass -def vertex_color_brightness_contrast(mode: typing.Union[int, str] = 'STROKE', +def vertex_color_brightness_contrast(mode: typing.Union[int, str] = 'BOTH', brightness: float = 0.0, contrast: float = 0.0): ''' Adjust vertex color brightness/contrast @@ -1361,7 +1486,7 @@ def vertex_color_brightness_contrast(mode: typing.Union[int, str] = 'STROKE', pass -def vertex_color_hsv(mode: typing.Union[int, str] = 'STROKE', +def vertex_color_hsv(mode: typing.Union[int, str] = 'BOTH', h: float = 0.5, s: float = 1.0, v: float = 1.0): @@ -1380,7 +1505,7 @@ def vertex_color_hsv(mode: typing.Union[int, str] = 'STROKE', pass -def vertex_color_invert(mode: typing.Union[int, str] = 'STROKE'): +def vertex_color_invert(mode: typing.Union[int, str] = 'BOTH'): ''' Invert RGB values :param mode: Mode @@ -1390,7 +1515,7 @@ def vertex_color_invert(mode: typing.Union[int, str] = 'STROKE'): pass -def vertex_color_levels(mode: typing.Union[int, str] = 'STROKE', +def vertex_color_levels(mode: typing.Union[int, str] = 'BOTH', offset: float = 0.0, gain: float = 1.0): ''' Adjust levels of vertex colors @@ -1406,7 +1531,7 @@ def vertex_color_levels(mode: typing.Union[int, str] = 'STROKE', pass -def vertex_color_set(mode: typing.Union[int, str] = 'STROKE', +def vertex_color_set(mode: typing.Union[int, str] = 'BOTH', factor: float = 1.0): ''' Set active color to all selected vertex @@ -1489,14 +1614,14 @@ def vertex_group_smooth(factor: float = 0.5, repeat: int = 1): pass -def vertex_paint( - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None, - wait_for_input: bool = True): +def vertex_paint(stroke: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] = None, + wait_for_input: bool = True): ''' Paint stroke points with a color :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] :param wait_for_input: Wait for Input :type wait_for_input: bool ''' @@ -1514,14 +1639,14 @@ def vertexmode_toggle(back: bool = False): pass -def weight_paint( - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None, - wait_for_input: bool = True): +def weight_paint(stroke: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] = None, + wait_for_input: bool = True): ''' Paint stroke points with a color :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] :param wait_for_input: Wait for Input :type wait_for_input: bool ''' diff --git a/blender_autocomplete/bpy/ops/graph.py b/blender_autocomplete/bpy/ops/graph.py index c534c4d..0b80dcb 100644 --- a/blender_autocomplete/bpy/ops/graph.py +++ b/blender_autocomplete/bpy/ops/graph.py @@ -101,9 +101,11 @@ def decimate(mode: typing.Union[int, str] = 'RATIO', pass -def delete(): +def delete(confirm: bool = True): ''' Remove all selected keyframes + :param confirm: Confirm, Prompt for confirmation + :type confirm: bool ''' pass @@ -187,7 +189,7 @@ def fmodifier_add(type: typing.Union[int, str] = 'NULL', only_active: bool = True): ''' Add F-Modifier to the active/selected F-Curves - :param type: Type * NULL Invalid. * GENERATOR Generator, Generate a curve using a factorized or expanded polynomial. * FNGENERATOR Built-In Function, Generate a curve using standard math functions such as sin and cos. * ENVELOPE Envelope, Reshape F-Curve values - e.g. change amplitude of movements. * CYCLES Cycles, Cyclic extend/repeat keyframe sequence. * NOISE Noise, Add pseudo-random noise on top of F-Curves. * LIMITS Limits, Restrict maximum and minimum values of F-Curve. * STEPPED Stepped Interpolation, Snap values to nearest grid-step - e.g. for a stop-motion look. + :param type: Type * NULL Invalid. * GENERATOR Generator, Generate a curve using a factorized or expanded polynomial. * FNGENERATOR Built-In Function, Generate a curve using standard math functions such as sin and cos. * ENVELOPE Envelope, Reshape F-Curve values, e.g. change amplitude of movements. * CYCLES Cycles, Cyclic extend/repeat keyframe sequence. * NOISE Noise, Add pseudo-random noise on top of F-Curves. * LIMITS Limits, Restrict maximum and minimum values of F-Curve. * STEPPED Stepped Interpolation, Snap values to nearest grid step, e.g. for a stop-motion look. :type type: typing.Union[int, str] :param only_active: Only Active, Only add F-Modifier to active F-Curve :type only_active: bool @@ -204,7 +206,7 @@ def fmodifier_copy(): pass -def fmodifier_paste(only_active: bool = True, replace: bool = False): +def fmodifier_paste(only_active: bool = False, replace: bool = False): ''' Add copied F-Modifiers to the selected F-Curves :param only_active: Only Active, Only paste F-Modifiers on active F-Curve @@ -273,7 +275,7 @@ def interpolation_type(type: typing.Union[int, str] = 'CONSTANT'): def keyframe_insert(type: typing.Union[int, str] = 'ALL'): ''' Insert keyframes for the specified channels - :param type: Type * ALL All Channels, Insert a keyframe on all visible and editable F-Curves using each curve's current value. * SEL Only Selected Channels, Insert a keyframe on selected F-Curves using each curve's current value. * CURSOR_ACTIVE Active Channels At Cursor, Insert a keyframe for the active F-Curve at the cursor point. * CURSOR_SEL Selected Channels At Cursor, Insert a keyframe for selected F-Curves at the cursor point. + :param type: Type * ALL All Channels, Insert a keyframe on all visible and editable F-Curves using each curve's current value. * SEL Only Selected Channels, Insert a keyframe on selected F-Curves using each curve's current value. * CURSOR_ACTIVE Active Channels at Cursor, Insert a keyframe for the active F-Curve at the cursor point. * CURSOR_SEL Selected Channels at Cursor, Insert a keyframe for selected F-Curves at the cursor point. :type type: typing.Union[int, str] ''' @@ -283,7 +285,7 @@ def keyframe_insert(type: typing.Union[int, str] = 'ALL'): def mirror(type: typing.Union[int, str] = 'CFRA'): ''' Flip selected keyframes over the selected mirror line - :param type: Type * CFRA By Times Over Current Frame, Flip times of selected keyframes using the current frame as the mirror line. * VALUE By Values Over Cursor Value, Flip values of selected keyframes using the cursor value (Y/Horizontal component) as the mirror line. * YAXIS By Times Over Time=0, Flip times of selected keyframes, effectively reversing the order they appear in. * XAXIS By Values Over Value=0, Flip values of selected keyframes (i.e. negative values become positive, and vice versa). * MARKER By Times Over First Selected Marker, Flip times of selected keyframes using the first selected marker as the reference point. + :param type: Type * CFRA By Times Over Current Frame, Flip times of selected keyframes using the current frame as the mirror line. * VALUE By Values Over Cursor Value, Flip values of selected keyframes using the cursor value (Y/Horizontal component) as the mirror line. * YAXIS By Times Over Zero Time, Flip times of selected keyframes, effectively reversing the order they appear in. * XAXIS By Values Over Zero Value, Flip values of selected keyframes (i.e. negative values become positive, and vice versa). * MARKER By Times Over First Selected Marker, Flip times of selected keyframes using the first selected marker as the reference point. :type type: typing.Union[int, str] ''' @@ -408,13 +410,14 @@ def select_column(mode: typing.Union[int, str] = 'KEYS'): pass -def select_lasso(path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None, +def select_lasso(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, mode: typing.Union[int, str] = 'SET'): ''' Select keyframe points using lasso selection :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] :param mode: Mode * SET Set, Set a new selection. * ADD Extend, Extend existing selection. * SUB Subtract, Subtract existing selection. :type mode: typing.Union[int, str] ''' @@ -470,13 +473,21 @@ def smooth(): def snap(type: typing.Union[int, str] = 'CFRA'): ''' Snap selected keyframes to the chosen times/values - :param type: Type * CFRA Current Frame, Snap selected keyframes to the current frame. * VALUE Cursor Value, Set values of selected keyframes to the cursor value (Y/Horizontal component). * NEAREST_FRAME Nearest Frame, Snap selected keyframes to the nearest (whole) frame (use to fix accidental sub-frame offsets). * NEAREST_SECOND Nearest Second, Snap selected keyframes to the nearest second. * NEAREST_MARKER Nearest Marker, Snap selected keyframes to the nearest marker. * HORIZONTAL Flatten Handles, Flatten handles for a smoother transition. + :param type: Type * CFRA Selection to Current Frame, Snap selected keyframes to the current frame. * VALUE Selection to Cursor Value, Set values of selected keyframes to the cursor value (Y/Horizontal component). * NEAREST_FRAME Selection to Nearest Frame, Snap selected keyframes to the nearest (whole) frame (use to fix accidental subframe offsets). * NEAREST_SECOND Selection to Nearest Second, Snap selected keyframes to the nearest second. * NEAREST_MARKER Selection to Nearest Marker, Snap selected keyframes to the nearest marker. * HORIZONTAL Flatten Handles, Flatten handles for a smoother transition. :type type: typing.Union[int, str] ''' pass +def snap_cursor_value(): + ''' Place the cursor value on the average value of selected keyframes + + ''' + + pass + + def sound_bake(filepath: str = "", filter_blender: bool = False, filter_backup: bool = False, @@ -498,7 +509,7 @@ def sound_bake(filepath: str = "", show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', low: float = 0.0, high: float = 100000.0, attack: float = 0.005, @@ -552,15 +563,15 @@ def sound_bake(filepath: str = "", :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] - :param low: Lowest frequency, Cutoff frequency of a high-pass filter that is applied to the audio data + :param low: Lowest Frequency, Cutoff frequency of a high-pass filter that is applied to the audio data :type low: float - :param high: Highest frequency, Cutoff frequency of a low-pass filter that is applied to the audio data + :param high: Highest Frequency, Cutoff frequency of a low-pass filter that is applied to the audio data :type high: float - :param attack: Attack time, Value for the hull curve calculation that tells how fast the hull curve can rise (the lower the value the steeper it can rise) + :param attack: Attack Time, Value for the hull curve calculation that tells how fast the hull curve can rise (the lower the value the steeper it can rise) :type attack: float - :param release: Release time, Value for the hull curve calculation that tells how fast the hull curve can fall (the lower the value the steeper it can fall) + :param release: Release Time, Value for the hull curve calculation that tells how fast the hull curve can fall (the lower the value the steeper it can fall) :type release: float :param threshold: Threshold, Minimum amplitude value needed to influence the hull curve :type threshold: float @@ -577,6 +588,14 @@ def sound_bake(filepath: str = "", pass +def unbake(): + ''' Un-Bake selected F-Points to F-Curves + + ''' + + pass + + def view_all(include_handles: bool = True): ''' Reset viewable area to show full keyframe range diff --git a/blender_autocomplete/bpy/ops/image.py b/blender_autocomplete/bpy/ops/image.py index a120352..fb07ee6 100644 --- a/blender_autocomplete/bpy/ops/image.py +++ b/blender_autocomplete/bpy/ops/image.py @@ -76,13 +76,13 @@ def invert(invert_r: bool = False, invert_a: bool = False): ''' Invert image's channels - :param invert_r: Red, Invert Red Channel + :param invert_r: Red, Invert red channel :type invert_r: bool - :param invert_g: Green, Invert Green Channel + :param invert_g: Green, Invert green channel :type invert_g: bool - :param invert_b: Blue, Invert Blue Channel + :param invert_b: Blue, Invert blue channel :type invert_b: bool - :param invert_a: Alpha, Invert Alpha Channel + :param invert_a: Alpha, Invert alpha channel :type invert_a: bool ''' @@ -120,7 +120,7 @@ def new(name: str = "Untitled", :type alpha: bool :param generated_type: Generated Type, Fill the image with a grid for UV map testing * BLANK Blank, Generate a blank image. * UV_GRID UV Grid, Generated grid to test UV mappings. * COLOR_GRID Color Grid, Generated improved UV grid to test UV mappings. :type generated_type: typing.Union[int, str] - :param float: 32 bit Float, Create image with 32 bit floating point bit depth + :param float: 32-bit Float, Create image with 32-bit floating-point bit depth :type float: bool :param use_stereo_3d: Stereo 3D, Create an image with left and right views :type use_stereo_3d: bool @@ -133,8 +133,10 @@ def new(name: str = "Untitled", def open(filepath: str = "", directory: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, hide_props_region: bool = True, filter_blender: bool = False, filter_backup: bool = False, @@ -157,7 +159,7 @@ def open(filepath: str = "", show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', use_sequence_detection: bool = True, use_udim_detecting: bool = True): ''' Open image @@ -167,7 +169,7 @@ def open(filepath: str = "", :param directory: Directory, Directory of the file :type directory: str :param files: Files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings :type hide_props_region: bool :param filter_blender: Filter .blend files @@ -212,7 +214,7 @@ def open(filepath: str = "", :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected images (based on file names) :type use_sequence_detection: bool @@ -232,7 +234,7 @@ def pack(): def project_apply(): - ''' Project edited image back onto the object :file: startup/bl_operators/image.py\:197 _ + ''' Project edited image back onto the object :file: startup/bl_operators/image.py\:196 _ ''' @@ -240,7 +242,7 @@ def project_apply(): def project_edit(): - ''' Edit a snapshot of the view-port in an external image editor :file: startup/bl_operators/image.py\:126 _ + ''' Edit a snapshot of the 3D Viewport in an external image editor :file: startup/bl_operators/image.py\:126 _ ''' @@ -316,7 +318,7 @@ def replace(filepath: str = "", show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): + sort_method: typing.Union[int, str] = ''): ''' Replace current image by another one from disk :param filepath: File Path, Path to file @@ -365,7 +367,7 @@ def replace(filepath: str = "", :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -396,6 +398,7 @@ def sample_line(xstart: int = 0, xend: int = 0, ystart: int = 0, yend: int = 0, + flip: bool = False, cursor: int = 5): ''' Sample a line and show it in Scope panels @@ -407,6 +410,8 @@ def sample_line(xstart: int = 0, :type ystart: int :param yend: Y End :type yend: int + :param flip: Flip + :type flip: bool :param cursor: Cursor, Mouse cursor style to use during the modal operator :type cursor: int ''' @@ -455,7 +460,7 @@ def save_as(save_as_render: bool = False, show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): + sort_method: typing.Union[int, str] = ''): ''' Save the image with another name and/or settings :param save_as_render: Save As Render, Apply render part of display transform when saving byte image @@ -508,7 +513,7 @@ def save_as(save_as_render: bool = False, :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -551,7 +556,7 @@ def tile_add(number: int = 1002, :type width: int :param height: Height, Image height :type height: int - :param float: 32 bit Float, Create image with 32 bit floating point bit depth + :param float: 32-bit Float, Create image with 32-bit floating-point bit depth :type float: bool :param alpha: Alpha, Create an image with an alpha channel :type alpha: bool @@ -576,7 +581,7 @@ def tile_fill(color: typing.List[float] = (0.0, 0.0, 0.0, 1.0), :type width: int :param height: Height, Image height :type height: int - :param float: 32 bit Float, Create image with 32 bit floating point bit depth + :param float: 32-bit Float, Create image with 32-bit floating-point bit depth :type float: bool :param alpha: Alpha, Create an image with an alpha channel :type alpha: bool @@ -634,7 +639,7 @@ def view_ndof(): def view_pan(offset: typing.List[float] = (0.0, 0.0)): ''' Pan the view - :param offset: Offset, Offset in floating point units, 1.0 is the width and height of the image + :param offset: Offset, Offset in floating-point units, 1.0 is the width and height of the image :type offset: typing.List[float] ''' diff --git a/blender_autocomplete/bpy/ops/import_mesh.py b/blender_autocomplete/bpy/ops/import_mesh.py index 6788110..e2b2ec3 100644 --- a/blender_autocomplete/bpy/ops/import_mesh.py +++ b/blender_autocomplete/bpy/ops/import_mesh.py @@ -4,8 +4,10 @@ def ply(filepath: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, hide_props_region: bool = True, directory: str = "", filter_glob: str = "*.ply"): @@ -14,7 +16,7 @@ def ply(filepath: str = "", :param filepath: File Path, Filepath used for importing the file :type filepath: str :param files: File Path, File path used for importing the PLY file - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings :type hide_props_region: bool :param directory: directory @@ -28,8 +30,10 @@ def ply(filepath: str = "", def stl(filepath: str = "", filter_glob: str = "*.stl", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, directory: str = "", global_scale: float = 1.0, use_scene_unit: bool = False, @@ -43,7 +47,7 @@ def stl(filepath: str = "", :param filter_glob: filter_glob :type filter_glob: str :param files: File Path - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param directory: directory :type directory: str :param global_scale: Scale diff --git a/blender_autocomplete/bpy/ops/import_scene.py b/blender_autocomplete/bpy/ops/import_scene.py index 0df2d0c..e175c64 100644 --- a/blender_autocomplete/bpy/ops/import_scene.py +++ b/blender_autocomplete/bpy/ops/import_scene.py @@ -6,8 +6,10 @@ def fbx(filepath: str = "", directory: str = "", filter_glob: str = "*.fbx", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, ui_tab: typing.Union[int, str] = 'MAIN', use_manual_orientation: bool = False, global_scale: float = 1.0, @@ -38,7 +40,7 @@ def fbx(filepath: str = "", :param filter_glob: filter_glob :type filter_glob: str :param files: File Path - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param ui_tab: ui_tab, Import options categories * MAIN Main, Main basic settings. * ARMATURE Armatures, Armature-related settings. :type ui_tab: typing.Union[int, str] :param use_manual_orientation: Manual Orientation, Specify orientation and scale, instead of using embedded data in FBX file @@ -88,8 +90,10 @@ def fbx(filepath: str = "", def gltf(filepath: str = "", filter_glob: str = "*.glb;*.gltf", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, loglevel: int = 0, import_pack_images: bool = True, merge_vertices: bool = False, @@ -103,7 +107,7 @@ def gltf(filepath: str = "", :param filter_glob: filter_glob :type filter_glob: str :param files: File Path - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param loglevel: Log Level, Log Level :type loglevel: int :param import_pack_images: Pack Images, Pack all images into .blend file @@ -130,7 +134,7 @@ def obj(filepath: str = "", use_groups_as_vgroups: bool = False, use_image_search: bool = True, split_mode: typing.Union[int, str] = 'ON', - global_clight_size: float = 0.0, + global_clamp_size: float = 0.0, axis_forward: typing.Union[int, str] = '-Z', axis_up: typing.Union[int, str] = 'Y'): ''' Load a Wavefront OBJ File @@ -153,8 +157,8 @@ def obj(filepath: str = "", :type use_image_search: bool :param split_mode: Split * ON Split, Split geometry, omits unused verts. * OFF Keep Vert Order, Keep vertex order from file. :type split_mode: typing.Union[int, str] - :param global_clight_size: Clamp Size, Clamp bounds under this value (zero to disable) - :type global_clight_size: float + :param global_clamp_size: Clamp Size, Clamp bounds under this value (zero to disable) + :type global_clamp_size: float :param axis_forward: Forward :type axis_forward: typing.Union[int, str] :param axis_up: Up diff --git a/blender_autocomplete/bpy/ops/info.py b/blender_autocomplete/bpy/ops/info.py index e1b00da..bca3a49 100644 --- a/blender_autocomplete/bpy/ops/info.py +++ b/blender_autocomplete/bpy/ops/info.py @@ -3,7 +3,7 @@ def report_copy(): - ''' Copy selected reports to Clipboard + ''' Copy selected reports to clipboard ''' diff --git a/blender_autocomplete/bpy/ops/mask.py b/blender_autocomplete/bpy/ops/mask.py index 10109ea..6a67f16 100644 --- a/blender_autocomplete/bpy/ops/mask.py +++ b/blender_autocomplete/bpy/ops/mask.py @@ -299,13 +299,14 @@ def select_circle(x: int = 0, pass -def select_lasso(path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None, +def select_lasso(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, mode: typing.Union[int, str] = 'SET'): ''' Select curve points using lasso selection :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] :param mode: Mode * SET Set, Set a new selection. * ADD Extend, Extend existing selection. * SUB Subtract, Subtract existing selection. :type mode: typing.Union[int, str] ''' @@ -396,7 +397,7 @@ def slide_point(slide_feather: bool = False, is_new_point: bool = False): def slide_spline_curvature(): - ''' Slide a point on the spline to define it's curvature + ''' Slide a point on the spline to define its curvature ''' diff --git a/blender_autocomplete/bpy/ops/mesh.py b/blender_autocomplete/bpy/ops/mesh.py index e0f4aef..597fc28 100644 --- a/blender_autocomplete/bpy/ops/mesh.py +++ b/blender_autocomplete/bpy/ops/mesh.py @@ -61,7 +61,7 @@ def bevel(offset_type: typing.Union[int, str] = 'OFFSET', :type segments: int :param profile: Profile, Controls profile shape (0.5 = round) :type profile: float - :param affect: Affect, Affect Edges or Vertices * VERTICES Vertices, Affect only vertices. * EDGES Edges, Affect only edges. + :param affect: Affect, Affect edges or vertices * VERTICES Vertices, Affect only vertices. * EDGES Edges, Affect only edges. :type affect: typing.Union[int, str] :param clamp_overlap: Clamp Overlap, Do not allow beveled edges/vertices to overlap each other :type clamp_overlap: bool @@ -83,7 +83,7 @@ def bevel(offset_type: typing.Union[int, str] = 'OFFSET', :type miter_inner: typing.Union[int, str] :param spread: Spread, Amount to spread arcs for arc inner miters :type spread: float - :param vmesh_method: Vertex Mesh Method, The method to use to create meshes at intersections * ADJ Grid Fill, Default patterned fill. * CUTOFF Cutoff, A cut-off at each profile's end before the intersection. + :param vmesh_method: Vertex Mesh Method, The method to use to create meshes at intersections * ADJ Grid Fill, Default patterned fill. * CUTOFF Cutoff, A cutoff at each profile's end before the intersection. :type vmesh_method: typing.Union[int, str] :param release_confirm: Confirm on Release :type release_confirm: bool @@ -102,6 +102,7 @@ def bisect(plane_co: typing.List[float] = (0.0, 0.0, 0.0), xend: int = 0, ystart: int = 0, yend: int = 0, + flip: bool = False, cursor: int = 5): ''' Cut geometry along a plane (click-drag to define plane) @@ -125,6 +126,8 @@ def bisect(plane_co: typing.List[float] = (0.0, 0.0, 0.0), :type ystart: int :param yend: Y End :type yend: int + :param flip: Flip + :type flip: bool :param cursor: Cursor, Mouse cursor style to use during the modal operator :type cursor: int ''' @@ -450,7 +453,7 @@ def duplicate_move(MESH_OT_duplicate=None, TRANSFORM_OT_translate=None): def edge_collapse(): - ''' Collapse isolated edges & faces regions, merging data such as UV's and vertex colors. This can collapse edge-rings as well as regions of connected faces into vertices + ''' Collapse isolated edge and face regions, merging data such as UV's and vertex colors. This can collapse edge-rings as well as regions of connected faces into vertices ''' @@ -478,7 +481,7 @@ def edge_rotate(use_ccw: bool = False): def edge_split(type: typing.Union[int, str] = 'EDGE'): ''' Split selected edges so that each neighbor face gets its own copy - :param type: Type, Method to use for splitting * EDGE Faces by Edges, Split faces along selected edges. * VERT Faces & Edges by Vertices, Split faces & edges connected to selected vertices. + :param type: Type, Method to use for splitting * EDGE Faces by Edges, Split faces along selected edges. * VERT Faces & Edges by Vertices, Split faces and edges connected to selected vertices. :type type: typing.Union[int, str] ''' @@ -505,7 +508,7 @@ def edgering_select(extend: bool = False, def edges_select_sharp(sharpness: float = 0.523599): - ''' Select all sharp-enough edges + ''' Select all sharp enough edges :param sharpness: Sharpness :type sharpness: float @@ -682,6 +685,25 @@ def face_make_planar(factor: float = 1.0, repeat: int = 1): pass +def face_set_extract(add_boundary_loop: bool = True, + smooth_iterations: int = 4, + apply_shrinkwrap: bool = True, + add_solidify: bool = True): + ''' Create a new mesh object from the selected Face Set + + :param add_boundary_loop: Add Boundary Loop, Add an extra edge loop to better preserve the shape when applying a subdivision surface modifier + :type add_boundary_loop: bool + :param smooth_iterations: Smooth Iterations, Smooth iterations applied to the extracted mesh + :type smooth_iterations: int + :param apply_shrinkwrap: Project to Sculpt, Project the extracted mesh into the original sculpt + :type apply_shrinkwrap: bool + :param add_solidify: Extract as Solid, Extract the mask as a solid object with a solidify modifier + :type add_solidify: bool + ''' + + pass + + def face_split_by_edges(): ''' Weld loose edges into faces (splitting them into new faces) @@ -812,7 +834,7 @@ def inset(use_boundary: bool = True, :type use_outset: bool :param use_select_inset: Select Outer, Select the new inset faces :type use_select_inset: bool - :param use_individual: Individual, Individual Face Inset + :param use_individual: Individual, Individual face inset :type use_individual: bool :param use_interpolate: Interpolate, Blend face data across the inset :type use_interpolate: bool @@ -825,15 +847,18 @@ def inset(use_boundary: bool = True, def intersect(mode: typing.Union[int, str] = 'SELECT_UNSELECT', separate_mode: typing.Union[int, str] = 'CUT', - threshold: float = 1e-06): + threshold: float = 1e-06, + solver: typing.Union[int, str] = 'EXACT'): ''' Cut an intersection into faces :param mode: Source * SELECT Self Intersect, Self intersect selected faces. * SELECT_UNSELECT Selected/Unselected, Intersect selected with unselected faces. :type mode: typing.Union[int, str] :param separate_mode: Separate Mode * ALL All, Separate all geometry from intersections. * CUT Cut, Cut into geometry keeping each side separate (Selected/Unselected only). * NONE Merge, Merge all geometry from the intersection. :type separate_mode: typing.Union[int, str] - :param threshold: Merge threshold + :param threshold: Merge Threshold :type threshold: float + :param solver: Solver, Which Intersect solver to use * FAST Fast, Faster solver, some limitations. * EXACT Exact, Exact solver, slower, handles more cases. + :type solver: typing.Union[int, str] ''' pass @@ -841,24 +866,30 @@ def intersect(mode: typing.Union[int, str] = 'SELECT_UNSELECT', def intersect_boolean(operation: typing.Union[int, str] = 'DIFFERENCE', use_swap: bool = False, - threshold: float = 1e-06): + use_self: bool = False, + threshold: float = 1e-06, + solver: typing.Union[int, str] = 'EXACT'): ''' Cut solid geometry from selected to unselected - :param operation: Boolean + :param operation: Boolean Operation, Which boolean operation to apply :type operation: typing.Union[int, str] :param use_swap: Swap, Use with difference intersection to swap which side is kept :type use_swap: bool - :param threshold: Merge threshold + :param use_self: Self, Do self-union or self-intersection + :type use_self: bool + :param threshold: Merge Threshold :type threshold: float + :param solver: Solver, Which Boolean solver to use * FAST Fast, Faster solver, some limitations. * EXACT Exact, Exact solver, slower, handles more cases. + :type solver: typing.Union[int, str] ''' pass def knife_project(cut_through: bool = False): - ''' Use other objects outlines & boundaries to project knife cuts + ''' Use other objects outlines and boundaries to project knife cuts - :param cut_through: Cut through, Cut through all faces, not just visible ones + :param cut_through: Cut Through, Cut through all faces, not just visible ones :type cut_through: bool ''' @@ -1020,7 +1051,7 @@ def mod_weighted_strength(set: bool = False, face_strength: typing.Union[int, str] = 'MEDIUM'): ''' Set/Get strength of face (used in Weighted Normal modifier) - :param set: Set value, Set Value of faces + :param set: Set Value, Set value of faces :type set: bool :param face_strength: Face Strength, Strength to use for assigning or selecting face influence for weighted normal modifier :type face_strength: typing.Union[int, str] @@ -1043,7 +1074,7 @@ def normals_tools(mode: typing.Union[int, str] = 'COPY', absolute: bool = False): ''' Custom normals tools using Normal Vector of UI - :param mode: Mode, Mode of tools taking input from Interface * COPY Copy Normal, Copy normal to buffer. * PASTE Paste Normal, Paste normal from buffer. * ADD Add Normal, Add normal vector with selection. * MULTIPLY Multiply Normal, Multiply normal vector with selection. * RESET Reset Normal, Reset buffer and/or normal of selected element. + :param mode: Mode, Mode of tools taking input from interface * COPY Copy Normal, Copy normal to buffer. * PASTE Paste Normal, Paste normal from buffer. * ADD Add Normal, Add normal vector with selection. * MULTIPLY Multiply Normal, Multiply normal vector with selection. * RESET Reset Normal, Reset buffer and/or normal of selected element. :type mode: typing.Union[int, str] :param absolute: Absolute Coordinates, Copy Absolute coordinates or Normal vector :type absolute: bool @@ -1145,7 +1176,7 @@ def poke(offset: float = 0.0, :type offset: float :param use_relative_offset: Offset Relative, Scale the offset by surrounding geometry :type use_relative_offset: bool - :param center_mode: Poke Center, Poke Face Center Calculation * MEDIAN_WEIGHTED Weighted Median, Weighted median face center. * MEDIAN Median, Median face center. * BOUNDS Bounds, Face bounds center. + :param center_mode: Poke Center, Poke face center calculation * MEDIAN_WEIGHTED Weighted Median, Weighted median face center. * MEDIAN Median, Median face center. * BOUNDS Bounds, Face bounds center. :type center_mode: typing.Union[int, str] ''' @@ -1354,11 +1385,11 @@ def primitive_circle_add(vertices: int = 32, :type vertices: int :param radius: Radius :type radius: float - :param fill_type: Fill Type * NOTHING Nothing, Don't fill at all. * NGON Ngon, Use ngons. * TRIFAN Triangle Fan, Use triangle fans. + :param fill_type: Fill Type * NOTHING Nothing, Don't fill at all. * NGON N-Gon, Use n-gons. * TRIFAN Triangle Fan, Use triangle fans. :type fill_type: typing.Union[int, str] :param calc_uvs: Generate UVs, Generate a default UV map :type calc_uvs: bool - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1394,11 +1425,11 @@ def primitive_cone_add(vertices: int = 32, :type radius2: float :param depth: Depth :type depth: float - :param end_fill_type: Base Fill Type * NOTHING Nothing, Don't fill at all. * NGON Ngon, Use ngons. * TRIFAN Triangle Fan, Use triangle fans. + :param end_fill_type: Base Fill Type * NOTHING Nothing, Don't fill at all. * NGON N-Gon, Use n-gons. * TRIFAN Triangle Fan, Use triangle fans. :type end_fill_type: typing.Union[int, str] :param calc_uvs: Generate UVs, Generate a default UV map :type calc_uvs: bool - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1426,7 +1457,7 @@ def primitive_cube_add(size: float = 2.0, :type size: float :param calc_uvs: Generate UVs, Generate a default UV map :type calc_uvs: bool - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1456,7 +1487,7 @@ def primitive_cube_add_gizmo( :param calc_uvs: Generate UVs, Generate a default UV map :type calc_uvs: bool - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1491,11 +1522,11 @@ def primitive_cylinder_add(vertices: int = 32, :type radius: float :param depth: Depth :type depth: float - :param end_fill_type: Cap Fill Type * NOTHING Nothing, Don't fill at all. * NGON Ngon, Use ngons. * TRIFAN Triangle Fan, Use triangle fans. + :param end_fill_type: Cap Fill Type * NOTHING Nothing, Don't fill at all. * NGON N-Gon, Use n-gons. * TRIFAN Triangle Fan, Use triangle fans. :type end_fill_type: typing.Union[int, str] :param calc_uvs: Generate UVs, Generate a default UV map :type calc_uvs: bool - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1529,7 +1560,7 @@ def primitive_grid_add(x_subdivisions: int = 10, :type size: float :param calc_uvs: Generate UVs, Generate a default UV map :type calc_uvs: bool - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1560,7 +1591,7 @@ def primitive_ico_sphere_add(subdivisions: int = 2, :type radius: float :param calc_uvs: Generate UVs, Generate a default UV map :type calc_uvs: bool - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1588,7 +1619,7 @@ def primitive_monkey_add(size: float = 2.0, :type size: float :param calc_uvs: Generate UVs, Generate a default UV map :type calc_uvs: bool - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1616,7 +1647,7 @@ def primitive_plane_add(size: float = 2.0, :type size: float :param calc_uvs: Generate UVs, Generate a default UV map :type calc_uvs: bool - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1654,7 +1685,7 @@ def primitive_torus_add(align: typing.Union[int, str] = 'WORLD', :type major_segments: int :param minor_segments: Minor Segments, Number of segments for the minor ring of the torus :type minor_segments: int - :param mode: Torus Dimensions * MAJOR_MINOR Major/Minor, Use the major/minor radii for torus dimensions. * EXT_INT Exterior/Interior, Use the exterior/interior radii for torus dimensions. + :param mode: Dimensions Mode * MAJOR_MINOR Major/Minor, Use the major/minor radii for torus dimensions. * EXT_INT Exterior/Interior, Use the exterior/interior radii for torus dimensions. :type mode: typing.Union[int, str] :param major_radius: Major Radius, Radius from the origin to the center of the cross sections :type major_radius: float @@ -1690,7 +1721,7 @@ def primitive_uv_sphere_add(segments: int = 32, :type radius: float :param calc_uvs: Generate UVs, Generate a default UV map :type calc_uvs: bool - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1709,9 +1740,9 @@ def quads_convert_to_tris(quad_method: typing.Union[int, str] = 'BEAUTY', ngon_method: typing.Union[int, str] = 'BEAUTY'): ''' Triangulate selected faces - :param quad_method: Quad Method, Method for splitting the quads into triangles * BEAUTY Beauty , Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. + :param quad_method: Quad Method, Method for splitting the quads into triangles * BEAUTY Beauty, Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. :type quad_method: typing.Union[int, str] - :param ngon_method: Polygon Method, Method for splitting the polygons into triangles * BEAUTY Beauty, Arrange the new triangles evenly (slow). * CLIP Clip, Split the polygons with an ear clipping algorithm. + :param ngon_method: N-gon Method, Method for splitting the n-gons into triangles * BEAUTY Beauty, Arrange the new triangles evenly (slow). * CLIP Clip, Split the polygons with an ear clipping algorithm. :type ngon_method: typing.Union[int, str] ''' @@ -1726,13 +1757,17 @@ def region_to_loop(): pass -def remove_doubles(threshold: float = 0.0001, use_unselected: bool = False): +def remove_doubles(threshold: float = 0.0001, + use_unselected: bool = False, + use_sharp_edge_from_normals: bool = False): ''' Merge vertices based on their proximity :param threshold: Merge Distance, Maximum distance between elements to merge :type threshold: float :param use_unselected: Unselected, Merge selected to other unselected vertices :type use_unselected: bool + :param use_sharp_edge_from_normals: Sharp Edges, Calculate sharp edges using custom normal data (when available) + :type use_sharp_edge_from_normals: bool ''' pass @@ -1945,6 +1980,7 @@ def select_linked( def select_linked_pick( deselect: bool = False, delimit: typing.Union[typing.Set[int], typing.Set[str]] = {'SEAM'}, + object_index: int = -1, index: int = -1): ''' (De)select all vertices linked to the edge under the mouse cursor @@ -1952,6 +1988,7 @@ def select_linked_pick( :type deselect: bool :param delimit: Delimit, Delimit selected region * NORMAL Normal, Delimit by face directions. * MATERIAL Material, Delimit by face material. * SEAM Seam, Delimit by edge seams. * SHARP Sharp, Delimit by sharp edges. * UV UVs, Delimit by UV coordinates. :type delimit: typing.Union[typing.Set[int], typing.Set[str]] + :type object_index: int :type index: int ''' @@ -2011,7 +2048,7 @@ def select_more(use_face_step: bool = True): def select_next_item(): - ''' Select the next element (using selection order) :file: startup/bl_operators/mesh.py\:215 _ + ''' Select the next element (using selection order) :file: startup/bl_operators/mesh.py\:212 _ ''' @@ -2032,7 +2069,7 @@ def select_non_manifold(extend: bool = True, :type use_wire: bool :param use_boundary: Boundaries, Boundary edges :type use_boundary: bool - :param use_multi_face: Multiple Faces, Edges shared by 3+ faces + :param use_multi_face: Multiple Faces, Edges shared by more than two faces :type use_multi_face: bool :param use_non_contiguous: Non Contiguous, Edges between faces pointing in alternate directions :type use_non_contiguous: bool @@ -2058,7 +2095,7 @@ def select_nth(skip: int = 1, nth: int = 1, offset: int = 0): def select_prev_item(): - ''' Select the previous element (using selection order) :file: startup/bl_operators/mesh.py\:240 _ + ''' Select the previous element (using selection order) :file: startup/bl_operators/mesh.py\:237 _ ''' @@ -2228,7 +2265,7 @@ def sort_elements( seed: int = 0): ''' The order of selected vertices/edges/faces is modified, based on a given method - :param type: Type, Type of re-ordering operation to apply * VIEW_ZAXIS View Z Axis, Sort selected elements from farthest to nearest one in current view. * VIEW_XAXIS View X Axis, Sort selected elements from left to right one in current view. * CURSOR_DISTANCE Cursor Distance, Sort selected elements from nearest to farthest from 3D cursor. * MATERIAL Material, Sort selected elements from smallest to greatest material index (faces only!). * SELECTED Selected, Move all selected elements in first places, preserving their relative order (WARNING: this will affect unselected elements' indices as well!). * RANDOMIZE Randomize, Randomize order of selected elements. * REVERSE Reverse, Reverse current order of selected elements. + :param type: Type, Type of reordering operation to apply * VIEW_ZAXIS View Z Axis, Sort selected elements from farthest to nearest one in current view. * VIEW_XAXIS View X Axis, Sort selected elements from left to right one in current view. * CURSOR_DISTANCE Cursor Distance, Sort selected elements from nearest to farthest from 3D cursor. * MATERIAL Material, Sort selected elements from smallest to greatest material index (faces only!). * SELECTED Selected, Move all selected elements in first places, preserving their relative order (WARNING: this will affect unselected elements' indices as well!). * RANDOMIZE Randomize, Randomize order of selected elements. * REVERSE Reverse, Reverse current order of selected elements. :type type: typing.Union[int, str] :param elements: Elements, Which elements to affect (vertices, edges and/or faces) :type elements: typing.Union[typing.Set[int], typing.Set[str]] @@ -2298,9 +2335,9 @@ def subdivide(number_cuts: int = 1, :type number_cuts: int :param smoothness: Smoothness, Smoothness factor :type smoothness: float - :param ngon: Create N-Gons, When disabled, newly created faces are limited to 3-4 sided faces + :param ngon: Create N-Gons, When disabled, newly created faces are limited to 3 and 4 sided faces :type ngon: bool - :param quadcorner: Quad Corner Type, How to subdivide quad corners (anything other than Straight Cut will prevent ngons) + :param quadcorner: Quad Corner Type, How to subdivide quad corners (anything other than Straight Cut will prevent n-gons) :type quadcorner: typing.Union[int, str] :param fractal: Fractal, Fractal randomness factor :type fractal: float @@ -2318,7 +2355,7 @@ def subdivide_edgering(number_cuts: int = 10, smoothness: float = 1.0, profile_shape_factor: float = 0.0, profile_shape: typing.Union[int, str] = 'SMOOTH'): - ''' Subdivide perpendicular edges to the selected edge ring + ''' Subdivide perpendicular edges to the selected edge-ring :param number_cuts: Number of Cuts :type number_cuts: int @@ -2396,9 +2433,9 @@ def tris_convert_to_quads(face_threshold: float = 0.698132, def unsubdivide(iterations: int = 2): - ''' UnSubdivide selected edges & faces + ''' Un-subdivide selected edges and faces - :param iterations: Iterations, Number of times to unsubdivide + :param iterations: Iterations, Number of times to un-subdivide :type iterations: int ''' @@ -2406,7 +2443,7 @@ def unsubdivide(iterations: int = 2): def uv_texture_add(): - ''' Add UV Map + ''' Add UV map ''' @@ -2414,7 +2451,7 @@ def uv_texture_add(): def uv_texture_remove(): - ''' Remove UV Map + ''' Remove UV map ''' @@ -2550,7 +2587,7 @@ def wireframe(use_boundary: bool = True, offset: float = 0.01, use_crease: bool = False, crease_weight: float = 0.01): - ''' Create a solid wire-frame from faces + ''' Create a solid wireframe from faces :param use_boundary: Boundary, Inset face boundaries :type use_boundary: bool @@ -2566,7 +2603,7 @@ def wireframe(use_boundary: bool = True, :type offset: float :param use_crease: Crease, Crease hub edges for an improved subdivision surface :type use_crease: bool - :param crease_weight: Crease weight + :param crease_weight: Crease Weight :type crease_weight: float ''' diff --git a/blender_autocomplete/bpy/ops/nla.py b/blender_autocomplete/bpy/ops/nla.py index 8b14dd1..f15192d 100644 --- a/blender_autocomplete/bpy/ops/nla.py +++ b/blender_autocomplete/bpy/ops/nla.py @@ -25,7 +25,7 @@ def action_sync_length(active: bool = True): def action_unlink(force_delete: bool = False): ''' Unlink this action from the active action slot (and/or exit Tweak Mode) - :param force_delete: Force Delete, Clear Fake User and remove copy stashed in this datablock's NLA stack + :param force_delete: Force Delete, Clear Fake User and remove copy stashed in this data-block's NLA stack :type force_delete: bool ''' @@ -59,8 +59,9 @@ def bake( clear_constraints: bool = False, clear_parents: bool = False, use_current_action: bool = False, + clean_curves: bool = False, bake_types: typing.Union[typing.Set[int], typing.Set[str]] = {'POSE'}): - ''' Bake all selected objects loc/scale/rotation animation to an action + ''' Bake all selected objects location/scale/rotation animation to an action :param frame_start: Start Frame, Start frame for baking :type frame_start: int @@ -78,6 +79,8 @@ def bake( :type clear_parents: bool :param use_current_action: Overwrite Current Action, Bake animation into current action, instead of creating a new one (useful for baking only part of bones in an armature) :type use_current_action: bool + :param clean_curves: Clean Curves, After baking curves, remove redundant keys + :type clean_curves: bool :param bake_types: Bake Data, Which data's transformations to bake * POSE Pose, Bake bones transformations. * OBJECT Object, Bake object transformations. :type bake_types: typing.Union[typing.Set[int], typing.Set[str]] ''' @@ -150,7 +153,7 @@ def fmodifier_add(type: typing.Union[int, str] = 'NULL', only_active: bool = True): ''' Add F-Modifier to the active/selected NLA-Strips - :param type: Type * NULL Invalid. * GENERATOR Generator, Generate a curve using a factorized or expanded polynomial. * FNGENERATOR Built-In Function, Generate a curve using standard math functions such as sin and cos. * ENVELOPE Envelope, Reshape F-Curve values - e.g. change amplitude of movements. * CYCLES Cycles, Cyclic extend/repeat keyframe sequence. * NOISE Noise, Add pseudo-random noise on top of F-Curves. * LIMITS Limits, Restrict maximum and minimum values of F-Curve. * STEPPED Stepped Interpolation, Snap values to nearest grid-step - e.g. for a stop-motion look. + :param type: Type * NULL Invalid. * GENERATOR Generator, Generate a curve using a factorized or expanded polynomial. * FNGENERATOR Built-In Function, Generate a curve using standard math functions such as sin and cos. * ENVELOPE Envelope, Reshape F-Curve values, e.g. change amplitude of movements. * CYCLES Cycles, Cyclic extend/repeat keyframe sequence. * NOISE Noise, Add pseudo-random noise on top of F-Curves. * LIMITS Limits, Restrict maximum and minimum values of F-Curve. * STEPPED Stepped Interpolation, Snap values to nearest grid step, e.g. for a stop-motion look. :type type: typing.Union[int, str] :param only_active: Only Active, Only add a F-Modifier of the specified type to the active strip :type only_active: bool diff --git a/blender_autocomplete/bpy/ops/node.py b/blender_autocomplete/bpy/ops/node.py index 8bccb58..c0a4eb1 100644 --- a/blender_autocomplete/bpy/ops/node.py +++ b/blender_autocomplete/bpy/ops/node.py @@ -7,8 +7,10 @@ def add_and_link_node( type: str = "", use_transform: bool = False, - settings: typing.Union[typing.List['bl_operators.node.NodeSetting'], - 'bpy_prop_collection'] = None, + settings: typing. + Union[typing.Dict[str, 'bl_operators.node.NodeSetting'], typing. + List['bl_operators.node.NodeSetting'], + 'bpy_prop_collection'] = None, link_socket_index: int = 0): ''' Add a node to the active tree and link to an existing socket @@ -17,7 +19,7 @@ def add_and_link_node( :param use_transform: Use Transform, Start transform operator after inserting the node :type use_transform: bool :param settings: Settings, Settings to be applied on the newly created node - :type settings: typing.Union[typing.List['bl_operators.node.NodeSetting'], 'bpy_prop_collection'] + :type settings: typing.Union[typing.Dict[str, 'bl_operators.node.NodeSetting'], typing.List['bl_operators.node.NodeSetting'], 'bpy_prop_collection'] :param link_socket_index: Link Socket Index, Index of the socket to link :type link_socket_index: int ''' @@ -48,7 +50,7 @@ def add_file(filepath: str = "", show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', name: str = "Image"): ''' Add a file node to the current node editor @@ -98,7 +100,7 @@ def add_file(filepath: str = "", :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param name: Name, Data-block name to assign :type name: str @@ -117,11 +119,12 @@ def add_mask(name: str = "Mask"): pass -def add_node( - type: str = "", - use_transform: bool = False, - settings: typing.Union[typing.List['bl_operators.node.NodeSetting'], - 'bpy_prop_collection'] = None): +def add_node(type: str = "", + use_transform: bool = False, + settings: typing. + Union[typing.Dict[str, 'bl_operators.node.NodeSetting'], typing. + List['bl_operators.node.NodeSetting'], + 'bpy_prop_collection'] = None): ''' Add a node to the active tree :param type: Node Type, Node type @@ -129,19 +132,20 @@ def add_node( :param use_transform: Use Transform, Start transform operator after inserting the node :type use_transform: bool :param settings: Settings, Settings to be applied on the newly created node - :type settings: typing.Union[typing.List['bl_operators.node.NodeSetting'], 'bpy_prop_collection'] + :type settings: typing.Union[typing.Dict[str, 'bl_operators.node.NodeSetting'], typing.List['bl_operators.node.NodeSetting'], 'bpy_prop_collection'] ''' pass -def add_reroute(path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None, +def add_reroute(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, cursor: int = 8): ''' Add a reroute node :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] :param cursor: Cursor :type cursor: int ''' @@ -149,12 +153,13 @@ def add_reroute(path: typing.Union[typing.List['bpy.types.OperatorMousePath'], pass -def add_search( - type: str = "", - use_transform: bool = False, - settings: typing.Union[typing.List['bl_operators.node.NodeSetting'], - 'bpy_prop_collection'] = None, - node_item: typing.Union[int, str] = ''): +def add_search(type: str = "", + use_transform: bool = False, + settings: typing. + Union[typing.Dict[str, 'bl_operators.node.NodeSetting'], typing. + List['bl_operators.node.NodeSetting'], + 'bpy_prop_collection'] = None, + node_item: typing.Union[int, str] = ''): ''' Add a node to the active tree :param type: Node Type, Node type @@ -162,7 +167,7 @@ def add_search( :param use_transform: Use Transform, Start transform operator after inserting the node :type use_transform: bool :param settings: Settings, Settings to be applied on the newly created node - :type settings: typing.Union[typing.List['bl_operators.node.NodeSetting'], 'bpy_prop_collection'] + :type settings: typing.Union[typing.Dict[str, 'bl_operators.node.NodeSetting'], typing.List['bl_operators.node.NodeSetting'], 'bpy_prop_collection'] :param node_item: Node Type, Node type :type node_item: typing.Union[int, str] ''' @@ -187,7 +192,7 @@ def backimage_fit(): def backimage_move(): - ''' Move Node backdrop + ''' Move node backdrop ''' @@ -329,7 +334,7 @@ def duplicate_move_keep_inputs(NODE_OT_duplicate=None, def find_node(prev: bool = False): - ''' Search for named node and allow to select and activate it + ''' Search for a node by name and focus and select it :param prev: Previous :type prev: bool @@ -442,13 +447,14 @@ def link_viewer(): pass -def links_cut(path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None, +def links_cut(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, cursor: int = 12): ''' Use the mouse to cut (remove) some links :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] :param cursor: Cursor :type cursor: int ''' @@ -496,6 +502,22 @@ def mute_toggle(): pass +def new_geometry_node_group_assign(): + ''' Create a new geometry node group and assign it to the active modifier :file: startup/bl_operators/geometry_nodes.py\:82 _ + + ''' + + pass + + +def new_geometry_nodes_modifier(): + ''' Create a new modifier with a new geometry node group :file: startup/bl_operators/geometry_nodes.py\:62 _ + + ''' + + pass + + def new_node_tree(type: typing.Union[int, str] = '', name: str = "NodeTree"): ''' Create a new node tree @@ -543,7 +565,7 @@ def options_toggle(): def output_file_add_socket(file_path: str = "Image"): ''' Add a new input to a file output node - :param file_path: File Path, Sub-path of the output file + :param file_path: File Path, Subpath of the output file :type file_path: str ''' @@ -706,16 +728,18 @@ def select_grouped(extend: bool = False, pass -def select_lasso(tweak: bool = False, - path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None, - mode: typing.Union[int, str] = 'SET'): +def select_lasso( + tweak: bool = False, + path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, + mode: typing.Union[int, str] = 'SET'): ''' Select nodes using lasso selection :param tweak: Tweak, Only activate when mouse is not over a node - useful for tweak gesture :type tweak: bool :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] :param mode: Mode * SET Set, Set a new selection. * ADD Extend, Extend existing selection. * SUB Subtract, Subtract existing selection. :type mode: typing.Union[int, str] ''' @@ -819,19 +843,24 @@ def tree_socket_add(in_out: typing.Union[int, str] = 'IN'): pass -def tree_socket_move(direction: typing.Union[int, str] = 'UP'): +def tree_socket_move(direction: typing.Union[int, str] = 'UP', + in_out: typing.Union[int, str] = 'IN'): ''' Move a socket up or down in the current node tree's sockets stack :param direction: Direction :type direction: typing.Union[int, str] + :param in_out: Socket Type + :type in_out: typing.Union[int, str] ''' pass -def tree_socket_remove(): +def tree_socket_remove(in_out: typing.Union[int, str] = 'IN'): ''' Remove an input or output socket to the current node tree + :param in_out: Socket Type + :type in_out: typing.Union[int, str] ''' pass @@ -857,9 +886,7 @@ def viewer_border(xmin: int = 0, xmax: int = 0, ymin: int = 0, ymax: int = 0, - wait_for_input: bool = True, - deselect: bool = False, - extend: bool = True): + wait_for_input: bool = True): ''' Set the boundaries for viewer operations :param xmin: X Min @@ -872,10 +899,6 @@ def viewer_border(xmin: int = 0, :type ymax: int :param wait_for_input: Wait for Input :type wait_for_input: bool - :param deselect: Deselect, Deselect rather than select items - :type deselect: bool - :param extend: Extend, Extend selection instead of deselecting everything first - :type extend: bool ''' pass diff --git a/blender_autocomplete/bpy/ops/object.py b/blender_autocomplete/bpy/ops/object.py index 106612c..464f191 100644 --- a/blender_autocomplete/bpy/ops/object.py +++ b/blender_autocomplete/bpy/ops/object.py @@ -16,7 +16,7 @@ def add(radius: float = 1.0, :type radius: float :param type: Type :type type: typing.Union[int, str] - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -31,13 +31,20 @@ def add(radius: float = 1.0, pass -def add_named(linked: bool = False, name: str = ""): +def add_named(linked: bool = False, + name: str = "", + drop_x: int = 0, + drop_y: int = 0): ''' Add named object :param linked: Linked, Duplicate object but not object data, linking to the original data :type linked: bool :param name: Name, Object name to add :type name: str + :param drop_x: Drop X, X-coordinate (screen space) to place the new object under + :type drop_x: int + :param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under + :type drop_y: int ''' pass @@ -47,13 +54,13 @@ def align(bb_quality: bool = True, align_mode: typing.Union[int, str] = 'OPT_2', relative_to: typing.Union[int, str] = 'OPT_4', align_axis: typing.Union[typing.Set[int], typing.Set[str]] = {}): - ''' Align Objects + ''' Align objects :param bb_quality: High Quality, Enables high quality calculation of the bounding box for perfect results on complex shape meshes with rotation/scale (Slow) :type bb_quality: bool - :param align_mode: Align Mode:, Side of object to use for alignment + :param align_mode: Align Mode, Side of object to use for alignment :type align_mode: typing.Union[int, str] - :param relative_to: Relative To:, Reference location to align to * OPT_1 Scene Origin, Use the Scene Origin as the position for the selected objects to align to. * OPT_2 3D Cursor, Use the 3D cursor as the position for the selected objects to align to. * OPT_3 Selection, Use the selected objects as the position for the selected objects to align to. * OPT_4 Active, Use the active object as the position for the selected objects to align to. + :param relative_to: Relative To, Reference location to align to * OPT_1 Scene Origin, Use the scene origin as the position for the selected objects to align to. * OPT_2 3D Cursor, Use the 3D cursor as the position for the selected objects to align to. * OPT_3 Selection, Use the selected objects as the position for the selected objects to align to. * OPT_4 Active, Use the active object as the position for the selected objects to align to. :type relative_to: typing.Union[int, str] :param align_axis: Align, Align to axis :type align_axis: typing.Union[typing.Set[int], typing.Set[str]] @@ -63,7 +70,7 @@ def align(bb_quality: bool = True, def anim_transforms_to_deltas(): - ''' Convert object animation for normal transforms to delta transforms :file: startup/bl_operators/object.py\:783 _ + ''' Convert object animation for normal transforms to delta transforms :file: startup/bl_operators/object.py\:782 _ ''' @@ -80,7 +87,7 @@ def armature_add(radius: float = 1.0, :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -122,6 +129,7 @@ def bake(type: typing.Union[int, str] = 'COMBINED', normal_r: typing.Union[int, str] = 'POS_X', normal_g: typing.Union[int, str] = 'POS_Y', normal_b: typing.Union[int, str] = 'POS_Z', + target: typing.Union[int, str] = 'IMAGE_TEXTURES', save_mode: typing.Union[int, str] = 'INTERNAL', use_clear: bool = False, use_cage: bool = False, @@ -158,9 +166,11 @@ def bake(type: typing.Union[int, str] = 'COMBINED', :type normal_g: typing.Union[int, str] :param normal_b: B, Axis to bake in blue channel :type normal_b: typing.Union[int, str] - :param save_mode: Save Mode, Choose how to save the baking map * INTERNAL Internal, Save the baking map in an internal image data-block. * EXTERNAL External, Save the baking map in an external file. + :param target: Target, Where to output the baked map * IMAGE_TEXTURES Image Textures, Bake to image data-blocks associated with active image texture nodes in materials. * VERTEX_COLORS Vertex Colors, Bake to active vertex color layer on meshes. + :type target: typing.Union[int, str] + :param save_mode: Save Mode, Where to save baked image textures * INTERNAL Internal, Save the baking map in an internal image data-block. * EXTERNAL External, Save the baking map in an external file. :type save_mode: typing.Union[int, str] - :param use_clear: Clear, Clear Images before baking (only for internal saving) + :param use_clear: Clear, Clear images before baking (only for internal saving) :type use_clear: bool :param use_cage: Cage, Cast rays to active object from a cage :type use_cage: bool @@ -190,7 +200,7 @@ def camera_add(enter_editmode: bool = False, scale: typing.List[float] = (0.0, 0.0, 0.0)): ''' Add a camera object to the scene - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -218,7 +228,9 @@ def collection_instance_add(name: str = "Collection", align: typing.Union[int, str] = 'WORLD', location: typing.List[float] = (0.0, 0.0, 0.0), rotation: typing.List[float] = (0.0, 0.0, 0.0), - scale: typing.List[float] = (0.0, 0.0, 0.0)): + scale: typing.List[float] = (0.0, 0.0, 0.0), + drop_x: int = 0, + drop_y: int = 0): ''' Add a collection instance :param name: Name, Collection name to add @@ -233,6 +245,10 @@ def collection_instance_add(name: str = "Collection", :type rotation: typing.List[float] :param scale: Scale, Scale for the newly added object :type scale: typing.List[float] + :param drop_x: Drop X, X-coordinate (screen space) to place the new object under + :type drop_x: int + :param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under + :type drop_y: int ''' pass @@ -283,7 +299,7 @@ def constraint_add(type: typing.Union[int, str] = ''): def constraint_add_with_targets(type: typing.Union[int, str] = ''): - ''' Add a constraint to the active object, with target (where applicable) set to the selected Objects/Bones + ''' Add a constraint to the active object, with target (where applicable) set to the selected objects/bones :param type: Type :type type: typing.Union[int, str] @@ -293,7 +309,7 @@ def constraint_add_with_targets(type: typing.Union[int, str] = ''): def constraints_clear(): - ''' Clear all the constraints for the active Object only + ''' Clear all the constraints for the active object only ''' @@ -317,7 +333,7 @@ def convert(target: typing.Union[int, str] = 'MESH', offset: float = 0.01): ''' Convert selected objects to another type - :param target: Target, Type of object to convert to + :param target: Target, Type of object to convert to * CURVE Curve, Curve from Mesh or Text objects. * MESH Mesh, Mesh from Curve, Surface, Metaball, or Text objects. * GPENCIL Grease Pencil, Grease Pencil from Curve or Mesh objects. :type target: typing.Union[int, str] :param keep_original: Keep Original, Keep original objects instead of replacing them :type keep_original: bool @@ -336,6 +352,14 @@ def convert(target: typing.Union[int, str] = 'MESH', pass +def convert_proxy_to_override(): + ''' Convert a proxy to a local library override + + ''' + + pass + + def correctivesmooth_bind(modifier: str = ""): ''' Bind base pose in Corrective Smooth modifier @@ -346,6 +370,37 @@ def correctivesmooth_bind(modifier: str = ""): pass +def data_instance_add(name: str = "Name", + type: typing.Union[int, str] = 'ACTION', + align: typing.Union[int, str] = 'WORLD', + location: typing.List[float] = (0.0, 0.0, 0.0), + rotation: typing.List[float] = (0.0, 0.0, 0.0), + scale: typing.List[float] = (0.0, 0.0, 0.0), + drop_x: int = 0, + drop_y: int = 0): + ''' Add an object data instance + + :param name: Name, ID name to add + :type name: str + :param type: Type + :type type: typing.Union[int, str] + :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. + :type align: typing.Union[int, str] + :param location: Location, Location for the newly added object + :type location: typing.List[float] + :param rotation: Rotation, Rotation for the newly added object + :type rotation: typing.List[float] + :param scale: Scale, Scale for the newly added object + :type scale: typing.List[float] + :param drop_x: Drop X, X-coordinate (screen space) to place the new object under + :type drop_x: int + :param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under + :type drop_y: int + ''' + + pass + + def data_transfer(use_reverse_transfer: bool = False, use_freeze: bool = False, data_type: typing.Union[int, str] = '', @@ -370,7 +425,7 @@ def data_transfer(use_reverse_transfer: bool = False, :type use_reverse_transfer: bool :param use_freeze: Freeze Operator, Prevent changes to settings to re-run the operator, handy to change several things at once with heavy geometry :type use_freeze: bool - :param data_type: Data Type, Which data to transfer * VGROUP_WEIGHTS Vertex Group(s), Transfer active or all vertex groups. * BEVEL_WEIGHT_VERT Bevel Weight, Transfer bevel weights. * SHARP_EDGE Sharp, Transfer sharp mark. * SEAM UV Seam, Transfer UV seam mark. * CREASE Subdivision Crease, Transfer crease values. * BEVEL_WEIGHT_EDGE Bevel Weight, Transfer bevel weights. * FREESTYLE_EDGE Freestyle Mark, Transfer Freestyle edge mark. * CUSTOM_NORMAL Custom Normals, Transfer custom normals. * VCOL VCol, Vertex (face corners) colors. * UV UVs, Transfer UV layers. * SMOOTH Smooth, Transfer flat/smooth mark. * FREESTYLE_FACE Freestyle Mark, Transfer Freestyle face mark. + :param data_type: Data Type, Which data to transfer * VGROUP_WEIGHTS Vertex Group(s), Transfer active or all vertex groups. * BEVEL_WEIGHT_VERT Bevel Weight, Transfer bevel weights. * SHARP_EDGE Sharp, Transfer sharp mark. * SEAM UV Seam, Transfer UV seam mark. * CREASE Subdivision Crease, Transfer crease values. * BEVEL_WEIGHT_EDGE Bevel Weight, Transfer bevel weights. * FREESTYLE_EDGE Freestyle Mark, Transfer Freestyle edge mark. * CUSTOM_NORMAL Custom Normals, Transfer custom normals. * VCOL Vertex Colors, Vertex (face corners) colors. * UV UVs, Transfer UV layers. * SMOOTH Smooth, Transfer flat/smooth mark. * FREESTYLE_FACE Freestyle Mark, Transfer Freestyle face mark. :type data_type: typing.Union[int, str] :param use_create: Create Data, Add data layers on destination meshes if needed :type use_create: bool @@ -378,7 +433,7 @@ def data_transfer(use_reverse_transfer: bool = False, :type vert_mapping: typing.Union[int, str] :param edge_mapping: Edge Mapping, Method used to map source edges to destination ones * TOPOLOGY Topology, Copy from identical topology meshes. * VERT_NEAREST Nearest Vertices, Copy from most similar edge (edge which vertices are the closest of destination edge's ones). * NEAREST Nearest Edge, Copy from closest edge (using midpoints). * POLY_NEAREST Nearest Face Edge, Copy from closest edge of closest face (using midpoints). * EDGEINTERP_VNORPROJ Projected Edge Interpolated, Interpolate all source edges hit by the projection of destination one along its own normal (from vertices). :type edge_mapping: typing.Union[int, str] - :param loop_mapping: Face Corner Mapping, Method used to map source faces' corners to destination ones * TOPOLOGY Topology, Copy from identical topology meshes. * NEAREST_NORMAL Nearest Corner And Best Matching Normal, Copy from nearest corner which has the best matching normal. * NEAREST_POLYNOR Nearest Corner And Best Matching Face Normal, Copy from nearest corner which has the face with the best matching normal to destination corner's face one. * NEAREST_POLY Nearest Corner Of Nearest Face, Copy from nearest corner of nearest polygon. * POLYINTERP_NEAREST Nearest Face Interpolated, Copy from interpolated corners of the nearest source polygon. * POLYINTERP_LNORPROJ Projected Face Interpolated, Copy from interpolated corners of the source polygon hit by corner normal projection. + :param loop_mapping: Face Corner Mapping, Method used to map source faces' corners to destination ones * TOPOLOGY Topology, Copy from identical topology meshes. * NEAREST_NORMAL Nearest Corner and Best Matching Normal, Copy from nearest corner which has the best matching normal. * NEAREST_POLYNOR Nearest Corner and Best Matching Face Normal, Copy from nearest corner which has the face with the best matching normal to destination corner's face one. * NEAREST_POLY Nearest Corner of Nearest Face, Copy from nearest corner of nearest polygon. * POLYINTERP_NEAREST Nearest Face Interpolated, Copy from interpolated corners of the nearest source polygon. * POLYINTERP_LNORPROJ Projected Face Interpolated, Copy from interpolated corners of the source polygon hit by corner normal projection. :type loop_mapping: typing.Union[int, str] :param poly_mapping: Face Mapping, Method used to map source faces to destination ones * TOPOLOGY Topology, Copy from identical topology meshes. * NEAREST Nearest Face, Copy from nearest polygon (using center points). * NORMAL Best Normal-Matching, Copy from source polygon which normal is the closest to destination one. * POLYINTERP_PNORPROJ Projected Face Interpolated, Interpolate all source polygons intersected by the projection of destination one along its own normal. :type poly_mapping: typing.Union[int, str] @@ -416,7 +471,7 @@ def datalayout_transfer(modifier: str = "", :param modifier: Modifier, Name of the modifier to edit :type modifier: str - :param data_type: Data Type, Which data to transfer * VGROUP_WEIGHTS Vertex Group(s), Transfer active or all vertex groups. * BEVEL_WEIGHT_VERT Bevel Weight, Transfer bevel weights. * SHARP_EDGE Sharp, Transfer sharp mark. * SEAM UV Seam, Transfer UV seam mark. * CREASE Subdivision Crease, Transfer crease values. * BEVEL_WEIGHT_EDGE Bevel Weight, Transfer bevel weights. * FREESTYLE_EDGE Freestyle Mark, Transfer Freestyle edge mark. * CUSTOM_NORMAL Custom Normals, Transfer custom normals. * VCOL VCol, Vertex (face corners) colors. * UV UVs, Transfer UV layers. * SMOOTH Smooth, Transfer flat/smooth mark. * FREESTYLE_FACE Freestyle Mark, Transfer Freestyle face mark. + :param data_type: Data Type, Which data to transfer * VGROUP_WEIGHTS Vertex Group(s), Transfer active or all vertex groups. * BEVEL_WEIGHT_VERT Bevel Weight, Transfer bevel weights. * SHARP_EDGE Sharp, Transfer sharp mark. * SEAM UV Seam, Transfer UV seam mark. * CREASE Subdivision Crease, Transfer crease values. * BEVEL_WEIGHT_EDGE Bevel Weight, Transfer bevel weights. * FREESTYLE_EDGE Freestyle Mark, Transfer Freestyle edge mark. * CUSTOM_NORMAL Custom Normals, Transfer custom normals. * VCOL Vertex Colors, Vertex (face corners) colors. * UV UVs, Transfer UV layers. * SMOOTH Smooth, Transfer flat/smooth mark. * FREESTYLE_FACE Freestyle Mark, Transfer Freestyle face mark. :type data_type: typing.Union[int, str] :param use_delete: Exact Match, Also delete some data layers from destination if necessary, so that it matches exactly source :type use_delete: bool @@ -527,7 +582,7 @@ def duplicates_make_real(use_base_parent: bool = False, def editmode_toggle(): - ''' Toggle object's editmode + ''' Toggle object's edit mode ''' @@ -547,7 +602,7 @@ def effector_add(type: typing.Union[int, str] = 'FORCE', :type type: typing.Union[int, str] :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -624,7 +679,7 @@ def face_map_deselect(): def face_map_move(direction: typing.Union[int, str] = 'UP'): ''' Move the active face map up/down in the list - :param direction: Direction, Direction to move, UP or DOWN + :param direction: Direction, Direction to move, up or down :type direction: typing.Union[int, str] ''' @@ -691,7 +746,7 @@ def gpencil_add(radius: float = 1.0, def gpencil_modifier_add(type: typing.Union[int, str] = 'CURVE'): ''' Add a procedural operation/effect to the active grease pencil object - :param type: Type * DATA_TRANSFER Data Transfer, Transfer several types of data (vertex groups, UV maps, vertex colors, custom normals) from one mesh to another. * MESH_CACHE Mesh Cache, Deform the mesh using an external frame-by-frame vertex transform cache. * MESH_SEQUENCE_CACHE Mesh Sequence Cache, Deform the mesh or curve using an external mesh cache in Alembic format. * NORMAL_EDIT Normal Edit, Modify the direction of the surface normals. * WEIGHTED_NORMAL Weighted Normal, Modify the direction of the surface normals using a weighting method. * UV_PROJECT UV Project, Project the UV map coordinates from the negative Z axis of another object. * UV_WARP UV Warp, Transform the UV map using the difference between two objects. * VERTEX_WEIGHT_EDIT Vertex Weight Edit, Modify of the weights of a vertex group. * VERTEX_WEIGHT_MIX Vertex Weight Mix, Mix the weights of two vertex groups. * VERTEX_WEIGHT_PROXIMITY Vertex Weight Proximity, Set the vertex group weights based on the distance to another target object. * ARRAY Array, Create copies of the shape with offsets. * BEVEL Bevel, Generate sloped corners by adding geometry to the mesh's edges or vertices. * BOOLEAN Boolean, Use another shape to cut, combine or perform a difference operation. * BUILD Build, Cause the faces of the mesh object to appear or disappear one after the other over time. * DECIMATE Decimate, Reduce the geometry density. * EDGE_SPLIT Edge Split, Split away joined faces at the edges. * MASK Mask, Dynamically hide vertices based on a vertex group or armature. * MIRROR Mirror, Mirror along the local X, Y and/or Z axes, over the object origin. * MULTIRES Multiresolution, Subdivide the mesh in a way that allows editing the higher subdivision levels. * REMESH Remesh, Generate new mesh topology based on the current shape. * SCREW Screw, Lathe around an axis, treating the input mesh as a profile. * SKIN Skin, Create a solid shape from vertices and edges, using the vertex radius to define the thickness. * SOLIDIFY Solidify, Make the surface thick. * SUBSURF Subdivision Surface, Split the faces into smaller parts, giving it a smoother appearance. * TRIANGULATE Triangulate, Convert all polygons to triangles. * WELD Weld, Find groups of vertices closer then dist and merges them together. * WIREFRAME Wireframe, Convert faces into thickened edges. * ARMATURE Armature, Deform the shape using an armature object. * CAST Cast, Shift the shape towards a predefined primitive. * CURVE Curve, Bend the mesh using a curve object. * DISPLACE Displace, Offset vertices based on a texture. * HOOK Hook, Deform specific points using another object. * LAPLACIANDEFORM Laplacian Deform, Deform based a series of anchor points. * LATTICE Lattice, Deform using the shape of a lattice object. * MESH_DEFORM Mesh Deform, Deform using a different mesh, which acts as a deformation cage. * SHRINKWRAP Shrinkwrap, Project the shape onto another object. * SIMPLE_DEFORM Simple Deform, Deform the shape by twisting, bending, tapering or stretching. * SMOOTH Smooth, Smooth the mesh by flattening the angles between adjacent faces. * CORRECTIVE_SMOOTH Smooth Corrective, Smooth the mesh while still preserving the volume. * LAPLACIANSMOOTH Smooth Laplacian, Reduce the noise on a mesh surface with minimal changes to its shape. * SURFACE_DEFORM Surface Deform, Transfer motion from another mesh. * WARP Warp, Warp parts of a mesh to a new location in a very flexible way thanks to 2 specified objects. * WAVE Wave, Adds a ripple-like motion to an object’s geometry. * CLOTH Cloth. * COLLISION Collision. * DYNAMIC_PAINT Dynamic Paint. * EXPLODE Explode, Break apart the mesh faces and let them follow particles. * FLUID Fluid. * OCEAN Ocean, Generate a moving ocean surface. * PARTICLE_INSTANCE Particle Instance. * PARTICLE_SYSTEM Particle System, Spawn particles from the shape. * SOFT_BODY Soft Body. * SURFACE Surface. * SIMULATION Simulation. + :param type: Type * DATA_TRANSFER Data Transfer, Transfer several types of data (vertex groups, UV maps, vertex colors, custom normals) from one mesh to another. * MESH_CACHE Mesh Cache, Deform the mesh using an external frame-by-frame vertex transform cache. * MESH_SEQUENCE_CACHE Mesh Sequence Cache, Deform the mesh or curve using an external mesh cache in Alembic format. * NORMAL_EDIT Normal Edit, Modify the direction of the surface normals. * WEIGHTED_NORMAL Weighted Normal, Modify the direction of the surface normals using a weighting method. * UV_PROJECT UV Project, Project the UV map coordinates from the negative Z axis of another object. * UV_WARP UV Warp, Transform the UV map using the difference between two objects. * VERTEX_WEIGHT_EDIT Vertex Weight Edit, Modify of the weights of a vertex group. * VERTEX_WEIGHT_MIX Vertex Weight Mix, Mix the weights of two vertex groups. * VERTEX_WEIGHT_PROXIMITY Vertex Weight Proximity, Set the vertex group weights based on the distance to another target object. * ARRAY Array, Create copies of the shape with offsets. * BEVEL Bevel, Generate sloped corners by adding geometry to the mesh's edges or vertices. * BOOLEAN Boolean, Use another shape to cut, combine or perform a difference operation. * BUILD Build, Cause the faces of the mesh object to appear or disappear one after the other over time. * DECIMATE Decimate, Reduce the geometry density. * EDGE_SPLIT Edge Split, Split away joined faces at the edges. * NODES Geometry Nodes. * MASK Mask, Dynamically hide vertices based on a vertex group or armature. * MIRROR Mirror, Mirror along the local X, Y and/or Z axes, over the object origin. * MESH_TO_VOLUME Mesh to Volume. * MULTIRES Multiresolution, Subdivide the mesh in a way that allows editing the higher subdivision levels. * REMESH Remesh, Generate new mesh topology based on the current shape. * SCREW Screw, Lathe around an axis, treating the input mesh as a profile. * SKIN Skin, Create a solid shape from vertices and edges, using the vertex radius to define the thickness. * SOLIDIFY Solidify, Make the surface thick. * SUBSURF Subdivision Surface, Split the faces into smaller parts, giving it a smoother appearance. * TRIANGULATE Triangulate, Convert all polygons to triangles. * VOLUME_TO_MESH Volume to Mesh. * WELD Weld, Find groups of vertices closer than dist and merge them together. * WIREFRAME Wireframe, Convert faces into thickened edges. * ARMATURE Armature, Deform the shape using an armature object. * CAST Cast, Shift the shape towards a predefined primitive. * CURVE Curve, Bend the mesh using a curve object. * DISPLACE Displace, Offset vertices based on a texture. * HOOK Hook, Deform specific points using another object. * LAPLACIANDEFORM Laplacian Deform, Deform based a series of anchor points. * LATTICE Lattice, Deform using the shape of a lattice object. * MESH_DEFORM Mesh Deform, Deform using a different mesh, which acts as a deformation cage. * SHRINKWRAP Shrinkwrap, Project the shape onto another object. * SIMPLE_DEFORM Simple Deform, Deform the shape by twisting, bending, tapering or stretching. * SMOOTH Smooth, Smooth the mesh by flattening the angles between adjacent faces. * CORRECTIVE_SMOOTH Smooth Corrective, Smooth the mesh while still preserving the volume. * LAPLACIANSMOOTH Smooth Laplacian, Reduce the noise on a mesh surface with minimal changes to its shape. * SURFACE_DEFORM Surface Deform, Transfer motion from another mesh. * WARP Warp, Warp parts of a mesh to a new location in a very flexible way thanks to 2 specified objects. * WAVE Wave, Adds a ripple-like motion to an object’s geometry. * VOLUME_DISPLACE Volume Displace, Deform volume based on noise or other vector fields. * CLOTH Cloth. * COLLISION Collision. * DYNAMIC_PAINT Dynamic Paint. * EXPLODE Explode, Break apart the mesh faces and let them follow particles. * FLUID Fluid. * OCEAN Ocean, Generate a moving ocean surface. * PARTICLE_INSTANCE Particle Instance. * PARTICLE_SYSTEM Particle System, Spawn particles from the shape. * SOFT_BODY Soft Body. * SURFACE Surface. :type type: typing.Union[int, str] ''' @@ -703,7 +758,7 @@ def gpencil_modifier_apply(apply_as: typing.Union[int, str] = 'DATA', report: bool = False): ''' Apply modifier and remove from the stack - :param apply_as: Apply as, How to apply the modifier to the geometry * DATA Object Data, Apply modifier to the object's data. * SHAPE New Shape, Apply deform-only modifier to a new shape on this object. + :param apply_as: Apply As, How to apply the modifier to the geometry * DATA Object Data, Apply modifier to the object's data. * SHAPE New Shape, Apply deform-only modifier to a new shape on this object. :type apply_as: typing.Union[int, str] :param modifier: Modifier, Name of the modifier to edit :type modifier: str @@ -724,6 +779,16 @@ def gpencil_modifier_copy(modifier: str = ""): pass +def gpencil_modifier_copy_to_selected(modifier: str = ""): + ''' Copy the modifier from the active object to all selected objects + + :param modifier: Modifier, Name of the modifier to edit + :type modifier: str + ''' + + pass + + def gpencil_modifier_move_down(modifier: str = ""): ''' Move modifier down in the stack @@ -800,7 +865,7 @@ def hide_collection(collection_index: int = -1, toggle: bool = False): def hide_render_clear_all(): - ''' Reveal all render objects by setting the hide render flag :file: startup/bl_operators/object.py\:690 _ + ''' Reveal all render objects by setting the hide render flag :file: startup/bl_operators/object.py\:689 _ ''' @@ -896,7 +961,7 @@ def hook_select(modifier: typing.Union[int, str] = ''): def instance_offset_from_cursor(): - ''' Set offset used for collection instances based on cursor position :file: startup/bl_operators/object.py\:872 _ + ''' Set offset used for collection instances based on cursor position :file: startup/bl_operators/object.py\:871 _ ''' @@ -904,7 +969,7 @@ def instance_offset_from_cursor(): def isolate_type_render(): - ''' Hide unselected render objects of same type as active by setting the hide render flag :file: startup/bl_operators/object.py\:670 _ + ''' Hide unselected render objects of same type as active by setting the hide render flag :file: startup/bl_operators/object.py\:669 _ ''' @@ -928,7 +993,7 @@ def join_shapes(): def join_uvs(): - ''' Transfer UV Maps from active to selected objects (needs matching geometry) :file: startup/bl_operators/object.py\:584 _ + ''' Transfer UV Maps from active to selected objects (needs matching geometry) :file: startup/bl_operators/object.py\:583 _ ''' @@ -983,7 +1048,7 @@ def lightprobe_add(type: typing.Union[int, str] = 'CUBEMAP', :type type: typing.Union[int, str] :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1026,7 +1091,7 @@ def load_background_image(filepath: str = "", :type filter_image: bool :param filter_folder: filter_folder :type filter_folder: bool - :param view_align: Align to view + :param view_align: Align to View :type view_align: bool ''' @@ -1045,7 +1110,7 @@ def load_reference_image(filepath: str = "", :type filter_image: bool :param filter_folder: filter_folder :type filter_folder: bool - :param view_align: Align to view + :param view_align: Align to View :type view_align: bool ''' @@ -1063,7 +1128,7 @@ def location_clear(clear_delta: bool = False): def make_dupli_face(): - ''' Convert objects into instanced faces :file: startup/bl_operators/object.py\:658 _ + ''' Convert objects into instanced faces :file: startup/bl_operators/object.py\:657 _ ''' @@ -1221,7 +1286,7 @@ def metaball_add(type: typing.Union[int, str] = 'BALL', :type type: typing.Union[int, str] :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -1268,7 +1333,7 @@ def mode_set_with_submode( def modifier_add(type: typing.Union[int, str] = 'SUBSURF'): ''' Add a procedural operation/effect to the active object - :param type: Type * DATA_TRANSFER Data Transfer, Transfer several types of data (vertex groups, UV maps, vertex colors, custom normals) from one mesh to another. * MESH_CACHE Mesh Cache, Deform the mesh using an external frame-by-frame vertex transform cache. * MESH_SEQUENCE_CACHE Mesh Sequence Cache, Deform the mesh or curve using an external mesh cache in Alembic format. * NORMAL_EDIT Normal Edit, Modify the direction of the surface normals. * WEIGHTED_NORMAL Weighted Normal, Modify the direction of the surface normals using a weighting method. * UV_PROJECT UV Project, Project the UV map coordinates from the negative Z axis of another object. * UV_WARP UV Warp, Transform the UV map using the difference between two objects. * VERTEX_WEIGHT_EDIT Vertex Weight Edit, Modify of the weights of a vertex group. * VERTEX_WEIGHT_MIX Vertex Weight Mix, Mix the weights of two vertex groups. * VERTEX_WEIGHT_PROXIMITY Vertex Weight Proximity, Set the vertex group weights based on the distance to another target object. * ARRAY Array, Create copies of the shape with offsets. * BEVEL Bevel, Generate sloped corners by adding geometry to the mesh's edges or vertices. * BOOLEAN Boolean, Use another shape to cut, combine or perform a difference operation. * BUILD Build, Cause the faces of the mesh object to appear or disappear one after the other over time. * DECIMATE Decimate, Reduce the geometry density. * EDGE_SPLIT Edge Split, Split away joined faces at the edges. * MASK Mask, Dynamically hide vertices based on a vertex group or armature. * MIRROR Mirror, Mirror along the local X, Y and/or Z axes, over the object origin. * MULTIRES Multiresolution, Subdivide the mesh in a way that allows editing the higher subdivision levels. * REMESH Remesh, Generate new mesh topology based on the current shape. * SCREW Screw, Lathe around an axis, treating the input mesh as a profile. * SKIN Skin, Create a solid shape from vertices and edges, using the vertex radius to define the thickness. * SOLIDIFY Solidify, Make the surface thick. * SUBSURF Subdivision Surface, Split the faces into smaller parts, giving it a smoother appearance. * TRIANGULATE Triangulate, Convert all polygons to triangles. * WELD Weld, Find groups of vertices closer then dist and merges them together. * WIREFRAME Wireframe, Convert faces into thickened edges. * ARMATURE Armature, Deform the shape using an armature object. * CAST Cast, Shift the shape towards a predefined primitive. * CURVE Curve, Bend the mesh using a curve object. * DISPLACE Displace, Offset vertices based on a texture. * HOOK Hook, Deform specific points using another object. * LAPLACIANDEFORM Laplacian Deform, Deform based a series of anchor points. * LATTICE Lattice, Deform using the shape of a lattice object. * MESH_DEFORM Mesh Deform, Deform using a different mesh, which acts as a deformation cage. * SHRINKWRAP Shrinkwrap, Project the shape onto another object. * SIMPLE_DEFORM Simple Deform, Deform the shape by twisting, bending, tapering or stretching. * SMOOTH Smooth, Smooth the mesh by flattening the angles between adjacent faces. * CORRECTIVE_SMOOTH Smooth Corrective, Smooth the mesh while still preserving the volume. * LAPLACIANSMOOTH Smooth Laplacian, Reduce the noise on a mesh surface with minimal changes to its shape. * SURFACE_DEFORM Surface Deform, Transfer motion from another mesh. * WARP Warp, Warp parts of a mesh to a new location in a very flexible way thanks to 2 specified objects. * WAVE Wave, Adds a ripple-like motion to an object’s geometry. * CLOTH Cloth. * COLLISION Collision. * DYNAMIC_PAINT Dynamic Paint. * EXPLODE Explode, Break apart the mesh faces and let them follow particles. * FLUID Fluid. * OCEAN Ocean, Generate a moving ocean surface. * PARTICLE_INSTANCE Particle Instance. * PARTICLE_SYSTEM Particle System, Spawn particles from the shape. * SOFT_BODY Soft Body. * SURFACE Surface. * SIMULATION Simulation. + :param type: Type * DATA_TRANSFER Data Transfer, Transfer several types of data (vertex groups, UV maps, vertex colors, custom normals) from one mesh to another. * MESH_CACHE Mesh Cache, Deform the mesh using an external frame-by-frame vertex transform cache. * MESH_SEQUENCE_CACHE Mesh Sequence Cache, Deform the mesh or curve using an external mesh cache in Alembic format. * NORMAL_EDIT Normal Edit, Modify the direction of the surface normals. * WEIGHTED_NORMAL Weighted Normal, Modify the direction of the surface normals using a weighting method. * UV_PROJECT UV Project, Project the UV map coordinates from the negative Z axis of another object. * UV_WARP UV Warp, Transform the UV map using the difference between two objects. * VERTEX_WEIGHT_EDIT Vertex Weight Edit, Modify of the weights of a vertex group. * VERTEX_WEIGHT_MIX Vertex Weight Mix, Mix the weights of two vertex groups. * VERTEX_WEIGHT_PROXIMITY Vertex Weight Proximity, Set the vertex group weights based on the distance to another target object. * ARRAY Array, Create copies of the shape with offsets. * BEVEL Bevel, Generate sloped corners by adding geometry to the mesh's edges or vertices. * BOOLEAN Boolean, Use another shape to cut, combine or perform a difference operation. * BUILD Build, Cause the faces of the mesh object to appear or disappear one after the other over time. * DECIMATE Decimate, Reduce the geometry density. * EDGE_SPLIT Edge Split, Split away joined faces at the edges. * NODES Geometry Nodes. * MASK Mask, Dynamically hide vertices based on a vertex group or armature. * MIRROR Mirror, Mirror along the local X, Y and/or Z axes, over the object origin. * MESH_TO_VOLUME Mesh to Volume. * MULTIRES Multiresolution, Subdivide the mesh in a way that allows editing the higher subdivision levels. * REMESH Remesh, Generate new mesh topology based on the current shape. * SCREW Screw, Lathe around an axis, treating the input mesh as a profile. * SKIN Skin, Create a solid shape from vertices and edges, using the vertex radius to define the thickness. * SOLIDIFY Solidify, Make the surface thick. * SUBSURF Subdivision Surface, Split the faces into smaller parts, giving it a smoother appearance. * TRIANGULATE Triangulate, Convert all polygons to triangles. * VOLUME_TO_MESH Volume to Mesh. * WELD Weld, Find groups of vertices closer than dist and merge them together. * WIREFRAME Wireframe, Convert faces into thickened edges. * ARMATURE Armature, Deform the shape using an armature object. * CAST Cast, Shift the shape towards a predefined primitive. * CURVE Curve, Bend the mesh using a curve object. * DISPLACE Displace, Offset vertices based on a texture. * HOOK Hook, Deform specific points using another object. * LAPLACIANDEFORM Laplacian Deform, Deform based a series of anchor points. * LATTICE Lattice, Deform using the shape of a lattice object. * MESH_DEFORM Mesh Deform, Deform using a different mesh, which acts as a deformation cage. * SHRINKWRAP Shrinkwrap, Project the shape onto another object. * SIMPLE_DEFORM Simple Deform, Deform the shape by twisting, bending, tapering or stretching. * SMOOTH Smooth, Smooth the mesh by flattening the angles between adjacent faces. * CORRECTIVE_SMOOTH Smooth Corrective, Smooth the mesh while still preserving the volume. * LAPLACIANSMOOTH Smooth Laplacian, Reduce the noise on a mesh surface with minimal changes to its shape. * SURFACE_DEFORM Surface Deform, Transfer motion from another mesh. * WARP Warp, Warp parts of a mesh to a new location in a very flexible way thanks to 2 specified objects. * WAVE Wave, Adds a ripple-like motion to an object’s geometry. * VOLUME_DISPLACE Volume Displace, Deform volume based on noise or other vector fields. * CLOTH Cloth. * COLLISION Collision. * DYNAMIC_PAINT Dynamic Paint. * EXPLODE Explode, Break apart the mesh faces and let them follow particles. * FLUID Fluid. * OCEAN Ocean, Generate a moving ocean surface. * PARTICLE_INSTANCE Particle Instance. * PARTICLE_SYSTEM Particle System, Spawn particles from the shape. * SOFT_BODY Soft Body. * SURFACE Surface. :type type: typing.Union[int, str] ''' @@ -1290,7 +1355,7 @@ def modifier_apply(modifier: str = "", report: bool = False): def modifier_apply_as_shapekey(keep_modifier: bool = False, modifier: str = "", report: bool = False): - ''' Apply modifier as a new shapekey and remove from the stack + ''' Apply modifier as a new shape key and remove from the stack :param keep_modifier: Keep Modifier, Do not remove the modifier from stack :type keep_modifier: bool @@ -1323,6 +1388,16 @@ def modifier_copy(modifier: str = ""): pass +def modifier_copy_to_selected(modifier: str = ""): + ''' Copy the modifier from the active object to all selected objects + + :param modifier: Modifier, Name of the modifier to edit + :type modifier: str + ''' + + pass + + def modifier_move_down(modifier: str = ""): ''' Move modifier down in the stack @@ -1367,6 +1442,16 @@ def modifier_remove(modifier: str = "", report: bool = False): pass +def modifier_set_active(modifier: str = ""): + ''' Activate the modifier to use as the context + + :param modifier: Modifier, Name of the modifier to edit + :type modifier: str + ''' + + pass + + def move_to_collection(collection_index: int = -1, is_new: bool = False, new_collection_name: str = ""): @@ -1401,31 +1486,30 @@ def multires_external_pack(): pass -def multires_external_save( - filepath: str = "", - hide_props_region: bool = True, - check_existing: bool = True, - filter_blender: bool = False, - filter_backup: bool = False, - filter_image: bool = False, - filter_movie: bool = False, - filter_python: bool = False, - filter_font: bool = False, - filter_sound: bool = False, - filter_text: bool = False, - filter_archive: bool = False, - filter_btx: bool = True, - filter_collada: bool = False, - filter_alembic: bool = False, - filter_usd: bool = False, - filter_volume: bool = False, - filter_folder: bool = True, - filter_blenlib: bool = False, - filemode: int = 9, - relative_path: bool = True, - display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', - modifier: str = ""): +def multires_external_save(filepath: str = "", + hide_props_region: bool = True, + check_existing: bool = True, + filter_blender: bool = False, + filter_backup: bool = False, + filter_image: bool = False, + filter_movie: bool = False, + filter_python: bool = False, + filter_font: bool = False, + filter_sound: bool = False, + filter_text: bool = False, + filter_archive: bool = False, + filter_btx: bool = True, + filter_collada: bool = False, + filter_alembic: bool = False, + filter_usd: bool = False, + filter_volume: bool = False, + filter_folder: bool = True, + filter_blenlib: bool = False, + filemode: int = 9, + relative_path: bool = True, + display_type: typing.Union[int, str] = 'DEFAULT', + sort_method: typing.Union[int, str] = '', + modifier: str = ""): ''' Save displacements to an external file :param filepath: File Path, Path to file @@ -1472,7 +1556,7 @@ def multires_external_save( :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param modifier: Modifier, Name of the modifier to edit :type modifier: str @@ -1558,7 +1642,7 @@ def origin_set(type: typing.Union[int, str] = 'GEOMETRY_ORIGIN', center: typing.Union[int, str] = 'MEDIAN'): ''' Set the object's origin, by either moving the data, or set to center of data, or use 3D cursor - :param type: Type * GEOMETRY_ORIGIN Geometry to Origin, Move object geometry to object origin. * ORIGIN_GEOMETRY Origin to Geometry, Calculate the center of geometry based on the current pivot point (median, otherwise bounding-box). * ORIGIN_CURSOR Origin to 3D Cursor, Move object origin to position of the 3D cursor. * ORIGIN_CENTER_OF_MASS Origin to Center of Mass (Surface), Calculate the center of mass from the surface area. * ORIGIN_CENTER_OF_VOLUME Origin to Center of Mass (Volume), Calculate the center of mass from the volume (must be manifold geometry with consistent normals). + :param type: Type * GEOMETRY_ORIGIN Geometry to Origin, Move object geometry to object origin. * ORIGIN_GEOMETRY Origin to Geometry, Calculate the center of geometry based on the current pivot point (median, otherwise bounding box). * ORIGIN_CURSOR Origin to 3D Cursor, Move object origin to position of the 3D cursor. * ORIGIN_CENTER_OF_MASS Origin to Center of Mass (Surface), Calculate the center of mass from the surface area. * ORIGIN_CENTER_OF_VOLUME Origin to Center of Mass (Volume), Calculate the center of mass from the volume (must be manifold geometry with consistent normals). :type type: typing.Union[int, str] :param center: Center :type center: typing.Union[int, str] @@ -1685,14 +1769,14 @@ def posemode_toggle(): def proxy_make(object: typing.Union[int, str] = 'DEFAULT'): ''' Add empty object to become local replacement data of a library-linked object - :param object: Proxy Object, Name of lib-linked/collection object to make a proxy for + :param object: Proxy Object, Name of library-linked/collection object to make a proxy for :type object: typing.Union[int, str] ''' pass -def quadriflow_remesh(use_paint_symmetry: bool = True, +def quadriflow_remesh(use_mesh_symmetry: bool = True, use_preserve_sharp: bool = False, use_preserve_boundary: bool = False, preserve_paint_mask: bool = False, @@ -1705,8 +1789,8 @@ def quadriflow_remesh(use_paint_symmetry: bool = True, seed: int = 0): ''' Create a new quad based mesh using the surface data of the current mesh. All data layers will be lost - :param use_paint_symmetry: Use Paint Symmetry, Generates a symmetrical mesh using the paint symmetry configuration - :type use_paint_symmetry: bool + :param use_mesh_symmetry: Use Mesh Symmetry, Generates a symmetrical mesh using the mesh symmetry configuration + :type use_mesh_symmetry: bool :param use_preserve_sharp: Preserve Sharp, Try to preserve sharp features on the mesh :type use_preserve_sharp: bool :param use_preserve_boundary: Preserve Mesh Boundary, Try to preserve mesh boundary on the mesh @@ -1743,7 +1827,7 @@ def quick_explode(style: typing.Union[int, str] = 'EXPLODE', :param style: Explode Style :type style: typing.Union[int, str] - :param amount: Amount of pieces + :param amount: Number of Pieces :type amount: int :param frame_duration: Duration :type frame_duration: int @@ -1808,7 +1892,7 @@ def randomize_transform(random_seed: int = 0, use_scale: bool = True, scale_even: bool = False, scale: typing.List[float] = (1.0, 1.0, 1.0)): - ''' Randomize objects loc/rot/scale + ''' Randomize objects location, rotation, and scale :param random_seed: Random Seed, Seed value for the random generator :type random_seed: int @@ -1892,7 +1976,7 @@ def select_grouped(extend: bool = False, :param extend: Extend, Extend selection instead of deselecting everything first :type extend: bool - :param type: Type * CHILDREN_RECURSIVE Children. * CHILDREN Immediate Children. * PARENT Parent. * SIBLINGS Siblings, Shared Parent. * TYPE Type, Shared object type. * COLLECTION Collection, Shared collection. * HOOK Hook. * PASS Pass, Render pass Index. * COLOR Color, Object Color. * KEYINGSET Keying Set, Objects included in active Keying Set. * LIGHT_TYPE Light Type, Matching light types. + :param type: Type * CHILDREN_RECURSIVE Children. * CHILDREN Immediate Children. * PARENT Parent. * SIBLINGS Siblings, Shared parent. * TYPE Type, Shared object type. * COLLECTION Collection, Shared collection. * HOOK Hook. * PASS Pass, Render pass index. * COLOR Color, Object color. * KEYINGSET Keying Set, Objects included in active Keying Set. * LIGHT_TYPE Light Type, Matching light types. :type type: typing.Union[int, str] ''' @@ -2019,6 +2103,16 @@ def shaderfx_add(type: typing.Union[int, str] = 'FX_BLUR'): pass +def shaderfx_copy(shaderfx: str = ""): + ''' Duplicate effect at the same position in the stack + + :param shaderfx: Shader, Name of the shaderfx to edit + :type shaderfx: str + ''' + + pass + + def shaderfx_move_down(shaderfx: str = ""): ''' Move effect down in the stack @@ -2175,7 +2269,7 @@ def speaker_add(enter_editmode: bool = False, scale: typing.List[float] = (0.0, 0.0, 0.0)): ''' Add a speaker object to the scene - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -2191,7 +2285,7 @@ def speaker_add(enter_editmode: bool = False, def subdivision_set(level: int = 1, relative: bool = False): - ''' Sets a Subdivision Surface Level (1-5) + ''' Sets a Subdivision Surface level (1 to 5) :param level: Level :type level: int @@ -2212,6 +2306,14 @@ def surfacedeform_bind(modifier: str = ""): pass +def switch_object(): + ''' Switches the active object and assigns the same mode to a new one under the mouse cursor, leaving the active mode in the current one + + ''' + + pass + + def text_add(radius: float = 1.0, enter_editmode: bool = False, align: typing.Union[int, str] = 'WORLD', @@ -2222,7 +2324,7 @@ def text_add(radius: float = 1.0, :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -2334,7 +2436,7 @@ def vertex_group_clean(group_select_mode: typing.Union[int, str] = '', keep_single: bool = False): ''' Remove vertex group assignments which are not required - :param group_select_mode: Subset, Define which subset of Groups shall be used + :param group_select_mode: Subset, Define which subset of groups shall be used :type group_select_mode: typing.Union[int, str] :param limit: Limit, Remove vertices which weight is below or equal to this limit :type limit: float @@ -2398,7 +2500,7 @@ def vertex_group_invert(group_select_mode: typing.Union[int, str] = '', auto_remove: bool = True): ''' Invert active vertex group's weights - :param group_select_mode: Subset, Define which subset of Groups shall be used + :param group_select_mode: Subset, Define which subset of groups shall be used :type group_select_mode: typing.Union[int, str] :param auto_assign: Add Weights, Add vertices from groups that have zero weight before inverting :type auto_assign: bool @@ -2414,7 +2516,7 @@ def vertex_group_levels(group_select_mode: typing.Union[int, str] = '', gain: float = 1.0): ''' Add some offset and multiply with some gain the weights of the active vertex group - :param group_select_mode: Subset, Define which subset of Groups shall be used + :param group_select_mode: Subset, Define which subset of groups shall be used :type group_select_mode: typing.Union[int, str] :param offset: Offset, Value to add to weights :type offset: float @@ -2429,7 +2531,7 @@ def vertex_group_limit_total(group_select_mode: typing.Union[int, str] = '', limit: int = 4): ''' Limit deform weights associated with a vertex to a specified number by removing lowest weights - :param group_select_mode: Subset, Define which subset of Groups shall be used + :param group_select_mode: Subset, Define which subset of groups shall be used :type group_select_mode: typing.Union[int, str] :param limit: Limit, Maximum number of deform weights :type limit: int @@ -2492,7 +2594,7 @@ def vertex_group_normalize_all(group_select_mode: typing.Union[int, str] = '', lock_active: bool = True): ''' Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0 - :param group_select_mode: Subset, Define which subset of Groups shall be used + :param group_select_mode: Subset, Define which subset of groups shall be used :type group_select_mode: typing.Union[int, str] :param lock_active: Lock Active, Keep the values of the active group while normalizing others :type lock_active: bool @@ -2505,7 +2607,7 @@ def vertex_group_quantize(group_select_mode: typing.Union[int, str] = '', steps: int = 4): ''' Set weights to a fixed number of steps - :param group_select_mode: Subset, Define which subset of Groups shall be used + :param group_select_mode: Subset, Define which subset of groups shall be used :type group_select_mode: typing.Union[int, str] :param steps: Steps, Number of steps between 0 and 1 :type steps: int @@ -2563,7 +2665,7 @@ def vertex_group_smooth(group_select_mode: typing.Union[int, str] = '', expand: float = 0.0): ''' Smooth weights for selected vertices - :param group_select_mode: Subset, Define which subset of Groups shall be used + :param group_select_mode: Subset, Define which subset of groups shall be used :type group_select_mode: typing.Union[int, str] :param factor: Factor :type factor: float @@ -2579,7 +2681,7 @@ def vertex_group_smooth(group_select_mode: typing.Union[int, str] = '', def vertex_group_sort(sort_type: typing.Union[int, str] = 'NAME'): ''' Sort vertex groups - :param sort_type: Sort type, Sort type + :param sort_type: Sort Type, Sort type :type sort_type: typing.Union[int, str] ''' @@ -2670,8 +2772,10 @@ def volume_add(align: typing.Union[int, str] = 'WORLD', def volume_import( filepath: str = "", directory: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, hide_props_region: bool = True, filter_blender: bool = False, filter_backup: bool = False, @@ -2692,7 +2796,7 @@ def volume_import( filemode: int = 9, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', use_sequence_detection: bool = True, align: typing.Union[int, str] = 'WORLD', location: typing.List[float] = (0.0, 0.0, 0.0), @@ -2705,7 +2809,7 @@ def volume_import( :param directory: Directory, Directory of the file :type directory: str :param files: Files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings :type hide_props_region: bool :param filter_blender: Filter .blend files @@ -2746,7 +2850,7 @@ def volume_import( :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected volume files (based on file names) :type use_sequence_detection: bool diff --git a/blender_autocomplete/bpy/ops/outliner.py b/blender_autocomplete/bpy/ops/outliner.py index dd244ba..b15441e 100644 --- a/blender_autocomplete/bpy/ops/outliner.py +++ b/blender_autocomplete/bpy/ops/outliner.py @@ -22,6 +22,16 @@ def animdata_operation(type: typing.Union[int, str] = 'CLEAR_ANIMDATA'): pass +def collection_color_tag_set(color: typing.Union[int, str] = 'NONE'): + ''' Set a color tag for the selected collections + + :param color: Color Tag * NONE None, Assign no color tag to the collection. * COLOR_01 Color 01. * COLOR_02 Color 02. * COLOR_03 Color 03. * COLOR_04 Color 04. * COLOR_05 Color 05. * COLOR_06 Color 06. * COLOR_07 Color 07. * COLOR_08 Color 08. + :type color: typing.Union[int, str] + ''' + + pass + + def collection_disable(): ''' Disable viewport drawing in the view layers @@ -238,6 +248,14 @@ def data_operation(type: typing.Union[int, str] = 'SELECT'): pass +def datastack_drop(): + ''' Copy or reorder modifiers, constraints, and effects + + ''' + + pass + + def delete(hierarchy: bool = False): ''' Delete selected objects and collections @@ -307,7 +325,7 @@ def id_delete(): def id_operation(type: typing.Union[int, str] = 'UNLINK'): ''' Undocumented, consider contributing __. - :param type: ID data Operation * UNLINK Unlink. * LOCAL Make Local. * SINGLE Make Single User. * DELETE Delete. * REMAP Remap Users, Make all users of selected data-blocks to use instead current (clicked) one. * OVERRIDE_LIBRARY_CREATE Add Library Override, Add a local override of this linked data-block. * OVERRIDE_LIBRARY_CREATE_HIERARCHY Add Library Override Hierarchy, Add a local override of this linked data-block, and its hierarchy of dependencies. * OVERRIDE_LIBRARY_RESET Reset Library Override, Reset this local override to its linked values. * OVERRIDE_LIBRARY_RESET_HIERARCHY Reset Library Override Hierarchy, Reset this local override to its linked values, as well as its hierarchy of dependencies. * COPY Copy. * PASTE Paste. * ADD_FAKE Add Fake User, Ensure data-block gets saved even if it isn't in use (e.g. for motion and material libraries). * CLEAR_FAKE Clear Fake User. * RENAME Rename. * SELECT_LINKED Select Linked. + :param type: ID Data Operation * UNLINK Unlink. * MARK_ASSET Mark Asset. * CLEAR_ASSET Clear Asset. * LOCAL Make Local. * SINGLE Make Single User. * DELETE Delete. * REMAP Remap Users, Make all users of selected data-blocks to use instead current (clicked) one. * OVERRIDE_LIBRARY_CREATE Add Library Override, Add a local override of this linked data-block. * OVERRIDE_LIBRARY_CREATE_HIERARCHY Add Library Override Hierarchy, Add a local override of this linked data-block, and its hierarchy of dependencies. * OVERRIDE_LIBRARY_PROXY_CONVERT Convert Proxy to Override, Convert a Proxy object to a full library override, including all its dependencies. * OVERRIDE_LIBRARY_RESET Reset Library Override, Reset this local override to its linked values. * OVERRIDE_LIBRARY_RESET_HIERARCHY Reset Library Override Hierarchy, Reset this local override to its linked values, as well as its hierarchy of dependencies. * OVERRIDE_LIBRARY_RESYNC_HIERARCHY Resync Library Override Hierarchy, Rebuild this local override from its linked reference, as well as its hierarchy of dependencies. * OVERRIDE_LIBRARY_DELETE_HIERARCHY Delete Library Override Hierarchy, Delete this local override (including its hierarchy of override dependencies) and relink its usages to the linked data-blocks. * COPY Copy. * PASTE Paste. * ADD_FAKE Add Fake User, Ensure data-block gets saved even if it isn't in use (e.g. for motion and material libraries). * CLEAR_FAKE Clear Fake User. * RENAME Rename. * SELECT_LINKED Select Linked. :type type: typing.Union[int, str] ''' @@ -372,9 +390,11 @@ def item_openclose(all: bool = False): pass -def item_rename(): +def item_rename(use_active: bool = False): ''' Rename the active element + :param use_active: Use Active, Rename the active item, rather than the one the mouse is over + :type use_active: bool ''' pass @@ -435,7 +455,7 @@ def modifier_operation(type: typing.Union[int, str] = 'TOGVIS'): def object_operation(type: typing.Union[int, str] = 'SELECT'): ''' Undocumented, consider contributing __. - :param type: Object Operation * SELECT Select. * DESELECT Deselect. * SELECT_HIERARCHY Select Hierarchy. * REMAP Remap Users, Make all users of selected data-blocks to use instead a new chosen one. * RENAME Rename. * OBJECT_MODE_ENTER Enter Mode. * OBJECT_MODE_EXIT Exit Mode. + :param type: Object Operation * SELECT Select. * DESELECT Deselect. * SELECT_HIERARCHY Select Hierarchy. * REMAP Remap Users, Make all users of selected data-blocks to use instead a new chosen one. * RENAME Rename. * OBJECT_MODE_ENTER Enter Mode. * OBJECT_MODE_EXIT Exit Mode. * OBJECT_PROXY_TO_OVERRIDE Convert Proxy to Override, Convert a Proxy object to a full library override, including all its dependencies. :type type: typing.Union[int, str] ''' @@ -558,7 +578,7 @@ def select_walk(direction: typing.Union[int, str] = 'UP', def show_active(): - ''' Open up the tree and adjust the view so that the active Object is shown centered + ''' Open up the tree and adjust the view so that the active object is shown centered ''' diff --git a/blender_autocomplete/bpy/ops/paint.py b/blender_autocomplete/bpy/ops/paint.py index ebf5809..5a0c3ca 100644 --- a/blender_autocomplete/bpy/ops/paint.py +++ b/blender_autocomplete/bpy/ops/paint.py @@ -35,7 +35,7 @@ def add_texture_paint_slot(type: typing.Union[int, str] = 'BASE_COLOR', :type alpha: bool :param generated_type: Generated Type, Fill the image with a grid for UV map testing * BLANK Blank, Generate a blank image. * UV_GRID UV Grid, Generated grid to test UV mappings. * COLOR_GRID Color Grid, Generated improved UV grid to test UV mappings. :type generated_type: typing.Union[int, str] - :param float: 32 bit Float, Create image with 32 bit floating point bit depth + :param float: 32-bit Float, Create image with 32-bit floating-point bit depth :type float: bool ''' @@ -138,7 +138,7 @@ def face_select_reveal(select: bool = True): def grab_clone(delta: typing.List[float] = (0.0, 0.0)): ''' Move the clone source image - :param delta: Delta, Delta offset of clone image in 0.0..1.0 coordinates + :param delta: Delta, Delta offset of clone image in 0.0 to 1.0 coordinates :type delta: typing.List[float] ''' @@ -174,7 +174,7 @@ def hide_show(action: typing.Union[int, str] = 'HIDE', def image_from_view(filepath: str = ""): - ''' Make an image from biggest 3D view for re-projection + ''' Make an image from biggest 3D view for reprojection :param filepath: File Path, Name of the file :type filepath: str @@ -183,14 +183,14 @@ def image_from_view(filepath: str = ""): pass -def image_paint( - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None, - mode: typing.Union[int, str] = 'NORMAL'): +def image_paint(stroke: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] = None, + mode: typing.Union[int, str] = 'NORMAL'): ''' Paint a stroke into the image :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] :param mode: Stroke Mode, Action taken when a paint stroke is made * NORMAL Regular, Apply brush normally. * INVERT Invert, Invert action of brush for duration of stroke. * SMOOTH Smooth, Switch brush to smooth mode for duration of stroke. :type mode: typing.Union[int, str] ''' @@ -198,6 +198,40 @@ def image_paint( pass +def mask_box_gesture(xmin: int = 0, + xmax: int = 0, + ymin: int = 0, + ymax: int = 0, + wait_for_input: bool = True, + use_front_faces_only: bool = False, + use_limit_to_segment: bool = False, + mode: typing.Union[int, str] = 'VALUE', + value: float = 1.0): + ''' Add mask within the box as you move the brush + + :param xmin: X Min + :type xmin: int + :param xmax: X Max + :type xmax: int + :param ymin: Y Min + :type ymin: int + :param ymax: Y Max + :type ymax: int + :param wait_for_input: Wait for Input + :type wait_for_input: bool + :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view + :type use_front_faces_only: bool + :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line + :type use_limit_to_segment: bool + :param mode: Mode * VALUE Value, Set mask to the level specified by the 'value' property. * VALUE_INVERSE Value Inverted, Set mask to the level specified by the inverted 'value' property. * INVERT Invert, Invert the mask. + :type mode: typing.Union[int, str] + :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked + :type value: float + ''' + + pass + + def mask_flood_fill(mode: typing.Union[int, str] = 'VALUE', value: float = 0.0): ''' Fill the whole mask with a given value, or invert its values @@ -211,15 +245,58 @@ def mask_flood_fill(mode: typing.Union[int, str] = 'VALUE', pass -def mask_lasso_gesture( - path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None, - mode: typing.Union[int, str] = 'VALUE', - value: float = 1.0): +def mask_lasso_gesture(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, + use_front_faces_only: bool = False, + use_limit_to_segment: bool = False, + mode: typing.Union[int, str] = 'VALUE', + value: float = 1.0): ''' Add mask within the lasso as you move the brush :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view + :type use_front_faces_only: bool + :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line + :type use_limit_to_segment: bool + :param mode: Mode * VALUE Value, Set mask to the level specified by the 'value' property. * VALUE_INVERSE Value Inverted, Set mask to the level specified by the inverted 'value' property. * INVERT Invert, Invert the mask. + :type mode: typing.Union[int, str] + :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked + :type value: float + ''' + + pass + + +def mask_line_gesture(xstart: int = 0, + xend: int = 0, + ystart: int = 0, + yend: int = 0, + flip: bool = False, + cursor: int = 5, + use_front_faces_only: bool = False, + use_limit_to_segment: bool = False, + mode: typing.Union[int, str] = 'VALUE', + value: float = 1.0): + ''' Add mask to the right of a line as you move the brush + + :param xstart: X Start + :type xstart: int + :param xend: X End + :type xend: int + :param ystart: Y Start + :type ystart: int + :param yend: Y End + :type yend: int + :param flip: Flip + :type flip: bool + :param cursor: Cursor, Mouse cursor style to use during the modal operator + :type cursor: int + :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view + :type use_front_faces_only: bool + :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line + :type use_limit_to_segment: bool :param mode: Mode * VALUE Value, Set mask to the level specified by the 'value' property. * VALUE_INVERSE Value Inverted, Set mask to the level specified by the inverted 'value' property. * INVERT Invert, Invert the mask. :type mode: typing.Union[int, str] :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked @@ -379,14 +456,14 @@ def vertex_color_smooth(): pass -def vertex_paint( - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None, - mode: typing.Union[int, str] = 'NORMAL'): +def vertex_paint(stroke: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] = None, + mode: typing.Union[int, str] = 'NORMAL'): ''' Paint a stroke in the active vertex color layer :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] :param mode: Stroke Mode, Action taken when a paint stroke is made * NORMAL Regular, Apply brush normally. * INVERT Invert, Invert action of brush for duration of stroke. * SMOOTH Smooth, Switch brush to smooth mode for duration of stroke. :type mode: typing.Union[int, str] ''' @@ -417,6 +494,7 @@ def weight_gradient(type: typing.Union[int, str] = 'LINEAR', xend: int = 0, ystart: int = 0, yend: int = 0, + flip: bool = False, cursor: int = 5): ''' Draw a line to apply a weight gradient to selected vertices @@ -430,6 +508,8 @@ def weight_gradient(type: typing.Union[int, str] = 'LINEAR', :type ystart: int :param yend: Y End :type yend: int + :param flip: Flip + :type flip: bool :param cursor: Cursor, Mouse cursor style to use during the modal operator :type cursor: int ''' @@ -437,14 +517,14 @@ def weight_gradient(type: typing.Union[int, str] = 'LINEAR', pass -def weight_paint( - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None, - mode: typing.Union[int, str] = 'NORMAL'): +def weight_paint(stroke: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] = None, + mode: typing.Union[int, str] = 'NORMAL'): ''' Paint a stroke in the current vertex group's weights :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] :param mode: Stroke Mode, Action taken when a paint stroke is made * NORMAL Regular, Apply brush normally. * INVERT Invert, Invert action of brush for duration of stroke. * SMOOTH Smooth, Switch brush to smooth mode for duration of stroke. :type mode: typing.Union[int, str] ''' diff --git a/blender_autocomplete/bpy/ops/particle.py b/blender_autocomplete/bpy/ops/particle.py index 8c1a907..65cf74a 100644 --- a/blender_autocomplete/bpy/ops/particle.py +++ b/blender_autocomplete/bpy/ops/particle.py @@ -3,13 +3,14 @@ import bpy.types -def brush_edit( - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None): +def brush_edit(stroke: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] = None + ): ''' Apply a stroke of brush to the particles :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] ''' pass @@ -18,7 +19,7 @@ def brush_edit( def connect_hair(all: bool = False): ''' Connect hair to the emitter mesh - :param all: All hair, Connect all hair systems to the emitter mesh + :param all: All Hair, Connect all hair systems to the emitter mesh :type all: bool ''' @@ -54,7 +55,7 @@ def delete(type: typing.Union[int, str] = 'PARTICLE'): def disconnect_hair(all: bool = False): ''' Disconnect hair from the emitter mesh - :param all: All hair, Disconnect all hair systems from the emitter mesh + :param all: All Hair, Disconnect all hair systems from the emitter mesh :type all: bool ''' diff --git a/blender_autocomplete/bpy/ops/preferences.py b/blender_autocomplete/bpy/ops/preferences.py index 72910a4..4ba4f5b 100644 --- a/blender_autocomplete/bpy/ops/preferences.py +++ b/blender_autocomplete/bpy/ops/preferences.py @@ -59,7 +59,7 @@ def addon_install(overwrite: bool = True, def addon_refresh(): - ''' Scan add-on directories for new modules :file: startup/bl_operators/userpref.py\:581 _ + ''' Scan add-on directories for new modules :file: startup/bl_operators/userpref.py\:587 _ ''' @@ -90,7 +90,7 @@ def app_template_install(overwrite: bool = True, filepath: str = "", filter_folder: bool = True, filter_glob: str = "*.zip"): - ''' Install an application-template + ''' Install an application template :param overwrite: Overwrite, Remove existing template with the same ID :type overwrite: bool @@ -105,6 +105,24 @@ def app_template_install(overwrite: bool = True, pass +def asset_library_add(): + ''' Add a path to a .blend file to be used by the Asset Browser as source of assets + + ''' + + pass + + +def asset_library_remove(index: int = 0): + ''' Remove a path to a .blend file, so the Asset Browser will not attempt to show it anymore + + :param index: Index + :type index: int + ''' + + pass + + def autoexec_path_add(): ''' Add path to exclude from auto-execution @@ -124,7 +142,7 @@ def autoexec_path_remove(index: int = 0): def copy_prev(): - ''' Copy settings from previous version :file: startup/bl_operators/userpref.py\:164 _ + ''' Copy settings from previous version :file: startup/bl_operators/userpref.py\:170 _ ''' @@ -178,7 +196,7 @@ def keyconfig_import(filepath: str = "keymap.py", :type filter_text: bool :param filter_python: Filter python :type filter_python: bool - :param keep_original: Keep original, Keep original file after copying to configuration folder + :param keep_original: Keep Original, Keep original file after copying to configuration folder :type keep_original: bool ''' @@ -186,7 +204,7 @@ def keyconfig_import(filepath: str = "keymap.py", def keyconfig_remove(): - ''' Remove key config :file: startup/bl_operators/userpref.py\:429 _ + ''' Remove key config :file: startup/bl_operators/userpref.py\:435 _ ''' @@ -194,7 +212,7 @@ def keyconfig_remove(): def keyconfig_test(): - ''' Test key-config for conflicts :file: startup/bl_operators/userpref.py\:188 _ + ''' Test key configuration for conflicts :file: startup/bl_operators/userpref.py\:194 _ ''' @@ -202,7 +220,7 @@ def keyconfig_test(): def keyitem_add(): - ''' Add key map item :file: startup/bl_operators/userpref.py\:377 _ + ''' Add key map item :file: startup/bl_operators/userpref.py\:383 _ ''' @@ -248,7 +266,7 @@ def reset_default_theme(): def studiolight_copy_settings(index: int = 0): - ''' Copy Studio Light settings to the Studio light editor + ''' Copy Studio Light settings to the Studio Light editor :param index: index :type index: int @@ -258,23 +276,25 @@ def studiolight_copy_settings(index: int = 0): def studiolight_install( - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, directory: str = "", filter_folder: bool = True, filter_glob: str = "*.png;*.jpg;*.hdr;*.exr", type: typing.Union[int, str] = 'MATCAP'): - ''' Install a user defined studio light + ''' Install a user defined light :param files: File Path - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param directory: directory :type directory: str - :param filter_folder: Filter folders + :param filter_folder: Filter Folders :type filter_folder: bool :param filter_glob: filter_glob :type filter_glob: str - :param type: Type + :param type: Type * MATCAP MatCap, Install custom MatCaps. * WORLD World, Install custom HDRIs. * STUDIO Studio, Install custom Studio Lights. :type type: typing.Union[int, str] ''' @@ -292,7 +312,7 @@ def studiolight_new(filename: str = "StudioLight"): def studiolight_show(): - ''' Show light preferences :file: startup/bl_operators/userpref.py\:1136 _ + ''' Show light preferences :file: startup/bl_operators/userpref.py\:1142 _ ''' diff --git a/blender_autocomplete/bpy/ops/rigidbody.py b/blender_autocomplete/bpy/ops/rigidbody.py index 386a52e..7d393a7 100644 --- a/blender_autocomplete/bpy/ops/rigidbody.py +++ b/blender_autocomplete/bpy/ops/rigidbody.py @@ -112,7 +112,7 @@ def objects_remove(): def shape_change(type: typing.Union[int, str] = 'MESH'): ''' Change collision shapes for selected Rigid Body Objects - :param type: Rigid Body Shape * BOX Box, Box-like shapes (i.e. cubes), including planes (i.e. ground planes). * SPHERE Sphere. * CAPSULE Capsule. * CYLINDER Cylinder. * CONE Cone. * CONVEX_HULL Convex Hull, A mesh-like surface encompassing (i.e. shrinkwrap over) all vertices (best results with fewer vertices). * MESH Mesh, Mesh consisting of triangles only, allowing for more detailed interactions than convex hulls. + :param type: Rigid Body Shape * BOX Box, Box-like shapes (i.e. cubes), including planes (i.e. ground planes). * SPHERE Sphere. * CAPSULE Capsule. * CYLINDER Cylinder. * CONE Cone. * CONVEX_HULL Convex Hull, A mesh-like surface encompassing (i.e. shrinkwrap over) all vertices (best results with fewer vertices). * MESH Mesh, Mesh consisting of triangles only, allowing for more detailed interactions than convex hulls. * COMPOUND Compound Parent, Combines all of its direct rigid body children into one rigid object. :type type: typing.Union[int, str] ''' diff --git a/blender_autocomplete/bpy/ops/scene.py b/blender_autocomplete/bpy/ops/scene.py index 990ce78..a48cf11 100644 --- a/blender_autocomplete/bpy/ops/scene.py +++ b/blender_autocomplete/bpy/ops/scene.py @@ -242,7 +242,7 @@ def light_cache_bake(delay: int = 0, subset: typing.Union[int, str] = 'ALL'): :param delay: Delay, Delay in millisecond before baking starts :type delay: int - :param subset: Subset, Subset of probes to update * ALL All LightProbes, Bake both irradiance grids and reflection cubemaps. * DIRTY Dirty Only, Only bake lightprobes that are marked as dirty. * CUBEMAPS Cubemaps Only, Try to only bake reflection cubemaps if irradiance grids are up to date. + :param subset: Subset, Subset of probes to update * ALL All Light Probes, Bake both irradiance grids and reflection cubemaps. * DIRTY Dirty Only, Only bake light probes that are marked as dirty. * CUBEMAPS Cubemaps Only, Try to only bake reflection cubemaps if irradiance grids are up to date. :type subset: typing.Union[int, str] ''' @@ -293,9 +293,25 @@ def view_layer_add(type: typing.Union[int, str] = 'NEW'): pass +def view_layer_add_aov(): + ''' Add a Shader AOV + + ''' + + pass + + def view_layer_remove(): ''' Remove the selected view layer ''' pass + + +def view_layer_remove_aov(): + ''' Remove Active AOV + + ''' + + pass diff --git a/blender_autocomplete/bpy/ops/screen.py b/blender_autocomplete/bpy/ops/screen.py index c135121..22b2c40 100644 --- a/blender_autocomplete/bpy/ops/screen.py +++ b/blender_autocomplete/bpy/ops/screen.py @@ -229,7 +229,7 @@ def region_flip(): def region_quadview(): - ''' Split selected area into camera, front, right & top views + ''' Split selected area into camera, front, right, and top views ''' @@ -315,7 +315,7 @@ def screenshot(filepath: str = "", show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', full: bool = True): ''' Capture a picture of the active area or whole Blender window @@ -365,7 +365,7 @@ def screenshot(filepath: str = "", :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param full: Full Screen, Capture the whole window (otherwise only capture the active area) :type full: bool @@ -385,7 +385,7 @@ def space_context_cycle(direction: typing.Union[int, str] = 'NEXT'): def space_type_set_or_cycle(space_type: typing.Union[int, str] = 'EMPTY'): - ''' Set the space type or cycle sub-type + ''' Set the space type or cycle subtype :param space_type: Type * EMPTY Empty. * VIEW_3D 3D Viewport, Manipulate objects in a 3D environment. * IMAGE_EDITOR UV/Image Editor, View and edit images and UV Maps. * NODE_EDITOR Node Editor, Editor for node-based shading and compositing tools. * SEQUENCE_EDITOR Video Sequencer, Video editing tools. * CLIP_EDITOR Movie Clip Editor, Motion tracking tools. * DOPESHEET_EDITOR Dope Sheet, Adjust timing of keyframes. * GRAPH_EDITOR Graph Editor, Edit drivers and keyframe interpolation. * NLA_EDITOR Nonlinear Animation, Combine and layer Actions. * TEXT_EDITOR Text Editor, Edit scripts and in-file documentation. * CONSOLE Python Console, Interactive programmatic console for advanced editing and script development. * INFO Info, Log of operations, warnings and error messages. * TOPBAR Top Bar, Global bar at the top of the screen for global per-window settings. * STATUSBAR Status Bar, Global bar at the bottom of the screen for general status information. * OUTLINER Outliner, Overview of scene graph and all available data-blocks. * PROPERTIES Properties, Edit properties of active object and related data-blocks. * FILE_BROWSER File Browser, Browse for files and assets. * PREFERENCES Preferences, Edit persistent configuration settings. :type space_type: typing.Union[int, str] diff --git a/blender_autocomplete/bpy/ops/script.py b/blender_autocomplete/bpy/ops/script.py index d1d0d0c..61389d8 100644 --- a/blender_autocomplete/bpy/ops/script.py +++ b/blender_autocomplete/bpy/ops/script.py @@ -25,7 +25,7 @@ def python_file_run(filepath: str = ""): def reload(): - ''' Reload Scripts + ''' Reload scripts ''' diff --git a/blender_autocomplete/bpy/ops/sculpt.py b/blender_autocomplete/bpy/ops/sculpt.py index 95b4579..f38276c 100644 --- a/blender_autocomplete/bpy/ops/sculpt.py +++ b/blender_autocomplete/bpy/ops/sculpt.py @@ -3,15 +3,15 @@ import bpy.types -def brush_stroke( - stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], - 'bpy_prop_collection'] = None, - mode: typing.Union[int, str] = 'NORMAL', - ignore_background_click: bool = False): +def brush_stroke(stroke: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing. + List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] = None, + mode: typing.Union[int, str] = 'NORMAL', + ignore_background_click: bool = False): ''' Sculpt a stroke into the geometry :param stroke: Stroke - :type stroke: typing.Union[typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] + :type stroke: typing.Union[typing.Dict[str, 'bpy.types.OperatorStrokeElement'], typing.List['bpy.types.OperatorStrokeElement'], 'bpy_prop_collection'] :param mode: Stroke Mode, Action taken when a paint stroke is made * NORMAL Regular, Apply brush normally. * INVERT Invert, Invert action of brush for duration of stroke. * SMOOTH Smooth, Switch brush to smooth mode for duration of stroke. :type mode: typing.Union[int, str] :param ignore_background_click: Ignore Background Click, Clicks on the background do not start the stroke @@ -23,21 +23,32 @@ def brush_stroke( def cloth_filter(type: typing.Union[int, str] = 'GRAVITY', strength: float = 1.0, + force_axis: typing.Union[typing.Set[int], typing.Set[str]] = { + 'X', 'Y', 'Z' + }, + orientation: typing.Union[int, str] = 'LOCAL', cloth_mass: float = 1.0, cloth_damping: float = 0.0, - use_face_sets: bool = False): + use_face_sets: bool = False, + use_collisions: bool = False): ''' Applies a cloth simulation deformation to the entire mesh - :param type: Filter type, Operation that is going to be applied to the mesh * GRAVITY Gravity, Applies gravity to the simulation. * INFLATE Inflate, Inflates the cloth. * EXPAND Expand, Expands the cloth's dimensions. * PINCH Pinch, Pinches the cloth to the point where the cursor was when the filter started. + :param type: Filter Type, Operation that is going to be applied to the mesh * GRAVITY Gravity, Applies gravity to the simulation. * INFLATE Inflate, Inflates the cloth. * EXPAND Expand, Expands the cloth's dimensions. * PINCH Pinch, Pulls the cloth to the cursor's start position. * SCALE Scale, Scales the mesh as a soft body using the origin of the object as scale. :type type: typing.Union[int, str] - :param strength: Strength, Filter Strength + :param strength: Strength, Filter strength :type strength: float + :param force_axis: Force Axis, Apply the force in the selected axis * X X, Apply force in the X axis. * Y Y, Apply force in the Y axis. * Z Z, Apply force in the Z axis. + :type force_axis: typing.Union[typing.Set[int], typing.Set[str]] + :param orientation: Orientation, Orientation of the axis to limit the filter force * LOCAL Local, Use the local axis to limit the force and set the gravity direction. * WORLD World, Use the global axis to limit the force and set the gravity direction. * VIEW View, Use the view axis to limit the force and set the gravity direction. + :type orientation: typing.Union[int, str] :param cloth_mass: Cloth Mass, Mass of each simulation particle :type cloth_mass: float :param cloth_damping: Cloth Damping, How much the applied forces are propagated through the cloth :type cloth_damping: float :param use_face_sets: Use Face Sets, Apply the filter only to the Face Set under the cursor :type use_face_sets: bool + :param use_collisions: Use Collisions, Collide with other collider objects in the scene + :type use_collisions: bool ''' pass @@ -48,9 +59,9 @@ def color_filter(type: typing.Union[int, str] = 'HUE', fill_color: typing.List[float] = (0.0, 0.0, 0.0)): ''' Applies a filter to modify the current sculpt vertex colors - :param type: Filter type * FILL Fill, Fill with a specific color. * HUE Hue, Change hue. * SATURATION Saturation, Change saturation. * VALUE Value, Change value. * BRIGTHNESS Brightness, Change brightness. * CONTRAST Contrast, Change contrast. * SMOOTH Smooth, Smooth colors. * RED Red, Change red channel. * GREEN Green, Change green channel. * BLUE Blue, Change blue channel. + :param type: Filter Type * FILL Fill, Fill with a specific color. * HUE Hue, Change hue. * SATURATION Saturation, Change saturation. * VALUE Value, Change value. * BRIGTHNESS Brightness, Change brightness. * CONTRAST Contrast, Change contrast. * SMOOTH Smooth, Smooth colors. * RED Red, Change red channel. * GREEN Green, Change green channel. * BLUE Blue, Change blue channel. :type type: typing.Union[int, str] - :param strength: Strength, Filter Strength + :param strength: Strength, Filter strength :type strength: float :param fill_color: Fill Color :type fill_color: typing.List[float] @@ -85,6 +96,42 @@ def dynamic_topology_toggle(): pass +def dyntopo_detail_size_edit(): + ''' Modify the constant detail size of dyntopo interactively + + ''' + + pass + + +def face_set_box_gesture(xmin: int = 0, + xmax: int = 0, + ymin: int = 0, + ymax: int = 0, + wait_for_input: bool = True, + use_front_faces_only: bool = False, + use_limit_to_segment: bool = False): + ''' Add face set within the box as you move the brush + + :param xmin: X Min + :type xmin: int + :param xmax: X Max + :type xmax: int + :param ymin: Y Min + :type ymin: int + :param ymax: Y Max + :type ymax: int + :param wait_for_input: Wait for Input + :type wait_for_input: bool + :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view + :type use_front_faces_only: bool + :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line + :type use_limit_to_segment: bool + ''' + + pass + + def face_set_change_visibility(mode: typing.Union[int, str] = 'TOGGLE'): ''' Change the visibility of the Face Sets of the sculpt @@ -95,11 +142,32 @@ def face_set_change_visibility(mode: typing.Union[int, str] = 'TOGGLE'): pass -def face_set_edit(mode: typing.Union[int, str] = 'GROW'): +def face_set_edit(mode: typing.Union[int, str] = 'GROW', + modify_hidden: bool = True): ''' Edits the current active Face Set - :param mode: Mode * GROW Grow Face Set, Grows the Face Sets boundary by one face based on mesh topology. * SHRINK Shrink Face Set, Shrinks the Face Sets boundary by one face based on mesh topology. + :param mode: Mode * GROW Grow Face Set, Grows the Face Sets boundary by one face based on mesh topology. * SHRINK Shrink Face Set, Shrinks the Face Sets boundary by one face based on mesh topology. * DELETE_GEOMETRY Delete Geometry, Deletes the faces that are assigned to the Face Set. * FAIR_POSITIONS Fair Positions, Creates a smooth as possible geometry patch from the Face Set minimizing changes in vertex positions. * FAIR_TANGENCY Fair Tangency, Creates a smooth as possible geometry patch from the Face Set minimizing changes in vertex tangents. :type mode: typing.Union[int, str] + :param modify_hidden: Modify Hidden, Apply the edit operation to hidden Face Sets + :type modify_hidden: bool + ''' + + pass + + +def face_set_lasso_gesture(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, + use_front_faces_only: bool = False, + use_limit_to_segment: bool = False): + ''' Add face set within the lasso as you move the brush + + :param path: Path + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view + :type use_front_faces_only: bool + :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line + :type use_limit_to_segment: bool ''' pass @@ -108,7 +176,7 @@ def face_set_edit(mode: typing.Union[int, str] = 'GROW'): def face_sets_create(mode: typing.Union[int, str] = 'MASKED'): ''' Create a new Face Set - :param mode: Mode * MASKED Face Set From Masked, Create a new Face Set from the masked faces. * VISIBLE Face Set From Visible, Create a new Face Set from the visible vertices. * ALL Face Set Full Mesh, Create an unique Face Set with all faces in the sculpt. * SELECTION Face Set From Edit Mode Selection, Create an Face Set corresponding to the Edit Mode face selection. + :param mode: Mode * MASKED Face Set from Masked, Create a new Face Set from the masked faces. * VISIBLE Face Set from Visible, Create a new Face Set from the visible vertices. * ALL Face Set Full Mesh, Create an unique Face Set with all faces in the sculpt. * SELECTION Face Set from Edit Mode Selection, Create an Face Set corresponding to the Edit Mode face selection. :type mode: typing.Union[int, str] ''' @@ -119,7 +187,7 @@ def face_sets_init(mode: typing.Union[int, str] = 'LOOSE_PARTS', threshold: float = 0.5): ''' Initializes all Face Sets in the mesh - :param mode: Mode * LOOSE_PARTS Face Sets From Loose Parts, Create a Face Set per loose part in the mesh. * MATERIALS Face Sets From Material Slots, Create a Face Set per Material Slot. * NORMALS Face Sets From Mesh Normals, Create Face Sets for Faces that have similar normal. * UV_SEAMS Face Sets From UV Seams, Create Face Sets using UV Seams as boundaries. * CREASES Face Sets From Edge Creases, Create Face Sets using Edge Creases as boundaries. * BEVEL_WEIGHT Face Sets From Bevel Weight, Create Face Sets using Bevel Weights as boundaries. * SHARP_EDGES Face Sets From Sharp Edges, Create Face Sets using Sharp Edges as boundaries. * FACE_MAPS Face Sets From Face Maps, Create a Face Set per Face Map. + :param mode: Mode * LOOSE_PARTS Face Sets from Loose Parts, Create a Face Set per loose part in the mesh. * MATERIALS Face Sets from Material Slots, Create a Face Set per Material Slot. * NORMALS Face Sets from Mesh Normals, Create Face Sets for Faces that have similar normal. * UV_SEAMS Face Sets from UV Seams, Create Face Sets using UV Seams as boundaries. * CREASES Face Sets from Edge Creases, Create Face Sets using Edge Creases as boundaries. * BEVEL_WEIGHT Face Sets from Bevel Weight, Create Face Sets using Bevel Weights as boundaries. * SHARP_EDGES Face Sets from Sharp Edges, Create Face Sets using Sharp Edges as boundaries. * FACE_MAPS Face Sets from Face Maps, Create a Face Set per Face Map. :type mode: typing.Union[int, str] :param threshold: Threshold, Minimum value to consider a certain attribute a boundary when creating the Face Sets :type threshold: float @@ -180,9 +248,9 @@ def mask_expand(invert: bool = True, :type use_cursor: bool :param update_pivot: Update Pivot Position, Set the pivot position to the mask border after creating the mask :type update_pivot: bool - :param smooth_iterations: Smooth iterations + :param smooth_iterations: Smooth Iterations :type smooth_iterations: int - :param mask_speed: Mask speed + :param mask_speed: Mask Speed :type mask_speed: int :param use_normals: Use Normals, Generate the mask using the normals and curvature of the model :type use_normals: bool @@ -202,7 +270,7 @@ def mask_filter(filter_type: typing.Union[int, str] = 'SMOOTH', auto_iteration_count: bool = False): ''' Applies a filter to modify the current mask - :param filter_type: Type, Filter that is going to be applied to the mask * SMOOTH Smooth Mask, Smooth mask. * SHARPEN Sharpen Mask, Sharpen mask. * GROW Grow Mask, Grow mask. * SHRINK Shrink Mask, Shrink mask. * CONTRAST_INCREASE Increase contrast, Increase the contrast of the paint mask. * CONTRAST_DECREASE Decrease contrast, Decrease the contrast of the paint mask. + :param filter_type: Type, Filter that is going to be applied to the mask * SMOOTH Smooth Mask, Smooth mask. * SHARPEN Sharpen Mask, Sharpen mask. * GROW Grow Mask, Grow mask. * SHRINK Shrink Mask, Shrink mask. * CONTRAST_INCREASE Increase Contrast, Increase the contrast of the paint mask. * CONTRAST_DECREASE Decrease Contrast, Decrease the contrast of the paint mask. :type filter_type: typing.Union[int, str] :param iterations: Iterations, Number of times that the filter is going to be applied :type iterations: int @@ -218,26 +286,32 @@ def mesh_filter(type: typing.Union[int, str] = 'INFLATE', deform_axis: typing.Union[typing.Set[int], typing.Set[str]] = { 'X', 'Y', 'Z' }, - use_face_sets: bool = False, + orientation: typing.Union[int, str] = 'LOCAL', surface_smooth_shape_preservation: float = 0.5, surface_smooth_current_vertex: float = 0.5, - sharpen_smooth_ratio: float = 0.35): + sharpen_smooth_ratio: float = 0.35, + sharpen_intensify_detail_strength: float = 0.0, + sharpen_curvature_smooth_iterations: int = 0): ''' Applies a filter to modify the current mesh - :param type: Filter type, Operation that is going to be applied to the mesh * SMOOTH Smooth, Smooth mesh. * SCALE Scale, Scale mesh. * INFLATE Inflate, Inflate mesh. * SPHERE Sphere, Morph into sphere. * RANDOM Random, Randomize vertex positions. * RELAX Relax, Relax mesh. * RELAX_FACE_SETS Relax Face Sets, Smooth the edges of all the Face Sets. * SURFACE_SMOOTH Surface Smooth, Smooth the surface of the mesh, preserving the volume. * SHARPEN Sharpen, Sharpen the cavities of the mesh. + :param type: Filter Type, Operation that is going to be applied to the mesh * SMOOTH Smooth, Smooth mesh. * SCALE Scale, Scale mesh. * INFLATE Inflate, Inflate mesh. * SPHERE Sphere, Morph into sphere. * RANDOM Random, Randomize vertex positions. * RELAX Relax, Relax mesh. * RELAX_FACE_SETS Relax Face Sets, Smooth the edges of all the Face Sets. * SURFACE_SMOOTH Surface Smooth, Smooth the surface of the mesh, preserving the volume. * SHARPEN Sharpen, Sharpen the cavities of the mesh. * ENHANCE_DETAILS Enhance Details, Enhance the high frequency surface detail. * ERASE_DISCPLACEMENT Erase Displacement, Deletes the displacement of the Multires Modifier. :type type: typing.Union[int, str] - :param strength: Strength, Filter Strength + :param strength: Strength, Filter strength :type strength: float - :param deform_axis: Deform axis, Apply the deformation in the selected axis * X X, Deform in the X axis. * Y Y, Deform in the Y axis. * Z Z, Deform in the Z axis. + :param deform_axis: Deform Axis, Apply the deformation in the selected axis * X X, Deform in the X axis. * Y Y, Deform in the Y axis. * Z Z, Deform in the Z axis. :type deform_axis: typing.Union[typing.Set[int], typing.Set[str]] - :param use_face_sets: Use Face Sets, Apply the filter only to the Face Mask under the cursor - :type use_face_sets: bool + :param orientation: Orientation, Orientation of the axis to limit the filter displacement * LOCAL Local, Use the local axis to limit the displacement. * WORLD World, Use the global axis to limit the displacement. * VIEW View, Use the view axis to limit the displacement. + :type orientation: typing.Union[int, str] :param surface_smooth_shape_preservation: Shape Preservation, How much of the original shape is preserved when smoothing :type surface_smooth_shape_preservation: float :param surface_smooth_current_vertex: Per Vertex Displacement, How much the position of each individual vertex influences the final result :type surface_smooth_current_vertex: float :param sharpen_smooth_ratio: Smooth Ratio, How much smoothing is applied to polished surfaces :type sharpen_smooth_ratio: float + :param sharpen_intensify_detail_strength: Intensify Details, How much creases and valleys are intensified + :type sharpen_intensify_detail_strength: float + :param sharpen_curvature_smooth_iterations: Curvature Smooth Iterations, How much smooth the resulting shape is, ignoring high frequency details + :type sharpen_curvature_smooth_iterations: int ''' pass @@ -251,6 +325,37 @@ def optimize(): pass +def project_line_gesture(xstart: int = 0, + xend: int = 0, + ystart: int = 0, + yend: int = 0, + flip: bool = False, + cursor: int = 5, + use_front_faces_only: bool = False, + use_limit_to_segment: bool = False): + ''' Project the geometry onto a plane defined by a line + + :param xstart: X Start + :type xstart: int + :param xend: X End + :type xend: int + :param ystart: Y Start + :type ystart: int + :param yend: Y End + :type yend: int + :param flip: Flip + :type flip: bool + :param cursor: Cursor, Mouse cursor style to use during the modal operator + :type cursor: int + :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view + :type use_front_faces_only: bool + :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line + :type use_limit_to_segment: bool + ''' + + pass + + def sample_color(): ''' Sample the vertex color of the active vertex @@ -263,7 +368,7 @@ def sample_detail_size(location: typing.List[int] = (0, 0), mode: typing.Union[int, str] = 'DYNTOPO'): ''' Sample the mesh detail on clicked point - :param location: Location, Screen Coordinates of sampling + :param location: Location, Screen coordinates of sampling :type location: typing.List[int] :param mode: Detail Mode, Target sculpting workflow that is going to use the sampled size * DYNTOPO Dyntopo, Sample dyntopo detail. * VOXEL Voxel, Sample mesh voxel size. :type mode: typing.Union[int, str] @@ -301,7 +406,7 @@ def set_pivot_position(mode: typing.Union[int, str] = 'UNMASKED', mouse_y: float = 0.0): ''' Sets the sculpt transform pivot position - :param mode: Mode * ORIGIN Origin, Sets the pivot to the origin of the sculpt. * UNMASKED Unmasked, Sets the pivot position to the average position of the unmasked vertices. * BORDER Mask border, Sets the pivot position to the center of the border of the mask. * ACTIVE Active vertex, Sets the pivot position to the active vertex position. * SURFACE Surface, Sets the pivot position to the surface under the cursor. + :param mode: Mode * ORIGIN Origin, Sets the pivot to the origin of the sculpt. * UNMASKED Unmasked, Sets the pivot position to the average position of the unmasked vertices. * BORDER Mask Border, Sets the pivot position to the center of the border of the mask. * ACTIVE Active Vertex, Sets the pivot position to the active vertex position. * SURFACE Surface, Sets the pivot position to the surface under the cursor. :type mode: typing.Union[int, str] :param mouse_x: Mouse Position X, Position of the mouse used for "Surface" mode :type mouse_x: float @@ -322,6 +427,70 @@ def symmetrize(merge_tolerance: float = 0.001): pass +def trim_box_gesture(xmin: int = 0, + xmax: int = 0, + ymin: int = 0, + ymax: int = 0, + wait_for_input: bool = True, + use_front_faces_only: bool = False, + use_limit_to_segment: bool = False, + trim_mode: typing.Union[int, str] = 'DIFFERENCE', + use_cursor_depth: bool = False, + trim_orientation: typing.Union[int, str] = 'VIEW'): + ''' Trims the mesh within the box as you move the brush + + :param xmin: X Min + :type xmin: int + :param xmax: X Max + :type xmax: int + :param ymin: Y Min + :type ymin: int + :param ymax: Y Max + :type ymax: int + :param wait_for_input: Wait for Input + :type wait_for_input: bool + :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view + :type use_front_faces_only: bool + :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line + :type use_limit_to_segment: bool + :param trim_mode: Trim Mode * DIFFERENCE Difference, Use a difference boolean operation. * UNION Union, Use a union boolean operation. * JOIN Join, Join the new mesh as separate geometry, without performing any boolean operation. + :type trim_mode: typing.Union[int, str] + :param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape + :type use_cursor_depth: bool + :param trim_orientation: Shape Orientation * VIEW View, Use the view to orientate the trimming shape. * SURFACE Surface, Use the surface normal to orientate the trimming shape. + :type trim_orientation: typing.Union[int, str] + ''' + + pass + + +def trim_lasso_gesture(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, + use_front_faces_only: bool = False, + use_limit_to_segment: bool = False, + trim_mode: typing.Union[int, str] = 'DIFFERENCE', + use_cursor_depth: bool = False, + trim_orientation: typing.Union[int, str] = 'VIEW'): + ''' Trims the mesh within the lasso as you move the brush + + :param path: Path + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view + :type use_front_faces_only: bool + :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line + :type use_limit_to_segment: bool + :param trim_mode: Trim Mode * DIFFERENCE Difference, Use a difference boolean operation. * UNION Union, Use a union boolean operation. * JOIN Join, Join the new mesh as separate geometry, without performing any boolean operation. + :type trim_mode: typing.Union[int, str] + :param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape + :type use_cursor_depth: bool + :param trim_orientation: Shape Orientation * VIEW View, Use the view to orientate the trimming shape. * SURFACE Surface, Use the surface normal to orientate the trimming shape. + :type trim_orientation: typing.Union[int, str] + ''' + + pass + + def uv_sculpt_stroke(mode: typing.Union[int, str] = 'NORMAL'): ''' Sculpt UVs using a brush diff --git a/blender_autocomplete/bpy/ops/sequencer.py b/blender_autocomplete/bpy/ops/sequencer.py index 221ac92..8e7423e 100644 --- a/blender_autocomplete/bpy/ops/sequencer.py +++ b/blender_autocomplete/bpy/ops/sequencer.py @@ -26,8 +26,10 @@ def change_effect_type(type: typing.Union[int, str] = 'CROSS'): def change_path( filepath: str = "", directory: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, hide_props_region: bool = True, filter_blender: bool = False, filter_backup: bool = False, @@ -48,7 +50,7 @@ def change_path( filemode: int = 9, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', use_placeholders: bool = False): ''' Undocumented, consider contributing __. @@ -57,7 +59,7 @@ def change_path( :param directory: Directory, Directory of the file :type directory: str :param files: Files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings :type hide_props_region: bool :param filter_blender: Filter .blend files @@ -98,7 +100,7 @@ def change_path( :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param use_placeholders: Use Placeholders, Use placeholders for missing frames of the strip :type use_placeholders: bool @@ -190,7 +192,7 @@ def enable_proxies(proxy_25: bool = False, proxy_75: bool = False, proxy_100: bool = False, overwrite: bool = False): - ''' Enable selected proxies on all selected Movie, Image and Meta strips + ''' Enable selected proxies on all selected Movie and Image strips :param proxy_25: 25% :type proxy_25: bool @@ -228,7 +230,7 @@ def export_subtitles(filepath: str = "", filter_blenlib: bool = False, filemode: int = 8, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): + sort_method: typing.Union[int, str] = ''): ''' Export .srt file containing text strips :param filepath: File Path, Path to file @@ -273,7 +275,7 @@ def export_subtitles(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -286,7 +288,7 @@ def fades_add(duration_seconds: float = 1.0, :param duration_seconds: Fade Duration, Duration of the fade in seconds :type duration_seconds: float - :param type: Fade type, Fade in, out, both in and out, to, or from the current frame. Default is both in and out * IN_OUT Fade In And Out, Fade selected strips in and out. * IN Fade In, Fade in selected strips. * OUT Fade Out, Fade out selected strips. * CURSOR_FROM From Current Frame, Fade from the time cursor to the end of overlapping sequences. * CURSOR_TO To Current Frame, Fade from the start of sequences under the time cursor to the current frame. + :param type: Fade Type, Fade in, out, both in and out, to, or from the current frame. Default is both in and out * IN_OUT Fade In and Out, Fade selected strips in and out. * IN Fade In, Fade in selected strips. * OUT Fade Out, Fade out selected strips. * CURSOR_FROM From Current Frame, Fade from the time cursor to the end of overlapping sequences. * CURSOR_TO To Current Frame, Fade from the start of sequences under the time cursor to the current frame. :type type: typing.Union[int, str] ''' @@ -323,8 +325,10 @@ def gap_remove(all: bool = False): def image_strip_add( directory: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, filter_blender: bool = False, filter_backup: bool = False, filter_image: bool = True, @@ -346,19 +350,20 @@ def image_strip_add( show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', frame_start: int = 0, frame_end: int = 0, channel: int = 1, replace_sel: bool = True, overlap: bool = False, + fit_method: typing.Union[int, str] = 'FIT', use_placeholders: bool = False): ''' Add an image or image sequence to the sequencer :param directory: Directory, Directory of the file :type directory: str :param files: Files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param filter_blender: Filter .blend files :type filter_blender: bool :param filter_backup: Filter .blend files @@ -401,7 +406,7 @@ def image_strip_add( :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param frame_start: Start Frame, Start frame of the sequence strip :type frame_start: int @@ -413,6 +418,8 @@ def image_strip_add( :type replace_sel: bool :param overlap: Allow Overlap, Don't correct overlap on new sequence strips :type overlap: bool + :param fit_method: Fit Method, Scale fit method * FIT Scale to Fit, Scale image to fit within the canvas. * FILL Scale to Fill, Scale image to completely fill the canvas. * STRETCH Stretch to Fill, Stretch image to fill the canvas. * ORIGINAL Use Original Size, Keep image at its original size. + :type fit_method: typing.Union[int, str] :param use_placeholders: Use Placeholders, Use placeholders for missing frames of the strip :type use_placeholders: bool ''' @@ -487,8 +494,10 @@ def meta_toggle(): def movie_strip_add( filepath: str = "", directory: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, filter_blender: bool = False, filter_backup: bool = False, filter_image: bool = False, @@ -510,11 +519,12 @@ def movie_strip_add( show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', frame_start: int = 0, channel: int = 1, replace_sel: bool = True, overlap: bool = False, + fit_method: typing.Union[int, str] = 'FIT', sound: bool = True, use_framerate: bool = True): ''' Add a movie strip to the sequencer @@ -524,7 +534,7 @@ def movie_strip_add( :param directory: Directory, Directory of the file :type directory: str :param files: Files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param filter_blender: Filter .blend files :type filter_blender: bool :param filter_backup: Filter .blend files @@ -567,7 +577,7 @@ def movie_strip_add( :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param frame_start: Start Frame, Start frame of the sequence strip :type frame_start: int @@ -577,6 +587,8 @@ def movie_strip_add( :type replace_sel: bool :param overlap: Allow Overlap, Don't correct overlap on new sequence strips :type overlap: bool + :param fit_method: Fit Method, Scale fit method * FIT Scale to Fit, Scale image to fit within the canvas. * FILL Scale to Fill, Scale image to completely fill the canvas. * STRETCH Stretch to Fill, Stretch image to fill the canvas. * ORIGINAL Use Original Size, Keep image at its original size. + :type fit_method: typing.Union[int, str] :param sound: Sound, Load sound with the movie :type sound: bool :param use_framerate: Use Movie Framerate, Use framerate from the movie to keep sound and video in sync @@ -626,9 +638,11 @@ def offset_clear(): pass -def paste(): +def paste(keep_offset: bool = False): ''' Paste strips from clipboard + :param keep_offset: Keep Offset, Keep strip offset to playhead when pasting + :type keep_offset: bool ''' pass @@ -785,7 +799,7 @@ def select_grouped(type: typing.Union[int, str] = 'TYPE', use_active_channel: bool = False): ''' Select all strips grouped by various properties - :param type: Type * TYPE Type, Shared strip type. * TYPE_BASIC Global Type, All strips of same basic type (Graphical or Sound). * TYPE_EFFECT Effect Type, Shared strip effect type (if active strip is not an effect one, select all non-effect strips). * DATA Data, Shared data (scene, image, sound, etc.). * EFFECT Effect, Shared effects. * EFFECT_LINK Effect/Linked, Other strips affected by the active one (sharing some time, and below or effect-assigned). * OVERLAP Overlap, Overlapping time. + :param type: Type * TYPE Type, Shared strip type. * TYPE_BASIC Global Type, All strips of same basic type (graphical or sound). * TYPE_EFFECT Effect Type, Shared strip effect type (if active strip is not an effect one, select all non-effect strips). * DATA Data, Shared data (scene, image, sound, etc.). * EFFECT Effect, Shared effects. * EFFECT_LINK Effect/Linked, Other strips affected by the active one (sharing some time, and below or effect-assigned). * OVERLAP Overlap, Overlapping time. :type type: typing.Union[int, str] :param extend: Extend, Extend selection instead of deselecting everything first :type extend: bool @@ -896,8 +910,10 @@ def snap(frame: int = 0): def sound_strip_add( filepath: str = "", directory: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, filter_blender: bool = False, filter_backup: bool = False, filter_image: bool = False, @@ -917,7 +933,7 @@ def sound_strip_add( filemode: int = 9, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', frame_start: int = 0, channel: int = 1, replace_sel: bool = True, @@ -931,7 +947,7 @@ def sound_strip_add( :param directory: Directory, Directory of the file :type directory: str :param files: Files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param filter_blender: Filter .blend files :type filter_blender: bool :param filter_backup: Filter .blend files @@ -970,7 +986,7 @@ def sound_strip_add( :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param frame_start: Start Frame, Start frame of the sequence strip :type frame_start: int @@ -1015,7 +1031,7 @@ def split(frame: int = 0, def split_multicam(camera: int = 1): - ''' Split multi-cam strip and select camera + ''' Split multicam strip and select camera :param camera: Camera :type camera: int @@ -1029,7 +1045,7 @@ def strip_jump(next: bool = True, center: bool = True): :param next: Next Strip :type next: bool - :param center: Use strip center + :param center: Use Strip Center :type center: bool ''' @@ -1079,6 +1095,26 @@ def strip_modifier_remove(name: str = "Name"): pass +def strip_transform_clear(property: typing.Union[int, str] = 'ALL'): + ''' Reset image transformation to default value + + :param property: Property, Strip transform property to be reset * POSITION Position, Reset strip transform location. * SCALE Scale, Reset strip transform scale. * ROTATION Rotation, Reset strip transform rotation. * ALL All, Reset strip transform location, scale and rotation. + :type property: typing.Union[int, str] + ''' + + pass + + +def strip_transform_fit(fit_method: typing.Union[int, str] = 'FIT'): + ''' Undocumented, consider contributing __. + + :param fit_method: Fit Method, Scale fit fit_method * FIT Scale to Fit, Scale image so fits in preview. * FILL Scale to Fill, Scale image so it fills preview completely. * STRETCH Stretch to Fill, Stretch image so it fills preview. + :type fit_method: typing.Union[int, str] + ''' + + pass + + def swap(side: typing.Union[int, str] = 'RIGHT'): ''' Swap active strip with strip to the right or left @@ -1152,7 +1188,7 @@ def view_ghost_border(xmin: int = 0, ymin: int = 0, ymax: int = 0, wait_for_input: bool = True): - ''' Set the boundaries of the border used for offset-view + ''' Set the boundaries of the border used for offset view :param xmin: X Min :type xmin: int diff --git a/blender_autocomplete/bpy/ops/simulation.py b/blender_autocomplete/bpy/ops/simulation.py deleted file mode 100644 index 6845b1d..0000000 --- a/blender_autocomplete/bpy/ops/simulation.py +++ /dev/null @@ -1,10 +0,0 @@ -import sys -import typing - - -def new(): - ''' Create a new simulation data block and edit it in the opened simulation editor :file: startup/bl_operators/simulation.py\:32 _ - - ''' - - pass diff --git a/blender_autocomplete/bpy/ops/sound.py b/blender_autocomplete/bpy/ops/sound.py index 779e575..2563cb4 100644 --- a/blender_autocomplete/bpy/ops/sound.py +++ b/blender_autocomplete/bpy/ops/sound.py @@ -31,7 +31,7 @@ def mixdown(filepath: str = "", filemode: int = 9, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', accuracy: int = 1024, container: typing.Union[int, str] = 'FLAC', codec: typing.Union[int, str] = 'FLAC', @@ -82,7 +82,7 @@ def mixdown(filepath: str = "", :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param accuracy: Accuracy, Sample accuracy, important for animation data (the lower the value, the more accurate) :type accuracy: int @@ -90,7 +90,7 @@ def mixdown(filepath: str = "", :type container: typing.Union[int, str] :param codec: Codec, Audio Codec * AAC AAC, Advanced Audio Coding. * AC3 AC3, Dolby Digital ATRAC 3. * FLAC FLAC, Free Lossless Audio Codec. * MP2 MP2, MPEG-1 Audio Layer II. * MP3 MP3, MPEG-2 Audio Layer III. * PCM PCM, Pulse Code Modulation (RAW). * VORBIS Vorbis, Xiph.Org Vorbis Codec. :type codec: typing.Union[int, str] - :param format: Format, Sample format * U8 U8, 8 bit unsigned. * S16 S16, 16 bit signed. * S24 S24, 24 bit signed. * S32 S32, 32 bit signed. * F32 F32, 32 bit floating point. * F64 F64, 64 bit floating point. + :param format: Format, Sample format * U8 U8, 8-bit unsigned. * S16 S16, 16-bit signed. * S24 S24, 24-bit signed. * S32 S32, 32-bit signed. * F32 F32, 32-bit floating-point. * F64 F64, 64-bit floating-point. :type format: typing.Union[int, str] :param bitrate: Bitrate, Bitrate in kbit/s :type bitrate: int @@ -124,7 +124,7 @@ def open(filepath: str = "", show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', cache: bool = False, mono: bool = False): ''' Load a sound file @@ -175,7 +175,7 @@ def open(filepath: str = "", :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param cache: Cache, Cache the sound in memory :type cache: bool @@ -209,7 +209,7 @@ def open_mono(filepath: str = "", show_multiview: bool = False, use_multiview: bool = False, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', cache: bool = False, mono: bool = True): ''' Load a sound file as mono @@ -260,7 +260,7 @@ def open_mono(filepath: str = "", :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param cache: Cache, Cache the sound in memory :type cache: bool diff --git a/blender_autocomplete/bpy/ops/surface.py b/blender_autocomplete/bpy/ops/surface.py index 3767256..ee9dfd3 100644 --- a/blender_autocomplete/bpy/ops/surface.py +++ b/blender_autocomplete/bpy/ops/surface.py @@ -13,7 +13,7 @@ def primitive_nurbs_surface_circle_add( :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -39,7 +39,7 @@ def primitive_nurbs_surface_curve_add( :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -65,7 +65,7 @@ def primitive_nurbs_surface_cylinder_add( :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -91,7 +91,7 @@ def primitive_nurbs_surface_sphere_add( :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -117,7 +117,7 @@ def primitive_nurbs_surface_surface_add( :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] @@ -143,7 +143,7 @@ def primitive_nurbs_surface_torus_add( :param radius: Radius :type radius: float - :param enter_editmode: Enter Editmode, Enter editmode when adding this object + :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object :type enter_editmode: bool :param align: Align, The alignment of the new object * WORLD World, Align the new object to the world. * VIEW View, Align the new object to the view. * CURSOR 3D Cursor, Use the 3D cursor orientation for the new object. :type align: typing.Union[int, str] diff --git a/blender_autocomplete/bpy/ops/text.py b/blender_autocomplete/bpy/ops/text.py index 323ffe2..c4fcd08 100644 --- a/blender_autocomplete/bpy/ops/text.py +++ b/blender_autocomplete/bpy/ops/text.py @@ -210,7 +210,7 @@ def open(filepath: str = "", filter_blenlib: bool = False, filemode: int = 9, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', internal: bool = False): ''' Open a new text data-block @@ -254,9 +254,9 @@ def open(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] - :param internal: Make internal, Make text file internal after loading + :param internal: Make Internal, Make text file internal after loading :type internal: bool ''' @@ -300,7 +300,7 @@ def reload(): def replace(all: bool = False): ''' Replace text with the specified text - :param all: Replace all, Replace all occurrences + :param all: Replace All, Replace all occurrences :type all: bool ''' @@ -362,7 +362,7 @@ def save_as(filepath: str = "", filter_blenlib: bool = False, filemode: int = 9, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): + sort_method: typing.Union[int, str] = ''): ''' Save active text file with options :param filepath: File Path, Path to file @@ -407,7 +407,7 @@ def save_as(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' diff --git a/blender_autocomplete/bpy/ops/transform.py b/blender_autocomplete/bpy/ops/transform.py index 997f32b..e5db83d 100644 --- a/blender_autocomplete/bpy/ops/transform.py +++ b/blender_autocomplete/bpy/ops/transform.py @@ -242,11 +242,6 @@ def mirror(orient_type: typing.Union[int, str] = 'GLOBAL', 0.0)), orient_matrix_type: typing.Union[int, str] = 'GLOBAL', constraint_axis: typing.List[bool] = (False, False, False), - use_proportional_edit: bool = False, - proportional_edit_falloff: typing.Union[int, str] = 'SMOOTH', - proportional_size: float = 1.0, - use_proportional_connected: bool = False, - use_proportional_projected: bool = False, gpencil_strokes: bool = False, center_override: typing.List[float] = (0.0, 0.0, 0.0), release_confirm: bool = False, @@ -261,16 +256,6 @@ def mirror(orient_type: typing.Union[int, str] = 'GLOBAL', :type orient_matrix_type: typing.Union[int, str] :param constraint_axis: Constraint Axis :type constraint_axis: typing.List[bool] - :param use_proportional_edit: Proportional Editing - :type use_proportional_edit: bool - :param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode * SMOOTH Smooth, Smooth falloff. * SPHERE Sphere, Spherical falloff. * ROOT Root, Root falloff. * INVERSE_SQUARE Inverse Square, Inverse Square falloff. * SHARP Sharp, Sharp falloff. * LINEAR Linear, Linear falloff. * CONSTANT Constant, Constant falloff. * RANDOM Random, Random falloff. - :type proportional_edit_falloff: typing.Union[int, str] - :param proportional_size: Proportional Size - :type proportional_size: float - :param use_proportional_connected: Connected - :type use_proportional_connected: bool - :param use_proportional_projected: Projected (2D) - :type use_proportional_projected: bool :param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes :type gpencil_strokes: bool :param center_override: Center Override, Force using this center value (when set) @@ -396,7 +381,7 @@ def resize(value: typing.List[float] = (1.0, 1.0, 1.0), :type snap_normal: typing.List[float] :param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes :type gpencil_strokes: bool - :param texture_space: Edit Texture Space, Edit Object data texture space + :param texture_space: Edit Texture Space, Edit object data texture space :type texture_space: bool :param remove_on_cancel: Remove on Cancel, Remove elements on cancel :type remove_on_cancel: bool @@ -809,7 +794,7 @@ def tosphere(value: float = 0.0, center_override: typing.List[float] = (0.0, 0.0, 0.0), release_confirm: bool = False, use_accurate: bool = False): - ''' Move selected vertices outward in a spherical shape around mesh center + ''' Move selected items outward in a spherical shape around geometric center :param value: Factor :type value: float @@ -1041,7 +1026,7 @@ def translate(value: typing.List[float] = (0.0, 0.0, 0.0), :type gpencil_strokes: bool :param cursor_transform: Transform Cursor :type cursor_transform: bool - :param texture_space: Edit Texture Space, Edit Object data texture space + :param texture_space: Edit Texture Space, Edit object data texture space :type texture_space: bool :param remove_on_cancel: Remove on Cancel, Remove elements on cancel :type remove_on_cancel: bool @@ -1049,7 +1034,7 @@ def translate(value: typing.List[float] = (0.0, 0.0, 0.0), :type release_confirm: bool :param use_accurate: Accurate, Use accurate transformation :type use_accurate: bool - :param use_automerge_and_split: Auto Merge & Split, Forces the use of Auto Merge & Split + :param use_automerge_and_split: Auto Merge & Split, Forces the use of Auto Merge and Split :type use_automerge_and_split: bool ''' diff --git a/blender_autocomplete/bpy/ops/uv.py b/blender_autocomplete/bpy/ops/uv.py index bea89eb..7071316 100644 --- a/blender_autocomplete/bpy/ops/uv.py +++ b/blender_autocomplete/bpy/ops/uv.py @@ -43,7 +43,7 @@ def cube_project(cube_size: float = 1.0, def cursor_set(location: typing.List[float] = (0.0, 0.0)): ''' Set 2D cursor location - :param location: Location, Cursor location in normalized (0.0-1.0) coordinates + :param location: Location, Cursor location in normalized (0.0 to 1.0) coordinates :type location: typing.List[float] ''' @@ -134,15 +134,15 @@ def lightmap_pack(PREF_CONTEXT: typing.Union[int, str] = 'SEL_FACES', :param PREF_CONTEXT: Selection * SEL_FACES Selected Faces, Space all UVs evenly. * ALL_FACES All Faces, Average space UVs edge length of each loop. :type PREF_CONTEXT: typing.Union[int, str] - :param PREF_PACK_IN_ONE: Share Tex Space, Objects Share texture space, map all objects into 1 uvmap + :param PREF_PACK_IN_ONE: Share Texture Space, Objects Share texture space, map all objects into 1 uvmap :type PREF_PACK_IN_ONE: bool :param PREF_NEW_UVLAYER: New UV Map, Create a new UV map for every mesh packed :type PREF_NEW_UVLAYER: bool :param PREF_APPLY_IMAGE: New Image, Assign new images for every mesh (only one if shared tex space enabled) :type PREF_APPLY_IMAGE: bool - :param PREF_IMG_PX_SIZE: Image Size, Width and Height for the new image + :param PREF_IMG_PX_SIZE: Image Size, Width and height for the new image :type PREF_IMG_PX_SIZE: int - :param PREF_BOX_DIV: Pack Quality, Pre Packing before the complex boxpack + :param PREF_BOX_DIV: Pack Quality, Pre-packing before the complex boxpack :type PREF_BOX_DIV: int :param PREF_MARGIN_DIV: Margin, Size of the margin as a division of the UV :type PREF_MARGIN_DIV: float @@ -381,13 +381,14 @@ def select_edge_ring(extend: bool = False, pass -def select_lasso(path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None, +def select_lasso(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, mode: typing.Union[int, str] = 'SET'): ''' Select UVs using lasso selection :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] :param mode: Mode * SET Set, Set a new selection. * ADD Extend, Extend existing selection. * SUB Subtract, Subtract existing selection. :type mode: typing.Union[int, str] ''' @@ -526,23 +527,23 @@ def shortest_path_select(use_face_step: bool = False, pass -def smart_project(angle_limit: float = 66.0, +def smart_project(angle_limit: float = 1.15192, island_margin: float = 0.0, - user_area_weight: float = 0.0, - use_aspect: bool = True, - stretch_to_bounds: bool = True): - ''' This script projection unwraps the selected faces of a mesh (it operates on all selected mesh objects, and can be used to unwrap selected faces, or all faces) + area_weight: float = 0.0, + correct_aspect: bool = True, + scale_to_bounds: bool = False): + ''' Projection unwraps the selected faces of mesh objects :param angle_limit: Angle Limit, Lower for more projection groups, higher for less distortion :type angle_limit: float :param island_margin: Island Margin, Margin to reduce bleed from adjacent islands :type island_margin: float - :param user_area_weight: Area Weight, Weight projections vector by faces with larger areas - :type user_area_weight: float - :param use_aspect: Correct Aspect, Map UVs taking image aspect ratio into account - :type use_aspect: bool - :param stretch_to_bounds: Stretch to UV Bounds, Stretch the final output to texture bounds - :type stretch_to_bounds: bool + :param area_weight: Area Weight, Weight projection's vector by faces with larger areas + :type area_weight: float + :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account + :type correct_aspect: bool + :param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping + :type scale_to_bounds: bool ''' pass @@ -590,18 +591,20 @@ def sphere_project(direction: typing.Union[int, str] = 'VIEW_ON_EQUATOR', pass -def stitch(use_limit: bool = False, - snap_islands: bool = True, - limit: float = 0.01, - static_island: int = 0, - active_object_index: int = 0, - midpoint_snap: bool = False, - clear_seams: bool = True, - mode: typing.Union[int, str] = 'VERTEX', - stored_mode: typing.Union[int, str] = 'VERTEX', - selection: typing.Union[typing.List['bpy.types.SelectedUvElement'], - 'bpy_prop_collection'] = None, - objects_selection_count: typing.List[int] = (0, 0, 0, 0, 0, 0)): +def stitch( + use_limit: bool = False, + snap_islands: bool = True, + limit: float = 0.01, + static_island: int = 0, + active_object_index: int = 0, + midpoint_snap: bool = False, + clear_seams: bool = True, + mode: typing.Union[int, str] = 'VERTEX', + stored_mode: typing.Union[int, str] = 'VERTEX', + selection: typing.Union[ + typing.Dict[str, 'bpy.types.SelectedUvElement'], typing. + List['bpy.types.SelectedUvElement'], 'bpy_prop_collection'] = None, + objects_selection_count: typing.List[int] = (0, 0, 0, 0, 0, 0)): ''' Stitch selected UV vertices by proximity :param use_limit: Use Limit, Stitch UVs within a specified limit distance @@ -614,7 +617,7 @@ def stitch(use_limit: bool = False, :type static_island: int :param active_object_index: Active Object, Index of the active object :type active_object_index: int - :param midpoint_snap: Snap At Midpoint, UVs are stitched at midpoint instead of at static island + :param midpoint_snap: Snap at Midpoint, UVs are stitched at midpoint instead of at static island :type midpoint_snap: bool :param clear_seams: Clear Seams, Clear seams of stitched edges :type clear_seams: bool @@ -623,7 +626,7 @@ def stitch(use_limit: bool = False, :param stored_mode: Stored Operation Mode, Use vertex or edge stitching :type stored_mode: typing.Union[int, str] :param selection: Selection - :type selection: typing.Union[typing.List['bpy.types.SelectedUvElement'], 'bpy_prop_collection'] + :type selection: typing.Union[typing.Dict[str, 'bpy.types.SelectedUvElement'], typing.List['bpy.types.SelectedUvElement'], 'bpy_prop_collection'] :param objects_selection_count: Objects Selection Count :type objects_selection_count: typing.List[int] ''' diff --git a/blender_autocomplete/bpy/ops/view3d.py b/blender_autocomplete/bpy/ops/view3d.py index a5dd2de..b1b36ab 100644 --- a/blender_autocomplete/bpy/ops/view3d.py +++ b/blender_autocomplete/bpy/ops/view3d.py @@ -3,32 +3,31 @@ import bpy.types -def background_image_add( - name: str = "Image", - filepath: str = "", - hide_props_region: bool = True, - filter_blender: bool = False, - filter_backup: bool = False, - filter_image: bool = True, - filter_movie: bool = True, - filter_python: bool = False, - filter_font: bool = False, - filter_sound: bool = False, - filter_text: bool = False, - filter_archive: bool = False, - filter_btx: bool = False, - filter_collada: bool = False, - filter_alembic: bool = False, - filter_usd: bool = False, - filter_volume: bool = False, - filter_folder: bool = True, - filter_blenlib: bool = False, - filemode: int = 9, - relative_path: bool = True, - show_multiview: bool = False, - use_multiview: bool = False, - display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): +def background_image_add(name: str = "Image", + filepath: str = "", + hide_props_region: bool = True, + filter_blender: bool = False, + filter_backup: bool = False, + filter_image: bool = True, + filter_movie: bool = True, + filter_python: bool = False, + filter_font: bool = False, + filter_sound: bool = False, + filter_text: bool = False, + filter_archive: bool = False, + filter_btx: bool = False, + filter_collada: bool = False, + filter_alembic: bool = False, + filter_usd: bool = False, + filter_volume: bool = False, + filter_folder: bool = True, + filter_blenlib: bool = False, + filemode: int = 9, + relative_path: bool = True, + show_multiview: bool = False, + use_multiview: bool = False, + display_type: typing.Union[int, str] = 'DEFAULT', + sort_method: typing.Union[int, str] = ''): ''' Add a new background image :param name: Name, Image name to assign @@ -79,7 +78,7 @@ def background_image_add( :type use_multiview: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -226,9 +225,14 @@ def fly(): def interactive_add(primitive_type: typing.Union[int, str] = 'CUBE', plane_axis: typing.Union[int, str] = 'Z', + plane_axis_auto: bool = False, plane_depth: typing.Union[int, str] = 'SURFACE', - plane_origin: typing.Union[int, str] = 'BASE', plane_orientation: typing.Union[int, str] = 'SURFACE', + snap_target: typing.Union[int, str] = 'GEOMETRY', + plane_origin_base: typing.Union[int, str] = 'EDGE', + plane_origin_depth: typing.Union[int, str] = 'EDGE', + plane_aspect_base: typing.Union[int, str] = 'FREE', + plane_aspect_depth: typing.Union[int, str] = 'FREE', wait_for_input: bool = True): ''' Interactively add an object @@ -236,12 +240,22 @@ def interactive_add(primitive_type: typing.Union[int, str] = 'CUBE', :type primitive_type: typing.Union[int, str] :param plane_axis: Plane Axis, The axis used for placing the base region :type plane_axis: typing.Union[int, str] - :param plane_depth: Position, The initial depth used when placing the cursor * SURFACE Surface, Start placing on the surface, using the 3D cursor position as a fallback. * CURSOR_PLANE 3D Cursor Plane, Start placement using a point projected onto the selected axis at the 3D cursor position. * CURSOR_VIEW 3D Cursor View, Start placement using the mouse cursor projected onto the view plane. + :param plane_axis_auto: Auto Axis, Select the closest axis when placing objects (surface overrides) + :type plane_axis_auto: bool + :param plane_depth: Position, The initial depth used when placing the cursor * SURFACE Surface, Start placing on the surface, using the 3D cursor position as a fallback. * CURSOR_PLANE Cursor Plane, Start placement using a point projected onto the orientation axis at the 3D cursor position. * CURSOR_VIEW Cursor View, Start placement using a point projected onto the view plane at the 3D cursor position. :type plane_depth: typing.Union[int, str] - :param plane_origin: Origin, The initial position for placement * BASE Base, Start placing the corner position. * CENTER Center, Start placing the center position. - :type plane_origin: typing.Union[int, str] - :param plane_orientation: Orientation, The initial depth used when placing the cursor * SURFACE Surface, Use the surface normal (the transform orientation as a fallback). * DEFAULT Default, Use the current transform orientation. + :param plane_orientation: Orientation, The initial depth used when placing the cursor * SURFACE Surface, Use the surface normal (using the transform orientation as a fallback). * DEFAULT Default, Use the current transform orientation. :type plane_orientation: typing.Union[int, str] + :param snap_target: Snap to, The target to use while snapping * GEOMETRY Geometry, Snap to all geometry. * DEFAULT Default, Use the current snap settings. + :type snap_target: typing.Union[int, str] + :param plane_origin_base: Origin, The initial position for placement * EDGE Edge, Start placing the edge position. * CENTER Center, Start placing the center position. + :type plane_origin_base: typing.Union[int, str] + :param plane_origin_depth: Origin, The initial position for placement * EDGE Edge, Start placing the edge position. * CENTER Center, Start placing the center position. + :type plane_origin_depth: typing.Union[int, str] + :param plane_aspect_base: Aspect, The initial aspect setting * FREE Free, Use an unconstrained aspect. * FIXED Fixed, Use a fixed 1:1 aspect. + :type plane_aspect_base: typing.Union[int, str] + :param plane_aspect_depth: Aspect, The initial aspect setting * FREE Free, Use an unconstrained aspect. * FIXED Fixed, Use a fixed 1:1 aspect. + :type plane_aspect_depth: typing.Union[int, str] :param wait_for_input: Wait for Input :type wait_for_input: bool ''' @@ -411,11 +425,11 @@ def select(extend: bool = False, :type toggle: bool :param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor :type deselect_all: bool - :param center: Center, Use the object center when selecting, in edit-mode used to extend object selection + :param center: Center, Use the object center when selecting, in edit mode used to extend object selection :type center: bool :param enumerate: Enumerate, List objects under the mouse (object mode only) :type enumerate: bool - :param object: Object, Use object selection (edit-mode only) + :param object: Object, Use object selection (edit mode only) :type object: bool :param location: Location, Mouse location :type location: typing.List[int] @@ -471,13 +485,14 @@ def select_circle(x: int = 0, pass -def select_lasso(path: typing.Union[typing.List['bpy.types.OperatorMousePath'], - 'bpy_prop_collection'] = None, +def select_lasso(path: typing.Union[ + typing.Dict[str, 'bpy.types.OperatorMousePath'], typing. + List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] = None, mode: typing.Union[int, str] = 'SET'): ''' Select items using lasso selection :param path: Path - :type path: typing.Union[typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] + :type path: typing.Union[typing.Dict[str, 'bpy.types.OperatorMousePath'], typing.List['bpy.types.OperatorMousePath'], 'bpy_prop_collection'] :param mode: Mode * SET Set, Set a new selection. * ADD Extend, Extend existing selection. * SUB Subtract, Subtract existing selection. * XOR Difference, Inverts existing selection. * AND Intersect, Intersect existing selection. :type mode: typing.Union[int, str] ''' @@ -601,9 +616,9 @@ def transform_gizmo_set( type: typing.Union[typing.Set[int], typing.Set[str]] = {}): ''' Set the current transform gizmo - :param extend: extend + :param extend: Extend :type extend: bool - :param type: type + :param type: Type :type type: typing.Union[typing.Set[int], typing.Set[str]] ''' @@ -627,7 +642,7 @@ def view_axis(type: typing.Union[int, str] = 'LEFT', relative: bool = False): ''' Use a preset viewpoint - :param type: View, Preset viewpoint to use * LEFT Left, View From the Left. * RIGHT Right, View From the Right. * BOTTOM Bottom, View From the Bottom. * TOP Top, View From the Top. * FRONT Front, View From the Front. * BACK Back, View From the Back. + :param type: View, Preset viewpoint to use * LEFT Left, View from the left. * RIGHT Right, View from the right. * BOTTOM Bottom, View from the bottom. * TOP Top, View from the top. * FRONT Front, View from the front. * BACK Back, View from the back. :type type: typing.Union[int, str] :param align_active: Align Active, Align to the active object's axis :type align_active: bool @@ -699,7 +714,7 @@ def view_orbit(angle: float = 0.0, type: typing.Union[int, str] = 'ORBITLEFT'): :param angle: Roll :type angle: float - :param type: Orbit, Direction of View Orbit * ORBITLEFT Orbit Left, Orbit the view around to the Left. * ORBITRIGHT Orbit Right, Orbit the view around to the Right. * ORBITUP Orbit Up, Orbit the view Up. * ORBITDOWN Orbit Down, Orbit the view Down. + :param type: Orbit, Direction of View Orbit * ORBITLEFT Orbit Left, Orbit the view around to the left. * ORBITRIGHT Orbit Right, Orbit the view around to the right. * ORBITUP Orbit Up, Orbit the view up. * ORBITDOWN Orbit Down, Orbit the view down. :type type: typing.Union[int, str] ''' @@ -709,7 +724,7 @@ def view_orbit(angle: float = 0.0, type: typing.Union[int, str] = 'ORBITLEFT'): def view_pan(type: typing.Union[int, str] = 'PANLEFT'): ''' Pan the view in a given direction - :param type: Pan, Direction of View Pan * PANLEFT Pan Left, Pan the view to the Left. * PANRIGHT Pan Right, Pan the view to the Right. * PANUP Pan Up, Pan the view Up. * PANDOWN Pan Down, Pan the view Down. + :param type: Pan, Direction of View Pan * PANLEFT Pan Left, Pan the view to the left. * PANRIGHT Pan Right, Pan the view to the right. * PANUP Pan Up, Pan the view up. * PANDOWN Pan Down, Pan the view down. :type type: typing.Union[int, str] ''' @@ -729,7 +744,7 @@ def view_roll(angle: float = 0.0, type: typing.Union[int, str] = 'ANGLE'): :param angle: Roll :type angle: float - :param type: Roll Angle Source, How roll angle is calculated * ANGLE Roll Angle, Roll the view using an angle value. * LEFT Roll Left, Roll the view around to the Left. * RIGHT Roll Right, Roll the view around to the Right. + :param type: Roll Angle Source, How roll angle is calculated * ANGLE Roll Angle, Roll the view using an angle value. * LEFT Roll Left, Roll the view around to the left. * RIGHT Roll Right, Roll the view around to the right. :type type: typing.Union[int, str] ''' diff --git a/blender_autocomplete/bpy/ops/wm.py b/blender_autocomplete/bpy/ops/wm.py index 302eff4..a18932e 100644 --- a/blender_autocomplete/bpy/ops/wm.py +++ b/blender_autocomplete/bpy/ops/wm.py @@ -24,7 +24,7 @@ def alembic_export(filepath: str = "", filter_blenlib: bool = False, filemode: int = 8, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', start: int = -2147483648, end: int = -2147483648, xsamples: int = 1, @@ -43,12 +43,14 @@ def alembic_export(filepath: str = "", subdiv_schema: bool = False, apply_subdiv: bool = False, curves_as_mesh: bool = False, + use_instancing: bool = True, global_scale: float = 1.0, triangulate: bool = False, quad_method: typing.Union[int, str] = 'SHORTEST_DIAGONAL', ngon_method: typing.Union[int, str] = 'BEAUTY', export_hair: bool = True, export_particles: bool = True, + export_custom_properties: bool = True, as_background_job: bool = False, init_scene_frame_range: bool = False): ''' Export current scene in an Alembic archive @@ -93,7 +95,7 @@ def alembic_export(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param start: Start Frame, Start frame of the export, use the default value to take the start frame of the current scene :type start: int @@ -131,18 +133,22 @@ def alembic_export(filepath: str = "", :type apply_subdiv: bool :param curves_as_mesh: Curves as Mesh, Export curves and NURBS surfaces as meshes :type curves_as_mesh: bool + :param use_instancing: Use Instancing, Export data of duplicated objects as Alembic instances; speeds up the export and can be disabled for compatibility with other software + :type use_instancing: bool :param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the world's origin :type global_scale: float - :param triangulate: Triangulate, Export Polygons (Quads & NGons) as Triangles + :param triangulate: Triangulate, Export polygons (quads and n-gons) as triangles :type triangulate: bool - :param quad_method: Quad Method, Method for splitting the quads into triangles * BEAUTY Beauty , Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. + :param quad_method: Quad Method, Method for splitting the quads into triangles * BEAUTY Beauty, Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. :type quad_method: typing.Union[int, str] - :param ngon_method: Polygon Method, Method for splitting the polygons into triangles * BEAUTY Beauty , Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. + :param ngon_method: N-gon Method, Method for splitting the n-gons into triangles * BEAUTY Beauty, Arrange the new triangles evenly (slow). * CLIP Clip, Split the polygons with an ear clipping algorithm. :type ngon_method: typing.Union[int, str] :param export_hair: Export Hair, Exports hair particle systems as animated curves :type export_hair: bool :param export_particles: Export Particles, Exports non-hair particle systems :type export_particles: bool + :param export_custom_properties: Export Custom Properties, Export custom properties to Alembic .userProperties + :type export_custom_properties: bool :param as_background_job: Run as Background Job, Enable this to run the import in the background, disable to block Blender while importing. This option is deprecated; EXECUTE this operator to run in the foreground, and INVOKE it to run as a background job :type as_background_job: bool :type init_scene_frame_range: bool @@ -152,7 +158,6 @@ def alembic_export(filepath: str = "", def alembic_import(filepath: str = "", - check_existing: bool = True, filter_blender: bool = False, filter_backup: bool = False, filter_image: bool = False, @@ -172,7 +177,7 @@ def alembic_import(filepath: str = "", filemode: int = 8, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', scale: float = 1.0, set_frame_range: bool = True, validate_meshes: bool = False, @@ -182,8 +187,6 @@ def alembic_import(filepath: str = "", :param filepath: File Path, Path to file :type filepath: str - :param check_existing: Check Existing, Check and warn on overwriting existing files - :type check_existing: bool :param filter_blender: Filter .blend files :type filter_blender: bool :param filter_backup: Filter .blend files @@ -222,7 +225,7 @@ def alembic_import(filepath: str = "", :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param scale: Scale, Value by which to enlarge or shrink the objects with respect to the world's origin :type scale: float @@ -239,37 +242,39 @@ def alembic_import(filepath: str = "", pass -def append( - filepath: str = "", - directory: str = "", - filename: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, - filter_blender: bool = True, - filter_backup: bool = False, - filter_image: bool = False, - filter_movie: bool = False, - filter_python: bool = False, - filter_font: bool = False, - filter_sound: bool = False, - filter_text: bool = False, - filter_archive: bool = False, - filter_btx: bool = False, - filter_collada: bool = False, - filter_alembic: bool = False, - filter_usd: bool = False, - filter_volume: bool = False, - filter_folder: bool = True, - filter_blenlib: bool = True, - filemode: int = 1, - display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', - link: bool = False, - autoselect: bool = True, - active_collection: bool = True, - instance_collections: bool = False, - set_fake: bool = False, - use_recursive: bool = True): +def append(filepath: str = "", + directory: str = "", + filename: str = "", + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, + filter_blender: bool = True, + filter_backup: bool = False, + filter_image: bool = False, + filter_movie: bool = False, + filter_python: bool = False, + filter_font: bool = False, + filter_sound: bool = False, + filter_text: bool = False, + filter_archive: bool = False, + filter_btx: bool = False, + filter_collada: bool = False, + filter_alembic: bool = False, + filter_usd: bool = False, + filter_volume: bool = False, + filter_folder: bool = True, + filter_blenlib: bool = True, + filemode: int = 1, + display_type: typing.Union[int, str] = 'DEFAULT', + sort_method: typing.Union[int, str] = '', + link: bool = False, + autoselect: bool = True, + active_collection: bool = True, + instance_collections: bool = False, + instance_object_data: bool = True, + set_fake: bool = False, + use_recursive: bool = True): ''' Append from a Library .blend file :param filepath: File Path, Path to file @@ -279,7 +284,7 @@ def append( :param filename: File Name, Name of the file :type filename: str :param files: Files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param filter_blender: Filter .blend files :type filter_blender: bool :param filter_backup: Filter .blend files @@ -316,7 +321,7 @@ def append( :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param link: Link, Link the objects or data-blocks rather than appending :type link: bool @@ -326,6 +331,8 @@ def append( :type active_collection: bool :param instance_collections: Instance Collections, Create instances for collections, rather than adding them directly to the scene :type instance_collections: bool + :param instance_object_data: Instance Object Data, Create instances for object data which are not referenced by any objects + :type instance_object_data: bool :param set_fake: Fake User, Set Fake User for appended items (except Objects and Groups) :type set_fake: bool :param use_recursive: Localize All, Localize all appended data, including those indirectly linked from other libraries @@ -338,8 +345,10 @@ def append( def batch_rename( data_type: typing.Union[int, str] = 'OBJECT', data_source: typing.Union[int, str] = 'SELECT', - actions: typing.Union[typing.List['bl_operators.wm.BatchRenameAction'], - 'bpy_prop_collection'] = None): + actions: typing. + Union[typing.Dict[str, 'bl_operators.wm.BatchRenameAction'], typing. + List['bl_operators.wm.BatchRenameAction'], + 'bpy_prop_collection'] = None): ''' Undocumented, consider contributing __. :param data_type: Type, Type of data to rename @@ -347,7 +356,7 @@ def batch_rename( :param data_source: Source :type data_source: typing.Union[int, str] :param actions: actions - :type actions: typing.Union[typing.List['bl_operators.wm.BatchRenameAction'], 'bpy_prop_collection'] + :type actions: typing.Union[typing.Dict[str, 'bl_operators.wm.BatchRenameAction'], typing.List['bl_operators.wm.BatchRenameAction'], 'bpy_prop_collection'] ''' pass @@ -362,7 +371,7 @@ def blend_strings_utf8_validate(): def call_menu(name: str = ""): - ''' Call (draw) a pre-defined menu + ''' Call (draw) a predefined menu :param name: Name, Name of the menu :type name: str @@ -372,7 +381,7 @@ def call_menu(name: str = ""): def call_menu_pie(name: str = ""): - ''' Call (draw) a pre-defined pie menu + ''' Call (draw) a predefined pie menu :param name: Name, Name of the pie menu :type name: str @@ -382,7 +391,7 @@ def call_menu_pie(name: str = ""): def call_panel(name: str = "", keep_open: bool = True): - ''' Call (draw) a pre-defined panel + ''' Call (draw) a predefined panel :param name: Name, Name of the menu :type name: str @@ -414,7 +423,7 @@ def collada_export( filter_blenlib: bool = False, filemode: int = 8, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', prop_bc_export_ui_section: typing.Union[int, str] = 'main', apply_modifiers: bool = False, export_mesh_type: int = 0, @@ -491,9 +500,9 @@ def collada_export( :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] - :param prop_bc_export_ui_section: Export Section, Only for User Interface organization * main Main, Data Export Section. * geometry Geom, Geometry Export Section. * armature Arm, Armature Export Section. * animation Anim, Animation Export Section. * collada Extra, Collada Export Section. + :param prop_bc_export_ui_section: Export Section, Only for User Interface organization * main Main, Data export section. * geometry Geom, Geometry export section. * armature Arm, Armature export section. * animation Anim, Animation export section. * collada Extra, Collada export section. :type prop_bc_export_ui_section: typing.Union[int, str] :param apply_modifiers: Apply Modifiers, Apply modifiers to exported mesh (non destructive)) :type apply_modifiers: bool @@ -535,7 +544,7 @@ def collada_export( :type active_uv_only: bool :param use_texture_copies: Copy, Copy textures to same folder where the .dae file is exported :type use_texture_copies: bool - :param triangulate: Triangulate, Export Polygons (Quads & NGons) as Triangles + :param triangulate: Triangulate, Export polygons (quads and n-gons) as triangles :type triangulate: bool :param use_object_instantiation: Use Object Instances, Instantiate multiple Objects from same Data :type use_object_instantiation: bool @@ -581,7 +590,7 @@ def collada_import(filepath: str = "", filter_blenlib: bool = False, filemode: int = 8, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', import_units: bool = False, fix_orientation: bool = False, find_chains: bool = False, @@ -628,7 +637,7 @@ def collada_import(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param import_units: Import Units, If disabled match import to Blender's current Unit settings, otherwise use the settings from the Imported scene :type import_units: bool @@ -1004,7 +1013,7 @@ def lib_reload(library: str = "", filemode: int = 8, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): + sort_method: typing.Union[int, str] = ''): ''' Reload the given library :param library: Library, Library to reload @@ -1055,7 +1064,7 @@ def lib_reload(library: str = "", :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -1067,8 +1076,10 @@ def lib_relocate( filepath: str = "", directory: str = "", filename: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, hide_props_region: bool = True, filter_blender: bool = True, filter_backup: bool = False, @@ -1089,7 +1100,7 @@ def lib_relocate( filemode: int = 8, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA'): + sort_method: typing.Union[int, str] = ''): ''' Relocate the given library to one or several others :param library: Library, Library to relocate @@ -1101,7 +1112,7 @@ def lib_relocate( :param filename: File Name, Name of the file :type filename: str :param files: Files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings :type hide_props_region: bool :param filter_blender: Filter .blend files @@ -1142,7 +1153,7 @@ def lib_relocate( :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] ''' @@ -1152,8 +1163,10 @@ def lib_relocate( def link(filepath: str = "", directory: str = "", filename: str = "", - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, filter_blender: bool = True, filter_backup: bool = False, filter_image: bool = False, @@ -1173,11 +1186,12 @@ def link(filepath: str = "", filemode: int = 1, relative_path: bool = True, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', link: bool = True, autoselect: bool = True, active_collection: bool = True, - instance_collections: bool = True): + instance_collections: bool = True, + instance_object_data: bool = True): ''' Link from a Library .blend file :param filepath: File Path, Path to file @@ -1187,7 +1201,7 @@ def link(filepath: str = "", :param filename: File Name, Name of the file :type filename: str :param files: Files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param filter_blender: Filter .blend files :type filter_blender: bool :param filter_backup: Filter .blend files @@ -1226,7 +1240,7 @@ def link(filepath: str = "", :type relative_path: bool :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param link: Link, Link the objects or data-blocks rather than appending :type link: bool @@ -1236,6 +1250,8 @@ def link(filepath: str = "", :type active_collection: bool :param instance_collections: Instance Collections, Create instances for collections, rather than adding them directly to the scene :type instance_collections: bool + :param instance_object_data: Instance Object Data, Create instances for object data which are not referenced by any objects + :type instance_object_data: bool ''' pass @@ -1269,7 +1285,7 @@ def open_mainfile(filepath: str = "", filter_blenlib: bool = False, filemode: int = 8, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', load_ui: bool = True, use_scripts: bool = True, display_file_selector: bool = True, @@ -1316,7 +1332,7 @@ def open_mainfile(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param load_ui: Load UI, Load user interface setup in the .blend file :type load_ui: bool @@ -1332,7 +1348,7 @@ def open_mainfile(filepath: str = "", def operator_cheat_sheet(): - ''' List all the Operators in a text-block, useful for scripting :file: startup/bl_operators/wm.py\:1612 _ + ''' List all the operators in a text-block, useful for scripting :file: startup/bl_operators/wm.py\:1622 _ ''' @@ -1409,8 +1425,10 @@ def path_open(filepath: str = ""): def previews_batch_clear( - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, directory: str = "", filter_blender: bool = True, filter_folder: bool = True, @@ -1423,7 +1441,7 @@ def previews_batch_clear( ''' Clear selected .blend file's previews :param files: files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param directory: directory :type directory: str :param filter_blender: filter_blender @@ -1436,7 +1454,7 @@ def previews_batch_clear( :type use_collections: bool :param use_objects: Objects, Clear objects' previews :type use_objects: bool - :param use_intern_data: Mat/Tex/..., Clear 'internal' previews (materials, textures, images, etc.) + :param use_intern_data: Materials & Textures, Clear 'internal' previews (materials, textures, images, etc.) :type use_intern_data: bool :param use_trusted: Trusted Blend Files, Enable python evaluation for selected files :type use_trusted: bool @@ -1448,8 +1466,10 @@ def previews_batch_clear( def previews_batch_generate( - files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], - 'bpy_prop_collection'] = None, + files: typing. + Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing. + List['bpy.types.OperatorFileListElement'], + 'bpy_prop_collection'] = None, directory: str = "", filter_blender: bool = True, filter_folder: bool = True, @@ -1462,7 +1482,7 @@ def previews_batch_generate( ''' Generate selected .blend file's previews :param files: files - :type files: typing.Union[typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] + :type files: typing.Union[typing.Dict[str, 'bpy.types.OperatorFileListElement'], typing.List['bpy.types.OperatorFileListElement'], 'bpy_prop_collection'] :param directory: directory :type directory: str :param filter_blender: filter_blender @@ -1475,7 +1495,7 @@ def previews_batch_generate( :type use_collections: bool :param use_objects: Objects, Generate objects' previews :type use_objects: bool - :param use_intern_data: Mat/Tex/..., Generate 'internal' previews (materials, textures, images, etc.) + :param use_intern_data: Materials & Textures, Generate 'internal' previews (materials, textures, images, etc.) :type use_intern_data: bool :param use_trusted: Trusted Blend Files, Enable python evaluation for selected files :type use_trusted: bool @@ -1553,7 +1573,7 @@ def properties_edit(data_path: str = "", :type max: float :param use_soft_limits: Use Soft Limits, Limits the Property Value slider to a range, values outside the range must be inputted numerically :type use_soft_limits: bool - :param is_overridable_library: Is Library Overridable, Allow the property to be overridden when the Data-Block is linked + :param is_overridable_library: Is Library Overridable, Allow the property to be overridden when the data-block is linked :type is_overridable_library: bool :param soft_min: Min, Minimum value of the property :type soft_min: float @@ -1659,6 +1679,7 @@ def read_history(): def read_homefile(filepath: str = "", load_ui: bool = True, use_splash: bool = False, + use_factory_startup: bool = False, app_template: str = "Template", use_empty: bool = False): ''' Open the default file (doesn't save the current file) @@ -1669,6 +1690,8 @@ def read_homefile(filepath: str = "", :type load_ui: bool :param use_splash: Splash :type use_splash: bool + :param use_factory_startup: Factory Startup + :type use_factory_startup: bool :type app_template: str :param use_empty: Empty :type use_empty: bool @@ -1705,7 +1728,8 @@ def recover_auto_save(filepath: str = "", filter_blenlib: bool = False, filemode: int = 8, display_type: typing.Union[int, str] = 'LIST_VERTICAL', - sort_method: typing.Union[int, str] = 'FILE_SORT_TIME'): + sort_method: typing.Union[int, str] = '', + use_scripts: bool = True): ''' Open an automatically saved file to recover it :param filepath: File Path, Path to file @@ -1748,16 +1772,20 @@ def recover_auto_save(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] + :param use_scripts: Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences + :type use_scripts: bool ''' pass -def recover_last_session(): +def recover_last_session(use_scripts: bool = True): ''' Open the last closed file ("quit.blend") + :param use_scripts: Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences + :type use_scripts: bool ''' pass @@ -1768,7 +1796,7 @@ def redraw_timer(type: typing.Union[int, str] = 'DRAW', time_limit: float = 0.0): ''' Simple redraw timer to test the speed of updating the interface - :param type: Type * DRAW Draw Region, Draw Region. * DRAW_SWAP Draw Region + Swap, Draw Region and Swap. * DRAW_WIN Draw Window, Draw Window. * DRAW_WIN_SWAP Draw Window + Swap, Draw Window and Swap. * ANIM_STEP Anim Step, Animation Steps. * ANIM_PLAY Anim Play, Animation Playback. * UNDO Undo/Redo, Undo/Redo. + :param type: Type * DRAW Draw Region, Draw region. * DRAW_SWAP Draw Region & Swap, Draw region and swap. * DRAW_WIN Draw Window, Draw window. * DRAW_WIN_SWAP Draw Window & Swap, Draw window and swap. * ANIM_STEP Animation Step, Animation steps. * ANIM_PLAY Animation Play, Animation playback. * UNDO Undo/Redo, Undo and redo. :type type: typing.Union[int, str] :param iterations: Iterations, Number of times to redraw :type iterations: int @@ -1810,7 +1838,7 @@ def save_as_mainfile(filepath: str = "", filter_blenlib: bool = False, filemode: int = 8, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', compress: bool = False, relative_remap: bool = True, copy: bool = False): @@ -1858,7 +1886,7 @@ def save_as_mainfile(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param compress: Compress, Write compressed .blend file :type compress: bool @@ -1900,7 +1928,7 @@ def save_mainfile(filepath: str = "", filter_blenlib: bool = False, filemode: int = 8, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', compress: bool = False, relative_remap: bool = False, exit: bool = False): @@ -1948,7 +1976,7 @@ def save_mainfile(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param compress: Compress, Write compressed .blend file :type compress: bool @@ -2000,7 +2028,7 @@ def set_stereo_3d(display_mode: typing.Union[int, str] = 'ANAGLYPH', :type interlace_type: typing.Union[int, str] :param use_interlace_swap: Swap Left/Right, Swap left and right stereo channels :type use_interlace_swap: bool - :param use_sidebyside_crosseyed: Cross-Eyed, Right eye should see left image and vice-versa + :param use_sidebyside_crosseyed: Cross-Eyed, Right eye should see left image and vice versa :type use_sidebyside_crosseyed: bool ''' @@ -2059,11 +2087,11 @@ def tool_set_by_index(index: int = 0, space_type: typing.Union[int, str] = 'EMPTY'): ''' Set the tool by index (for keymaps) - :param index: Index in toolbar + :param index: Index in Toolbar :type index: int :param cycle: Cycle, Cycle through tools in this group :type cycle: bool - :param expand: expand, Include tool sub-groups + :param expand: expand, Include tool subgroups :type expand: bool :param as_fallback: Set Fallback, Set the fallback tool instead of the primary :type as_fallback: bool @@ -2075,7 +2103,7 @@ def tool_set_by_index(index: int = 0, def toolbar(): - ''' Undocumented, consider contributing __. :file: startup/bl_operators/wm.py\:1816 _ + ''' Undocumented, consider contributing __. :file: startup/bl_operators/wm.py\:1827 _ ''' @@ -2083,7 +2111,7 @@ def toolbar(): def toolbar_fallback_pie(): - ''' Undocumented, consider contributing __. :file: startup/bl_operators/wm.py\:1840 _ + ''' Undocumented, consider contributing __. :file: startup/bl_operators/wm.py\:1851 _ ''' @@ -2091,7 +2119,7 @@ def toolbar_fallback_pie(): def toolbar_prompt(): - ''' Leader key like functionality for accessing tools :file: startup/bl_operators/wm.py\:1940 _ + ''' Leader key like functionality for accessing tools :file: startup/bl_operators/wm.py\:1951 _ ''' @@ -2099,7 +2127,7 @@ def toolbar_prompt(): def url_open(url: str = ""): - ''' Open a website in the web-browser + ''' Open a website in the web browser :param url: URL, URL to open :type url: str @@ -2109,7 +2137,7 @@ def url_open(url: str = ""): def url_open_preset(type: typing.Union[int, str] = '', id: str = ""): - ''' Open a preset website in the web-browser + ''' Open a preset website in the web browser :param type: Site :type type: typing.Union[int, str] @@ -2140,8 +2168,9 @@ def usd_export(filepath: str = "", filter_blenlib: bool = False, filemode: int = 8, display_type: typing.Union[int, str] = 'DEFAULT', - sort_method: typing.Union[int, str] = 'FILE_SORT_ALPHA', + sort_method: typing.Union[int, str] = '', selected_objects_only: bool = False, + visible_objects_only: bool = True, export_animation: bool = False, export_hair: bool = False, export_uvmaps: bool = True, @@ -2191,10 +2220,12 @@ def usd_export(filepath: str = "", :type filemode: int :param display_type: Display Type * DEFAULT Default, Automatically determine display type for files. * LIST_VERTICAL Short List, Display files as short list. * LIST_HORIZONTAL Long List, Display files as a detailed list. * THUMBNAIL Thumbnails, Display files as thumbnails. :type display_type: typing.Union[int, str] - :param sort_method: File sorting mode * FILE_SORT_ALPHA Name, Sort the file list alphabetically. * FILE_SORT_EXTENSION Extension, Sort the file list by extension/type. * FILE_SORT_TIME Modified Date, Sort files by modification time. * FILE_SORT_SIZE Size, Sort files by size. + :param sort_method: File sorting mode :type sort_method: typing.Union[int, str] :param selected_objects_only: Selection Only, Only selected objects are exported. Unselected parents of selected objects are exported as empty transform :type selected_objects_only: bool + :param visible_objects_only: Visible Only, Only visible objects are exported. Invisible parents of exported objects are exported as empty transform + :type visible_objects_only: bool :param export_animation: Animation, When checked, the render frame range is exported. When false, only the current frame is exported :type export_animation: bool :param export_hair: Hair, When checked, hair is exported as USD curves diff --git a/blender_autocomplete/bpy/props.py b/blender_autocomplete/bpy/props.py index 0ed33cc..a7cf157 100644 --- a/blender_autocomplete/bpy/props.py +++ b/blender_autocomplete/bpy/props.py @@ -6,7 +6,7 @@ def BoolProperty(name: str = "", description: str = "", default=False, options: set = {'ANIMATABLE'}, - override='set()', + override: set = 'set()', tags: set = 'set()', subtype: str = 'NONE', update=None, @@ -18,13 +18,13 @@ def BoolProperty(name: str = "", :type name: str :param description: Text used for the tooltip and api documentation. :type description: str - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. - :type options: set - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. + :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. :type options: set + :param override: Enumerator in ['LIBRARY_OVERRIDABLE']. + :type override: set :param tags: Enumerator of tags that are defined by parent class. :type tags: set - :param subtype: Enumerator in ['PIXEL', 'UNSIGNED', 'PERCENTAGE', 'FACTOR', 'ANGLE', 'TIME', 'DISTANCE', 'NONE']. + :param subtype: Enumerator in ['PIXEL', 'UNSIGNED', 'PERCENTAGE', 'FACTOR', 'ANGLE', 'TIME', 'DISTANCE', 'DISTANCE_CAMERA', 'POWER', 'TEMPERATURE', 'NONE']. :type subtype: str :param update: Function to be called when this value is modified, This function must take 2 values (self, context) and return None. *Warning* there are no safety checks to avoid infinite recursion. :param get: Function to be called when this value is 'read', This function must take 1 value (self) and return the value of the property. @@ -38,7 +38,7 @@ def BoolVectorProperty(name: str = "", description: str = "", default: list = (False, False, False), options: set = {'ANIMATABLE'}, - override='set()', + override: set = 'set()', tags: set = 'set()', subtype: str = 'NONE', size: int = 3, @@ -53,13 +53,13 @@ def BoolVectorProperty(name: str = "", :type description: str :param default: sequence of booleans the length of *size*. :type default: list - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. - :type options: set - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. + :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. :type options: set + :param override: Enumerator in ['LIBRARY_OVERRIDABLE']. + :type override: set :param tags: Enumerator of tags that are defined by parent class. :type tags: set - :param subtype: Enumerator in ['COLOR', 'TRANSLATION', 'DIRECTION', 'VELOCITY', 'ACCELERATION', 'MATRIX', 'EULER', 'QUATERNION', 'AXISANGLE', 'XYZ', 'COLOR_GAMMA', 'LAYER', 'LAYER_MEMBER', 'POWER', 'NONE']. + :param subtype: Enumerator in ['COLOR', 'TRANSLATION', 'DIRECTION', 'VELOCITY', 'ACCELERATION', 'MATRIX', 'EULER', 'QUATERNION', 'AXISANGLE', 'XYZ', 'XYZ_LENGTH', 'COLOR_GAMMA', 'COORDINATES', 'LAYER', 'LAYER_MEMBER', 'NONE']. :type subtype: str :param size: Vector dimensions in [1, 32]. :type size: int @@ -75,7 +75,7 @@ def CollectionProperty(type=None, name: str = "", description: str = "", options: set = {'ANIMATABLE'}, - override='set()', + override: set = 'set()', tags: set = 'set()'): ''' Returns a new collection property definition. @@ -84,10 +84,10 @@ def CollectionProperty(type=None, :type name: str :param description: Text used for the tooltip and api documentation. :type description: str - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE', 'NO_PROPERTY_NAME']. - :type options: set - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE', 'NO_PROPERTY_NAME']. + :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. :type options: set + :param override: Enumerator in ['LIBRARY_OVERRIDABLE', 'NO_PROPERTY_NAME', 'USE_INSERTION']. + :type override: set :param tags: Enumerator of tags that are defined by parent class. :type tags: set ''' @@ -98,9 +98,9 @@ def CollectionProperty(type=None, def EnumProperty(items: typing.List[str], name: str = "", description: str = "", - default: typing.Union[str, typing.Set[str]] = None, + default: typing.Set[str] = None, options: set = {'ANIMATABLE'}, - override='set()', + override: set = 'set()', tags: set = 'set()', update=None, get=None, @@ -115,10 +115,10 @@ def EnumProperty(items: typing.List[str], :type description: str :param default: The default value for this enum, a string from the identifiers used in *items*, or integer matching an item number. If the *ENUM_FLAG* option is used this must be a set of such string identifiers instead. WARNING: Strings can not be specified for dynamic enums (i.e. if a callback function is given as *items* parameter). :type default: typing.Set[str] - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'ENUM_FLAG', 'LIBRARY_EDITABLE']. Enumerator in ['LIBRARY_OVERRIDE']. - :type options: set - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'ENUM_FLAG', 'LIBRARY_EDITABLE']. Enumerator in ['LIBRARY_OVERRIDE']. + :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'ENUM_FLAG', 'LIBRARY_EDITABLE']. :type options: set + :param override: Enumerator in ['LIBRARY_OVERRIDABLE']. + :type override: set :param tags: Enumerator of tags that are defined by parent class. :type tags: set :param update: Function to be called when this value is modified, This function must take 2 values (self, context) and return None. *Warning* there are no safety checks to avoid infinite recursion. @@ -139,7 +139,7 @@ def FloatProperty(name: str = "", step: int = 3, precision: int = 2, options: set = {'ANIMATABLE'}, - override='set()', + override: set = 'set()', tags: set = 'set()', subtype: str = 'NONE', unit: str = 'NONE', @@ -164,13 +164,13 @@ def FloatProperty(name: str = "", :type step: int :param precision: Maximum number of decimal digits to display, in [0, 6]. :type precision: int - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. - :type options: set - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. + :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. :type options: set + :param override: Enumerator in ['LIBRARY_OVERRIDABLE']. + :type override: set :param tags: Enumerator of tags that are defined by parent class. :type tags: set - :param subtype: Enumerator in ['PIXEL', 'UNSIGNED', 'PERCENTAGE', 'FACTOR', 'ANGLE', 'TIME', 'DISTANCE', 'NONE']. + :param subtype: Enumerator in ['PIXEL', 'UNSIGNED', 'PERCENTAGE', 'FACTOR', 'ANGLE', 'TIME', 'DISTANCE', 'DISTANCE_CAMERA', 'POWER', 'TEMPERATURE', 'NONE']. :type subtype: str :param unit: Enumerator in ['NONE', 'LENGTH', 'AREA', 'VOLUME', 'ROTATION', 'TIME', 'VELOCITY', 'ACCELERATION', 'MASS', 'CAMERA', 'POWER']. :type unit: str @@ -192,7 +192,7 @@ def FloatVectorProperty(name: str = "", step: int = 3, precision: int = 2, options: set = {'ANIMATABLE'}, - override='set()', + override: set = 'set()', tags: set = 'set()', subtype: str = 'NONE', unit: str = 'NONE', @@ -216,17 +216,17 @@ def FloatVectorProperty(name: str = "", :type soft_min: float :param soft_max: Soft maximum (<= *max*), user won't be able to drag the widget above this value in the UI. :type soft_max: float - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. - :type options: set - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. + :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. :type options: set + :param override: Enumerator in ['LIBRARY_OVERRIDABLE']. + :type override: set :param tags: Enumerator of tags that are defined by parent class. :type tags: set :param step: actual value is /100). :type step: int :param precision: Maximum number of decimal digits to display, in [0, 6]. :type precision: int - :param subtype: Enumerator in ['COLOR', 'TRANSLATION', 'DIRECTION', 'VELOCITY', 'ACCELERATION', 'MATRIX', 'EULER', 'QUATERNION', 'AXISANGLE', 'XYZ', 'COLOR_GAMMA', 'LAYER', 'LAYER_MEMBER', 'POWER', 'NONE']. + :param subtype: Enumerator in ['COLOR', 'TRANSLATION', 'DIRECTION', 'VELOCITY', 'ACCELERATION', 'MATRIX', 'EULER', 'QUATERNION', 'AXISANGLE', 'XYZ', 'XYZ_LENGTH', 'COLOR_GAMMA', 'COORDINATES', 'LAYER', 'LAYER_MEMBER', 'NONE']. :type subtype: str :param unit: Enumerator in ['NONE', 'LENGTH', 'AREA', 'VOLUME', 'ROTATION', 'TIME', 'VELOCITY', 'ACCELERATION', 'MASS', 'CAMERA', 'POWER']. :type unit: str @@ -249,7 +249,7 @@ def IntProperty(name: str = "", soft_max: int = 2**31 - 1, step: int = 1, options: set = {'ANIMATABLE'}, - override='set()', + override: set = 'set()', tags: set = 'set()', subtype: str = 'NONE', update=None, @@ -271,13 +271,13 @@ def IntProperty(name: str = "", :type soft_max: int :param step: unused currently!). :type step: int - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. - :type options: set - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. + :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. :type options: set + :param override: Enumerator in ['LIBRARY_OVERRIDABLE']. + :type override: set :param tags: Enumerator of tags that are defined by parent class. :type tags: set - :param subtype: Enumerator in ['PIXEL', 'UNSIGNED', 'PERCENTAGE', 'FACTOR', 'ANGLE', 'TIME', 'DISTANCE', 'NONE']. + :param subtype: Enumerator in ['PIXEL', 'UNSIGNED', 'PERCENTAGE', 'FACTOR', 'ANGLE', 'TIME', 'DISTANCE', 'DISTANCE_CAMERA', 'POWER', 'TEMPERATURE', 'NONE']. :type subtype: str :param update: Function to be called when this value is modified, This function must take 2 values (self, context) and return None. *Warning* there are no safety checks to avoid infinite recursion. :param get: Function to be called when this value is 'read', This function must take 1 value (self) and return the value of the property. @@ -296,7 +296,7 @@ def IntVectorProperty(name: str = "", soft_max: int = 2**31 - 1, step: int = 1, options: set = {'ANIMATABLE'}, - override='set()', + override: set = 'set()', tags: set = 'set()', subtype: str = 'NONE', size: int = 3, @@ -321,13 +321,13 @@ def IntVectorProperty(name: str = "", :type soft_max: int :param step: unused currently!). :type step: int - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. - :type options: set - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. + :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. :type options: set + :param override: Enumerator in ['LIBRARY_OVERRIDABLE']. + :type override: set :param tags: Enumerator of tags that are defined by parent class. :type tags: set - :param subtype: Enumerator in ['COLOR', 'TRANSLATION', 'DIRECTION', 'VELOCITY', 'ACCELERATION', 'MATRIX', 'EULER', 'QUATERNION', 'AXISANGLE', 'XYZ', 'COLOR_GAMMA', 'LAYER', 'LAYER_MEMBER', 'POWER', 'NONE']. + :param subtype: Enumerator in ['COLOR', 'TRANSLATION', 'DIRECTION', 'VELOCITY', 'ACCELERATION', 'MATRIX', 'EULER', 'QUATERNION', 'AXISANGLE', 'XYZ', 'XYZ_LENGTH', 'COLOR_GAMMA', 'COORDINATES', 'LAYER', 'LAYER_MEMBER', 'NONE']. :type subtype: str :param size: Vector dimensions in [1, 32]. :type size: int @@ -343,7 +343,7 @@ def PointerProperty(type=None, name: str = "", description: str = "", options: set = {'ANIMATABLE'}, - override='set()', + override: set = 'set()', tags: set = 'set()', poll=None, update=None): @@ -354,10 +354,10 @@ def PointerProperty(type=None, :type name: str :param description: Text used for the tooltip and api documentation. :type description: str - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. - :type options: set - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. + :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. :type options: set + :param override: Enumerator in ['LIBRARY_OVERRIDABLE']. + :type override: set :param tags: Enumerator of tags that are defined by parent class. :type tags: set :param poll: function to be called to determine whether an item is valid for this property. The function must take 2 values (self, object) and return Bool. @@ -383,7 +383,7 @@ def StringProperty(name: str = "", default: str = "", maxlen: int = 0, options: set = {'ANIMATABLE'}, - override='set()', + override: set = 'set()', tags: set = 'set()', subtype: str = 'NONE', update=None, @@ -399,10 +399,10 @@ def StringProperty(name: str = "", :type default: str :param maxlen: maximum length of the string. :type maxlen: int - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. - :type options: set - :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. Enumerator in ['LIBRARY_OVERRIDE']. + :param options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'LIBRARY_EDITABLE', 'PROPORTIONAL','TEXTEDIT_UPDATE']. :type options: set + :param override: Enumerator in ['LIBRARY_OVERRIDABLE']. + :type override: set :param tags: Enumerator of tags that are defined by parent class. :type tags: set :param subtype: Enumerator in ['FILE_PATH', 'DIR_PATH', 'FILE_NAME', 'BYTE_STRING', 'PASSWORD', 'NONE']. diff --git a/blender_autocomplete/bpy/types.py b/blender_autocomplete/bpy/types.py index c690393..8fc202b 100644 --- a/blender_autocomplete/bpy/types.py +++ b/blender_autocomplete/bpy/types.py @@ -2,81 +2,81 @@ import typing import bpy.context import mathutils +import bl_ui.properties_render +import bl_ui.space_node +import bl_operators.assets import bl_ui.properties_physics_fluid -import bl_ui.properties_data_shaderfx import bl_ui.space_time -import bl_ui.properties_data_light -import bl_ui.properties_data_camera -import bl_ui.properties_workspace -import bl_ui.space_info +import bl_ui.properties_physics_rigidbody_constraint +import bl_ui.properties_material_gpencil +import bl_ui.space_sequencer +import bl_ui.properties_grease_pencil_common +import bl_operators.userpref +import bl_ui.space_outliner +import bl_ui.space_filebrowser +import bl_ui.space_text +import bl_ui.properties_data_modifier import bl_operators.anim -import bl_ui.space_nla -import bl_ui.properties_data_gpencil -import bl_ui.properties_texture -import bl_operators.view3d -import bl_ui.space_graph -import bl_ui.space_clip -import bl_ui.space_userpref -import bl_ui.space_view3d -import bl_ui.space_toolsystem_toolbar +import bl_ui.properties_paint_common +import bl_ui.properties_data_volume import bl_ui.properties_physics_common -import bl_ui.properties_physics_dynamicpaint -import bl_ui.properties_constraint -import bl_ui.properties_freestyle -import bl_ui -import bl_ui.properties_data_lightprobe -import bl_ui.space_toolsystem_common -import bl_ui.properties_material_gpencil -import bl_operators.clip -import bl_ui.space_properties -import bl_ui.properties_particle import bl_ui.properties_data_empty -import bl_operators.gpencil_mesh_bake +import bl_ui.properties_data_camera +import bl_ui.space_image +import bl_ui.properties_data_armature import bl_ui.properties_data_bone +import bl_ui.space_clip +import bl_ui.space_info +import bl_ui.properties_data_lightprobe +import bl_ui.space_toolsystem_toolbar +import bl_ui.properties_physics_rigidbody import bl_ui.properties_output -import bl_operators.presets -import bl_operators.node -import bl_ui.properties_data_metaball -import bl_ui.properties_physics_rigidbody_constraint -import bl_ui.space_text -import bl_ui.properties_physics_cloth -import bl_ui.space_outliner -import bl_ui.space_view3d_toolbar -import bl_ui.properties_view_layer -import bl_ui.properties_grease_pencil_common +import bl_ui.properties_constraint +import bl_ui.properties_freestyle +import bl_ui.properties_workspace import bl_ui.properties_physics_softbody -import bl_ui.properties_data_lattice -import bl_ui.properties_paint_common -import bl_ui.properties_render -import bl_ui.properties_data_pointcloud -import bl_ui.properties_mask_common -import bl_ui.properties_world -import bl_ui.space_sequencer +import bl_ui.properties_data_gpencil import bl_ui.space_console -import bl_ui.space_node +import bl_ui.properties_mask_common +import bl_ui.properties_data_lattice import bl_ui.properties_data_speaker -import bl_ui.space_topbar -import bl_operators.constraint -import bl_ui.properties_scene +import bl_ui.space_nla +import bl_ui.space_view3d_toolbar +import bl_ui.space_view3d +import bl_ui.properties_material +import bl_ui.properties_physics_dynamicpaint +import bl_operators.object +import bl_ui.space_graph import bl_ui.properties_data_curve -import bl_ui.properties_object -import bl_ui.space_image -import bl_ui.properties_data_modifier -import bl_ui.properties_data_volume +import bl_operators.wm +import bl_ui.properties_data_pointcloud +import bl_ui.space_properties +import bl_ui.properties_data_light import bl_ui.properties_data_mesh +import bl_ui.properties_particle +import bl_ui.properties_view_layer +import bl_ui.space_userpref +import bl_ui +import bl_ui.properties_physics_field +import bl_ui.properties_texture +import bl_operators.node +import bl_operators.freestyle +import bl_ui.space_topbar +import bl_operators.constraint +import bl_ui.properties_physics_cloth +import bl_ui.properties_data_shaderfx import bl_ui.space_dopesheet -import bl_ui.properties_material -import bl_ui.properties_physics_rigidbody import bl_ui.space_statusbar -import bl_operators.userpref -import bl_operators.freestyle -import bl_operators.object -import bl_ui.properties_data_armature -import bl_ui.properties_data_hair -import bl_ui.properties_physics_field -import bl_operators.wm +import bl_ui.properties_object +import bl_ui.properties_world import bl_operators.file -import bl_ui.space_filebrowser +import bl_ui.properties_data_hair +import bl_operators.clip +import bl_ui.properties_scene +import bl_ui.properties_data_metaball +import bl_ui.space_toolsystem_common +import bl_operators.view3d +import bl_operators.presets class bpy_prop_collection: @@ -213,9 +213,11 @@ def is_property_readonly(self, property) -> bool: ''' pass - def is_property_set(self, property) -> bool: + def is_property_set(self, property, ghost: bool = True) -> bool: ''' Check if a property is set, use for testing operator properties. + :param ghost: Used for operators that re-run with previous settings. In this case the property is not marked as set, yet the value from the previous execution is used. In rare cases you may want to set this option to false. + :type ghost: bool :rtype: bool :return: True when the property has been set. ''' @@ -343,6 +345,81 @@ def values(self) -> list: pass +class AOV(bpy_struct): + is_valid: bool = None + ''' Is the name of the AOV conflicting + + :type: bool + ''' + + name: str = None + ''' Name of the AOV + + :type: str + ''' + + type: typing.Union[int, str] = None + ''' Data type of the AOV + + :type: typing.Union[int, str] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class AOVs(bpy_struct): + ''' Collection of AOVs + ''' + + def add(self) -> 'AOV': + ''' add + + :rtype: 'AOV' + :return: Newly created AOV + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class ActionFCurves(bpy_struct): ''' Collection of action F-Curves ''' @@ -408,10 +485,11 @@ class ActionGroup(bpy_struct): ''' Groups of F-Curves ''' - channels: typing.Union[typing.List['FCurve'], 'bpy_prop_collection'] = None + channels: typing.Union[typing.Dict[str, 'FCurve'], typing. + List['FCurve'], 'bpy_prop_collection'] = None ''' F-Curves in this group - :type: typing.Union[typing.List['FCurve'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'FCurve'], typing.List['FCurve'], 'bpy_prop_collection'] ''' color_set: typing.Union[int, str] = None @@ -787,18 +865,19 @@ class AnimData(bpy_struct): :type: float ''' - drivers: typing.Union[typing.List['FCurve'], 'bpy_prop_collection', - 'AnimDataDrivers'] = None + drivers: typing.Union[typing.Dict[str, 'FCurve'], typing.List['FCurve'], + 'bpy_prop_collection', 'AnimDataDrivers'] = None ''' The Drivers/Expressions for this data-block - :type: typing.Union[typing.List['FCurve'], 'bpy_prop_collection', 'AnimDataDrivers'] + :type: typing.Union[typing.Dict[str, 'FCurve'], typing.List['FCurve'], 'bpy_prop_collection', 'AnimDataDrivers'] ''' - nla_tracks: typing.Union[typing.List['NlaTrack'], 'bpy_prop_collection', + nla_tracks: typing.Union[typing.Dict[str, 'NlaTrack'], typing. + List['NlaTrack'], 'bpy_prop_collection', 'NlaTracks'] = None ''' NLA Tracks (i.e. Animation Layers) - :type: typing.Union[typing.List['NlaTrack'], 'bpy_prop_collection', 'NlaTracks'] + :type: typing.Union[typing.Dict[str, 'NlaTrack'], typing.List['NlaTrack'], 'bpy_prop_collection', 'NlaTracks'] ''' use_nla: bool = None @@ -1088,10 +1167,11 @@ class Area(bpy_struct): :type: int ''' - regions: typing.Union[typing.List['Region'], 'bpy_prop_collection'] = None + regions: typing.Union[typing.Dict[str, 'Region'], typing. + List['Region'], 'bpy_prop_collection'] = None ''' Regions this area is subdivided in - :type: typing.Union[typing.List['Region'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Region'], typing.List['Region'], 'bpy_prop_collection'] ''' show_menus: bool = None @@ -1100,11 +1180,11 @@ class Area(bpy_struct): :type: bool ''' - spaces: typing.Union[typing.List['Space'], 'bpy_prop_collection', - 'AreaSpaces'] = None + spaces: typing.Union[typing.Dict[str, 'Space'], typing.List['Space'], + 'bpy_prop_collection', 'AreaSpaces'] = None ''' Spaces contained in this area, the first being the active space (NOTE: Useful for example to restore a previously used 3D view space in a certain area to get the old view orientation) - :type: typing.Union[typing.List['Space'], 'bpy_prop_collection', 'AreaSpaces'] + :type: typing.Union[typing.Dict[str, 'Space'], typing.List['Space'], 'bpy_prop_collection', 'AreaSpaces'] ''' type: typing.Union[int, str] = None @@ -1335,170 +1415,404 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class BakeSettings(bpy_struct): - ''' Bake data for a Scene data-block +class AssetMetaData(bpy_struct): + ''' Additional data stored for an asset data-block ''' - cage_extrusion: float = None - ''' Inflate the active object by the specified distance for baking. This helps matching to points nearer to the outside of the selected object meshes - - :type: float - ''' - - cage_object: 'Object' = None - ''' Object to use as cage instead of calculating the cage from the active object with cage extrusion - - :type: 'Object' - ''' - - filepath: str = None - ''' Image filepath to use when saving externally - - :type: str - ''' - - height: int = None - ''' Vertical dimension of the baking map + active_tag: int = None + ''' Index of the tag set for editing :type: int ''' - image_settings: 'ImageFormatSettings' = None - ''' - - :type: 'ImageFormatSettings' - ''' - - margin: int = None - ''' Extends the baked result as a post process filter - - :type: int - ''' - - max_ray_distance: float = None - ''' The maximum ray distance for matching points between the active and selected objects. If zero, there is no limit - - :type: float - ''' - - normal_b: typing.Union[int, str] = None - ''' Axis to bake in blue channel - - :type: typing.Union[int, str] - ''' - - normal_g: typing.Union[int, str] = None - ''' Axis to bake in green channel - - :type: typing.Union[int, str] - ''' - - normal_r: typing.Union[int, str] = None - ''' Axis to bake in red channel - - :type: typing.Union[int, str] - ''' - - normal_space: typing.Union[int, str] = None - ''' Choose normal space for baking * OBJECT Object, Bake the normals in object space. * TANGENT Tangent, Bake the normals in tangent space. - - :type: typing.Union[int, str] - ''' - - pass_filter: typing.Union[typing.Set[int], typing.Set[str]] = None - ''' Passes to include in the active baking pass - - :type: typing.Union[typing.Set[int], typing.Set[str]] - ''' - - save_mode: typing.Union[int, str] = None - ''' Choose how to save the baking map * INTERNAL Internal, Save the baking map in an internal image data-block. * EXTERNAL External, Save the baking map in an external file. - - :type: typing.Union[int, str] - ''' - - use_automatic_name: bool = None - ''' Automatically name the output file with the pass type (external only) - - :type: bool - ''' - - use_cage: bool = None - ''' Cast rays to active object from a cage - - :type: bool - ''' - - use_clear: bool = None - ''' Clear Images before baking (internal only) - - :type: bool - ''' - - use_pass_ambient_occlusion: bool = None - ''' Add ambient occlusion contribution - - :type: bool - ''' - - use_pass_color: bool = None - ''' Color the pass - - :type: bool - ''' - - use_pass_diffuse: bool = None - ''' Add diffuse contribution - - :type: bool - ''' - - use_pass_direct: bool = None - ''' Add direct lighting contribution - - :type: bool - ''' - - use_pass_emit: bool = None - ''' Add emission contribution - - :type: bool - ''' - - use_pass_glossy: bool = None - ''' Add glossy contribution - - :type: bool - ''' - - use_pass_indirect: bool = None - ''' Add indirect lighting contribution - - :type: bool - ''' - - use_pass_transmission: bool = None - ''' Add transmission contribution - - :type: bool - ''' - - use_selected_to_active: bool = None - ''' Bake shading on the surface of selected objects to the active object - - :type: bool - ''' - - use_split_materials: bool = None - ''' Split external images per material (external only) + description: str = None + ''' A description of the asset to be displayed for the user - :type: bool + :type: str ''' - width: int = None - ''' Horizontal dimension of the baking map + tags: typing.Union[typing.Dict[str, 'AssetTag'], typing.List['AssetTag'], + 'bpy_prop_collection', 'AssetTags'] = None + ''' Custom tags (name tokens) for the asset, used for filtering and general asset management - :type: int + :type: typing.Union[typing.Dict[str, 'AssetTag'], typing.List['AssetTag'], 'bpy_prop_collection', 'AssetTags'] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class AssetTag(bpy_struct): + ''' User defined tag (name token) + ''' + + name: str = None + ''' The identifier that makes up this tag + + :type: str + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class AssetTags(bpy_struct): + ''' Collection of custom asset tags + ''' + + def new(self, name: str, skip_if_exists: bool = False) -> 'AssetTag': + ''' Add a new tag to this asset + + :param name: Name + :type name: str + :param skip_if_exists: Skip if Exists, Do not add a new tag if one of the same type already exists + :type skip_if_exists: bool + :rtype: 'AssetTag' + :return: New tag + ''' + pass + + def remove(self, tag: 'AssetTag'): + ''' Remove an existing tag from this asset + + :param tag: Removed tag + :type tag: 'AssetTag' + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class Attribute(bpy_struct): + ''' Geometry attribute + ''' + + data_type: typing.Union[int, str] = None + ''' Type of data stored in attribute * FLOAT Float, Floating-point value. * INT Integer, 32-bit integer. * FLOAT_VECTOR Vector, 3D vector with floating-point values. * FLOAT_COLOR Color, RGBA color with floating-point precisions. * BYTE_COLOR Byte Color, RGBA color with 8-bit precision. * STRING String, Text string. * BOOLEAN Boolean, True or false. + + :type: typing.Union[int, str] + ''' + + domain: typing.Union[int, str] = None + ''' Domain of the Attribute * POINT Point, Attribute on point. * EDGE Edge, Attribute on mesh edge. * CORNER Corner, Attribute on mesh polygon corner. * POLYGON Polygon, Attribute on mesh polygons. * CURVE Curve, Attribute on hair curve. + + :type: typing.Union[int, str] + ''' + + name: str = None + ''' Name of the Attribute + + :type: str + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class AttributeGroup(bpy_struct): + ''' Group of geometry attributes + ''' + + active: 'Attribute' = None + ''' Active attribute + + :type: 'Attribute' + ''' + + active_index: int = None + ''' + + :type: int + ''' + + def new(self, name: str, type: typing.Union[int, str], + domain: typing.Union[int, str]) -> 'Attribute': + ''' Add an attribute + + :param name: Attribute name + :type name: str + :param type: Type, Attribute type * FLOAT Float, Floating-point value. * INT Integer, 32-bit integer. * FLOAT_VECTOR Vector, 3D vector with floating-point values. * FLOAT_COLOR Color, RGBA color with floating-point precisions. * BYTE_COLOR Byte Color, RGBA color with 8-bit precision. * STRING String, Text string. * BOOLEAN Boolean, True or false. + :type type: typing.Union[int, str] + :param domain: Domain, Type of element that attribute is stored on * POINT Point, Attribute on point. * EDGE Edge, Attribute on mesh edge. * CORNER Corner, Attribute on mesh polygon corner. * POLYGON Polygon, Attribute on mesh polygons. * CURVE Curve, Attribute on hair curve. + :type domain: typing.Union[int, str] + :rtype: 'Attribute' + :return: New geometry attribute + ''' + pass + + def remove(self, attribute: 'Attribute'): + ''' Remove an attribute + + :param attribute: Geometry Attribute + :type attribute: 'Attribute' + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class BakeSettings(bpy_struct): + ''' Bake data for a Scene data-block + ''' + + cage_extrusion: float = None + ''' Inflate the active object by the specified distance for baking. This helps matching to points nearer to the outside of the selected object meshes + + :type: float + ''' + + cage_object: 'Object' = None + ''' Object to use as cage instead of calculating the cage from the active object with cage extrusion + + :type: 'Object' + ''' + + filepath: str = None + ''' Image filepath to use when saving externally + + :type: str + ''' + + height: int = None + ''' Vertical dimension of the baking map + + :type: int + ''' + + image_settings: 'ImageFormatSettings' = None + ''' + + :type: 'ImageFormatSettings' + ''' + + margin: int = None + ''' Extends the baked result as a post process filter + + :type: int + ''' + + max_ray_distance: float = None + ''' The maximum ray distance for matching points between the active and selected objects. If zero, there is no limit + + :type: float + ''' + + normal_b: typing.Union[int, str] = None + ''' Axis to bake in blue channel + + :type: typing.Union[int, str] + ''' + + normal_g: typing.Union[int, str] = None + ''' Axis to bake in green channel + + :type: typing.Union[int, str] + ''' + + normal_r: typing.Union[int, str] = None + ''' Axis to bake in red channel + + :type: typing.Union[int, str] + ''' + + normal_space: typing.Union[int, str] = None + ''' Choose normal space for baking * OBJECT Object, Bake the normals in object space. * TANGENT Tangent, Bake the normals in tangent space. + + :type: typing.Union[int, str] + ''' + + pass_filter: typing.Union[typing.Set[int], typing.Set[str]] = None + ''' Passes to include in the active baking pass + + :type: typing.Union[typing.Set[int], typing.Set[str]] + ''' + + save_mode: typing.Union[int, str] = None + ''' Where to save baked image textures * INTERNAL Internal, Save the baking map in an internal image data-block. * EXTERNAL External, Save the baking map in an external file. + + :type: typing.Union[int, str] + ''' + + target: typing.Union[int, str] = None + ''' Where to output the baked map * IMAGE_TEXTURES Image Textures, Bake to image data-blocks associated with active image texture nodes in materials. * VERTEX_COLORS Vertex Colors, Bake to active vertex color layer on meshes. + + :type: typing.Union[int, str] + ''' + + use_automatic_name: bool = None + ''' Automatically name the output file with the pass type (external only) + + :type: bool + ''' + + use_cage: bool = None + ''' Cast rays to active object from a cage + + :type: bool + ''' + + use_clear: bool = None + ''' Clear Images before baking (internal only) + + :type: bool + ''' + + use_pass_ambient_occlusion: bool = None + ''' Add ambient occlusion contribution + + :type: bool + ''' + + use_pass_color: bool = None + ''' Color the pass + + :type: bool + ''' + + use_pass_diffuse: bool = None + ''' Add diffuse contribution + + :type: bool + ''' + + use_pass_direct: bool = None + ''' Add direct lighting contribution + + :type: bool + ''' + + use_pass_emit: bool = None + ''' Add emission contribution + + :type: bool + ''' + + use_pass_glossy: bool = None + ''' Add glossy contribution + + :type: bool + ''' + + use_pass_indirect: bool = None + ''' Add indirect lighting contribution + + :type: bool + ''' + + use_pass_transmission: bool = None + ''' Add transmission contribution + + :type: bool + ''' + + use_selected_to_active: bool = None + ''' Bake shading on the surface of selected objects to the active object + + :type: bool + ''' + + use_split_materials: bool = None + ''' Split external images per material (external only) + + :type: bool + ''' + + width: int = None + ''' Horizontal dimension of the baking map + + :type: int ''' @classmethod @@ -1625,53 +1939,56 @@ class BlendData(bpy_struct): ''' Main data structure representing a .blend file and all its data-blocks ''' - actions: typing.Union[typing.List['Action'], 'bpy_prop_collection', - 'BlendDataActions'] = None + actions: typing.Union[typing.Dict[str, 'Action'], typing.List['Action'], + 'bpy_prop_collection', 'BlendDataActions'] = None ''' Action data-blocks - :type: typing.Union[typing.List['Action'], 'bpy_prop_collection', 'BlendDataActions'] + :type: typing.Union[typing.Dict[str, 'Action'], typing.List['Action'], 'bpy_prop_collection', 'BlendDataActions'] ''' - armatures: typing.Union[typing.List['Armature'], 'bpy_prop_collection', + armatures: typing.Union[typing.Dict[str, 'Armature'], typing. + List['Armature'], 'bpy_prop_collection', 'BlendDataArmatures'] = None ''' Armature data-blocks - :type: typing.Union[typing.List['Armature'], 'bpy_prop_collection', 'BlendDataArmatures'] + :type: typing.Union[typing.Dict[str, 'Armature'], typing.List['Armature'], 'bpy_prop_collection', 'BlendDataArmatures'] ''' - brushes: typing.Union[typing.List['Brush'], 'bpy_prop_collection', - 'BlendDataBrushes'] = None + brushes: typing.Union[typing.Dict[str, 'Brush'], typing.List['Brush'], + 'bpy_prop_collection', 'BlendDataBrushes'] = None ''' Brush data-blocks - :type: typing.Union[typing.List['Brush'], 'bpy_prop_collection', 'BlendDataBrushes'] + :type: typing.Union[typing.Dict[str, 'Brush'], typing.List['Brush'], 'bpy_prop_collection', 'BlendDataBrushes'] ''' - cache_files: typing.Union[typing.List['CacheFile'], 'bpy_prop_collection', + cache_files: typing.Union[typing.Dict[str, 'CacheFile'], typing. + List['CacheFile'], 'bpy_prop_collection', 'BlendDataCacheFiles'] = None ''' Cache Files data-blocks - :type: typing.Union[typing.List['CacheFile'], 'bpy_prop_collection', 'BlendDataCacheFiles'] + :type: typing.Union[typing.Dict[str, 'CacheFile'], typing.List['CacheFile'], 'bpy_prop_collection', 'BlendDataCacheFiles'] ''' - cameras: typing.Union[typing.List['Camera'], 'bpy_prop_collection', - 'BlendDataCameras'] = None + cameras: typing.Union[typing.Dict[str, 'Camera'], typing.List['Camera'], + 'bpy_prop_collection', 'BlendDataCameras'] = None ''' Camera data-blocks - :type: typing.Union[typing.List['Camera'], 'bpy_prop_collection', 'BlendDataCameras'] + :type: typing.Union[typing.Dict[str, 'Camera'], typing.List['Camera'], 'bpy_prop_collection', 'BlendDataCameras'] ''' - collections: typing.Union[typing.List['Collection'], 'bpy_prop_collection', + collections: typing.Union[typing.Dict[str, 'Collection'], typing. + List['Collection'], 'bpy_prop_collection', 'BlendDataCollections'] = None ''' Collection data-blocks - :type: typing.Union[typing.List['Collection'], 'bpy_prop_collection', 'BlendDataCollections'] + :type: typing.Union[typing.Dict[str, 'Collection'], typing.List['Collection'], 'bpy_prop_collection', 'BlendDataCollections'] ''' - curves: typing.Union[typing.List['Curve'], 'bpy_prop_collection', - 'BlendDataCurves'] = None + curves: typing.Union[typing.Dict[str, 'Curve'], typing.List['Curve'], + 'bpy_prop_collection', 'BlendDataCurves'] = None ''' Curve data-blocks - :type: typing.Union[typing.List['Curve'], 'bpy_prop_collection', 'BlendDataCurves'] + :type: typing.Union[typing.Dict[str, 'Curve'], typing.List['Curve'], 'bpy_prop_collection', 'BlendDataCurves'] ''' filepath: str = None @@ -1680,26 +1997,27 @@ class BlendData(bpy_struct): :type: str ''' - fonts: typing.Union[typing.List['VectorFont'], 'bpy_prop_collection', + fonts: typing.Union[typing.Dict[str, 'VectorFont'], typing. + List['VectorFont'], 'bpy_prop_collection', 'BlendDataFonts'] = None ''' Vector font data-blocks - :type: typing.Union[typing.List['VectorFont'], 'bpy_prop_collection', 'BlendDataFonts'] + :type: typing.Union[typing.Dict[str, 'VectorFont'], typing.List['VectorFont'], 'bpy_prop_collection', 'BlendDataFonts'] ''' - grease_pencils: typing.Union[typing. + grease_pencils: typing.Union[typing.Dict[str, 'GreasePencil'], typing. List['GreasePencil'], 'bpy_prop_collection', 'BlendDataGreasePencils'] = None ''' Grease Pencil data-blocks - :type: typing.Union[typing.List['GreasePencil'], 'bpy_prop_collection', 'BlendDataGreasePencils'] + :type: typing.Union[typing.Dict[str, 'GreasePencil'], typing.List['GreasePencil'], 'bpy_prop_collection', 'BlendDataGreasePencils'] ''' - images: typing.Union[typing.List['Image'], 'bpy_prop_collection', - 'BlendDataImages'] = None + images: typing.Union[typing.Dict[str, 'Image'], typing.List['Image'], + 'bpy_prop_collection', 'BlendDataImages'] = None ''' Image data-blocks - :type: typing.Union[typing.List['Image'], 'bpy_prop_collection', 'BlendDataImages'] + :type: typing.Union[typing.Dict[str, 'Image'], typing.List['Image'], 'bpy_prop_collection', 'BlendDataImages'] ''' is_dirty: bool = None @@ -1714,159 +2032,167 @@ class BlendData(bpy_struct): :type: bool ''' - lattices: typing.Union[typing.List['Lattice'], 'bpy_prop_collection', - 'BlendDataLattices'] = None + lattices: typing.Union[typing.Dict[str, 'Lattice'], typing.List['Lattice'], + 'bpy_prop_collection', 'BlendDataLattices'] = None ''' Lattice data-blocks - :type: typing.Union[typing.List['Lattice'], 'bpy_prop_collection', 'BlendDataLattices'] + :type: typing.Union[typing.Dict[str, 'Lattice'], typing.List['Lattice'], 'bpy_prop_collection', 'BlendDataLattices'] ''' - libraries: typing.Union[typing.List['Library'], 'bpy_prop_collection', + libraries: typing.Union[typing.Dict[str, 'Library'], typing. + List['Library'], 'bpy_prop_collection', 'BlendDataLibraries'] = None ''' Library data-blocks - :type: typing.Union[typing.List['Library'], 'bpy_prop_collection', 'BlendDataLibraries'] + :type: typing.Union[typing.Dict[str, 'Library'], typing.List['Library'], 'bpy_prop_collection', 'BlendDataLibraries'] ''' - lightprobes: typing.Union[typing.List['LightProbe'], 'bpy_prop_collection', + lightprobes: typing.Union[typing.Dict[str, 'LightProbe'], typing. + List['LightProbe'], 'bpy_prop_collection', 'BlendDataProbes'] = None - ''' LightProbe data-blocks + ''' Light Probe data-blocks - :type: typing.Union[typing.List['LightProbe'], 'bpy_prop_collection', 'BlendDataProbes'] + :type: typing.Union[typing.Dict[str, 'LightProbe'], typing.List['LightProbe'], 'bpy_prop_collection', 'BlendDataProbes'] ''' - lights: typing.Union[typing.List['Light'], 'bpy_prop_collection', - 'BlendDataLights'] = None + lights: typing.Union[typing.Dict[str, 'Light'], typing.List['Light'], + 'bpy_prop_collection', 'BlendDataLights'] = None ''' Light data-blocks - :type: typing.Union[typing.List['Light'], 'bpy_prop_collection', 'BlendDataLights'] + :type: typing.Union[typing.Dict[str, 'Light'], typing.List['Light'], 'bpy_prop_collection', 'BlendDataLights'] ''' - linestyles: typing.Union[typing. + linestyles: typing.Union[typing.Dict[str, 'FreestyleLineStyle'], typing. List['FreestyleLineStyle'], 'bpy_prop_collection', 'BlendDataLineStyles'] = None ''' Line Style data-blocks - :type: typing.Union[typing.List['FreestyleLineStyle'], 'bpy_prop_collection', 'BlendDataLineStyles'] + :type: typing.Union[typing.Dict[str, 'FreestyleLineStyle'], typing.List['FreestyleLineStyle'], 'bpy_prop_collection', 'BlendDataLineStyles'] ''' - masks: typing.Union[typing.List['Mask'], 'bpy_prop_collection', - 'BlendDataMasks'] = None + masks: typing.Union[typing.Dict[str, 'Mask'], typing.List['Mask'], + 'bpy_prop_collection', 'BlendDataMasks'] = None ''' Masks data-blocks - :type: typing.Union[typing.List['Mask'], 'bpy_prop_collection', 'BlendDataMasks'] + :type: typing.Union[typing.Dict[str, 'Mask'], typing.List['Mask'], 'bpy_prop_collection', 'BlendDataMasks'] ''' - materials: typing.Union[typing.List['Material'], 'bpy_prop_collection', + materials: typing.Union[typing.Dict[str, 'Material'], typing. + List['Material'], 'bpy_prop_collection', 'BlendDataMaterials'] = None ''' Material data-blocks - :type: typing.Union[typing.List['Material'], 'bpy_prop_collection', 'BlendDataMaterials'] + :type: typing.Union[typing.Dict[str, 'Material'], typing.List['Material'], 'bpy_prop_collection', 'BlendDataMaterials'] ''' - meshes: typing.Union[typing.List['Mesh'], 'bpy_prop_collection', - 'BlendDataMeshes'] = None + meshes: typing.Union[typing.Dict[str, 'Mesh'], typing.List['Mesh'], + 'bpy_prop_collection', 'BlendDataMeshes'] = None ''' Mesh data-blocks - :type: typing.Union[typing.List['Mesh'], 'bpy_prop_collection', 'BlendDataMeshes'] + :type: typing.Union[typing.Dict[str, 'Mesh'], typing.List['Mesh'], 'bpy_prop_collection', 'BlendDataMeshes'] ''' - metaballs: typing.Union[typing.List['MetaBall'], 'bpy_prop_collection', + metaballs: typing.Union[typing.Dict[str, 'MetaBall'], typing. + List['MetaBall'], 'bpy_prop_collection', 'BlendDataMetaBalls'] = None ''' Metaball data-blocks - :type: typing.Union[typing.List['MetaBall'], 'bpy_prop_collection', 'BlendDataMetaBalls'] + :type: typing.Union[typing.Dict[str, 'MetaBall'], typing.List['MetaBall'], 'bpy_prop_collection', 'BlendDataMetaBalls'] ''' - movieclips: typing.Union[typing.List['MovieClip'], 'bpy_prop_collection', + movieclips: typing.Union[typing.Dict[str, 'MovieClip'], typing. + List['MovieClip'], 'bpy_prop_collection', 'BlendDataMovieClips'] = None ''' Movie Clip data-blocks - :type: typing.Union[typing.List['MovieClip'], 'bpy_prop_collection', 'BlendDataMovieClips'] + :type: typing.Union[typing.Dict[str, 'MovieClip'], typing.List['MovieClip'], 'bpy_prop_collection', 'BlendDataMovieClips'] ''' - node_groups: typing.Union[typing.List['NodeTree'], 'bpy_prop_collection', + node_groups: typing.Union[typing.Dict[str, 'NodeTree'], typing. + List['NodeTree'], 'bpy_prop_collection', 'BlendDataNodeTrees'] = None ''' Node group data-blocks - :type: typing.Union[typing.List['NodeTree'], 'bpy_prop_collection', 'BlendDataNodeTrees'] + :type: typing.Union[typing.Dict[str, 'NodeTree'], typing.List['NodeTree'], 'bpy_prop_collection', 'BlendDataNodeTrees'] ''' - objects: typing.Union[typing.List['Object'], 'bpy_prop_collection', - 'BlendDataObjects'] = None + objects: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], + 'bpy_prop_collection', 'BlendDataObjects'] = None ''' Object data-blocks - :type: typing.Union[typing.List['Object'], 'bpy_prop_collection', 'BlendDataObjects'] + :type: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], 'bpy_prop_collection', 'BlendDataObjects'] ''' - paint_curves: typing.Union[typing. + paint_curves: typing.Union[typing.Dict[str, 'PaintCurve'], typing. List['PaintCurve'], 'bpy_prop_collection', 'BlendDataPaintCurves'] = None ''' Paint Curves data-blocks - :type: typing.Union[typing.List['PaintCurve'], 'bpy_prop_collection', 'BlendDataPaintCurves'] + :type: typing.Union[typing.Dict[str, 'PaintCurve'], typing.List['PaintCurve'], 'bpy_prop_collection', 'BlendDataPaintCurves'] ''' - palettes: typing.Union[typing.List['Palette'], 'bpy_prop_collection', - 'BlendDataPalettes'] = None + palettes: typing.Union[typing.Dict[str, 'Palette'], typing.List['Palette'], + 'bpy_prop_collection', 'BlendDataPalettes'] = None ''' Palette data-blocks - :type: typing.Union[typing.List['Palette'], 'bpy_prop_collection', 'BlendDataPalettes'] + :type: typing.Union[typing.Dict[str, 'Palette'], typing.List['Palette'], 'bpy_prop_collection', 'BlendDataPalettes'] ''' - particles: typing.Union[typing.List['ParticleSettings'], - 'bpy_prop_collection', 'BlendDataParticles'] = None + particles: typing.Union[typing.Dict[str, 'ParticleSettings'], typing. + List['ParticleSettings'], 'bpy_prop_collection', + 'BlendDataParticles'] = None ''' Particle data-blocks - :type: typing.Union[typing.List['ParticleSettings'], 'bpy_prop_collection', 'BlendDataParticles'] + :type: typing.Union[typing.Dict[str, 'ParticleSettings'], typing.List['ParticleSettings'], 'bpy_prop_collection', 'BlendDataParticles'] ''' - scenes: typing.Union[typing.List['Scene'], 'bpy_prop_collection', - 'BlendDataScenes'] = None + scenes: typing.Union[typing.Dict[str, 'Scene'], typing.List['Scene'], + 'bpy_prop_collection', 'BlendDataScenes'] = None ''' Scene data-blocks - :type: typing.Union[typing.List['Scene'], 'bpy_prop_collection', 'BlendDataScenes'] + :type: typing.Union[typing.Dict[str, 'Scene'], typing.List['Scene'], 'bpy_prop_collection', 'BlendDataScenes'] ''' - screens: typing.Union[typing.List['Screen'], 'bpy_prop_collection', - 'BlendDataScreens'] = None + screens: typing.Union[typing.Dict[str, 'Screen'], typing.List['Screen'], + 'bpy_prop_collection', 'BlendDataScreens'] = None ''' Screen data-blocks - :type: typing.Union[typing.List['Screen'], 'bpy_prop_collection', 'BlendDataScreens'] + :type: typing.Union[typing.Dict[str, 'Screen'], typing.List['Screen'], 'bpy_prop_collection', 'BlendDataScreens'] ''' - shape_keys: typing.Union[typing.List['Key'], 'bpy_prop_collection'] = None + shape_keys: typing.Union[typing.Dict[str, 'Key'], typing. + List['Key'], 'bpy_prop_collection'] = None ''' Shape Key data-blocks - :type: typing.Union[typing.List['Key'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Key'], typing.List['Key'], 'bpy_prop_collection'] ''' - sounds: typing.Union[typing.List['Sound'], 'bpy_prop_collection', - 'BlendDataSounds'] = None + sounds: typing.Union[typing.Dict[str, 'Sound'], typing.List['Sound'], + 'bpy_prop_collection', 'BlendDataSounds'] = None ''' Sound data-blocks - :type: typing.Union[typing.List['Sound'], 'bpy_prop_collection', 'BlendDataSounds'] + :type: typing.Union[typing.Dict[str, 'Sound'], typing.List['Sound'], 'bpy_prop_collection', 'BlendDataSounds'] ''' - speakers: typing.Union[typing.List['Speaker'], 'bpy_prop_collection', - 'BlendDataSpeakers'] = None + speakers: typing.Union[typing.Dict[str, 'Speaker'], typing.List['Speaker'], + 'bpy_prop_collection', 'BlendDataSpeakers'] = None ''' Speaker data-blocks - :type: typing.Union[typing.List['Speaker'], 'bpy_prop_collection', 'BlendDataSpeakers'] + :type: typing.Union[typing.Dict[str, 'Speaker'], typing.List['Speaker'], 'bpy_prop_collection', 'BlendDataSpeakers'] ''' - texts: typing.Union[typing.List['Text'], 'bpy_prop_collection', - 'BlendDataTexts'] = None + texts: typing.Union[typing.Dict[str, 'Text'], typing.List['Text'], + 'bpy_prop_collection', 'BlendDataTexts'] = None ''' Text data-blocks - :type: typing.Union[typing.List['Text'], 'bpy_prop_collection', 'BlendDataTexts'] + :type: typing.Union[typing.Dict[str, 'Text'], typing.List['Text'], 'bpy_prop_collection', 'BlendDataTexts'] ''' - textures: typing.Union[typing.List['Texture'], 'bpy_prop_collection', - 'BlendDataTextures'] = None + textures: typing.Union[typing.Dict[str, 'Texture'], typing.List['Texture'], + 'bpy_prop_collection', 'BlendDataTextures'] = None ''' Texture data-blocks - :type: typing.Union[typing.List['Texture'], 'bpy_prop_collection', 'BlendDataTextures'] + :type: typing.Union[typing.Dict[str, 'Texture'], typing.List['Texture'], 'bpy_prop_collection', 'BlendDataTextures'] ''' use_autopack: bool = None @@ -1881,33 +2207,34 @@ class BlendData(bpy_struct): :type: typing.List[int] ''' - volumes: typing.Union[typing.List['Volume'], 'bpy_prop_collection', - 'BlendDataVolumes'] = None + volumes: typing.Union[typing.Dict[str, 'Volume'], typing.List['Volume'], + 'bpy_prop_collection', 'BlendDataVolumes'] = None ''' Volume data-blocks - :type: typing.Union[typing.List['Volume'], 'bpy_prop_collection', 'BlendDataVolumes'] + :type: typing.Union[typing.Dict[str, 'Volume'], typing.List['Volume'], 'bpy_prop_collection', 'BlendDataVolumes'] ''' - window_managers: typing.Union[typing. + window_managers: typing.Union[typing.Dict[str, 'WindowManager'], typing. List['WindowManager'], 'bpy_prop_collection', 'BlendDataWindowManagers'] = None ''' Window manager data-blocks - :type: typing.Union[typing.List['WindowManager'], 'bpy_prop_collection', 'BlendDataWindowManagers'] + :type: typing.Union[typing.Dict[str, 'WindowManager'], typing.List['WindowManager'], 'bpy_prop_collection', 'BlendDataWindowManagers'] ''' - workspaces: typing.Union[typing.List['WorkSpace'], 'bpy_prop_collection', + workspaces: typing.Union[typing.Dict[str, 'WorkSpace'], typing. + List['WorkSpace'], 'bpy_prop_collection', 'BlendDataWorkSpaces'] = None ''' Workspace data-blocks - :type: typing.Union[typing.List['WorkSpace'], 'bpy_prop_collection', 'BlendDataWorkSpaces'] + :type: typing.Union[typing.Dict[str, 'WorkSpace'], typing.List['WorkSpace'], 'bpy_prop_collection', 'BlendDataWorkSpaces'] ''' - worlds: typing.Union[typing.List['World'], 'bpy_prop_collection', - 'BlendDataWorlds'] = None + worlds: typing.Union[typing.Dict[str, 'World'], typing.List['World'], + 'bpy_prop_collection', 'BlendDataWorlds'] = None ''' World data-blocks - :type: typing.Union[typing.List['World'], 'bpy_prop_collection', 'BlendDataWorlds'] + :type: typing.Union[typing.Dict[str, 'World'], typing.List['World'], 'bpy_prop_collection', 'BlendDataWorlds'] ''' def batch_remove(self, ids=()): @@ -2531,7 +2858,7 @@ def new(self, :type height: int :param alpha: Alpha, Use alpha channel :type alpha: bool - :param float_buffer: Float Buffer, Create an image with floating point color + :param float_buffer: Float Buffer, Create an image with floating-point color :type float_buffer: bool :param stereo3d: Stereo 3D, Create left and right views :type stereo3d: bool @@ -4120,10 +4447,11 @@ class BlenderRNA(bpy_struct): ''' Blender RNA structure definitions ''' - structs: typing.Union[typing.List['Struct'], 'bpy_prop_collection'] = None + structs: typing.Union[typing.Dict[str, 'Struct'], typing. + List['Struct'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['Struct'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Struct'], typing.List['Struct'], 'bpy_prop_collection'] ''' @classmethod @@ -4325,11 +4653,11 @@ class BoidSettings(bpy_struct): :type: float ''' - states: typing.Union[typing. + states: typing.Union[typing.Dict[str, 'BoidState'], typing. List['BoidState'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['BoidState'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'BoidState'], typing.List['BoidState'], 'bpy_prop_collection'] ''' strength: float = None @@ -4412,10 +4740,11 @@ class BoidState(bpy_struct): :type: float ''' - rules: typing.Union[typing.List['BoidRule'], 'bpy_prop_collection'] = None + rules: typing.Union[typing.Dict[str, 'BoidRule'], typing. + List['BoidRule'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['BoidRule'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'BoidRule'], typing.List['BoidRule'], 'bpy_prop_collection'] ''' ruleset_type: typing.Union[int, str] = None @@ -4570,10 +4899,11 @@ class Bone(bpy_struct): :type: float ''' - children: typing.Union[typing.List['Bone'], 'bpy_prop_collection'] = None + children: typing.Union[typing.Dict[str, 'Bone'], typing. + List['Bone'], 'bpy_prop_collection'] = None ''' Bones which are children of this bone - :type: typing.Union[typing.List['Bone'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Bone'], typing.List['Bone'], 'bpy_prop_collection'] ''' envelope_distance: float = None @@ -4842,7 +5172,7 @@ def MatrixFromAxisRoll(cls, axis: typing.List[float], def AxisRollFromMatrix(cls, matrix: typing.List[float], axis: typing.List[float] = (0.0, 0.0, 0.0)): - ''' Convert a rotational matrix to the axis + roll representation + ''' Convert a rotational matrix to the axis + roll representation. Note that the resulting value of the roll may not be as expected if the matrix has shear or negative determinant. :param matrix: The orientation matrix of the bone :type matrix: typing.List[float] @@ -5203,6 +5533,12 @@ class BrushCapabilitiesSculpt(bpy_struct): :type: bool ''' + has_tilt: bool = None + ''' + + :type: bool + ''' + has_topology_rake: bool = None ''' @@ -5323,6 +5659,12 @@ class BrushGpencilSettings(bpy_struct): :type: typing.List[float] ''' + brush_draw_mode: typing.Union[int, str] = None + ''' Preselected mode when using this brush * ACTIVE Active, Use current mode. * MATERIAL Material, Use always material mode. * VERTEXCOLOR Vertex Color, Use always Vertex Color mode. + + :type: typing.Union[int, str] + ''' + curve_jitter: 'CurveMapping' = None ''' Curve used for the jitter effect @@ -5401,8 +5743,14 @@ class BrushGpencilSettings(bpy_struct): :type: float ''' + fill_direction: typing.Union[int, str] = None + ''' Direction of the fill * NORMAL Normal, Fill internal area. * INVERT Inverted, Fill inverted area. + + :type: typing.Union[int, str] + ''' + fill_draw_mode: typing.Union[int, str] = None - ''' Mode to draw boundary limits * BOTH Default, Use both visible strokes and edit lines as fill boundary limits. * STROKE Strokes, Use visible strokes as fill boundary limits. * CONTROL Edit Lines, Use edit lines as fill boundary limits. + ''' Mode to draw boundary limits * BOTH All, Use both visible strokes and edit lines as fill boundary limits. * STROKE Strokes, Use visible strokes as fill boundary limits. * CONTROL Edit Lines, Use edit lines as fill boundary limits. :type: typing.Union[int, str] ''' @@ -5413,6 +5761,12 @@ class BrushGpencilSettings(bpy_struct): :type: int ''' + fill_layer_mode: typing.Union[int, str] = None + ''' Layers used as boundaries * VISIBLE Visible, Visible layers. * ACTIVE Active, Only active layer. * ABOVE Layer Above, Layer above active. * BELOW Layer Below, Layer below active. * ALL_ABOVE All Above, All layers above active. * ALL_BELOW All Below, All layers below active. + + :type: typing.Union[int, str] + ''' + fill_leak: int = None ''' Size in pixels to consider the leak closed @@ -5503,6 +5857,12 @@ class BrushGpencilSettings(bpy_struct): :type: int ''' + pin_draw_mode: bool = None + ''' Pin the mode to the brush + + :type: bool + ''' + random_hue_factor: float = None ''' Random factor to modify original hue @@ -5557,12 +5917,6 @@ class BrushGpencilSettings(bpy_struct): :type: float ''' - trim: bool = None - ''' Trim intersecting stroke ends - - :type: bool - ''' - use_default_eraser: bool = None ''' Use this brush when enable eraser with fast switch key @@ -5719,6 +6073,12 @@ class BrushGpencilSettings(bpy_struct): :type: bool ''' + use_trim: bool = None + ''' Trim intersecting stroke ends + + :type: bool + ''' + uv_random: float = None ''' Random factor for autogenerated UV rotation @@ -5759,6 +6119,38 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class ByteColorAttributeValue(bpy_struct): + ''' Color value in geometry attribute + ''' + + color: typing.List[float] = None + ''' RGBA color in scene linear color space + + :type: typing.List[float] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class CameraBackgroundImage(bpy_struct): ''' Image and settings for display in the 3D View background ''' @@ -6215,8 +6607,14 @@ class ClothCollisionSettings(bpy_struct): :type: bool ''' + vertex_group_object_collisions: str = None + ''' Triangles with all vertices in this group are not used during object collisions + + :type: str + ''' + vertex_group_self_collisions: str = None - ''' Vertex group to define vertices which are not used during self collisions + ''' Triangles with all vertices in this group are not used during self collisions :type: str ''' @@ -7004,7 +7402,7 @@ class ColorManagedViewSettings(bpy_struct): ''' look: typing.Union[int, str] = None - ''' Additional transform applied before view transform for an artistic needs * NONE None, Do not modify image in an artistic manner. + ''' Additional transform applied before view transform for artistic needs * NONE None, Do not modify image in an artistic manner. :type: typing.Union[int, str] ''' @@ -7127,11 +7525,12 @@ class ColorRamp(bpy_struct): :type: typing.Union[int, str] ''' - elements: typing.Union[typing.List['ColorRampElement'], - 'bpy_prop_collection', 'ColorRampElements'] = None + elements: typing.Union[typing.Dict[str, 'ColorRampElement'], typing. + List['ColorRampElement'], 'bpy_prop_collection', + 'ColorRampElements'] = None ''' - :type: typing.Union[typing.List['ColorRampElement'], 'bpy_prop_collection', 'ColorRampElements'] + :type: typing.Union[typing.Dict[str, 'ColorRampElement'], typing.List['ColorRampElement'], 'bpy_prop_collection', 'ColorRampElements'] ''' hue_interpolation: typing.Union[int, str] = None @@ -7483,7 +7882,7 @@ class Constraint(bpy_struct): ''' owner_space: typing.Union[int, str] = None - ''' Space that owner is evaluated in * WORLD World Space, The constraint is applied relative to the world coordinate system. * POSE Pose Space, The constraint is applied in Pose Space, the object transformation is ignored. * LOCAL_WITH_PARENT Local With Parent, The constraint is applied relative to the rest pose local coordinate system of the bone, thus including the parent-induced transformation. * LOCAL Local Space, The constraint is applied relative to the local coordinate system of the object. + ''' Space that owner is evaluated in * WORLD World Space, The constraint is applied relative to the world coordinate system. * CUSTOM Custom Space, The constraint is applied in local space of a custom object/bone/vertex group. * POSE Pose Space, The constraint is applied in Pose Space, the object transformation is ignored. * LOCAL_WITH_PARENT Local With Parent, The constraint is applied relative to the rest pose local coordinate system of the bone, thus including the parent-induced transformation. * LOCAL Local Space, The constraint is applied relative to the local coordinate system of the object. :type: typing.Union[int, str] ''' @@ -7494,8 +7893,20 @@ class Constraint(bpy_struct): :type: bool ''' + space_object: 'Object' = None + ''' Object for Custom Space + + :type: 'Object' + ''' + + space_subtarget: str = None + ''' Armature bone, mesh or lattice vertex group, ... + + :type: str + ''' + target_space: typing.Union[int, str] = None - ''' Space that target is evaluated in * WORLD World Space, The transformation of the target is evaluated relative to the world coordinate system. * POSE Pose Space, The transformation of the target is only evaluated in the Pose Space, the target armature object transformation is ignored. * LOCAL_WITH_PARENT Local With Parent, The transformation of the target bone is evaluated relative to its rest pose local coordinate system, thus including the parent-induced transformation. * LOCAL Local Space, The transformation of the target is evaluated relative to its local coordinate system. + ''' Space that target is evaluated in * WORLD World Space, The transformation of the target is evaluated relative to the world coordinate system. * CUSTOM Custom Space, The transformation of the target is evaluated relative to a custom object/bone/vertex group. * POSE Pose Space, The transformation of the target is only evaluated in the Pose Space, the target armature object transformation is ignored. * LOCAL_WITH_PARENT Local With Parent, The transformation of the target bone is evaluated relative to its rest pose local coordinate system, thus including the parent-induced transformation. * LOCAL Local Space, The transformation of the target is evaluated relative to its local coordinate system. :type: typing.Union[int, str] ''' @@ -7758,217 +8169,254 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class CurveMap(bpy_struct): - ''' Curve in a curve mapping - ''' - - points: typing.Union[typing.List['CurveMapPoint'], 'bpy_prop_collection', - 'CurveMapPoints'] = None - ''' - - :type: typing.Union[typing.List['CurveMapPoint'], 'bpy_prop_collection', 'CurveMapPoints'] - ''' - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class CurveMapPoint(bpy_struct): - ''' Point of a curve used for a curve mapping - ''' - - handle_type: typing.Union[int, str] = None - ''' Curve interpolation at this point: Bezier or vector - - :type: typing.Union[int, str] - ''' - - location: typing.List[float] = None - ''' X/Y coordinates of the curve point - - :type: typing.List[float] - ''' - - select: bool = None - ''' Selection state of the curve point - - :type: bool - ''' - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class CurveMapPoints(bpy_struct): - ''' Collection of Curve Map Points - ''' - - def new(self, position: float, value: float) -> 'CurveMapPoint': - ''' Add point to CurveMap - - :param position: Position, Position to add point - :type position: float - :param value: Value, Value of point - :type value: float - :rtype: 'CurveMapPoint' - :return: New point - ''' - pass - - def remove(self, point: 'CurveMapPoint'): - ''' Delete point from CurveMap - - :param point: PointElement to remove - :type point: 'CurveMapPoint' - ''' - pass - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class CurveMapping(bpy_struct): - ''' Curve mapping to map color, vector and scalar values to other values using a user defined curve - ''' - - black_level: typing.List[float] = None - ''' For RGB curves, the color that black is mapped to - - :type: typing.List[float] - ''' - - clip_max_x: float = None +class CryptomatteEntry(bpy_struct): + encoded_hash: float = None ''' :type: float ''' - clip_max_y: float = None - ''' - - :type: float - ''' - - clip_min_x: float = None - ''' - - :type: float - ''' - - clip_min_y: float = None - ''' - - :type: float - ''' - - curves: typing.Union[typing.List['CurveMap'], 'bpy_prop_collection'] = None + name: str = None ''' - :type: typing.Union[typing.List['CurveMap'], 'bpy_prop_collection'] - ''' - - extend: typing.Union[int, str] = None - ''' Extrapolate the curve or extend it horizontally - - :type: typing.Union[int, str] - ''' - - tone: typing.Union[int, str] = None - ''' Tone of the curve - - :type: typing.Union[int, str] - ''' - - use_clip: bool = None - ''' Force the curve view to fit a defined boundary - - :type: bool - ''' - - white_level: typing.List[float] = None - ''' For RGB curves, the color that white is mapped to - - :type: typing.List[float] + :type: str ''' - def update(self): - ''' Update curve mapping after making changes - - ''' - pass - - def initialize(self): - ''' Initialize curve - - ''' - pass - - def evaluate(self, curve: 'CurveMap', position: float) -> float: - ''' Evaluate curve at given location - - :param curve: curve, Curve to evaluate - :type curve: 'CurveMap' - :param position: Position, Position to evaluate curve at - :type position: float - :rtype: float - :return: Value, Value of curve at given location - ''' - pass - + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class CurveMap(bpy_struct): + ''' Curve in a curve mapping + ''' + + points: typing.Union[typing.Dict[str, 'CurveMapPoint'], typing. + List['CurveMapPoint'], 'bpy_prop_collection', + 'CurveMapPoints'] = None + ''' + + :type: typing.Union[typing.Dict[str, 'CurveMapPoint'], typing.List['CurveMapPoint'], 'bpy_prop_collection', 'CurveMapPoints'] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class CurveMapPoint(bpy_struct): + ''' Point of a curve used for a curve mapping + ''' + + handle_type: typing.Union[int, str] = None + ''' Curve interpolation at this point: Bezier or vector + + :type: typing.Union[int, str] + ''' + + location: typing.List[float] = None + ''' X/Y coordinates of the curve point + + :type: typing.List[float] + ''' + + select: bool = None + ''' Selection state of the curve point + + :type: bool + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class CurveMapPoints(bpy_struct): + ''' Collection of Curve Map Points + ''' + + def new(self, position: float, value: float) -> 'CurveMapPoint': + ''' Add point to CurveMap + + :param position: Position, Position to add point + :type position: float + :param value: Value, Value of point + :type value: float + :rtype: 'CurveMapPoint' + :return: New point + ''' + pass + + def remove(self, point: 'CurveMapPoint'): + ''' Delete point from CurveMap + + :param point: PointElement to remove + :type point: 'CurveMapPoint' + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class CurveMapping(bpy_struct): + ''' Curve mapping to map color, vector and scalar values to other values using a user defined curve + ''' + + black_level: typing.List[float] = None + ''' For RGB curves, the color that black is mapped to + + :type: typing.List[float] + ''' + + clip_max_x: float = None + ''' + + :type: float + ''' + + clip_max_y: float = None + ''' + + :type: float + ''' + + clip_min_x: float = None + ''' + + :type: float + ''' + + clip_min_y: float = None + ''' + + :type: float + ''' + + curves: typing.Union[typing.Dict[str, 'CurveMap'], typing. + List['CurveMap'], 'bpy_prop_collection'] = None + ''' + + :type: typing.Union[typing.Dict[str, 'CurveMap'], typing.List['CurveMap'], 'bpy_prop_collection'] + ''' + + extend: typing.Union[int, str] = None + ''' Extrapolate the curve or extend it horizontally + + :type: typing.Union[int, str] + ''' + + tone: typing.Union[int, str] = None + ''' Tone of the curve + + :type: typing.Union[int, str] + ''' + + use_clip: bool = None + ''' Force the curve view to fit a defined boundary + + :type: bool + ''' + + white_level: typing.List[float] = None + ''' For RGB curves, the color that white is mapped to + + :type: typing.List[float] + ''' + + def update(self): + ''' Update curve mapping after making changes + + ''' + pass + + def initialize(self): + ''' Initialize curve + + ''' + pass + + def evaluate(self, curve: 'CurveMap', position: float) -> float: + ''' Evaluate curve at given location + + :param curve: curve, Curve to evaluate + :type curve: 'CurveMap' + :param position: Position, Position to evaluate curve at + :type position: float + :rtype: float + :return: Value, Value of curve at given location + ''' + pass + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -8017,7 +8465,7 @@ class CurvePaintSettings(bpy_struct): ''' fit_method: typing.Union[int, str] = None - ''' Curve fitting method * REFIT Refit, Incrementally re-fit the curve (high quality). * SPLIT Split, Split the curve until the tolerance is met (fast). + ''' Curve fitting method * REFIT Refit, Incrementally refit the curve (high quality). * SPLIT Split, Split the curve until the tolerance is met (fast). :type: typing.Union[int, str] ''' @@ -8108,11 +8556,12 @@ class CurveProfile(bpy_struct): ''' Profile Path editor used to build a profile path ''' - points: typing.Union[typing.List['CurveProfilePoint'], - 'bpy_prop_collection', 'CurveProfilePoints'] = None + points: typing.Union[typing.Dict[str, 'CurveProfilePoint'], typing. + List['CurveProfilePoint'], 'bpy_prop_collection', + 'CurveProfilePoints'] = None ''' Profile control points - :type: typing.Union[typing.List['CurveProfilePoint'], 'bpy_prop_collection', 'CurveProfilePoints'] + :type: typing.Union[typing.Dict[str, 'CurveProfilePoint'], typing.List['CurveProfilePoint'], 'bpy_prop_collection', 'CurveProfilePoints'] ''' preset: typing.Union[int, str] = None @@ -8121,11 +8570,12 @@ class CurveProfile(bpy_struct): :type: typing.Union[int, str] ''' - segments: typing.Union[typing.List['CurveProfilePoint'], + segments: typing.Union[typing.Dict[str, 'CurveProfilePoint'], typing. + List['CurveProfilePoint'], 'bpy_prop_collection'] = None ''' Segments sampled from control points - :type: typing.Union[typing.List['CurveProfilePoint'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'CurveProfilePoint'], typing.List['CurveProfilePoint'], 'bpy_prop_collection'] ''' use_clip: bool = None @@ -8345,10 +8795,11 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class Depsgraph(bpy_struct): - ids: typing.Union[typing.List['ID'], 'bpy_prop_collection'] = None - ''' All evaluated datablocks + ids: typing.Union[typing.Dict[str, 'ID'], typing. + List['ID'], 'bpy_prop_collection'] = None + ''' All evaluated data-blocks - :type: typing.Union[typing.List['ID'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ID'], typing.List['ID'], 'bpy_prop_collection'] ''' mode: typing.Union[int, str] = None @@ -8357,17 +8808,19 @@ class Depsgraph(bpy_struct): :type: typing.Union[int, str] ''' - object_instances: typing.Union[typing.List['DepsgraphObjectInstance'], - 'bpy_prop_collection'] = None + object_instances: typing.Union[ + typing.Dict[str, 'DepsgraphObjectInstance'], typing. + List['DepsgraphObjectInstance'], 'bpy_prop_collection'] = None ''' All object instances to display or render (WARNING: only use this as an iterator, never as a sequence, and do not keep any references to its items) - :type: typing.Union[typing.List['DepsgraphObjectInstance'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'DepsgraphObjectInstance'], typing.List['DepsgraphObjectInstance'], 'bpy_prop_collection'] ''' - objects: typing.Union[typing.List['Object'], 'bpy_prop_collection'] = None + objects: typing.Union[typing.Dict[str, 'Object'], typing. + List['Object'], 'bpy_prop_collection'] = None ''' Evaluated objects in the dependency graph - :type: typing.Union[typing.List['Object'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], 'bpy_prop_collection'] ''' scene: 'Scene' = None @@ -8382,11 +8835,12 @@ class Depsgraph(bpy_struct): :type: 'Scene' ''' - updates: typing.Union[typing.List['DepsgraphUpdate'], + updates: typing.Union[typing.Dict[str, 'DepsgraphUpdate'], typing. + List['DepsgraphUpdate'], 'bpy_prop_collection'] = None - ''' Updates to datablocks + ''' Updates to data-blocks - :type: typing.Union[typing.List['DepsgraphUpdate'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'DepsgraphUpdate'], typing.List['DepsgraphUpdate'], 'bpy_prop_collection'] ''' view_layer: 'ViewLayer' = None @@ -8584,7 +9038,7 @@ class DepsgraphUpdate(bpy_struct): ''' id: 'ID' = None - ''' Updated datablock + ''' Updated data-block :type: 'ID' ''' @@ -8899,6 +9353,12 @@ class DopeSheet(bpy_struct): :type: bool ''' + use_filter_invert: bool = None + ''' Invert filter search + + :type: bool + ''' + use_multi_word_filter: bool = None ''' Perform fuzzy/multi-word matching (WARNING: May be slow) @@ -8961,12 +9421,12 @@ class Driver(bpy_struct): :type: bool ''' - variables: typing.Union[typing. + variables: typing.Union[typing.Dict[str, 'DriverVariable'], typing. List['DriverVariable'], 'bpy_prop_collection', 'ChannelDriverVariables'] = None ''' Properties acting as inputs for this driver - :type: typing.Union[typing.List['DriverVariable'], 'bpy_prop_collection', 'ChannelDriverVariables'] + :type: typing.Union[typing.Dict[str, 'DriverVariable'], typing.List['DriverVariable'], 'bpy_prop_collection', 'ChannelDriverVariables'] ''' @classmethod @@ -9075,11 +9535,11 @@ class DriverVariable(bpy_struct): :type: str ''' - targets: typing.Union[typing. + targets: typing.Union[typing.Dict[str, 'DriverTarget'], typing. List['DriverTarget'], 'bpy_prop_collection'] = None ''' Sources of input data for evaluating this variable - :type: typing.Union[typing.List['DriverTarget'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'DriverTarget'], typing.List['DriverTarget'], 'bpy_prop_collection'] ''' type: typing.Union[int, str] = None @@ -9308,12 +9768,13 @@ class DynamicPaintCanvasSettings(bpy_struct): ''' Dynamic Paint canvas settings ''' - canvas_surfaces: typing.Union[typing.List['DynamicPaintSurface'], - 'bpy_prop_collection', - 'DynamicPaintSurfaces'] = None + canvas_surfaces: typing.Union[ + typing.Dict[str, 'DynamicPaintSurface'], typing. + List['DynamicPaintSurface'], 'bpy_prop_collection', + 'DynamicPaintSurfaces'] = None ''' Paint surface list - :type: typing.Union[typing.List['DynamicPaintSurface'], 'bpy_prop_collection', 'DynamicPaintSurfaces'] + :type: typing.Union[typing.Dict[str, 'DynamicPaintSurface'], typing.List['DynamicPaintSurface'], 'bpy_prop_collection', 'DynamicPaintSurfaces'] ''' @classmethod @@ -9731,7 +10192,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class EditBone(bpy_struct): - ''' Editmode bone in an Armature data-block + ''' Edit mode bone in an armature data-block ''' bbone_curveinx: float = None @@ -9909,7 +10370,7 @@ class EditBone(bpy_struct): ''' matrix: typing.List[float] = None - ''' Matrix combining loc/rot of the bone (head position, direction and roll), in armature space (does not include/support bone's length/size) + ''' Matrix combining location and rotation of the bone (head position, direction and roll), in armature space (does not include/support bone's length/size) :type: typing.List[float] ''' @@ -10509,12 +10970,12 @@ class FCurve(bpy_struct): :type: bool ''' - keyframe_points: typing.Union[typing. + keyframe_points: typing.Union[typing.Dict[str, 'Keyframe'], typing. List['Keyframe'], 'bpy_prop_collection', 'FCurveKeyframePoints'] = None ''' User-editable keyframes - :type: typing.Union[typing.List['Keyframe'], 'bpy_prop_collection', 'FCurveKeyframePoints'] + :type: typing.Union[typing.Dict[str, 'Keyframe'], typing.List['Keyframe'], 'bpy_prop_collection', 'FCurveKeyframePoints'] ''' lock: bool = None @@ -10523,11 +10984,12 @@ class FCurve(bpy_struct): :type: bool ''' - modifiers: typing.Union[typing.List['FModifier'], 'bpy_prop_collection', + modifiers: typing.Union[typing.Dict[str, 'FModifier'], typing. + List['FModifier'], 'bpy_prop_collection', 'FCurveModifiers'] = None ''' Modifiers affecting the shape of the F-Curve - :type: typing.Union[typing.List['FModifier'], 'bpy_prop_collection', 'FCurveModifiers'] + :type: typing.Union[typing.Dict[str, 'FModifier'], typing.List['FModifier'], 'bpy_prop_collection', 'FCurveModifiers'] ''' mute: bool = None @@ -10536,11 +10998,12 @@ class FCurve(bpy_struct): :type: bool ''' - sampled_points: typing.Union[typing.List['FCurveSample'], + sampled_points: typing.Union[typing.Dict[str, 'FCurveSample'], typing. + List['FCurveSample'], 'bpy_prop_collection'] = None ''' Sampled animation data - :type: typing.Union[typing.List['FCurveSample'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'FCurveSample'], typing.List['FCurveSample'], 'bpy_prop_collection'] ''' select: bool = None @@ -10641,7 +11104,7 @@ def insert( :type value: float :param options: Keyframe options * REPLACE Replace, Don't add any new keyframes, but just replace existing ones. * NEEDED Needed, Only adds keyframes that are needed. * FAST Fast, Fast keyframe insertion to avoid recalculating the curve each time. :type options: typing.Union[typing.Set[int], typing.Set[str]] - :param keyframe_type: Type of keyframe to insert * KEYFRAME Keyframe, Normal keyframe - e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose - e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. + :param keyframe_type: Type of keyframe to insert * KEYFRAME Keyframe, Normal keyframe, e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose, e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. :type keyframe_type: typing.Union[int, str] :rtype: 'Keyframe' :return: Newly created keyframe @@ -10701,7 +11164,7 @@ class FCurveModifiers(bpy_struct): def new(self, type: typing.Union[int, str]) -> 'FModifier': ''' Add a constraint to this object - :param type: Constraint type to add * NULL Invalid. * GENERATOR Generator, Generate a curve using a factorized or expanded polynomial. * FNGENERATOR Built-In Function, Generate a curve using standard math functions such as sin and cos. * ENVELOPE Envelope, Reshape F-Curve values - e.g. change amplitude of movements. * CYCLES Cycles, Cyclic extend/repeat keyframe sequence. * NOISE Noise, Add pseudo-random noise on top of F-Curves. * LIMITS Limits, Restrict maximum and minimum values of F-Curve. * STEPPED Stepped Interpolation, Snap values to nearest grid-step - e.g. for a stop-motion look. + :param type: Constraint type to add * NULL Invalid. * GENERATOR Generator, Generate a curve using a factorized or expanded polynomial. * FNGENERATOR Built-In Function, Generate a curve using standard math functions such as sin and cos. * ENVELOPE Envelope, Reshape F-Curve values, e.g. change amplitude of movements. * CYCLES Cycles, Cyclic extend/repeat keyframe sequence. * NOISE Noise, Add pseudo-random noise on top of F-Curves. * LIMITS Limits, Restrict maximum and minimum values of F-Curve. * STEPPED Stepped Interpolation, Snap values to nearest grid step, e.g. for a stop-motion look. :type type: typing.Union[int, str] :rtype: 'FModifier' :return: New fmodifier @@ -10823,7 +11286,7 @@ class FFmpegSettings(bpy_struct): ''' constant_rate_factor: typing.Union[int, str] = None - ''' Constant Rate Factor (CRF); tradeoff between video quality and file size * NONE Constant Bitrate, Configure constant bit rate, rather than constant output quality. * LOSSLESS Lossless. * PERC_LOSSLESS Perceptually lossless. * HIGH High quality. * MEDIUM Medium quality. * LOW Low quality. * VERYLOW Very low quality. * LOWEST Lowest quality. + ''' Constant Rate Factor (CRF); tradeoff between video quality and file size * NONE Constant Bitrate, Configure constant bit rate, rather than constant output quality. * LOSSLESS Lossless. * PERC_LOSSLESS Perceptually Lossless. * HIGH High Quality. * MEDIUM Medium Quality. * LOW Low Quality. * VERYLOW Very Low Quality. * LOWEST Lowest Quality. :type: typing.Union[int, str] ''' @@ -10853,19 +11316,19 @@ class FFmpegSettings(bpy_struct): ''' maxrate: int = None - ''' Rate control: max rate (kb/s) + ''' Rate control: max rate (kbit/s) :type: int ''' minrate: int = None - ''' Rate control: min rate (kb/s) + ''' Rate control: min rate (kbit/s) :type: int ''' muxrate: int = None - ''' Mux rate (bits/s(!)) + ''' Mux rate (bits/second) :type: int ''' @@ -10895,7 +11358,7 @@ class FFmpegSettings(bpy_struct): ''' video_bitrate: int = None - ''' Video bitrate (kb/s) + ''' Video bitrate (kbit/s) :type: int ''' @@ -10981,7 +11444,7 @@ class FModifier(bpy_struct): ''' type: typing.Union[int, str] = None - ''' F-Curve Modifier Type * NULL Invalid. * GENERATOR Generator, Generate a curve using a factorized or expanded polynomial. * FNGENERATOR Built-In Function, Generate a curve using standard math functions such as sin and cos. * ENVELOPE Envelope, Reshape F-Curve values - e.g. change amplitude of movements. * CYCLES Cycles, Cyclic extend/repeat keyframe sequence. * NOISE Noise, Add pseudo-random noise on top of F-Curves. * LIMITS Limits, Restrict maximum and minimum values of F-Curve. * STEPPED Stepped Interpolation, Snap values to nearest grid-step - e.g. for a stop-motion look. + ''' F-Curve Modifier Type * NULL Invalid. * GENERATOR Generator, Generate a curve using a factorized or expanded polynomial. * FNGENERATOR Built-In Function, Generate a curve using standard math functions such as sin and cos. * ENVELOPE Envelope, Reshape F-Curve values, e.g. change amplitude of movements. * CYCLES Cycles, Cyclic extend/repeat keyframe sequence. * NOISE Noise, Add pseudo-random noise on top of F-Curves. * LIMITS Limits, Restrict maximum and minimum values of F-Curve. * STEPPED Stepped Interpolation, Snap values to nearest grid step, e.g. for a stop-motion look. :type: typing.Union[int, str] ''' @@ -11125,7 +11588,7 @@ class FaceMap(bpy_struct): ''' select: bool = None - ''' Face-map selection state (for tools to use) + ''' Face map selection state (for tools to use) :type: bool ''' @@ -11421,7 +11884,7 @@ class FieldSettings(bpy_struct): ''' texture_mode: typing.Union[int, str] = None - ''' How the texture effect is calculated (RGB & Curl need a RGB texture, else Gradient will be used instead) + ''' How the texture effect is calculated (RGB and Curl need a RGB texture, else Gradient will be used instead) :type: typing.Union[int, str] ''' @@ -11612,6 +12075,50 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class FileSelectEntry(bpy_struct): + ''' A file viewable in the File Browser + ''' + + asset_data: 'AssetMetaData' = None + ''' Asset data, valid if the file represents an asset + + :type: 'AssetMetaData' + ''' + + name: str = None + ''' + + :type: str + ''' + + preview_icon_id: int = None + ''' Unique integer identifying the preview of this file as an icon (zero means invalid) + + :type: int + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class FileSelectIDFilter(bpy_struct): ''' Which ID types to show/hide, when browsing a library ''' @@ -11984,6 +12491,12 @@ class FileSelectParams(bpy_struct): :type: bool ''' + use_filter_asset_only: bool = None + ''' Hide .blend files items that are not data-blocks with asset metadata + + :type: bool + ''' + use_filter_backup: bool = None ''' Show .blend1, .blend2, etc. files @@ -12084,6 +12597,102 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class FloatAttributeValue(bpy_struct): + ''' Floating-point value in geometry attribute + ''' + + value: float = None + ''' + + :type: float + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class FloatColorAttributeValue(bpy_struct): + ''' Color value in geometry attribute + ''' + + color: typing.List[float] = None + ''' RGBA color in scene linear color space + + :type: typing.List[float] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class FloatVectorAttributeValue(bpy_struct): + ''' Vector value in geometry attribute + ''' + + vector: typing.List[float] = None + ''' 3D vector + + :type: typing.List[float] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class FluidDomainSettings(bpy_struct): ''' Fluid domain settings ''' @@ -12112,12 +12721,6 @@ class FluidDomainSettings(bpy_struct): :type: float ''' - axis_slice_method: typing.Union[int, str] = None - ''' * FULL Full, Slice the whole domain object. * SINGLE Single, Perform a single slice of the domain object. - - :type: typing.Union[int, str] - ''' - beta: float = None ''' Buoyant force based on smoke heat (higher value results in faster rising smoke) @@ -12238,12 +12841,6 @@ class FluidDomainSettings(bpy_struct): :type: float ''' - coba_field: typing.Union[int, str] = None - ''' Simulation field to color map * COLOR_R Red, Red component of the color field. * COLOR_G Green, Green component of the color field. * COLOR_B Blue, Blue component of the color field. * DENSITY Density, Quantity of soot in the fluid. * FLAME Flame, Flame field. * FUEL Fuel, Fuel field. * HEAT Heat, Temperature of the fluid. * VELOCITY_X X Velocity, X component of the velocity field. * VELOCITY_Y Y Velocity, Y component of the velocity field. * VELOCITY_Z Z Velocity, Z component of the velocity field. - - :type: typing.Union[int, str] - ''' - color_grid: typing.List[float] = None ''' Smoke color grid @@ -12256,6 +12853,18 @@ class FluidDomainSettings(bpy_struct): :type: 'ColorRamp' ''' + color_ramp_field: typing.Union[int, str] = None + ''' Simulation field to color map + + :type: typing.Union[int, str] + ''' + + color_ramp_field_scale: float = None + ''' Multiplier for scaling the selected field to color map + + :type: float + ''' + delete_in_obstacle: bool = None ''' Delete fluid inside obstacles @@ -12269,7 +12878,7 @@ class FluidDomainSettings(bpy_struct): ''' display_interpolation: typing.Union[int, str] = None - ''' Interpolation method to use for smoke/fire volumes in solid mode * LINEAR Linear, Good smoothness and speed. * CUBIC Cubic, Smoothed high quality interpolation, but slower. + ''' Interpolation method to use for smoke/fire volumes in solid mode * LINEAR Linear, Good smoothness and speed. * CUBIC Cubic, Smoothed high quality interpolation, but slower. * CLOSEST Closest, No interpolation. :type: typing.Union[int, str] ''' @@ -12370,6 +12979,12 @@ class FluidDomainSettings(bpy_struct): :type: 'Collection' ''' + fractions_distance: float = None + ''' Determines how far apart fluid and obstacle are (higher values will result in fluid being further away from obstacles, smaller values will let fluid move towards the inside of obstacles) + + :type: float + ''' + fractions_threshold: float = None ''' Determines how much fluid is allowed in an obstacle cell (higher values will tag a boundary cell as an obstacle easier and reduce the boundary smoothening effect) @@ -12382,6 +12997,36 @@ class FluidDomainSettings(bpy_struct): :type: typing.List[float] ''' + gridlines_cell_filter: typing.Union[int, str] = None + ''' Cell type to be highlighted * NONE None, Highlight the cells regardless of their type. * FLUID Fluid, Highlight only the cells of type Fluid. * OBSTACLE Obstacle, Highlight only the cells of type Obstacle. * EMPTY Empty, Highlight only the cells of type Empty. * INFLOW Inflow, Highlight only the cells of type Inflow. * OUTFLOW Outflow, Highlight only the cells of type Outflow. + + :type: typing.Union[int, str] + ''' + + gridlines_color_field: typing.Union[int, str] = None + ''' Simulation field to color map onto gridlines * NONE None, None. * FLAGS Flags, Flag grid of the fluid domain. * RANGE Highlight Range, Highlight the voxels with values of the color mapped field within the range. + + :type: typing.Union[int, str] + ''' + + gridlines_lower_bound: float = None + ''' Lower bound of the highlighting range + + :type: float + ''' + + gridlines_range_color: typing.List[float] = None + ''' Color used to highlight the range + + :type: typing.List[float] + ''' + + gridlines_upper_bound: float = None + ''' Upper bound of the highlighting range + + :type: float + ''' + guide_alpha: float = None ''' Guiding weight (higher value results in greater lag) @@ -12538,11 +13183,12 @@ class FluidDomainSettings(bpy_struct): :type: int ''' - mesh_vertices: typing.Union[typing.List['FluidDomainVertexVelocity'], - 'bpy_prop_collection'] = None + mesh_vertices: typing.Union[ + typing.Dict[str, 'FluidDomainVertexVelocity'], typing. + List['FluidDomainVertexVelocity'], 'bpy_prop_collection'] = None ''' Vertices of the fluid mesh generated by simulation - :type: typing.Union[typing.List['FluidDomainVertexVelocity'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'FluidDomainVertexVelocity'], typing.List['FluidDomainVertexVelocity'], 'bpy_prop_collection'] ''' noise_pos_scale: float = None @@ -12582,7 +13228,7 @@ class FluidDomainSettings(bpy_struct): ''' openvdb_data_depth: typing.Union[int, str] = None - ''' Bit depth for writing all scalar (including vector) lower values reduce file size * 16 Half, Half float (16 bit data). * 32 Full, Full float (32 bit data). + ''' Bit depth for fluid particles and grids (lower bit values reduce file size) :type: typing.Union[int, str] ''' @@ -12629,32 +13275,26 @@ class FluidDomainSettings(bpy_struct): :type: int ''' - point_cache: 'PointCache' = None - ''' - - :type: 'PointCache' - ''' - - point_cache_compress_type: typing.Union[int, str] = None - ''' Compression method to be used * CACHELIGHT Lite, Fast but not so effective compression. * CACHEHEAVY Heavy, Effective but slow compression. - - :type: typing.Union[int, str] - ''' - resolution_max: int = None ''' Resolution used for the fluid domain. Value corresponds to the longest domain side (resolution for other domain sides is calculated automatically) :type: int ''' + show_gridlines: bool = None + ''' Show gridlines + + :type: bool + ''' + show_velocity: bool = None - ''' Toggle visualization of the velocity field as needles + ''' Visualize vector fields :type: bool ''' simulation_method: typing.Union[int, str] = None - ''' Change the underlying simulation method * FLIP FLIP, Use FLIP as the simulation method. + ''' Change the underlying simulation method * FLIP FLIP, Use FLIP as the simulation method (more splashy behavior). * APIC APIC, Use APIC as the simulation method (more energetic and stable behavior). :type: typing.Union[int, str] ''' @@ -12671,12 +13311,6 @@ class FluidDomainSettings(bpy_struct): :type: float ''' - slice_method: typing.Union[int, str] = None - ''' How to slice the volume for viewport rendering * VIEW_ALIGNED View, Slice volume parallel to the view plane. * AXIS_ALIGNED Axis, Slice volume parallel to the major axis. - - :type: typing.Union[int, str] - ''' - slice_per_voxel: float = None ''' How many slices per voxel should be generated @@ -12798,7 +13432,7 @@ class FluidDomainSettings(bpy_struct): ''' temperature_grid: typing.List[float] = None - ''' Smoke temperature grid, range 0..1 represents 0..1000K + ''' Smoke temperature grid, range 0 to 1 represents 0 to 1000K :type: typing.List[float] ''' @@ -12876,7 +13510,7 @@ class FluidDomainSettings(bpy_struct): ''' use_color_ramp: bool = None - ''' Render a simulation field while mapping its voxels values to the colors of a ramp + ''' Render a simulation field while mapping its voxels values to the colors of a ramp or using a predefined color code :type: bool ''' @@ -12935,6 +13569,12 @@ class FluidDomainSettings(bpy_struct): :type: bool ''' + use_slice: bool = None + ''' Perform a single slice of the domain object + + :type: bool + ''' + use_speed_vectors: bool = None ''' Caches velocities of mesh vertices. These will be used (automatically) when rendering with motion blur enabled @@ -12953,138 +13593,180 @@ class FluidDomainSettings(bpy_struct): :type: bool ''' - vector_display_type: typing.Union[int, str] = None - ''' * NEEDLE Needle, Display vectors as needles. * STREAMLINE Streamlines, Display vectors as streamlines. + use_viscosity: bool = None + ''' Enable fluid viscosity settings - :type: typing.Union[int, str] + :type: bool ''' - vector_scale: float = None - ''' Multiplier for scaling the vectors + vector_display_type: typing.Union[int, str] = None + ''' * NEEDLE Needle, Display vectors as needles. * STREAMLINE Streamlines, Display vectors as streamlines. * MAC MAC Grid, Display vector field as MAC grid. - :type: float + :type: typing.Union[int, str] ''' - velocity_grid: typing.List[float] = None - ''' Smoke velocity grid + vector_field: typing.Union[int, str] = None + ''' Vector field to be represented by the display vectors * FLUID_VELOCITY Fluid Velocity, Velocity field of the fluid domain. * GUIDE_VELOCITY Guide Velocity, Guide velocity field of the fluid domain. * FORCE Force, Force field of the fluid domain. - :type: typing.List[float] + :type: typing.Union[int, str] ''' - viscosity_base: float = None - ''' Viscosity setting: value that is multiplied by 10 to the power of (exponent*-1) + vector_scale: float = None + ''' Multiplier for scaling the vectors :type: float ''' - viscosity_exponent: int = None - ''' Negative exponent for the viscosity value (to simplify entering small values e.g. 5*10^-6) + vector_scale_with_magnitude: bool = None + ''' Scale vectors with their magnitudes - :type: int - ''' - - vorticity: float = None - ''' Amount of turbulence and rotation in smoke - - :type: float + :type: bool ''' - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass + vector_show_mac_x: bool = None + ''' Show X-component of MAC Grid - -class FluidDomainVertexVelocity(bpy_struct): - ''' Velocity of a simulated fluid mesh + :type: bool ''' - velocity: typing.List[float] = None - ''' + vector_show_mac_y: bool = None + ''' Show Y-component of MAC Grid - :type: typing.List[float] + :type: bool ''' - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' + vector_show_mac_z: bool = None + ''' Show Z-component of MAC Grid - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class FluidEffectorSettings(bpy_struct): - ''' Smoke collision settings + :type: bool ''' - effector_type: typing.Union[int, str] = None - ''' Change type of effector in the simulation * COLLISION Collision, Create collision object. * GUIDE Guide, Create guide object. + velocity_grid: typing.List[float] = None + ''' Smoke velocity grid - :type: typing.Union[int, str] + :type: typing.List[float] ''' - guide_mode: typing.Union[int, str] = None - ''' How to create guiding velocities * MAXIMUM Maximize, Compare velocities from previous frame with new velocities from current frame and keep the maximum. * MINIMUM Minimize, Compare velocities from previous frame with new velocities from current frame and keep the minimum. * OVERRIDE Override, Always write new guide velocities for every frame (each frame only contains current velocities from guiding objects). * AVERAGED Averaged, Take average of velocities from previous frame and new velocities from current frame. + viscosity_base: float = None + ''' Viscosity setting: value that is multiplied by 10 to the power of (exponent*-1) - :type: typing.Union[int, str] + :type: float ''' - subframes: int = None - ''' Number of additional samples to take between frames to improve quality of fast moving effector objects + viscosity_exponent: int = None + ''' Negative exponent for the viscosity value (to simplify entering small values e.g. 5*10^-6) :type: int ''' - surface_distance: float = None - ''' Additional distance around mesh surface to consider as effector + viscosity_value: float = None + ''' Viscosity of liquid (higher values result in more viscous fluids, a value of 0 will still apply some viscosity) :type: float ''' - use_effector: bool = None - ''' Control when to apply the effector - - :type: bool - ''' - - use_plane_init: bool = None - ''' Treat this object as a planar, unclosed mesh - - :type: bool - ''' - - velocity_factor: float = None - ''' Multiplier of obstacle velocity + vorticity: float = None + ''' Amount of turbulence and rotation in smoke + + :type: float + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class FluidDomainVertexVelocity(bpy_struct): + ''' Velocity of a simulated fluid mesh + ''' + + velocity: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class FluidEffectorSettings(bpy_struct): + ''' Smoke collision settings + ''' + + effector_type: typing.Union[int, str] = None + ''' Change type of effector in the simulation * COLLISION Collision, Create collision object. * GUIDE Guide, Create guide object. + + :type: typing.Union[int, str] + ''' + + guide_mode: typing.Union[int, str] = None + ''' How to create guiding velocities * MAXIMUM Maximize, Compare velocities from previous frame with new velocities from current frame and keep the maximum. * MINIMUM Minimize, Compare velocities from previous frame with new velocities from current frame and keep the minimum. * OVERRIDE Override, Always write new guide velocities for every frame (each frame only contains current velocities from guiding objects). * AVERAGED Averaged, Take average of velocities from previous frame and new velocities from current frame. + + :type: typing.Union[int, str] + ''' + + subframes: int = None + ''' Number of additional samples to take between frames to improve quality of fast moving effector objects + + :type: int + ''' + + surface_distance: float = None + ''' Additional distance around mesh surface to consider as effector + + :type: float + ''' + + use_effector: bool = None + ''' Control when to apply the effector + + :type: bool + ''' + + use_plane_init: bool = None + ''' Treat this object as a planar, unclosed mesh + + :type: bool + ''' + + velocity_factor: float = None + ''' Multiplier of obstacle velocity :type: float ''' @@ -13254,7 +13936,7 @@ class FluidFlowSettings(bpy_struct): ''' velocity_coord: typing.List[float] = None - ''' Initial velocity in X, Y and Z direction in world space + ''' Additional initial velocity in X, Y and Z direction (added to source velocity) :type: typing.List[float] ''' @@ -13643,11 +14325,12 @@ class FreestyleSettings(bpy_struct): :type: float ''' - linesets: typing.Union[typing.List['FreestyleLineSet'], - 'bpy_prop_collection', 'Linesets'] = None + linesets: typing.Union[typing.Dict[str, 'FreestyleLineSet'], typing. + List['FreestyleLineSet'], 'bpy_prop_collection', + 'Linesets'] = None ''' - :type: typing.Union[typing.List['FreestyleLineSet'], 'bpy_prop_collection', 'Linesets'] + :type: typing.Union[typing.Dict[str, 'FreestyleLineSet'], typing.List['FreestyleLineSet'], 'bpy_prop_collection', 'Linesets'] ''' mode: typing.Union[int, str] = None @@ -13656,11 +14339,12 @@ class FreestyleSettings(bpy_struct): :type: typing.Union[int, str] ''' - modules: typing.Union[typing.List['FreestyleModuleSettings'], + modules: typing.Union[typing.Dict[str, 'FreestyleModuleSettings'], typing. + List['FreestyleModuleSettings'], 'bpy_prop_collection', 'FreestyleModules'] = None ''' A list of style modules (to be applied from top to bottom) - :type: typing.Union[typing.List['FreestyleModuleSettings'], 'bpy_prop_collection', 'FreestyleModules'] + :type: typing.Union[typing.Dict[str, 'FreestyleModuleSettings'], typing.List['FreestyleModuleSettings'], 'bpy_prop_collection', 'FreestyleModules'] ''' sphere_radius: float = None @@ -13761,11 +14445,11 @@ class Function(bpy_struct): :type: bool ''' - parameters: typing.Union[typing. + parameters: typing.Union[typing.Dict[str, 'Property'], typing. List['Property'], 'bpy_prop_collection'] = None ''' Parameters for the function - :type: typing.Union[typing.List['Property'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Property'], typing.List['Property'], 'bpy_prop_collection'] ''' use_self: bool = None @@ -13802,47 +14486,24 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class GPencilFrame(bpy_struct): - ''' Collection of related sketches on a particular frame - ''' - - frame_number: int = None - ''' The frame on which this sketch appears - - :type: int +class GPencilEditCurve(bpy_struct): + ''' Edition Curve ''' - is_edited: bool = None - ''' Frame is being edited (painted on) + curve_points: typing.Union[ + typing.Dict[str, 'GPencilEditCurvePoint'], typing. + List['GPencilEditCurvePoint'], 'bpy_prop_collection'] = None + ''' Curve data points - :type: bool - ''' - - keyframe_type: typing.Union[int, str] = None - ''' Type of keyframe * KEYFRAME Keyframe, Normal keyframe - e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose - e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. - - :type: typing.Union[int, str] + :type: typing.Union[typing.Dict[str, 'GPencilEditCurvePoint'], typing.List['GPencilEditCurvePoint'], 'bpy_prop_collection'] ''' select: bool = None - ''' Frame is selected for editing in the Dope Sheet + ''' Curve is selected for viewport editing :type: bool ''' - strokes: typing.Union[typing.List['GPencilStroke'], 'bpy_prop_collection', - 'GPencilStrokes'] = None - ''' Freehand curves defining the sketch on this frame - - :type: typing.Union[typing.List['GPencilStroke'], 'bpy_prop_collection', 'GPencilStrokes'] - ''' - - def clear(self): - ''' Remove all the grease pencil frame data - - ''' - pass - @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -13865,39 +14526,87 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class GPencilFrames(bpy_struct): - ''' Collection of grease pencil frames +class GPencilEditCurvePoint(bpy_struct): + ''' Bezier curve point with two handles ''' - def new(self, frame_number: int, active: bool = False) -> 'GPencilFrame': - ''' Add a new grease pencil frame + co: typing.List[float] = None + ''' Coordinates of the control point - :param frame_number: Frame Number, The frame on which this sketch appears - :type frame_number: int - :param active: Active - :type active: bool - :rtype: 'GPencilFrame' - :return: The newly created frame - ''' - pass + :type: typing.List[float] + ''' - def remove(self, frame: 'GPencilFrame'): - ''' Remove a grease pencil frame + handle_left: typing.List[float] = None + ''' Coordinates of the first handle - :param frame: Frame, The frame to remove - :type frame: 'GPencilFrame' - ''' - pass + :type: typing.List[float] + ''' - def copy(self, source: 'GPencilFrame') -> 'GPencilFrame': - ''' Copy a grease pencil frame + handle_right: typing.List[float] = None + ''' Coordinates of the second handle - :param source: Source, The source frame - :type source: 'GPencilFrame' - :rtype: 'GPencilFrame' - :return: The newly copied frame - ''' - pass + :type: typing.List[float] + ''' + + hide: bool = None + ''' Visibility status + + :type: bool + ''' + + point_index: int = None + ''' Index of the corresponding grease pencil stroke point + + :type: int + ''' + + pressure: float = None + ''' Pressure of the grease pencil stroke point + + :type: float + ''' + + select_control_point: bool = None + ''' Control point selection status + + :type: bool + ''' + + select_left_handle: bool = None + ''' Handle 1 selection status + + :type: bool + ''' + + select_right_handle: bool = None + ''' Handle 2 selection status + + :type: bool + ''' + + strength: float = None + ''' Color intensity (alpha factor) of the grease pencil stroke point + + :type: float + ''' + + uv_factor: float = None + ''' Internal UV factor + + :type: float + ''' + + uv_rotation: float = None + ''' Internal UV factor for dot mode + + :type: float + ''' + + vertex_color: typing.List[float] = None + ''' Vertex color of the grease pencil stroke point + + :type: typing.List[float] + ''' @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': @@ -13921,57 +14630,183 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class GPencilInterpolateSettings(bpy_struct): - ''' Settings for Grease Pencil interpolation tools +class GPencilFrame(bpy_struct): + ''' Collection of related sketches on a particular frame ''' - amplitude: float = None - ''' Amount to boost elastic bounces for 'elastic' easing + frame_number: int = None + ''' The frame on which this sketch appears - :type: float + :type: int ''' - back: float = None - ''' Amount of overshoot for 'back' easing + is_edited: bool = None + ''' Frame is being edited (painted on) - :type: float + :type: bool ''' - easing: typing.Union[int, str] = None - ''' Which ends of the segment between the preceding and following grease pencil frames easing interpolation is applied to * AUTO Automatic Easing, Easing type is chosen automatically based on what the type of interpolation used (e.g. 'Ease In' for transitional types, and 'Ease Out' for dynamic effects). * EASE_IN Ease In, Only on the end closest to the next keyframe. * EASE_OUT Ease Out, Only on the end closest to the first keyframe. * EASE_IN_OUT Ease In and Out, Segment between both keyframes. + keyframe_type: typing.Union[int, str] = None + ''' Type of keyframe * KEYFRAME Keyframe, Normal keyframe - e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose - e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. :type: typing.Union[int, str] ''' - interpolate_all_layers: bool = None - ''' Interpolate all layers, not only active - - :type: bool - ''' - - interpolate_selected_only: bool = None - ''' Interpolate only selected strokes in the original frame + select: bool = None + ''' Frame is selected for editing in the Dope Sheet :type: bool ''' - interpolation_curve: 'CurveMapping' = None - ''' Custom curve to control 'sequence' interpolation between Grease Pencil frames - - :type: 'CurveMapping' - ''' - - period: float = None - ''' Time between bounces for elastic easing + strokes: typing.Union[typing.Dict[str, 'GPencilStroke'], typing. + List['GPencilStroke'], 'bpy_prop_collection', + 'GPencilStrokes'] = None + ''' Freehand curves defining the sketch on this frame - :type: float + :type: typing.Union[typing.Dict[str, 'GPencilStroke'], typing.List['GPencilStroke'], 'bpy_prop_collection', 'GPencilStrokes'] ''' - type: typing.Union[int, str] = None - ''' Interpolation method to use the next time 'Interpolate Sequence' is run * LINEAR Linear, Straight-line interpolation between A and B (i.e. no ease in/out). * CUSTOM Custom, Custom interpolation defined using a curve map. * SINE Sinusoidal, Sinusoidal easing (weakest, almost linear but with a slight curvature). * QUAD Quadratic, Quadratic easing. * CUBIC Cubic, Cubic easing. * QUART Quartic, Quartic easing. * QUINT Quintic, Quintic easing. * EXPO Exponential, Exponential easing (dramatic). * CIRC Circular, Circular easing (strongest and most dynamic). * BACK Back, Cubic easing with overshoot and settle. * BOUNCE Bounce, Exponentially decaying parabolic bounce, like when objects collide. * ELASTIC Elastic, Exponentially decaying sine wave, like an elastic band. + def clear(self): + ''' Remove all the grease pencil frame data - :type: typing.Union[int, str] - ''' + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class GPencilFrames(bpy_struct): + ''' Collection of grease pencil frames + ''' + + def new(self, frame_number: int, active: bool = False) -> 'GPencilFrame': + ''' Add a new grease pencil frame + + :param frame_number: Frame Number, The frame on which this sketch appears + :type frame_number: int + :param active: Active + :type active: bool + :rtype: 'GPencilFrame' + :return: The newly created frame + ''' + pass + + def remove(self, frame: 'GPencilFrame'): + ''' Remove a grease pencil frame + + :param frame: Frame, The frame to remove + :type frame: 'GPencilFrame' + ''' + pass + + def copy(self, source: 'GPencilFrame') -> 'GPencilFrame': + ''' Copy a grease pencil frame + + :param source: Source, The source frame + :type source: 'GPencilFrame' + :rtype: 'GPencilFrame' + :return: The newly copied frame + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class GPencilInterpolateSettings(bpy_struct): + ''' Settings for Grease Pencil interpolation tools + ''' + + amplitude: float = None + ''' Amount to boost elastic bounces for 'elastic' easing + + :type: float + ''' + + back: float = None + ''' Amount of overshoot for 'back' easing + + :type: float + ''' + + easing: typing.Union[int, str] = None + ''' Which ends of the segment between the preceding and following grease pencil frames easing interpolation is applied to * AUTO Automatic Easing, Easing type is chosen automatically based on what the type of interpolation used (e.g. 'Ease In' for transitional types, and 'Ease Out' for dynamic effects). * EASE_IN Ease In, Only on the end closest to the next keyframe. * EASE_OUT Ease Out, Only on the end closest to the first keyframe. * EASE_IN_OUT Ease In and Out, Segment between both keyframes. + + :type: typing.Union[int, str] + ''' + + interpolate_all_layers: bool = None + ''' Interpolate all layers, not only active + + :type: bool + ''' + + interpolate_selected_only: bool = None + ''' Interpolate only selected strokes in the original frame + + :type: bool + ''' + + interpolation_curve: 'CurveMapping' = None + ''' Custom curve to control 'sequence' interpolation between Grease Pencil frames + + :type: 'CurveMapping' + ''' + + period: float = None + ''' Time between bounces for elastic easing + + :type: float + ''' + + step: int = None + ''' Number of frames between generated interpolated frames + + :type: int + ''' + + type: typing.Union[int, str] = None + ''' Interpolation method to use the next time 'Interpolate Sequence' is run * LINEAR Linear, Straight-line interpolation between A and B (i.e. no ease in/out). * CUSTOM Custom, Custom interpolation defined using a curve map. * SINE Sinusoidal, Sinusoidal easing (weakest, almost linear but with a slight curvature). * QUAD Quadratic, Quadratic easing. * CUBIC Cubic, Cubic easing. * QUART Quartic, Quartic easing. * QUINT Quintic, Quintic easing. * EXPO Exponential, Exponential easing (dramatic). * CIRC Circular, Circular easing (strongest and most dynamic). * BACK Back, Cubic easing with overshoot and settle. * BOUNCE Bounce, Exponentially decaying parabolic bounce, like when objects collide. * ELASTIC Elastic, Exponentially decaying sine wave, like an elastic band. + + :type: typing.Union[int, str] + ''' @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': @@ -14053,11 +14888,12 @@ class GPencilLayer(bpy_struct): :type: typing.List[float] ''' - frames: typing.Union[typing.List['GPencilFrame'], 'bpy_prop_collection', + frames: typing.Union[typing.Dict[str, 'GPencilFrame'], typing. + List['GPencilFrame'], 'bpy_prop_collection', 'GPencilFrames'] = None ''' Sketches for this layer on different frames - :type: typing.Union[typing.List['GPencilFrame'], 'bpy_prop_collection', 'GPencilFrames'] + :type: typing.Union[typing.Dict[str, 'GPencilFrame'], typing.List['GPencilFrame'], 'bpy_prop_collection', 'GPencilFrames'] ''' hide: bool = None @@ -14108,12 +14944,12 @@ class GPencilLayer(bpy_struct): :type: bool ''' - mask_layers: typing.Union[typing. + mask_layers: typing.Union[typing.Dict[str, 'GPencilLayerMask'], typing. List['GPencilLayerMask'], 'bpy_prop_collection', 'GreasePencilMaskLayers'] = None ''' List of Masking Layers - :type: typing.Union[typing.List['GPencilLayerMask'], 'bpy_prop_collection', 'GreasePencilMaskLayers'] + :type: typing.Union[typing.Dict[str, 'GPencilLayerMask'], typing.List['GPencilLayerMask'], 'bpy_prop_collection', 'GreasePencilMaskLayers'] ''' matrix_inverse: typing.List[float] = None @@ -14129,7 +14965,7 @@ class GPencilLayer(bpy_struct): ''' parent: 'Object' = None - ''' Parent Object + ''' Parent object :type: 'Object' ''' @@ -14484,10 +15320,10 @@ class GPencilStroke(bpy_struct): :type: typing.Union[int, str] ''' - draw_cyclic: bool = None - ''' Enable cyclic drawing, closing the stroke + edit_curve: 'GPencilEditCurve' = None + ''' Temporary data for Edit Curve - :type: bool + :type: 'GPencilEditCurve' ''' end_cap_mode: typing.Union[int, str] = None @@ -14496,11 +15332,12 @@ class GPencilStroke(bpy_struct): :type: typing.Union[int, str] ''' - groups: typing.Union[typing.List['GpencilVertexGroupElement'], + groups: typing.Union[typing.Dict[str, 'GpencilVertexGroupElement'], typing. + List['GpencilVertexGroupElement'], 'bpy_prop_collection'] = None ''' Weights for the vertex groups this vertex is member of - :type: typing.Union[typing.List['GpencilVertexGroupElement'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'GpencilVertexGroupElement'], typing.List['GpencilVertexGroupElement'], 'bpy_prop_collection'] ''' hardness: float = None @@ -14509,6 +15346,12 @@ class GPencilStroke(bpy_struct): :type: float ''' + has_edit_curve: bool = None + ''' Stroke has Curve data to edit shape + + :type: bool + ''' + is_nofill_stroke: bool = None ''' Special stroke to use as boundary for filling areas @@ -14527,11 +15370,12 @@ class GPencilStroke(bpy_struct): :type: int ''' - points: typing.Union[typing.List['GPencilStrokePoint'], - 'bpy_prop_collection', 'GPencilStrokePoints'] = None + points: typing.Union[typing.Dict[str, 'GPencilStrokePoint'], typing. + List['GPencilStrokePoint'], 'bpy_prop_collection', + 'GPencilStrokePoints'] = None ''' Stroke data points - :type: typing.Union[typing.List['GPencilStrokePoint'], 'bpy_prop_collection', 'GPencilStrokePoints'] + :type: typing.Union[typing.Dict[str, 'GPencilStrokePoint'], typing.List['GPencilStrokePoint'], 'bpy_prop_collection', 'GPencilStrokePoints'] ''' select: bool = None @@ -14546,11 +15390,18 @@ class GPencilStroke(bpy_struct): :type: typing.Union[int, str] ''' - triangles: typing.Union[typing.List['GPencilTriangle'], + triangles: typing.Union[typing.Dict[str, 'GPencilTriangle'], typing. + List['GPencilTriangle'], 'bpy_prop_collection'] = None ''' Triangulation data for HQ fill - :type: typing.Union[typing.List['GPencilTriangle'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'GPencilTriangle'], typing.List['GPencilTriangle'], 'bpy_prop_collection'] + ''' + + use_cyclic: bool = None + ''' Enable cyclic drawing, closing the stroke + + :type: bool ''' uv_rotation: float = None @@ -14992,7 +15843,7 @@ class Gizmo(bpy_struct): ''' use_tooltip: bool = None - ''' Use tool-tips when hovering over this gizmo + ''' Use tooltips when hovering over this gizmo :type: bool ''' @@ -15307,11 +16158,11 @@ class GizmoGroup(bpy_struct): :type: typing.Union[int, str] ''' - gizmos: typing.Union[typing. + gizmos: typing.Union[typing.Dict[str, 'Gizmo'], typing. List['Gizmo'], 'bpy_prop_collection', 'Gizmos'] = None ''' List of gizmos in the Gizmo Map - :type: typing.Union[typing.List['Gizmo'], 'bpy_prop_collection', 'Gizmos'] + :type: typing.Union[typing.Dict[str, 'Gizmo'], typing.List['Gizmo'], 'bpy_prop_collection', 'Gizmos'] ''' has_reports: bool = None @@ -15874,6 +16725,12 @@ class ID(bpy_struct): ''' Base type for data-blocks, defining a unique name, linking from other libraries and garbage collection ''' + asset_data: 'AssetMetaData' = None + ''' Additional data for an asset data-block + + :type: 'AssetMetaData' + ''' + is_embedded_data: bool = None ''' This data-block is not an independent one, but is actually a sub-data of another ID (typical example: root node trees or master collections) @@ -16108,11 +16965,12 @@ class IDOverrideLibrary(bpy_struct): ''' Struct gathering all data needed by overridden linked IDs ''' - properties: typing.Union[typing.List['IDOverrideLibraryProperty'], - 'bpy_prop_collection'] = None + properties: typing.Union[ + typing.Dict[str, 'IDOverrideLibraryProperty'], typing. + List['IDOverrideLibraryProperty'], 'bpy_prop_collection'] = None ''' List of overridden properties - :type: typing.Union[typing.List['IDOverrideLibraryProperty'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'IDOverrideLibraryProperty'], typing.List['IDOverrideLibraryProperty'], 'bpy_prop_collection'] ''' reference: 'ID' = None @@ -16147,11 +17005,13 @@ class IDOverrideLibraryProperty(bpy_struct): ''' Description of an overridden property ''' - operations: typing.Union[typing.List['IDOverrideLibraryPropertyOperation'], - 'bpy_prop_collection'] = None + operations: typing.Union[ + typing.Dict[str, 'IDOverrideLibraryPropertyOperation'], typing. + List['IDOverrideLibraryPropertyOperation'], + 'bpy_prop_collection'] = None ''' List of overriding operations for a property - :type: typing.Union[typing.List['IDOverrideLibraryPropertyOperation'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'IDOverrideLibraryPropertyOperation'], typing.List['IDOverrideLibraryPropertyOperation'], 'bpy_prop_collection'] ''' rna_path: str = None @@ -16187,7 +17047,7 @@ class IDOverrideLibraryPropertyOperation(bpy_struct): ''' flag: typing.Union[int, str] = None - ''' Optional flags (NOT USED) * MANDATORY Mandatory, For templates, prevents the user from removing pre-defined operation (NOT USED). * LOCKED Locked, Prevents the user from modifying that override operation (NOT USED). + ''' Optional flags (NOT USED) * MANDATORY Mandatory, For templates, prevents the user from removing predefined operation (NOT USED). * LOCKED Locked, Prevents the user from modifying that override operation (NOT USED). :type: typing.Union[int, str] ''' @@ -16322,13 +17182,13 @@ class ImageFormatSettings(bpy_struct): ''' color_depth: typing.Union[int, str] = None - ''' Bit depth per channel * 8 8, 8 bit color channels. * 10 10, 10 bit color channels. * 12 12, 12 bit color channels. * 16 16, 16 bit color channels. * 32 32, 32 bit color channels. + ''' Bit depth per channel * 8 8, 8-bit color channels. * 10 10, 10-bit color channels. * 12 12, 12-bit color channels. * 16 16, 16-bit color channels. * 32 32, 32-bit color channels. :type: typing.Union[int, str] ''' color_mode: typing.Union[int, str] = None - ''' Choose BW for saving grayscale images, RGB for saving red, green and blue channels, and RGBA for saving red, green, blue and alpha channels * BW BW, Images get saved in 8 bits grayscale (only PNG, JPEG, TGA, TIF). * RGB RGB, Images are saved with RGB (color) data. * RGBA RGBA, Images are saved with RGB and Alpha data (if supported). + ''' Choose BW for saving grayscale images, RGB for saving red, green and blue channels, and RGBA for saving red, green, blue and alpha channels * BW BW, Images get saved in 8-bit grayscale (only PNG, JPEG, TGA, TIF). * RGB RGB, Images are saved with RGB (color) data. * RGBA RGBA, Images are saved with RGB and Alpha data (if supported). :type: typing.Union[int, str] ''' @@ -16352,7 +17212,7 @@ class ImageFormatSettings(bpy_struct): ''' file_format: typing.Union[int, str] = None - ''' File format to save the rendered images as * BMP BMP, Output image in bitmap format. * IRIS Iris, Output image in (old!) SGI IRIS format. * PNG PNG, Output image in PNG format. * JPEG JPEG, Output image in JPEG format. * JPEG2000 JPEG 2000, Output image in JPEG 2000 format. * TARGA Targa, Output image in Targa format. * TARGA_RAW Targa Raw, Output image in uncompressed Targa format. * CINEON Cineon, Output image in Cineon format. * DPX DPX, Output image in DPX format. * OPEN_EXR_MULTILAYER OpenEXR MultiLayer, Output image in multilayer OpenEXR format. * OPEN_EXR OpenEXR, Output image in OpenEXR format. * HDR Radiance HDR, Output image in Radiance HDR format. * TIFF TIFF, Output image in TIFF format. * AVI_JPEG AVI JPEG, Output video in AVI JPEG format. * AVI_RAW AVI Raw, Output video in AVI Raw format. * FFMPEG FFmpeg video, The most versatile way to output video files. + ''' File format to save the rendered images as * BMP BMP, Output image in bitmap format. * IRIS Iris, Output image in (old!) SGI IRIS format. * PNG PNG, Output image in PNG format. * JPEG JPEG, Output image in JPEG format. * JPEG2000 JPEG 2000, Output image in JPEG 2000 format. * TARGA Targa, Output image in Targa format. * TARGA_RAW Targa Raw, Output image in uncompressed Targa format. * CINEON Cineon, Output image in Cineon format. * DPX DPX, Output image in DPX format. * OPEN_EXR_MULTILAYER OpenEXR MultiLayer, Output image in multilayer OpenEXR format. * OPEN_EXR OpenEXR, Output image in OpenEXR format. * HDR Radiance HDR, Output image in Radiance HDR format. * TIFF TIFF, Output image in TIFF format. * AVI_JPEG AVI JPEG, Output video in AVI JPEG format. * AVI_RAW AVI Raw, Output video in AVI Raw format. * FFMPEG FFmpeg Video, The most versatile way to output video files. :type: typing.Union[int, str] ''' @@ -16370,7 +17230,7 @@ class ImageFormatSettings(bpy_struct): ''' stereo_3d_format: 'Stereo3dFormat' = None - ''' Settings for stereo 3d + ''' Settings for stereo 3D :type: 'Stereo3dFormat' ''' @@ -16412,7 +17272,7 @@ class ImageFormatSettings(bpy_struct): ''' use_zbuffer: bool = None - ''' Save the z-depth per pixel (32 bit unsigned int z-buffer) + ''' Save the z-depth per pixel (32-bit unsigned integer z-buffer) :type: bool ''' @@ -16503,7 +17363,7 @@ class ImagePreview(bpy_struct): ''' icon_pixels: int = None - ''' Icon pixels, as bytes (always RGBA 32bits) + ''' Icon pixels, as bytes (always 32-bit RGBA) :type: int ''' @@ -16521,7 +17381,7 @@ class ImagePreview(bpy_struct): ''' image_pixels: int = None - ''' Image pixels, as bytes (always RGBA 32bits) + ''' Image pixels, as bytes (always 32-bit RGBA) :type: int ''' @@ -16664,6 +17524,38 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class IntAttributeValue(bpy_struct): + ''' Integer value in geometry attribute + ''' + + value: int = None + ''' + + :type: int + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class KeyConfig(bpy_struct): ''' Input configuration, including keymaps ''' @@ -16674,11 +17566,11 @@ class KeyConfig(bpy_struct): :type: bool ''' - keymaps: typing.Union[typing.List['KeyMap'], 'bpy_prop_collection', - 'KeyMaps'] = None + keymaps: typing.Union[typing.Dict[str, 'KeyMap'], typing.List['KeyMap'], + 'bpy_prop_collection', 'KeyMaps'] = None ''' Key maps configured as part of this configuration - :type: typing.Union[typing.List['KeyMap'], 'bpy_prop_collection', 'KeyMaps'] + :type: typing.Union[typing.Dict[str, 'KeyMap'], typing.List['KeyMap'], 'bpy_prop_collection', 'KeyMaps'] ''' name: str = None @@ -16864,11 +17756,12 @@ class KeyMap(bpy_struct): :type: bool ''' - keymap_items: typing.Union[typing.List['KeyMapItem'], - 'bpy_prop_collection', 'KeyMapItems'] = None + keymap_items: typing.Union[typing.Dict[str, 'KeyMapItem'], typing. + List['KeyMapItem'], 'bpy_prop_collection', + 'KeyMapItems'] = None ''' Items in the keymap, linking an operator to an input event - :type: typing.Union[typing.List['KeyMapItem'], 'bpy_prop_collection', 'KeyMapItems'] + :type: typing.Union[typing.Dict[str, 'KeyMapItem'], typing.List['KeyMapItem'], 'bpy_prop_collection', 'KeyMapItems'] ''' name: str = None @@ -17119,7 +18012,7 @@ def new(self, alt: bool = False, oskey: bool = False, key_modifier: typing.Union[int, str] = 'NONE', - repeat: bool = True, + repeat: bool = False, head: bool = False) -> 'KeyMapItem': ''' new @@ -17160,7 +18053,7 @@ def new_modal(self, alt: bool = False, oskey: bool = False, key_modifier: typing.Union[int, str] = 'NONE', - repeat: bool = True) -> 'KeyMapItem': + repeat: bool = False) -> 'KeyMapItem': ''' new_modal :param propvalue: Property Value @@ -17376,6 +18269,12 @@ class Keyframe(bpy_struct): :type: typing.List[float] ''' + co_ui: typing.List[float] = None + ''' Coordinates of the control point. Note: Changing this value also updates the handles similar to using the graph editor transform operator + + :type: typing.List[float] + ''' + easing: typing.Union[int, str] = None ''' Which ends of the segment between this and the next keyframe easing interpolation is applied to * AUTO Automatic Easing, Easing type is chosen automatically based on what the type of interpolation used (e.g. 'Ease In' for transitional types, and 'Ease Out' for dynamic effects). * EASE_IN Ease In, Only on the end closest to the next keyframe. * EASE_OUT Ease Out, Only on the end closest to the first keyframe. * EASE_IN_OUT Ease In and Out, Segment between both keyframes. @@ -17437,7 +18336,7 @@ class Keyframe(bpy_struct): ''' type: typing.Union[int, str] = None - ''' Type of keyframe (for visual purposes only) * KEYFRAME Keyframe, Normal keyframe - e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose - e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. + ''' Type of keyframe (for visual purposes only) * KEYFRAME Keyframe, Normal keyframe, e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose, e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. :type: typing.Union[int, str] ''' @@ -17492,11 +18391,12 @@ class KeyingSet(bpy_struct): :type: bool ''' - paths: typing.Union[typing.List['KeyingSetPath'], 'bpy_prop_collection', + paths: typing.Union[typing.Dict[str, 'KeyingSetPath'], typing. + List['KeyingSetPath'], 'bpy_prop_collection', 'KeyingSetPaths'] = None ''' Keying Set Paths to define settings that get keyframed together - :type: typing.Union[typing.List['KeyingSetPath'], 'bpy_prop_collection', 'KeyingSetPaths'] + :type: typing.Union[typing.Dict[str, 'KeyingSetPath'], typing.List['KeyingSetPath'], 'bpy_prop_collection', 'KeyingSetPaths'] ''' type_info: 'KeyingSetInfo' = None @@ -17933,11 +18833,12 @@ class LatticePoint(bpy_struct): :type: typing.List[float] ''' - groups: typing.Union[typing.List['VertexGroupElement'], + groups: typing.Union[typing.Dict[str, 'VertexGroupElement'], typing. + List['VertexGroupElement'], 'bpy_prop_collection'] = None ''' Weights for the vertex groups this point is member of - :type: typing.Union[typing.List['VertexGroupElement'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'VertexGroupElement'], typing.List['VertexGroupElement'], 'bpy_prop_collection'] ''' select: bool = None @@ -17978,11 +18879,12 @@ class LayerCollection(bpy_struct): ''' Layer collection ''' - children: typing.Union[typing.List['LayerCollection'], + children: typing.Union[typing.Dict[str, 'LayerCollection'], typing. + List['LayerCollection'], 'bpy_prop_collection'] = None ''' Child layer collections - :type: typing.Union[typing.List['LayerCollection'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'LayerCollection'], typing.List['LayerCollection'], 'bpy_prop_collection'] ''' collection: 'Collection' = None @@ -18079,10 +18981,11 @@ class LayerObjects(bpy_struct): :type: 'Object' ''' - selected: typing.Union[typing.List['Object'], 'bpy_prop_collection'] = None + selected: typing.Union[typing.Dict[str, 'Object'], typing. + List['Object'], 'bpy_prop_collection'] = None ''' All the selected objects of this layer - :type: typing.Union[typing.List['Object'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], 'bpy_prop_collection'] ''' @classmethod @@ -18651,11 +19554,12 @@ class MaskLayer(bpy_struct): :type: bool ''' - splines: typing.Union[typing.List['MaskSpline'], 'bpy_prop_collection', + splines: typing.Union[typing.Dict[str, 'MaskSpline'], typing. + List['MaskSpline'], 'bpy_prop_collection', 'MaskSplines'] = None ''' Collection of splines which defines this layer - :type: typing.Union[typing.List['MaskSpline'], 'bpy_prop_collection', 'MaskSplines'] + :type: typing.Union[typing.Dict[str, 'MaskSpline'], typing.List['MaskSpline'], 'bpy_prop_collection', 'MaskSplines'] ''' use_fill_holes: bool = None @@ -18753,7 +19657,7 @@ class MaskParent(bpy_struct): ''' id: 'ID' = None - ''' ID-block to which masking element would be parented to or to it's property + ''' ID-block to which masking element would be parented to or to its property :type: 'ID' ''' @@ -18814,11 +19718,12 @@ class MaskSpline(bpy_struct): :type: typing.Union[int, str] ''' - points: typing.Union[typing.List['MaskSplinePoint'], 'bpy_prop_collection', + points: typing.Union[typing.Dict[str, 'MaskSplinePoint'], typing. + List['MaskSplinePoint'], 'bpy_prop_collection', 'MaskSplinePoints'] = None ''' Collection of points - :type: typing.Union[typing.List['MaskSplinePoint'], 'bpy_prop_collection', 'MaskSplinePoints'] + :type: typing.Union[typing.Dict[str, 'MaskSplinePoint'], typing.List['MaskSplinePoint'], 'bpy_prop_collection', 'MaskSplinePoints'] ''' use_cyclic: bool = None @@ -18877,11 +19782,12 @@ class MaskSplinePoint(bpy_struct): :type: typing.List[float] ''' - feather_points: typing.Union[typing.List['MaskSplinePointUW'], + feather_points: typing.Union[typing.Dict[str, 'MaskSplinePointUW'], typing. + List['MaskSplinePointUW'], 'bpy_prop_collection'] = None ''' Points defining feather - :type: typing.Union[typing.List['MaskSplinePointUW'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MaskSplinePointUW'], typing.List['MaskSplinePointUW'], 'bpy_prop_collection'] ''' handle_left: typing.List[float] = None @@ -19101,6 +20007,12 @@ class MaterialGPencilStyle(bpy_struct): :type: typing.Union[int, str] ''' + alignment_rotation: float = None + ''' Additional rotation applied to dots and square strokes + + :type: float + ''' + color: typing.List[float] = None ''' @@ -19251,12 +20163,24 @@ class MaterialGPencilStyle(bpy_struct): :type: typing.List[float] ''' + use_fill_holdout: bool = None + ''' Remove the color from underneath this stroke by using it as a mask + + :type: bool + ''' + use_overlap_strokes: bool = None ''' Disable stencil and overlap self intersections with alpha materials :type: bool ''' + use_stroke_holdout: bool = None + ''' Remove the color from underneath this stroke by using it as a mask + + :type: bool + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -19435,6 +20359,38 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class MeshCacheVertexVelocity(bpy_struct): + ''' Velocity attribute of an Alembic mesh + ''' + + velocity: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class MeshEdge(bpy_struct): ''' Edge in a Mesh data-block ''' @@ -19591,15 +20547,15 @@ class MeshFaceMapLayer(bpy_struct): ''' Per-face map index ''' - data: typing.Union[typing. + data: typing.Union[typing.Dict[str, 'MeshFaceMap'], typing. List['MeshFaceMap'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshFaceMap'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshFaceMap'], typing.List['MeshFaceMap'], 'bpy_prop_collection'] ''' name: str = None - ''' Name of face-map layer + ''' Name of face map layer :type: str ''' @@ -19627,7 +20583,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class MeshFaceMapLayers(bpy_struct): - ''' Collection of mesh face-maps + ''' Collection of mesh face maps ''' active: 'MeshFaceMapLayer' = None @@ -19792,11 +20748,11 @@ class MeshLoopColorLayer(bpy_struct): :type: bool ''' - data: typing.Union[typing. + data: typing.Union[typing.Dict[str, 'MeshLoopColor'], typing. List['MeshLoopColor'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshLoopColor'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshLoopColor'], typing.List['MeshLoopColor'], 'bpy_prop_collection'] ''' name: str = None @@ -19977,11 +20933,12 @@ class MeshPaintMaskLayer(bpy_struct): ''' Per-vertex paint mask data ''' - data: typing.Union[typing.List['MeshPaintMaskProperty'], + data: typing.Union[typing.Dict[str, 'MeshPaintMaskProperty'], typing. + List['MeshPaintMaskProperty'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshPaintMaskProperty'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshPaintMaskProperty'], typing.List['MeshPaintMaskProperty'], 'bpy_prop_collection'] ''' @classmethod @@ -20007,7 +20964,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class MeshPaintMaskProperty(bpy_struct): - ''' Floating point paint mask value + ''' Floating-point paint mask value ''' value: float = None @@ -20149,7 +21106,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class MeshPolygonFloatProperty(bpy_struct): - ''' User defined floating point number value in a float properties layer + ''' User defined floating-point number value in a float properties layer ''' value: float = None @@ -20181,14 +21138,15 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class MeshPolygonFloatPropertyLayer(bpy_struct): - ''' User defined layer of floating point number values + ''' User defined layer of floating-point number values ''' - data: typing.Union[typing.List['MeshPolygonFloatProperty'], + data: typing.Union[typing.Dict[str, 'MeshPolygonFloatProperty'], typing. + List['MeshPolygonFloatProperty'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshPolygonFloatProperty'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshPolygonFloatProperty'], typing.List['MeshPolygonFloatProperty'], 'bpy_prop_collection'] ''' name: str = None @@ -20255,11 +21213,12 @@ class MeshPolygonIntPropertyLayer(bpy_struct): ''' User defined layer of integer number values ''' - data: typing.Union[typing.List['MeshPolygonIntProperty'], + data: typing.Union[typing.Dict[str, 'MeshPolygonIntProperty'], typing. + List['MeshPolygonIntProperty'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshPolygonIntProperty'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshPolygonIntProperty'], typing.List['MeshPolygonIntProperty'], 'bpy_prop_collection'] ''' name: str = None @@ -20326,11 +21285,12 @@ class MeshPolygonStringPropertyLayer(bpy_struct): ''' User defined layer of string text values ''' - data: typing.Union[typing.List['MeshPolygonStringProperty'], + data: typing.Union[typing.Dict[str, 'MeshPolygonStringProperty'], typing. + List['MeshPolygonStringProperty'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshPolygonStringProperty'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshPolygonStringProperty'], typing.List['MeshPolygonStringProperty'], 'bpy_prop_collection'] ''' name: str = None @@ -20449,11 +21409,11 @@ class MeshSkinVertexLayer(bpy_struct): ''' Per-vertex skin data for use with the Skin modifier ''' - data: typing.Union[typing. + data: typing.Union[typing.Dict[str, 'MeshSkinVertex'], typing. List['MeshSkinVertex'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshSkinVertex'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshSkinVertex'], typing.List['MeshSkinVertex'], 'bpy_prop_collection'] ''' name: str = None @@ -20633,10 +21593,11 @@ class MeshUVLoopLayer(bpy_struct): :type: bool ''' - data: typing.Union[typing.List['MeshUVLoop'], 'bpy_prop_collection'] = None + data: typing.Union[typing.Dict[str, 'MeshUVLoop'], typing. + List['MeshUVLoop'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshUVLoop'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshUVLoop'], typing.List['MeshUVLoop'], 'bpy_prop_collection'] ''' name: str = None @@ -20715,11 +21676,11 @@ class MeshVertColorLayer(bpy_struct): :type: bool ''' - data: typing.Union[typing. + data: typing.Union[typing.Dict[str, 'MeshVertColor'], typing. List['MeshVertColor'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshVertColor'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshVertColor'], typing.List['MeshVertColor'], 'bpy_prop_collection'] ''' name: str = None @@ -20766,11 +21727,12 @@ class MeshVertex(bpy_struct): :type: typing.List[float] ''' - groups: typing.Union[typing.List['VertexGroupElement'], + groups: typing.Union[typing.Dict[str, 'VertexGroupElement'], typing. + List['VertexGroupElement'], 'bpy_prop_collection'] = None ''' Weights for the vertex groups this vertex is member of - :type: typing.Union[typing.List['VertexGroupElement'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'VertexGroupElement'], typing.List['VertexGroupElement'], 'bpy_prop_collection'] ''' hide: bool = None @@ -20826,7 +21788,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class MeshVertexFloatProperty(bpy_struct): - ''' User defined floating point number value in a float properties layer + ''' User defined floating-point number value in a float properties layer ''' value: float = None @@ -20858,14 +21820,15 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class MeshVertexFloatPropertyLayer(bpy_struct): - ''' User defined layer of floating point number values + ''' User defined layer of floating-point number values ''' - data: typing.Union[typing.List['MeshVertexFloatProperty'], + data: typing.Union[typing.Dict[str, 'MeshVertexFloatProperty'], typing. + List['MeshVertexFloatProperty'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshVertexFloatProperty'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshVertexFloatProperty'], typing.List['MeshVertexFloatProperty'], 'bpy_prop_collection'] ''' name: str = None @@ -20932,11 +21895,12 @@ class MeshVertexIntPropertyLayer(bpy_struct): ''' User defined layer of integer number values ''' - data: typing.Union[typing.List['MeshVertexIntProperty'], + data: typing.Union[typing.Dict[str, 'MeshVertexIntProperty'], typing. + List['MeshVertexIntProperty'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshVertexIntProperty'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshVertexIntProperty'], typing.List['MeshVertexIntProperty'], 'bpy_prop_collection'] ''' name: str = None @@ -21003,11 +21967,12 @@ class MeshVertexStringPropertyLayer(bpy_struct): ''' User defined layer of string text values ''' - data: typing.Union[typing.List['MeshVertexStringProperty'], + data: typing.Union[typing.Dict[str, 'MeshVertexStringProperty'], typing. + List['MeshVertexStringProperty'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['MeshVertexStringProperty'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshVertexStringProperty'], typing.List['MeshVertexStringProperty'], 'bpy_prop_collection'] ''' name: str = None @@ -21230,6 +22195,12 @@ class Modifier(bpy_struct): ''' Modifier affecting the geometry data of an object ''' + is_active: bool = None + ''' The active modifier in the list + + :type: bool + ''' + name: str = None ''' Modifier name @@ -21267,7 +22238,7 @@ class Modifier(bpy_struct): ''' type: typing.Union[int, str] = None - ''' * DATA_TRANSFER Data Transfer, Transfer several types of data (vertex groups, UV maps, vertex colors, custom normals) from one mesh to another. * MESH_CACHE Mesh Cache, Deform the mesh using an external frame-by-frame vertex transform cache. * MESH_SEQUENCE_CACHE Mesh Sequence Cache, Deform the mesh or curve using an external mesh cache in Alembic format. * NORMAL_EDIT Normal Edit, Modify the direction of the surface normals. * WEIGHTED_NORMAL Weighted Normal, Modify the direction of the surface normals using a weighting method. * UV_PROJECT UV Project, Project the UV map coordinates from the negative Z axis of another object. * UV_WARP UV Warp, Transform the UV map using the difference between two objects. * VERTEX_WEIGHT_EDIT Vertex Weight Edit, Modify of the weights of a vertex group. * VERTEX_WEIGHT_MIX Vertex Weight Mix, Mix the weights of two vertex groups. * VERTEX_WEIGHT_PROXIMITY Vertex Weight Proximity, Set the vertex group weights based on the distance to another target object. * ARRAY Array, Create copies of the shape with offsets. * BEVEL Bevel, Generate sloped corners by adding geometry to the mesh's edges or vertices. * BOOLEAN Boolean, Use another shape to cut, combine or perform a difference operation. * BUILD Build, Cause the faces of the mesh object to appear or disappear one after the other over time. * DECIMATE Decimate, Reduce the geometry density. * EDGE_SPLIT Edge Split, Split away joined faces at the edges. * MASK Mask, Dynamically hide vertices based on a vertex group or armature. * MIRROR Mirror, Mirror along the local X, Y and/or Z axes, over the object origin. * MULTIRES Multiresolution, Subdivide the mesh in a way that allows editing the higher subdivision levels. * REMESH Remesh, Generate new mesh topology based on the current shape. * SCREW Screw, Lathe around an axis, treating the input mesh as a profile. * SKIN Skin, Create a solid shape from vertices and edges, using the vertex radius to define the thickness. * SOLIDIFY Solidify, Make the surface thick. * SUBSURF Subdivision Surface, Split the faces into smaller parts, giving it a smoother appearance. * TRIANGULATE Triangulate, Convert all polygons to triangles. * WELD Weld, Find groups of vertices closer then dist and merges them together. * WIREFRAME Wireframe, Convert faces into thickened edges. * ARMATURE Armature, Deform the shape using an armature object. * CAST Cast, Shift the shape towards a predefined primitive. * CURVE Curve, Bend the mesh using a curve object. * DISPLACE Displace, Offset vertices based on a texture. * HOOK Hook, Deform specific points using another object. * LAPLACIANDEFORM Laplacian Deform, Deform based a series of anchor points. * LATTICE Lattice, Deform using the shape of a lattice object. * MESH_DEFORM Mesh Deform, Deform using a different mesh, which acts as a deformation cage. * SHRINKWRAP Shrinkwrap, Project the shape onto another object. * SIMPLE_DEFORM Simple Deform, Deform the shape by twisting, bending, tapering or stretching. * SMOOTH Smooth, Smooth the mesh by flattening the angles between adjacent faces. * CORRECTIVE_SMOOTH Smooth Corrective, Smooth the mesh while still preserving the volume. * LAPLACIANSMOOTH Smooth Laplacian, Reduce the noise on a mesh surface with minimal changes to its shape. * SURFACE_DEFORM Surface Deform, Transfer motion from another mesh. * WARP Warp, Warp parts of a mesh to a new location in a very flexible way thanks to 2 specified objects. * WAVE Wave, Adds a ripple-like motion to an object’s geometry. * CLOTH Cloth. * COLLISION Collision. * DYNAMIC_PAINT Dynamic Paint. * EXPLODE Explode, Break apart the mesh faces and let them follow particles. * FLUID Fluid. * OCEAN Ocean, Generate a moving ocean surface. * PARTICLE_INSTANCE Particle Instance. * PARTICLE_SYSTEM Particle System, Spawn particles from the shape. * SOFT_BODY Soft Body. * SURFACE Surface. * SIMULATION Simulation. + ''' * DATA_TRANSFER Data Transfer, Transfer several types of data (vertex groups, UV maps, vertex colors, custom normals) from one mesh to another. * MESH_CACHE Mesh Cache, Deform the mesh using an external frame-by-frame vertex transform cache. * MESH_SEQUENCE_CACHE Mesh Sequence Cache, Deform the mesh or curve using an external mesh cache in Alembic format. * NORMAL_EDIT Normal Edit, Modify the direction of the surface normals. * WEIGHTED_NORMAL Weighted Normal, Modify the direction of the surface normals using a weighting method. * UV_PROJECT UV Project, Project the UV map coordinates from the negative Z axis of another object. * UV_WARP UV Warp, Transform the UV map using the difference between two objects. * VERTEX_WEIGHT_EDIT Vertex Weight Edit, Modify of the weights of a vertex group. * VERTEX_WEIGHT_MIX Vertex Weight Mix, Mix the weights of two vertex groups. * VERTEX_WEIGHT_PROXIMITY Vertex Weight Proximity, Set the vertex group weights based on the distance to another target object. * ARRAY Array, Create copies of the shape with offsets. * BEVEL Bevel, Generate sloped corners by adding geometry to the mesh's edges or vertices. * BOOLEAN Boolean, Use another shape to cut, combine or perform a difference operation. * BUILD Build, Cause the faces of the mesh object to appear or disappear one after the other over time. * DECIMATE Decimate, Reduce the geometry density. * EDGE_SPLIT Edge Split, Split away joined faces at the edges. * NODES Geometry Nodes. * MASK Mask, Dynamically hide vertices based on a vertex group or armature. * MIRROR Mirror, Mirror along the local X, Y and/or Z axes, over the object origin. * MESH_TO_VOLUME Mesh to Volume. * MULTIRES Multiresolution, Subdivide the mesh in a way that allows editing the higher subdivision levels. * REMESH Remesh, Generate new mesh topology based on the current shape. * SCREW Screw, Lathe around an axis, treating the input mesh as a profile. * SKIN Skin, Create a solid shape from vertices and edges, using the vertex radius to define the thickness. * SOLIDIFY Solidify, Make the surface thick. * SUBSURF Subdivision Surface, Split the faces into smaller parts, giving it a smoother appearance. * TRIANGULATE Triangulate, Convert all polygons to triangles. * VOLUME_TO_MESH Volume to Mesh. * WELD Weld, Find groups of vertices closer than dist and merge them together. * WIREFRAME Wireframe, Convert faces into thickened edges. * ARMATURE Armature, Deform the shape using an armature object. * CAST Cast, Shift the shape towards a predefined primitive. * CURVE Curve, Bend the mesh using a curve object. * DISPLACE Displace, Offset vertices based on a texture. * HOOK Hook, Deform specific points using another object. * LAPLACIANDEFORM Laplacian Deform, Deform based a series of anchor points. * LATTICE Lattice, Deform using the shape of a lattice object. * MESH_DEFORM Mesh Deform, Deform using a different mesh, which acts as a deformation cage. * SHRINKWRAP Shrinkwrap, Project the shape onto another object. * SIMPLE_DEFORM Simple Deform, Deform the shape by twisting, bending, tapering or stretching. * SMOOTH Smooth, Smooth the mesh by flattening the angles between adjacent faces. * CORRECTIVE_SMOOTH Smooth Corrective, Smooth the mesh while still preserving the volume. * LAPLACIANSMOOTH Smooth Laplacian, Reduce the noise on a mesh surface with minimal changes to its shape. * SURFACE_DEFORM Surface Deform, Transfer motion from another mesh. * WARP Warp, Warp parts of a mesh to a new location in a very flexible way thanks to 2 specified objects. * WAVE Wave, Adds a ripple-like motion to an object’s geometry. * VOLUME_DISPLACE Volume Displace, Deform volume based on noise or other vector fields. * CLOTH Cloth. * COLLISION Collision. * DYNAMIC_PAINT Dynamic Paint. * EXPLODE Explode, Break apart the mesh faces and let them follow particles. * FLUID Fluid. * OCEAN Ocean, Generate a moving ocean surface. * PARTICLE_INSTANCE Particle Instance. * PARTICLE_SYSTEM Particle System, Spawn particles from the shape. * SOFT_BODY Soft Body. * SURFACE Surface. :type: typing.Union[int, str] ''' @@ -21346,11 +22317,11 @@ class MotionPath(bpy_struct): :type: bool ''' - points: typing.Union[typing. + points: typing.Union[typing.Dict[str, 'MotionPathVert'], typing. List['MotionPathVert'], 'bpy_prop_collection'] = None ''' Cached positions per frame - :type: typing.Union[typing.List['MotionPathVert'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MotionPathVert'], typing.List['MotionPathVert'], 'bpy_prop_collection'] ''' use_bone_head: bool = None @@ -21671,19 +22642,21 @@ class MovieTracking(bpy_struct): :type: 'MovieTrackingDopesheet' ''' - objects: typing.Union[typing.List['MovieTrackingObject'], - 'bpy_prop_collection', 'MovieTrackingObjects'] = None + objects: typing.Union[typing.Dict[str, 'MovieTrackingObject'], typing. + List['MovieTrackingObject'], 'bpy_prop_collection', + 'MovieTrackingObjects'] = None ''' Collection of objects in this tracking data object - :type: typing.Union[typing.List['MovieTrackingObject'], 'bpy_prop_collection', 'MovieTrackingObjects'] + :type: typing.Union[typing.Dict[str, 'MovieTrackingObject'], typing.List['MovieTrackingObject'], 'bpy_prop_collection', 'MovieTrackingObjects'] ''' - plane_tracks: typing.Union[typing.List['MovieTrackingPlaneTrack'], - 'bpy_prop_collection', - 'MovieTrackingPlaneTracks'] = None + plane_tracks: typing.Union[ + typing.Dict[str, 'MovieTrackingPlaneTrack'], typing. + List['MovieTrackingPlaneTrack'], 'bpy_prop_collection', + 'MovieTrackingPlaneTracks'] = None ''' Collection of plane tracks in this tracking data object - :type: typing.Union[typing.List['MovieTrackingPlaneTrack'], 'bpy_prop_collection', 'MovieTrackingPlaneTracks'] + :type: typing.Union[typing.Dict[str, 'MovieTrackingPlaneTrack'], typing.List['MovieTrackingPlaneTrack'], 'bpy_prop_collection', 'MovieTrackingPlaneTracks'] ''' reconstruction: 'MovieTrackingReconstruction' = None @@ -21704,11 +22677,12 @@ class MovieTracking(bpy_struct): :type: 'MovieTrackingStabilization' ''' - tracks: typing.Union[typing.List['MovieTrackingTrack'], - 'bpy_prop_collection', 'MovieTrackingTracks'] = None + tracks: typing.Union[typing.Dict[str, 'MovieTrackingTrack'], typing. + List['MovieTrackingTrack'], 'bpy_prop_collection', + 'MovieTrackingTracks'] = None ''' Collection of tracks in this tracking data object - :type: typing.Union[typing.List['MovieTrackingTrack'], 'bpy_prop_collection', 'MovieTrackingTracks'] + :type: typing.Union[typing.Dict[str, 'MovieTrackingTrack'], typing.List['MovieTrackingTrack'], 'bpy_prop_collection', 'MovieTrackingTracks'] ''' @classmethod @@ -21737,8 +22711,44 @@ class MovieTrackingCamera(bpy_struct): ''' Match-moving camera data for tracking ''' + brown_k1: float = None + ''' First coefficient of fourth order Brown-Conrady radial distortion + + :type: float + ''' + + brown_k2: float = None + ''' Second coefficient of fourth order Brown-Conrady radial distortion + + :type: float + ''' + + brown_k3: float = None + ''' Third coefficient of fourth order Brown-Conrady radial distortion + + :type: float + ''' + + brown_k4: float = None + ''' Fourth coefficient of fourth order Brown-Conrady radial distortion + + :type: float + ''' + + brown_p1: float = None + ''' First coefficient of second order Brown-Conrady tangential distortion + + :type: float + ''' + + brown_p2: float = None + ''' Second coefficient of second order Brown-Conrady tangential distortion + + :type: float + ''' + distortion_model: typing.Union[int, str] = None - ''' Distortion model used for camera lenses * POLYNOMIAL Polynomial, Radial distortion model which fits common cameras. * DIVISION Divisions, Division distortion model which better represents wide-angle cameras. * NUKE Nuke, Nuke distortion model. + ''' Distortion model used for camera lenses * POLYNOMIAL Polynomial, Radial distortion model which fits common cameras. * DIVISION Divisions, Division distortion model which better represents wide-angle cameras. * NUKE Nuke, Nuke distortion model. * BROWN Brown, Brown-Conrady distortion model. :type: typing.Union[int, str] ''' @@ -21750,7 +22760,7 @@ class MovieTrackingCamera(bpy_struct): ''' division_k2: float = None - ''' First coefficient of second order division distortion + ''' Second coefficient of second order division distortion :type: float ''' @@ -22056,12 +23066,13 @@ class MovieTrackingObject(bpy_struct): :type: str ''' - plane_tracks: typing.Union[typing.List['MovieTrackingPlaneTrack'], - 'bpy_prop_collection', - 'MovieTrackingObjectPlaneTracks'] = None + plane_tracks: typing.Union[ + typing.Dict[str, 'MovieTrackingPlaneTrack'], typing. + List['MovieTrackingPlaneTrack'], 'bpy_prop_collection', + 'MovieTrackingObjectPlaneTracks'] = None ''' Collection of plane tracks in this tracking data object - :type: typing.Union[typing.List['MovieTrackingPlaneTrack'], 'bpy_prop_collection', 'MovieTrackingObjectPlaneTracks'] + :type: typing.Union[typing.Dict[str, 'MovieTrackingPlaneTrack'], typing.List['MovieTrackingPlaneTrack'], 'bpy_prop_collection', 'MovieTrackingObjectPlaneTracks'] ''' reconstruction: 'MovieTrackingReconstruction' = None @@ -22076,12 +23087,12 @@ class MovieTrackingObject(bpy_struct): :type: float ''' - tracks: typing.Union[typing. + tracks: typing.Union[typing.Dict[str, 'MovieTrackingTrack'], typing. List['MovieTrackingTrack'], 'bpy_prop_collection', 'MovieTrackingObjectTracks'] = None ''' Collection of tracks in this tracking data object - :type: typing.Union[typing.List['MovieTrackingTrack'], 'bpy_prop_collection', 'MovieTrackingObjectTracks'] + :type: typing.Union[typing.Dict[str, 'MovieTrackingTrack'], typing.List['MovieTrackingTrack'], 'bpy_prop_collection', 'MovieTrackingObjectTracks'] ''' @classmethod @@ -22349,12 +23360,13 @@ class MovieTrackingPlaneTrack(bpy_struct): :type: float ''' - markers: typing.Union[typing.List['MovieTrackingPlaneMarker'], + markers: typing.Union[typing.Dict[str, 'MovieTrackingPlaneMarker'], typing. + List['MovieTrackingPlaneMarker'], 'bpy_prop_collection', 'MovieTrackingPlaneMarkers'] = None ''' Collection of markers in track - :type: typing.Union[typing.List['MovieTrackingPlaneMarker'], 'bpy_prop_collection', 'MovieTrackingPlaneMarkers'] + :type: typing.Union[typing.Dict[str, 'MovieTrackingPlaneMarker'], typing.List['MovieTrackingPlaneMarker'], 'bpy_prop_collection', 'MovieTrackingPlaneMarkers'] ''' name: str = None @@ -22485,12 +23497,13 @@ class MovieTrackingReconstruction(bpy_struct): :type: float ''' - cameras: typing.Union[typing.List['MovieReconstructedCamera'], + cameras: typing.Union[typing.Dict[str, 'MovieReconstructedCamera'], typing. + List['MovieReconstructedCamera'], 'bpy_prop_collection', 'MovieTrackingReconstructedCameras'] = None ''' Collection of solved cameras - :type: typing.Union[typing.List['MovieReconstructedCamera'], 'bpy_prop_collection', 'MovieTrackingReconstructedCameras'] + :type: typing.Union[typing.Dict[str, 'MovieReconstructedCamera'], typing.List['MovieReconstructedCamera'], 'bpy_prop_collection', 'MovieTrackingReconstructedCameras'] ''' is_valid: bool = None @@ -22603,10 +23616,28 @@ class MovieTrackingSettings(bpy_struct): :type: float ''' - refine_intrinsics: typing.Union[int, str] = None - ''' Refine intrinsics during camera solving * NONE Nothing, Do not refine camera intrinsics. * FOCAL_LENGTH Focal Length, Refine focal length. * FOCAL_LENGTH_RADIAL_K1 Focal length, K1, Refine focal length and radial distortion K1. * FOCAL_LENGTH_RADIAL_K1_K2 Focal length, K1, K2, Refine focal length and radial distortion K1 and K2. * FOCAL_LENGTH_PRINCIPAL_POINT_RADIAL_K1_K2 Focal Length, Optical Center, K1, K2, Refine focal length, optical center and radial distortion K1 and K2. * FOCAL_LENGTH_PRINCIPAL_POINT Focal Length, Optical Center, Refine focal length and optical center. * RADIAL_K1_K2 K1, K2, Refine radial distortion K1 and K2. + refine_intrinsics_focal_length: bool = None + ''' Refine focal length during camera solving - :type: typing.Union[int, str] + :type: bool + ''' + + refine_intrinsics_principal_point: bool = None + ''' Refine principal point during camera solving + + :type: bool + ''' + + refine_intrinsics_radial_distortion: bool = None + ''' Refine radial coefficients of distortion model during camera solving + + :type: bool + ''' + + refine_intrinsics_tangential_distortion: bool = None + ''' Refine tangential coefficients of distortion model during camera solving + + :type: bool ''' show_default_expanded: bool = None @@ -22743,11 +23774,12 @@ class MovieTrackingStabilization(bpy_struct): :type: float ''' - rotation_tracks: typing.Union[typing.List['MovieTrackingTrack'], - 'bpy_prop_collection'] = None + rotation_tracks: typing.Union[ + typing.Dict[str, 'MovieTrackingTrack'], typing. + List['MovieTrackingTrack'], 'bpy_prop_collection'] = None ''' Collection of tracks used for 2D stabilization (translation) - :type: typing.Union[typing.List['MovieTrackingTrack'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MovieTrackingTrack'], typing.List['MovieTrackingTrack'], 'bpy_prop_collection'] ''' scale_max: float = None @@ -22780,11 +23812,12 @@ class MovieTrackingStabilization(bpy_struct): :type: float ''' - tracks: typing.Union[typing.List['MovieTrackingTrack'], + tracks: typing.Union[typing.Dict[str, 'MovieTrackingTrack'], typing. + List['MovieTrackingTrack'], 'bpy_prop_collection'] = None ''' Collection of tracks used for 2D stabilization (translation) - :type: typing.Union[typing.List['MovieTrackingTrack'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MovieTrackingTrack'], typing.List['MovieTrackingTrack'], 'bpy_prop_collection'] ''' use_2d_stabilization: bool = None @@ -22897,11 +23930,12 @@ class MovieTrackingTrack(bpy_struct): :type: int ''' - markers: typing.Union[typing.List['MovieTrackingMarker'], - 'bpy_prop_collection', 'MovieTrackingMarkers'] = None + markers: typing.Union[typing.Dict[str, 'MovieTrackingMarker'], typing. + List['MovieTrackingMarker'], 'bpy_prop_collection', + 'MovieTrackingMarkers'] = None ''' Collection of markers in track - :type: typing.Union[typing.List['MovieTrackingMarker'], 'bpy_prop_collection', 'MovieTrackingMarkers'] + :type: typing.Union[typing.Dict[str, 'MovieTrackingMarker'], typing.List['MovieTrackingMarker'], 'bpy_prop_collection', 'MovieTrackingMarkers'] ''' motion_model: typing.Union[int, str] = None @@ -23136,11 +24170,11 @@ class NlaStrip(bpy_struct): :type: typing.Union[int, str] ''' - fcurves: typing.Union[typing.List['FCurve'], 'bpy_prop_collection', - 'NlaStripFCurves'] = None + fcurves: typing.Union[typing.Dict[str, 'FCurve'], typing.List['FCurve'], + 'bpy_prop_collection', 'NlaStripFCurves'] = None ''' F-Curves for controlling the strip's influence and timing - :type: typing.Union[typing.List['FCurve'], 'bpy_prop_collection', 'NlaStripFCurves'] + :type: typing.Union[typing.Dict[str, 'FCurve'], typing.List['FCurve'], 'bpy_prop_collection', 'NlaStripFCurves'] ''' frame_end: float = None @@ -23161,11 +24195,11 @@ class NlaStrip(bpy_struct): :type: float ''' - modifiers: typing.Union[typing. + modifiers: typing.Union[typing.Dict[str, 'FModifier'], typing. List['FModifier'], 'bpy_prop_collection'] = None ''' Modifiers affecting all the F-Curves in the referenced Action - :type: typing.Union[typing.List['FModifier'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'FModifier'], typing.List['FModifier'], 'bpy_prop_collection'] ''' mute: bool = None @@ -23204,10 +24238,11 @@ class NlaStrip(bpy_struct): :type: float ''' - strips: typing.Union[typing.List['NlaStrip'], 'bpy_prop_collection'] = None + strips: typing.Union[typing.Dict[str, 'NlaStrip'], typing. + List['NlaStrip'], 'bpy_prop_collection'] = None ''' NLA Strips that this strip acts as a container for (if it is of type Meta) - :type: typing.Union[typing.List['NlaStrip'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'NlaStrip'], typing.List['NlaStrip'], 'bpy_prop_collection'] ''' type: typing.Union[int, str] = None @@ -23229,7 +24264,7 @@ class NlaStrip(bpy_struct): ''' use_animated_time_cyclic: bool = None - ''' Cycle the animated time within the action start & end + ''' Cycle the animated time within the action start and end :type: bool ''' @@ -23400,11 +24435,11 @@ class NlaTrack(bpy_struct): :type: bool ''' - strips: typing.Union[typing.List['NlaStrip'], 'bpy_prop_collection', - 'NlaStrips'] = None + strips: typing.Union[typing.Dict[str, 'NlaStrip'], typing.List['NlaStrip'], + 'bpy_prop_collection', 'NlaStrips'] = None ''' NLA Strips on this NLA-track - :type: typing.Union[typing.List['NlaStrip'], 'bpy_prop_collection', 'NlaStrips'] + :type: typing.Union[typing.Dict[str, 'NlaStrip'], typing.List['NlaStrip'], 'bpy_prop_collection', 'NlaStrips'] ''' @classmethod @@ -23434,7 +24469,7 @@ class NlaTracks(bpy_struct): ''' active: 'NlaTrack' = None - ''' Active Object constraint + ''' Active NLA Track :type: 'NlaTrack' ''' @@ -23573,18 +24608,20 @@ class Node(bpy_struct): :type: bool ''' - inputs: typing.Union[typing.List['NodeSocket'], 'bpy_prop_collection', + inputs: typing.Union[typing.Dict[str, 'NodeSocket'], typing. + List['NodeSocket'], 'bpy_prop_collection', 'NodeInputs'] = None ''' - :type: typing.Union[typing.List['NodeSocket'], 'bpy_prop_collection', 'NodeInputs'] + :type: typing.Union[typing.Dict[str, 'NodeSocket'], typing.List['NodeSocket'], 'bpy_prop_collection', 'NodeInputs'] ''' - internal_links: typing.Union[typing.List['NodeLink'], + internal_links: typing.Union[typing.Dict[str, 'NodeLink'], typing. + List['NodeLink'], 'bpy_prop_collection'] = None ''' Internal input-to-output connections for muting - :type: typing.Union[typing.List['NodeLink'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'NodeLink'], typing.List['NodeLink'], 'bpy_prop_collection'] ''' label: str = None @@ -23611,11 +24648,12 @@ class Node(bpy_struct): :type: str ''' - outputs: typing.Union[typing.List['NodeSocket'], 'bpy_prop_collection', + outputs: typing.Union[typing.Dict[str, 'NodeSocket'], typing. + List['NodeSocket'], 'bpy_prop_collection', 'NodeOutputs'] = None ''' - :type: typing.Union[typing.List['NodeSocket'], 'bpy_prop_collection', 'NodeOutputs'] + :type: typing.Union[typing.Dict[str, 'NodeSocket'], typing.List['NodeSocket'], 'bpy_prop_collection', 'NodeOutputs'] ''' parent: 'Node' = None @@ -24061,6 +25099,12 @@ class NodeOutputFileSlotFile(bpy_struct): :type: str ''' + save_as_render: bool = None + ''' Apply render part of display transform when saving byte image + + :type: bool + ''' + use_node_format: bool = None ''' @@ -24765,11 +25809,11 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class ObjectDisplay(bpy_struct): - ''' Object display settings for 3d viewport + ''' Object display settings for 3D viewport ''' show_shadows: bool = None - ''' Object cast shadows in the 3d viewport + ''' Object cast shadows in the 3D viewport :type: bool ''' @@ -24853,12 +25897,18 @@ class ObjectModifiers(bpy_struct): ''' Collection of object modifiers ''' + active: 'Modifier' = None + ''' The active modifier in the list + + :type: 'Modifier' + ''' + def new(self, name: str, type: typing.Union[int, str]) -> 'Modifier': ''' Add a new modifier :param name: New name for the modifier :type name: str - :param type: Modifier type to add * DATA_TRANSFER Data Transfer, Transfer several types of data (vertex groups, UV maps, vertex colors, custom normals) from one mesh to another. * MESH_CACHE Mesh Cache, Deform the mesh using an external frame-by-frame vertex transform cache. * MESH_SEQUENCE_CACHE Mesh Sequence Cache, Deform the mesh or curve using an external mesh cache in Alembic format. * NORMAL_EDIT Normal Edit, Modify the direction of the surface normals. * WEIGHTED_NORMAL Weighted Normal, Modify the direction of the surface normals using a weighting method. * UV_PROJECT UV Project, Project the UV map coordinates from the negative Z axis of another object. * UV_WARP UV Warp, Transform the UV map using the difference between two objects. * VERTEX_WEIGHT_EDIT Vertex Weight Edit, Modify of the weights of a vertex group. * VERTEX_WEIGHT_MIX Vertex Weight Mix, Mix the weights of two vertex groups. * VERTEX_WEIGHT_PROXIMITY Vertex Weight Proximity, Set the vertex group weights based on the distance to another target object. * ARRAY Array, Create copies of the shape with offsets. * BEVEL Bevel, Generate sloped corners by adding geometry to the mesh's edges or vertices. * BOOLEAN Boolean, Use another shape to cut, combine or perform a difference operation. * BUILD Build, Cause the faces of the mesh object to appear or disappear one after the other over time. * DECIMATE Decimate, Reduce the geometry density. * EDGE_SPLIT Edge Split, Split away joined faces at the edges. * MASK Mask, Dynamically hide vertices based on a vertex group or armature. * MIRROR Mirror, Mirror along the local X, Y and/or Z axes, over the object origin. * MULTIRES Multiresolution, Subdivide the mesh in a way that allows editing the higher subdivision levels. * REMESH Remesh, Generate new mesh topology based on the current shape. * SCREW Screw, Lathe around an axis, treating the input mesh as a profile. * SKIN Skin, Create a solid shape from vertices and edges, using the vertex radius to define the thickness. * SOLIDIFY Solidify, Make the surface thick. * SUBSURF Subdivision Surface, Split the faces into smaller parts, giving it a smoother appearance. * TRIANGULATE Triangulate, Convert all polygons to triangles. * WELD Weld, Find groups of vertices closer then dist and merges them together. * WIREFRAME Wireframe, Convert faces into thickened edges. * ARMATURE Armature, Deform the shape using an armature object. * CAST Cast, Shift the shape towards a predefined primitive. * CURVE Curve, Bend the mesh using a curve object. * DISPLACE Displace, Offset vertices based on a texture. * HOOK Hook, Deform specific points using another object. * LAPLACIANDEFORM Laplacian Deform, Deform based a series of anchor points. * LATTICE Lattice, Deform using the shape of a lattice object. * MESH_DEFORM Mesh Deform, Deform using a different mesh, which acts as a deformation cage. * SHRINKWRAP Shrinkwrap, Project the shape onto another object. * SIMPLE_DEFORM Simple Deform, Deform the shape by twisting, bending, tapering or stretching. * SMOOTH Smooth, Smooth the mesh by flattening the angles between adjacent faces. * CORRECTIVE_SMOOTH Smooth Corrective, Smooth the mesh while still preserving the volume. * LAPLACIANSMOOTH Smooth Laplacian, Reduce the noise on a mesh surface with minimal changes to its shape. * SURFACE_DEFORM Surface Deform, Transfer motion from another mesh. * WARP Warp, Warp parts of a mesh to a new location in a very flexible way thanks to 2 specified objects. * WAVE Wave, Adds a ripple-like motion to an object’s geometry. * CLOTH Cloth. * COLLISION Collision. * DYNAMIC_PAINT Dynamic Paint. * EXPLODE Explode, Break apart the mesh faces and let them follow particles. * FLUID Fluid. * OCEAN Ocean, Generate a moving ocean surface. * PARTICLE_INSTANCE Particle Instance. * PARTICLE_SYSTEM Particle System, Spawn particles from the shape. * SOFT_BODY Soft Body. * SURFACE Surface. * SIMULATION Simulation. + :param type: Modifier type to add * DATA_TRANSFER Data Transfer, Transfer several types of data (vertex groups, UV maps, vertex colors, custom normals) from one mesh to another. * MESH_CACHE Mesh Cache, Deform the mesh using an external frame-by-frame vertex transform cache. * MESH_SEQUENCE_CACHE Mesh Sequence Cache, Deform the mesh or curve using an external mesh cache in Alembic format. * NORMAL_EDIT Normal Edit, Modify the direction of the surface normals. * WEIGHTED_NORMAL Weighted Normal, Modify the direction of the surface normals using a weighting method. * UV_PROJECT UV Project, Project the UV map coordinates from the negative Z axis of another object. * UV_WARP UV Warp, Transform the UV map using the difference between two objects. * VERTEX_WEIGHT_EDIT Vertex Weight Edit, Modify of the weights of a vertex group. * VERTEX_WEIGHT_MIX Vertex Weight Mix, Mix the weights of two vertex groups. * VERTEX_WEIGHT_PROXIMITY Vertex Weight Proximity, Set the vertex group weights based on the distance to another target object. * ARRAY Array, Create copies of the shape with offsets. * BEVEL Bevel, Generate sloped corners by adding geometry to the mesh's edges or vertices. * BOOLEAN Boolean, Use another shape to cut, combine or perform a difference operation. * BUILD Build, Cause the faces of the mesh object to appear or disappear one after the other over time. * DECIMATE Decimate, Reduce the geometry density. * EDGE_SPLIT Edge Split, Split away joined faces at the edges. * NODES Geometry Nodes. * MASK Mask, Dynamically hide vertices based on a vertex group or armature. * MIRROR Mirror, Mirror along the local X, Y and/or Z axes, over the object origin. * MESH_TO_VOLUME Mesh to Volume. * MULTIRES Multiresolution, Subdivide the mesh in a way that allows editing the higher subdivision levels. * REMESH Remesh, Generate new mesh topology based on the current shape. * SCREW Screw, Lathe around an axis, treating the input mesh as a profile. * SKIN Skin, Create a solid shape from vertices and edges, using the vertex radius to define the thickness. * SOLIDIFY Solidify, Make the surface thick. * SUBSURF Subdivision Surface, Split the faces into smaller parts, giving it a smoother appearance. * TRIANGULATE Triangulate, Convert all polygons to triangles. * VOLUME_TO_MESH Volume to Mesh. * WELD Weld, Find groups of vertices closer than dist and merge them together. * WIREFRAME Wireframe, Convert faces into thickened edges. * ARMATURE Armature, Deform the shape using an armature object. * CAST Cast, Shift the shape towards a predefined primitive. * CURVE Curve, Bend the mesh using a curve object. * DISPLACE Displace, Offset vertices based on a texture. * HOOK Hook, Deform specific points using another object. * LAPLACIANDEFORM Laplacian Deform, Deform based a series of anchor points. * LATTICE Lattice, Deform using the shape of a lattice object. * MESH_DEFORM Mesh Deform, Deform using a different mesh, which acts as a deformation cage. * SHRINKWRAP Shrinkwrap, Project the shape onto another object. * SIMPLE_DEFORM Simple Deform, Deform the shape by twisting, bending, tapering or stretching. * SMOOTH Smooth, Smooth the mesh by flattening the angles between adjacent faces. * CORRECTIVE_SMOOTH Smooth Corrective, Smooth the mesh while still preserving the volume. * LAPLACIANSMOOTH Smooth Laplacian, Reduce the noise on a mesh surface with minimal changes to its shape. * SURFACE_DEFORM Surface Deform, Transfer motion from another mesh. * WARP Warp, Warp parts of a mesh to a new location in a very flexible way thanks to 2 specified objects. * WAVE Wave, Adds a ripple-like motion to an object’s geometry. * VOLUME_DISPLACE Volume Displace, Deform volume based on noise or other vector fields. * CLOTH Cloth. * COLLISION Collision. * DYNAMIC_PAINT Dynamic Paint. * EXPLODE Explode, Break apart the mesh faces and let them follow particles. * FLUID Fluid. * OCEAN Ocean, Generate a moving ocean surface. * PARTICLE_INSTANCE Particle Instance. * PARTICLE_SYSTEM Particle System, Spawn particles from the shape. * SOFT_BODY Soft Body. * SURFACE Surface. :type type: typing.Union[int, str] :rtype: 'Modifier' :return: Newly created modifier @@ -25005,10 +26055,11 @@ class Operator(bpy_struct): :type: 'UILayout' ''' - macros: typing.Union[typing.List['Macro'], 'bpy_prop_collection'] = None + macros: typing.Union[typing.Dict[str, 'Macro'], typing. + List['Macro'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['Macro'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Macro'], typing.List['Macro'], 'bpy_prop_collection'] ''' name: str = None @@ -25257,7 +26308,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class OperatorProperties(bpy_struct): - ''' Input properties of an Operator + ''' Input properties of an operator ''' @classmethod @@ -25387,11 +26438,12 @@ class Paint(bpy_struct): :type: bool ''' - tool_slots: typing.Union[typing.List['PaintToolSlot'], + tool_slots: typing.Union[typing.Dict[str, 'PaintToolSlot'], typing. + List['PaintToolSlot'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['PaintToolSlot'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'PaintToolSlot'], typing.List['PaintToolSlot'], 'bpy_prop_collection'] ''' use_cavity: bool = None @@ -25652,6 +26704,12 @@ class Panel(bpy_struct): :type: int ''' + custom_data: 'Constraint' = None + ''' Panel data + + :type: 'Constraint' + ''' + is_popover: bool = None ''' @@ -25664,12 +26722,6 @@ class Panel(bpy_struct): :type: 'UILayout' ''' - list_panel_index: int = None - ''' - - :type: int - ''' - text: str = None ''' XXX todo @@ -25765,11 +26817,12 @@ class Particle(bpy_struct): :type: float ''' - hair_keys: typing.Union[typing.List['ParticleHairKey'], + hair_keys: typing.Union[typing.Dict[str, 'ParticleHairKey'], typing. + List['ParticleHairKey'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['ParticleHairKey'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ParticleHairKey'], typing.List['ParticleHairKey'], 'bpy_prop_collection'] ''' is_exist: bool = None @@ -25796,11 +26849,12 @@ class Particle(bpy_struct): :type: typing.List[float] ''' - particle_keys: typing.Union[typing.List['ParticleKey'], + particle_keys: typing.Union[typing.Dict[str, 'ParticleKey'], typing. + List['ParticleKey'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['ParticleKey'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ParticleKey'], typing.List['ParticleKey'], 'bpy_prop_collection'] ''' prev_angular_velocity: typing.List[float] = None @@ -26173,6 +27227,22 @@ def co_object(self, object: 'Object', modifier: 'ParticleSystemModifier', ''' pass + def co_object_set(self, object: 'Object', + modifier: 'ParticleSystemModifier', particle: 'Particle', + co: typing.List[float]): + ''' Set hairkey location with particle and modifier data + + :param object: Object + :type object: 'Object' + :param modifier: Particle modifier + :type modifier: 'ParticleSystemModifier' + :param particle: hair particle + :type particle: 'Particle' + :param co: Co, Specified hairkey location + :type co: typing.List[float] + ''' + pass + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -26322,11 +27392,12 @@ class ParticleSystem(bpy_struct): :type: int ''' - child_particles: typing.Union[typing.List['ChildParticle'], + child_particles: typing.Union[typing.Dict[str, 'ChildParticle'], typing. + List['ChildParticle'], 'bpy_prop_collection'] = None ''' Child particles generated by the particle system - :type: typing.Union[typing.List['ChildParticle'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ChildParticle'], typing.List['ChildParticle'], 'bpy_prop_collection'] ''' child_seed: int = None @@ -26461,11 +27532,11 @@ class ParticleSystem(bpy_struct): :type: 'Object' ''' - particles: typing.Union[typing. + particles: typing.Union[typing.Dict[str, 'Particle'], typing. List['Particle'], 'bpy_prop_collection'] = None ''' Particles generated by the particle system - :type: typing.Union[typing.List['Particle'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Particle'], typing.List['Particle'], 'bpy_prop_collection'] ''' point_cache: 'PointCache' = None @@ -26498,11 +27569,11 @@ class ParticleSystem(bpy_struct): :type: 'ParticleSettings' ''' - targets: typing.Union[typing. + targets: typing.Union[typing.Dict[str, 'ParticleTarget'], typing. List['ParticleTarget'], 'bpy_prop_collection'] = None ''' Target particle systems - :type: typing.Union[typing.List['ParticleTarget'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ParticleTarget'], typing.List['ParticleTarget'], 'bpy_prop_collection'] ''' use_hair_dynamics: bool = None @@ -26612,7 +27683,7 @@ def co_hair(self, object: 'Object', particle_no: int = 0, def uv_on_emitter(self, modifier: 'ParticleSystemModifier', - particle: 'Particle' = None, + particle: 'Particle', particle_no: int = 0, uv_no: int = 0) -> typing.List[float]: ''' Obtain uv for all particles @@ -26934,11 +28005,12 @@ class PointCache(bpy_struct): :type: str ''' - point_caches: typing.Union[typing.List['PointCacheItem'], - 'bpy_prop_collection', 'PointCaches'] = None + point_caches: typing.Union[typing.Dict[str, 'PointCacheItem'], typing. + List['PointCacheItem'], 'bpy_prop_collection', + 'PointCaches'] = None ''' - :type: typing.Union[typing.List['PointCacheItem'], 'bpy_prop_collection', 'PointCaches'] + :type: typing.Union[typing.Dict[str, 'PointCacheItem'], typing.List['PointCacheItem'], 'bpy_prop_collection', 'PointCaches'] ''' use_disk_cache: bool = None @@ -27248,17 +28320,19 @@ class Pose(bpy_struct): :type: 'AnimViz' ''' - bone_groups: typing.Union[typing.List['BoneGroup'], 'bpy_prop_collection', + bone_groups: typing.Union[typing.Dict[str, 'BoneGroup'], typing. + List['BoneGroup'], 'bpy_prop_collection', 'BoneGroups'] = None ''' Groups of the bones - :type: typing.Union[typing.List['BoneGroup'], 'bpy_prop_collection', 'BoneGroups'] + :type: typing.Union[typing.Dict[str, 'BoneGroup'], typing.List['BoneGroup'], 'bpy_prop_collection', 'BoneGroups'] ''' - bones: typing.Union[typing.List['PoseBone'], 'bpy_prop_collection'] = None + bones: typing.Union[typing.Dict[str, 'PoseBone'], typing. + List['PoseBone'], 'bpy_prop_collection'] = None ''' Individual pose bones for the armature - :type: typing.Union[typing.List['PoseBone'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'PoseBone'], typing.List['PoseBone'], 'bpy_prop_collection'] ''' ik_param: 'IKParam' = None @@ -27408,13 +28482,13 @@ class PoseBone(bpy_struct): ''' bone_group: 'BoneGroup' = None - ''' Bone Group this pose channel belongs to + ''' Bone group this pose channel belongs to :type: 'BoneGroup' ''' bone_group_index: int = None - ''' Bone Group this pose channel belongs to (0=no group) + ''' Bone group this pose channel belongs to (0 means no group) :type: int ''' @@ -27425,11 +28499,12 @@ class PoseBone(bpy_struct): :type: 'PoseBone' ''' - constraints: typing.Union[typing.List['Constraint'], 'bpy_prop_collection', + constraints: typing.Union[typing.Dict[str, 'Constraint'], typing. + List['Constraint'], 'bpy_prop_collection', 'PoseBoneConstraints'] = None - ''' Constraints that act on this PoseChannel + ''' Constraints that act on this pose channel - :type: typing.Union[typing.List['Constraint'], 'bpy_prop_collection', 'PoseBoneConstraints'] + :type: typing.Union[typing.Dict[str, 'Constraint'], typing.List['Constraint'], 'bpy_prop_collection', 'PoseBoneConstraints'] ''' custom_shape: 'Object' = None @@ -27884,11 +28959,11 @@ class Preferences(bpy_struct): :type: typing.Union[int, str] ''' - addons: typing.Union[typing. + addons: typing.Union[typing.Dict[str, 'Addon'], typing. List['Addon'], 'bpy_prop_collection', 'Addons'] = None ''' - :type: typing.Union[typing.List['Addon'], 'bpy_prop_collection', 'Addons'] + :type: typing.Union[typing.Dict[str, 'Addon'], typing.List['Addon'], 'bpy_prop_collection', 'Addons'] ''' app_template: str = None @@ -27897,12 +28972,12 @@ class Preferences(bpy_struct): :type: str ''' - autoexec_paths: typing.Union[typing. + autoexec_paths: typing.Union[typing.Dict[str, 'PathCompare'], typing. List['PathCompare'], 'bpy_prop_collection', 'PathCompareCollection'] = None ''' - :type: typing.Union[typing.List['PathCompare'], 'bpy_prop_collection', 'PathCompareCollection'] + :type: typing.Union[typing.Dict[str, 'PathCompare'], typing.List['PathCompare'], 'bpy_prop_collection', 'PathCompareCollection'] ''' edit: 'PreferencesEdit' = None @@ -27941,11 +29016,12 @@ class Preferences(bpy_struct): :type: 'PreferencesKeymap' ''' - studio_lights: typing.Union[typing.List['StudioLight'], - 'bpy_prop_collection', 'StudioLights'] = None + studio_lights: typing.Union[typing.Dict[str, 'StudioLight'], typing. + List['StudioLight'], 'bpy_prop_collection', + 'StudioLights'] = None ''' - :type: typing.Union[typing.List['StudioLight'], 'bpy_prop_collection', 'StudioLights'] + :type: typing.Union[typing.Dict[str, 'StudioLight'], typing.List['StudioLight'], 'bpy_prop_collection', 'StudioLights'] ''' system: 'PreferencesSystem' = None @@ -27954,17 +29030,18 @@ class Preferences(bpy_struct): :type: 'PreferencesSystem' ''' - themes: typing.Union[typing.List['Theme'], 'bpy_prop_collection'] = None + themes: typing.Union[typing.Dict[str, 'Theme'], typing. + List['Theme'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['Theme'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Theme'], typing.List['Theme'], 'bpy_prop_collection'] ''' - ui_styles: typing.Union[typing. + ui_styles: typing.Union[typing.Dict[str, 'ThemeStyle'], typing. List['ThemeStyle'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['ThemeStyle'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ThemeStyle'], typing.List['ThemeStyle'], 'bpy_prop_collection'] ''' use_preferences_save: bool = None @@ -28030,7 +29107,7 @@ class PreferencesEdit(bpy_struct): ''' fcurve_unselected_alpha: float = None - ''' Amount that unselected F-Curves stand out from the background (Graph Editor) + ''' The opacity of unselected F-Curves against the background of the Graph Editor :type: float ''' @@ -28107,6 +29184,12 @@ class PreferencesEdit(bpy_struct): :type: int ''' + use_anim_channel_group_colors: bool = None + ''' Use animation channel group colors; generally this is used to show bone group colors + + :type: bool + ''' + use_auto_keying: bool = None ''' Automatic keyframe insertion for Objects and Bones (default setting used for new Scenes) @@ -28289,6 +29372,12 @@ class PreferencesExperimental(bpy_struct): ''' Experimental features ''' + use_asset_browser: bool = None + ''' Enable Asset Browser editor and operators to manage data-blocks as asset + + :type: bool + ''' + use_cycles_debug: bool = None ''' Enable Cycles debugging options for developers @@ -28301,8 +29390,14 @@ class PreferencesExperimental(bpy_struct): :type: bool ''' - use_new_particle_system: bool = None - ''' Enable the new particle system in the ui + use_new_point_cloud_type: bool = None + ''' Enable the new point cloud type in the ui + + :type: bool + ''' + + use_sculpt_tools_tilt: bool = None + ''' Support for pen tablet tilt events in Sculpt Mode :type: bool ''' @@ -28313,6 +29408,12 @@ class PreferencesExperimental(bpy_struct): :type: bool ''' + use_switch_object_operator: bool = None + ''' Enable the operator to switch objects by pressing D + + :type: bool + ''' + use_undo_legacy: bool = None ''' Use legacy undo (slower than the new default one, but may be more stable in some cases) @@ -28352,11 +29453,19 @@ class PreferencesFilePaths(bpy_struct): ''' animation_player_preset: typing.Union[int, str] = None - ''' Preset configs for external animation players * INTERNAL Internal, Built-in animation player. * DJV DJV, Open source frame player: http://djv.sourceforge.net. * FRAMECYCLER FrameCycler, Frame player from IRIDAS. * RV RV, Frame player from Tweak Software. * MPLAYER MPlayer, Media player for video & png/jpeg/sgi image sequences. * CUSTOM Custom, Custom animation player executable path. + ''' Preset configs for external animation players * INTERNAL Internal, Built-in animation player. * DJV DJV, Open source frame player: http://djv.sourceforge.net. * FRAMECYCLER FrameCycler, Frame player from IRIDAS. * RV RV, Frame player from Tweak Software. * MPLAYER MPlayer, Media player for video and PNG/JPEG/SGI image sequences. * CUSTOM Custom, Custom animation player executable path. :type: typing.Union[int, str] ''' + asset_libraries: typing.Union[typing.Dict[str, 'UserAssetLibrary'], typing. + List['UserAssetLibrary'], + 'bpy_prop_collection'] = None + ''' + + :type: typing.Union[typing.Dict[str, 'UserAssetLibrary'], typing.List['UserAssetLibrary'], 'bpy_prop_collection'] + ''' + auto_save_time: int = None ''' The time (in minutes) to wait between automatic temporary saves @@ -28418,7 +29527,7 @@ class PreferencesFilePaths(bpy_struct): ''' script_directory: str = None - ''' Alternate script path, matching the default layout with subdirs: startup, add-ons & modules (requires restart) + ''' Alternate script path, matching the default layout with subdirectories: startup, add-ons and modules (requires restart) :type: str ''' @@ -28448,7 +29557,7 @@ class PreferencesFilePaths(bpy_struct): ''' use_auto_save_temporary_files: bool = None - ''' Automatic saving of temporary files in temp directory, uses process ID (sculpt & edit-mode data won't be saved!) + ''' Automatic saving of temporary files in temp directory, uses process ID (sculpt and edit mode data won't be saved) :type: bool ''' @@ -28528,7 +29637,7 @@ class PreferencesInput(bpy_struct): ''' drag_threshold_mouse: int = None - ''' Number of pixels to drag before a tweak/drag event is triggered for mouse/track-pad input (otherwise click events are detected) + ''' Number of pixels to drag before a tweak/drag event is triggered for mouse/trackpad input (otherwise click events are detected) :type: int ''' @@ -28684,7 +29793,7 @@ class PreferencesInput(bpy_struct): ''' tablet_api: typing.Union[int, str] = None - ''' Select the tablet API to use for pressure sensitivity * AUTOMATIC Automatic, Automatically choose Wintab or Windows Ink depending on the device. * WINDOWS_INK Windows Ink, Use native Windows Ink API, for modern tablet and pen devices. Requires Windows 8 or newer. * WINTAB Wintab, Use Wintab driver for older tablets and Windows versions. + ''' Select the tablet API to use for pressure sensitivity (may require restarting Blender for changes to take effect) * AUTOMATIC Automatic, Automatically choose Wintab or Windows Ink depending on the device. * WINDOWS_INK Windows Ink, Use native Windows Ink API, for modern tablet and pen devices. Requires Windows 8 or newer. * WINTAB Wintab, Use Wintab driver for older tablets and Windows versions. :type: typing.Union[int, str] ''' @@ -28695,12 +29804,6 @@ class PreferencesInput(bpy_struct): :type: bool ''' - use_camera_lock_parent: bool = None - ''' When the camera is locked to the view and in fly mode, transform the parent rather than the camera - - :type: bool - ''' - use_drag_immediately: bool = None ''' Moving things with a mouse drag confirms when releasing the button @@ -28749,12 +29852,6 @@ class PreferencesInput(bpy_struct): :type: bool ''' - use_trackpad_natural: bool = None - ''' If your system uses 'natural' scrolling, this option keeps consistent trackpad usage throughout the UI - - :type: bool - ''' - use_zoom_to_mouse: bool = None ''' Zoom in towards the mouse pointer's position in the 3D view, rather than the 2D window center @@ -28774,7 +29871,7 @@ class PreferencesInput(bpy_struct): ''' view_rotate_sensitivity_turntable: float = None - ''' Rotation amount per-pixel to control how fast the viewport orbits + ''' Rotation amount per pixel to control how fast the viewport orbits :type: float ''' @@ -28797,12 +29894,6 @@ class PreferencesInput(bpy_struct): :type: 'WalkNavigation' ''' - wheel_scroll_lines: int = None - ''' Number of lines scrolled at a time with the mouse wheel - - :type: int - ''' - @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -28892,7 +29983,7 @@ class PreferencesSystem(bpy_struct): ''' audio_sample_format: typing.Union[int, str] = None - ''' Audio sample format * U8 8-bit Unsigned, Set audio sample format to 8 bit unsigned integer. * S16 16-bit Signed, Set audio sample format to 16 bit signed integer. * S24 24-bit Signed, Set audio sample format to 24 bit signed integer. * S32 32-bit Signed, Set audio sample format to 32 bit signed integer. * FLOAT 32-bit Float, Set audio sample format to 32 bit float. * DOUBLE 64-bit Float, Set audio sample format to 64 bit float. + ''' Audio sample format * U8 8-bit Unsigned, Set audio sample format to 8-bit unsigned integer. * S16 16-bit Signed, Set audio sample format to 16-bit signed integer. * S24 24-bit Signed, Set audio sample format to 24-bit signed integer. * S32 32-bit Signed, Set audio sample format to 32-bit signed integer. * FLOAT 32-bit Float, Set audio sample format to 32-bit float. * DOUBLE 64-bit Float, Set audio sample format to 64-bit float. :type: typing.Union[int, str] ''' @@ -28981,11 +30072,12 @@ class PreferencesSystem(bpy_struct): :type: int ''' - solid_lights: typing.Union[typing.List['UserSolidLight'], + solid_lights: typing.Union[typing.Dict[str, 'UserSolidLight'], typing. + List['UserSolidLight'], 'bpy_prop_collection'] = None ''' Lights user to display objects in solid draw mode - :type: typing.Union[typing.List['UserSolidLight'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'UserSolidLight'], typing.List['UserSolidLight'], 'bpy_prop_collection'] ''' texture_collection_rate: int = None @@ -29105,7 +30197,7 @@ class PreferencesView(bpy_struct): ''' filebrowser_display_type: typing.Union[int, str] = None - ''' Default location where the File Editor will be displayed in * SCREEN Full Screen, Open the temporary editor in a maximized screen. * WINDOW New Window, Open the temporary editor in a new window. + ''' Default location where the File Editor will be displayed in * SCREEN Maximized Area, Open the temporary editor in a maximized screen. * WINDOW New Window, Open the temporary editor in a new window. :type: typing.Union[int, str] ''' @@ -29117,7 +30209,7 @@ class PreferencesView(bpy_struct): ''' font_path_ui_mono: str = None - ''' Path to interface mono-space Font + ''' Path to interface monospaced Font :type: str ''' @@ -29129,7 +30221,7 @@ class PreferencesView(bpy_struct): ''' header_align: typing.Union[int, str] = None - ''' Default header position for new space-types * NONE Default, Keep existing header alignment. * TOP Top, Top aligned on load. * BOTTOM Bottom, Bottom align on load (except for property editors). + ''' Default header position for new space-types * NONE Keep Existing, Keep existing header alignment. * TOP Top, Top aligned on load. * BOTTOM Bottom, Bottom align on load (except for property editors). :type: typing.Union[int, str] ''' @@ -29213,7 +30305,7 @@ class PreferencesView(bpy_struct): ''' render_display_type: typing.Union[int, str] = None - ''' Default location where rendered images will be displayed in * NONE Keep User Interface, Images are rendered without changing the user interface. * SCREEN Full Screen, Images are rendered in a maximized Image Editor. * AREA Image Editor, Images are rendered in an Image Editor. * WINDOW New Window, Images are rendered in a new window. + ''' Default location where rendered images will be displayed in * NONE Keep User Interface, Images are rendered without changing the user interface. * SCREEN Maximized Area, Images are rendered in a maximized Image Editor. * AREA Image Editor, Images are rendered in an Image Editor. * WINDOW New Window, Images are rendered in a new window. :type: typing.Union[int, str] ''' @@ -29255,7 +30347,7 @@ class PreferencesView(bpy_struct): ''' show_navigate_ui: bool = None - ''' Show navigation controls in 2D & 3D views which do not have scroll bars + ''' Show navigation controls in 2D and 3D views which do not have scroll bars :type: bool ''' @@ -29339,7 +30431,7 @@ class PreferencesView(bpy_struct): ''' ui_line_width: typing.Union[int, str] = None - ''' Changes the thickness of widget outlines, lines and points in the interface, for high DPI displays * THIN Thin, Thinner lines than the default. * AUTO Auto, Automatic line width based on UI scale. * THICK Thick, Thicker lines than the default. + ''' Changes the thickness of widget outlines, lines and dots in the interface * THIN Thin, Thinner lines than the default. * AUTO Default, Automatic line width based on UI scale. * THICK Thick, Thicker lines than the default. :type: typing.Union[int, str] ''' @@ -29569,7 +30661,7 @@ class Property(bpy_struct): ''' subtype: typing.Union[int, str] = None - ''' Semantic interpretation of the property + ''' Semantic interpretation of the property * NONE None. * FILEPATH File Path. * DIRPATH Directory Path. * FILENAME File Name. * BYTESTRING Byte String. * PASSWORD Password, A string that is displayed hidden ('\*\*\*\*\*\*\*\*'). * PIXEL Pixel. * UNSIGNED Unsigned. * PERCENTAGE Percentage. * FACTOR Factor. * ANGLE Angle. * TIME Time. * DISTANCE Distance. * DISTANCE_CAMERA Camera Distance. * POWER Power. * TEMPERATURE Temperature. * COLOR Color. * TRANSLATION Translation. * DIRECTION Direction. * VELOCITY Velocity. * ACCELERATION Acceleration. * MATRIX Matrix. * EULER Euler Angles. * QUATERNION Quaternion. * AXISANGLE Axis-Angle. * XYZ XYZ. * XYZ_LENGTH XYZ Length. * COLOR_GAMMA Color. * COORDS Coordinates. * LAYER Layer. * LAYER_MEMBER Layer Member. :type: typing.Union[int, str] ''' @@ -29656,11 +30748,12 @@ class PropertyGroupItem(bpy_struct): ''' Property that stores arbitrary, user defined properties ''' - collection: typing.Union[typing.List['PropertyGroup'], + collection: typing.Union[typing.Dict[str, 'PropertyGroup'], typing. + List['PropertyGroup'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['PropertyGroup'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'PropertyGroup'], typing.List['PropertyGroup'], 'bpy_prop_collection'] ''' double: float = None @@ -29699,11 +30792,12 @@ class PropertyGroupItem(bpy_struct): :type: 'ID' ''' - idp_array: typing.Union[typing.List['PropertyGroup'], + idp_array: typing.Union[typing.Dict[str, 'PropertyGroup'], typing. + List['PropertyGroup'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['PropertyGroup'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'PropertyGroup'], typing.List['PropertyGroup'], 'bpy_prop_collection'] ''' int: int = None @@ -30169,7 +31263,7 @@ def begin_result(self, h: int, layer: str = "", view: str = "") -> 'RenderResult': - ''' Create render result to write linear floating point render layers and passes + ''' Create render result to write linear floating-point render layers and passes :param x: X :type x: int @@ -30384,7 +31478,7 @@ def support_display_space_shader(self, scene: 'Scene') -> bool: pass def get_preview_pixel_size(self, scene: 'Scene') -> int: - ''' Free Blender side memory of render engine + ''' Get the pixel size that should be used for preview rendering :param scene: :type scene: 'Scene' @@ -30394,7 +31488,7 @@ def get_preview_pixel_size(self, scene: 'Scene') -> int: pass def free_blender_memory(self): - ''' free_blender_memory + ''' Free Blender side memory of render engine ''' pass @@ -30454,11 +31548,12 @@ class RenderLayer(bpy_struct): :type: str ''' - passes: typing.Union[typing.List['RenderPass'], 'bpy_prop_collection', + passes: typing.Union[typing.Dict[str, 'RenderPass'], typing. + List['RenderPass'], 'bpy_prop_collection', 'RenderPasses'] = None ''' - :type: typing.Union[typing.List['RenderPass'], 'bpy_prop_collection', 'RenderPasses'] + :type: typing.Union[typing.Dict[str, 'RenderPass'], typing.List['RenderPass'], 'bpy_prop_collection', 'RenderPasses'] ''' use_all_z: bool = None @@ -30474,7 +31569,7 @@ class RenderLayer(bpy_struct): ''' use_edge_enhance: bool = None - ''' Render Edge-enhance in this Layer (only works for Solid faces) + ''' Render edge-enhance in this layer (only works for solid faces) :type: bool ''' @@ -30552,7 +31647,7 @@ class RenderLayer(bpy_struct): ''' use_pass_mist: bool = None - ''' Deliver mist factor pass (0.0-1.0) + ''' Deliver mist factor pass (0.0 to 1.0) :type: bool ''' @@ -30660,7 +31755,7 @@ class RenderLayer(bpy_struct): ''' use_ztransp: bool = None - ''' Render Z-Transparent faces in this Layer (on top of Solid and Halos) + ''' Render Z-transparent faces in this layer (on top of Solid and Halos) :type: bool ''' @@ -30813,11 +31908,11 @@ class RenderResult(bpy_struct): ''' Result of rendering, including all layers and passes ''' - layers: typing.Union[typing. + layers: typing.Union[typing.Dict[str, 'RenderLayer'], typing. List['RenderLayer'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['RenderLayer'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'RenderLayer'], typing.List['RenderLayer'], 'bpy_prop_collection'] ''' resolution_x: int = None @@ -30832,11 +31927,11 @@ class RenderResult(bpy_struct): :type: int ''' - views: typing.Union[typing. + views: typing.Union[typing.Dict[str, 'RenderView'], typing. List['RenderView'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['RenderView'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'RenderView'], typing.List['RenderView'], 'bpy_prop_collection'] ''' def load_from_file(self, filename: str): @@ -30914,7 +32009,7 @@ class RenderSettings(bpy_struct): ''' bake_user_scale: float = None - ''' Instead of automatically normalizing to 0..1, apply a user scale to the derivative map + ''' Instead of automatically normalizing to the range 0 to 1, apply a user scale to the derivative map :type: float ''' @@ -31183,6 +32278,12 @@ class RenderSettings(bpy_struct): :type: int ''' + simplify_volumes: float = None + ''' Resolution percentage of volume objects in viewport + + :type: float + ''' + stamp_background: typing.List[float] = None ''' Color to use behind stamp text @@ -31207,21 +32308,22 @@ class RenderSettings(bpy_struct): :type: str ''' - stereo_views: typing.Union[typing.List['SceneRenderView'], + stereo_views: typing.Union[typing.Dict[str, 'SceneRenderView'], typing. + List['SceneRenderView'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['SceneRenderView'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'SceneRenderView'], typing.List['SceneRenderView'], 'bpy_prop_collection'] ''' threads: int = None - ''' Number of CPU threads to use simultaneously while rendering (for multi-core/CPU systems) + ''' Maximum number of CPU cores to use simultaneously while rendering (for multi-core/CPU systems) :type: int ''' threads_mode: typing.Union[int, str] = None - ''' Determine the amount of render threads used * AUTO Auto-detect, Automatically determine the number of threads, based on CPUs. * FIXED Fixed, Manually determine the number of threads. + ''' Determine the amount of render threads used * AUTO Auto-Detect, Automatically determine the number of threads, based on CPUs. * FIXED Fixed, Manually determine the number of threads. :type: typing.Union[int, str] ''' @@ -31484,11 +32586,12 @@ class RenderSettings(bpy_struct): :type: bool ''' - views: typing.Union[typing.List['SceneRenderView'], 'bpy_prop_collection', + views: typing.Union[typing.Dict[str, 'SceneRenderView'], typing. + List['SceneRenderView'], 'bpy_prop_collection', 'RenderViews'] = None ''' - :type: typing.Union[typing.List['SceneRenderView'], 'bpy_prop_collection', 'RenderViews'] + :type: typing.Union[typing.Dict[str, 'SceneRenderView'], typing.List['SceneRenderView'], 'bpy_prop_collection', 'RenderViews'] ''' views_format: typing.Union[int, str] = None @@ -32070,7 +33173,7 @@ class RigidBodyObject(bpy_struct): ''' collision_shape: typing.Union[int, str] = None - ''' Collision Shape of object in Rigid Body Simulations * BOX Box, Box-like shapes (i.e. cubes), including planes (i.e. ground planes). * SPHERE Sphere. * CAPSULE Capsule. * CYLINDER Cylinder. * CONE Cone. * CONVEX_HULL Convex Hull, A mesh-like surface encompassing (i.e. shrinkwrap over) all vertices (best results with fewer vertices). * MESH Mesh, Mesh consisting of triangles only, allowing for more detailed interactions than convex hulls. + ''' Collision Shape of object in Rigid Body Simulations * BOX Box, Box-like shapes (i.e. cubes), including planes (i.e. ground planes). * SPHERE Sphere. * CAPSULE Capsule. * CYLINDER Cylinder. * CONE Cone. * CONVEX_HULL Convex Hull, A mesh-like surface encompassing (i.e. shrinkwrap over) all vertices (best results with fewer vertices). * MESH Mesh, Mesh consisting of triangles only, allowing for more detailed interactions than convex hulls. * COMPOUND Compound Parent, Combines all of its direct rigid body children into one rigid object. :type: typing.Union[int, str] ''' @@ -32221,8 +33324,8 @@ class RigidBodyWorld(bpy_struct): :type: int ''' - steps_per_second: int = None - ''' Number of simulation steps taken per second (higher values are more accurate but slower) + substeps_per_frame: int = None + ''' Number of simulation steps taken per frame (higher values are more accurate but slower) :type: int ''' @@ -32393,7 +33496,7 @@ class SPHFluidSettings(bpy_struct): ''' yield_ratio: float = None - ''' How much the spring has to be stretched/compressed in order to change it's rest length + ''' How much the spring has to be stretched/compressed in order to change its rest length :type: float ''' @@ -32421,7 +33524,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class SceneDisplay(bpy_struct): - ''' Scene display settings for 3d viewport + ''' Scene display settings for 3D viewport ''' light_direction: typing.List[float] = None @@ -32501,7 +33604,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class SceneEEVEE(bpy_struct): - ''' Scene display settings for 3d viewport + ''' Scene display settings for 3D viewport ''' bloom_clamp: float = None @@ -32660,6 +33763,12 @@ class SceneEEVEE(bpy_struct): :type: int ''' + motion_blur_position: typing.Union[int, str] = None + ''' Offset for the shutter's time interval, allows to change the motion blur trails * START Start on Frame, The shutter opens at the current frame. * CENTER Center on Frame, The shutter is open during the current frame. * END End on Frame, The shutter closes at the current frame. + + :type: typing.Union[int, str] + ''' + motion_blur_shutter: float = None ''' Time taken in frames between shutter open and close @@ -32781,7 +33890,7 @@ class SceneEEVEE(bpy_struct): ''' use_shadow_high_bitdepth: bool = None - ''' Use 32bit shadows + ''' Use 32-bit shadows :type: bool ''' @@ -33150,11 +34259,12 @@ class Sequence(bpy_struct): :type: bool ''' - modifiers: typing.Union[typing.List['SequenceModifier'], - 'bpy_prop_collection', 'SequenceModifiers'] = None + modifiers: typing.Union[typing.Dict[str, 'SequenceModifier'], typing. + List['SequenceModifier'], 'bpy_prop_collection', + 'SequenceModifiers'] = None ''' Modifiers affecting this strip - :type: typing.Union[typing.List['SequenceModifier'], 'bpy_prop_collection', 'SequenceModifiers'] + :type: typing.Union[typing.Dict[str, 'SequenceModifier'], typing.List['SequenceModifier'], 'bpy_prop_collection', 'SequenceModifiers'] ''' mute: bool = None @@ -33212,7 +34322,7 @@ class Sequence(bpy_struct): ''' use_cache_preprocessed: bool = None - ''' Cache pre-processed images, for faster tweaking of effects at the cost of memory usage + ''' Cache preprocessed images, for faster tweaking of effects at the cost of memory usage :type: bool ''' @@ -33292,7 +34402,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class SequenceColorBalanceData(bpy_struct): - ''' Color balance parameters for a sequence strip and it's modifiers + ''' Color balance parameters for a sequence strip and its modifiers ''' gain: typing.List[float] = None @@ -33413,11 +34523,11 @@ class SequenceEditor(bpy_struct): :type: 'Sequence' ''' - meta_stack: typing.Union[typing. + meta_stack: typing.Union[typing.Dict[str, 'Sequence'], typing. List['Sequence'], 'bpy_prop_collection'] = None ''' Meta strip stack, last is currently edited meta strip - :type: typing.Union[typing.List['Sequence'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Sequence'], typing.List['Sequence'], 'bpy_prop_collection'] ''' overlay_frame: int = None @@ -33438,24 +34548,19 @@ class SequenceEditor(bpy_struct): :type: typing.Union[int, str] ''' - recycle_max_cost: float = None - ''' Only frames with cost lower than this value will be recycled - - :type: float - ''' - - sequences: typing.Union[typing.List['Sequence'], 'bpy_prop_collection', - 'Sequences'] = None + sequences: typing.Union[typing.Dict[str, 'Sequence'], typing. + List['Sequence'], 'bpy_prop_collection', + 'SequencesTopLevel'] = None ''' Top-level strips only - :type: typing.Union[typing.List['Sequence'], 'bpy_prop_collection', 'Sequences'] + :type: typing.Union[typing.Dict[str, 'Sequence'], typing.List['Sequence'], 'bpy_prop_collection', 'SequencesTopLevel'] ''' - sequences_all: typing.Union[typing. + sequences_all: typing.Union[typing.Dict[str, 'Sequence'], typing. List['Sequence'], 'bpy_prop_collection'] = None ''' All strips, recursively including those inside metastrips - :type: typing.Union[typing.List['Sequence'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Sequence'], typing.List['Sequence'], 'bpy_prop_collection'] ''' show_cache: bool = None @@ -33882,184 +34987,399 @@ class SequenceTransform(bpy_struct): ''' offset_x: int = None - ''' Amount to move the input on the X axis within its boundaries + ''' Move along X axis :type: int ''' offset_y: int = None - ''' Amount to move the input on the Y axis within its boundaries + ''' Move along Y axis :type: int ''' - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - + rotation: float = None + ''' Rotate around image center -class Sequences(bpy_struct): - ''' Collection of Sequences + :type: float ''' - def new_clip(self, name: str, clip: 'MovieClip', channel: int, - frame_start: int) -> 'Sequence': - ''' Add a new movie clip sequence - - :param name: Name for the new sequence - :type name: str - :param clip: Movie clip to add - :type clip: 'MovieClip' - :param channel: Channel, The channel for the new sequence - :type channel: int - :param frame_start: The start frame for the new sequence - :type frame_start: int - :rtype: 'Sequence' - :return: New Sequence - ''' - pass - - def new_mask(self, name: str, mask: 'Mask', channel: int, - frame_start: int) -> 'Sequence': - ''' Add a new mask sequence - - :param name: Name for the new sequence - :type name: str - :param mask: Mask to add - :type mask: 'Mask' - :param channel: Channel, The channel for the new sequence - :type channel: int - :param frame_start: The start frame for the new sequence - :type frame_start: int - :rtype: 'Sequence' - :return: New Sequence - ''' - pass - - def new_scene(self, name: str, scene: 'Scene', channel: int, - frame_start: int) -> 'Sequence': - ''' Add a new scene sequence - - :param name: Name for the new sequence - :type name: str - :param scene: Scene to add - :type scene: 'Scene' - :param channel: Channel, The channel for the new sequence - :type channel: int - :param frame_start: The start frame for the new sequence - :type frame_start: int - :rtype: 'Sequence' - :return: New Sequence - ''' - pass - - def new_image(self, name: str, filepath: str, channel: int, - frame_start: int) -> 'Sequence': - ''' Add a new image sequence - - :param name: Name for the new sequence - :type name: str - :param filepath: Filepath to image - :type filepath: str - :param channel: Channel, The channel for the new sequence - :type channel: int - :param frame_start: The start frame for the new sequence - :type frame_start: int - :rtype: 'Sequence' - :return: New Sequence - ''' - pass - - def new_movie(self, name: str, filepath: str, channel: int, - frame_start: int) -> 'Sequence': - ''' Add a new movie sequence - - :param name: Name for the new sequence - :type name: str - :param filepath: Filepath to movie - :type filepath: str - :param channel: Channel, The channel for the new sequence - :type channel: int - :param frame_start: The start frame for the new sequence - :type frame_start: int - :rtype: 'Sequence' - :return: New Sequence - ''' - pass - - def new_sound(self, name: str, filepath: str, channel: int, - frame_start: int) -> 'Sequence': - ''' Add a new sound sequence - - :param name: Name for the new sequence - :type name: str - :param filepath: Filepath to movie - :type filepath: str - :param channel: Channel, The channel for the new sequence - :type channel: int - :param frame_start: The start frame for the new sequence - :type frame_start: int - :rtype: 'Sequence' - :return: New Sequence - ''' - pass - - def new_effect(self, - name: str, - type: typing.Union[int, str], - channel: int, - frame_start: int, - frame_end: int = 0, - seq1: 'Sequence' = None, - seq2: 'Sequence' = None, - seq3: 'Sequence' = None) -> 'Sequence': - ''' Add a new effect sequence + scale_x: float = None + ''' Scale along X axis - :param name: Name for the new sequence - :type name: str - :param type: Type, type for the new sequence - :type type: typing.Union[int, str] - :param channel: Channel, The channel for the new sequence - :type channel: int - :param frame_start: The start frame for the new sequence - :type frame_start: int - :param frame_end: The end frame for the new sequence - :type frame_end: int - :param seq1: Sequence 1 for effect - :type seq1: 'Sequence' - :param seq2: Sequence 2 for effect - :type seq2: 'Sequence' - :param seq3: Sequence 3 for effect - :type seq3: 'Sequence' - :rtype: 'Sequence' - :return: New Sequence - ''' - pass + :type: float + ''' - def remove(self, sequence: 'Sequence'): - ''' Remove a Sequence + scale_y: float = None + ''' Scale along Y axis - :param sequence: Sequence to remove - :type sequence: 'Sequence' - ''' - pass + :type: float + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class SequencerToolSettings(bpy_struct): + fit_method: typing.Union[int, str] = None + ''' Scale fit method * FIT Scale to Fit, Scale image to fit within the canvas. * FILL Scale to Fill, Scale image to completely fill the canvas. * STRETCH Stretch to Fill, Stretch image to fill the canvas. * ORIGINAL Use Original Size, Keep image at its original size. + + :type: typing.Union[int, str] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class SequencesMeta(bpy_struct): + ''' Collection of Sequences + ''' + + def new_clip(self, name: str, clip: 'MovieClip', channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new movie clip sequence + + :param name: Name for the new sequence + :type name: str + :param clip: Movie clip to add + :type clip: 'MovieClip' + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_mask(self, name: str, mask: 'Mask', channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new mask sequence + + :param name: Name for the new sequence + :type name: str + :param mask: Mask to add + :type mask: 'Mask' + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_scene(self, name: str, scene: 'Scene', channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new scene sequence + + :param name: Name for the new sequence + :type name: str + :param scene: Scene to add + :type scene: 'Scene' + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_image(self, name: str, filepath: str, channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new image sequence + + :param name: Name for the new sequence + :type name: str + :param filepath: Filepath to image + :type filepath: str + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_movie(self, name: str, filepath: str, channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new movie sequence + + :param name: Name for the new sequence + :type name: str + :param filepath: Filepath to movie + :type filepath: str + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_sound(self, name: str, filepath: str, channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new sound sequence + + :param name: Name for the new sequence + :type name: str + :param filepath: Filepath to movie + :type filepath: str + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_effect(self, + name: str, + type: typing.Union[int, str], + channel: int, + frame_start: int, + frame_end: int = 0, + seq1: 'Sequence' = None, + seq2: 'Sequence' = None, + seq3: 'Sequence' = None) -> 'Sequence': + ''' Add a new effect sequence + + :param name: Name for the new sequence + :type name: str + :param type: Type, type for the new sequence + :type type: typing.Union[int, str] + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :param frame_end: The end frame for the new sequence + :type frame_end: int + :param seq1: Sequence 1 for effect + :type seq1: 'Sequence' + :param seq2: Sequence 2 for effect + :type seq2: 'Sequence' + :param seq3: Sequence 3 for effect + :type seq3: 'Sequence' + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def remove(self, sequence: 'Sequence'): + ''' Remove a Sequence + + :param sequence: Sequence to remove + :type sequence: 'Sequence' + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class SequencesTopLevel(bpy_struct): + ''' Collection of Sequences + ''' + + def new_clip(self, name: str, clip: 'MovieClip', channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new movie clip sequence + + :param name: Name for the new sequence + :type name: str + :param clip: Movie clip to add + :type clip: 'MovieClip' + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_mask(self, name: str, mask: 'Mask', channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new mask sequence + + :param name: Name for the new sequence + :type name: str + :param mask: Mask to add + :type mask: 'Mask' + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_scene(self, name: str, scene: 'Scene', channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new scene sequence + + :param name: Name for the new sequence + :type name: str + :param scene: Scene to add + :type scene: 'Scene' + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_image(self, name: str, filepath: str, channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new image sequence + + :param name: Name for the new sequence + :type name: str + :param filepath: Filepath to image + :type filepath: str + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_movie(self, name: str, filepath: str, channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new movie sequence + + :param name: Name for the new sequence + :type name: str + :param filepath: Filepath to movie + :type filepath: str + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_sound(self, name: str, filepath: str, channel: int, + frame_start: int) -> 'Sequence': + ''' Add a new sound sequence + + :param name: Name for the new sequence + :type name: str + :param filepath: Filepath to movie + :type filepath: str + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def new_effect(self, + name: str, + type: typing.Union[int, str], + channel: int, + frame_start: int, + frame_end: int = 0, + seq1: 'Sequence' = None, + seq2: 'Sequence' = None, + seq3: 'Sequence' = None) -> 'Sequence': + ''' Add a new effect sequence + + :param name: Name for the new sequence + :type name: str + :param type: Type, type for the new sequence + :type type: typing.Union[int, str] + :param channel: Channel, The channel for the new sequence + :type channel: int + :param frame_start: The start frame for the new sequence + :type frame_start: int + :param frame_end: The end frame for the new sequence + :type frame_end: int + :param seq1: Sequence 1 for effect + :type seq1: 'Sequence' + :param seq2: Sequence 2 for effect + :type seq2: 'Sequence' + :param seq3: Sequence 3 for effect + :type seq3: 'Sequence' + :rtype: 'Sequence' + :return: New Sequence + ''' + pass + + def remove(self, sequence: 'Sequence'): + ''' Remove a Sequence + + :param sequence: Sequence to remove + :type sequence: 'Sequence' + ''' + pass @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': @@ -34149,11 +35469,11 @@ class ShapeKey(bpy_struct): ''' Shape key in a shape keys data-block ''' - data: typing.Union[typing. + data: typing.Union[typing.Dict[str, 'UnknownType'], typing. List['UnknownType'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['UnknownType'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'UnknownType'], typing.List['UnknownType'], 'bpy_prop_collection'] ''' frame: float = None @@ -34609,7 +35929,7 @@ class SoftBodySettings(bpy_struct): ''' use_estimate_matrix: bool = None - ''' Estimate matrix... split to COM, ROT, SCALE + ''' Store the estimated transforms in the soft body settings :type: bool ''' @@ -34750,6 +36070,38 @@ def draw_handler_remove(self, handler: 'bpy.context.object', pass +class SpaceImageOverlay(bpy_struct): + ''' Settings for display of overlays in the UV/Image editor + ''' + + show_overlays: bool = None + ''' Display overlays like UV Maps and Metadata + + :type: bool + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class SpaceNodeEditorPath(bpy_struct): ''' Get the node tree path as a string ''' @@ -34864,12 +36216,6 @@ class SpaceUVEditor(bpy_struct): :type: bool ''' - show_smooth_edges: bool = None - ''' Display UV edges anti-aliased - - :type: bool - ''' - show_stretch: bool = None ''' Display faces colored according to the difference in shape between UVs and their 3D coordinates (blue for low distortion, red for high distortion) @@ -34883,7 +36229,7 @@ class SpaceUVEditor(bpy_struct): ''' sticky_select_mode: typing.Union[int, str] = None - ''' Automatically select also UVs sharing the same vertex as the ones being selected * DISABLED Disabled, Sticky vertex selection disabled. * SHARED_LOCATION Shared Location, Select UVs that are at the same location and share a mesh vertex. * SHARED_VERTEX Shared Vertex, Select UVs that share mesh vertex, irrespective if they are in the same location. + ''' Method for extending UV vertex selection * DISABLED Disabled, Sticky vertex selection disabled. * SHARED_LOCATION Shared Location, Select UVs that are at the same location and share a mesh vertex. * SHARED_VERTEX Shared Vertex, Select UVs that share a mesh vertex, whether or not they are at the same location. :type: typing.Union[int, str] ''' @@ -34932,12 +36278,13 @@ class Spline(bpy_struct): ''' Element of a curve, either NURBS, Bezier or Polyline or a character with text objects ''' - bezier_points: typing.Union[typing.List['BezierSplinePoint'], + bezier_points: typing.Union[typing.Dict[str, 'BezierSplinePoint'], typing. + List['BezierSplinePoint'], 'bpy_prop_collection', 'SplineBezierPoints'] = None ''' Collection of points for Bezier curves only - :type: typing.Union[typing.List['BezierSplinePoint'], 'bpy_prop_collection', 'SplineBezierPoints'] + :type: typing.Union[typing.Dict[str, 'BezierSplinePoint'], typing.List['BezierSplinePoint'], 'bpy_prop_collection', 'SplineBezierPoints'] ''' character_index: int = None @@ -34982,11 +36329,12 @@ class Spline(bpy_struct): :type: int ''' - points: typing.Union[typing.List['SplinePoint'], 'bpy_prop_collection', + points: typing.Union[typing.Dict[str, 'SplinePoint'], typing. + List['SplinePoint'], 'bpy_prop_collection', 'SplinePoints'] = None ''' Collection of points that make up this poly or nurbs spline - :type: typing.Union[typing.List['SplinePoint'], 'bpy_prop_collection', 'SplinePoints'] + :type: typing.Union[typing.Dict[str, 'SplinePoint'], typing.List['SplinePoint'], 'bpy_prop_collection', 'SplinePoints'] ''' radius_interpolation: typing.Union[int, str] = None @@ -35258,7 +36606,7 @@ class Stereo3dDisplay(bpy_struct): ''' use_sidebyside_crosseyed: bool = None - ''' Right eye should see left image and vice-versa + ''' Right eye should see left image and vice versa :type: bool ''' @@ -35314,7 +36662,7 @@ class Stereo3dFormat(bpy_struct): ''' use_sidebyside_crosseyed: bool = None - ''' Right eye should see left image and vice-versa + ''' Right eye should see left image and vice versa :type: bool ''' @@ -35347,6 +36695,38 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class StringAttributeValue(bpy_struct): + ''' String value in geometry attribute + ''' + + value: str = None + ''' + + :type: str + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class Struct(bpy_struct): ''' RNA structure definition ''' @@ -35363,11 +36743,11 @@ class Struct(bpy_struct): :type: str ''' - functions: typing.Union[typing. + functions: typing.Union[typing.Dict[str, 'Function'], typing. List['Function'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['Function'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Function'], typing.List['Function'], 'bpy_prop_collection'] ''' identifier: str = None @@ -35394,18 +36774,19 @@ class Struct(bpy_struct): :type: 'Struct' ''' - properties: typing.Union[typing. + properties: typing.Union[typing.Dict[str, 'Property'], typing. List['Property'], 'bpy_prop_collection'] = None ''' Properties in the struct - :type: typing.Union[typing.List['Property'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Property'], typing.List['Property'], 'bpy_prop_collection'] ''' - property_tags: typing.Union[typing.List['EnumPropertyItem'], + property_tags: typing.Union[typing.Dict[str, 'EnumPropertyItem'], typing. + List['EnumPropertyItem'], 'bpy_prop_collection'] = None ''' Tags that properties can use to influence behavior - :type: typing.Union[typing.List['EnumPropertyItem'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'EnumPropertyItem'], typing.List['EnumPropertyItem'], 'bpy_prop_collection'] ''' translation_context: str = None @@ -35488,11 +36869,12 @@ class StudioLight(bpy_struct): :type: str ''' - solid_lights: typing.Union[typing.List['UserSolidLight'], + solid_lights: typing.Union[typing.Dict[str, 'UserSolidLight'], typing. + List['UserSolidLight'], 'bpy_prop_collection'] = None ''' Lights user to display objects in solid draw mode - :type: typing.Union[typing.List['UserSolidLight'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'UserSolidLight'], typing.List['UserSolidLight'], 'bpy_prop_collection'] ''' spherical_harmonics_coefficients: typing.List[float] = None @@ -35949,11 +37331,12 @@ class Theme(bpy_struct): ''' Theme settings defining draw style and colors in the user interface ''' - bone_color_sets: typing.Union[typing.List['ThemeBoneColorSet'], - 'bpy_prop_collection'] = None + bone_color_sets: typing.Union[ + typing.Dict[str, 'ThemeBoneColorSet'], typing. + List['ThemeBoneColorSet'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['ThemeBoneColorSet'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ThemeBoneColorSet'], typing.List['ThemeBoneColorSet'], 'bpy_prop_collection'] ''' clip_editor: 'ThemeClipEditor' = None @@ -35962,6 +37345,14 @@ class Theme(bpy_struct): :type: 'ThemeClipEditor' ''' + collection_color: typing.Union[ + typing.Dict[str, 'ThemeCollectionColor'], typing. + List['ThemeCollectionColor'], 'bpy_prop_collection'] = None + ''' + + :type: typing.Union[typing.Dict[str, 'ThemeCollectionColor'], typing.List['ThemeCollectionColor'], 'bpy_prop_collection'] + ''' + console: 'ThemeConsole' = None ''' @@ -36366,6 +37757,38 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class ThemeCollectionColor(bpy_struct): + ''' Theme settings for collection colors + ''' + + color: typing.List[float] = None + ''' Collection Color Tag + + :type: typing.List[float] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class ThemeConsole(bpy_struct): ''' Theme settings for the Console ''' @@ -36662,6 +38085,12 @@ class ThemeFileBrowser(bpy_struct): ''' Theme settings for the File Browser ''' + row_alternate: typing.List[float] = None + ''' Overlay color on every other row + + :type: typing.List[float] + ''' + selected_file: typing.List[float] = None ''' @@ -36707,7 +38136,7 @@ class ThemeFontStyle(bpy_struct): ''' points: int = None - ''' + ''' Font size in points :type: int ''' @@ -36980,6 +38409,12 @@ class ThemeGraphEditor(bpy_struct): :type: typing.List[float] ''' + vertex_active: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + vertex_bevel: typing.List[float] = None ''' @@ -37096,6 +38531,12 @@ class ThemeImageEditor(bpy_struct): :type: typing.List[float] ''' + grid: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + handle_align: typing.List[float] = None ''' @@ -37234,19 +38675,19 @@ class ThemeImageEditor(bpy_struct): :type: 'ThemeSpaceGeneric' ''' - uv_others: typing.List[float] = None + uv_shadow: typing.List[float] = None ''' :type: typing.List[float] ''' - uv_shadow: typing.List[float] = None + vertex: typing.List[float] = None ''' :type: typing.List[float] ''' - vertex: typing.List[float] = None + vertex_active: typing.List[float] = None ''' :type: typing.List[float] @@ -37600,6 +39041,12 @@ class ThemeNodeEditor(bpy_struct): ''' Theme settings for the Node Editor ''' + attribute_node: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + color_node: typing.List[float] = None ''' @@ -37630,6 +39077,18 @@ class ThemeNodeEditor(bpy_struct): :type: typing.List[float] ''' + geometry_node: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + + grid: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + grid_levels: int = None ''' Amount of grid lines displayed in the background @@ -37938,6 +39397,18 @@ class ThemeProperties(bpy_struct): ''' Theme settings for the Properties ''' + active_modifier: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + + match: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + space: 'ThemeSpaceGeneric' = None ''' Settings for space @@ -38072,6 +39543,12 @@ class ThemeSequenceEditor(bpy_struct): :type: typing.List[float] ''' + row_alternate: typing.List[float] = None + ''' Overlay color on every other row + + :type: typing.List[float] + ''' + scene_strip: typing.List[float] = None ''' @@ -39282,7 +40759,7 @@ class ThemeView3D(bpy_struct): ''' object_origin_size: int = None - ''' Diameter in Pixels for Object/Light origin display + ''' Diameter in pixels for object/light origin display :type: int ''' @@ -39342,7 +40819,7 @@ class ThemeView3D(bpy_struct): ''' text_keyframe: typing.List[float] = None - ''' Color for indicating Object keyframes + ''' Color for indicating object keyframes :type: typing.List[float] ''' @@ -39359,6 +40836,12 @@ class ThemeView3D(bpy_struct): :type: typing.List[float] ''' + vertex_active: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + vertex_bevel: typing.List[float] = None ''' @@ -39755,26 +41238,26 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class ToolSettings(bpy_struct): annotation_stroke_placement_image_editor: typing.Union[int, str] = None - ''' * CURSOR 3D Cursor, Draw stroke at 3D cursor location. * VIEW View, Stick stroke to the view . * SURFACE Surface, Stick stroke to surfaces. + ''' * CURSOR 3D Cursor, Draw stroke at 3D cursor location. * VIEW View, Stick stroke to the view. * SURFACE Surface, Stick stroke to surfaces. :type: typing.Union[int, str] ''' annotation_stroke_placement_sequencer_preview: typing.Union[int, str] = None - ''' * CURSOR 3D Cursor, Draw stroke at 3D cursor location. * VIEW View, Stick stroke to the view . * SURFACE Surface, Stick stroke to surfaces. + ''' * CURSOR 3D Cursor, Draw stroke at 3D cursor location. * VIEW View, Stick stroke to the view. * SURFACE Surface, Stick stroke to surfaces. :type: typing.Union[int, str] ''' annotation_stroke_placement_view2d: typing.Union[int, str] = None - ''' * CURSOR 3D Cursor, Draw stroke at 3D cursor location. * VIEW View, Stick stroke to the view . * SURFACE Surface, Stick stroke to surfaces. + ''' * CURSOR 3D Cursor, Draw stroke at 3D cursor location. * VIEW View, Stick stroke to the view. * SURFACE Surface, Stick stroke to surfaces. :type: typing.Union[int, str] ''' annotation_stroke_placement_view3d: typing.Union[int, str] = None - ''' How annotation strokes are orientated in 3D space * CURSOR 3D Cursor, Draw stroke at 3D cursor location. * VIEW View, Stick stroke to the view . * SURFACE Surface, Stick stroke to surfaces. + ''' How annotation strokes are orientated in 3D space * CURSOR 3D Cursor, Draw stroke at 3D cursor location. * VIEW View, Stick stroke to the view. * SURFACE Surface, Stick stroke to surfaces. :type: typing.Union[int, str] ''' @@ -39846,7 +41329,7 @@ class ToolSettings(bpy_struct): ''' gpencil_stroke_snap_mode: typing.Union[int, str] = None - ''' * NONE All points, Snap to all points. * ENDS End points, Snap to first and last points and interpolate. * FIRST First point, Snap to first point. + ''' * NONE All Points, Snap to all points. * ENDS End Points, Snap to first and last points and interpolate. * FIRST First Point, Snap to first point. :type: typing.Union[int, str] ''' @@ -39870,7 +41353,7 @@ class ToolSettings(bpy_struct): ''' keyframe_type: typing.Union[int, str] = None - ''' Type of keyframes to create when inserting keyframes * KEYFRAME Keyframe, Normal keyframe - e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose - e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. + ''' Type of keyframes to create when inserting keyframes * KEYFRAME Keyframe, Normal keyframe, e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose, e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. :type: typing.Union[int, str] ''' @@ -39923,6 +41406,12 @@ class ToolSettings(bpy_struct): :type: 'Sculpt' ''' + sequencer_tool_settings: 'SequencerToolSettings' = None + ''' + + :type: 'SequencerToolSettings' + ''' + show_uv_local_view: bool = None ''' Display only faces with the currently displayed image assigned @@ -39978,7 +41467,13 @@ class ToolSettings(bpy_struct): ''' use_edge_path_live_unwrap: bool = None - ''' Changing edges seam recalculates UV unwrap + ''' Changing edge seams recalculates UV unwrap + + :type: bool + ''' + + use_gpencil_automerge_strokes: bool = None + ''' Join by distance last drawn stroke with previous strokes in the active layer :type: bool ''' @@ -40546,7 +42041,7 @@ class UILayout(bpy_struct): ''' emboss: typing.Union[int, str] = None - ''' * NORMAL Regular, Draw standard button emboss style. * NONE None, Draw only text and icons. * PULLDOWN_MENU Pulldown Menu, Draw pulldown menu style. * RADIAL_MENU Radial Menu, Draw radial menu style. + ''' * NORMAL Regular, Draw standard button emboss style. * NONE None, Draw only text and icons. * PULLDOWN_MENU Pulldown Menu, Draw pulldown menu style. * RADIAL_MENU Radial Menu, Draw radial menu style. * UI_EMBOSS_NONE_OR_STATUS None or Status, Draw with no emboss unless the button has a coloring status like an animation state. :type: typing.Union[int, str] ''' @@ -40576,13 +42071,13 @@ class UILayout(bpy_struct): ''' ui_units_x: float = None - ''' Fixed Size along the X for items in this (sub)layout + ''' Fixed size along the X for items in this (sub)layout :type: float ''' ui_units_y: float = None - ''' Fixed Size along the Y for items in this (sub)layout + ''' Fixed size along the Y for items in this (sub)layout :type: float ''' @@ -40912,6 +42407,8 @@ def prop_with_menu(self, def prop_tabs_enum(self, data: 'AnyType', property: str, + data_highlight: 'AnyType' = None, + property_highlight: str = "", icon_only: bool = False): ''' prop_tabs_enum @@ -40919,6 +42416,10 @@ def prop_tabs_enum(self, :type data: 'AnyType' :param property: Identifier of property in data :type property: str + :param data_highlight: Data from which to take highlight property + :type data_highlight: 'AnyType' + :param property_highlight: Identifier of highlight property in data + :type property_highlight: str :param icon_only: Draw only icons in tabs, no text :type icon_only: bool ''' @@ -41060,13 +42561,18 @@ def operator_menu_hold(self, ''' pass - def operator_enum(self, operator: str, property: str): + def operator_enum(self, + operator: str, + property: str, + icon_only: bool = False): ''' operator_enum :param operator: Identifier of the operator :type operator: str :param property: Identifier of property in operator :type property: str + :param icon_only: Draw only icons in buttons, no text + :type icon_only: bool ''' pass @@ -42045,7 +43551,7 @@ class UIList(bpy_struct): ''' use_filter_invert: bool = None - ''' Invert filtering (show hidden items, and vice-versa) + ''' Invert filtering (show hidden items, and vice versa) :type: bool ''' @@ -42452,6 +43958,12 @@ class UnitSettings(bpy_struct): :type: typing.Union[int, str] ''' + temperature_unit: typing.Union[int, str] = None + ''' Unit that will be used to display temperature values + + :type: typing.Union[int, str] + ''' + time_unit: typing.Union[int, str] = None ''' Unit that will be used to display time values @@ -42512,6 +44024,44 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class UserAssetLibrary(bpy_struct): + ''' Settings to define a reusable library for Asset Browsers to use + ''' + + name: str = None + ''' Identifier (not necessarily unique) for the asset library + + :type: str + ''' + + path: str = None + ''' Path to a directory with .blend files to use as an asset library + + :type: str + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class UserSolidLight(bpy_struct): ''' Light used for Studio lighting in solid draw mode ''' @@ -42972,7 +44522,7 @@ class View3DCursor(bpy_struct): ''' matrix: typing.List[float] = None - ''' Matrix combining loc/rot of the cursor + ''' Matrix combining location and rotation of the cursor :type: typing.List[float] ''' @@ -43039,6 +44589,12 @@ class View3DOverlay(bpy_struct): :type: typing.Union[int, str] ''' + fade_inactive_alpha: float = None + ''' Strength of the fade effect + + :type: float + ''' + gpencil_fade_layer: float = None ''' Fade layer opacity for Grease Pencil layers except the active one @@ -43214,7 +44770,7 @@ class View3DOverlay(bpy_struct): ''' show_face_center: bool = None - ''' Display face center + ''' Display face center when face selection is enabled in solid shading modes :type: bool ''' @@ -43237,6 +44793,12 @@ class View3DOverlay(bpy_struct): :type: bool ''' + show_fade_inactive: bool = None + ''' Fade inactive geometry using the viewport background color + + :type: bool + ''' + show_floor: bool = None ''' Show the ground plane grid @@ -43459,6 +45021,12 @@ class View3DOverlay(bpy_struct): :type: float ''' + wireframe_opacity: float = None + ''' Opacity of the displayed edges (1.0 for opaque) + + :type: float + ''' + wireframe_threshold: float = None ''' Adjust the angle threshold for displaying edges (1.0 for all) @@ -43497,6 +45065,12 @@ class View3DShading(bpy_struct): ''' Settings for shading in the 3D viewport ''' + aov_name: str = None + ''' Name of the active Shader AOV + + :type: str + ''' + background_color: typing.List[float] = None ''' Color for custom background color @@ -43692,6 +45266,12 @@ class View3DShading(bpy_struct): :type: bool ''' + use_studiolight_view_rotation: bool = None + ''' Make the HDR rotation fixed and not follow the camera + + :type: bool + ''' + use_world_space_lighting: bool = None ''' Make the lighting fixed and not follow the camera @@ -43742,12 +45322,31 @@ class ViewLayer(bpy_struct): ''' View layer ''' + active_aov: 'AOV' = None + ''' Active AOV + + :type: 'AOV' + ''' + + active_aov_index: int = None + ''' Index of active aov + + :type: int + ''' + active_layer_collection: 'LayerCollection' = None ''' Active layer collection in this view layer's hierarchy :type: 'LayerCollection' ''' + aovs: typing.Union[typing.Dict[str, 'AOV'], typing. + List['AOV'], 'bpy_prop_collection', 'AOVs'] = None + ''' + + :type: typing.Union[typing.Dict[str, 'AOV'], typing.List['AOV'], 'bpy_prop_collection', 'AOVs'] + ''' + cycles = None ''' Cycles ViewLayer Settings''' @@ -43758,7 +45357,7 @@ class ViewLayer(bpy_struct): ''' eevee: 'ViewLayerEEVEE' = None - ''' View layer settings for EEVEE + ''' View layer settings for Eevee :type: 'ViewLayerEEVEE' ''' @@ -43793,11 +45392,11 @@ class ViewLayer(bpy_struct): :type: str ''' - objects: typing.Union[typing.List['Object'], 'bpy_prop_collection', - 'LayerObjects'] = None + objects: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], + 'bpy_prop_collection', 'LayerObjects'] = None ''' All the objects in this layer - :type: typing.Union[typing.List['Object'], 'bpy_prop_collection', 'LayerObjects'] + :type: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], 'bpy_prop_collection', 'LayerObjects'] ''' pass_alpha_threshold: float = None @@ -43806,6 +45405,12 @@ class ViewLayer(bpy_struct): :type: float ''' + pass_cryptomatte_depth: int = None + ''' Sets how many unique objects can be distinguished per pixel + + :type: int + ''' + samples: int = None ''' Override number of render samples for this view layer, 0 will use the scene setting @@ -43831,7 +45436,7 @@ class ViewLayer(bpy_struct): ''' use_edge_enhance: bool = None - ''' Render Edge-enhance in this Layer (only works for Solid faces) + ''' Render edge-enhance in this layer (only works for solid faces) :type: bool ''' @@ -43860,6 +45465,30 @@ class ViewLayer(bpy_struct): :type: bool ''' + use_pass_cryptomatte_accurate: bool = None + ''' Generate a more accurate cryptomatte pass + + :type: bool + ''' + + use_pass_cryptomatte_asset: bool = None + ''' Render cryptomatte asset pass, for isolating groups of objects with the same parent + + :type: bool + ''' + + use_pass_cryptomatte_material: bool = None + ''' Render cryptomatte material pass, for isolating materials in compositing + + :type: bool + ''' + + use_pass_cryptomatte_object: bool = None + ''' Render cryptomatte object pass, for isolating objects in compositing + + :type: bool + ''' + use_pass_diffuse_color: bool = None ''' Deliver diffuse color pass @@ -43915,7 +45544,7 @@ class ViewLayer(bpy_struct): ''' use_pass_mist: bool = None - ''' Deliver mist factor pass (0.0-1.0) + ''' Deliver mist factor pass (0.0 to 1.0) :type: bool ''' @@ -44023,7 +45652,7 @@ class ViewLayer(bpy_struct): ''' use_ztransp: bool = None - ''' Render Z-Transparent faces in this Layer (on top of Solid and Halos) + ''' Render Z-transparent faces in this layer (on top of Solid and Halos) :type: bool ''' @@ -44064,7 +45693,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class ViewLayerEEVEE(bpy_struct): - ''' View layer settings for EEVEE + ''' View layer settings for Eevee ''' use_pass_bloom: bool = None @@ -44073,18 +45702,56 @@ class ViewLayerEEVEE(bpy_struct): :type: bool ''' - use_pass_volume_scatter: bool = None - ''' Deliver volume scattering pass + use_pass_volume_direct: bool = None + ''' Deliver volume direct light pass :type: bool ''' - use_pass_volume_transmittance: bool = None - ''' Deliver volume transmittance pass + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' - :type: bool + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ViewLayers(bpy_struct): + ''' Collection of render layers ''' + def new(self, name: str) -> 'ViewLayer': + ''' Add a view layer to scene + + :param name: New name for the view layer (not unique) + :type name: str + :rtype: 'ViewLayer' + :return: Newly created view layer + ''' + pass + + def remove(self, layer: 'ViewLayer'): + ''' Remove a view layer + + :param layer: View layer to remove + :type layer: 'ViewLayer' + ''' + pass + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -44107,58 +45774,38 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ViewLayers(bpy_struct): - ''' Collection of render layers +class VolumeDisplay(bpy_struct): + ''' Volume object display settings for 3D viewport ''' - def new(self, name: str) -> 'ViewLayer': - ''' Add a view layer to scene - - :param name: New name for the view layer (not unique) - :type name: str - :rtype: 'ViewLayer' - :return: Newly created view layer - ''' - pass - - def remove(self, layer: 'ViewLayer'): - ''' Remove a view layer + density: float = None + ''' Thickness of volume drawing in the viewport - :param layer: View layer to remove - :type layer: 'ViewLayer' - ''' - pass + :type: float + ''' - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' + interpolation_method: typing.Union[int, str] = None + ''' Interpolation method to use for volumes in solid mode * LINEAR Linear, Good smoothness and speed. * CUBIC Cubic, Smoothed high quality interpolation, but slower. * CLOSEST Closest, No interpolation. - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass + :type: typing.Union[int, str] + ''' - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' + slice_axis: typing.Union[int, str] = None + ''' * AUTO Auto, Adjust slice direction according to the view direction. * X X, Slice along the X axis. * Y Y, Slice along the Y axis. * Z Z, Slice along the Z axis. - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass + :type: typing.Union[int, str] + ''' + slice_depth: float = None + ''' Position of the slice -class VolumeDisplay(bpy_struct): - ''' Volume object display settings for 3d viewport + :type: float ''' - density: float = None - ''' Thickness of volume drawing in the viewport + use_slice: bool = None + ''' Perform a single slice of the domain object - :type: float + :type: bool ''' wireframe_detail: typing.Union[int, str] = None @@ -44206,7 +45853,7 @@ class VolumeGrid(bpy_struct): ''' data_type: typing.Union[int, str] = None - ''' Data type of voxel values * BOOLEAN Boolean, Boolean. * FLOAT Float, Single precision float. * DOUBLE Double, Double precision. * INT Integer, 32 bit integer. * INT64 Integer 64 bit, 64 bit integer. * MASK Mask, No data, boolean mask of active voxels. * STRING String, Text string. * VECTOR_FLOAT Float Vector, 3D float vector. * VECTOR_DOUBLE Double Vector, 3D double vector. * VECTOR_INT Integer Vector, 3D integer vector. * POINTS Points (Unsupported), Points grid, currently unsupported by volume objects. * UNKNOWN Unknown, Unsupported data type. + ''' Data type of voxel values * BOOLEAN Boolean, Boolean. * FLOAT Float, Single precision float. * DOUBLE Double, Double precision. * INT Integer, 32-bit integer. * INT64 Integer 64-bit, 64-bit integer. * MASK Mask, No data, boolean mask of active voxels. * STRING String, Text string. * VECTOR_FLOAT Float Vector, 3D float vector. * VECTOR_DOUBLE Double Vector, 3D double vector. * VECTOR_INT Integer Vector, 3D integer vector. * POINTS Points (Unsupported), Points grid, currently unsupported by volume objects. * UNKNOWN Unknown, Unsupported data type. :type: typing.Union[int, str] ''' @@ -44313,6 +45960,16 @@ def unload(self): ''' pass + def save(self, filepath: str) -> bool: + ''' Save grids and metadata to file + + :param filepath: File path to save to + :type filepath: str + :rtype: bool + :return: True if grid list was successfully loaded + ''' + pass + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -44482,7 +46139,7 @@ class Window(bpy_struct): ''' stereo_3d_display: 'Stereo3dDisplay' = None - ''' Settings for stereo 3d display + ''' Settings for stereo 3D display :type: 'Stereo3dDisplay' ''' @@ -45114,23 +46771,50 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class BoidRuleAverageSpeed(BoidRule, bpy_struct): - level: float = None - ''' How much velocity's z-component is kept constant +class ByteColorAttribute(Attribute, bpy_struct): + ''' Color geometry attribute, with 8-bit precision + ''' - :type: float + data: typing.Union[typing.Dict[str, 'ByteColorAttributeValue'], typing. + List['ByteColorAttributeValue'], + 'bpy_prop_collection'] = None + ''' + + :type: typing.Union[typing.Dict[str, 'ByteColorAttributeValue'], typing.List['ByteColorAttributeValue'], 'bpy_prop_collection'] ''' - speed: float = None - ''' Percentage of maximum speed + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' - :type: float + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class FloatAttribute(Attribute, bpy_struct): + ''' Geometry attribute with floating-point values ''' - wander: float = None - ''' How fast velocity's direction is randomized + data: typing.Union[typing.Dict[str, 'FloatAttributeValue'], typing. + List['FloatAttributeValue'], + 'bpy_prop_collection'] = None + ''' - :type: float + :type: typing.Union[typing.Dict[str, 'FloatAttributeValue'], typing.List['FloatAttributeValue'], 'bpy_prop_collection'] ''' @classmethod @@ -45155,23 +46839,158 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class BoidRuleAvoid(BoidRule, bpy_struct): - fear_factor: float = None - ''' Avoid object if danger from it is above this threshold +class FloatColorAttribute(Attribute, bpy_struct): + ''' Color geometry attribute, with floating-point precision + ''' + + data: typing.Union[typing.Dict[str, 'FloatColorAttributeValue'], typing. + List['FloatColorAttributeValue'], + 'bpy_prop_collection'] = None + ''' + + :type: typing.Union[typing.Dict[str, 'FloatColorAttributeValue'], typing.List['FloatColorAttributeValue'], 'bpy_prop_collection'] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class FloatVectorAttribute(Attribute, bpy_struct): + ''' Vector geometry attribute, with floating-point precision + ''' + + data: typing.Union[typing.Dict[str, 'FloatVectorAttributeValue'], typing. + List['FloatVectorAttributeValue'], + 'bpy_prop_collection'] = None + ''' + + :type: typing.Union[typing.Dict[str, 'FloatVectorAttributeValue'], typing.List['FloatVectorAttributeValue'], 'bpy_prop_collection'] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class IntAttribute(Attribute, bpy_struct): + ''' Integer geometry attribute + ''' + + data: typing.Union[typing.Dict[str, 'IntAttributeValue'], typing. + List['IntAttributeValue'], 'bpy_prop_collection'] = None + ''' + + :type: typing.Union[typing.Dict[str, 'IntAttributeValue'], typing.List['IntAttributeValue'], 'bpy_prop_collection'] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class StringAttribute(Attribute, bpy_struct): + ''' String geometry attribute + ''' + + data: typing.Union[typing.Dict[str, 'StringAttributeValue'], typing. + List['StringAttributeValue'], + 'bpy_prop_collection'] = None + ''' + + :type: typing.Union[typing.Dict[str, 'StringAttributeValue'], typing.List['StringAttributeValue'], 'bpy_prop_collection'] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class BoidRuleAverageSpeed(BoidRule, bpy_struct): + level: float = None + ''' How much velocity's z-component is kept constant :type: float ''' - object: 'Object' = None - ''' Object to avoid + speed: float = None + ''' Percentage of maximum speed - :type: 'Object' + :type: float ''' - use_predict: bool = None - ''' Predict target movement + wander: float = None + ''' How fast velocity's direction is randomized - :type: bool + :type: float ''' @classmethod @@ -45196,21 +47015,21 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class BoidRuleAvoidCollision(BoidRule, bpy_struct): - look_ahead: float = None - ''' Time to look ahead in seconds +class BoidRuleAvoid(BoidRule, bpy_struct): + fear_factor: float = None + ''' Avoid object if danger from it is above this threshold :type: float ''' - use_avoid: bool = None - ''' Avoid collision with other boids + object: 'Object' = None + ''' Object to avoid - :type: bool + :type: 'Object' ''' - use_avoid_collision: bool = None - ''' Avoid collision with deflector objects + use_predict: bool = None + ''' Predict target movement :type: bool ''' @@ -45237,17 +47056,58 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class BoidRuleFight(BoidRule, bpy_struct): - distance: float = None - ''' Attack boids at max this distance +class BoidRuleAvoidCollision(BoidRule, bpy_struct): + look_ahead: float = None + ''' Time to look ahead in seconds :type: float ''' - flee_distance: float = None - ''' Flee to this distance + use_avoid: bool = None + ''' Avoid collision with other boids - :type: float + :type: bool + ''' + + use_avoid_collision: bool = None + ''' Avoid collision with deflector objects + + :type: bool + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class BoidRuleFight(BoidRule, bpy_struct): + distance: float = None + ''' Attack boids at max this distance + + :type: float + ''' + + flee_distance: float = None + ''' Flee to this distance + + :type: float ''' @classmethod @@ -45364,6 +47224,12 @@ class ActionConstraint(Constraint, bpy_struct): :type: 'Action' ''' + eval_time: float = None + ''' Interpolates between Action Start and End frames + + :type: float + ''' + frame_end: int = None ''' Last frame of the Action to use @@ -45418,6 +47284,12 @@ class ActionConstraint(Constraint, bpy_struct): :type: bool ''' + use_eval_time: bool = None + ''' Interpolate between Action Start and End frames, with the Evaluation Time slider instead of the Target object/bone + + :type: bool + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -45444,12 +47316,12 @@ class ArmatureConstraint(Constraint, bpy_struct): ''' Applies transformations done by the Armature modifier ''' - targets: typing.Union[typing. + targets: typing.Union[typing.Dict[str, 'ConstraintTargetBone'], typing. List['ConstraintTargetBone'], 'bpy_prop_collection', 'ArmatureConstraintTargets'] = None ''' Target Bones - :type: typing.Union[typing.List['ConstraintTargetBone'], 'bpy_prop_collection', 'ArmatureConstraintTargets'] + :type: typing.Union[typing.Dict[str, 'ConstraintTargetBone'], typing.List['ConstraintTargetBone'], 'bpy_prop_collection', 'ArmatureConstraintTargets'] ''' use_bone_envelopes: bool = None @@ -45683,7 +47555,7 @@ class CopyLocationConstraint(Constraint, bpy_struct): ''' head_tail: float = None - ''' Target along length of bone: Head=0, Tail=1 + ''' Target along length of bone: Head is 0, Tail is 1 :type: float ''' @@ -45947,7 +47819,7 @@ class CopyTransformsConstraint(Constraint, bpy_struct): ''' head_tail: float = None - ''' Target along length of bone: Head=0, Tail=1 + ''' Target along length of bone: Head is 0, Tail is 1 :type: float ''' @@ -46003,7 +47875,7 @@ class DampedTrackConstraint(Constraint, bpy_struct): ''' head_tail: float = None - ''' Target along length of bone: Head=0, Tail=1 + ''' Target along length of bone: Head is 0, Tail is 1 :type: float ''' @@ -46439,7 +48311,7 @@ class LimitDistanceConstraint(Constraint, bpy_struct): ''' head_tail: float = None - ''' Target along length of bone: Head=0, Tail=1 + ''' Target along length of bone: Head is 0, Tail is 1 :type: float ''' @@ -46573,7 +48445,7 @@ class LimitLocationConstraint(Constraint, bpy_struct): ''' use_transform_limit: bool = None - ''' Transforms are affected by this constraint as well + ''' Transform tools are affected by this constraint as well :type: bool ''' @@ -46659,7 +48531,7 @@ class LimitRotationConstraint(Constraint, bpy_struct): ''' use_transform_limit: bool = None - ''' Transforms are affected by this constraint as well + ''' Transform tools are affected by this constraint as well :type: bool ''' @@ -46763,7 +48635,7 @@ class LimitScaleConstraint(Constraint, bpy_struct): ''' use_transform_limit: bool = None - ''' Transforms are affected by this constraint as well + ''' Transform tools are affected by this constraint as well :type: bool ''' @@ -46795,7 +48667,7 @@ class LockedTrackConstraint(Constraint, bpy_struct): ''' head_tail: float = None - ''' Target along length of bone: Head=0, Tail=1 + ''' Target along length of bone: Head is 0, Tail is 1 :type: float ''' @@ -46957,7 +48829,7 @@ class PivotConstraint(Constraint, bpy_struct): ''' head_tail: float = None - ''' Target along length of bone: Head=0, Tail=1 + ''' Target along length of bone: Head is 0, Tail is 1 :type: float ''' @@ -47031,16 +48903,17 @@ class PythonConstraint(Constraint, bpy_struct): ''' target_count: int = None - ''' Usually only 1-3 are needed + ''' Usually only 1 to 3 are needed :type: int ''' - targets: typing.Union[typing.List['ConstraintTarget'], + targets: typing.Union[typing.Dict[str, 'ConstraintTarget'], typing. + List['ConstraintTarget'], 'bpy_prop_collection'] = None ''' Target Objects - :type: typing.Union[typing.List['ConstraintTarget'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ConstraintTarget'], typing.List['ConstraintTarget'], 'bpy_prop_collection'] ''' text: 'Text' = None @@ -47100,7 +48973,7 @@ class ShrinkwrapConstraint(Constraint, bpy_struct): ''' project_axis_space: typing.Union[int, str] = None - ''' Space for the projection axis * WORLD World Space, The constraint is applied relative to the world coordinate system. * POSE Pose Space, The constraint is applied in Pose Space, the object transformation is ignored. * LOCAL_WITH_PARENT Local With Parent, The constraint is applied relative to the rest pose local coordinate system of the bone, thus including the parent-induced transformation. * LOCAL Local Space, The constraint is applied relative to the local coordinate system of the object. + ''' Space for the projection axis * WORLD World Space, The constraint is applied relative to the world coordinate system. * CUSTOM Custom Space, The constraint is applied in local space of a custom object/bone/vertex group. * POSE Pose Space, The constraint is applied in Pose Space, the object transformation is ignored. * LOCAL_WITH_PARENT Local With Parent, The constraint is applied relative to the rest pose local coordinate system of the bone, thus including the parent-induced transformation. * LOCAL Local Space, The constraint is applied relative to the local coordinate system of the object. :type: typing.Union[int, str] ''' @@ -47320,7 +49193,7 @@ class StretchToConstraint(Constraint, bpy_struct): ''' head_tail: float = None - ''' Target along length of bone: Head=0, Tail=1 + ''' Target along length of bone: Head is 0, Tail is 1 :type: float ''' @@ -47400,7 +49273,7 @@ class TrackToConstraint(Constraint, bpy_struct): ''' head_tail: float = None - ''' Target along length of bone: Head=0, Tail=1 + ''' Target along length of bone: Head is 0, Tail is 1 :type: float ''' @@ -47875,12 +49748,13 @@ class FModifierEnvelope(FModifier, bpy_struct): ''' Scale the values of the modified F-Curve ''' - control_points: typing.Union[typing.List['FModifierEnvelopeControlPoint'], - 'bpy_prop_collection', - 'FModifierEnvelopeControlPoints'] = None + control_points: typing.Union[ + typing.Dict[str, 'FModifierEnvelopeControlPoint'], typing. + List['FModifierEnvelopeControlPoint'], 'bpy_prop_collection', + 'FModifierEnvelopeControlPoints'] = None ''' Control points defining the shape of the envelope - :type: typing.Union[typing.List['FModifierEnvelopeControlPoint'], 'bpy_prop_collection', 'FModifierEnvelopeControlPoints'] + :type: typing.Union[typing.Dict[str, 'FModifierEnvelopeControlPoint'], typing.List['FModifierEnvelopeControlPoint'], 'bpy_prop_collection', 'FModifierEnvelopeControlPoints'] ''' default_max: float = None @@ -47924,7 +49798,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class FModifierFunctionGenerator(FModifier, bpy_struct): - ''' Generate values using a Built-In Function + ''' Generate values using a built-in function ''' amplitude: float = None @@ -48259,6 +50133,44 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class FileAssetSelectParams(FileSelectParams, bpy_struct): + ''' Settings for the file selection in Asset Browser mode + ''' + + asset_category: typing.Union[int, str] = None + ''' Determine which kind of assets to display * SCENES Scenes, Show scenes. * ANIMATIONS Animations, Show animation data. * OBJECTS_AND_COLLECTIONS Objects & Collections, Show objects and collections. * GEOMETRY Geometry, Show meshes, curves, lattice, armatures and metaballs data. * SHADING Shading, Show materials, nodetrees, textures and Freestyle's linestyles. * IMAGES_AND_SOUNDS Images & Sounds, Show images, movie clips, sounds and masks. * ENVIRONMENTS Environment, Show worlds, lights, cameras and speakers. * MISC Miscellaneous, Show other data types. + + :type: typing.Union[int, str] + ''' + + asset_library: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class ArmatureGpencilModifier(GpencilModifier, bpy_struct): ''' Change stroke using armature to deform modifier ''' @@ -48445,6 +50357,12 @@ class ArrayGpencilModifier(GpencilModifier, bpy_struct): :type: bool ''' + use_uniform_random_scale: bool = None + ''' Use the same random seed for each scale axis for a uniform scale + + :type: bool + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -48983,26 +50901,26 @@ class MirrorGpencilModifier(GpencilModifier, bpy_struct): :type: int ''' - use_clip: bool = None - ''' Clip points + use_axis_x: bool = None + ''' Mirror the X axis :type: bool ''' - x_axis: bool = None - ''' Mirror this axis + use_axis_y: bool = None + ''' Mirror the Y axis :type: bool ''' - y_axis: bool = None - ''' Mirror this axis + use_axis_z: bool = None + ''' Mirror the Z axis :type: bool ''' - z_axis: bool = None - ''' Mirror this axis + use_clip: bool = None + ''' Clip points :type: bool ''' @@ -49045,12 +50963,6 @@ class MultiplyGpencilModifier(GpencilModifier, bpy_struct): :type: int ''' - enable_angle_splitting: bool = None - ''' Enable angle splitting - - :type: bool - ''' - fading_center: float = None ''' Fade center @@ -49123,12 +51035,6 @@ class MultiplyGpencilModifier(GpencilModifier, bpy_struct): :type: int ''' - split_angle: float = None - ''' Split angle for segments - - :type: float - ''' - use_fade: bool = None ''' Fade the stroke thickness for each generated stroke @@ -49857,6 +51763,12 @@ class TextureGpencilModifier(GpencilModifier, bpy_struct): ''' Transform stroke texture coordinates Modifier ''' + alignment_rotation: float = None + ''' Additional rotation applied to dots and square strokes + + :type: float + ''' + fill_offset: typing.List[float] = None ''' Additional offset of the fill UV @@ -50333,11 +52245,11 @@ class Action(ID, bpy_struct): ''' A collection of F-Curves for animation ''' - fcurves: typing.Union[typing.List['FCurve'], 'bpy_prop_collection', - 'ActionFCurves'] = None + fcurves: typing.Union[typing.Dict[str, 'FCurve'], typing.List['FCurve'], + 'bpy_prop_collection', 'ActionFCurves'] = None ''' The individual F-Curves that make up the action - :type: typing.Union[typing.List['FCurve'], 'bpy_prop_collection', 'ActionFCurves'] + :type: typing.Union[typing.Dict[str, 'FCurve'], typing.List['FCurve'], 'bpy_prop_collection', 'ActionFCurves'] ''' frame_range: typing.List[float] = None @@ -50346,11 +52258,12 @@ class Action(ID, bpy_struct): :type: typing.List[float] ''' - groups: typing.Union[typing.List['ActionGroup'], 'bpy_prop_collection', + groups: typing.Union[typing.Dict[str, 'ActionGroup'], typing. + List['ActionGroup'], 'bpy_prop_collection', 'ActionGroups'] = None ''' Convenient groupings of F-Curves - :type: typing.Union[typing.List['ActionGroup'], 'bpy_prop_collection', 'ActionGroups'] + :type: typing.Union[typing.Dict[str, 'ActionGroup'], typing.List['ActionGroup'], 'bpy_prop_collection', 'ActionGroups'] ''' id_root: typing.Union[int, str] = None @@ -50359,12 +52272,12 @@ class Action(ID, bpy_struct): :type: typing.Union[int, str] ''' - pose_markers: typing.Union[typing. + pose_markers: typing.Union[typing.Dict[str, 'TimelineMarker'], typing. List['TimelineMarker'], 'bpy_prop_collection', 'ActionPoseMarkers'] = None ''' Markers specific to this action, for labeling poses - :type: typing.Union[typing.List['TimelineMarker'], 'bpy_prop_collection', 'ActionPoseMarkers'] + :type: typing.Union[typing.Dict[str, 'TimelineMarker'], typing.List['TimelineMarker'], 'bpy_prop_collection', 'ActionPoseMarkers'] ''' @classmethod @@ -50399,11 +52312,11 @@ class Armature(ID, bpy_struct): :type: 'AnimData' ''' - bones: typing.Union[typing.List['Bone'], 'bpy_prop_collection', - 'ArmatureBones'] = None + bones: typing.Union[typing.Dict[str, 'Bone'], typing.List['Bone'], + 'bpy_prop_collection', 'ArmatureBones'] = None ''' - :type: typing.Union[typing.List['Bone'], 'bpy_prop_collection', 'ArmatureBones'] + :type: typing.Union[typing.Dict[str, 'Bone'], typing.List['Bone'], 'bpy_prop_collection', 'ArmatureBones'] ''' display_type: typing.Union[int, str] = None @@ -50412,11 +52325,12 @@ class Armature(ID, bpy_struct): :type: typing.Union[int, str] ''' - edit_bones: typing.Union[typing.List['EditBone'], 'bpy_prop_collection', + edit_bones: typing.Union[typing.Dict[str, 'EditBone'], typing. + List['EditBone'], 'bpy_prop_collection', 'ArmatureEditBones'] = None ''' - :type: typing.Union[typing.List['EditBone'], 'bpy_prop_collection', 'ArmatureEditBones'] + :type: typing.Union[typing.Dict[str, 'EditBone'], typing.List['EditBone'], 'bpy_prop_collection', 'ArmatureEditBones'] ''' is_editmode: bool = None @@ -50543,6 +52457,24 @@ class Brush(ID, bpy_struct): :type: typing.Union[int, str] ''' + boundary_deform_type: typing.Union[int, str] = None + ''' Deformation type that is used in the brush + + :type: typing.Union[int, str] + ''' + + boundary_falloff_type: typing.Union[int, str] = None + ''' How the brush falloff is applied across the boundary * CONSTANT Constant, Applies the same deformation in the entire boundary. * RADIUS Brush Radius, Applies the deformation in a localized area limited by the brush radius. * LOOP Loop, Applies the brush falloff in a loop pattern. * LOOP_INVERT Loop and Invert, Applies the falloff radius in a loop pattern, inverting the displacement direction in each pattern repetition. + + :type: typing.Union[int, str] + ''' + + boundary_offset: float = None + ''' Offset of the boundary origin in relation to the brush radius + + :type: float + ''' + brush_capabilities: 'BrushCapabilities' = None ''' Brush's capabilities @@ -50567,6 +52499,12 @@ class Brush(ID, bpy_struct): :type: typing.List[float] ''' + cloth_constraint_softbody_strength: float = None + ''' How much the cloth preserves the original shape, acting as a soft body + + :type: float + ''' + cloth_damping: float = None ''' How much the applied forces are propagated through the cloth @@ -50603,6 +52541,12 @@ class Brush(ID, bpy_struct): :type: float ''' + cloth_simulation_area_type: typing.Union[int, str] = None + ''' Part of the mesh that is going to be simulated when the stroke is active * LOCAL Local, Simulates only a specific area around the brush limited by a fixed radius. * GLOBAL Global, Simulates the entire mesh. * DYNAMIC Dynamic, The active simulation area moves with the brush. + + :type: typing.Union[int, str] + ''' + color: typing.List[float] = None ''' @@ -50663,6 +52607,12 @@ class Brush(ID, bpy_struct): :type: int ''' + deform_target: typing.Union[int, str] = None + ''' How the deformation of the brush will affect the object * GEOMETRY Geometry, Brush deformation displaces the vertices of the mesh. * CLOTH_SIM Cloth Simulation, Brush deforms the mesh by deforming the constraints of a cloth simulation. + + :type: typing.Union[int, str] + ''' + density: float = None ''' Amount of random elements that are going to be affected by the brush @@ -50910,7 +52860,7 @@ class Brush(ID, bpy_struct): ''' paint_curve: 'PaintCurve' = None - ''' Active Paint Curve + ''' Active paint curve :type: 'PaintCurve' ''' @@ -51041,6 +52991,12 @@ class Brush(ID, bpy_struct): :type: int ''' + snake_hook_deform_type: typing.Union[int, str] = None + ''' Deformation type that is used in the brush * FALLOFF Radius Falloff, Applies the brush falloff in the tip of the brush. * ELASTIC Elastic, Modifies the entire mesh using elastic deform. + + :type: typing.Union[int, str] + ''' + spacing: int = None ''' Spacing between brush daubs as a percentage of brush diameter @@ -51113,6 +53069,12 @@ class Brush(ID, bpy_struct): :type: 'BrushTextureSlot' ''' + tilt_strength_factor: float = None + ''' How much the tilt of the pen will affect the brush + + :type: float + ''' + tip_roundness: float = None ''' Roundness of the brush tip @@ -51191,6 +53153,18 @@ class Brush(ID, bpy_struct): :type: bool ''' + use_cloth_collision: bool = None + ''' Collide with objects during the simulation + + :type: bool + ''' + + use_cloth_pin_simulation_boundary: bool = None + ''' Lock the position of the vertices in the simulation falloff area to avoid artifacts and create a softer transition with unaffected areas + + :type: bool + ''' + use_connected_only: bool = None ''' Affect only topologically connected elements @@ -51257,6 +53231,12 @@ class Brush(ID, bpy_struct): :type: bool ''' + use_grab_silhouette: bool = None + ''' Grabs trying to automask the silhouette of the object + + :type: bool + ''' + use_hardness_pressure: bool = None ''' Use pressure to modulate hardness @@ -51365,6 +53345,18 @@ class Brush(ID, bpy_struct): :type: bool ''' + use_pose_lock_rotation: bool = None + ''' Do not rotate the segment when using the scale deform mode + + :type: bool + ''' + + use_pressure_area_radius: bool = None + ''' Enable tablet pressure sensitivity for area radius + + :type: bool + ''' + use_pressure_jitter: bool = None ''' Enable tablet pressure sensitivity for jitter @@ -51509,6 +53501,12 @@ class Brush(ID, bpy_struct): :type: float ''' + wet_paint_radius_factor: float = None + ''' Ratio between the brush radius and the radius that is going to be used to sample the color to blend in wet paint + + :type: float + ''' + wet_persistence: float = None ''' Amount of wet paint that stays in the brush after applying paint to the surface @@ -51574,12 +53572,13 @@ class CacheFile(ID, bpy_struct): :type: bool ''' - object_paths: typing.Union[typing.List['AlembicObjectPath'], + object_paths: typing.Union[typing.Dict[str, 'AlembicObjectPath'], typing. + List['AlembicObjectPath'], 'bpy_prop_collection', 'AlembicObjectPaths'] = None ''' Paths of the objects inside the Alembic archive - :type: typing.Union[typing.List['AlembicObjectPath'], 'bpy_prop_collection', 'AlembicObjectPaths'] + :type: typing.Union[typing.Dict[str, 'AlembicObjectPath'], typing.List['AlembicObjectPath'], 'bpy_prop_collection', 'AlembicObjectPaths'] ''' override_frame: bool = None @@ -51600,6 +53599,18 @@ class CacheFile(ID, bpy_struct): :type: typing.Union[int, str] ''' + velocity_name: str = None + ''' Name of the Alembic attribute used for generating motion blur data + + :type: str + ''' + + velocity_unit: typing.Union[int, str] = None + ''' Define how the velocity vectors are interpreted with regard to time, 'frame' means the delta time is 1 frame, 'second' means the delta time is 1 / FPS + + :type: typing.Union[int, str] + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -51650,12 +53661,13 @@ class Camera(ID, bpy_struct): :type: 'AnimData' ''' - background_images: typing.Union[typing.List['CameraBackgroundImage'], - 'bpy_prop_collection', - 'CameraBackgroundImages'] = None + background_images: typing.Union[ + typing.Dict[str, 'CameraBackgroundImage'], typing. + List['CameraBackgroundImage'], 'bpy_prop_collection', + 'CameraBackgroundImages'] = None ''' List of background images - :type: typing.Union[typing.List['CameraBackgroundImage'], 'bpy_prop_collection', 'CameraBackgroundImages'] + :type: typing.Union[typing.Dict[str, 'CameraBackgroundImage'], typing.List['CameraBackgroundImage'], 'bpy_prop_collection', 'CameraBackgroundImages'] ''' clip_end: float = None @@ -51881,18 +53893,25 @@ class Collection(ID, bpy_struct): ''' Collection of Object data-blocks ''' - all_objects: typing.Union[typing. + all_objects: typing.Union[typing.Dict[str, 'Object'], typing. List['Object'], 'bpy_prop_collection'] = None ''' Objects that are in this collection and its child collections - :type: typing.Union[typing.List['Object'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], 'bpy_prop_collection'] ''' - children: typing.Union[typing.List['Collection'], 'bpy_prop_collection', + children: typing.Union[typing.Dict[str, 'Collection'], typing. + List['Collection'], 'bpy_prop_collection', 'CollectionChildren'] = None ''' Collections that are immediate children of this collection - :type: typing.Union[typing.List['Collection'], 'bpy_prop_collection', 'CollectionChildren'] + :type: typing.Union[typing.Dict[str, 'Collection'], typing.List['Collection'], 'bpy_prop_collection', 'CollectionChildren'] + ''' + + color_tag: typing.Union[int, str] = None + ''' Color tag for a collection * NONE None, Assign no color tag to the collection. * COLOR_01 Color 01. * COLOR_02 Color 02. * COLOR_03 Color 03. * COLOR_04 Color 04. * COLOR_05 Color 05. * COLOR_06 Color 06. * COLOR_07 Color 07. * COLOR_08 Color 08. + + :type: typing.Union[int, str] ''' hide_render: bool = None @@ -51919,11 +53938,11 @@ class Collection(ID, bpy_struct): :type: typing.List[float] ''' - objects: typing.Union[typing.List['Object'], 'bpy_prop_collection', - 'CollectionObjects'] = None + objects: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], + 'bpy_prop_collection', 'CollectionObjects'] = None ''' Objects that are directly in this collection - :type: typing.Union[typing.List['Object'], 'bpy_prop_collection', 'CollectionObjects'] + :type: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], 'bpy_prop_collection', 'CollectionObjects'] ''' users_dupli_group = None @@ -51962,43 +53981,55 @@ class Curve(ID, bpy_struct): ''' bevel_depth: float = None - ''' Bevel depth when not using a bevel object + ''' Radius of the bevel geometry, not including extrusion :type: float ''' bevel_factor_end: float = None - ''' Factor that defines to where beveling of spline happens (0=to the very beginning, 1=to the very end) + ''' Define where along the spline the curve geometry ends (0 for the beginning, 1 for the end) :type: float ''' bevel_factor_mapping_end: typing.Union[int, str] = None - ''' Determines how the end bevel factor is mapped to a spline * RESOLUTION Resolution, Map the bevel factor to the number of subdivisions of a spline (U resolution). * SEGMENTS Segments, Map the bevel factor to the length of a segment and to the number of subdivisions of a segment. * SPLINE Spline, Map the bevel factor to the length of a spline. + ''' Determine how the geometry end factor is mapped to a spline * RESOLUTION Resolution, Map the geometry factor to the number of subdivisions of a spline (U resolution). * SEGMENTS Segments, Map the geometry factor to the length of a segment and to the number of subdivisions of a segment. * SPLINE Spline, Map the geometry factor to the length of a spline. :type: typing.Union[int, str] ''' bevel_factor_mapping_start: typing.Union[int, str] = None - ''' Determines how the start bevel factor is mapped to a spline * RESOLUTION Resolution, Map the bevel factor to the number of subdivisions of a spline (U resolution). * SEGMENTS Segments, Map the bevel factor to the length of a segment and to the number of subdivisions of a segment. * SPLINE Spline, Map the bevel factor to the length of a spline. + ''' Determine how the geometry start factor is mapped to a spline * RESOLUTION Resolution, Map the geometry factor to the number of subdivisions of a spline (U resolution). * SEGMENTS Segments, Map the geometry factor to the length of a segment and to the number of subdivisions of a segment. * SPLINE Spline, Map the geometry factor to the length of a spline. :type: typing.Union[int, str] ''' bevel_factor_start: float = None - ''' Factor that defines from where beveling of spline happens (0=from the very beginning, 1=from the very end) + ''' Define where along the spline the curve geometry starts (0 for the beginning, 1 for the end) :type: float ''' + bevel_mode: typing.Union[int, str] = None + ''' Determine how to build the curve's bevel geometry * ROUND Round, Use circle for the section of the curve's bevel geometry. * OBJECT Object, Use an object for the section of the curve's bevel geometry segment. * PROFILE Profile, Use a custom profile for each quarter of curve's bevel geometry. + + :type: typing.Union[int, str] + ''' + bevel_object: 'Object' = None - ''' Curve object name that defines the bevel shape + ''' The name of the Curve object that defines the bevel shape :type: 'Object' ''' + bevel_profile: 'CurveProfile' = None + ''' The path for the curve's custom profile + + :type: 'CurveProfile' + ''' + bevel_resolution: int = None - ''' Bevel resolution when depth is non-zero and no specific bevel object has been defined + ''' The number of segments in each quarter-circle of the bevel :type: int ''' @@ -52019,7 +54050,7 @@ class Curve(ID, bpy_struct): ''' extrude: float = None - ''' Amount of curve extrusion when not using a bevel object + ''' Length of the depth added in the local Z direction along the curve, perpendicular to its normals :type: float ''' @@ -52036,15 +54067,16 @@ class Curve(ID, bpy_struct): :type: bool ''' - materials: typing.Union[typing.List['Material'], 'bpy_prop_collection', + materials: typing.Union[typing.Dict[str, 'Material'], typing. + List['Material'], 'bpy_prop_collection', 'IDMaterials'] = None ''' - :type: typing.Union[typing.List['Material'], 'bpy_prop_collection', 'IDMaterials'] + :type: typing.Union[typing.Dict[str, 'Material'], typing.List['Material'], 'bpy_prop_collection', 'IDMaterials'] ''' offset: float = None - ''' Offset the curve to adjust the width of a text + ''' Distance to move the curve parallel to its normals :type: float ''' @@ -52068,13 +54100,13 @@ class Curve(ID, bpy_struct): ''' resolution_u: int = None - ''' Surface resolution in U direction + ''' Number of computed points in the U direction between every pair of control points :type: int ''' resolution_v: int = None - ''' Surface resolution in V direction + ''' The number of computed points in the V direction between every pair of control points :type: int ''' @@ -52085,11 +54117,11 @@ class Curve(ID, bpy_struct): :type: 'Key' ''' - splines: typing.Union[typing.List['Spline'], 'bpy_prop_collection', - 'CurveSplines'] = None + splines: typing.Union[typing.Dict[str, 'Spline'], typing.List['Spline'], + 'bpy_prop_collection', 'CurveSplines'] = None ''' Collection of splines in this curve data object - :type: typing.Union[typing.List['Spline'], 'bpy_prop_collection', 'CurveSplines'] + :type: typing.Union[typing.Dict[str, 'Spline'], typing.List['Spline'], 'bpy_prop_collection', 'CurveSplines'] ''' taper_object: 'Object' = None @@ -52244,12 +54276,13 @@ class FreestyleLineStyle(ID, bpy_struct): :type: float ''' - alpha_modifiers: typing.Union[typing.List['LineStyleAlphaModifier'], - 'bpy_prop_collection', - 'LineStyleAlphaModifiers'] = None + alpha_modifiers: typing.Union[ + typing.Dict[str, 'LineStyleAlphaModifier'], typing. + List['LineStyleAlphaModifier'], 'bpy_prop_collection', + 'LineStyleAlphaModifiers'] = None ''' List of alpha transparency modifiers - :type: typing.Union[typing.List['LineStyleAlphaModifier'], 'bpy_prop_collection', 'LineStyleAlphaModifiers'] + :type: typing.Union[typing.Dict[str, 'LineStyleAlphaModifier'], typing.List['LineStyleAlphaModifier'], 'bpy_prop_collection', 'LineStyleAlphaModifiers'] ''' angle_max: float = None @@ -52294,12 +54327,13 @@ class FreestyleLineStyle(ID, bpy_struct): :type: typing.List[float] ''' - color_modifiers: typing.Union[typing.List['LineStyleColorModifier'], - 'bpy_prop_collection', - 'LineStyleColorModifiers'] = None + color_modifiers: typing.Union[ + typing.Dict[str, 'LineStyleColorModifier'], typing. + List['LineStyleColorModifier'], 'bpy_prop_collection', + 'LineStyleColorModifiers'] = None ''' List of line color modifiers - :type: typing.Union[typing.List['LineStyleColorModifier'], 'bpy_prop_collection', 'LineStyleColorModifiers'] + :type: typing.Union[typing.Dict[str, 'LineStyleColorModifier'], typing.List['LineStyleColorModifier'], 'bpy_prop_collection', 'LineStyleColorModifiers'] ''' dash1: int = None @@ -52338,12 +54372,13 @@ class FreestyleLineStyle(ID, bpy_struct): :type: int ''' - geometry_modifiers: typing.Union[typing.List['LineStyleGeometryModifier'], - 'bpy_prop_collection', - 'LineStyleGeometryModifiers'] = None + geometry_modifiers: typing.Union[ + typing.Dict[str, 'LineStyleGeometryModifier'], typing. + List['LineStyleGeometryModifier'], 'bpy_prop_collection', + 'LineStyleGeometryModifiers'] = None ''' List of stroke geometry modifiers - :type: typing.Union[typing.List['LineStyleGeometryModifier'], 'bpy_prop_collection', 'LineStyleGeometryModifiers'] + :type: typing.Union[typing.Dict[str, 'LineStyleGeometryModifier'], typing.List['LineStyleGeometryModifier'], 'bpy_prop_collection', 'LineStyleGeometryModifiers'] ''' integration_type: typing.Union[int, str] = None @@ -52442,12 +54477,13 @@ class FreestyleLineStyle(ID, bpy_struct): :type: float ''' - texture_slots: typing.Union[typing.List['LineStyleTextureSlot'], - 'bpy_prop_collection', - 'LineStyleTextureSlots'] = None + texture_slots: typing.Union[ + typing.Dict[str, 'LineStyleTextureSlot'], typing. + List['LineStyleTextureSlot'], 'bpy_prop_collection', + 'LineStyleTextureSlots'] = None ''' Texture slots defining the mapping and influence of textures - :type: typing.Union[typing.List['LineStyleTextureSlot'], 'bpy_prop_collection', 'LineStyleTextureSlots'] + :type: typing.Union[typing.Dict[str, 'LineStyleTextureSlot'], typing.List['LineStyleTextureSlot'], 'bpy_prop_collection', 'LineStyleTextureSlots'] ''' texture_spacing: float = None @@ -52463,11 +54499,12 @@ class FreestyleLineStyle(ID, bpy_struct): ''' thickness_modifiers: typing.Union[ - typing.List['LineStyleThicknessModifier'], 'bpy_prop_collection', + typing.Dict[str, 'LineStyleThicknessModifier'], typing. + List['LineStyleThicknessModifier'], 'bpy_prop_collection', 'LineStyleThicknessModifiers'] = None ''' List of line thickness modifiers - :type: typing.Union[typing.List['LineStyleThicknessModifier'], 'bpy_prop_collection', 'LineStyleThicknessModifiers'] + :type: typing.Union[typing.Dict[str, 'LineStyleThicknessModifier'], typing.List['LineStyleThicknessModifier'], 'bpy_prop_collection', 'LineStyleThicknessModifiers'] ''' thickness_position: typing.Union[int, str] = None @@ -52604,6 +54641,24 @@ class GreasePencil(ID, bpy_struct): :type: typing.List[float] ''' + curve_edit_corner_angle: float = None + ''' Angle threshold to be treated as corners + + :type: float + ''' + + curve_edit_threshold: float = None + ''' Curve conversion error threshold + + :type: float + ''' + + edit_curve_resolution: int = None + ''' Number of segments generated between control points when editing strokes in curve mode + + :type: int + ''' + edit_line_color: typing.List[float] = None ''' Color for editing line @@ -52629,7 +54684,7 @@ class GreasePencil(ID, bpy_struct): ''' is_annotation: bool = None - ''' Current datablock is an annotation + ''' Current data-block is an annotation :type: bool ''' @@ -52658,18 +54713,20 @@ class GreasePencil(ID, bpy_struct): :type: bool ''' - layers: typing.Union[typing.List['GPencilLayer'], 'bpy_prop_collection', + layers: typing.Union[typing.Dict[str, 'GPencilLayer'], typing. + List['GPencilLayer'], 'bpy_prop_collection', 'GreasePencilLayers'] = None ''' - :type: typing.Union[typing.List['GPencilLayer'], 'bpy_prop_collection', 'GreasePencilLayers'] + :type: typing.Union[typing.Dict[str, 'GPencilLayer'], typing.List['GPencilLayer'], 'bpy_prop_collection', 'GreasePencilLayers'] ''' - materials: typing.Union[typing.List['Material'], 'bpy_prop_collection', + materials: typing.Union[typing.Dict[str, 'Material'], typing. + List['Material'], 'bpy_prop_collection', 'IDMaterials'] = None ''' - :type: typing.Union[typing.List['Material'], 'bpy_prop_collection', 'IDMaterials'] + :type: typing.Union[typing.Dict[str, 'Material'], typing.List['Material'], 'bpy_prop_collection', 'IDMaterials'] ''' onion_factor: float = None @@ -52679,7 +54736,7 @@ class GreasePencil(ID, bpy_struct): ''' onion_keyframe_type: typing.Union[int, str] = None - ''' Type of keyframe (for filtering) * ALL All Types, Include all Keyframe types. * KEYFRAME Keyframe, Normal keyframe - e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose - e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. + ''' Type of keyframe (for filtering) * ALL All, Include all Keyframe types. * KEYFRAME Keyframe, Normal keyframe - e.g. for key poses. * BREAKDOWN Breakdown, A breakdown pose - e.g. for transitions between key poses. * MOVING_HOLD Moving Hold, A keyframe that is part of a moving hold. * EXTREME Extreme, An 'extreme' pose, or some other purpose as needed. * JITTER Jitter, A filler or baked keyframe for keying on ones, or some other purpose as needed. :type: typing.Union[int, str] ''' @@ -52708,12 +54765,24 @@ class GreasePencil(ID, bpy_struct): :type: typing.Union[int, str] ''' + use_adaptive_curve_resolution: bool = None + ''' Set the resolution of each editcurve segment dynamically depending on the length of the segment. The resolution is the number of points generated per unit distance + + :type: bool + ''' + use_autolock_layers: bool = None ''' Lock automatically all layers except active one to avoid accidental changes :type: bool ''' + use_curve_edit: bool = None + ''' Edit strokes using curve handles + + :type: bool + ''' + use_ghost_custom_colors: bool = None ''' Use custom colors for ghost frames @@ -52831,7 +54900,7 @@ class Image(ID, bpy_struct): ''' file_format: typing.Union[int, str] = None - ''' Format used for re-saving this file * BMP BMP, Output image in bitmap format. * IRIS Iris, Output image in (old!) SGI IRIS format. * PNG PNG, Output image in PNG format. * JPEG JPEG, Output image in JPEG format. * JPEG2000 JPEG 2000, Output image in JPEG 2000 format. * TARGA Targa, Output image in Targa format. * TARGA_RAW Targa Raw, Output image in uncompressed Targa format. * CINEON Cineon, Output image in Cineon format. * DPX DPX, Output image in DPX format. * OPEN_EXR_MULTILAYER OpenEXR MultiLayer, Output image in multilayer OpenEXR format. * OPEN_EXR OpenEXR, Output image in OpenEXR format. * HDR Radiance HDR, Output image in Radiance HDR format. * TIFF TIFF, Output image in TIFF format. * AVI_JPEG AVI JPEG, Output video in AVI JPEG format. * AVI_RAW AVI Raw, Output video in AVI Raw format. * FFMPEG FFmpeg video, The most versatile way to output video files. + ''' Format used for re-saving this file * BMP BMP, Output image in bitmap format. * IRIS Iris, Output image in (old!) SGI IRIS format. * PNG PNG, Output image in PNG format. * JPEG JPEG, Output image in JPEG format. * JPEG2000 JPEG 2000, Output image in JPEG 2000 format. * TARGA Targa, Output image in Targa format. * TARGA_RAW Targa Raw, Output image in uncompressed Targa format. * CINEON Cineon, Output image in Cineon format. * DPX DPX, Output image in DPX format. * OPEN_EXR_MULTILAYER OpenEXR MultiLayer, Output image in multilayer OpenEXR format. * OPEN_EXR OpenEXR, Output image in OpenEXR format. * HDR Radiance HDR, Output image in Radiance HDR format. * TIFF TIFF, Output image in TIFF format. * AVI_JPEG AVI JPEG, Output video in AVI JPEG format. * AVI_RAW AVI Raw, Output video in AVI Raw format. * FFMPEG FFmpeg Video, The most versatile way to output video files. :type: typing.Union[int, str] ''' @@ -52891,7 +54960,7 @@ class Image(ID, bpy_struct): ''' is_float: bool = None - ''' True if this image is stored in float buffer + ''' True if this image is stored in floating-point buffer :type: bool ''' @@ -52914,24 +54983,26 @@ class Image(ID, bpy_struct): :type: 'PackedFile' ''' - packed_files: typing.Union[typing.List['ImagePackedFile'], + packed_files: typing.Union[typing.Dict[str, 'ImagePackedFile'], typing. + List['ImagePackedFile'], 'bpy_prop_collection'] = None ''' Collection of packed images - :type: typing.Union[typing.List['ImagePackedFile'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ImagePackedFile'], typing.List['ImagePackedFile'], 'bpy_prop_collection'] ''' pixels: float = None - ''' Image pixels in floating point values + ''' Image pixels in floating-point values :type: float ''' - render_slots: typing.Union[typing.List['RenderSlot'], - 'bpy_prop_collection', 'RenderSlots'] = None + render_slots: typing.Union[typing.Dict[str, 'RenderSlot'], typing. + List['RenderSlot'], 'bpy_prop_collection', + 'RenderSlots'] = None ''' Render slots of the image - :type: typing.Union[typing.List['RenderSlot'], 'bpy_prop_collection', 'RenderSlots'] + :type: typing.Union[typing.Dict[str, 'RenderSlot'], typing.List['RenderSlot'], 'bpy_prop_collection', 'RenderSlots'] ''' resolution: typing.List[float] = None @@ -52958,11 +55029,11 @@ class Image(ID, bpy_struct): :type: 'Stereo3dFormat' ''' - tiles: typing.Union[typing.List['UDIMTile'], 'bpy_prop_collection', - 'UDIMTiles'] = None + tiles: typing.Union[typing.Dict[str, 'UDIMTile'], typing.List['UDIMTile'], + 'bpy_prop_collection', 'UDIMTiles'] = None ''' Tiles of the image - :type: typing.Union[typing.List['UDIMTile'], 'bpy_prop_collection', 'UDIMTiles'] + :type: typing.Union[typing.Dict[str, 'UDIMTile'], typing.List['UDIMTile'], 'bpy_prop_collection', 'UDIMTiles'] ''' type: typing.Union[int, str] = None @@ -52978,13 +55049,13 @@ class Image(ID, bpy_struct): ''' use_generated_float: bool = None - ''' Generate floating point buffer + ''' Generate floating-point buffer :type: bool ''' use_half_precision: bool = None - ''' Use 16bits per channel to lower the memory usage during rendering + ''' Use 16 bits per channel to lower the memory usage during rendering :type: bool ''' @@ -53048,7 +55119,7 @@ def reload(self): pass def update(self): - ''' Update the display image from the floating point buffer + ''' Update the display image from the floating-point buffer ''' pass @@ -53095,7 +55166,7 @@ def filepath_from_user(self, image_user: 'ImageUser' = None) -> str: :param image_user: Image user of the image to get filepath for :type image_user: 'ImageUser' :rtype: str - :return: File Path, The resulting filepath from the image and it's user + :return: File Path, The resulting filepath from the image and its user ''' pass @@ -53143,11 +55214,11 @@ class Key(ID, bpy_struct): :type: float ''' - key_blocks: typing.Union[typing. + key_blocks: typing.Union[typing.Dict[str, 'ShapeKey'], typing. List['ShapeKey'], 'bpy_prop_collection'] = None ''' Shape keys - :type: typing.Union[typing.List['ShapeKey'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ShapeKey'], typing.List['ShapeKey'], 'bpy_prop_collection'] ''' reference_key: 'ShapeKey' = None @@ -53224,11 +55295,11 @@ class Lattice(ID, bpy_struct): :type: bool ''' - points: typing.Union[typing. + points: typing.Union[typing.Dict[str, 'LatticePoint'], typing. List['LatticePoint'], 'bpy_prop_collection'] = None ''' Points of the lattice - :type: typing.Union[typing.List['LatticePoint'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'LatticePoint'], typing.List['LatticePoint'], 'bpy_prop_collection'] ''' points_u: int = None @@ -53408,7 +55479,7 @@ class Light(ID, bpy_struct): ''' type: typing.Union[int, str] = None - ''' Type of Light * POINT Point, Omnidirectional point light source. * SUN Sun, Constant direction parallel ray light source. * SPOT Spot, Directional cone light source. * AREA Area, Directional area light source. + ''' Type of light * POINT Point, Omnidirectional point light source. * SUN Sun, Constant direction parallel ray light source. * SPOT Spot, Directional cone light source. * AREA Area, Directional area light source. :type: typing.Union[int, str] ''' @@ -53639,11 +55710,12 @@ class Mask(ID, bpy_struct): :type: int ''' - layers: typing.Union[typing.List['MaskLayer'], 'bpy_prop_collection', + layers: typing.Union[typing.Dict[str, 'MaskLayer'], typing. + List['MaskLayer'], 'bpy_prop_collection', 'MaskLayers'] = None ''' Collection of layers which defines this mask - :type: typing.Union[typing.List['MaskLayer'], 'bpy_prop_collection', 'MaskLayers'] + :type: typing.Union[typing.Dict[str, 'MaskLayer'], typing.List['MaskLayer'], 'bpy_prop_collection', 'MaskLayers'] ''' @classmethod @@ -53754,7 +55826,7 @@ class Material(ID, bpy_struct): ''' preview_render_type: typing.Union[int, str] = None - ''' Type of preview render * FLAT Flat, Flat XY plane. * SPHERE Sphere, Sphere. * CUBE Cube, Cube. * HAIR Hair, Hair strands. * SHADERBALL Shader Ball, Shader Ball. * CLOTH Cloth, Cloth. * FLUID Fluid, Fluid. + ''' Type of preview render * FLAT Flat, Flat XY plane. * SPHERE Sphere, Sphere. * CUBE Cube, Cube. * HAIR Hair, Hair strands. * SHADERBALL Shader Ball, Shader ball. * CLOTH Cloth, Cloth. * FLUID Fluid, Fluid. :type: typing.Union[int, str] ''' @@ -53795,18 +55867,20 @@ class Material(ID, bpy_struct): :type: float ''' - texture_paint_images: typing.Union[typing.List['Image'], + texture_paint_images: typing.Union[typing.Dict[str, 'Image'], typing. + List['Image'], 'bpy_prop_collection'] = None ''' Texture images used for texture painting - :type: typing.Union[typing.List['Image'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Image'], typing.List['Image'], 'bpy_prop_collection'] ''' - texture_paint_slots: typing.Union[typing.List['TexPaintSlot'], + texture_paint_slots: typing.Union[typing.Dict[str, 'TexPaintSlot'], typing. + List['TexPaintSlot'], 'bpy_prop_collection'] = None ''' Texture slots defining the mapping and influence of textures - :type: typing.Union[typing.List['TexPaintSlot'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'TexPaintSlot'], typing.List['TexPaintSlot'], 'bpy_prop_collection'] ''' use_backface_culling: bool = None @@ -53871,6 +55945,14 @@ class Mesh(ID, bpy_struct): :type: 'AnimData' ''' + attributes: typing.Union[typing.Dict[str, 'Attribute'], typing. + List['Attribute'], 'bpy_prop_collection', + 'AttributeGroup'] = None + ''' Geometry attributes + + :type: typing.Union[typing.Dict[str, 'Attribute'], typing.List['Attribute'], 'bpy_prop_collection', 'AttributeGroup'] + ''' + auto_smooth_angle: float = None ''' Maximum angle between face normals that will be considered as smooth (unused if custom split normals data are available) @@ -53886,18 +55968,19 @@ class Mesh(ID, bpy_struct): cycles = None ''' Cycles mesh settings''' - edges: typing.Union[typing.List['MeshEdge'], 'bpy_prop_collection', - 'MeshEdges'] = None + edges: typing.Union[typing.Dict[str, 'MeshEdge'], typing.List['MeshEdge'], + 'bpy_prop_collection', 'MeshEdges'] = None ''' Edges of the mesh - :type: typing.Union[typing.List['MeshEdge'], 'bpy_prop_collection', 'MeshEdges'] + :type: typing.Union[typing.Dict[str, 'MeshEdge'], typing.List['MeshEdge'], 'bpy_prop_collection', 'MeshEdges'] ''' - face_maps: typing.Union[typing.List['MeshFaceMapLayer'], - 'bpy_prop_collection', 'MeshFaceMapLayers'] = None + face_maps: typing.Union[typing.Dict[str, 'MeshFaceMapLayer'], typing. + List['MeshFaceMapLayer'], 'bpy_prop_collection', + 'MeshFaceMapLayers'] = None ''' - :type: typing.Union[typing.List['MeshFaceMapLayer'], 'bpy_prop_collection', 'MeshFaceMapLayers'] + :type: typing.Union[typing.Dict[str, 'MeshFaceMapLayer'], typing.List['MeshFaceMapLayer'], 'bpy_prop_collection', 'MeshFaceMapLayers'] ''' has_custom_normals: bool = None @@ -53912,56 +55995,62 @@ class Mesh(ID, bpy_struct): :type: bool ''' - loop_triangles: typing.Union[typing.List[ - 'MeshLoopTriangle'], 'bpy_prop_collection', 'MeshLoopTriangles'] = None + loop_triangles: typing.Union[ + typing.Dict[str, 'MeshLoopTriangle'], typing.List['MeshLoopTriangle'], + 'bpy_prop_collection', 'MeshLoopTriangles'] = None ''' Tessellation of mesh polygons into triangles - :type: typing.Union[typing.List['MeshLoopTriangle'], 'bpy_prop_collection', 'MeshLoopTriangles'] + :type: typing.Union[typing.Dict[str, 'MeshLoopTriangle'], typing.List['MeshLoopTriangle'], 'bpy_prop_collection', 'MeshLoopTriangles'] ''' - loops: typing.Union[typing.List['MeshLoop'], 'bpy_prop_collection', - 'MeshLoops'] = None + loops: typing.Union[typing.Dict[str, 'MeshLoop'], typing.List['MeshLoop'], + 'bpy_prop_collection', 'MeshLoops'] = None ''' Loops of the mesh (polygon corners) - :type: typing.Union[typing.List['MeshLoop'], 'bpy_prop_collection', 'MeshLoops'] + :type: typing.Union[typing.Dict[str, 'MeshLoop'], typing.List['MeshLoop'], 'bpy_prop_collection', 'MeshLoops'] ''' - materials: typing.Union[typing.List['Material'], 'bpy_prop_collection', + materials: typing.Union[typing.Dict[str, 'Material'], typing. + List['Material'], 'bpy_prop_collection', 'IDMaterials'] = None ''' - :type: typing.Union[typing.List['Material'], 'bpy_prop_collection', 'IDMaterials'] + :type: typing.Union[typing.Dict[str, 'Material'], typing.List['Material'], 'bpy_prop_collection', 'IDMaterials'] ''' polygon_layers_float: typing.Union[ - typing.List['MeshPolygonFloatPropertyLayer'], 'bpy_prop_collection', + typing.Dict[str, 'MeshPolygonFloatPropertyLayer'], typing. + List['MeshPolygonFloatPropertyLayer'], 'bpy_prop_collection', 'PolygonFloatProperties'] = None ''' - :type: typing.Union[typing.List['MeshPolygonFloatPropertyLayer'], 'bpy_prop_collection', 'PolygonFloatProperties'] + :type: typing.Union[typing.Dict[str, 'MeshPolygonFloatPropertyLayer'], typing.List['MeshPolygonFloatPropertyLayer'], 'bpy_prop_collection', 'PolygonFloatProperties'] ''' polygon_layers_int: typing.Union[ - typing.List['MeshPolygonIntPropertyLayer'], 'bpy_prop_collection', + typing.Dict[str, 'MeshPolygonIntPropertyLayer'], typing. + List['MeshPolygonIntPropertyLayer'], 'bpy_prop_collection', 'PolygonIntProperties'] = None ''' - :type: typing.Union[typing.List['MeshPolygonIntPropertyLayer'], 'bpy_prop_collection', 'PolygonIntProperties'] + :type: typing.Union[typing.Dict[str, 'MeshPolygonIntPropertyLayer'], typing.List['MeshPolygonIntPropertyLayer'], 'bpy_prop_collection', 'PolygonIntProperties'] ''' polygon_layers_string: typing.Union[ - typing.List['MeshPolygonStringPropertyLayer'], 'bpy_prop_collection', + typing.Dict[str, 'MeshPolygonStringPropertyLayer'], typing. + List['MeshPolygonStringPropertyLayer'], 'bpy_prop_collection', 'PolygonStringProperties'] = None ''' - :type: typing.Union[typing.List['MeshPolygonStringPropertyLayer'], 'bpy_prop_collection', 'PolygonStringProperties'] + :type: typing.Union[typing.Dict[str, 'MeshPolygonStringPropertyLayer'], typing.List['MeshPolygonStringPropertyLayer'], 'bpy_prop_collection', 'PolygonStringProperties'] ''' - polygons: typing.Union[typing.List['MeshPolygon'], 'bpy_prop_collection', + polygons: typing.Union[typing.Dict[str, 'MeshPolygon'], typing. + List['MeshPolygon'], 'bpy_prop_collection', 'MeshPolygons'] = None ''' Polygons of the mesh - :type: typing.Union[typing.List['MeshPolygon'], 'bpy_prop_collection', 'MeshPolygons'] + :type: typing.Union[typing.Dict[str, 'MeshPolygon'], typing.List['MeshPolygon'], 'bpy_prop_collection', 'MeshPolygons'] ''' remesh_mode: typing.Union[int, str] = None @@ -53983,11 +56072,11 @@ class Mesh(ID, bpy_struct): ''' sculpt_vertex_colors: typing.Union[ - typing. + typing.Dict[str, 'MeshVertColorLayer'], typing. List['MeshVertColorLayer'], 'bpy_prop_collection', 'VertColors'] = None ''' All vertex colors - :type: typing.Union[typing.List['MeshVertColorLayer'], 'bpy_prop_collection', 'VertColors'] + :type: typing.Union[typing.Dict[str, 'MeshVertColorLayer'], typing.List['MeshVertColorLayer'], 'bpy_prop_collection', 'VertColors'] ''' shape_keys: 'Key' = None @@ -53996,11 +56085,12 @@ class Mesh(ID, bpy_struct): :type: 'Key' ''' - skin_vertices: typing.Union[typing.List['MeshSkinVertexLayer'], - 'bpy_prop_collection'] = None + skin_vertices: typing.Union[ + typing.Dict[str, 'MeshSkinVertexLayer'], typing. + List['MeshSkinVertexLayer'], 'bpy_prop_collection'] = None ''' All skin vertices - :type: typing.Union[typing.List['MeshSkinVertexLayer'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshSkinVertexLayer'], typing.List['MeshSkinVertexLayer'], 'bpy_prop_collection'] ''' texco_mesh: 'Mesh' = None @@ -54081,20 +56171,26 @@ class Mesh(ID, bpy_struct): :type: bool ''' + use_mirror_vertex_group_x: bool = None + ''' Mirror the left/right vertex groups when painting + + :type: bool + ''' + use_mirror_x: bool = None - ''' X Axis mirror editing + ''' Enable symmetry in the X axis :type: bool ''' use_mirror_y: bool = None - ''' Y Axis mirror editing + ''' Enable symmetry in the Y axis :type: bool ''' use_mirror_z: bool = None - ''' Z Axis mirror editing + ''' Enable symmetry in the Z axis :type: bool ''' @@ -54171,56 +56267,63 @@ class Mesh(ID, bpy_struct): :type: int ''' - uv_layers: typing.Union[typing.List['MeshUVLoopLayer'], - 'bpy_prop_collection', 'UVLoopLayers'] = None + uv_layers: typing.Union[typing.Dict[str, 'MeshUVLoopLayer'], typing. + List['MeshUVLoopLayer'], 'bpy_prop_collection', + 'UVLoopLayers'] = None ''' All UV loop layers - :type: typing.Union[typing.List['MeshUVLoopLayer'], 'bpy_prop_collection', 'UVLoopLayers'] + :type: typing.Union[typing.Dict[str, 'MeshUVLoopLayer'], typing.List['MeshUVLoopLayer'], 'bpy_prop_collection', 'UVLoopLayers'] ''' - vertex_colors: typing.Union[typing.List['MeshLoopColorLayer'], + vertex_colors: typing.Union[typing.Dict[str, 'MeshLoopColorLayer'], typing. + List['MeshLoopColorLayer'], 'bpy_prop_collection', 'LoopColors'] = None ''' All vertex colors - :type: typing.Union[typing.List['MeshLoopColorLayer'], 'bpy_prop_collection', 'LoopColors'] + :type: typing.Union[typing.Dict[str, 'MeshLoopColorLayer'], typing.List['MeshLoopColorLayer'], 'bpy_prop_collection', 'LoopColors'] ''' vertex_layers_float: typing.Union[ - typing.List['MeshVertexFloatPropertyLayer'], 'bpy_prop_collection', + typing.Dict[str, 'MeshVertexFloatPropertyLayer'], typing. + List['MeshVertexFloatPropertyLayer'], 'bpy_prop_collection', 'VertexFloatProperties'] = None ''' - :type: typing.Union[typing.List['MeshVertexFloatPropertyLayer'], 'bpy_prop_collection', 'VertexFloatProperties'] + :type: typing.Union[typing.Dict[str, 'MeshVertexFloatPropertyLayer'], typing.List['MeshVertexFloatPropertyLayer'], 'bpy_prop_collection', 'VertexFloatProperties'] ''' - vertex_layers_int: typing.Union[typing.List['MeshVertexIntPropertyLayer'], - 'bpy_prop_collection', - 'VertexIntProperties'] = None + vertex_layers_int: typing.Union[ + typing.Dict[str, 'MeshVertexIntPropertyLayer'], typing. + List['MeshVertexIntPropertyLayer'], 'bpy_prop_collection', + 'VertexIntProperties'] = None ''' - :type: typing.Union[typing.List['MeshVertexIntPropertyLayer'], 'bpy_prop_collection', 'VertexIntProperties'] + :type: typing.Union[typing.Dict[str, 'MeshVertexIntPropertyLayer'], typing.List['MeshVertexIntPropertyLayer'], 'bpy_prop_collection', 'VertexIntProperties'] ''' vertex_layers_string: typing.Union[ - typing.List['MeshVertexStringPropertyLayer'], 'bpy_prop_collection', + typing.Dict[str, 'MeshVertexStringPropertyLayer'], typing. + List['MeshVertexStringPropertyLayer'], 'bpy_prop_collection', 'VertexStringProperties'] = None ''' - :type: typing.Union[typing.List['MeshVertexStringPropertyLayer'], 'bpy_prop_collection', 'VertexStringProperties'] + :type: typing.Union[typing.Dict[str, 'MeshVertexStringPropertyLayer'], typing.List['MeshVertexStringPropertyLayer'], 'bpy_prop_collection', 'VertexStringProperties'] ''' - vertex_paint_masks: typing.Union[typing.List['MeshPaintMaskLayer'], - 'bpy_prop_collection'] = None + vertex_paint_masks: typing.Union[ + typing.Dict[str, 'MeshPaintMaskLayer'], typing. + List['MeshPaintMaskLayer'], 'bpy_prop_collection'] = None ''' Vertex paint mask - :type: typing.Union[typing.List['MeshPaintMaskLayer'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MeshPaintMaskLayer'], typing.List['MeshPaintMaskLayer'], 'bpy_prop_collection'] ''' - vertices: typing.Union[typing.List['MeshVertex'], 'bpy_prop_collection', + vertices: typing.Union[typing.Dict[str, 'MeshVertex'], typing. + List['MeshVertex'], 'bpy_prop_collection', 'MeshVertices'] = None ''' Vertices of the mesh - :type: typing.Union[typing.List['MeshVertex'], 'bpy_prop_collection', 'MeshVertices'] + :type: typing.Union[typing.Dict[str, 'MeshVertex'], typing.List['MeshVertex'], 'bpy_prop_collection', 'MeshVertices'] ''' edge_keys = None @@ -54432,11 +56535,12 @@ class MetaBall(ID, bpy_struct): cycles = None ''' Cycles mesh settings''' - elements: typing.Union[typing.List['MetaElement'], 'bpy_prop_collection', + elements: typing.Union[typing.Dict[str, 'MetaElement'], typing. + List['MetaElement'], 'bpy_prop_collection', 'MetaBallElements'] = None ''' Meta elements - :type: typing.Union[typing.List['MetaElement'], 'bpy_prop_collection', 'MetaBallElements'] + :type: typing.Union[typing.Dict[str, 'MetaElement'], typing.List['MetaElement'], 'bpy_prop_collection', 'MetaBallElements'] ''' is_editmode: bool = None @@ -54445,11 +56549,12 @@ class MetaBall(ID, bpy_struct): :type: bool ''' - materials: typing.Union[typing.List['Material'], 'bpy_prop_collection', + materials: typing.Union[typing.Dict[str, 'Material'], typing. + List['Material'], 'bpy_prop_collection', 'IDMaterials'] = None ''' - :type: typing.Union[typing.List['Material'], 'bpy_prop_collection', 'IDMaterials'] + :type: typing.Union[typing.Dict[str, 'Material'], typing.List['Material'], 'bpy_prop_collection', 'IDMaterials'] ''' render_resolution: float = None @@ -54571,7 +56676,7 @@ class MovieClip(ID, bpy_struct): ''' frame_offset: int = None - ''' Offset of footage first frame relative to it's file name (affects only how footage is loading, does not change data associated with a clip) + ''' Offset of footage first frame relative to its file name (affects only how footage is loading, does not change data associated with a clip) :type: int ''' @@ -54706,36 +56811,38 @@ class NodeTree(ID, bpy_struct): :type: 'GreasePencil' ''' - inputs: typing.Union[typing.List['NodeSocketInterface'], - 'bpy_prop_collection', 'NodeTreeInputs'] = None + inputs: typing.Union[typing.Dict[str, 'NodeSocketInterface'], typing. + List['NodeSocketInterface'], 'bpy_prop_collection', + 'NodeTreeInputs'] = None ''' Node tree inputs - :type: typing.Union[typing.List['NodeSocketInterface'], 'bpy_prop_collection', 'NodeTreeInputs'] + :type: typing.Union[typing.Dict[str, 'NodeSocketInterface'], typing.List['NodeSocketInterface'], 'bpy_prop_collection', 'NodeTreeInputs'] ''' - links: typing.Union[typing.List['NodeLink'], 'bpy_prop_collection', - 'NodeLinks'] = None + links: typing.Union[typing.Dict[str, 'NodeLink'], typing.List['NodeLink'], + 'bpy_prop_collection', 'NodeLinks'] = None ''' - :type: typing.Union[typing.List['NodeLink'], 'bpy_prop_collection', 'NodeLinks'] + :type: typing.Union[typing.Dict[str, 'NodeLink'], typing.List['NodeLink'], 'bpy_prop_collection', 'NodeLinks'] ''' - nodes: typing.Union[typing. + nodes: typing.Union[typing.Dict[str, 'Node'], typing. List['Node'], 'bpy_prop_collection', 'Nodes'] = None ''' - :type: typing.Union[typing.List['Node'], 'bpy_prop_collection', 'Nodes'] + :type: typing.Union[typing.Dict[str, 'Node'], typing.List['Node'], 'bpy_prop_collection', 'Nodes'] ''' - outputs: typing.Union[typing.List['NodeSocketInterface'], - 'bpy_prop_collection', 'NodeTreeOutputs'] = None + outputs: typing.Union[typing.Dict[str, 'NodeSocketInterface'], typing. + List['NodeSocketInterface'], 'bpy_prop_collection', + 'NodeTreeOutputs'] = None ''' Node tree outputs - :type: typing.Union[typing.List['NodeSocketInterface'], 'bpy_prop_collection', 'NodeTreeOutputs'] + :type: typing.Union[typing.Dict[str, 'NodeSocketInterface'], typing.List['NodeSocketInterface'], 'bpy_prop_collection', 'NodeTreeOutputs'] ''' type: typing.Union[int, str] = None - ''' Node Tree type (deprecated, bl_idname is the actual node tree type identifier) * SHADER Shader, Shader nodes. * TEXTURE Texture, Texture nodes. * COMPOSITING Compositing, Compositing nodes. * SIMULATION Simulation, Simulation nodes. + ''' Node Tree type (deprecated, bl_idname is the actual node tree type identifier) * SHADER Shader, Shader nodes. * TEXTURE Texture, Texture nodes. * COMPOSITING Compositing, Compositing nodes. * GEOMETRY Geometry, Geometry nodes. :type: typing.Union[int, str] ''' @@ -54858,11 +56965,12 @@ class Object(ID, bpy_struct): :type: typing.List[float] ''' - constraints: typing.Union[typing.List['Constraint'], 'bpy_prop_collection', + constraints: typing.Union[typing.Dict[str, 'Constraint'], typing. + List['Constraint'], 'bpy_prop_collection', 'ObjectConstraints'] = None ''' Constraints affecting the transformation of the object - :type: typing.Union[typing.List['Constraint'], 'bpy_prop_collection', 'ObjectConstraints'] + :type: typing.Union[typing.Dict[str, 'Constraint'], typing.List['Constraint'], 'bpy_prop_collection', 'ObjectConstraints'] ''' cycles = None @@ -54908,7 +57016,7 @@ class Object(ID, bpy_struct): ''' display: 'ObjectDisplay' = None - ''' Object display settings for 3d viewport + ''' Object display settings for 3D viewport :type: 'ObjectDisplay' ''' @@ -54955,11 +57063,12 @@ class Object(ID, bpy_struct): :type: typing.Union[int, str] ''' - face_maps: typing.Union[typing.List['FaceMap'], 'bpy_prop_collection', + face_maps: typing.Union[typing.Dict[str, 'FaceMap'], typing. + List['FaceMap'], 'bpy_prop_collection', 'FaceMaps'] = None ''' Maps of faces of the object - :type: typing.Union[typing.List['FaceMap'], 'bpy_prop_collection', 'FaceMaps'] + :type: typing.Union[typing.Dict[str, 'FaceMap'], typing.List['FaceMap'], 'bpy_prop_collection', 'FaceMaps'] ''' field: 'FieldSettings' = None @@ -54968,12 +57077,12 @@ class Object(ID, bpy_struct): :type: 'FieldSettings' ''' - grease_pencil_modifiers: typing.Union[typing.List['GpencilModifier'], - 'bpy_prop_collection', - 'ObjectGpencilModifiers'] = None + grease_pencil_modifiers: typing.Union[ + typing.Dict[str, 'GpencilModifier'], typing.List['GpencilModifier'], + 'bpy_prop_collection', 'ObjectGpencilModifiers'] = None ''' Modifiers affecting the data of the grease pencil object - :type: typing.Union[typing.List['GpencilModifier'], 'bpy_prop_collection', 'ObjectGpencilModifiers'] + :type: typing.Union[typing.Dict[str, 'GpencilModifier'], typing.List['GpencilModifier'], 'bpy_prop_collection', 'ObjectGpencilModifiers'] ''' hide_render: bool = None @@ -55072,11 +57181,12 @@ class Object(ID, bpy_struct): :type: typing.List[bool] ''' - material_slots: typing.Union[typing.List['MaterialSlot'], + material_slots: typing.Union[typing.Dict[str, 'MaterialSlot'], typing. + List['MaterialSlot'], 'bpy_prop_collection'] = None ''' Material slots in the object - :type: typing.Union[typing.List['MaterialSlot'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'MaterialSlot'], typing.List['MaterialSlot'], 'bpy_prop_collection'] ''' matrix_basis: typing.List[float] = None @@ -55109,11 +57219,12 @@ class Object(ID, bpy_struct): :type: typing.Union[int, str] ''' - modifiers: typing.Union[typing.List['Modifier'], 'bpy_prop_collection', + modifiers: typing.Union[typing.Dict[str, 'Modifier'], typing. + List['Modifier'], 'bpy_prop_collection', 'ObjectModifiers'] = None ''' Modifiers affecting the geometric data of the object - :type: typing.Union[typing.List['Modifier'], 'bpy_prop_collection', 'ObjectModifiers'] + :type: typing.Union[typing.Dict[str, 'Modifier'], typing.List['Modifier'], 'bpy_prop_collection', 'ObjectModifiers'] ''' motion_path: 'MotionPath' = None @@ -55123,7 +57234,7 @@ class Object(ID, bpy_struct): ''' parent: 'Object' = None - ''' Parent Object + ''' Parent object :type: 'Object' ''' @@ -55146,11 +57257,12 @@ class Object(ID, bpy_struct): :type: typing.List[int] ''' - particle_systems: typing.Union[typing.List[ - 'ParticleSystem'], 'bpy_prop_collection', 'ParticleSystems'] = None + particle_systems: typing.Union[ + typing.Dict[str, 'ParticleSystem'], typing.List['ParticleSystem'], + 'bpy_prop_collection', 'ParticleSystems'] = None ''' Particle systems emitted from the object - :type: typing.Union[typing.List['ParticleSystem'], 'bpy_prop_collection', 'ParticleSystems'] + :type: typing.Union[typing.Dict[str, 'ParticleSystem'], typing.List['ParticleSystem'], 'bpy_prop_collection', 'ParticleSystems'] ''' pass_index: int = None @@ -55225,12 +57337,12 @@ class Object(ID, bpy_struct): :type: typing.List[float] ''' - shader_effects: typing.Union[typing. + shader_effects: typing.Union[typing.Dict[str, 'ShaderFx'], typing. List['ShaderFx'], 'bpy_prop_collection', 'ObjectShaderFx'] = None ''' Effects affecting display of object - :type: typing.Union[typing.List['ShaderFx'], 'bpy_prop_collection', 'ObjectShaderFx'] + :type: typing.Union[typing.Dict[str, 'ShaderFx'], typing.List['ShaderFx'], 'bpy_prop_collection', 'ObjectShaderFx'] ''' show_all_edges: bool = None @@ -55294,7 +57406,7 @@ class Object(ID, bpy_struct): ''' show_only_shape_key: bool = None - ''' Always show the current Shape for this Object + ''' Always show the current shape for this object :type: bool ''' @@ -55324,23 +57436,29 @@ class Object(ID, bpy_struct): ''' track_axis: typing.Union[int, str] = None - ''' Axis that points in 'forward' direction (applies to InstanceFrame when parent 'Follow' is enabled) + ''' Axis that points in the 'forward' direction (applies to Instance Vertices when Align to Vertex Normal is enabled) :type: typing.Union[int, str] ''' type: typing.Union[int, str] = None - ''' Type of Object + ''' Type of object :type: typing.Union[int, str] ''' up_axis: typing.Union[int, str] = None - ''' Axis that points in the upward direction (applies to InstanceFrame when parent 'Follow' is enabled) + ''' Axis that points in the upward direction (applies to Instance Vertices when Align to Vertex Normal is enabled) :type: typing.Union[int, str] ''' + use_camera_lock_parent: bool = None + ''' View Lock 3D viewport camera transformation affects the object's parent instead + + :type: bool + ''' + use_dynamic_topology_sculpting: bool = None ''' @@ -55372,16 +57490,17 @@ class Object(ID, bpy_struct): ''' use_shape_key_edit_mode: bool = None - ''' Apply shape keys in edit mode (for Meshes only) + ''' Apply shape keys in edit mode (for meshes only) :type: bool ''' - vertex_groups: typing.Union[typing.List['VertexGroup'], - 'bpy_prop_collection', 'VertexGroups'] = None + vertex_groups: typing.Union[typing.Dict[str, 'VertexGroup'], typing. + List['VertexGroup'], 'bpy_prop_collection', + 'VertexGroups'] = None ''' Vertex groups of the object - :type: typing.Union[typing.List['VertexGroup'], 'bpy_prop_collection', 'VertexGroups'] + :type: typing.Union[typing.Dict[str, 'VertexGroup'], typing.List['VertexGroup'], 'bpy_prop_collection', 'VertexGroups'] ''' children = None @@ -55684,17 +57803,20 @@ def cache_release(self): pass def generate_gpencil_strokes(self, - ob_gpencil: 'Object', - gpencil_lines: bool = False, - use_collections: bool = True) -> bool: + grease_pencil_object: 'Object', + use_collections: bool = True, + scale_thickness: float = 1.0, + sample: float = 0.0) -> bool: ''' Convert a curve object to grease pencil strokes. - :param ob_gpencil: Grease Pencil object used to create new strokes - :type ob_gpencil: 'Object' - :param gpencil_lines: Create Lines - :type gpencil_lines: bool + :param grease_pencil_object: Grease Pencil object used to create new strokes + :type grease_pencil_object: 'Object' :param use_collections: Use Collections :type use_collections: bool + :param scale_thickness: Thickness scaling factor + :type scale_thickness: float + :param sample: Sample distance, zero to disable + :type sample: float :rtype: bool :return: Result ''' @@ -55746,11 +57868,12 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class Palette(ID, bpy_struct): - colors: typing.Union[typing.List['PaletteColor'], 'bpy_prop_collection', + colors: typing.Union[typing.Dict[str, 'PaletteColor'], typing. + List['PaletteColor'], 'bpy_prop_collection', 'PaletteColors'] = None ''' - :type: typing.Union[typing.List['PaletteColor'], 'bpy_prop_collection', 'PaletteColors'] + :type: typing.Union[typing.Dict[str, 'PaletteColor'], typing.List['PaletteColor'], 'bpy_prop_collection', 'PaletteColors'] ''' @classmethod @@ -55978,7 +58101,7 @@ class ParticleSettings(ID, bpy_struct): ''' courant_target: float = None - ''' The relative distance a particle can move before requiring more subframes (target Courant number); 0.01-0.3 is the recommended range + ''' The relative distance a particle can move before requiring more subframes (target Courant number); 0.01 to 0.3 is the recommended range :type: float ''' @@ -56032,7 +58155,7 @@ class ParticleSettings(ID, bpy_struct): ''' drag_factor: float = None - ''' Amount of air-drag + ''' Amount of air drag :type: float ''' @@ -56139,11 +58262,12 @@ class ParticleSettings(ID, bpy_struct): :type: 'Object' ''' - instance_weights: typing.Union[typing.List['ParticleDupliWeight'], - 'bpy_prop_collection'] = None + instance_weights: typing.Union[ + typing.Dict[str, 'ParticleDupliWeight'], typing. + List['ParticleDupliWeight'], 'bpy_prop_collection'] = None ''' Weights for all of the objects in the dupli collection - :type: typing.Union[typing.List['ParticleDupliWeight'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ParticleDupliWeight'], typing.List['ParticleDupliWeight'], 'bpy_prop_collection'] ''' integrator: typing.Union[int, str] = None @@ -56411,31 +58535,31 @@ class ParticleSettings(ID, bpy_struct): ''' roughness_1: float = None - ''' Amount of location dependent rough + ''' Amount of location dependent roughness :type: float ''' roughness_1_size: float = None - ''' Size of location dependent rough + ''' Size of location dependent roughness :type: float ''' roughness_2: float = None - ''' Amount of random rough + ''' Amount of random roughness :type: float ''' roughness_2_size: float = None - ''' Size of random rough + ''' Size of random roughness :type: float ''' roughness_2_threshold: float = None - ''' Amount of particles left untouched by random rough + ''' Amount of particles left untouched by random roughness :type: float ''' @@ -56447,13 +58571,13 @@ class ParticleSettings(ID, bpy_struct): ''' roughness_end_shape: float = None - ''' Shape of end point rough + ''' Shape of endpoint roughness :type: float ''' roughness_endpoint: float = None - ''' Amount of end point rough + ''' Amount of endpoint roughness :type: float ''' @@ -56530,12 +58654,13 @@ class ParticleSettings(ID, bpy_struct): :type: float ''' - texture_slots: typing.Union[typing.List['ParticleSettingsTextureSlot'], - 'bpy_prop_collection', - 'ParticleSettingsTextureSlots'] = None + texture_slots: typing.Union[ + typing.Dict[str, 'ParticleSettingsTextureSlot'], typing. + List['ParticleSettingsTextureSlot'], 'bpy_prop_collection', + 'ParticleSettingsTextureSlots'] = None ''' Texture slots defining the mapping and influence of textures - :type: typing.Union[typing.List['ParticleSettingsTextureSlot'], 'bpy_prop_collection', 'ParticleSettingsTextureSlots'] + :type: typing.Union[typing.Dict[str, 'ParticleSettingsTextureSlot'], typing.List['ParticleSettingsTextureSlot'], 'bpy_prop_collection', 'ParticleSettingsTextureSlots'] ''' time_tweak: float = None @@ -56575,7 +58700,7 @@ class ParticleSettings(ID, bpy_struct): ''' type: typing.Union[int, str] = None - ''' Particle Type + ''' Particle type :type: typing.Union[int, str] ''' @@ -56773,7 +58898,7 @@ class ParticleSettings(ID, bpy_struct): ''' userjit: int = None - ''' Emission locations / face (0 = automatic) + ''' Emission locations per face (0 = automatic) :type: int ''' @@ -56877,7 +59002,7 @@ class Scene(ID, bpy_struct): ''' Cycles hair rendering settings''' display: 'SceneDisplay' = None - ''' Scene display settings for 3d viewport + ''' Scene display settings for 3D viewport :type: 'SceneDisplay' ''' @@ -56889,13 +59014,13 @@ class Scene(ID, bpy_struct): ''' eevee: 'SceneEEVEE' = None - ''' EEVEE settings for the scene + ''' Eevee settings for the scene :type: 'SceneEEVEE' ''' frame_current: int = None - ''' Current Frame, to update animation data from python frame_set() instead + ''' Current frame, to update animation data from python frame_set() instead :type: int ''' @@ -56972,19 +59097,20 @@ class Scene(ID, bpy_struct): :type: bool ''' - keying_sets: typing.Union[typing.List['KeyingSet'], 'bpy_prop_collection', + keying_sets: typing.Union[typing.Dict[str, 'KeyingSet'], typing. + List['KeyingSet'], 'bpy_prop_collection', 'KeyingSets'] = None ''' Absolute Keying Sets for this Scene - :type: typing.Union[typing.List['KeyingSet'], 'bpy_prop_collection', 'KeyingSets'] + :type: typing.Union[typing.Dict[str, 'KeyingSet'], typing.List['KeyingSet'], 'bpy_prop_collection', 'KeyingSets'] ''' - keying_sets_all: typing.Union[typing. + keying_sets_all: typing.Union[typing.Dict[str, 'KeyingSet'], typing. List['KeyingSet'], 'bpy_prop_collection', 'KeyingSetsAll'] = None ''' All Keying Sets available for use (Builtins and Absolute Keying Sets for this Scene) - :type: typing.Union[typing.List['KeyingSet'], 'bpy_prop_collection', 'KeyingSetsAll'] + :type: typing.Union[typing.Dict[str, 'KeyingSet'], typing.List['KeyingSet'], 'bpy_prop_collection', 'KeyingSetsAll'] ''' lock_frame_selection_to_range: bool = None @@ -56999,11 +59125,11 @@ class Scene(ID, bpy_struct): :type: 'NodeTree' ''' - objects: typing.Union[typing.List['Object'], 'bpy_prop_collection', - 'SceneObjects'] = None + objects: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], + 'bpy_prop_collection', 'SceneObjects'] = None ''' - :type: typing.Union[typing.List['Object'], 'bpy_prop_collection', 'SceneObjects'] + :type: typing.Union[typing.Dict[str, 'Object'], typing.List['Object'], 'bpy_prop_collection', 'SceneObjects'] ''' render: 'RenderSettings' = None @@ -57037,7 +59163,7 @@ class Scene(ID, bpy_struct): ''' show_keys_from_selected_only: bool = None - ''' Consider keyframes for active Object and/or its selected bones only (in timeline and when jumping between keyframes) + ''' Consider keyframes for active object and/or its selected bones only (in timeline and when jumping between keyframes) :type: bool ''' @@ -57049,16 +59175,17 @@ class Scene(ID, bpy_struct): ''' sync_mode: typing.Union[int, str] = None - ''' How to sync playback * NONE No Sync, Do not sync, play every frame. * FRAME_DROP Frame Dropping, Drop frames if playback is too slow. * AUDIO_SYNC AV-sync, Sync to audio playback, dropping frames. + ''' How to sync playback * NONE Play Every Frame, Do not sync, play every frame. * FRAME_DROP Frame Dropping, Drop frames if playback is too slow. * AUDIO_SYNC Sync to Audio, Sync to audio playback, dropping frames. :type: typing.Union[int, str] ''' - timeline_markers: typing.Union[typing.List[ - 'TimelineMarker'], 'bpy_prop_collection', 'TimelineMarkers'] = None + timeline_markers: typing.Union[ + typing.Dict[str, 'TimelineMarker'], typing.List['TimelineMarker'], + 'bpy_prop_collection', 'TimelineMarkers'] = None ''' Markers used in all timelines for the current scene - :type: typing.Union[typing.List['TimelineMarker'], 'bpy_prop_collection', 'TimelineMarkers'] + :type: typing.Union[typing.Dict[str, 'TimelineMarker'], typing.List['TimelineMarker'], 'bpy_prop_collection', 'TimelineMarkers'] ''' tool_settings: 'ToolSettings' = None @@ -57068,10 +59195,11 @@ class Scene(ID, bpy_struct): ''' transform_orientation_slots: typing.Union[ - typing.List['TransformOrientationSlot'], 'bpy_prop_collection'] = None + typing.Dict[str, 'TransformOrientationSlot'], typing. + List['TransformOrientationSlot'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['TransformOrientationSlot'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'TransformOrientationSlot'], typing.List['TransformOrientationSlot'], 'bpy_prop_collection'] ''' unit_settings: 'UnitSettings' = None @@ -57116,11 +59244,12 @@ class Scene(ID, bpy_struct): :type: str ''' - view_layers: typing.Union[typing.List['ViewLayer'], 'bpy_prop_collection', + view_layers: typing.Union[typing.Dict[str, 'ViewLayer'], typing. + List['ViewLayer'], 'bpy_prop_collection', 'ViewLayers'] = None ''' - :type: typing.Union[typing.List['ViewLayer'], 'bpy_prop_collection', 'ViewLayers'] + :type: typing.Union[typing.Dict[str, 'ViewLayer'], typing.List['ViewLayer'], 'bpy_prop_collection', 'ViewLayers'] ''' view_settings: 'ColorManagedViewSettings' = None @@ -57150,7 +59279,7 @@ def frame_set(self, frame: int, subframe: float = 0.0): :param frame: Frame number to set :type frame: int - :param subframe: Sub-frame time, between 0.0 and 1.0 + :param subframe: Subframe time, between 0.0 and 1.0 :type subframe: float ''' pass @@ -57166,14 +59295,14 @@ def uvedit_aspect(self, object: 'Object') -> typing.List[float]: pass def ray_cast(self, - view_layer: 'ViewLayer', + depsgraph: 'Depsgraph', origin: typing.List[float], direction: typing.List[float], distance: float = 1.70141e+38): ''' Cast a ray onto in object space - :param view_layer: Scene Layer - :type view_layer: 'ViewLayer' + :param depsgraph: The current dependency graph + :type depsgraph: 'Depsgraph' :param origin: :type origin: typing.List[float] :param direction: @@ -57266,11 +59395,11 @@ def alembic_export(self, :type packuv: bool :param scale: Scale, Value by which to enlarge or shrink the objects with respect to the world's origin :type scale: float - :param triangulate: Triangulate, Export Polygons (Quads & NGons) as Triangles + :param triangulate: Triangulate, Export polygons (quads and n-gons) as triangles :type triangulate: bool - :param quad_method: Quad Method, Method for splitting the quads into triangles * BEAUTY Beauty , Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. + :param quad_method: Quad Method, Method for splitting the quads into triangles * BEAUTY Beauty, Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. :type quad_method: typing.Union[int, str] - :param ngon_method: Polygon Method, Method for splitting the polygons into triangles * BEAUTY Beauty , Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. + :param ngon_method: N-gon Method, Method for splitting the n-gons into triangles * BEAUTY Beauty, Arrange the new triangles evenly (slow). * CLIP Clip, Split the polygons with an ear clipping algorithm. :type ngon_method: typing.Union[int, str] ''' pass @@ -57301,10 +59430,11 @@ class Screen(ID, bpy_struct): ''' Screen data-block, defining the layout of areas in a window ''' - areas: typing.Union[typing.List['Area'], 'bpy_prop_collection'] = None + areas: typing.Union[typing.Dict[str, 'Area'], typing. + List['Area'], 'bpy_prop_collection'] = None ''' Areas the screen is subdivided into - :type: typing.Union[typing.List['Area'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Area'], typing.List['Area'], 'bpy_prop_collection'] ''' is_animation_playing: bool = None @@ -57332,7 +59462,7 @@ class Screen(ID, bpy_struct): ''' show_statusbar: bool = None - ''' Show Status Bar + ''' Show status bar :type: bool ''' @@ -57644,10 +59774,11 @@ class Text(ID, bpy_struct): :type: bool ''' - lines: typing.Union[typing.List['TextLine'], 'bpy_prop_collection'] = None + lines: typing.Union[typing.Dict[str, 'TextLine'], typing. + List['TextLine'], 'bpy_prop_collection'] = None ''' Lines of text - :type: typing.Union[typing.List['TextLine'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'TextLine'], typing.List['TextLine'], 'bpy_prop_collection'] ''' select_end_character: int = None @@ -57950,7 +60081,7 @@ class Volume(ID, bpy_struct): ''' display: 'VolumeDisplay' = None - ''' Volume display settings for 3d viewport + ''' Volume display settings for 3D viewport :type: 'VolumeDisplay' ''' @@ -57979,11 +60110,12 @@ class Volume(ID, bpy_struct): :type: int ''' - grids: typing.Union[typing.List['VolumeGrid'], 'bpy_prop_collection', + grids: typing.Union[typing.Dict[str, 'VolumeGrid'], typing. + List['VolumeGrid'], 'bpy_prop_collection', 'VolumeGrids'] = None ''' 3D volume grids - :type: typing.Union[typing.List['VolumeGrid'], 'bpy_prop_collection', 'VolumeGrids'] + :type: typing.Union[typing.Dict[str, 'VolumeGrid'], typing.List['VolumeGrid'], 'bpy_prop_collection', 'VolumeGrids'] ''' is_sequence: bool = None @@ -57992,11 +60124,12 @@ class Volume(ID, bpy_struct): :type: bool ''' - materials: typing.Union[typing.List['Material'], 'bpy_prop_collection', + materials: typing.Union[typing.Dict[str, 'Material'], typing. + List['Material'], 'bpy_prop_collection', 'IDMaterials'] = None ''' - :type: typing.Union[typing.List['Material'], 'bpy_prop_collection', 'IDMaterials'] + :type: typing.Union[typing.Dict[str, 'Material'], typing.List['Material'], 'bpy_prop_collection', 'IDMaterials'] ''' packed_file: 'PackedFile' = None @@ -58006,7 +60139,7 @@ class Volume(ID, bpy_struct): ''' render: 'VolumeRender' = None - ''' Volume render settings for 3d viewport + ''' Volume render settings for 3D viewport :type: 'VolumeRender' ''' @@ -58067,18 +60200,19 @@ class WindowManager(ID, bpy_struct): :type: bool ''' - keyconfigs: typing.Union[typing.List['KeyConfig'], 'bpy_prop_collection', + keyconfigs: typing.Union[typing.Dict[str, 'KeyConfig'], typing. + List['KeyConfig'], 'bpy_prop_collection', 'KeyConfigurations'] = None ''' Registered key configurations - :type: typing.Union[typing.List['KeyConfig'], 'bpy_prop_collection', 'KeyConfigurations'] + :type: typing.Union[typing.Dict[str, 'KeyConfig'], typing.List['KeyConfig'], 'bpy_prop_collection', 'KeyConfigurations'] ''' - operators: typing.Union[typing. + operators: typing.Union[typing.Dict[str, 'Operator'], typing. List['Operator'], 'bpy_prop_collection'] = None ''' Operator registry - :type: typing.Union[typing.List['Operator'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Operator'], typing.List['Operator'], 'bpy_prop_collection'] ''' preset_name: str = None @@ -58087,10 +60221,11 @@ class WindowManager(ID, bpy_struct): :type: str ''' - windows: typing.Union[typing.List['Window'], 'bpy_prop_collection'] = None + windows: typing.Union[typing.Dict[str, 'Window'], typing. + List['Window'], 'bpy_prop_collection'] = None ''' Open windows - :type: typing.Union[typing.List['Window'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Window'], typing.List['Window'], 'bpy_prop_collection'] ''' xr_session_settings: 'XrSessionSettings' = None @@ -58337,6 +60472,13 @@ def print_undo_steps(self): ''' pass + @classmethod + def tag_script_reload(cls): + ''' Tag for refreshing the interface after scripts have been reloaded + + ''' + pass + def popover(self, draw_func, *, @@ -58406,24 +60548,27 @@ class WorkSpace(ID, bpy_struct): :type: typing.Union[int, str] ''' - owner_ids: typing.Union[typing.List['wmOwnerID'], 'bpy_prop_collection', + owner_ids: typing.Union[typing.Dict[str, 'wmOwnerID'], typing. + List['wmOwnerID'], 'bpy_prop_collection', 'wmOwnerIDs'] = None ''' - :type: typing.Union[typing.List['wmOwnerID'], 'bpy_prop_collection', 'wmOwnerIDs'] + :type: typing.Union[typing.Dict[str, 'wmOwnerID'], typing.List['wmOwnerID'], 'bpy_prop_collection', 'wmOwnerIDs'] ''' - screens: typing.Union[typing.List['Screen'], 'bpy_prop_collection'] = None + screens: typing.Union[typing.Dict[str, 'Screen'], typing. + List['Screen'], 'bpy_prop_collection'] = None ''' Screen layouts of a workspace - :type: typing.Union[typing.List['Screen'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Screen'], typing.List['Screen'], 'bpy_prop_collection'] ''' - tools: typing.Union[typing.List['WorkSpaceTool'], 'bpy_prop_collection', + tools: typing.Union[typing.Dict[str, 'WorkSpaceTool'], typing. + List['WorkSpaceTool'], 'bpy_prop_collection', 'wmTools'] = None ''' - :type: typing.Union[typing.List['WorkSpaceTool'], 'bpy_prop_collection', 'wmTools'] + :type: typing.Union[typing.Dict[str, 'WorkSpaceTool'], typing.List['WorkSpaceTool'], 'bpy_prop_collection', 'wmTools'] ''' use_filter_by_owner: bool = None @@ -58542,19 +60687,19 @@ class Itasc(IKParam, bpy_struct): ''' damping_epsilon: float = None - ''' Singular value under which damping is progressively applied (higher values=more stability, less reactivity - default=0.1) + ''' Singular value under which damping is progressively applied (higher values produce results with more stability, less reactivity) :type: float ''' damping_max: float = None - ''' Maximum damping coefficient when singular value is nearly 0 (higher values=more stability, less reactivity - default=0.5) + ''' Maximum damping coefficient when singular value is nearly 0 (higher values produce results with more stability, less reactivity) :type: float ''' feedback: float = None - ''' Feedback coefficient for error correction, average response time is 1/feedback (default=20) + ''' Feedback coefficient for error correction, average response time is 1/feedback :type: float ''' @@ -58614,7 +60759,7 @@ class Itasc(IKParam, bpy_struct): ''' velocity_max: float = None - ''' Maximum joint velocity in rad/s (default=50) + ''' Maximum joint velocity in radians/second :type: float ''' @@ -59109,6 +61254,12 @@ class BooleanModifier(Modifier, bpy_struct): ''' Boolean operations modifier ''' + collection: 'Collection' = None + ''' Use mesh objects in this collection for Boolean operation + + :type: 'Collection' + ''' + debug_options: typing.Union[typing.Set[int], typing.Set[str]] = None ''' Debugging options, only when started with '-d' @@ -59127,12 +61278,30 @@ class BooleanModifier(Modifier, bpy_struct): :type: 'Object' ''' + operand_type: typing.Union[int, str] = None + ''' * OBJECT Object, Use a mesh object as the operand for the Boolean operation. * COLLECTION Collection, Use a collection of mesh objects as the operand for the Boolean operation. + + :type: typing.Union[int, str] + ''' + operation: typing.Union[int, str] = None - ''' * INTERSECT Intersect, Keep the part of the mesh that intersects with the other selected object. * UNION Union, Combine two meshes in an additive way. * DIFFERENCE Difference, Combine two meshes in a subtractive way. + ''' * INTERSECT Intersect, Keep the part of the mesh that is common between all operands. * UNION Union, Combine meshes in an additive way. * DIFFERENCE Difference, Combine meshes in a subtractive way. :type: typing.Union[int, str] ''' + solver: typing.Union[int, str] = None + ''' Method for calculating booleans * FAST Fast, Simple solver for the best performance, without support for overlapping geometry. * EXACT Exact, Advanced solver for the best result. + + :type: typing.Union[int, str] + ''' + + use_self: bool = None + ''' Allow self-intersection in operands + + :type: bool + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -59628,7 +61797,7 @@ class DataTransferModifier(Modifier, bpy_struct): ''' loop_mapping: typing.Union[int, str] = None - ''' Method used to map source faces' corners to destination ones * TOPOLOGY Topology, Copy from identical topology meshes. * NEAREST_NORMAL Nearest Corner And Best Matching Normal, Copy from nearest corner which has the best matching normal. * NEAREST_POLYNOR Nearest Corner And Best Matching Face Normal, Copy from nearest corner which has the face with the best matching normal to destination corner's face one. * NEAREST_POLY Nearest Corner Of Nearest Face, Copy from nearest corner of nearest polygon. * POLYINTERP_NEAREST Nearest Face Interpolated, Copy from interpolated corners of the nearest source polygon. * POLYINTERP_LNORPROJ Projected Face Interpolated, Copy from interpolated corners of the source polygon hit by corner normal projection. + ''' Method used to map source faces' corners to destination ones * TOPOLOGY Topology, Copy from identical topology meshes. * NEAREST_NORMAL Nearest Corner and Best Matching Normal, Copy from nearest corner which has the best matching normal. * NEAREST_POLYNOR Nearest Corner and Best Matching Face Normal, Copy from nearest corner which has the face with the best matching normal to destination corner's face one. * NEAREST_POLY Nearest Corner of Nearest Face, Copy from nearest corner of nearest polygon. * POLYINTERP_NEAREST Nearest Face Interpolated, Copy from interpolated corners of the nearest source polygon. * POLYINTERP_LNORPROJ Projected Face Interpolated, Copy from interpolated corners of the source polygon hit by corner normal projection. :type: typing.Union[int, str] ''' @@ -60584,7 +62753,7 @@ class MeshCacheModifier(Modifier, bpy_struct): ''' time_mode: typing.Union[int, str] = None - ''' Method to control playback time * FRAME Frame, Control playback using a frame-number (ignoring time FPS and start frame from the file). * TIME Time, Control playback using time in seconds. * FACTOR Factor, Control playback using a value between [0, 1]. + ''' Method to control playback time * FRAME Frame, Control playback using a frame-number (ignoring time FPS and start frame from the file). * TIME Time, Control playback using time in seconds. * FACTOR Factor, Control playback using a value between 0 and 1. :type: typing.Union[int, str] ''' @@ -60689,6 +62858,12 @@ class MeshSequenceCacheModifier(Modifier, bpy_struct): :type: 'CacheFile' ''' + has_velocity: bool = None + ''' + + :type: bool + ''' + object_path: str = None ''' Path to the object in the Alembic archive used to lookup geometric data @@ -60701,6 +62876,103 @@ class MeshSequenceCacheModifier(Modifier, bpy_struct): :type: typing.Union[typing.Set[int], typing.Set[str]] ''' + read_velocity: bool = None + ''' + + :type: bool + ''' + + use_vertex_interpolation: bool = None + ''' Allow interpolation of vertex positions + + :type: bool + ''' + + velocity_scale: float = None + ''' Multiplier used to control the magnitude of the velocity vectors for time effects + + :type: float + ''' + + vertex_velocities: typing.Union[ + typing.Dict[str, 'MeshCacheVertexVelocity'], typing. + List['MeshCacheVertexVelocity'], 'bpy_prop_collection'] = None + ''' Vertices of the fluid mesh generated by simulation + + :type: typing.Union[typing.Dict[str, 'MeshCacheVertexVelocity'], typing.List['MeshCacheVertexVelocity'], 'bpy_prop_collection'] + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class MeshToVolumeModifier(Modifier, bpy_struct): + density: float = None + ''' Density of the new volume + + :type: float + ''' + + exterior_band_width: float = None + ''' Width of the volume outside of the mesh + + :type: float + ''' + + interior_band_width: float = None + ''' Width of the volume inside of the mesh + + :type: float + ''' + + object: 'Object' = None + ''' Object + + :type: 'Object' + ''' + + resolution_mode: typing.Union[int, str] = None + ''' Mode for how the desired voxel size is specified * VOXEL_AMOUNT Voxel Amount, Desired number of voxels along one axis. * VOXEL_SIZE Voxel Size, Desired voxel side length. + + :type: typing.Union[int, str] + ''' + + use_fill_volume: bool = None + ''' Initialize the density grid in every cell inside the enclosed volume + + :type: bool + ''' + + voxel_amount: int = None + ''' Approximate number of voxels along one axis + + :type: int + ''' + + voxel_size: float = None + ''' Smaller values result in a higher resolution output + + :type: float + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -60843,6 +63115,12 @@ class MultiresModifier(Modifier, bpy_struct): ''' Multiresolution mesh modifier ''' + boundary_smooth: typing.Union[int, str] = None + ''' Controls how open boundaries are smoothed * PRESERVE_CORNERS Keep Corners, Smooth boundaries, but corners are kept sharp. * ALL All, Smooth boundaries, including corners. + + :type: typing.Union[int, str] + ''' + filepath: str = None ''' Path to external displacements file @@ -60885,12 +63163,6 @@ class MultiresModifier(Modifier, bpy_struct): :type: bool ''' - subdivision_type: typing.Union[int, str] = None - ''' Select type of subdivision algorithm - - :type: typing.Union[int, str] - ''' - total_levels: int = None ''' Number of subdivisions for which displacements are stored @@ -60909,8 +63181,14 @@ class MultiresModifier(Modifier, bpy_struct): :type: bool ''' + use_sculpt_base_mesh: bool = None + ''' Make Sculpt Mode tools deform the base mesh while previewing the displacement of higher subdivision levels + + :type: bool + ''' + uv_smooth: typing.Union[int, str] = None - ''' Controls how smoothing is applied to UVs * NONE Sharp, UVs are not smoothed, boundaries are kept sharp. * PRESERVE_CORNERS Smooth, keep corners, UVs are smoothed, corners on discontinuous boundary are kept sharp. + ''' Controls how smoothing is applied to UVs * NONE None, UVs are not smoothed, boundaries are kept sharp. * PRESERVE_CORNERS Keep Corners, UVs are smoothed, corners on discontinuous boundary are kept sharp. * PRESERVE_BOUNDARIES All, UVs and boundaries are smoothed. :type: typing.Union[int, str] ''' @@ -60937,6 +63215,35 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class NodesModifier(Modifier, bpy_struct): + node_group: 'NodeTree' = None + ''' Node group that controls what this modifier does + + :type: 'NodeTree' + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class NormalEditModifier(Modifier, bpy_struct): ''' Modifier affecting/generating custom normals ''' @@ -61124,7 +63431,7 @@ class OceanModifier(Modifier, bpy_struct): ''' resolution: int = None - ''' Resolution of the generated surface + ''' Resolution of the generated surface for rendering and baking :type: int ''' @@ -61183,6 +63490,12 @@ class OceanModifier(Modifier, bpy_struct): :type: bool ''' + viewport_resolution: int = None + ''' Viewport resolution of the generated surface + + :type: int + ''' + wave_alignment: float = None ''' How much the waves are aligned to each other @@ -61582,13 +63895,13 @@ class ScrewModifier(Modifier, bpy_struct): ''' use_stretch_u: bool = None - ''' Stretch the U coordinates between 0-1 when UV's are present + ''' Stretch the U coordinates between 0 and 1 when UV's are present :type: bool ''' use_stretch_v: bool = None - ''' Stretch the V coordinates between 0-1 when UV's are present + ''' Stretch the V coordinates between 0 and 1 when UV's are present :type: bool ''' @@ -62171,6 +64484,12 @@ class SubsurfModifier(Modifier, bpy_struct): ''' Subdivision surface modifier ''' + boundary_smooth: typing.Union[int, str] = None + ''' Controls how open boundaries are smoothed * PRESERVE_CORNERS Keep Corners, Smooth boundaries, but corners are kept sharp. * ALL All, Smooth boundaries, including corners. + + :type: typing.Union[int, str] + ''' + levels: int = None ''' Number of subdivisions to perform @@ -62213,8 +64532,14 @@ class SubsurfModifier(Modifier, bpy_struct): :type: bool ''' + use_limit_surface: bool = None + ''' Place vertices at the surface that would be produced with infinite levels of subdivision (smoothest possible shape) + + :type: bool + ''' + uv_smooth: typing.Union[int, str] = None - ''' Controls how smoothing is applied to UVs * NONE Sharp, UVs are not smoothed, boundaries are kept sharp. * PRESERVE_CORNERS Smooth, keep corners, UVs are smoothed, corners on discontinuous boundary are kept sharp. + ''' Controls how smoothing is applied to UVs * NONE None, UVs are not smoothed, boundaries are kept sharp. * PRESERVE_CORNERS Keep Corners, UVs are smoothed, corners on discontinuous boundary are kept sharp. * PRESERVE_BOUNDARIES All, UVs and boundaries are smoothed. :type: typing.Union[int, str] ''' @@ -62343,13 +64668,13 @@ class TriangulateModifier(Modifier, bpy_struct): ''' ngon_method: typing.Union[int, str] = None - ''' Method for splitting the polygons into triangles * BEAUTY Beauty, Arrange the new triangles evenly (slow). * CLIP Clip, Split the polygons with an ear clipping algorithm. + ''' Method for splitting the n-gons into triangles * BEAUTY Beauty, Arrange the new triangles evenly (slow). * CLIP Clip, Split the polygons with an ear clipping algorithm. :type: typing.Union[int, str] ''' quad_method: typing.Union[int, str] = None - ''' Method for splitting the quads into triangles * BEAUTY Beauty , Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. + ''' Method for splitting the quads into triangles * BEAUTY Beauty, Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. :type: typing.Union[int, str] ''' @@ -62398,11 +64723,11 @@ class UVProjectModifier(Modifier, bpy_struct): :type: int ''' - projectors: typing.Union[typing. + projectors: typing.Union[typing.Dict[str, 'UVProjector'], typing. List['UVProjector'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['UVProjector'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'UVProjector'], typing.List['UVProjector'], 'bpy_prop_collection'] ''' scale_x: float = None @@ -62638,7 +64963,7 @@ class VertexWeightEditModifier(Modifier, bpy_struct): ''' normalize: bool = None - ''' Normalize the resulting weights (otherwise they are only clamped within [0.0, 1.0] range) + ''' Normalize the resulting weights (otherwise they are only clamped within 0.0 to 1.0 range) :type: bool ''' @@ -62784,7 +65109,7 @@ class VertexWeightMixModifier(Modifier, bpy_struct): ''' normalize: bool = None - ''' Normalize the resulting weights (otherwise they are only clamped within [0.0, 1.0] range) + ''' Normalize the resulting weights (otherwise they are only clamped within 0.0 to 1.0 range) :type: bool ''' @@ -62828,7 +65153,7 @@ class VertexWeightProximityModifier(Modifier, bpy_struct): ''' falloff_type: typing.Union[int, str] = None - ''' How weights are mapped to their new values * LINEAR Linear, Null action. * SHARP Sharp. * SMOOTH Smooth. * ROOT Root. * ICON_SPHERECURVE Sphere. * RANDOM Random. * STEP Median Step, Map all values below 0.5 to 0.0, and all others to 1.0. + ''' How weights are mapped to their new values * LINEAR Linear, Null action. * CURVE Custom Curve. * SHARP Sharp. * SMOOTH Smooth. * ROOT Root. * ICON_SPHERECURVE Sphere. * RANDOM Random. * STEP Median Step, Map all values below 0.5 to 0.0, and all others to 1.0. :type: typing.Union[int, str] ''' @@ -62845,6 +65170,12 @@ class VertexWeightProximityModifier(Modifier, bpy_struct): :type: bool ''' + map_curve: 'CurveMapping' = None + ''' Custom mapping curve + + :type: 'CurveMapping' + ''' + mask_constant: float = None ''' Global influence of current modifications on vgroup @@ -62906,7 +65237,7 @@ class VertexWeightProximityModifier(Modifier, bpy_struct): ''' normalize: bool = None - ''' Normalize the resulting weights (otherwise they are only clamped within [0.0, 1.0] range) + ''' Normalize the resulting weights (otherwise they are only clamped within 0.0 to 1.0 range) :type: bool ''' @@ -62957,6 +65288,136 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class VolumeDisplaceModifier(Modifier, bpy_struct): + strength: float = None + ''' Strength of the displacement + + :type: float + ''' + + texture: 'Texture' = None + ''' + + :type: 'Texture' + ''' + + texture_map_mode: typing.Union[int, str] = None + ''' * LOCAL Local, Use the local coordinate system for the texture coordinates. * GLOBAL Global, Use the global coordinate system for the texture coordinates. * OBJECT Object, Use the linked object's local coordinate system for the texture coordinates. + + :type: typing.Union[int, str] + ''' + + texture_map_object: 'Object' = None + ''' Object to use for texture mapping + + :type: 'Object' + ''' + + texture_mid_level: typing.List[float] = None + ''' Subtracted from the texture color to get a displacement vector + + :type: typing.List[float] + ''' + + texture_sample_radius: float = None + ''' Smaller values result in better performance but might cut off the volume + + :type: float + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class VolumeToMeshModifier(Modifier, bpy_struct): + adaptivity: float = None + ''' Reduces the final face count by simplifying geometry where detail is not needed + + :type: float + ''' + + grid_name: str = None + ''' Grid in the volume object that is converted to a mesh + + :type: str + ''' + + object: 'Object' = None + ''' Object + + :type: 'Object' + ''' + + resolution_mode: typing.Union[int, str] = None + ''' Mode for how the desired voxel size is specified * GRID Grid, Use resolution of the volume grid. * VOXEL_AMOUNT Voxel Amount, Desired number of voxels along one axis. * VOXEL_SIZE Voxel Size, Desired voxel side length. + + :type: typing.Union[int, str] + ''' + + threshold: float = None + ''' Voxels with a larger value are inside the generated mesh + + :type: float + ''' + + use_smooth_shade: bool = None + ''' Output faces with smooth shading rather than flat shaded + + :type: bool + ''' + + voxel_amount: int = None + ''' Approximate number of voxels along one axis + + :type: int + ''' + + voxel_size: float = None + ''' Smaller values result in a higher resolution output + + :type: float + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class WarpModifier(Modifier, bpy_struct): ''' Warp modifier ''' @@ -63256,12 +65717,6 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class WeightedNormalModifier(Modifier, bpy_struct): - face_influence: bool = None - ''' Use influence of face for weighting - - :type: bool - ''' - invert_vertex_group: bool = None ''' Invert vertex group influence @@ -63286,6 +65741,12 @@ class WeightedNormalModifier(Modifier, bpy_struct): :type: float ''' + use_face_influence: bool = None + ''' Use influence of face for weighting + + :type: bool + ''' + vertex_group: str = None ''' Vertex group name for modifying the selected areas @@ -63330,18 +65791,18 @@ class WeldModifier(Modifier, bpy_struct): :type: bool ''' - max_interactions: int = None - ''' For a better performance, limits the number of elements found per vertex. (0 makes it infinite) - - :type: int - ''' - merge_threshold: float = None ''' Limit below which to merge vertices :type: float ''' + mode: typing.Union[int, str] = None + ''' Mode defines the merge rule * ALL All, Full merge by distance. * CONNECTED Connected, Only merge along the edges. + + :type: typing.Union[int, str] + ''' + vertex_group: str = None ''' Vertex group name for selecting the affected areas @@ -64233,18 +66694,20 @@ class EnumProperty(Property, bpy_struct): :type: typing.Union[typing.Set[int], typing.Set[str]] ''' - enum_items: typing.Union[typing.List['EnumPropertyItem'], + enum_items: typing.Union[typing.Dict[str, 'EnumPropertyItem'], typing. + List['EnumPropertyItem'], 'bpy_prop_collection'] = None ''' Possible values for the property - :type: typing.Union[typing.List['EnumPropertyItem'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'EnumPropertyItem'], typing.List['EnumPropertyItem'], 'bpy_prop_collection'] ''' - enum_items_static: typing.Union[typing.List['EnumPropertyItem'], - 'bpy_prop_collection'] = None + enum_items_static: typing.Union[ + typing.Dict[str, 'EnumPropertyItem'], typing. + List['EnumPropertyItem'], 'bpy_prop_collection'] = None ''' Possible values for the property (never calls optional dynamic generation of those) - :type: typing.Union[typing.List['EnumPropertyItem'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'EnumPropertyItem'], typing.List['EnumPropertyItem'], 'bpy_prop_collection'] ''' @classmethod @@ -64270,7 +66733,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class FloatProperty(Property, bpy_struct): - ''' RNA floating point number (single precision) property definition + ''' RNA floating-point number (single precision) property definition ''' array_dimensions: typing.List[int] = None @@ -64484,7 +66947,7 @@ class StringProperty(Property, bpy_struct): ''' default: str = None - ''' string default value + ''' String default value :type: str ''' @@ -64603,6 +67066,12 @@ class OperatorStrokeElement(PropertyGroup, bpy_struct): :type: typing.List[float] ''' + mouse_event: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + pen_flip: bool = None ''' @@ -64627,6 +67096,18 @@ class OperatorStrokeElement(PropertyGroup, bpy_struct): :type: float ''' + x_tilt: float = None + ''' + + :type: float + ''' + + y_tilt: float = None + ''' + + :type: float + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -64730,12 +67211,6 @@ class EffectSequence(Sequence, bpy_struct): :type: 'SequenceTransform' ''' - use_crop: bool = None - ''' Crop image before processing - - :type: bool - ''' - use_deinterlace: bool = None ''' Remove fields from video movies @@ -64772,12 +67247,6 @@ class EffectSequence(Sequence, bpy_struct): :type: bool ''' - use_translation: bool = None - ''' Translate image before processing - - :type: bool - ''' - @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -64852,11 +67321,12 @@ class ImageSequence(Sequence, bpy_struct): :type: str ''' - elements: typing.Union[typing.List['SequenceElement'], - 'bpy_prop_collection', 'SequenceElements'] = None + elements: typing.Union[typing.Dict[str, 'SequenceElement'], typing. + List['SequenceElement'], 'bpy_prop_collection', + 'SequenceElements'] = None ''' - :type: typing.Union[typing.List['SequenceElement'], 'bpy_prop_collection', 'SequenceElements'] + :type: typing.Union[typing.Dict[str, 'SequenceElement'], typing.List['SequenceElement'], 'bpy_prop_collection', 'SequenceElements'] ''' proxy: 'SequenceProxy' = None @@ -64866,7 +67336,7 @@ class ImageSequence(Sequence, bpy_struct): ''' stereo_3d_format: 'Stereo3dFormat' = None - ''' Settings for stereo 3d + ''' Settings for stereo 3D :type: 'Stereo3dFormat' ''' @@ -64883,12 +67353,6 @@ class ImageSequence(Sequence, bpy_struct): :type: 'SequenceTransform' ''' - use_crop: bool = None - ''' Crop image before processing - - :type: bool - ''' - use_deinterlace: bool = None ''' Remove fields from video movies @@ -64931,12 +67395,6 @@ class ImageSequence(Sequence, bpy_struct): :type: bool ''' - use_translation: bool = None - ''' Translate image before processing - - :type: bool - ''' - views_format: typing.Union[int, str] = None ''' Mode to load image views * INDIVIDUAL Individual, Individual files for each view with the prefix as defined by the scene views. * STEREO_3D Stereo 3D, Single file with an encoded stereo pair. @@ -65023,12 +67481,6 @@ class MaskSequence(Sequence, bpy_struct): :type: 'SequenceTransform' ''' - use_crop: bool = None - ''' Crop image before processing - - :type: bool - ''' - use_deinterlace: bool = None ''' Remove fields from video movies @@ -65059,12 +67511,6 @@ class MaskSequence(Sequence, bpy_struct): :type: bool ''' - use_translation: bool = None - ''' Translate image before processing - - :type: bool - ''' - @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -65133,11 +67579,12 @@ class MetaSequence(Sequence, bpy_struct): :type: 'SequenceProxy' ''' - sequences: typing.Union[typing. - List['Sequence'], 'bpy_prop_collection'] = None - ''' + sequences: typing.Union[typing.Dict[str, 'Sequence'], typing. + List['Sequence'], 'bpy_prop_collection', + 'SequencesMeta'] = None + ''' Sequences nested in meta strip - :type: typing.Union[typing.List['Sequence'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'Sequence'], typing.List['Sequence'], 'bpy_prop_collection', 'SequencesMeta'] ''' strobe: float = None @@ -65152,12 +67599,6 @@ class MetaSequence(Sequence, bpy_struct): :type: 'SequenceTransform' ''' - use_crop: bool = None - ''' Crop image before processing - - :type: bool - ''' - use_deinterlace: bool = None ''' Remove fields from video movies @@ -65194,12 +67635,6 @@ class MetaSequence(Sequence, bpy_struct): :type: bool ''' - use_translation: bool = None - ''' Translate image before processing - - :type: bool - ''' - @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -65292,12 +67727,6 @@ class MovieClipSequence(Sequence, bpy_struct): :type: bool ''' - use_crop: bool = None - ''' Crop image before processing - - :type: bool - ''' - use_deinterlace: bool = None ''' Remove fields from video movies @@ -65328,12 +67757,6 @@ class MovieClipSequence(Sequence, bpy_struct): :type: bool ''' - use_translation: bool = None - ''' Translate image before processing - - :type: bool - ''' - @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -65402,11 +67825,12 @@ class MovieSequence(Sequence, bpy_struct): :type: 'SequenceCrop' ''' - elements: typing.Union[typing.List['SequenceElement'], + elements: typing.Union[typing.Dict[str, 'SequenceElement'], typing. + List['SequenceElement'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['SequenceElement'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'SequenceElement'], typing.List['SequenceElement'], 'bpy_prop_collection'] ''' filepath: str = None @@ -65434,7 +67858,7 @@ class MovieSequence(Sequence, bpy_struct): ''' stereo_3d_format: 'Stereo3dFormat' = None - ''' Settings for stereo 3d + ''' Settings for stereo 3D :type: 'Stereo3dFormat' ''' @@ -65457,12 +67881,6 @@ class MovieSequence(Sequence, bpy_struct): :type: 'SequenceTransform' ''' - use_crop: bool = None - ''' Crop image before processing - - :type: bool - ''' - use_deinterlace: bool = None ''' Remove fields from video movies @@ -65505,12 +67923,6 @@ class MovieSequence(Sequence, bpy_struct): :type: bool ''' - use_translation: bool = None - ''' Translate image before processing - - :type: bool - ''' - views_format: typing.Union[int, str] = None ''' Mode to load movie views * INDIVIDUAL Individual, Individual files for each view with the prefix as defined by the scene views. * STEREO_3D Stereo 3D, Single file with an encoded stereo pair. @@ -65637,12 +68049,6 @@ class SceneSequence(Sequence, bpy_struct): :type: 'SequenceTransform' ''' - use_crop: bool = None - ''' Crop image before processing - - :type: bool - ''' - use_deinterlace: bool = None ''' Remove fields from video movies @@ -65685,12 +68091,6 @@ class SceneSequence(Sequence, bpy_struct): :type: bool ''' - use_translation: bool = None - ''' Translate image before processing - - :type: bool - ''' - @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -66897,11 +69297,11 @@ class SpaceConsole(Space, bpy_struct): :type: int ''' - history: typing.Union[typing. + history: typing.Union[typing.Dict[str, 'ConsoleLine'], typing. List['ConsoleLine'], 'bpy_prop_collection'] = None ''' Command history - :type: typing.Union[typing.List['ConsoleLine'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ConsoleLine'], typing.List['ConsoleLine'], 'bpy_prop_collection'] ''' language: str = None @@ -66916,11 +69316,11 @@ class SpaceConsole(Space, bpy_struct): :type: str ''' - scrollback: typing.Union[typing. + scrollback: typing.Union[typing.Dict[str, 'ConsoleLine'], typing. List['ConsoleLine'], 'bpy_prop_collection'] = None ''' Command output - :type: typing.Union[typing.List['ConsoleLine'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'ConsoleLine'], typing.List['ConsoleLine'], 'bpy_prop_collection'] ''' select_end: int = None @@ -67061,12 +69461,6 @@ class SpaceDopeSheetEditor(Space, bpy_struct): :type: bool ''' - show_group_colors: bool = None - ''' Display groups and channels with colors matching their corresponding groups (pose bones only currently) - - :type: bool - ''' - show_interpolation: bool = None ''' Display keyframe handle types and non-bezier interpolation modes @@ -67187,11 +69581,12 @@ class SpaceFileBrowser(Space, bpy_struct): :type: 'Operator' ''' - bookmarks: typing.Union[typing.List['FileBrowserFSMenuEntry'], + bookmarks: typing.Union[typing.Dict[str, 'FileBrowserFSMenuEntry'], typing. + List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] = None ''' User's bookmarks - :type: typing.Union[typing.List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'FileBrowserFSMenuEntry'], typing.List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] ''' bookmarks_active: int = None @@ -67200,6 +69595,12 @@ class SpaceFileBrowser(Space, bpy_struct): :type: int ''' + browse_mode: typing.Union[int, str] = None + ''' Type of the File Editor view (regular file browsing or asset browsing) + + :type: typing.Union[int, str] + ''' + operator: 'Operator' = None ''' @@ -67212,11 +69613,12 @@ class SpaceFileBrowser(Space, bpy_struct): :type: 'FileSelectParams' ''' - recent_folders: typing.Union[typing.List['FileBrowserFSMenuEntry'], - 'bpy_prop_collection'] = None + recent_folders: typing.Union[ + typing.Dict[str, 'FileBrowserFSMenuEntry'], typing. + List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'FileBrowserFSMenuEntry'], typing.List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] ''' recent_folders_active: int = None @@ -67237,11 +69639,12 @@ class SpaceFileBrowser(Space, bpy_struct): :type: bool ''' - system_bookmarks: typing.Union[typing.List['FileBrowserFSMenuEntry'], - 'bpy_prop_collection'] = None + system_bookmarks: typing.Union[ + typing.Dict[str, 'FileBrowserFSMenuEntry'], typing. + List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] = None ''' System's bookmarks - :type: typing.Union[typing.List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'FileBrowserFSMenuEntry'], typing.List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] ''' system_bookmarks_active: int = None @@ -67250,11 +69653,12 @@ class SpaceFileBrowser(Space, bpy_struct): :type: int ''' - system_folders: typing.Union[typing.List['FileBrowserFSMenuEntry'], - 'bpy_prop_collection'] = None + system_folders: typing.Union[ + typing.Dict[str, 'FileBrowserFSMenuEntry'], typing. + List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] = None ''' System's folders (usually root, available hard drives, etc) - :type: typing.Union[typing.List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'FileBrowserFSMenuEntry'], typing.List['FileBrowserFSMenuEntry'], 'bpy_prop_collection'] ''' system_folders_active: int = None @@ -67365,12 +69769,6 @@ class SpaceGraphEditor(Space, bpy_struct): :type: bool ''' - show_group_colors: bool = None - ''' Display groups and channels with colors matching their corresponding groups - - :type: bool - ''' - show_handles: bool = None ''' Show handles of Bezier control points @@ -67426,7 +69824,7 @@ class SpaceGraphEditor(Space, bpy_struct): ''' use_normalization: bool = None - ''' Display curves in normalized to -1..1 range, for easier editing of multiple curves with different ranges + ''' Display curves in normalized range from -1 to 1, for easier editing of multiple curves with different ranges :type: bool ''' @@ -67557,6 +69955,12 @@ class SpaceImageEditor(Space, bpy_struct): :type: typing.Union[int, str] ''' + overlay: 'SpaceImageOverlay' = None + ''' Settings for display of overlays in the UV/Image editor + + :type: 'SpaceImageOverlay' + ''' + pivot_point: typing.Union[int, str] = None ''' Rotation/Scaling Pivot * BOUNDING_BOX_CENTER Bounding Box Center, Pivot around bounding box center of selected object(s). * CURSOR 3D Cursor, Pivot around the 3D cursor. * INDIVIDUAL_ORIGINS Individual Origins, Pivot around each object's own origin. * MEDIAN_POINT Median Point, Pivot around the median point of selected objects. * ACTIVE_ELEMENT Active Element, Pivot around active object. @@ -67977,11 +70381,12 @@ class SpaceNodeEditor(Space, bpy_struct): :type: 'NodeTree' ''' - path: typing.Union[typing.List['NodeTreePath'], 'bpy_prop_collection', + path: typing.Union[typing.Dict[str, 'NodeTreePath'], typing. + List['NodeTreePath'], 'bpy_prop_collection', 'SpaceNodeEditorPath'] = None ''' Path from the data-block to the currently edited node tree - :type: typing.Union[typing.List['NodeTreePath'], 'bpy_prop_collection', 'SpaceNodeEditorPath'] + :type: typing.Union[typing.Dict[str, 'NodeTreePath'], typing.List['NodeTreePath'], 'bpy_prop_collection', 'SpaceNodeEditorPath'] ''' pin: bool = None @@ -68109,7 +70514,7 @@ class SpaceOutliner(Space, bpy_struct): ''' display_mode: typing.Union[int, str] = None - ''' Type of information to display * SCENES Scenes, Display scenes and their view layers, collections and objects. * VIEW_LAYER View Layer, Display collections and objects in the view layer. * SEQUENCE Sequence, Display sequence data-blocks. * LIBRARIES Blender File, Display data of current file and linked libraries. * DATA_API Data API, Display low level Blender data and its properties. * ORPHAN_DATA Orphan Data, Display data-blocks which are unused and/or will be lost when the file is reloaded. + ''' Type of information to display * SCENES Scenes, Display scenes and their view layers, collections and objects. * VIEW_LAYER View Layer, Display collections and objects in the view layer. * SEQUENCE Video Sequencer, Display data belonging to the Video Sequencer. * LIBRARIES Blender File, Display data of current file and linked libraries. * DATA_API Data API, Display low level Blender data and its properties. * ORPHAN_DATA Orphan Data, Display data-blocks which are unused and/or will be lost when the file is reloaded. :type: typing.Union[int, str] ''' @@ -68120,8 +70525,14 @@ class SpaceOutliner(Space, bpy_struct): :type: typing.Union[int, str] ''' + filter_invert: bool = None + ''' Invert the object state filter + + :type: bool + ''' + filter_state: typing.Union[int, str] = None - ''' * ALL All, Show all objects in the view layer. * VISIBLE Visible, Show visible objects. * HIDDEN Hidden, Show hidden objects. * SELECTED Selected, Show selected objects. * ACTIVE Active, Show only the active object. + ''' * ALL All, Show all objects in the view layer. * VISIBLE Visible, Show visible objects. * SELECTED Selected, Show selected objects. * ACTIVE Active, Show only the active object. * SELECTABLE Selectable, Show only selectable objects. :type: typing.Union[int, str] ''' @@ -68132,6 +70543,12 @@ class SpaceOutliner(Space, bpy_struct): :type: str ''' + show_mode_column: bool = None + ''' Show the mode column for mode toggle and activation + + :type: bool + ''' + show_restrict_column_enable: bool = None ''' Exclude from view layer @@ -68204,6 +70621,12 @@ class SpaceOutliner(Space, bpy_struct): :type: bool ''' + use_filter_lib_override: bool = None + ''' For libraries with overrides created, show the overridden values + + :type: bool + ''' + use_filter_object: bool = None ''' Show objects @@ -68390,12 +70813,30 @@ class SpaceProperties(Space, bpy_struct): :type: typing.Union[int, str] ''' + outliner_sync: typing.Union[int, str] = None + ''' Change to the corresponding tab when outliner data icons are clicked * ALWAYS Always, Always change tabs when clicking an icon in an outliner. * NEVER Never, Never change tabs when clicking an icon in an outliner. * AUTO Auto, Change tabs only when this editor shares a border with an outliner. + + :type: typing.Union[int, str] + ''' + pin_id: 'ID' = None ''' :type: 'ID' ''' + search_filter: str = None + ''' Live search filtering string + + :type: str + ''' + + tab_search_results: bool = None + ''' Whether or not each visible tab has a search result + + :type: bool + ''' + use_pin_id: bool = None ''' Use the pinned context @@ -68582,18 +71023,48 @@ class SpaceSequenceEditor(Space, bpy_struct): :type: bool ''' + show_strip_duration: bool = None + ''' + + :type: bool + ''' + + show_strip_name: bool = None + ''' + + :type: bool + ''' + show_strip_offset: bool = None ''' Display strip in/out offsets :type: bool ''' + show_strip_overlay: bool = None + ''' + + :type: bool + ''' + + show_strip_source: bool = None + ''' Display path to source file, or name of source datablock + + :type: bool + ''' + use_marker_sync: bool = None ''' Transform markers as well as strips :type: bool ''' + use_zoom_to_fit: bool = None + ''' Automatically zoom preview image to make it fully fit the region + + :type: bool + ''' + view_type: typing.Union[int, str] = None ''' Type of the Sequencer view (sequencer, preview or both) @@ -68884,7 +71355,7 @@ class SpaceView3D(Space, bpy_struct): ''' local_view: 'SpaceView3D' = None - ''' Display an isolated sub-set of objects, apart from the scene visibility + ''' Display an isolated subset of objects, apart from the scene visibility :type: 'SpaceView3D' ''' @@ -68931,11 +71402,12 @@ class SpaceView3D(Space, bpy_struct): :type: 'RegionView3D' ''' - region_quadviews: typing.Union[typing.List['RegionView3D'], + region_quadviews: typing.Union[typing.Dict[str, 'RegionView3D'], typing. + List['RegionView3D'], 'bpy_prop_collection'] = None ''' 3D regions (the third one defines quad view settings, the fourth one is same as 'region_3d') - :type: typing.Union[typing.List['RegionView3D'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'RegionView3D'], typing.List['RegionView3D'], 'bpy_prop_collection'] ''' render_border_max_x: float = None @@ -68993,7 +71465,7 @@ class SpaceView3D(Space, bpy_struct): ''' show_gizmo_camera_lens: bool = None - ''' Gizmo to adjust camera lens & ortho size + ''' Gizmo to adjust camera focal length or orthographic scale :type: bool ''' @@ -69287,13 +71759,13 @@ class SpaceView3D(Space, bpy_struct): ''' show_stereo_3d_convergence_plane: bool = None - ''' Show the stereo 3d convergence plane + ''' Show the stereo 3D convergence plane :type: bool ''' show_stereo_3d_volume: bool = None - ''' Show the stereo 3d frustum volume + ''' Show the stereo 3D frustum volume :type: bool ''' @@ -69448,12 +71920,6 @@ class BrushTextureSlot(TextureSlot, bpy_struct): :type: float ''' - tex_paint_map_mode: typing.Union[int, str] = None - ''' - - :type: typing.Union[int, str] - ''' - use_rake: bool = None ''' @@ -69804,8 +72270,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class CLIP_UL_tracking_objects(UIList, bpy_struct): - def draw_item(self, _context, layout, _data, item, _icon, _active_data, +class ASSETBROWSER_UL_metadata_tags(UIList, bpy_struct): + def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index): ''' @@ -69834,9 +72300,9 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class CYCLES_RENDER_UL_aov(UIList, bpy_struct): - def draw_item(self, context, layout, data, item, icon, active_data, - active_propname): +class CLIP_UL_tracking_objects(UIList, bpy_struct): + def draw_item(self, _context, layout, _data, item, _icon, _active_data, + _active_propname, _index): ''' ''' @@ -70044,9 +72510,9 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class IMAGE_UL_render_slots(UIList, bpy_struct): - def draw_item(self, _context, layout, _data, item, _icon, _active_data, - _active_propname, _index): +class HAIR_UL_attributes(UIList, bpy_struct): + def draw_item(self, context, layout, data, attribute, icon, active_data, + active_propname, index): ''' ''' @@ -70074,7 +72540,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class IMAGE_UL_udim_tiles(UIList, bpy_struct): +class IMAGE_UL_render_slots(UIList, bpy_struct): def draw_item(self, _context, layout, _data, item, _icon, _active_data, _active_propname, _index): ''' @@ -70104,38 +72570,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class MASK_UL_layers(UIList, bpy_struct): - def draw_item(self, _context, layout, _data, item, icon, _active_data, - _active_propname, _index): - ''' - - ''' - pass - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class MATERIAL_UL_matslots(UIList, bpy_struct): - def draw_item(self, _context, layout, _data, item, icon, _active_data, +class IMAGE_UL_udim_tiles(UIList, bpy_struct): + def draw_item(self, _context, layout, _data, item, _icon, _active_data, _active_propname, _index): ''' @@ -70164,7 +72600,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class MESH_UL_fmaps(UIList, bpy_struct): +class MASK_UL_layers(UIList, bpy_struct): def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index): ''' @@ -70194,37 +72630,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class MESH_UL_shape_keys(UIList, bpy_struct): - def draw_item(self, _context, layout, _data, item, icon, active_data, - _active_propname, index): - ''' - - ''' - pass - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class MESH_UL_uvmaps(UIList, bpy_struct): +class MATERIAL_UL_matslots(UIList, bpy_struct): def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index): ''' @@ -70254,7 +72660,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class MESH_UL_vcols(UIList, bpy_struct): +class MESH_UL_fmaps(UIList, bpy_struct): def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index): ''' @@ -70284,9 +72690,9 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class MESH_UL_vgroups(UIList, bpy_struct): - def draw_item(self, _context, layout, _data, item, icon, _active_data_, - _active_propname, _index): +class MESH_UL_shape_keys(UIList, bpy_struct): + def draw_item(self, _context, layout, _data, item, icon, active_data, + _active_propname, index): ''' ''' @@ -70314,8 +72720,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NODE_UL_interface_sockets(UIList, bpy_struct): - def draw_item(self, context, layout, _data, item, icon, _active_data, +class MESH_UL_uvmaps(UIList, bpy_struct): + def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index): ''' @@ -70344,37 +72750,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class PARTICLE_UL_particle_systems(UIList, bpy_struct): - def draw_item(self, _context, layout, data, item, icon, _active_data, - _active_propname, _index, _flt_flag): - ''' - - ''' - pass - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class PHYSICS_UL_dynapaint_surfaces(UIList, bpy_struct): +class MESH_UL_vcols(UIList, bpy_struct): def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index): ''' @@ -70404,6 +72780,156 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class MESH_UL_vgroups(UIList, bpy_struct): + def draw_item(self, _context, layout, _data, item, icon, _active_data_, + _active_propname, _index): + ''' + + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class NODE_UL_interface_sockets(UIList, bpy_struct): + def draw_item(self, context, layout, _data, item, icon, _active_data, + _active_propname, _index): + ''' + + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class PARTICLE_UL_particle_systems(UIList, bpy_struct): + def draw_item(self, _context, layout, data, item, icon, _active_data, + _active_propname, _index, _flt_flag): + ''' + + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class PHYSICS_UL_dynapaint_surfaces(UIList, bpy_struct): + def draw_item(self, _context, layout, _data, item, icon, _active_data, + _active_propname, _index): + ''' + + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class POINTCLOUD_UL_attributes(UIList, bpy_struct): + def draw_item(self, context, layout, data, attribute, icon, active_data, + active_propname, index): + ''' + + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class RENDER_UL_renderviews(UIList, bpy_struct): def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, index): @@ -70566,6 +73092,36 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class VIEWLAYER_UL_aov(UIList, bpy_struct): + def draw_item(self, context, layout, data, item, icon, active_data, + active_propname): + ''' + + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class VIEWLAYER_UL_linesets(UIList, bpy_struct): def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, index): @@ -70680,11 +73236,12 @@ class TextCurve(Curve, ID, bpy_struct): :type: str ''' - body_format: typing.Union[typing.List['TextCharacterFormat'], + body_format: typing.Union[typing.Dict[str, 'TextCharacterFormat'], typing. + List['TextCharacterFormat'], 'bpy_prop_collection'] = None ''' Stores the style of each character - :type: typing.Union[typing.List['TextCharacterFormat'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'TextCharacterFormat'], typing.List['TextCharacterFormat'], 'bpy_prop_collection'] ''' edit_format: 'TextCharacterFormat' = None @@ -70694,7 +73251,7 @@ class TextCurve(Curve, ID, bpy_struct): ''' family: str = None - ''' Use Objects as font characters (give font objects a common name followed by the character they represent, eg. 'family-a', 'family-b', etc, set this setting to 'family-', and turn on Vertex Duplication) + ''' Use objects as font characters (give font objects a common name followed by the character they represent, eg. 'family-a', 'family-b', etc, set this setting to 'family-', and turn on Vertex Instancing) :type: str ''' @@ -70783,11 +73340,11 @@ class TextCurve(Curve, ID, bpy_struct): :type: float ''' - text_boxes: typing.Union[typing. + text_boxes: typing.Union[typing.Dict[str, 'TextBox'], typing. List['TextBox'], 'bpy_prop_collection'] = None ''' - :type: typing.Union[typing.List['TextBox'], 'bpy_prop_collection'] + :type: typing.Union[typing.Dict[str, 'TextBox'], typing.List['TextBox'], 'bpy_prop_collection'] ''' underline_height: float = None @@ -71488,20 +74045,10 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTree(NodeTree, ID, bpy_struct): - ''' Node tree consisting of linked nodes used for materials (and other shading data-blocks) +class GeometryNodeTree(NodeTree, ID, bpy_struct): + ''' Node tree consisting of linked nodes used for geometries ''' - def get_output_node(self, target: typing.Union[int, str]) -> 'ShaderNode': - ''' Return active shader output node for the specified target - - :param target: Target * ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output. * EEVEE Eevee, Use shaders for Eevee renderer. * CYCLES Cycles, Use shaders for Cycles renderer. - :type target: typing.Union[int, str] - :rtype: 'ShaderNode' - :return: Node - ''' - pass - @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -71524,10 +74071,20 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeTree(NodeTree, ID, bpy_struct): - ''' Node tree consisting of linked nodes used for simulations +class ShaderNodeTree(NodeTree, ID, bpy_struct): + ''' Node tree consisting of linked nodes used for materials (and other shading data-blocks) ''' + def get_output_node(self, target: typing.Union[int, str]) -> 'ShaderNode': + ''' Return active shader output node for the specified target + + :param target: Target * ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output. * EEVEE Eevee, Use shaders for Eevee renderer. * CYCLES Cycles, Use shaders for Cycles renderer. + :type target: typing.Union[int, str] + :rtype: 'ShaderNode' + :return: Node + ''' + pass + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -71581,7 +74138,7 @@ class BlendTexture(Texture, ID, bpy_struct): ''' progression: typing.Union[int, str] = None - ''' Style of the color blending * LINEAR Linear, Create a linear progression. * QUADRATIC Quadratic, Create a quadratic progression. * EASING Easing, Create a progression easing from one step to the next. * DIAGONAL Diagonal, Create a diagonal progression. * SPHERICAL Spherical, Create a spherical progression. * QUADRATIC_SPHERE Quadratic sphere, Create a quadratic progression in the shape of a sphere. * RADIAL Radial, Create a radial progression. + ''' Style of the color blending * LINEAR Linear, Create a linear progression. * QUADRATIC Quadratic, Create a quadratic progression. * EASING Easing, Create a progression easing from one step to the next. * DIAGONAL Diagonal, Create a diagonal progression. * SPHERICAL Spherical, Create a spherical progression. * QUADRATIC_SPHERE Quadratic Sphere, Create a quadratic progression in the shape of a sphere. * RADIAL Radial, Create a radial progression. :type: typing.Union[int, str] ''' @@ -72212,7 +74769,7 @@ class StucciTexture(Texture, ID, bpy_struct): ''' stucci_type: typing.Union[int, str] = None - ''' * PLASTIC Plastic, Use standard stucci. * WALL_IN Wall in, Create Dimples. * WALL_OUT Wall out, Create Ridges. + ''' * PLASTIC Plastic, Use standard stucci. * WALL_IN Wall In, Create Dimples. * WALL_OUT Wall Out, Create Ridges. :type: typing.Union[int, str] ''' @@ -75682,6 +78239,29 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class GeometryNode(NodeInternal, Node, bpy_struct): + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class NodeFrame(NodeInternal, Node, bpy_struct): label_size: int = None ''' Font size to use for displaying the label @@ -76026,7 +78606,42 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNode(NodeInternal, Node, bpy_struct): +class TextureNode(NodeInternal, Node, bpy_struct): + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class NodeSocketBool(NodeSocketStandard, NodeSocket, bpy_struct): + ''' Boolean value socket of a node + ''' + + default_value: bool = None + ''' Input value used for unconnected socket + + :type: bool + ''' + + links = None + ''' List of node links from or to this socket. (readonly)''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -76049,37 +78664,14 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class TextureNode(NodeInternal, Node, bpy_struct): - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class NodeSocketBool(NodeSocketStandard, NodeSocket, bpy_struct): - ''' Boolean value socket of a node +class NodeSocketCollection(NodeSocketStandard, NodeSocket, bpy_struct): + ''' Collection socket of a node ''' - default_value: bool = None + default_value: 'Collection' = None ''' Input value used for unconnected socket - :type: bool + :type: 'Collection' ''' links = None @@ -76142,86 +78734,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketControlFlow(NodeSocketStandard, NodeSocket, bpy_struct): - links = None - ''' List of node links from or to this socket. (readonly)''' - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class NodeSocketEmitters(NodeSocketStandard, NodeSocket, bpy_struct): - links = None - ''' List of node links from or to this socket. (readonly)''' - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class NodeSocketEvents(NodeSocketStandard, NodeSocket, bpy_struct): - links = None - ''' List of node links from or to this socket. (readonly)''' - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - class NodeSocketFloat(NodeSocketStandard, NodeSocket, bpy_struct): - ''' Floating point number socket of a node + ''' Floating-point number socket of a node ''' default_value: float = None @@ -76256,7 +78770,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class NodeSocketFloatAngle(NodeSocketStandard, NodeSocket, bpy_struct): - ''' Floating point number socket of a node + ''' Floating-point number socket of a node ''' default_value: float = None @@ -76291,7 +78805,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class NodeSocketFloatFactor(NodeSocketStandard, NodeSocket, bpy_struct): - ''' Floating point number socket of a node + ''' Floating-point number socket of a node ''' default_value: float = None @@ -76326,7 +78840,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class NodeSocketFloatPercentage(NodeSocketStandard, NodeSocket, bpy_struct): - ''' Floating point number socket of a node + ''' Floating-point number socket of a node ''' default_value: float = None @@ -76361,7 +78875,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class NodeSocketFloatTime(NodeSocketStandard, NodeSocket, bpy_struct): - ''' Floating point number socket of a node + ''' Floating-point number socket of a node ''' default_value: float = None @@ -76396,7 +78910,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class NodeSocketFloatUnsigned(NodeSocketStandard, NodeSocket, bpy_struct): - ''' Floating point number socket of a node + ''' Floating-point number socket of a node ''' default_value: float = None @@ -76430,7 +78944,10 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketForces(NodeSocketStandard, NodeSocket, bpy_struct): +class NodeSocketGeometry(NodeSocketStandard, NodeSocket, bpy_struct): + ''' Geometry socket of a node + ''' + links = None ''' List of node links from or to this socket. (readonly)''' @@ -77037,15 +79554,15 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceColor(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' RGBA color socket of a node +class NodeSocketInterfaceCollection(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Collection socket of a node ''' - default_value: typing.List[float] = None + default_value: 'Collection' = None ''' Input value used for unconnected socket - :type: typing.List[float] + :type: 'Collection' ''' @classmethod @@ -77070,8 +79587,17 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceControlFlow(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): +class NodeSocketInterfaceColor(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' RGBA color socket of a node + ''' + + default_value: typing.List[float] = None + ''' Input value used for unconnected socket + + :type: typing.List[float] + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -77094,8 +79620,29 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceEmitters(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): +class NodeSocketInterfaceFloat(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Floating-point number socket of a node + ''' + + default_value: float = None + ''' Input value used for unconnected socket + + :type: float + ''' + + max_value: float = None + ''' Maximum value + + :type: float + ''' + + min_value: float = None + ''' Minimum value + + :type: float + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -77118,8 +79665,29 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceEvents(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): +class NodeSocketInterfaceFloatAngle(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Floating-point number socket of a node + ''' + + default_value: float = None + ''' Input value used for unconnected socket + + :type: float + ''' + + max_value: float = None + ''' Maximum value + + :type: float + ''' + + min_value: float = None + ''' Minimum value + + :type: float + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -77142,9 +79710,9 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceFloat(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Floating point number socket of a node +class NodeSocketInterfaceFloatFactor(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Floating-point number socket of a node ''' default_value: float = None @@ -77187,9 +79755,9 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceFloatAngle(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Floating point number socket of a node +class NodeSocketInterfaceFloatPercentage(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Floating-point number socket of a node ''' default_value: float = None @@ -77232,9 +79800,9 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceFloatFactor(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Floating point number socket of a node +class NodeSocketInterfaceFloatTime(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Floating-point number socket of a node ''' default_value: float = None @@ -77277,9 +79845,9 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceFloatPercentage(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Floating point number socket of a node +class NodeSocketInterfaceFloatUnsigned(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Floating-point number socket of a node ''' default_value: float = None @@ -77322,27 +79890,87 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceFloatTime(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Floating point number socket of a node +class NodeSocketInterfaceGeometry(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Geometry socket of a node ''' - default_value: float = None + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class NodeSocketInterfaceImage(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Image socket of a node + ''' + + default_value: 'Image' = None ''' Input value used for unconnected socket - :type: float + :type: 'Image' ''' - max_value: float = None + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class NodeSocketInterfaceInt(NodeSocketInterfaceStandard, NodeSocketInterface, + bpy_struct): + ''' Integer number socket of a node + ''' + + default_value: int = None + ''' Input value used for unconnected socket + + :type: int + ''' + + max_value: int = None ''' Maximum value - :type: float + :type: int ''' - min_value: float = None + min_value: int = None ''' Minimum value - :type: float + :type: int ''' @classmethod @@ -77367,27 +79995,27 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceFloatUnsigned(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Floating point number socket of a node +class NodeSocketInterfaceIntFactor(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Integer number socket of a node ''' - default_value: float = None + default_value: int = None ''' Input value used for unconnected socket - :type: float + :type: int ''' - max_value: float = None + max_value: int = None ''' Maximum value - :type: float + :type: int ''' - min_value: float = None + min_value: int = None ''' Minimum value - :type: float + :type: int ''' @classmethod @@ -77412,39 +80040,27 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceForces(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass +class NodeSocketInterfaceIntPercentage(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Integer number socket of a node + ''' - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' + default_value: int = None + ''' Input value used for unconnected socket - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass + :type: int + ''' + max_value: int = None + ''' Maximum value -class NodeSocketInterfaceImage(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Image socket of a node + :type: int ''' - default_value: 'Image' = None - ''' Input value used for unconnected socket + min_value: int = None + ''' Minimum value - :type: 'Image' + :type: int ''' @classmethod @@ -77469,8 +80085,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceInt(NodeSocketInterfaceStandard, NodeSocketInterface, - bpy_struct): +class NodeSocketInterfaceIntUnsigned(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): ''' Integer number socket of a node ''' @@ -77514,27 +80130,42 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceIntFactor(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Integer number socket of a node +class NodeSocketInterfaceObject(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Object socket of a node ''' - default_value: int = None + default_value: 'Object' = None ''' Input value used for unconnected socket - :type: int + :type: 'Object' ''' - max_value: int = None - ''' Maximum value + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' - :type: int - ''' + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass - min_value: int = None - ''' Minimum value + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' - :type: int + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class NodeSocketInterfaceShader(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' Shader socket of a node ''' @classmethod @@ -77559,27 +80190,15 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceIntPercentage(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Integer number socket of a node +class NodeSocketInterfaceString(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' String socket of a node ''' - default_value: int = None + default_value: str = None ''' Input value used for unconnected socket - :type: int - ''' - - max_value: int = None - ''' Maximum value - - :type: int - ''' - - min_value: int = None - ''' Minimum value - - :type: int + :type: str ''' @classmethod @@ -77604,27 +80223,27 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceIntUnsigned(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Integer number socket of a node +class NodeSocketInterfaceVector(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' 3D vector socket of a node ''' - default_value: int = None + default_value: typing.List[float] = None ''' Input value used for unconnected socket - :type: int + :type: typing.List[float] ''' - max_value: int = None + max_value: float = None ''' Maximum value - :type: int + :type: float ''' - min_value: int = None + min_value: float = None ''' Minimum value - :type: int + :type: float ''' @classmethod @@ -77649,15 +80268,27 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceObject(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Object socket of a node +class NodeSocketInterfaceVectorAcceleration(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' 3D vector socket of a node ''' - default_value: 'Object' = None + default_value: typing.List[float] = None ''' Input value used for unconnected socket - :type: 'Object' + :type: typing.List[float] + ''' + + max_value: float = None + ''' Maximum value + + :type: float + ''' + + min_value: float = None + ''' Minimum value + + :type: float ''' @classmethod @@ -77682,9 +80313,27 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceShader(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' Shader socket of a node +class NodeSocketInterfaceVectorDirection(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' 3D vector socket of a node + ''' + + default_value: typing.List[float] = None + ''' Input value used for unconnected socket + + :type: typing.List[float] + ''' + + max_value: float = None + ''' Maximum value + + :type: float + ''' + + min_value: float = None + ''' Minimum value + + :type: float ''' @classmethod @@ -77709,15 +80358,27 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceString(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' String socket of a node +class NodeSocketInterfaceVectorEuler(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): + ''' 3D vector socket of a node ''' - default_value: str = None + default_value: typing.List[float] = None ''' Input value used for unconnected socket - :type: str + :type: typing.List[float] + ''' + + max_value: float = None + ''' Maximum value + + :type: float + ''' + + min_value: float = None + ''' Minimum value + + :type: float ''' @classmethod @@ -77742,8 +80403,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceVector(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): +class NodeSocketInterfaceVectorTranslation(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): ''' 3D vector socket of a node ''' @@ -77787,8 +80448,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceVectorAcceleration(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): +class NodeSocketInterfaceVectorVelocity(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): ''' 3D vector socket of a node ''' @@ -77832,8 +80493,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceVectorDirection(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): +class NodeSocketInterfaceVectorXYZ(NodeSocketInterfaceStandard, + NodeSocketInterface, bpy_struct): ''' 3D vector socket of a node ''' @@ -77877,27 +80538,26 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceVectorEuler(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' 3D vector socket of a node +class AddSequence(EffectSequence, Sequence, bpy_struct): + ''' Add Sequence ''' - default_value: typing.List[float] = None - ''' Input value used for unconnected socket + input_1: 'Sequence' = None + ''' First input for the effect strip - :type: typing.List[float] + :type: 'Sequence' ''' - max_value: float = None - ''' Maximum value + input_2: 'Sequence' = None + ''' Second input for the effect strip - :type: float + :type: 'Sequence' ''' - min_value: float = None - ''' Minimum value + input_count: int = None + ''' - :type: float + :type: int ''' @classmethod @@ -77922,27 +80582,26 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceVectorTranslation(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' 3D vector socket of a node +class AdjustmentSequence(EffectSequence, Sequence, bpy_struct): + ''' Sequence strip to perform filter adjustments to layers below ''' - default_value: typing.List[float] = None - ''' Input value used for unconnected socket + animation_offset_end: int = None + ''' Animation end offset (trim end) - :type: typing.List[float] + :type: int ''' - max_value: float = None - ''' Maximum value + animation_offset_start: int = None + ''' Animation start offset (trim start) - :type: float + :type: int ''' - min_value: float = None - ''' Minimum value + input_count: int = None + ''' - :type: float + :type: int ''' @classmethod @@ -77967,27 +80626,26 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceVectorVelocity(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' 3D vector socket of a node +class AlphaOverSequence(EffectSequence, Sequence, bpy_struct): + ''' Alpha Over Sequence ''' - default_value: typing.List[float] = None - ''' Input value used for unconnected socket + input_1: 'Sequence' = None + ''' First input for the effect strip - :type: typing.List[float] + :type: 'Sequence' ''' - max_value: float = None - ''' Maximum value + input_2: 'Sequence' = None + ''' Second input for the effect strip - :type: float + :type: 'Sequence' ''' - min_value: float = None - ''' Minimum value + input_count: int = None + ''' - :type: float + :type: int ''' @classmethod @@ -78012,27 +80670,26 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class NodeSocketInterfaceVectorXYZ(NodeSocketInterfaceStandard, - NodeSocketInterface, bpy_struct): - ''' 3D vector socket of a node +class AlphaUnderSequence(EffectSequence, Sequence, bpy_struct): + ''' Alpha Under Sequence ''' - default_value: typing.List[float] = None - ''' Input value used for unconnected socket + input_1: 'Sequence' = None + ''' First input for the effect strip - :type: typing.List[float] + :type: 'Sequence' ''' - max_value: float = None - ''' Maximum value + input_2: 'Sequence' = None + ''' Second input for the effect strip - :type: float + :type: 'Sequence' ''' - min_value: float = None - ''' Minimum value + input_count: int = None + ''' - :type: float + :type: int ''' @classmethod @@ -78057,8 +80714,20 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class AddSequence(EffectSequence, Sequence, bpy_struct): - ''' Add Sequence +class ColorMixSequence(EffectSequence, Sequence, bpy_struct): + ''' Color Mix Sequence + ''' + + blend_effect: typing.Union[int, str] = None + ''' Method for controlling how the strip combines with other strips + + :type: typing.Union[int, str] + ''' + + factor: float = None + ''' Percentage of how much the strip's colors affect other strips + + :type: float ''' input_1: 'Sequence' = None @@ -78101,20 +80770,14 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class AdjustmentSequence(EffectSequence, Sequence, bpy_struct): - ''' Sequence strip to perform filter adjustments to layers below - ''' - - animation_offset_end: int = None - ''' Animation end offset (trim end) - - :type: int +class ColorSequence(EffectSequence, Sequence, bpy_struct): + ''' Sequence strip creating an image filled with a single color ''' - animation_offset_start: int = None - ''' Animation start offset (trim start) + color: typing.List[float] = None + ''' Effect Strip color - :type: int + :type: typing.List[float] ''' input_count: int = None @@ -78145,8 +80808,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class AlphaOverSequence(EffectSequence, Sequence, bpy_struct): - ''' Alpha Over Sequence +class CrossSequence(EffectSequence, Sequence, bpy_struct): + ''' Cross Sequence ''' input_1: 'Sequence' = None @@ -78189,8 +80852,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class AlphaUnderSequence(EffectSequence, Sequence, bpy_struct): - ''' Alpha Under Sequence +class GammaCrossSequence(EffectSequence, Sequence, bpy_struct): + ''' Gamma Cross Sequence ''' input_1: 'Sequence' = None @@ -78233,20 +80896,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ColorMixSequence(EffectSequence, Sequence, bpy_struct): - ''' Color Mix Sequence - ''' - - blend_effect: typing.Union[int, str] = None - ''' Method for controlling how the strip combines with other strips - - :type: typing.Union[int, str] - ''' - - factor: float = None - ''' Percentage of how much the strip's colors affect other strips - - :type: float +class GaussianBlurSequence(EffectSequence, Sequence, bpy_struct): + ''' Sequence strip creating a gaussian blur ''' input_1: 'Sequence' = None @@ -78255,18 +80906,24 @@ class ColorMixSequence(EffectSequence, Sequence, bpy_struct): :type: 'Sequence' ''' - input_2: 'Sequence' = None - ''' Second input for the effect strip - - :type: 'Sequence' - ''' - input_count: int = None ''' :type: int ''' + size_x: float = None + ''' Size of the blur along X axis + + :type: float + ''' + + size_y: float = None + ''' Size of the blur along Y axis + + :type: float + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -78289,14 +80946,32 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ColorSequence(EffectSequence, Sequence, bpy_struct): - ''' Sequence strip creating an image filled with a single color +class GlowSequence(EffectSequence, Sequence, bpy_struct): + ''' Sequence strip creating a glow effect ''' - color: typing.List[float] = None - ''' Effect Strip color + blur_radius: float = None + ''' Radius of glow effect - :type: typing.List[float] + :type: float + ''' + + boost_factor: float = None + ''' Brightness multiplier + + :type: float + ''' + + clamp: float = None + ''' Brightness limit of intensity + + :type: float + ''' + + input_1: 'Sequence' = None + ''' First input for the effect strip + + :type: 'Sequence' ''' input_count: int = None @@ -78305,6 +80980,24 @@ class ColorSequence(EffectSequence, Sequence, bpy_struct): :type: int ''' + quality: int = None + ''' Accuracy of the blur effect + + :type: int + ''' + + threshold: float = None + ''' Minimum intensity to trigger a glow + + :type: float + ''' + + use_only_boost: bool = None + ''' Show the glow buffer only + + :type: bool + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -78327,20 +81020,20 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class CrossSequence(EffectSequence, Sequence, bpy_struct): - ''' Cross Sequence +class MulticamSequence(EffectSequence, Sequence, bpy_struct): + ''' Sequence strip to perform multicam editing ''' - input_1: 'Sequence' = None - ''' First input for the effect strip + animation_offset_end: int = None + ''' Animation end offset (trim end) - :type: 'Sequence' + :type: int ''' - input_2: 'Sequence' = None - ''' Second input for the effect strip + animation_offset_start: int = None + ''' Animation start offset (trim start) - :type: 'Sequence' + :type: int ''' input_count: int = None @@ -78349,6 +81042,12 @@ class CrossSequence(EffectSequence, Sequence, bpy_struct): :type: int ''' + multicam_source: int = None + ''' + + :type: int + ''' + @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -78371,8 +81070,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class GammaCrossSequence(EffectSequence, Sequence, bpy_struct): - ''' Gamma Cross Sequence +class MultiplySequence(EffectSequence, Sequence, bpy_struct): + ''' Multiply Sequence ''' input_1: 'Sequence' = None @@ -78415,8 +81114,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class GaussianBlurSequence(EffectSequence, Sequence, bpy_struct): - ''' Sequence strip creating a gaussian blur +class OverDropSequence(EffectSequence, Sequence, bpy_struct): + ''' Over Drop Sequence ''' input_1: 'Sequence' = None @@ -78425,22 +81124,16 @@ class GaussianBlurSequence(EffectSequence, Sequence, bpy_struct): :type: 'Sequence' ''' - input_count: int = None - ''' - - :type: int - ''' - - size_x: float = None - ''' Size of the blur along X axis + input_2: 'Sequence' = None + ''' Second input for the effect strip - :type: float + :type: 'Sequence' ''' - size_y: float = None - ''' Size of the blur along Y axis + input_count: int = None + ''' - :type: float + :type: int ''' @classmethod @@ -78465,26 +81158,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class GlowSequence(EffectSequence, Sequence, bpy_struct): - ''' Sequence strip creating a glow effect - ''' - - blur_radius: float = None - ''' Radius of glow effect - - :type: float - ''' - - boost_factor: float = None - ''' Brightness multiplier - - :type: float - ''' - - clamp: float = None - ''' Brightness limit of intensity - - :type: float +class SpeedControlSequence(EffectSequence, Sequence, bpy_struct): + ''' Sequence strip to control the speed of other strips ''' input_1: 'Sequence' = None @@ -78499,220 +81174,26 @@ class GlowSequence(EffectSequence, Sequence, bpy_struct): :type: int ''' - quality: int = None - ''' Accuracy of the blur effect + multiply_speed: float = None + ''' Multiply the resulting speed after the speed factor - :type: int + :type: float ''' - threshold: float = None - ''' Minimum intensity to trigger a glow + use_as_speed: bool = None + ''' Interpret the value as speed instead of a frame number - :type: float + :type: bool ''' - use_only_boost: bool = None - ''' Show the glow buffer only - - :type: bool - ''' - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class MulticamSequence(EffectSequence, Sequence, bpy_struct): - ''' Sequence strip to perform multicam editing - ''' - - animation_offset_end: int = None - ''' Animation end offset (trim end) - - :type: int - ''' - - animation_offset_start: int = None - ''' Animation start offset (trim start) - - :type: int - ''' - - input_count: int = None - ''' - - :type: int - ''' - - multicam_source: int = None - ''' - - :type: int - ''' - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class MultiplySequence(EffectSequence, Sequence, bpy_struct): - ''' Multiply Sequence - ''' - - input_1: 'Sequence' = None - ''' First input for the effect strip - - :type: 'Sequence' - ''' - - input_2: 'Sequence' = None - ''' Second input for the effect strip - - :type: 'Sequence' - ''' - - input_count: int = None - ''' - - :type: int - ''' - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class OverDropSequence(EffectSequence, Sequence, bpy_struct): - ''' Over Drop Sequence - ''' - - input_1: 'Sequence' = None - ''' First input for the effect strip - - :type: 'Sequence' - ''' - - input_2: 'Sequence' = None - ''' Second input for the effect strip - - :type: 'Sequence' - ''' - - input_count: int = None - ''' - - :type: int - ''' - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class SpeedControlSequence(EffectSequence, Sequence, bpy_struct): - ''' Sequence strip to control the speed of other strips - ''' - - frame_interpolation_mode: bool = None - ''' Do crossfade blending between current and next frame - - :type: bool - ''' - - input_1: 'Sequence' = None - ''' First input for the effect strip - - :type: 'Sequence' - ''' - - input_count: int = None - ''' - - :type: int - ''' - - multiply_speed: float = None - ''' Multiply the resulting speed after the speed factor - - :type: float - ''' - - use_as_speed: bool = None - ''' Interpret the value as speed instead of a frame number - - :type: bool - ''' - - use_scale_to_length: bool = None - ''' Scale values from 0.0 to 1.0 to target sequence length + use_frame_interpolate: bool = None + ''' Do crossfade blending between current and next frame + + :type: bool + ''' + + use_scale_to_length: bool = None + ''' Scale values from 0.0 to 1.0 to target sequence length :type: bool ''' @@ -78799,6 +81280,18 @@ class TextSequence(EffectSequence, Sequence, bpy_struct): :type: typing.Union[int, str] ''' + box_color: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + + box_margin: float = None + ''' Box margin as factor of image width + + :type: float + ''' + color: typing.List[float] = None ''' Text color @@ -78841,6 +81334,12 @@ class TextSequence(EffectSequence, Sequence, bpy_struct): :type: str ''' + use_box: bool = None + ''' Display colored box behind text + + :type: bool + ''' + use_shadow: bool = None ''' Display shadow behind text @@ -79248,7 +81747,7 @@ class CompositorNodeBlur(CompositorNode, NodeInternal, Node, bpy_struct): ''' use_variable_size: bool = None - ''' Support variable blur per-pixel when using an image for size input + ''' Support variable blur per pixel when using an image for size input :type: bool ''' @@ -79326,7 +81825,7 @@ class CompositorNodeBokehBlur(CompositorNode, NodeInternal, Node, bpy_struct): ''' use_variable_size: bool = None - ''' Support variable blur per-pixel when using an image for size input + ''' Support variable blur per pixel when using an image for size input :type: bool ''' @@ -79646,7 +82145,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class CompositorNodeChannelMatte(CompositorNode, NodeInternal, Node, bpy_struct): color_space: typing.Union[int, str] = None - ''' * RGB RGB, RGB Color Space. * HSV HSV, HSV Color Space. * YUV YUV, YUV Color Space. * YCC YCbCr, YCbCr Color Space. + ''' * RGB RGB, RGB color space. * HSV HSV, HSV color space. * YUV YUV, YUV color space. * YCC YCbCr, YCbCr color space. :type: typing.Union[int, str] ''' @@ -79664,7 +82163,7 @@ class CompositorNodeChannelMatte(CompositorNode, NodeInternal, Node, ''' limit_method: typing.Union[int, str] = None - ''' Algorithm to use to limit channel * SINGLE Single, Limit by single channel. * MAX Max, Limit by max of other channels . + ''' Algorithm to use to limit channel * SINGLE Single, Limit by single channel. * MAX Max, Limit by maximum of other channels. :type: typing.Union[int, str] ''' @@ -79840,19 +82339,19 @@ class CompositorNodeColorBalance(CompositorNode, NodeInternal, Node, ''' gain: typing.List[float] = None - ''' Correction for Highlights + ''' Correction for highlights :type: typing.List[float] ''' gamma: typing.List[float] = None - ''' Correction for Midtones + ''' Correction for midtones :type: typing.List[float] ''' lift: typing.List[float] = None - ''' Correction for Shadows + ''' Correction for shadows :type: typing.List[float] ''' @@ -79870,13 +82369,13 @@ class CompositorNodeColorBalance(CompositorNode, NodeInternal, Node, ''' power: typing.List[float] = None - ''' Correction for Midtones + ''' Correction for midtones :type: typing.List[float] ''' slope: typing.List[float] = None - ''' Correction for Highlights + ''' Correction for highlights :type: typing.List[float] ''' @@ -80159,13 +82658,13 @@ class CompositorNodeColorMatte(CompositorNode, NodeInternal, Node, bpy_struct): ''' color_saturation: float = None - ''' Saturation Tolerance for the color + ''' Saturation tolerance for the color :type: float ''' color_value: float = None - ''' Value Tolerance for the color + ''' Value tolerance for the color :type: float ''' @@ -80231,19 +82730,19 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class CompositorNodeColorSpill(CompositorNode, NodeInternal, Node, bpy_struct): channel: typing.Union[int, str] = None - ''' * R R, Red Spill Suppression. * G G, Green Spill Suppression. * B B, Blue Spill Suppression. + ''' * R R, Red spill suppression. * G G, Green spill suppression. * B B, Blue spill suppression. :type: typing.Union[int, str] ''' limit_channel: typing.Union[int, str] = None - ''' * R R, Limit by Red. * G G, Limit by Green. * B B, Limit by Blue. + ''' * R R, Limit by red. * G G, Limit by green. * B B, Limit by blue. :type: typing.Union[int, str] ''' limit_method: typing.Union[int, str] = None - ''' * SIMPLE Simple, Simple Limit Algorithm. * AVERAGE Average, Average Limit Algorithm. + ''' * SIMPLE Simple, Simple limit algorithm. * AVERAGE Average, Average limit algorithm. :type: typing.Union[int, str] ''' @@ -81213,7 +83712,7 @@ class CompositorNodeDefocus(CompositorNode, NodeInternal, Node, bpy_struct): ''' f_stop: float = None - ''' Amount of focal blur, 128=infinity=perfect focus, half the value doubles the blur radius + ''' Amount of focal blur, 128 (infinity) is perfect focus, half the value doubles the blur radius :type: float ''' @@ -81225,7 +83724,7 @@ class CompositorNodeDefocus(CompositorNode, NodeInternal, Node, bpy_struct): ''' threshold: float = None - ''' CoC radius threshold, prevents background bleed on in-focus midground, 0=off + ''' CoC radius threshold, prevents background bleed on in-focus midground, 0 is disabled :type: float ''' @@ -81671,7 +84170,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class CompositorNodeDistanceMatte(CompositorNode, NodeInternal, Node, bpy_struct): channel: typing.Union[int, str] = None - ''' * RGB RGB, RGB color space. * YCC YCC, YCbCr Suppression. + ''' * RGB RGB, RGB color space. * YCC YCC, YCbCr suppression. :type: typing.Union[int, str] ''' @@ -81917,6 +84416,66 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass +class CompositorNodeExposure(CompositorNode, NodeInternal, Node, bpy_struct): + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + def update(self): + ''' + + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + class CompositorNodeFilter(CompositorNode, NodeInternal, Node, bpy_struct): filter_type: typing.Union[int, str] = None ''' @@ -82561,7 +85120,7 @@ class CompositorNodeImage(CompositorNode, NodeInternal, Node, bpy_struct): ''' use_straight_alpha_output: bool = None - ''' Put Node output buffer to straight alpha instead of premultiplied + ''' Put node output buffer to straight alpha instead of premultiplied :type: bool ''' @@ -83192,7 +85751,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class CompositorNodeMapRange(CompositorNode, NodeInternal, Node, bpy_struct): use_clamp: bool = None - ''' Clamp result of the node to 0..1 range + ''' Clamp result of the node to 0.0 to 1.0 range :type: bool ''' @@ -83528,13 +86087,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class CompositorNodeMath(CompositorNode, NodeInternal, Node, bpy_struct): operation: typing.Union[int, str] = None - ''' * ADD Add, A + B. * SUBTRACT Subtract, A - B. * MULTIPLY Multiply, A \* B. * DIVIDE Divide, A / B. * MULTIPLY_ADD Multiply Add, A \* B + C. * POWER Power, A power B. * LOGARITHM Logarithm, Logarithm A base B. * SQRT Square Root, Square root of A. * INVERSE_SQRT Inverse Square Root, 1 / Square root of A. * ABSOLUTE Absolute, Magnitude of A. * EXPONENT Exponent, exp(A). * MINIMUM Minimum, The minimum from A and B. * MAXIMUM Maximum, The maximum from A and B. * LESS_THAN Less Than, 1 if A < B else 0. * GREATER_THAN Greater Than, 1 if A > B else 0. * SIGN Sign, Returns the sign of A. * COMPARE Compare, 1 if (A == B) within tolerance C else 0. * SMOOTH_MIN Smooth Minimum, The minimum from A and B with smoothing C. * SMOOTH_MAX Smooth Maximum, The maximum from A and B with smoothing C. * ROUND Round, Round A to the nearest integer. Round upward if the fraction part is 0.5. * FLOOR Floor, The largest integer smaller than or equal A. * CEIL Ceil, The smallest integer greater than or equal A. * TRUNC Truncate, The integer part of A, removing fractional digits. * FRACT Fraction, The fraction part of A. * MODULO Modulo, Modulo using fmod(A,B). * WRAP Wrap, Wrap value to range, wrap(A,B). * SNAP Snap, Snap to increment, snap(A,B). * PINGPONG Ping-pong, Wraps a value and reverses every other cycle (A,B). * SINE Sine, sin(A). * COSINE Cosine, cos(A). * TANGENT Tangent, tan(A). * ARCSINE Arcsine, arcsin(A). * ARCCOSINE Arccosine, arccos(A). * ARCTANGENT Arctangent, arctan(A). * ARCTAN2 Arctan2, The signed angle arctan(A / B). * SINH Hyperbolic Sine, sinh(A). * COSH Hyperbolic Cosine, cosh(A). * TANH Hyperbolic Tangent, tanh(A). * RADIANS To Radians, Convert from degrees to radians. * DEGREES To Degrees, Convert from radians to degrees. + ''' * ADD Add, A + B. * SUBTRACT Subtract, A - B. * MULTIPLY Multiply, A \* B. * DIVIDE Divide, A / B. * MULTIPLY_ADD Multiply Add, A \* B + C. * POWER Power, A power B. * LOGARITHM Logarithm, Logarithm A base B. * SQRT Square Root, Square root of A. * INVERSE_SQRT Inverse Square Root, 1 / Square root of A. * ABSOLUTE Absolute, Magnitude of A. * EXPONENT Exponent, exp(A). * MINIMUM Minimum, The minimum from A and B. * MAXIMUM Maximum, The maximum from A and B. * LESS_THAN Less Than, 1 if A < B else 0. * GREATER_THAN Greater Than, 1 if A > B else 0. * SIGN Sign, Returns the sign of A. * COMPARE Compare, 1 if (A == B) within tolerance C else 0. * SMOOTH_MIN Smooth Minimum, The minimum from A and B with smoothing C. * SMOOTH_MAX Smooth Maximum, The maximum from A and B with smoothing C. * ROUND Round, Round A to the nearest integer. Round upward if the fraction part is 0.5. * FLOOR Floor, The largest integer smaller than or equal A. * CEIL Ceil, The smallest integer greater than or equal A. * TRUNC Truncate, The integer part of A, removing fractional digits. * FRACT Fraction, The fraction part of A. * MODULO Modulo, Modulo using fmod(A,B). * WRAP Wrap, Wrap value to range, wrap(A,B). * SNAP Snap, Snap to increment, snap(A,B). * PINGPONG Ping-Pong, Wraps a value and reverses every other cycle (A,B). * SINE Sine, sin(A). * COSINE Cosine, cos(A). * TANGENT Tangent, tan(A). * ARCSINE Arcsine, arcsin(A). * ARCCOSINE Arccosine, arccos(A). * ARCTANGENT Arctangent, arctan(A). * ARCTAN2 Arctan2, The signed angle arctan(A / B). * SINH Hyperbolic Sine, sinh(A). * COSH Hyperbolic Cosine, cosh(A). * TANH Hyperbolic Tangent, tanh(A). * RADIANS To Radians, Convert from degrees to radians. * DEGREES To Degrees, Convert from radians to degrees. :type: typing.Union[int, str] ''' use_clamp: bool = None - ''' Clamp result of the node to 0..1 range + ''' Clamp result of the node to 0.0 to 1.0 range :type: bool ''' @@ -83612,7 +86171,7 @@ class CompositorNodeMixRGB(CompositorNode, NodeInternal, Node, bpy_struct): ''' use_clamp: bool = None - ''' Clamp result of the node to 0..1 range + ''' Clamp result of the node to 0.0 to 1.0 range :type: bool ''' @@ -83948,12 +86507,13 @@ class CompositorNodeOutputFile(CompositorNode, NodeInternal, Node, bpy_struct): :type: str ''' - file_slots: typing.Union[typing.List['NodeOutputFileSlotFile'], - 'bpy_prop_collection', - 'CompositorNodeOutputFileFileSlots'] = None + file_slots: typing.Union[ + typing.Dict[str, 'NodeOutputFileSlotFile'], typing. + List['NodeOutputFileSlotFile'], 'bpy_prop_collection', + 'CompositorNodeOutputFileFileSlots'] = None ''' - :type: typing.Union[typing.List['NodeOutputFileSlotFile'], 'bpy_prop_collection', 'CompositorNodeOutputFileFileSlots'] + :type: typing.Union[typing.Dict[str, 'NodeOutputFileSlotFile'], typing.List['NodeOutputFileSlotFile'], 'bpy_prop_collection', 'CompositorNodeOutputFileFileSlots'] ''' format: 'ImageFormatSettings' = None @@ -83962,12 +86522,13 @@ class CompositorNodeOutputFile(CompositorNode, NodeInternal, Node, bpy_struct): :type: 'ImageFormatSettings' ''' - layer_slots: typing.Union[typing.List['NodeOutputFileSlotLayer'], - 'bpy_prop_collection', - 'CompositorNodeOutputFileLayerSlots'] = None + layer_slots: typing.Union[ + typing.Dict[str, 'NodeOutputFileSlotLayer'], typing. + List['NodeOutputFileSlotLayer'], 'bpy_prop_collection', + 'CompositorNodeOutputFileLayerSlots'] = None ''' - :type: typing.Union[typing.List['NodeOutputFileSlotLayer'], 'bpy_prop_collection', 'CompositorNodeOutputFileLayerSlots'] + :type: typing.Union[typing.Dict[str, 'NodeOutputFileSlotLayer'], typing.List['NodeOutputFileSlotLayer'], 'bpy_prop_collection', 'CompositorNodeOutputFileLayerSlots'] ''' @classmethod @@ -84188,7 +86749,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class CompositorNodePremulKey(CompositorNode, NodeInternal, Node, bpy_struct): mapping: typing.Union[int, str] = None - ''' Conversion between premultiplied alpha and key alpha + ''' Conversion between premultiplied alpha and key alpha * STRAIGHT_TO_PREMUL To Premultiplied, Convert straight to premultiplied. * PREMUL_TO_STRAIGHT To Straight, Convert premultiplied to straight. :type: typing.Union[int, str] ''' @@ -84841,6 +87402,12 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class CompositorNodeSetAlpha(CompositorNode, NodeInternal, Node, bpy_struct): + mode: typing.Union[int, str] = None + ''' * APPLY Apply Mask, Multiply the input image's RGBA channels by the alpha input value. * REPLACE_ALPHA Replace Alpha, Replace the input image's alpha channels by the alpha input value. + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -85059,7 +87626,7 @@ class CompositorNodeSunBeams(CompositorNode, NodeInternal, Node, bpy_struct): ''' source: typing.List[float] = None - ''' Source point of rays as a factor of the image width & height + ''' Source point of rays as a factor of the image width and height :type: typing.List[float] ''' @@ -85965,7 +88532,7 @@ class CompositorNodeViewer(CompositorNode, NodeInternal, Node, bpy_struct): ''' tile_order: typing.Union[int, str] = None - ''' Tile order * CENTEROUT Center, Expand from center. * RANDOM Random, Random tiles. * BOTTOMUP Bottom up, Expand from bottom. * RULE_OF_THIRDS Rule of thirds, Expand from 9 places. + ''' Tile order * CENTEROUT Center, Expand from center. * RANDOM Random, Random tiles. * BOTTOMUP Bottom Up, Expand from bottom. * RULE_OF_THIRDS Rule of Thirds, Expand from 9 places. :type: typing.Union[int, str] ''' @@ -86037,7 +88604,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class CompositorNodeZcombine(CompositorNode, NodeInternal, Node, bpy_struct): use_alpha: bool = None - ''' Take Alpha channel into account when doing the Z operation + ''' Take alpha channel into account when doing the Z operation :type: bool ''' @@ -86223,7 +88790,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class FunctionNodeFloatCompare(FunctionNode, NodeInternal, Node, bpy_struct): operation: typing.Union[int, str] = None - ''' * LESS_THAN A < B, True when the first input is smaller than second input. * LESS_EQUAL A <= B, True when the first input is smaller than the second input or equal. * GREATER_THAN A > B, True when the first input is greater than the second input. * GREATER_EQUAL A >= B, True when the first input is greater than the second input or equal. * EQUAL A = B, True when both inputs are approximately equal. * NOT_EQUAL A != B, True when both inputs are not approximately equal. + ''' * LESS_THAN Less Than, True when the first input is smaller than second input. * LESS_EQUAL Less Than or Equal, True when the first input is smaller than the second input or equal. * GREATER_THAN Greater Than, True when the first input is greater than the second input. * GREATER_EQUAL Greater Than or Equal, True when the first input is greater than the second input or equal. * EQUAL Equal, True when both inputs are approximately equal. * NOT_EQUAL Not Equal, True when both inputs are not approximately equal. :type: typing.Union[int, str] ''' @@ -86336,8 +88903,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class FunctionNodeObjectTransforms(FunctionNode, NodeInternal, Node, - bpy_struct): +class FunctionNodeInputVector(FunctionNode, NodeInternal, Node, bpy_struct): + vector: typing.List[float] = None + ''' + + :type: typing.List[float] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -86391,13 +88963,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class FunctionNodeSwitch(FunctionNode, NodeInternal, Node, bpy_struct): - data_type: typing.Union[int, str] = None - ''' Data type for inputs and outputs - - :type: typing.Union[int, str] - ''' - +class FunctionNodeObjectTransforms(FunctionNode, NodeInternal, Node, + bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -86451,7 +89018,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeAddShader(ShaderNode, NodeInternal, Node, bpy_struct): +class FunctionNodeRandomFloat(FunctionNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -86505,23 +89072,11 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeAmbientOcclusion(ShaderNode, NodeInternal, Node, bpy_struct): - inside: bool = None - ''' Trace rays towards the inside of the object - - :type: bool - ''' - - only_local: bool = None - ''' Only consider the object itself when computing AO - - :type: bool - ''' - - samples: int = None - ''' Number of rays to trace per shader evaluation +class FunctionNodeSwitch(FunctionNode, NodeInternal, Node, bpy_struct): + data_type: typing.Union[int, str] = None + ''' Data type for inputs and outputs - :type: int + :type: typing.Union[int, str] ''' @classmethod @@ -86577,11 +89132,24 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeAttribute(ShaderNode, NodeInternal, Node, bpy_struct): - attribute_name: str = None +class GeometryNodeAlignRotationToVector(GeometryNode, NodeInternal, Node, + bpy_struct): + axis: typing.Union[int, str] = None + ''' Axis to align to the vector * X X, Align the X axis with the vector. * Y Y, Align the Y axis with the vector. * Z Z, Align the Z axis with the vector. + + :type: typing.Union[int, str] + ''' + + input_type_factor: typing.Union[int, str] = None ''' - :type: str + :type: typing.Union[int, str] + ''' + + input_type_vector: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] ''' @classmethod @@ -86637,7 +89205,14 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBackground(ShaderNode, NodeInternal, Node, bpy_struct): +class GeometryNodeAttributeColorRamp(GeometryNode, NodeInternal, Node, + bpy_struct): + color_ramp: 'ColorRamp' = None + ''' + + :type: 'ColorRamp' + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -86691,11 +89266,24 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBevel(ShaderNode, NodeInternal, Node, bpy_struct): - samples: int = None - ''' Number of rays to trace per shader evaluation +class GeometryNodeAttributeCompare(GeometryNode, NodeInternal, Node, + bpy_struct): + input_type_a: typing.Union[int, str] = None + ''' - :type: int + :type: typing.Union[int, str] + ''' + + input_type_b: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + operation: typing.Union[int, str] = None + ''' * LESS_THAN Less Than, True when the first input is smaller than second input. * LESS_EQUAL Less Than or Equal, True when the first input is smaller than the second input or equal. * GREATER_THAN Greater Than, True when the first input is greater than the second input. * GREATER_EQUAL Greater Than or Equal, True when the first input is greater than the second input or equal. * EQUAL Equal, True when both inputs are approximately equal. * NOT_EQUAL Not Equal, True when both inputs are not approximately equal. + + :type: typing.Union[int, str] ''' @classmethod @@ -86751,7 +89339,19 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBlackbody(ShaderNode, NodeInternal, Node, bpy_struct): +class GeometryNodeAttributeFill(GeometryNode, NodeInternal, Node, bpy_struct): + data_type: typing.Union[int, str] = None + ''' Type of data stored in attribute * FLOAT Float, Floating-point value. * INT Integer, 32-bit integer. * FLOAT_VECTOR Vector, 3D vector with floating-point values. * FLOAT_COLOR Color, RGBA color with floating-point precisions. * BYTE_COLOR Byte Color, RGBA color with 8-bit precision. * STRING String, Text string. * BOOLEAN Boolean, True or false. + + :type: typing.Union[int, str] + ''' + + domain: typing.Union[int, str] = None + ''' * POINT Point, Attribute on point. * EDGE Edge, Attribute on mesh edge. * CORNER Corner, Attribute on mesh polygon corner. * POLYGON Polygon, Attribute on mesh polygons. * CURVE Curve, Attribute on hair curve. + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -86805,7 +89405,25 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBrightContrast(ShaderNode, NodeInternal, Node, bpy_struct): +class GeometryNodeAttributeMath(GeometryNode, NodeInternal, Node, bpy_struct): + input_type_a: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + input_type_b: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + operation: typing.Union[int, str] = None + ''' * ADD Add, A + B. * SUBTRACT Subtract, A - B. * MULTIPLY Multiply, A \* B. * DIVIDE Divide, A / B. * MULTIPLY_ADD Multiply Add, A \* B + C. * POWER Power, A power B. * LOGARITHM Logarithm, Logarithm A base B. * SQRT Square Root, Square root of A. * INVERSE_SQRT Inverse Square Root, 1 / Square root of A. * ABSOLUTE Absolute, Magnitude of A. * EXPONENT Exponent, exp(A). * MINIMUM Minimum, The minimum from A and B. * MAXIMUM Maximum, The maximum from A and B. * LESS_THAN Less Than, 1 if A < B else 0. * GREATER_THAN Greater Than, 1 if A > B else 0. * SIGN Sign, Returns the sign of A. * COMPARE Compare, 1 if (A == B) within tolerance C else 0. * SMOOTH_MIN Smooth Minimum, The minimum from A and B with smoothing C. * SMOOTH_MAX Smooth Maximum, The maximum from A and B with smoothing C. * ROUND Round, Round A to the nearest integer. Round upward if the fraction part is 0.5. * FLOOR Floor, The largest integer smaller than or equal A. * CEIL Ceil, The smallest integer greater than or equal A. * TRUNC Truncate, The integer part of A, removing fractional digits. * FRACT Fraction, The fraction part of A. * MODULO Modulo, Modulo using fmod(A,B). * WRAP Wrap, Wrap value to range, wrap(A,B). * SNAP Snap, Snap to increment, snap(A,B). * PINGPONG Ping-Pong, Wraps a value and reverses every other cycle (A,B). * SINE Sine, sin(A). * COSINE Cosine, cos(A). * TANGENT Tangent, tan(A). * ARCSINE Arcsine, arcsin(A). * ARCCOSINE Arccosine, arccos(A). * ARCTANGENT Arctangent, arctan(A). * ARCTAN2 Arctan2, The signed angle arctan(A / B). * SINH Hyperbolic Sine, sinh(A). * COSH Hyperbolic Cosine, cosh(A). * TANH Hyperbolic Tangent, tanh(A). * RADIANS To Radians, Convert from degrees to radians. * DEGREES To Degrees, Convert from radians to degrees. + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -86859,8 +89477,26 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfAnisotropic(ShaderNode, NodeInternal, Node, bpy_struct): - distribution: typing.Union[int, str] = None +class GeometryNodeAttributeMix(GeometryNode, NodeInternal, Node, bpy_struct): + blend_type: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + input_type_a: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + input_type_b: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + input_type_factor: typing.Union[int, str] = None ''' :type: typing.Union[int, str] @@ -86919,7 +89555,20 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfDiffuse(ShaderNode, NodeInternal, Node, bpy_struct): +class GeometryNodeAttributeRandomize(GeometryNode, NodeInternal, Node, + bpy_struct): + data_type: typing.Union[int, str] = None + ''' Type of data stored in attribute * FLOAT Float, Floating-point value. * INT Integer, 32-bit integer. * FLOAT_VECTOR Vector, 3D vector with floating-point values. * FLOAT_COLOR Color, RGBA color with floating-point precisions. * BYTE_COLOR Byte Color, RGBA color with 8-bit precision. * STRING String, Text string. * BOOLEAN Boolean, True or false. + + :type: typing.Union[int, str] + ''' + + domain: typing.Union[int, str] = None + ''' * POINT Point, Attribute on point. * EDGE Edge, Attribute on mesh edge. * CORNER Corner, Attribute on mesh polygon corner. * POLYGON Polygon, Attribute on mesh polygons. * CURVE Curve, Attribute on hair curve. + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -86973,13 +89622,32 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfGlass(ShaderNode, NodeInternal, Node, bpy_struct): - distribution: typing.Union[int, str] = None +class GeometryNodeAttributeVectorMath(GeometryNode, NodeInternal, Node, + bpy_struct): + input_type_a: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + input_type_b: typing.Union[int, str] = None ''' :type: typing.Union[int, str] ''' + input_type_c: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + operation: typing.Union[int, str] = None + ''' * ADD Add, A + B. * SUBTRACT Subtract, A - B. * MULTIPLY Multiply, Entry-wise multiply. * DIVIDE Divide, Entry-wise divide. * CROSS_PRODUCT Cross Product, A cross B. * PROJECT Project, Project A onto B. * REFLECT Reflect, Reflect A around the normal B. B doesn't need to be normalized. * DOT_PRODUCT Dot Product, A dot B. * DISTANCE Distance, Distance between A and B. * LENGTH Length, Length of A. * SCALE Scale, A multiplied by Scale. * NORMALIZE Normalize, Normalize A. * ABSOLUTE Absolute, Entry-wise absolute. * MINIMUM Minimum, Entry-wise minimum. * MAXIMUM Maximum, Entry-wise maximum. * FLOOR Floor, Entry-wise floor. * CEIL Ceil, Entry-wise ceil. * FRACTION Fraction, The fraction part of A entry-wise. * MODULO Modulo, Entry-wise modulo using fmod(A,B). * WRAP Wrap, Entry-wise wrap(A,B). * SNAP Snap, Round A to the largest integer multiple of B less than or equal A. * SINE Sine, Entry-wise sin(A). * COSINE Cosine, Entry-wise cos(A). * TANGENT Tangent, Entry-wise tan(A). + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87033,9 +89701,9 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfGlossy(ShaderNode, NodeInternal, Node, bpy_struct): - distribution: typing.Union[int, str] = None - ''' +class GeometryNodeBoolean(GeometryNode, NodeInternal, Node, bpy_struct): + operation: typing.Union[int, str] = None + ''' * INTERSECT Intersect, Keep the part of the mesh that is common between all operands. * UNION Union, Combine meshes in an additive way. * DIFFERENCE Difference, Combine meshes in a subtractive way. :type: typing.Union[int, str] ''' @@ -87093,13 +89761,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfHair(ShaderNode, NodeInternal, Node, bpy_struct): - component: typing.Union[int, str] = None - ''' - - :type: typing.Union[int, str] - ''' - +class GeometryNodeEdgeSplit(GeometryNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87153,11 +89815,17 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfHairPrincipled(ShaderNode, NodeInternal, Node, bpy_struct): - parametrization: typing.Union[int, str] = None - ''' Select the shader's color parametrization * ABSORPTION Absorption coefficient, Directly set the absorption coefficient sigma_a (this is not the most intuitive way to color hair). * MELANIN Melanin concentration, Define the melanin concentrations below to get the most realistic-looking hair(you can get the concentrations for different types of hair online). * COLOR Direct coloring, Choose the color of your preference, and the shader will approximate the absorption coefficient to render lookalike hair. +class GeometryNodeGroup(GeometryNode, NodeInternal, Node, bpy_struct): + interface: 'PropertyGroup' = None + ''' Interface socket data - :type: typing.Union[int, str] + :type: 'PropertyGroup' + ''' + + node_tree: 'NodeTree' = None + ''' + + :type: 'NodeTree' ''' @classmethod @@ -87213,19 +89881,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfPrincipled(ShaderNode, NodeInternal, Node, bpy_struct): - distribution: typing.Union[int, str] = None - ''' - - :type: typing.Union[int, str] - ''' - - subsurface_method: typing.Union[int, str] = None - ''' Method for rendering subsurface scattering * BURLEY Christensen-Burley, Approximation to physically based volume scattering. * RANDOM_WALK Random Walk, Volumetric approximation to physically based volume scattering. - - :type: typing.Union[int, str] - ''' - +class GeometryNodeJoinGeometry(GeometryNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87279,9 +89935,9 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfRefraction(ShaderNode, NodeInternal, Node, bpy_struct): - distribution: typing.Union[int, str] = None - ''' +class GeometryNodeObjectInfo(GeometryNode, NodeInternal, Node, bpy_struct): + transform_space: typing.Union[int, str] = None + ''' The transformation of the vector and geometry outputs * ORIGINAL Original, Output the geometry relative to the input object transform, and the location, rotation and scale relative to the world origin. * RELATIVE Relative, Bring the input object geometry, location, rotation and scale into the modified object, maintaining the relative position between the two objects in the scene. :type: typing.Union[int, str] ''' @@ -87339,9 +89995,10 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfToon(ShaderNode, NodeInternal, Node, bpy_struct): - component: typing.Union[int, str] = None - ''' +class GeometryNodePointDistribute(GeometryNode, NodeInternal, Node, + bpy_struct): + distribute_method: typing.Union[int, str] = None + ''' Method to use for scattering points * RANDOM Random, Distribute points randomly on the surface. * POISSON Poisson Disk, Distribute the points randomly on the surface while taking a minimum distance between points into account. :type: typing.Union[int, str] ''' @@ -87399,7 +90056,19 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfTranslucent(ShaderNode, NodeInternal, Node, bpy_struct): +class GeometryNodePointInstance(GeometryNode, NodeInternal, Node, bpy_struct): + instance_type: typing.Union[int, str] = None + ''' * OBJECT Object, Instance an individual object on all points. * COLLECTION Collection, Instance an entire collection on all points. + + :type: typing.Union[int, str] + ''' + + use_whole_collection: bool = None + ''' Instance entire collection on each point + + :type: bool + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87453,7 +90122,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfTransparent(ShaderNode, NodeInternal, Node, bpy_struct): +class GeometryNodePointScale(GeometryNode, NodeInternal, Node, bpy_struct): + input_type: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87507,7 +90182,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBsdfVelvet(ShaderNode, NodeInternal, Node, bpy_struct): +class GeometryNodePointSeparate(GeometryNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87561,11 +90236,11 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeBump(ShaderNode, NodeInternal, Node, bpy_struct): - invert: bool = None - ''' Invert the bump mapping direction to push into the surface instead of out +class GeometryNodePointTranslate(GeometryNode, NodeInternal, Node, bpy_struct): + input_type: typing.Union[int, str] = None + ''' - :type: bool + :type: typing.Union[int, str] ''' @classmethod @@ -87621,7 +90296,37 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeCameraData(ShaderNode, NodeInternal, Node, bpy_struct): +class GeometryNodeRotatePoints(GeometryNode, NodeInternal, Node, bpy_struct): + input_type_angle: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + input_type_axis: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + input_type_rotation: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + space: typing.Union[int, str] = None + ''' Base orientation of the points * OBJECT Object, Rotate points in the local space of the object. * POINT Point, Rotate every point in its local space (as defined by the 'rotation' attribute). + + :type: typing.Union[int, str] + ''' + + type: typing.Union[int, str] = None + ''' Method used to describe the rotation * AXIS_ANGLE Axis Angle, Rotate around an axis by an angle. * EULER Euler, Rotate around the X, Y, and Z axes. + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87675,13 +90380,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeClamp(ShaderNode, NodeInternal, Node, bpy_struct): - clamp_type: typing.Union[int, str] = None - ''' * MINMAX Min Max, Clamp values using Min and Max values. * RANGE Range, Clamp values between Min and Max range. - - :type: typing.Union[int, str] - ''' - +class GeometryNodeSubdivisionSurface(GeometryNode, NodeInternal, Node, + bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87735,7 +90435,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeCombineHSV(ShaderNode, NodeInternal, Node, bpy_struct): +class GeometryNodeTransform(GeometryNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87789,7 +90489,19 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeCombineRGB(ShaderNode, NodeInternal, Node, bpy_struct): +class GeometryNodeTriangulate(GeometryNode, NodeInternal, Node, bpy_struct): + ngon_method: typing.Union[int, str] = None + ''' Method for splitting the n-gons into triangles * BEAUTY Beauty, Arrange the new triangles evenly (slow). * CLIP Clip, Split the polygons with an ear clipping algorithm. + + :type: typing.Union[int, str] + ''' + + quad_method: typing.Union[int, str] = None + ''' Method for splitting the quads into triangles * BEAUTY Beauty, Split the quads in nice triangles, slower method. * FIXED Fixed, Split the quads on the first and third vertices. * FIXED_ALTERNATE Fixed Alternate, Split the quads on the 2nd and 4th vertices. * SHORTEST_DIAGONAL Shortest Diagonal, Split the quads based on the distance between the vertices. + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87843,7 +90555,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeCombineXYZ(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeAddShader(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -87897,49 +90609,23 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeCustomGroup(ShaderNode, NodeInternal, Node, bpy_struct): - ''' Custom Shader Group Node for Python nodes - ''' - - interface: 'PropertyGroup' = None - ''' Interface socket data +class ShaderNodeAmbientOcclusion(ShaderNode, NodeInternal, Node, bpy_struct): + inside: bool = None + ''' Trace rays towards the inside of the object - :type: 'PropertyGroup' + :type: bool ''' - node_tree: 'NodeTree' = None - ''' + only_local: bool = None + ''' Only consider the object itself when computing AO - :type: 'NodeTree' + :type: bool ''' - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass - - -class ShaderNodeDisplacement(ShaderNode, NodeInternal, Node, bpy_struct): - space: typing.Union[int, str] = None - ''' Space of the input height * OBJECT Object Space, Displacement is in object space, affected by object scale. * WORLD World Space, Displacement is in world space, not affected by object scale. + samples: int = None + ''' Number of rays to trace per shader evaluation - :type: typing.Union[int, str] + :type: int ''' @classmethod @@ -87995,61 +90681,19 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeEeveeSpecular(ShaderNode, NodeInternal, Node, bpy_struct): - @classmethod - def is_registered_node_type(cls) -> bool: - ''' True if a registered node type - - :rtype: bool - :return: Result - ''' - pass - - @classmethod - def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': - ''' Input socket template - - :param index: Index - :type index: int - :rtype: 'NodeInternalSocketTemplate' - :return: result - ''' - pass - - @classmethod - def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': - ''' Output socket template - - :param index: Index - :type index: int - :rtype: 'NodeInternalSocketTemplate' - :return: result - ''' - pass - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass +class ShaderNodeAttribute(ShaderNode, NodeInternal, Node, bpy_struct): + attribute_name: str = None + ''' - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' + :type: str + ''' - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass + attribute_type: typing.Union[int, str] = None + ''' General type of the attribute * GEOMETRY Geometry, The attribute is associated with the object geometry, and its value varies from vertex to vertex, or within the object volume. * OBJECT Object, The attribute is associated with the object or mesh data-block itself, and its value is uniform. * INSTANCER Instancer, The attribute is associated with the instancer particle system or object, falling back to the Object mode if the attribute isn't found, or the object is not instanced. + :type: typing.Union[int, str] + ''' -class ShaderNodeEmission(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88103,7 +90747,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeFresnel(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBackground(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88157,7 +90801,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeGamma(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBevel(ShaderNode, NodeInternal, Node, bpy_struct): + samples: int = None + ''' Number of rays to trace per shader evaluation + + :type: int + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88211,19 +90861,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeGroup(ShaderNode, NodeInternal, Node, bpy_struct): - interface: 'PropertyGroup' = None - ''' Interface socket data - - :type: 'PropertyGroup' - ''' - - node_tree: 'NodeTree' = None - ''' - - :type: 'NodeTree' - ''' - +class ShaderNodeBlackbody(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88277,7 +90915,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeHairInfo(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBrightContrast(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88331,7 +90969,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeHoldout(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBsdfAnisotropic(ShaderNode, NodeInternal, Node, bpy_struct): + distribution: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88385,7 +91029,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeHueSaturation(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBsdfDiffuse(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88439,7 +91083,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeInvert(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBsdfGlass(ShaderNode, NodeInternal, Node, bpy_struct): + distribution: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88493,7 +91143,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeLayerWeight(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBsdfGlossy(ShaderNode, NodeInternal, Node, bpy_struct): + distribution: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88547,7 +91203,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeLightFalloff(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBsdfHair(ShaderNode, NodeInternal, Node, bpy_struct): + component: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88601,7 +91263,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeLightPath(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBsdfHairPrincipled(ShaderNode, NodeInternal, Node, bpy_struct): + parametrization: typing.Union[int, str] = None + ''' Select the shader's color parametrization * ABSORPTION Absorption Coefficient, Directly set the absorption coefficient "sigma_a" (this is not the most intuitive way to color hair). * MELANIN Melanin Concentration, Define the melanin concentrations below to get the most realistic-looking hair (you can get the concentrations for different types of hair online). * COLOR Direct Coloring, Choose the color of your preference, and the shader will approximate the absorption coefficient to render lookalike hair. + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88655,15 +91323,15 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeMapRange(ShaderNode, NodeInternal, Node, bpy_struct): - clamp: bool = None - ''' Clamp the result to the target range [To Min, To Max] +class ShaderNodeBsdfPrincipled(ShaderNode, NodeInternal, Node, bpy_struct): + distribution: typing.Union[int, str] = None + ''' - :type: bool + :type: typing.Union[int, str] ''' - interpolation_type: typing.Union[int, str] = None - ''' * LINEAR Linear, Linear interpolation between From Min and From Max values. * STEPPED Stepped Linear, Stepped linear interpolation between From Min and From Max values. * SMOOTHSTEP Smooth Step, Smooth Hermite edge interpolation between From Min and From Max values. * SMOOTHERSTEP Smoother Step, Smoother Hermite edge interpolation between From Min and From Max values. + subsurface_method: typing.Union[int, str] = None + ''' Method for rendering subsurface scattering * BURLEY Christensen-Burley, Approximation to physically based volume scattering. * RANDOM_WALK Random Walk, Volumetric approximation to physically based volume scattering. :type: typing.Union[int, str] ''' @@ -88721,9 +91389,9 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeMapping(ShaderNode, NodeInternal, Node, bpy_struct): - vector_type: typing.Union[int, str] = None - ''' Type of vector that the mapping transforms * POINT Point, Transform a point. * TEXTURE Texture, Transform a texture by inverse mapping the texture coordinate. * VECTOR Vector, Transform a direction vector. Location is ignored. * NORMAL Normal, Transform a unit normal vector. Location is ignored. +class ShaderNodeBsdfRefraction(ShaderNode, NodeInternal, Node, bpy_struct): + distribution: typing.Union[int, str] = None + ''' :type: typing.Union[int, str] ''' @@ -88781,19 +91449,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeMath(ShaderNode, NodeInternal, Node, bpy_struct): - operation: typing.Union[int, str] = None - ''' * ADD Add, A + B. * SUBTRACT Subtract, A - B. * MULTIPLY Multiply, A \* B. * DIVIDE Divide, A / B. * MULTIPLY_ADD Multiply Add, A \* B + C. * POWER Power, A power B. * LOGARITHM Logarithm, Logarithm A base B. * SQRT Square Root, Square root of A. * INVERSE_SQRT Inverse Square Root, 1 / Square root of A. * ABSOLUTE Absolute, Magnitude of A. * EXPONENT Exponent, exp(A). * MINIMUM Minimum, The minimum from A and B. * MAXIMUM Maximum, The maximum from A and B. * LESS_THAN Less Than, 1 if A < B else 0. * GREATER_THAN Greater Than, 1 if A > B else 0. * SIGN Sign, Returns the sign of A. * COMPARE Compare, 1 if (A == B) within tolerance C else 0. * SMOOTH_MIN Smooth Minimum, The minimum from A and B with smoothing C. * SMOOTH_MAX Smooth Maximum, The maximum from A and B with smoothing C. * ROUND Round, Round A to the nearest integer. Round upward if the fraction part is 0.5. * FLOOR Floor, The largest integer smaller than or equal A. * CEIL Ceil, The smallest integer greater than or equal A. * TRUNC Truncate, The integer part of A, removing fractional digits. * FRACT Fraction, The fraction part of A. * MODULO Modulo, Modulo using fmod(A,B). * WRAP Wrap, Wrap value to range, wrap(A,B). * SNAP Snap, Snap to increment, snap(A,B). * PINGPONG Ping-pong, Wraps a value and reverses every other cycle (A,B). * SINE Sine, sin(A). * COSINE Cosine, cos(A). * TANGENT Tangent, tan(A). * ARCSINE Arcsine, arcsin(A). * ARCCOSINE Arccosine, arccos(A). * ARCTANGENT Arctangent, arctan(A). * ARCTAN2 Arctan2, The signed angle arctan(A / B). * SINH Hyperbolic Sine, sinh(A). * COSH Hyperbolic Cosine, cosh(A). * TANH Hyperbolic Tangent, tanh(A). * RADIANS To Radians, Convert from degrees to radians. * DEGREES To Degrees, Convert from radians to degrees. +class ShaderNodeBsdfToon(ShaderNode, NodeInternal, Node, bpy_struct): + component: typing.Union[int, str] = None + ''' :type: typing.Union[int, str] ''' - use_clamp: bool = None - ''' Clamp result of the node to 0..1 range - - :type: bool - ''' - @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88847,25 +91509,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeMixRGB(ShaderNode, NodeInternal, Node, bpy_struct): - blend_type: typing.Union[int, str] = None - ''' - - :type: typing.Union[int, str] - ''' - - use_alpha: bool = None - ''' Include alpha of second input in this operation - - :type: bool - ''' - - use_clamp: bool = None - ''' Clamp result of the node to 0..1 range - - :type: bool - ''' - +class ShaderNodeBsdfTranslucent(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88919,7 +91563,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeMixShader(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBsdfTransparent(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -88973,7 +91617,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeNewGeometry(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBsdfVelvet(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89027,7 +91671,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeNormal(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeBump(ShaderNode, NodeInternal, Node, bpy_struct): + invert: bool = None + ''' Invert the bump mapping direction to push into the surface instead of out + + :type: bool + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89081,19 +91731,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeNormalMap(ShaderNode, NodeInternal, Node, bpy_struct): - space: typing.Union[int, str] = None - ''' Space of the input normal * TANGENT Tangent Space, Tangent space normal mapping. * OBJECT Object Space, Object space normal mapping. * WORLD World Space, World space normal mapping. * BLENDER_OBJECT Blender Object Space, Object space normal mapping, compatible with Blender render baking. * BLENDER_WORLD Blender World Space, World space normal mapping, compatible with Blender render baking. - - :type: typing.Union[int, str] - ''' - - uv_map: str = None - ''' UV Map for tangent space maps - - :type: str - ''' - +class ShaderNodeCameraData(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89147,7 +91785,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeObjectInfo(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeClamp(ShaderNode, NodeInternal, Node, bpy_struct): + clamp_type: typing.Union[int, str] = None + ''' * MINMAX Min Max, Clamp values using Min and Max values. * RANGE Range, Clamp values between Min and Max range. + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89201,13 +91845,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeOutputAOV(ShaderNode, NodeInternal, Node, bpy_struct): - name: str = None - ''' Name of the AOV that this output writes to - - :type: str - ''' - +class ShaderNodeCombineHSV(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89261,19 +91899,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeOutputLight(ShaderNode, NodeInternal, Node, bpy_struct): - is_active_output: bool = None - ''' True if this node is used as the active output - - :type: bool - ''' - - target: typing.Union[int, str] = None - ''' Which renderer and viewport shading types to use the shaders for * ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output. * EEVEE Eevee, Use shaders for Eevee renderer. * CYCLES Cycles, Use shaders for Cycles renderer. - - :type: typing.Union[int, str] - ''' - +class ShaderNodeCombineRGB(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89327,37 +91953,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeOutputLineStyle(ShaderNode, NodeInternal, Node, bpy_struct): - blend_type: typing.Union[int, str] = None - ''' - - :type: typing.Union[int, str] - ''' - - is_active_output: bool = None - ''' True if this node is used as the active output - - :type: bool - ''' - - target: typing.Union[int, str] = None - ''' Which renderer and viewport shading types to use the shaders for * ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output. * EEVEE Eevee, Use shaders for Eevee renderer. * CYCLES Cycles, Use shaders for Cycles renderer. - - :type: typing.Union[int, str] - ''' - - use_alpha: bool = None - ''' Include alpha of second input in this operation - - :type: bool - ''' - - use_clamp: bool = None - ''' Clamp result of the node to 0..1 range - - :type: bool - ''' - +class ShaderNodeCombineXYZ(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89411,15 +92007,47 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeOutputMaterial(ShaderNode, NodeInternal, Node, bpy_struct): - is_active_output: bool = None - ''' True if this node is used as the active output +class ShaderNodeCustomGroup(ShaderNode, NodeInternal, Node, bpy_struct): + ''' Custom Shader Group Node for Python nodes + ''' - :type: bool + interface: 'PropertyGroup' = None + ''' Interface socket data + + :type: 'PropertyGroup' ''' - target: typing.Union[int, str] = None - ''' Which renderer and viewport shading types to use the shaders for * ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output. * EEVEE Eevee, Use shaders for Eevee renderer. * CYCLES Cycles, Use shaders for Cycles renderer. + node_tree: 'NodeTree' = None + ''' + + :type: 'NodeTree' + ''' + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeDisplacement(ShaderNode, NodeInternal, Node, bpy_struct): + space: typing.Union[int, str] = None + ''' Space of the input height * OBJECT Object Space, Displacement is in object space, affected by object scale. * WORLD World Space, Displacement is in world space, not affected by object scale. :type: typing.Union[int, str] ''' @@ -89477,19 +92105,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeOutputWorld(ShaderNode, NodeInternal, Node, bpy_struct): - is_active_output: bool = None - ''' True if this node is used as the active output - - :type: bool - ''' - - target: typing.Union[int, str] = None - ''' Which renderer and viewport shading types to use the shaders for * ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output. * EEVEE Eevee, Use shaders for Eevee renderer. * CYCLES Cycles, Use shaders for Cycles renderer. - - :type: typing.Union[int, str] - ''' - +class ShaderNodeEeveeSpecular(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89543,7 +92159,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeParticleInfo(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeEmission(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89597,7 +92213,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeRGB(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeFresnel(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89651,13 +92267,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeRGBCurve(ShaderNode, NodeInternal, Node, bpy_struct): - mapping: 'CurveMapping' = None - ''' - - :type: 'CurveMapping' - ''' - +class ShaderNodeGamma(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89711,7 +92321,19 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeRGBToBW(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeGroup(ShaderNode, NodeInternal, Node, bpy_struct): + interface: 'PropertyGroup' = None + ''' Interface socket data + + :type: 'PropertyGroup' + ''' + + node_tree: 'NodeTree' = None + ''' + + :type: 'NodeTree' + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89765,43 +92387,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeScript(ShaderNode, NodeInternal, Node, bpy_struct): - bytecode: str = None - ''' Compile bytecode for shader script node - - :type: str - ''' - - bytecode_hash: str = None - ''' Hash of compile bytecode, for quick equality checking - - :type: str - ''' - - filepath: str = None - ''' Shader script path - - :type: str - ''' - - mode: typing.Union[int, str] = None - ''' * INTERNAL Internal, Use internal text data-block. * EXTERNAL External, Use external .osl or .oso file. - - :type: typing.Union[int, str] - ''' - - script: 'Text' = None - ''' Internal shader script to define the shader - - :type: 'Text' - ''' - - use_auto_update: bool = None - ''' Automatically update the shader when the .osl file changes (external scripts only) - - :type: bool - ''' - +class ShaderNodeHairInfo(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89855,7 +92441,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeSeparateHSV(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeHoldout(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89909,7 +92495,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeSeparateRGB(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeHueSaturation(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -89963,7 +92549,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeSeparateXYZ(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeInvert(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -90017,7 +92603,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeShaderToRGB(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeLayerWeight(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -90071,7 +92657,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeSqueeze(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeLightFalloff(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -90125,14 +92711,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeSubsurfaceScattering(ShaderNode, NodeInternal, Node, - bpy_struct): - falloff: typing.Union[int, str] = None - ''' Function to determine how much light nearby points contribute based on their distance to the shading point * CUBIC Cubic, Simple cubic falloff function. * GAUSSIAN Gaussian, Normal distribution, multiple can be combined to fit more complex profiles. * BURLEY Christensen-Burley, Approximation to physically based volume scattering. * RANDOM_WALK Random Walk, Volumetric approximation to physically based volume scattering. - - :type: typing.Union[int, str] - ''' - +class ShaderNodeLightPath(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -90186,25 +92765,19 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTangent(ShaderNode, NodeInternal, Node, bpy_struct): - axis: typing.Union[int, str] = None - ''' Axis for radial tangents * X X, X axis. * Y Y, Y axis. * Z Z, Z axis. +class ShaderNodeMapRange(ShaderNode, NodeInternal, Node, bpy_struct): + clamp: bool = None + ''' Clamp the result to the target range [To Min, To Max] - :type: typing.Union[int, str] + :type: bool ''' - direction_type: typing.Union[int, str] = None - ''' Method to use for the tangent * RADIAL Radial, Radial tangent around the X, Y or Z axis. * UV_MAP UV Map, Tangent from UV map. + interpolation_type: typing.Union[int, str] = None + ''' * LINEAR Linear, Linear interpolation between From Min and From Max values. * STEPPED Stepped Linear, Stepped linear interpolation between From Min and From Max values. * SMOOTHSTEP Smooth Step, Smooth Hermite edge interpolation between From Min and From Max values. * SMOOTHERSTEP Smoother Step, Smoother Hermite edge interpolation between From Min and From Max values. :type: typing.Union[int, str] ''' - uv_map: str = None - ''' UV Map for tangent generated from UV - - :type: str - ''' - @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -90258,41 +92831,11 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexBrick(ShaderNode, NodeInternal, Node, bpy_struct): - color_mapping: 'ColorMapping' = None - ''' Color mapping settings - - :type: 'ColorMapping' - ''' - - offset: float = None - ''' - - :type: float - ''' - - offset_frequency: int = None - ''' - - :type: int - ''' - - squash: float = None - ''' - - :type: float - ''' - - squash_frequency: int = None - ''' - - :type: int - ''' - - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings +class ShaderNodeMapping(ShaderNode, NodeInternal, Node, bpy_struct): + vector_type: typing.Union[int, str] = None + ''' Type of vector that the mapping transforms * POINT Point, Transform a point. * TEXTURE Texture, Transform a texture by inverse mapping the texture coordinate. * VECTOR Vector, Transform a direction vector. Location is ignored. * NORMAL Normal, Transform a unit normal vector. Location is ignored. - :type: 'TexMapping' + :type: typing.Union[int, str] ''' @classmethod @@ -90348,17 +92891,17 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexChecker(ShaderNode, NodeInternal, Node, bpy_struct): - color_mapping: 'ColorMapping' = None - ''' Color mapping settings +class ShaderNodeMath(ShaderNode, NodeInternal, Node, bpy_struct): + operation: typing.Union[int, str] = None + ''' * ADD Add, A + B. * SUBTRACT Subtract, A - B. * MULTIPLY Multiply, A \* B. * DIVIDE Divide, A / B. * MULTIPLY_ADD Multiply Add, A \* B + C. * POWER Power, A power B. * LOGARITHM Logarithm, Logarithm A base B. * SQRT Square Root, Square root of A. * INVERSE_SQRT Inverse Square Root, 1 / Square root of A. * ABSOLUTE Absolute, Magnitude of A. * EXPONENT Exponent, exp(A). * MINIMUM Minimum, The minimum from A and B. * MAXIMUM Maximum, The maximum from A and B. * LESS_THAN Less Than, 1 if A < B else 0. * GREATER_THAN Greater Than, 1 if A > B else 0. * SIGN Sign, Returns the sign of A. * COMPARE Compare, 1 if (A == B) within tolerance C else 0. * SMOOTH_MIN Smooth Minimum, The minimum from A and B with smoothing C. * SMOOTH_MAX Smooth Maximum, The maximum from A and B with smoothing C. * ROUND Round, Round A to the nearest integer. Round upward if the fraction part is 0.5. * FLOOR Floor, The largest integer smaller than or equal A. * CEIL Ceil, The smallest integer greater than or equal A. * TRUNC Truncate, The integer part of A, removing fractional digits. * FRACT Fraction, The fraction part of A. * MODULO Modulo, Modulo using fmod(A,B). * WRAP Wrap, Wrap value to range, wrap(A,B). * SNAP Snap, Snap to increment, snap(A,B). * PINGPONG Ping-Pong, Wraps a value and reverses every other cycle (A,B). * SINE Sine, sin(A). * COSINE Cosine, cos(A). * TANGENT Tangent, tan(A). * ARCSINE Arcsine, arcsin(A). * ARCCOSINE Arccosine, arccos(A). * ARCTANGENT Arctangent, arctan(A). * ARCTAN2 Arctan2, The signed angle arctan(A / B). * SINH Hyperbolic Sine, sinh(A). * COSH Hyperbolic Cosine, cosh(A). * TANH Hyperbolic Tangent, tanh(A). * RADIANS To Radians, Convert from degrees to radians. * DEGREES To Degrees, Convert from radians to degrees. - :type: 'ColorMapping' + :type: typing.Union[int, str] ''' - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings + use_clamp: bool = None + ''' Clamp result of the node to 0.0 to 1.0 range - :type: 'TexMapping' + :type: bool ''' @classmethod @@ -90414,17 +92957,23 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexCoord(ShaderNode, NodeInternal, Node, bpy_struct): - from_instancer: bool = None - ''' Use the parent of the dupli object if possible +class ShaderNodeMixRGB(ShaderNode, NodeInternal, Node, bpy_struct): + blend_type: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + use_alpha: bool = None + ''' Include alpha of second input in this operation :type: bool ''' - object: 'Object' = None - ''' Use coordinates from this object (for object texture coordinates output) + use_clamp: bool = None + ''' Clamp result of the node to 0.0 to 1.0 range - :type: 'Object' + :type: bool ''' @classmethod @@ -90480,43 +93029,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexEnvironment(ShaderNode, NodeInternal, Node, bpy_struct): - color_mapping: 'ColorMapping' = None - ''' Color mapping settings - - :type: 'ColorMapping' - ''' - - image: 'Image' = None - ''' - - :type: 'Image' - ''' - - image_user: 'ImageUser' = None - ''' Parameters defining which layer, pass and frame of the image is displayed - - :type: 'ImageUser' - ''' - - interpolation: typing.Union[int, str] = None - ''' Texture interpolation * Linear Linear, Linear interpolation. * Closest Closest, No interpolation (sample closest texel). * Cubic Cubic, Cubic interpolation. * Smart Smart, Bicubic when magnifying, else bilinear (OSL only). - - :type: typing.Union[int, str] - ''' - - projection: typing.Union[int, str] = None - ''' Projection of the input image * EQUIRECTANGULAR Equirectangular, Equirectangular or latitude-longitude projection. * MIRROR_BALL Mirror Ball, Projection from an orthographic photo of a mirror ball. - - :type: typing.Union[int, str] - ''' - - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings - - :type: 'TexMapping' - ''' - +class ShaderNodeMixShader(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -90570,25 +93083,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexGradient(ShaderNode, NodeInternal, Node, bpy_struct): - color_mapping: 'ColorMapping' = None - ''' Color mapping settings - - :type: 'ColorMapping' - ''' - - gradient_type: typing.Union[int, str] = None - ''' Style of the color blending * LINEAR Linear, Create a linear progression. * QUADRATIC Quadratic, Create a quadratic progression. * EASING Easing, Create a progression easing from one step to the next. * DIAGONAL Diagonal, Create a diagonal progression. * SPHERICAL Spherical, Create a spherical progression. * QUADRATIC_SPHERE Quadratic sphere, Create a quadratic progression in the shape of a sphere. * RADIAL Radial, Create a radial progression. - - :type: typing.Union[int, str] - ''' - - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings - - :type: 'TexMapping' - ''' - +class ShaderNodeNewGeometry(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -90642,25 +93137,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexIES(ShaderNode, NodeInternal, Node, bpy_struct): - filepath: str = None - ''' IES light path - - :type: str - ''' - - ies: 'Text' = None - ''' Internal IES file - - :type: 'Text' - ''' - - mode: typing.Union[int, str] = None - ''' Whether the IES file is loaded from disk or from a Text datablock * INTERNAL Internal, Use internal text datablock. * EXTERNAL External, Use external .ies file. - - :type: typing.Union[int, str] - ''' - +class ShaderNodeNormal(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -90714,55 +93191,73 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexImage(ShaderNode, NodeInternal, Node, bpy_struct): - color_mapping: 'ColorMapping' = None - ''' Color mapping settings - - :type: 'ColorMapping' - ''' - - extension: typing.Union[int, str] = None - ''' How the image is extrapolated past its original bounds * REPEAT Repeat, Cause the image to repeat horizontally and vertically. * EXTEND Extend, Extend by repeating edge pixels of the image. * CLIP Clip, Clip to image size and set exterior pixels as transparent. +class ShaderNodeNormalMap(ShaderNode, NodeInternal, Node, bpy_struct): + space: typing.Union[int, str] = None + ''' Space of the input normal * TANGENT Tangent Space, Tangent space normal mapping. * OBJECT Object Space, Object space normal mapping. * WORLD World Space, World space normal mapping. * BLENDER_OBJECT Blender Object Space, Object space normal mapping, compatible with Blender render baking. * BLENDER_WORLD Blender World Space, World space normal mapping, compatible with Blender render baking. :type: typing.Union[int, str] ''' - image: 'Image' = None - ''' + uv_map: str = None + ''' UV Map for tangent space maps - :type: 'Image' + :type: str ''' - image_user: 'ImageUser' = None - ''' Parameters defining which layer, pass and frame of the image is displayed + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type - :type: 'ImageUser' - ''' + :rtype: bool + :return: Result + ''' + pass - interpolation: typing.Union[int, str] = None - ''' Texture interpolation * Linear Linear, Linear interpolation. * Closest Closest, No interpolation (sample closest texel). * Cubic Cubic, Cubic interpolation. * Smart Smart, Bicubic when magnifying, else bilinear (OSL only). + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template - :type: typing.Union[int, str] - ''' + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass - projection: typing.Union[int, str] = None - ''' Method to project 2D image on object with a 3D texture vector * FLAT Flat, Image is projected flat using the X and Y coordinates of the texture vector. * BOX Box, Image is projected using different components for each side of the object space bounding box. * SPHERE Sphere, Image is projected spherically using the Z axis as central. * TUBE Tube, Image is projected from the tube using the Z axis as central. + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template - :type: typing.Union[int, str] - ''' + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass - projection_blend: float = None - ''' For box projection, amount of blend to use between sides + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' - :type: float - ''' + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' - :type: 'TexMapping' - ''' + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + +class ShaderNodeObjectInfo(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -90816,23 +93311,11 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexMagic(ShaderNode, NodeInternal, Node, bpy_struct): - color_mapping: 'ColorMapping' = None - ''' Color mapping settings - - :type: 'ColorMapping' - ''' - - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings - - :type: 'TexMapping' - ''' - - turbulence_depth: int = None - ''' Level of detail in the added turbulent noise +class ShaderNodeOutputAOV(ShaderNode, NodeInternal, Node, bpy_struct): + name: str = None + ''' Name of the AOV that this output writes to - :type: int + :type: str ''' @classmethod @@ -90888,31 +93371,19 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexMusgrave(ShaderNode, NodeInternal, Node, bpy_struct): - color_mapping: 'ColorMapping' = None - ''' Color mapping settings - - :type: 'ColorMapping' - ''' - - musgrave_dimensions: typing.Union[int, str] = None - ''' * 1D 1D, Use the scalar value W as input. * 2D 2D, Use the 2D vector (x, y) as input. The z component is ignored. * 3D 3D, Use the 3D vector Vector as input. * 4D 4D, Use the 4D vector (x, y, z, w) as input. +class ShaderNodeOutputLight(ShaderNode, NodeInternal, Node, bpy_struct): + is_active_output: bool = None + ''' True if this node is used as the active output - :type: typing.Union[int, str] + :type: bool ''' - musgrave_type: typing.Union[int, str] = None - ''' + target: typing.Union[int, str] = None + ''' Which renderer and viewport shading types to use the shaders for * ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output. * EEVEE Eevee, Use shaders for Eevee renderer. * CYCLES Cycles, Use shaders for Cycles renderer. :type: typing.Union[int, str] ''' - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings - - :type: 'TexMapping' - ''' - @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -90966,23 +93437,35 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexNoise(ShaderNode, NodeInternal, Node, bpy_struct): - color_mapping: 'ColorMapping' = None - ''' Color mapping settings +class ShaderNodeOutputLineStyle(ShaderNode, NodeInternal, Node, bpy_struct): + blend_type: typing.Union[int, str] = None + ''' - :type: 'ColorMapping' + :type: typing.Union[int, str] ''' - noise_dimensions: typing.Union[int, str] = None - ''' The dimensions of the space to evaluate the noise in * 1D 1D, Use the scalar value W as input. * 2D 2D, Use the 2D vector (x, y) as input. The z component is ignored. * 3D 3D, Use the 3D vector Vector as input. * 4D 4D, Use the 4D vector (x, y, z, w) as input. + is_active_output: bool = None + ''' True if this node is used as the active output + + :type: bool + ''' + + target: typing.Union[int, str] = None + ''' Which renderer and viewport shading types to use the shaders for * ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output. * EEVEE Eevee, Use shaders for Eevee renderer. * CYCLES Cycles, Use shaders for Cycles renderer. :type: typing.Union[int, str] ''' - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings + use_alpha: bool = None + ''' Include alpha of second input in this operation - :type: 'TexMapping' + :type: bool + ''' + + use_clamp: bool = None + ''' Clamp result of the node to 0.0 to 1.0 range + + :type: bool ''' @classmethod @@ -91038,63 +93521,15 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexPointDensity(ShaderNode, NodeInternal, Node, bpy_struct): - interpolation: typing.Union[int, str] = None - ''' Texture interpolation * Closest Closest, No interpolation (sample closest texel). * Linear Linear, Linear interpolation. * Cubic Cubic, Cubic interpolation. - - :type: typing.Union[int, str] - ''' - - object: 'Object' = None - ''' Object to take point data from - - :type: 'Object' - ''' - - particle_color_source: typing.Union[int, str] = None - ''' Data to derive color results from * PARTICLE_AGE Particle Age, Lifetime mapped as 0.0 - 1.0 intensity. * PARTICLE_SPEED Particle Speed, Particle speed (absolute magnitude of velocity) mapped as 0.0-1.0 intensity. * PARTICLE_VELOCITY Particle Velocity, XYZ velocity mapped to RGB colors. - - :type: typing.Union[int, str] - ''' - - particle_system: 'ParticleSystem' = None - ''' Particle System to render as points - - :type: 'ParticleSystem' - ''' - - point_source: typing.Union[int, str] = None - ''' Point data to use as renderable point density * PARTICLE_SYSTEM Particle System, Generate point density from a particle system. * OBJECT Object Vertices, Generate point density from an object's vertices. - - :type: typing.Union[int, str] - ''' - - radius: float = None - ''' Radius from the shaded sample to look for points within - - :type: float - ''' - - resolution: int = None - ''' Resolution used by the texture holding the point density - - :type: int - ''' - - space: typing.Union[int, str] = None - ''' Coordinate system to calculate voxels in - - :type: typing.Union[int, str] - ''' - - vertex_attribute_name: str = None - ''' Vertex attribute to use for color +class ShaderNodeOutputMaterial(ShaderNode, NodeInternal, Node, bpy_struct): + is_active_output: bool = None + ''' True if this node is used as the active output - :type: str + :type: bool ''' - vertex_color_source: typing.Union[int, str] = None - ''' Data to derive color results from * VERTEX_COLOR Vertex Color, Vertex color layer. * VERTEX_WEIGHT Vertex Weight, Vertex group weight. * VERTEX_NORMAL Vertex Normal, XYZ normal vector mapped to RGB colors. + target: typing.Union[int, str] = None + ''' Which renderer and viewport shading types to use the shaders for * ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output. * EEVEE Eevee, Use shaders for Eevee renderer. * CYCLES Cycles, Use shaders for Cycles renderer. :type: typing.Union[int, str] ''' @@ -91130,33 +93565,6 @@ def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': ''' pass - def cache_point_density(self, depsgraph: 'Depsgraph' = None): - ''' Cache point density data for later calculation - - :param depsgraph: - :type depsgraph: 'Depsgraph' - ''' - pass - - def calc_point_density( - self, depsgraph: 'Depsgraph' = None) -> typing.List[float]: - ''' Calculate point density - - :param depsgraph: - :type depsgraph: 'Depsgraph' - :rtype: typing.List[float] - :return: RGBA Values - ''' - pass - - def calc_point_density_minmax(self, depsgraph: 'Depsgraph' = None): - ''' Calculate point density - - :param depsgraph: - :type depsgraph: 'Depsgraph' - ''' - pass - @classmethod def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': ''' @@ -91179,95 +93587,17 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexSky(ShaderNode, NodeInternal, Node, bpy_struct): - air_density: float = None - ''' Density of air molecules - - :type: float - ''' - - altitude: float = None - ''' Height from sea level - - :type: float - ''' - - color_mapping: 'ColorMapping' = None - ''' Color mapping settings - - :type: 'ColorMapping' - ''' - - dust_density: float = None - ''' Density of dust molecules and water droplets - - :type: float - ''' - - ground_albedo: float = None - ''' Ground color that is subtly reflected in the sky - - :type: float - ''' - - ozone_density: float = None - ''' Density of Ozone layer - - :type: float - ''' - - sky_type: typing.Union[int, str] = None - ''' Which sky model should be used * PREETHAM Preetham, Preetham 1999. * HOSEK_WILKIE Hosek / Wilkie, Hosek / Wilkie 2012. * NISHITA Nishita, Nishita 1993 improved. - - :type: typing.Union[int, str] - ''' - - sun_direction: typing.List[float] = None - ''' Direction from where the sun is shining - - :type: typing.List[float] - ''' - - sun_disc: bool = None - ''' Include the sun itself in the output +class ShaderNodeOutputWorld(ShaderNode, NodeInternal, Node, bpy_struct): + is_active_output: bool = None + ''' True if this node is used as the active output :type: bool ''' - sun_elevation: float = None - ''' Sun angle from horizon - - :type: float - ''' - - sun_intensity: float = None - ''' Strength of sun - - :type: float - ''' - - sun_rotation: float = None - ''' Rotation of sun around zenith - - :type: float - ''' - - sun_size: float = None - ''' Size of sun disc - - :type: float - ''' - - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings - - :type: 'TexMapping' - ''' - - turbidity: float = None - ''' Atmospheric turbidity + target: typing.Union[int, str] = None + ''' Which renderer and viewport shading types to use the shaders for * ALL All, Use shaders for all renderers and viewports, unless there exists a more specific output. * EEVEE Eevee, Use shaders for Eevee renderer. * CYCLES Cycles, Use shaders for Cycles renderer. - :type: float + :type: typing.Union[int, str] ''' @classmethod @@ -91323,37 +93653,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexVoronoi(ShaderNode, NodeInternal, Node, bpy_struct): - color_mapping: 'ColorMapping' = None - ''' Color mapping settings - - :type: 'ColorMapping' - ''' - - distance: typing.Union[int, str] = None - ''' * EUCLIDEAN Euclidean, Euclidean distance. * MANHATTAN Manhattan, Manhattan distance. * CHEBYCHEV Chebychev, Chebychev distance. * MINKOWSKI Minkowski, Minkowski distance. - - :type: typing.Union[int, str] - ''' - - feature: typing.Union[int, str] = None - ''' * F1 F1, Computes the distance to the closest point as well as its position and color. * F2 F2, Computes the distance to the second closest point as well as its position and color. * SMOOTH_F1 Smooth F1, Smoothed version of F1. Weighted sum of neighbor voronoi cells. * DISTANCE_TO_EDGE Distance To Edge, Computes the distance to the edge of the voronoi cell. * N_SPHERE_RADIUS N-Sphere Radius, Computes the radius of the n-sphere inscribed in the voronoi cell. - - :type: typing.Union[int, str] - ''' - - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings - - :type: 'TexMapping' - ''' - - voronoi_dimensions: typing.Union[int, str] = None - ''' * 1D 1D, Use the scalar value W as input. * 2D 2D, Use the 2D vector (x, y) as input. The z component is ignored. * 3D 3D, Use the 3D vector Vector as input. * 4D 4D, Use the 4D vector (x, y, z, w) as input. - - :type: typing.Union[int, str] - ''' - +class ShaderNodeParticleInfo(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -91407,43 +93707,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexWave(ShaderNode, NodeInternal, Node, bpy_struct): - bands_direction: typing.Union[int, str] = None - ''' * X X, Bands across X axis. * Y Y, Bands across Y axis. * Z Z, Bands across Z axis. * DIAGONAL Diagonal, Bands across diagonal axis. - - :type: typing.Union[int, str] - ''' - - color_mapping: 'ColorMapping' = None - ''' Color mapping settings - - :type: 'ColorMapping' - ''' - - rings_direction: typing.Union[int, str] = None - ''' * X X, Rings along X axis. * Y Y, Rings along Y axis. * Z Z, Rings along Z axis. * SPHERICAL Spherical, Rings along spherical distance. - - :type: typing.Union[int, str] - ''' - - texture_mapping: 'TexMapping' = None - ''' Texture coordinate mapping settings - - :type: 'TexMapping' - ''' - - wave_profile: typing.Union[int, str] = None - ''' * SIN Sine, Use a standard sine profile. * SAW Saw, Use a sawtooth profile. * TRI Triangle, Use a triangle profile. - - :type: typing.Union[int, str] - ''' - - wave_type: typing.Union[int, str] = None - ''' * BANDS Bands, Use standard wave texture in bands. * RINGS Rings, Use wave texture in rings. - - :type: typing.Union[int, str] - ''' - +class ShaderNodeRGB(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -91497,11 +93761,11 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeTexWhiteNoise(ShaderNode, NodeInternal, Node, bpy_struct): - noise_dimensions: typing.Union[int, str] = None - ''' The dimensions of the space to evaluate the noise in * 1D 1D, Use the scalar value W as input. * 2D 2D, Use the 2D vector (x, y) as input. The z component is ignored. * 3D 3D, Use the 3D vector Vector as input. * 4D 4D, Use the 4D vector (x, y, z, w) as input. +class ShaderNodeRGBCurve(ShaderNode, NodeInternal, Node, bpy_struct): + mapping: 'CurveMapping' = None + ''' - :type: typing.Union[int, str] + :type: 'CurveMapping' ''' @classmethod @@ -91557,13 +93821,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeUVAlongStroke(ShaderNode, NodeInternal, Node, bpy_struct): - use_tips: bool = None - ''' Lower half of the texture is for tips of the stroke - - :type: bool - ''' - +class ShaderNodeRGBToBW(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -91617,19 +93875,43 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeUVMap(ShaderNode, NodeInternal, Node, bpy_struct): - from_instancer: bool = None - ''' Use the parent of the dupli object if possible +class ShaderNodeScript(ShaderNode, NodeInternal, Node, bpy_struct): + bytecode: str = None + ''' Compile bytecode for shader script node - :type: bool + :type: str ''' - uv_map: str = None - ''' UV coordinates to be used for mapping + bytecode_hash: str = None + ''' Hash of compile bytecode, for quick equality checking :type: str ''' + filepath: str = None + ''' Shader script path + + :type: str + ''' + + mode: typing.Union[int, str] = None + ''' * INTERNAL Internal, Use internal text data-block. * EXTERNAL External, Use external .osl or .oso file. + + :type: typing.Union[int, str] + ''' + + script: 'Text' = None + ''' Internal shader script to define the shader + + :type: 'Text' + ''' + + use_auto_update: bool = None + ''' Automatically update the shader when the .osl file changes (external scripts only) + + :type: bool + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -91683,13 +93965,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeValToRGB(ShaderNode, NodeInternal, Node, bpy_struct): - color_ramp: 'ColorRamp' = None - ''' - - :type: 'ColorRamp' - ''' - +class ShaderNodeSeparateHSV(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -91743,7 +94019,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeValue(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeSeparateRGB(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -91797,13 +94073,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeVectorCurve(ShaderNode, NodeInternal, Node, bpy_struct): - mapping: 'CurveMapping' = None - ''' - - :type: 'CurveMapping' - ''' - +class ShaderNodeSeparateXYZ(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -91857,13 +94127,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeVectorDisplacement(ShaderNode, NodeInternal, Node, bpy_struct): - space: typing.Union[int, str] = None - ''' Space of the input height * TANGENT Tangent Space, Tangent space vector displacement mapping. * OBJECT Object Space, Object space vector displacement mapping. * WORLD World Space, World space vector displacement mapping. - - :type: typing.Union[int, str] - ''' - +class ShaderNodeShaderToRGB(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -91917,9 +94181,64 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeVectorMath(ShaderNode, NodeInternal, Node, bpy_struct): - operation: typing.Union[int, str] = None - ''' * ADD Add, A + B. * SUBTRACT Subtract, A - B. * MULTIPLY Multiply, Entry-wise multiply. * DIVIDE Divide, Entry-wise divide. * CROSS_PRODUCT Cross Product, A cross B. * PROJECT Project, Project A onto B. * REFLECT Reflect, Reflect A around the normal B. B doesn't need to be normalized. * DOT_PRODUCT Dot Product, A dot B. * DISTANCE Distance, Distance between A and B. * LENGTH Length, Length of A. * SCALE Scale, A multiplied by Scale. * NORMALIZE Normalize, Normalize A. * ABSOLUTE Absolute, Entry-wise absolute. * MINIMUM Minimum, Entry-wise minimum. * MAXIMUM Maximum, Entry-wise maximum. * FLOOR Floor, Entry-wise floor. * CEIL Ceil, Entry-wise ceil. * FRACTION Fraction, The fraction part of A entry-wise. * MODULO Modulo, Entry-wise modulo using fmod(A,B). * WRAP Wrap, Entry-wise wrap(A,B). * SNAP Snap, Round A to the largest integer multiple of B less than or equal A. * SINE Sine, Entry-wise sin(A). * COSINE Cosine, Entry-wise cos(A). * TANGENT Tangent, Entry-wise tan(A). +class ShaderNodeSqueeze(ShaderNode, NodeInternal, Node, bpy_struct): + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeSubsurfaceScattering(ShaderNode, NodeInternal, Node, + bpy_struct): + falloff: typing.Union[int, str] = None + ''' Function to determine how much light nearby points contribute based on their distance to the shading point * CUBIC Cubic, Simple cubic falloff function. * GAUSSIAN Gaussian, Normal distribution, multiple can be combined to fit more complex profiles. * BURLEY Christensen-Burley, Approximation to physically based volume scattering. * RANDOM_WALK Random Walk, Volumetric approximation to physically based volume scattering. :type: typing.Union[int, str] ''' @@ -91977,19 +94296,25 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeVectorRotate(ShaderNode, NodeInternal, Node, bpy_struct): - invert: bool = None - ''' Invert angle +class ShaderNodeTangent(ShaderNode, NodeInternal, Node, bpy_struct): + axis: typing.Union[int, str] = None + ''' Axis for radial tangents * X X, X axis. * Y Y, Y axis. * Z Z, Z axis. - :type: bool + :type: typing.Union[int, str] ''' - rotation_type: typing.Union[int, str] = None - ''' Type of rotation * AXIS_ANGLE Axis Angle, Rotate a point using axis angle. * X_AXIS X Axis, Rotate a point using X axis. * Y_AXIS Y Axis, Rotate a point using Y axis. * Z_AXIS Z Axis, Rotate a point using Z axis. * EULER_XYZ Euler, Rotate a point using XYZ order. + direction_type: typing.Union[int, str] = None + ''' Method to use for the tangent * RADIAL Radial, Radial tangent around the X, Y or Z axis. * UV_MAP UV Map, Tangent from UV map. :type: typing.Union[int, str] ''' + uv_map: str = None + ''' UV Map for tangent generated from UV + + :type: str + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92043,25 +94368,337 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeVectorTransform(ShaderNode, NodeInternal, Node, bpy_struct): - convert_from: typing.Union[int, str] = None - ''' Space to convert from +class ShaderNodeTexBrick(ShaderNode, NodeInternal, Node, bpy_struct): + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + offset: float = None + ''' + + :type: float + ''' + + offset_frequency: int = None + ''' + + :type: int + ''' + + squash: float = None + ''' + + :type: float + ''' + + squash_frequency: int = None + ''' + + :type: int + ''' + + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexChecker(ShaderNode, NodeInternal, Node, bpy_struct): + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexCoord(ShaderNode, NodeInternal, Node, bpy_struct): + from_instancer: bool = None + ''' Use the parent of the dupli object if possible + + :type: bool + ''' + + object: 'Object' = None + ''' Use coordinates from this object (for object texture coordinates output) + + :type: 'Object' + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexEnvironment(ShaderNode, NodeInternal, Node, bpy_struct): + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + image: 'Image' = None + ''' + + :type: 'Image' + ''' + + image_user: 'ImageUser' = None + ''' Parameters defining which layer, pass and frame of the image is displayed + + :type: 'ImageUser' + ''' + + interpolation: typing.Union[int, str] = None + ''' Texture interpolation * Linear Linear, Linear interpolation. * Closest Closest, No interpolation (sample closest texel). * Cubic Cubic, Cubic interpolation. * Smart Smart, Bicubic when magnifying, else bilinear (OSL only). :type: typing.Union[int, str] ''' - convert_to: typing.Union[int, str] = None - ''' Space to convert to + projection: typing.Union[int, str] = None + ''' Projection of the input image * EQUIRECTANGULAR Equirectangular, Equirectangular or latitude-longitude projection. * MIRROR_BALL Mirror Ball, Projection from an orthographic photo of a mirror ball. :type: typing.Union[int, str] ''' - vector_type: typing.Union[int, str] = None - ''' * POINT Point, Transform a point. * VECTOR Vector, Transform a direction vector. * NORMAL Normal, Transform a normal vector with unit length. + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexGradient(ShaderNode, NodeInternal, Node, bpy_struct): + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + gradient_type: typing.Union[int, str] = None + ''' Style of the color blending * LINEAR Linear, Create a linear progression. * QUADRATIC Quadratic, Create a quadratic progression. * EASING Easing, Create a progression easing from one step to the next. * DIAGONAL Diagonal, Create a diagonal progression. * SPHERICAL Spherical, Create a spherical progression. * QUADRATIC_SPHERE Quadratic Sphere, Create a quadratic progression in the shape of a sphere. * RADIAL Radial, Create a radial progression. :type: typing.Union[int, str] ''' + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92115,13 +94752,25 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeVertexColor(ShaderNode, NodeInternal, Node, bpy_struct): - layer_name: str = None - ''' Vertex Color +class ShaderNodeTexIES(ShaderNode, NodeInternal, Node, bpy_struct): + filepath: str = None + ''' IES light path :type: str ''' + ies: 'Text' = None + ''' Internal IES file + + :type: 'Text' + ''' + + mode: typing.Union[int, str] = None + ''' Whether the IES file is loaded from disk or from a text data-block * INTERNAL Internal, Use internal text data-block. * EXTERNAL External, Use external .ies file. + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92175,7 +94824,55 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeVolumeAbsorption(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeTexImage(ShaderNode, NodeInternal, Node, bpy_struct): + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + extension: typing.Union[int, str] = None + ''' How the image is extrapolated past its original bounds * REPEAT Repeat, Cause the image to repeat horizontally and vertically. * EXTEND Extend, Extend by repeating edge pixels of the image. * CLIP Clip, Clip to image size and set exterior pixels as transparent. + + :type: typing.Union[int, str] + ''' + + image: 'Image' = None + ''' + + :type: 'Image' + ''' + + image_user: 'ImageUser' = None + ''' Parameters defining which layer, pass and frame of the image is displayed + + :type: 'ImageUser' + ''' + + interpolation: typing.Union[int, str] = None + ''' Texture interpolation * Linear Linear, Linear interpolation. * Closest Closest, No interpolation (sample closest texel). * Cubic Cubic, Cubic interpolation. * Smart Smart, Bicubic when magnifying, else bilinear (OSL only). + + :type: typing.Union[int, str] + ''' + + projection: typing.Union[int, str] = None + ''' Method to project 2D image on object with a 3D texture vector * FLAT Flat, Image is projected flat using the X and Y coordinates of the texture vector. * BOX Box, Image is projected using different components for each side of the object space bounding box. * SPHERE Sphere, Image is projected spherically using the Z axis as central. * TUBE Tube, Image is projected from the tube using the Z axis as central. + + :type: typing.Union[int, str] + ''' + + projection_blend: float = None + ''' For box projection, amount of blend to use between sides + + :type: float + ''' + + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92229,7 +94926,754 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeVolumeInfo(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeTexMagic(ShaderNode, NodeInternal, Node, bpy_struct): + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + + turbulence_depth: int = None + ''' Level of detail in the added turbulent noise + + :type: int + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexMusgrave(ShaderNode, NodeInternal, Node, bpy_struct): + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + musgrave_dimensions: typing.Union[int, str] = None + ''' * 1D 1D, Use the scalar value W as input. * 2D 2D, Use the 2D vector (x, y) as input. The z component is ignored. * 3D 3D, Use the 3D vector Vector as input. * 4D 4D, Use the 4D vector (x, y, z, w) as input. + + :type: typing.Union[int, str] + ''' + + musgrave_type: typing.Union[int, str] = None + ''' + + :type: typing.Union[int, str] + ''' + + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexNoise(ShaderNode, NodeInternal, Node, bpy_struct): + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + noise_dimensions: typing.Union[int, str] = None + ''' The dimensions of the space to evaluate the noise in * 1D 1D, Use the scalar value W as input. * 2D 2D, Use the 2D vector (x, y) as input. The z component is ignored. * 3D 3D, Use the 3D vector Vector as input. * 4D 4D, Use the 4D vector (x, y, z, w) as input. + + :type: typing.Union[int, str] + ''' + + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexPointDensity(ShaderNode, NodeInternal, Node, bpy_struct): + interpolation: typing.Union[int, str] = None + ''' Texture interpolation * Closest Closest, No interpolation (sample closest texel). * Linear Linear, Linear interpolation. * Cubic Cubic, Cubic interpolation. + + :type: typing.Union[int, str] + ''' + + object: 'Object' = None + ''' Object to take point data from + + :type: 'Object' + ''' + + particle_color_source: typing.Union[int, str] = None + ''' Data to derive color results from * PARTICLE_AGE Particle Age, Lifetime mapped as 0.0 to 1.0 intensity. * PARTICLE_SPEED Particle Speed, Particle speed (absolute magnitude of velocity) mapped as 0.0 to 1.0 intensity. * PARTICLE_VELOCITY Particle Velocity, XYZ velocity mapped to RGB colors. + + :type: typing.Union[int, str] + ''' + + particle_system: 'ParticleSystem' = None + ''' Particle System to render as points + + :type: 'ParticleSystem' + ''' + + point_source: typing.Union[int, str] = None + ''' Point data to use as renderable point density * PARTICLE_SYSTEM Particle System, Generate point density from a particle system. * OBJECT Object Vertices, Generate point density from an object's vertices. + + :type: typing.Union[int, str] + ''' + + radius: float = None + ''' Radius from the shaded sample to look for points within + + :type: float + ''' + + resolution: int = None + ''' Resolution used by the texture holding the point density + + :type: int + ''' + + space: typing.Union[int, str] = None + ''' Coordinate system to calculate voxels in + + :type: typing.Union[int, str] + ''' + + vertex_attribute_name: str = None + ''' Vertex attribute to use for color + + :type: str + ''' + + vertex_color_source: typing.Union[int, str] = None + ''' Data to derive color results from * VERTEX_COLOR Vertex Color, Vertex color layer. * VERTEX_WEIGHT Vertex Weight, Vertex group weight. * VERTEX_NORMAL Vertex Normal, XYZ normal vector mapped to RGB colors. + + :type: typing.Union[int, str] + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + def cache_point_density(self, depsgraph: 'Depsgraph' = None): + ''' Cache point density data for later calculation + + :param depsgraph: + :type depsgraph: 'Depsgraph' + ''' + pass + + def calc_point_density( + self, depsgraph: 'Depsgraph' = None) -> typing.List[float]: + ''' Calculate point density + + :param depsgraph: + :type depsgraph: 'Depsgraph' + :rtype: typing.List[float] + :return: RGBA Values + ''' + pass + + def calc_point_density_minmax(self, depsgraph: 'Depsgraph' = None): + ''' Calculate point density + + :param depsgraph: + :type depsgraph: 'Depsgraph' + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexSky(ShaderNode, NodeInternal, Node, bpy_struct): + air_density: float = None + ''' Density of air molecules + + :type: float + ''' + + altitude: float = None + ''' Height from sea level + + :type: float + ''' + + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + dust_density: float = None + ''' Density of dust molecules and water droplets + + :type: float + ''' + + ground_albedo: float = None + ''' Ground color that is subtly reflected in the sky + + :type: float + ''' + + ozone_density: float = None + ''' Density of ozone layer + + :type: float + ''' + + sky_type: typing.Union[int, str] = None + ''' Which sky model should be used * PREETHAM Preetham, Preetham 1999. * HOSEK_WILKIE Hosek / Wilkie, Hosek / Wilkie 2012. * NISHITA Nishita, Nishita 1993 improved. + + :type: typing.Union[int, str] + ''' + + sun_direction: typing.List[float] = None + ''' Direction from where the sun is shining + + :type: typing.List[float] + ''' + + sun_disc: bool = None + ''' Include the sun itself in the output + + :type: bool + ''' + + sun_elevation: float = None + ''' Sun angle from horizon + + :type: float + ''' + + sun_intensity: float = None + ''' Strength of sun + + :type: float + ''' + + sun_rotation: float = None + ''' Rotation of sun around zenith + + :type: float + ''' + + sun_size: float = None + ''' Size of sun disc + + :type: float + ''' + + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + + turbidity: float = None + ''' Atmospheric turbidity + + :type: float + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexVoronoi(ShaderNode, NodeInternal, Node, bpy_struct): + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + distance: typing.Union[int, str] = None + ''' * EUCLIDEAN Euclidean, Euclidean distance. * MANHATTAN Manhattan, Manhattan distance. * CHEBYCHEV Chebychev, Chebychev distance. * MINKOWSKI Minkowski, Minkowski distance. + + :type: typing.Union[int, str] + ''' + + feature: typing.Union[int, str] = None + ''' * F1 F1, Computes the distance to the closest point as well as its position and color. * F2 F2, Computes the distance to the second closest point as well as its position and color. * SMOOTH_F1 Smooth F1, Smoothed version of F1. Weighted sum of neighbor voronoi cells. * DISTANCE_TO_EDGE Distance to Edge, Computes the distance to the edge of the voronoi cell. * N_SPHERE_RADIUS N-Sphere Radius, Computes the radius of the n-sphere inscribed in the voronoi cell. + + :type: typing.Union[int, str] + ''' + + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + + voronoi_dimensions: typing.Union[int, str] = None + ''' * 1D 1D, Use the scalar value W as input. * 2D 2D, Use the 2D vector (x, y) as input. The z component is ignored. * 3D 3D, Use the 3D vector Vector as input. * 4D 4D, Use the 4D vector (x, y, z, w) as input. + + :type: typing.Union[int, str] + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexWave(ShaderNode, NodeInternal, Node, bpy_struct): + bands_direction: typing.Union[int, str] = None + ''' * X X, Bands across X axis. * Y Y, Bands across Y axis. * Z Z, Bands across Z axis. * DIAGONAL Diagonal, Bands across diagonal axis. + + :type: typing.Union[int, str] + ''' + + color_mapping: 'ColorMapping' = None + ''' Color mapping settings + + :type: 'ColorMapping' + ''' + + rings_direction: typing.Union[int, str] = None + ''' * X X, Rings along X axis. * Y Y, Rings along Y axis. * Z Z, Rings along Z axis. * SPHERICAL Spherical, Rings along spherical distance. + + :type: typing.Union[int, str] + ''' + + texture_mapping: 'TexMapping' = None + ''' Texture coordinate mapping settings + + :type: 'TexMapping' + ''' + + wave_profile: typing.Union[int, str] = None + ''' * SIN Sine, Use a standard sine profile. * SAW Saw, Use a sawtooth profile. * TRI Triangle, Use a triangle profile. + + :type: typing.Union[int, str] + ''' + + wave_type: typing.Union[int, str] = None + ''' * BANDS Bands, Use standard wave texture in bands. * RINGS Rings, Use wave texture in rings. + + :type: typing.Union[int, str] + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeTexWhiteNoise(ShaderNode, NodeInternal, Node, bpy_struct): + noise_dimensions: typing.Union[int, str] = None + ''' The dimensions of the space to evaluate the noise in * 1D 1D, Use the scalar value W as input. * 2D 2D, Use the 2D vector (x, y) as input. The z component is ignored. * 3D 3D, Use the 3D vector Vector as input. * 4D 4D, Use the 4D vector (x, y, z, w) as input. + + :type: typing.Union[int, str] + ''' + + @classmethod + def is_registered_node_type(cls) -> bool: + ''' True if a registered node type + + :rtype: bool + :return: Result + ''' + pass + + @classmethod + def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Input socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': + ''' Output socket template + + :param index: Index + :type index: int + :rtype: 'NodeInternalSocketTemplate' + :return: result + ''' + pass + + @classmethod + def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': + ''' + + :param id: The RNA type identifier. + :type id: str + :rtype: 'Struct' + :return: The RNA type or default when not found. + ''' + pass + + @classmethod + def bl_rna_get_subclass_py(cls, id: str, default=None): + ''' + + :param id: The RNA type identifier. + :type id: str + :return: The class or default when not found. + ''' + pass + + +class ShaderNodeUVAlongStroke(ShaderNode, NodeInternal, Node, bpy_struct): + use_tips: bool = None + ''' Lower half of the texture is for tips of the stroke + + :type: bool + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92283,7 +95727,19 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeVolumePrincipled(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeUVMap(ShaderNode, NodeInternal, Node, bpy_struct): + from_instancer: bool = None + ''' Use the parent of the dupli object if possible + + :type: bool + ''' + + uv_map: str = None + ''' UV coordinates to be used for mapping + + :type: str + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92337,7 +95793,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeVolumeScatter(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeValToRGB(ShaderNode, NodeInternal, Node, bpy_struct): + color_ramp: 'ColorRamp' = None + ''' + + :type: 'ColorRamp' + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92391,7 +95853,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeWavelength(ShaderNode, NodeInternal, Node, bpy_struct): +class ShaderNodeValue(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92445,11 +95907,11 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class ShaderNodeWireframe(ShaderNode, NodeInternal, Node, bpy_struct): - use_pixel_size: bool = None - ''' Use screen pixel size instead of world units +class ShaderNodeVectorCurve(ShaderNode, NodeInternal, Node, bpy_struct): + mapping: 'CurveMapping' = None + ''' - :type: bool + :type: 'CurveMapping' ''' @classmethod @@ -92505,63 +95967,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeEmitParticles(SimulationNode, NodeInternal, Node, - bpy_struct): - @classmethod - def is_registered_node_type(cls) -> bool: - ''' True if a registered node type - - :rtype: bool - :return: Result - ''' - pass - - @classmethod - def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': - ''' Input socket template - - :param index: Index - :type index: int - :rtype: 'NodeInternalSocketTemplate' - :return: result - ''' - pass - - @classmethod - def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': - ''' Output socket template - - :param index: Index - :type index: int - :rtype: 'NodeInternalSocketTemplate' - :return: result - ''' - pass - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass - - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' - - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass +class ShaderNodeVectorDisplacement(ShaderNode, NodeInternal, Node, bpy_struct): + space: typing.Union[int, str] = None + ''' Space of the input height * TANGENT Tangent Space, Tangent space vector displacement mapping. * OBJECT Object Space, Object space vector displacement mapping. * WORLD World Space, World space vector displacement mapping. + :type: typing.Union[int, str] + ''' -class SimulationNodeExecuteCondition(SimulationNode, NodeInternal, Node, - bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92615,7 +96027,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeForce(SimulationNode, NodeInternal, Node, bpy_struct): +class ShaderNodeVectorMath(ShaderNode, NodeInternal, Node, bpy_struct): + operation: typing.Union[int, str] = None + ''' * ADD Add, A + B. * SUBTRACT Subtract, A - B. * MULTIPLY Multiply, Entry-wise multiply. * DIVIDE Divide, Entry-wise divide. * CROSS_PRODUCT Cross Product, A cross B. * PROJECT Project, Project A onto B. * REFLECT Reflect, Reflect A around the normal B. B doesn't need to be normalized. * DOT_PRODUCT Dot Product, A dot B. * DISTANCE Distance, Distance between A and B. * LENGTH Length, Length of A. * SCALE Scale, A multiplied by Scale. * NORMALIZE Normalize, Normalize A. * ABSOLUTE Absolute, Entry-wise absolute. * MINIMUM Minimum, Entry-wise minimum. * MAXIMUM Maximum, Entry-wise maximum. * FLOOR Floor, Entry-wise floor. * CEIL Ceil, Entry-wise ceil. * FRACTION Fraction, The fraction part of A entry-wise. * MODULO Modulo, Entry-wise modulo using fmod(A,B). * WRAP Wrap, Entry-wise wrap(A,B). * SNAP Snap, Round A to the largest integer multiple of B less than or equal A. * SINE Sine, Entry-wise sin(A). * COSINE Cosine, Entry-wise cos(A). * TANGENT Tangent, Entry-wise tan(A). + + :type: typing.Union[int, str] + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92669,17 +96087,17 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeGroup(SimulationNode, NodeInternal, Node, bpy_struct): - interface: 'PropertyGroup' = None - ''' Interface socket data +class ShaderNodeVectorRotate(ShaderNode, NodeInternal, Node, bpy_struct): + invert: bool = None + ''' Invert angle - :type: 'PropertyGroup' + :type: bool ''' - node_tree: 'NodeTree' = None - ''' + rotation_type: typing.Union[int, str] = None + ''' Type of rotation * AXIS_ANGLE Axis Angle, Rotate a point using axis angle. * X_AXIS X Axis, Rotate a point using X axis. * Y_AXIS Y Axis, Rotate a point using Y axis. * Z_AXIS Z Axis, Rotate a point using Z axis. * EULER_XYZ Euler, Rotate a point using XYZ order. - :type: 'NodeTree' + :type: typing.Union[int, str] ''' @classmethod @@ -92735,65 +96153,21 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeMultiExecute(SimulationNode, NodeInternal, Node, - bpy_struct): - @classmethod - def is_registered_node_type(cls) -> bool: - ''' True if a registered node type - - :rtype: bool - :return: Result - ''' - pass - - @classmethod - def input_template(cls, index: int) -> 'NodeInternalSocketTemplate': - ''' Input socket template - - :param index: Index - :type index: int - :rtype: 'NodeInternalSocketTemplate' - :return: result - ''' - pass - - @classmethod - def output_template(cls, index: int) -> 'NodeInternalSocketTemplate': - ''' Output socket template - - :param index: Index - :type index: int - :rtype: 'NodeInternalSocketTemplate' - :return: result - ''' - pass - - @classmethod - def bl_rna_get_subclass(cls, id: str, default=None) -> 'Struct': - ''' - - :param id: The RNA type identifier. - :type id: str - :rtype: 'Struct' - :return: The RNA type or default when not found. - ''' - pass +class ShaderNodeVectorTransform(ShaderNode, NodeInternal, Node, bpy_struct): + convert_from: typing.Union[int, str] = None + ''' Space to convert from - @classmethod - def bl_rna_get_subclass_py(cls, id: str, default=None): - ''' + :type: typing.Union[int, str] + ''' - :param id: The RNA type identifier. - :type id: str - :return: The class or default when not found. - ''' - pass + convert_to: typing.Union[int, str] = None + ''' Space to convert to + :type: typing.Union[int, str] + ''' -class SimulationNodeParticleAttribute(SimulationNode, NodeInternal, Node, - bpy_struct): - data_type: typing.Union[int, str] = None - ''' Expected type of the attribute. A default value is returned if the type is not correct + vector_type: typing.Union[int, str] = None + ''' * POINT Point, Transform a point. * VECTOR Vector, Transform a direction vector. * NORMAL Normal, Transform a normal vector with unit length. :type: typing.Union[int, str] ''' @@ -92851,8 +96225,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeParticleBirthEvent(SimulationNode, NodeInternal, Node, - bpy_struct): +class ShaderNodeVertexColor(ShaderNode, NodeInternal, Node, bpy_struct): + layer_name: str = None + ''' Vertex Color + + :type: str + ''' + @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92906,8 +96285,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeParticleMeshCollisionEvent(SimulationNode, NodeInternal, - Node, bpy_struct): +class ShaderNodeVolumeAbsorption(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -92961,8 +96339,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeParticleMeshEmitter(SimulationNode, NodeInternal, Node, - bpy_struct): +class ShaderNodeVolumeInfo(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -93016,8 +96393,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeParticleSimulation(SimulationNode, NodeInternal, Node, - bpy_struct): +class ShaderNodeVolumePrincipled(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -93071,14 +96447,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeParticleTimeStepEvent(SimulationNode, NodeInternal, Node, - bpy_struct): - mode: typing.Union[int, str] = None - ''' When in each time step is the event triggered * BEGIN Begin, Execute for every particle at the beginning of each time step. * END End, Execute for every particle at the end of each time step. - - :type: typing.Union[int, str] - ''' - +class ShaderNodeVolumeScatter(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -93132,14 +96501,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeSetParticleAttribute(SimulationNode, NodeInternal, Node, - bpy_struct): - data_type: typing.Union[int, str] = None - ''' Expected type of the attribute. Nothing is done if the type is not correct - - :type: typing.Union[int, str] - ''' - +class ShaderNodeWavelength(ShaderNode, NodeInternal, Node, bpy_struct): @classmethod def is_registered_node_type(cls) -> bool: ''' True if a registered node type @@ -93193,11 +96555,11 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): pass -class SimulationNodeTime(SimulationNode, NodeInternal, Node, bpy_struct): - mode: typing.Union[int, str] = None - ''' The time to output * SIMULATION_TIME Simulation Time, Time since start of simulation. * SCENE_TIME Scene Time, Time shown in the timeline. +class ShaderNodeWireframe(ShaderNode, NodeInternal, Node, bpy_struct): + use_pixel_size: bool = None + ''' Use screen pixel size instead of world units - :type: typing.Union[int, str] + :type: bool ''' @classmethod @@ -94029,13 +97391,13 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): class TextureNodeMath(TextureNode, NodeInternal, Node, bpy_struct): operation: typing.Union[int, str] = None - ''' * ADD Add, A + B. * SUBTRACT Subtract, A - B. * MULTIPLY Multiply, A \* B. * DIVIDE Divide, A / B. * MULTIPLY_ADD Multiply Add, A \* B + C. * POWER Power, A power B. * LOGARITHM Logarithm, Logarithm A base B. * SQRT Square Root, Square root of A. * INVERSE_SQRT Inverse Square Root, 1 / Square root of A. * ABSOLUTE Absolute, Magnitude of A. * EXPONENT Exponent, exp(A). * MINIMUM Minimum, The minimum from A and B. * MAXIMUM Maximum, The maximum from A and B. * LESS_THAN Less Than, 1 if A < B else 0. * GREATER_THAN Greater Than, 1 if A > B else 0. * SIGN Sign, Returns the sign of A. * COMPARE Compare, 1 if (A == B) within tolerance C else 0. * SMOOTH_MIN Smooth Minimum, The minimum from A and B with smoothing C. * SMOOTH_MAX Smooth Maximum, The maximum from A and B with smoothing C. * ROUND Round, Round A to the nearest integer. Round upward if the fraction part is 0.5. * FLOOR Floor, The largest integer smaller than or equal A. * CEIL Ceil, The smallest integer greater than or equal A. * TRUNC Truncate, The integer part of A, removing fractional digits. * FRACT Fraction, The fraction part of A. * MODULO Modulo, Modulo using fmod(A,B). * WRAP Wrap, Wrap value to range, wrap(A,B). * SNAP Snap, Snap to increment, snap(A,B). * PINGPONG Ping-pong, Wraps a value and reverses every other cycle (A,B). * SINE Sine, sin(A). * COSINE Cosine, cos(A). * TANGENT Tangent, tan(A). * ARCSINE Arcsine, arcsin(A). * ARCCOSINE Arccosine, arccos(A). * ARCTANGENT Arctangent, arctan(A). * ARCTAN2 Arctan2, The signed angle arctan(A / B). * SINH Hyperbolic Sine, sinh(A). * COSH Hyperbolic Cosine, cosh(A). * TANH Hyperbolic Tangent, tanh(A). * RADIANS To Radians, Convert from degrees to radians. * DEGREES To Degrees, Convert from radians to degrees. + ''' * ADD Add, A + B. * SUBTRACT Subtract, A - B. * MULTIPLY Multiply, A \* B. * DIVIDE Divide, A / B. * MULTIPLY_ADD Multiply Add, A \* B + C. * POWER Power, A power B. * LOGARITHM Logarithm, Logarithm A base B. * SQRT Square Root, Square root of A. * INVERSE_SQRT Inverse Square Root, 1 / Square root of A. * ABSOLUTE Absolute, Magnitude of A. * EXPONENT Exponent, exp(A). * MINIMUM Minimum, The minimum from A and B. * MAXIMUM Maximum, The maximum from A and B. * LESS_THAN Less Than, 1 if A < B else 0. * GREATER_THAN Greater Than, 1 if A > B else 0. * SIGN Sign, Returns the sign of A. * COMPARE Compare, 1 if (A == B) within tolerance C else 0. * SMOOTH_MIN Smooth Minimum, The minimum from A and B with smoothing C. * SMOOTH_MAX Smooth Maximum, The maximum from A and B with smoothing C. * ROUND Round, Round A to the nearest integer. Round upward if the fraction part is 0.5. * FLOOR Floor, The largest integer smaller than or equal A. * CEIL Ceil, The smallest integer greater than or equal A. * TRUNC Truncate, The integer part of A, removing fractional digits. * FRACT Fraction, The fraction part of A. * MODULO Modulo, Modulo using fmod(A,B). * WRAP Wrap, Wrap value to range, wrap(A,B). * SNAP Snap, Snap to increment, snap(A,B). * PINGPONG Ping-Pong, Wraps a value and reverses every other cycle (A,B). * SINE Sine, sin(A). * COSINE Cosine, cos(A). * TANGENT Tangent, tan(A). * ARCSINE Arcsine, arcsin(A). * ARCCOSINE Arccosine, arccos(A). * ARCTANGENT Arctangent, arctan(A). * ARCTAN2 Arctan2, The signed angle arctan(A / B). * SINH Hyperbolic Sine, sinh(A). * COSH Hyperbolic Cosine, cosh(A). * TANH Hyperbolic Tangent, tanh(A). * RADIANS To Radians, Convert from degrees to radians. * DEGREES To Degrees, Convert from radians to degrees. :type: typing.Union[int, str] ''' use_clamp: bool = None - ''' Clamp result of the node to 0..1 range + ''' Clamp result of the node to 0.0 to 1.0 range :type: bool ''' @@ -94107,7 +97469,7 @@ class TextureNodeMixRGB(TextureNode, NodeInternal, Node, bpy_struct): ''' use_clamp: bool = None - ''' Clamp result of the node to 0..1 range + ''' Clamp result of the node to 0.0 to 1.0 range :type: bool ''' @@ -95217,6 +98579,24 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): ANIM_OT_keying_set_export: 'bl_operators.anim.ANIM_OT_keying_set_export' = None +ANIM_OT_show_group_colors_deprecated: 'bl_operators.anim.ANIM_OT_show_group_colors_deprecated' = None + +ASSETBROWSER_PT_metadata: 'bl_ui.space_filebrowser.ASSETBROWSER_PT_metadata' = None + +ASSETBROWSER_PT_metadata_details: 'bl_ui.space_filebrowser.ASSETBROWSER_PT_metadata_details' = None + +ASSETBROWSER_PT_metadata_preview: 'bl_ui.space_filebrowser.ASSETBROWSER_PT_metadata_preview' = None + +ASSETBROWSER_PT_metadata_tags: 'bl_ui.space_filebrowser.ASSETBROWSER_PT_metadata_tags' = None + +ASSETBROWSER_PT_navigation_bar: 'bl_ui.space_filebrowser.ASSETBROWSER_PT_navigation_bar' = None + +ASSETBROWSER_UL_metadata_tags: 'bl_ui.space_filebrowser.ASSETBROWSER_UL_metadata_tags' = None + +ASSET_OT_tag_add: 'bl_operators.assets.ASSET_OT_tag_add' = None + +ASSET_OT_tag_remove: 'bl_operators.assets.ASSET_OT_tag_remove' = None + BONE_PT_bActionConstraint: 'bl_ui.properties_constraint.BONE_PT_bActionConstraint' = None BONE_PT_bActionConstraint_action: 'bl_ui.properties_constraint.BONE_PT_bActionConstraint_action' = None @@ -95339,6 +98719,16 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): CLIP_MT_track: 'bl_ui.space_clip.CLIP_MT_track' = None +CLIP_MT_track_animation: 'bl_ui.space_clip.CLIP_MT_track_animation' = None + +CLIP_MT_track_cleanup: 'bl_ui.space_clip.CLIP_MT_track_cleanup' = None + +CLIP_MT_track_clear: 'bl_ui.space_clip.CLIP_MT_track_clear' = None + +CLIP_MT_track_motion: 'bl_ui.space_clip.CLIP_MT_track_motion' = None + +CLIP_MT_track_refine: 'bl_ui.space_clip.CLIP_MT_track_refine' = None + CLIP_MT_track_transform: 'bl_ui.space_clip.CLIP_MT_track_transform' = None CLIP_MT_track_visibility: 'bl_ui.space_clip.CLIP_MT_track_visibility' = None @@ -95501,8 +98891,6 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): DATA_PT_camera_display_composition_guides: 'bl_ui.properties_data_camera.DATA_PT_camera_display_composition_guides' = None -DATA_PT_camera_display_passepartout: 'bl_ui.properties_data_camera.DATA_PT_camera_display_passepartout' = None - DATA_PT_camera_dof: 'bl_ui.properties_data_camera.DATA_PT_camera_dof' = None DATA_PT_camera_dof_aperture: 'bl_ui.properties_data_camera.DATA_PT_camera_dof_aperture' = None @@ -95575,8 +98963,6 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): DATA_PT_empty: 'bl_ui.properties_data_empty.DATA_PT_empty' = None -DATA_PT_empty_alpha: 'bl_ui.properties_data_empty.DATA_PT_empty_alpha' = None - DATA_PT_empty_image: 'bl_ui.properties_data_empty.DATA_PT_empty_image' = None DATA_PT_face_maps: 'bl_ui.properties_data_mesh.DATA_PT_face_maps' = None @@ -95591,6 +98977,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): DATA_PT_geometry_curve_bevel: 'bl_ui.properties_data_curve.DATA_PT_geometry_curve_bevel' = None +DATA_PT_geometry_curve_start_end: 'bl_ui.properties_data_curve.DATA_PT_geometry_curve_start_end' = None + DATA_PT_gpencil_canvas: 'bl_ui.properties_data_gpencil.DATA_PT_gpencil_canvas' = None DATA_PT_gpencil_display: 'bl_ui.properties_data_gpencil.DATA_PT_gpencil_display' = None @@ -95617,7 +99005,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): DATA_PT_gpencil_vertex_groups: 'bl_ui.properties_data_gpencil.DATA_PT_gpencil_vertex_groups' = None -DATA_PT_hair: 'bl_ui.properties_data_hair.DATA_PT_hair' = None +DATA_PT_hair_attributes: 'bl_ui.properties_data_hair.DATA_PT_hair_attributes' = None DATA_PT_iksolver_itasc: 'bl_ui.properties_data_armature.DATA_PT_iksolver_itasc' = None @@ -95657,7 +99045,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): DATA_PT_pathanim: 'bl_ui.properties_data_curve.DATA_PT_pathanim' = None -DATA_PT_pointcloud: 'bl_ui.properties_data_pointcloud.DATA_PT_pointcloud' = None +DATA_PT_pointcloud_attributes: 'bl_ui.properties_data_pointcloud.DATA_PT_pointcloud_attributes' = None DATA_PT_pose_library: 'bl_ui.properties_data_armature.DATA_PT_pose_library' = None @@ -95697,7 +99085,7 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): DATA_PT_volume_viewport_display: 'bl_ui.properties_data_volume.DATA_PT_volume_viewport_display' = None -DOPESHEET_HT_editor_buttons: 'bl_ui.space_dopesheet.DOPESHEET_HT_editor_buttons' = None +DATA_PT_volume_viewport_display_slicing: 'bl_ui.properties_data_volume.DATA_PT_volume_viewport_display_slicing' = None DOPESHEET_HT_header: 'bl_ui.space_dopesheet.DOPESHEET_HT_header' = None @@ -95809,8 +99197,6 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): GPENCIL_MT_snap_pie: 'bl_ui.properties_grease_pencil_common.GPENCIL_MT_snap_pie' = None -GPENCIL_OT_mesh_bake: 'bl_operators.gpencil_mesh_bake.GPENCIL_OT_mesh_bake' = None - GPENCIL_UL_annotation_layer: 'bl_ui.properties_grease_pencil_common.GPENCIL_UL_annotation_layer' = None GPENCIL_UL_layer: 'bl_ui.properties_grease_pencil_common.GPENCIL_UL_layer' = None @@ -95835,6 +99221,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): GRAPH_MT_key: 'bl_ui.space_graph.GRAPH_MT_key' = None +GRAPH_MT_key_snap: 'bl_ui.space_graph.GRAPH_MT_key_snap' = None + GRAPH_MT_key_transform: 'bl_ui.space_graph.GRAPH_MT_key_transform' = None GRAPH_MT_marker: 'bl_ui.space_graph.GRAPH_MT_marker' = None @@ -95849,6 +99237,10 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): GRAPH_PT_filters: 'bl_ui.space_graph.GRAPH_PT_filters' = None +HAIR_MT_add_attribute: 'bl_ui.properties_data_hair.HAIR_MT_add_attribute' = None + +HAIR_UL_attributes: 'bl_ui.properties_data_hair.HAIR_UL_attributes' = None + IMAGE_HT_header: 'bl_ui.space_image.IMAGE_HT_header' = None IMAGE_HT_tool_header: 'bl_ui.space_image.IMAGE_HT_tool_header' = None @@ -95889,6 +99281,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): IMAGE_MT_uvs_transform: 'bl_ui.space_image.IMAGE_MT_uvs_transform' = None +IMAGE_MT_uvs_unwrap: 'bl_ui.space_image.IMAGE_MT_uvs_unwrap' = None + IMAGE_MT_view: 'bl_ui.space_image.IMAGE_MT_view' = None IMAGE_MT_view_zoom: 'bl_ui.space_image.IMAGE_MT_view_zoom' = None @@ -95907,6 +99301,16 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): IMAGE_PT_mask_layers: 'bl_ui.space_image.IMAGE_PT_mask_layers' = None +IMAGE_PT_overlay: 'bl_ui.space_image.IMAGE_PT_overlay' = None + +IMAGE_PT_overlay_image: 'bl_ui.space_image.IMAGE_PT_overlay_image' = None + +IMAGE_PT_overlay_texture_paint: 'bl_ui.space_image.IMAGE_PT_overlay_texture_paint' = None + +IMAGE_PT_overlay_uv_edit: 'bl_ui.space_image.IMAGE_PT_overlay_uv_edit' = None + +IMAGE_PT_overlay_uv_edit_geometry: 'bl_ui.space_image.IMAGE_PT_overlay_uv_edit_geometry' = None + IMAGE_PT_paint_clone: 'bl_ui.space_image.IMAGE_PT_paint_clone' = None IMAGE_PT_paint_color: 'bl_ui.space_image.IMAGE_PT_paint_color' = None @@ -95961,10 +99365,6 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): IMAGE_PT_view_display: 'bl_ui.space_image.IMAGE_PT_view_display' = None -IMAGE_PT_view_display_uv_edit_overlays: 'bl_ui.space_image.IMAGE_PT_view_display_uv_edit_overlays' = None - -IMAGE_PT_view_display_uv_edit_overlays_stretch: 'bl_ui.space_image.IMAGE_PT_view_display_uv_edit_overlays_stretch' = None - IMAGE_PT_view_histogram: 'bl_ui.space_image.IMAGE_PT_view_histogram' = None IMAGE_PT_view_vectorscope: 'bl_ui.space_image.IMAGE_PT_view_vectorscope' = None @@ -96543,12 +99943,22 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): PHYSICS_PT_viewport_display: 'bl_ui.properties_physics_fluid.PHYSICS_PT_viewport_display' = None +PHYSICS_PT_viewport_display_advanced: 'bl_ui.properties_physics_fluid.PHYSICS_PT_viewport_display_advanced' = None + PHYSICS_PT_viewport_display_color: 'bl_ui.properties_physics_fluid.PHYSICS_PT_viewport_display_color' = None PHYSICS_PT_viewport_display_debug: 'bl_ui.properties_physics_fluid.PHYSICS_PT_viewport_display_debug' = None +PHYSICS_PT_viewport_display_slicing: 'bl_ui.properties_physics_fluid.PHYSICS_PT_viewport_display_slicing' = None + +PHYSICS_PT_viscosity: 'bl_ui.properties_physics_fluid.PHYSICS_PT_viscosity' = None + PHYSICS_UL_dynapaint_surfaces: 'bl_ui.properties_physics_dynamicpaint.PHYSICS_UL_dynapaint_surfaces' = None +POINTCLOUD_MT_add_attribute: 'bl_ui.properties_data_pointcloud.POINTCLOUD_MT_add_attribute' = None + +POINTCLOUD_UL_attributes: 'bl_ui.properties_data_pointcloud.POINTCLOUD_UL_attributes' = None + PREFERENCES_OT_addon_disable: 'bl_operators.userpref.PREFERENCES_OT_addon_disable' = None PREFERENCES_OT_addon_enable: 'bl_operators.userpref.PREFERENCES_OT_addon_enable' = None @@ -96601,6 +100011,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): PROPERTIES_PT_navigation_bar: 'bl_ui.space_properties.PROPERTIES_PT_navigation_bar' = None +PROPERTIES_PT_options: 'bl_ui.space_properties.PROPERTIES_PT_options' = None + RENDER_MT_framerate_presets: 'bl_ui.properties_output.RENDER_MT_framerate_presets' = None RENDER_MT_lineset_context_menu: 'bl_ui.properties_freestyle.RENDER_MT_lineset_context_menu' = None @@ -96771,6 +100183,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): SEQUENCER_MT_strip_effect: 'bl_ui.space_sequencer.SEQUENCER_MT_strip_effect' = None +SEQUENCER_MT_strip_image_transform: 'bl_ui.space_sequencer.SEQUENCER_MT_strip_image_transform' = None + SEQUENCER_MT_strip_input: 'bl_ui.space_sequencer.SEQUENCER_MT_strip_input' = None SEQUENCER_MT_strip_lock_mute: 'bl_ui.space_sequencer.SEQUENCER_MT_strip_lock_mute' = None @@ -96785,20 +100199,16 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): SEQUENCER_PT_active_tool: 'bl_ui.space_sequencer.SEQUENCER_PT_active_tool' = None -SEQUENCER_PT_adjust: 'bl_ui.space_sequencer.SEQUENCER_PT_adjust' = None - SEQUENCER_PT_adjust_color: 'bl_ui.space_sequencer.SEQUENCER_PT_adjust_color' = None SEQUENCER_PT_adjust_comp: 'bl_ui.space_sequencer.SEQUENCER_PT_adjust_comp' = None +SEQUENCER_PT_adjust_crop: 'bl_ui.space_sequencer.SEQUENCER_PT_adjust_crop' = None + SEQUENCER_PT_adjust_sound: 'bl_ui.space_sequencer.SEQUENCER_PT_adjust_sound' = None SEQUENCER_PT_adjust_transform: 'bl_ui.space_sequencer.SEQUENCER_PT_adjust_transform' = None -SEQUENCER_PT_adjust_transform_crop: 'bl_ui.space_sequencer.SEQUENCER_PT_adjust_transform_crop' = None - -SEQUENCER_PT_adjust_transform_offset: 'bl_ui.space_sequencer.SEQUENCER_PT_adjust_transform_offset' = None - SEQUENCER_PT_adjust_video: 'bl_ui.space_sequencer.SEQUENCER_PT_adjust_video' = None SEQUENCER_PT_annotation: 'bl_ui.space_sequencer.SEQUENCER_PT_annotation' = None @@ -96821,12 +100231,18 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): SEQUENCER_PT_modifiers: 'bl_ui.space_sequencer.SEQUENCER_PT_modifiers' = None +SEQUENCER_PT_overlay: 'bl_ui.space_sequencer.SEQUENCER_PT_overlay' = None + SEQUENCER_PT_preview: 'bl_ui.space_sequencer.SEQUENCER_PT_preview' = None +SEQUENCER_PT_preview_overlay: 'bl_ui.space_sequencer.SEQUENCER_PT_preview_overlay' = None + SEQUENCER_PT_proxy_settings: 'bl_ui.space_sequencer.SEQUENCER_PT_proxy_settings' = None SEQUENCER_PT_scene: 'bl_ui.space_sequencer.SEQUENCER_PT_scene' = None +SEQUENCER_PT_sequencer_overlay: 'bl_ui.space_sequencer.SEQUENCER_PT_sequencer_overlay' = None + SEQUENCER_PT_source: 'bl_ui.space_sequencer.SEQUENCER_PT_source' = None SEQUENCER_PT_strip: 'bl_ui.space_sequencer.SEQUENCER_PT_strip' = None @@ -96933,8 +100349,6 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): TEXT_PT_properties: 'bl_ui.space_text.TEXT_PT_properties' = None -TIME_HT_editor_buttons: 'bl_ui.space_time.TIME_HT_editor_buttons' = None - TIME_MT_cache: 'bl_ui.space_time.TIME_MT_cache' = None TIME_MT_editor_menus: 'bl_ui.space_time.TIME_MT_editor_menus' = None @@ -96943,6 +100357,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): TIME_MT_view: 'bl_ui.space_time.TIME_MT_view' = None +TIME_PT_auto_keyframing: 'bl_ui.space_time.TIME_PT_auto_keyframing' = None + TIME_PT_keyframing_settings: 'bl_ui.space_time.TIME_PT_keyframing_settings' = None TIME_PT_playback: 'bl_ui.space_time.TIME_PT_playback' = None @@ -97053,6 +100469,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): USERPREF_PT_file_paths_applications: 'bl_ui.space_userpref.USERPREF_PT_file_paths_applications' = None +USERPREF_PT_file_paths_asset_libraries: 'bl_ui.space_userpref.USERPREF_PT_file_paths_asset_libraries' = None + USERPREF_PT_file_paths_data: 'bl_ui.space_userpref.USERPREF_PT_file_paths_data' = None USERPREF_PT_file_paths_development: 'bl_ui.space_userpref.USERPREF_PT_file_paths_development' = None @@ -97131,6 +100549,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): USERPREF_PT_theme_bone_color_sets: 'bl_ui.space_userpref.USERPREF_PT_theme_bone_color_sets' = None +USERPREF_PT_theme_collection_colors: 'bl_ui.space_userpref.USERPREF_PT_theme_collection_colors' = None + USERPREF_PT_theme_interface_gizmos: 'bl_ui.space_userpref.USERPREF_PT_theme_interface_gizmos' = None USERPREF_PT_theme_interface_icons: 'bl_ui.space_userpref.USERPREF_PT_theme_interface_icons' = None @@ -97185,6 +100605,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): VIEW3D_MT_curve_add: 'bl_ui.space_view3d.VIEW3D_MT_curve_add' = None +VIEW3D_MT_draw_gpencil: 'bl_ui.space_view3d.VIEW3D_MT_draw_gpencil' = None + VIEW3D_MT_edit_armature: 'bl_ui.space_view3d.VIEW3D_MT_edit_armature' = None VIEW3D_MT_edit_armature_delete: 'bl_ui.space_view3d.VIEW3D_MT_edit_armature_delete' = None @@ -97339,6 +100761,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): VIEW3D_MT_object_apply: 'bl_ui.space_view3d.VIEW3D_MT_object_apply' = None +VIEW3D_MT_object_cleanup: 'bl_ui.space_view3d.VIEW3D_MT_object_cleanup' = None + VIEW3D_MT_object_clear: 'bl_ui.space_view3d.VIEW3D_MT_object_clear' = None VIEW3D_MT_object_collection: 'bl_ui.space_view3d.VIEW3D_MT_object_collection' = None @@ -97411,6 +100835,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): VIEW3D_MT_sculpt: 'bl_ui.space_view3d.VIEW3D_MT_sculpt' = None +VIEW3D_MT_sculpt_automasking_pie: 'bl_ui.space_view3d.VIEW3D_MT_sculpt_automasking_pie' = None + VIEW3D_MT_sculpt_face_sets_edit_pie: 'bl_ui.space_view3d.VIEW3D_MT_sculpt_face_sets_edit_pie' = None VIEW3D_MT_sculpt_mask_edit_pie: 'bl_ui.space_view3d.VIEW3D_MT_sculpt_mask_edit_pie' = None @@ -97467,16 +100893,12 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): VIEW3D_MT_transform_armature: 'bl_ui.space_view3d.VIEW3D_MT_transform_armature' = None -VIEW3D_MT_transform_base: 'bl_ui.space_view3d.VIEW3D_MT_transform_base' = None - VIEW3D_MT_transform_gizmo_pie: 'bl_ui.space_view3d.VIEW3D_MT_transform_gizmo_pie' = None VIEW3D_MT_transform_object: 'bl_ui.space_view3d.VIEW3D_MT_transform_object' = None VIEW3D_MT_uv_map: 'bl_ui.space_view3d.VIEW3D_MT_uv_map' = None -VIEW3D_MT_vertex_gpencil: 'bl_ui.space_view3d.VIEW3D_MT_vertex_gpencil' = None - VIEW3D_MT_vertex_group: 'bl_ui.space_view3d.VIEW3D_MT_vertex_group' = None VIEW3D_MT_view: 'bl_ui.space_view3d.VIEW3D_MT_view' = None @@ -97523,6 +100945,8 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): VIEW3D_PT_gpencil_brush_presets: 'bl_ui.space_view3d_toolbar.VIEW3D_PT_gpencil_brush_presets' = None +VIEW3D_PT_gpencil_curve_edit: 'bl_ui.space_view3d.VIEW3D_PT_gpencil_curve_edit' = None + VIEW3D_PT_gpencil_draw_context_menu: 'bl_ui.space_view3d.VIEW3D_PT_gpencil_draw_context_menu' = None VIEW3D_PT_gpencil_guide: 'bl_ui.space_view3d.VIEW3D_PT_gpencil_guide' = None @@ -97757,8 +101181,6 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): VIEW3D_PT_view3d_stereo: 'bl_ui.space_view3d.VIEW3D_PT_view3d_stereo' = None -VIEWLAYER_PT_eevee_layer_passes: 'bl_ui.properties_view_layer.VIEWLAYER_PT_eevee_layer_passes' = None - VIEWLAYER_PT_eevee_layer_passes_data: 'bl_ui.properties_view_layer.VIEWLAYER_PT_eevee_layer_passes_data' = None VIEWLAYER_PT_eevee_layer_passes_effects: 'bl_ui.properties_view_layer.VIEWLAYER_PT_eevee_layer_passes_effects' = None @@ -97773,6 +101195,14 @@ def bl_rna_get_subclass_py(cls, id: str, default=None): VIEWLAYER_PT_layer: 'bl_ui.properties_view_layer.VIEWLAYER_PT_layer' = None +VIEWLAYER_PT_layer_passes: 'bl_ui.properties_view_layer.VIEWLAYER_PT_layer_passes' = None + +VIEWLAYER_PT_layer_passes_aov: 'bl_ui.properties_view_layer.VIEWLAYER_PT_layer_passes_aov' = None + +VIEWLAYER_PT_layer_passes_cryptomatte: 'bl_ui.properties_view_layer.VIEWLAYER_PT_layer_passes_cryptomatte' = None + +VIEWLAYER_UL_aov: 'bl_ui.properties_view_layer.VIEWLAYER_UL_aov' = None + VIEWLAYER_UL_linesets: 'bl_ui.properties_freestyle.VIEWLAYER_UL_linesets' = None VOLUME_UL_grids: 'bl_ui.properties_data_volume.VOLUME_UL_grids' = None diff --git a/blender_autocomplete/bpy/utils/__init__.py b/blender_autocomplete/bpy/utils/__init__.py index 3e64e96..2cca126 100644 --- a/blender_autocomplete/bpy/utils/__init__.py +++ b/blender_autocomplete/bpy/utils/__init__.py @@ -3,8 +3,8 @@ import bpy.types import bpy.context -from . import units from . import previews +from . import units def app_template_paths(subdir: str = None): @@ -154,8 +154,9 @@ def refresh_script_paths(): def register_class(cls): - ''' Register a subclass of a blender type in ( bpy.types.Panel , bpy.types.UIList , bpy.types.Menu , bpy.types.Header , bpy.types.Operator , bpy.types.KeyingSetInfo , bpy.types.RenderEngine ). If the class has a *register* class method it will be called before registration. + ''' Register a subclass of a Blender type class. :raises ValueError: if the class is not a subclass of a registerable blender class. + :param cls: bpy.types.Panel , bpy.types.UIList , bpy.types.Menu , bpy.types.Header , bpy.types.Operator , bpy.types.KeyingSetInfo , bpy.types.RenderEngine ''' pass @@ -303,6 +304,17 @@ def time_to_frame(time, fps, fps_base): pass +def unescape_identifier(string: str) -> str: + ''' Simple string un-escape function used for animation paths. This performs the reverse of escape_identifier . + + :param string: text + :type string: str + :return: The un-escaped string. + ''' + + pass + + def unregister_class(cls): ''' Unload the Python class from blender. If the class has an *unregister* class method it will be called before unregistering. diff --git a/blender_autocomplete/bpy/utils/previews.py b/blender_autocomplete/bpy/utils/previews.py index 26f4c80..5b2f44f 100644 --- a/blender_autocomplete/bpy/utils/previews.py +++ b/blender_autocomplete/bpy/utils/previews.py @@ -24,7 +24,7 @@ def load(self, filepath: str, filetype: str, force_reload: bool = False) -> 'bpy.types.ImagePreview': - ''' Generate a new preview from given file path, or return existing one matching name . + ''' Generate a new preview from given file path. :raises KeyError: if name already exists. :param name: The name (unique id) identifying the preview. :type name: str @@ -40,7 +40,7 @@ def load(self, pass def new(self, name: str) -> 'bpy.types.ImagePreview': - ''' Generate a new empty preview, or return existing one matching name . + ''' Generate a new empty preview. :raises KeyError: if name already exists. :param name: The name (unique id) identifying the preview. :type name: str diff --git a/blender_autocomplete/bpy_extras/__init__.py b/blender_autocomplete/bpy_extras/__init__.py index 3e6e166..7a69d2f 100644 --- a/blender_autocomplete/bpy_extras/__init__.py +++ b/blender_autocomplete/bpy_extras/__init__.py @@ -1,12 +1,13 @@ import sys import typing -from . import object_utils -from . import anim_utils +from . import asset_utils from . import view3d_utils -from . import keyconfig_utils +from . import anim_utils from . import mesh_utils +from . import keyconfig_utils from . import node_utils +from . import object_utils from . import image_utils from . import io_utils -from . import node_shader_utils from . import wm_utils +from . import node_shader_utils diff --git a/blender_autocomplete/bpy_extras/anim_utils.py b/blender_autocomplete/bpy_extras/anim_utils.py index f9d7b40..2be62bb 100644 --- a/blender_autocomplete/bpy_extras/anim_utils.py +++ b/blender_autocomplete/bpy_extras/anim_utils.py @@ -69,12 +69,12 @@ def bake_action_objects(object_action_pairs, *, frames: int, def bake_action_objects_iter( object_action_pairs: typing. - Union['bpy.types.Action', 'bpy.types.Object', 'bpy.types.Sequence'], + Union['bpy.types.Sequence', 'bpy.types.Object', 'bpy.types.Action'], **kwargs): ''' An coroutine that bakes actions for multiple objects. :param object_action_pairs: Sequence of object action tuples, action is the destination for the baked data. When None a new action will be created. - :type object_action_pairs: typing.Union['bpy.types.Action', 'bpy.types.Object', 'bpy.types.Sequence'] + :type object_action_pairs: typing.Union['bpy.types.Sequence', 'bpy.types.Object', 'bpy.types.Action'] ''' pass diff --git a/blender_autocomplete/bpy_extras/asset_utils.py b/blender_autocomplete/bpy_extras/asset_utils.py new file mode 100644 index 0000000..8f58516 --- /dev/null +++ b/blender_autocomplete/bpy_extras/asset_utils.py @@ -0,0 +1,31 @@ +import sys +import typing + + +class AssetBrowserPanel: + bl_space_type = None + ''' ''' + + def poll(self, context): + ''' + + ''' + pass + + +class AssetMetaDataPanel: + bl_region_type = None + ''' ''' + + bl_space_type = None + ''' ''' + + def poll(self, context): + ''' + + ''' + pass + + +class SpaceAssetInfo: + pass diff --git a/blender_autocomplete/bpy_extras/node_shader_utils.py b/blender_autocomplete/bpy_extras/node_shader_utils.py index 4abc84f..ec0dd34 100644 --- a/blender_autocomplete/bpy_extras/node_shader_utils.py +++ b/blender_autocomplete/bpy_extras/node_shader_utils.py @@ -238,6 +238,12 @@ class PrincipledBSDFWrapper(ShaderWrapper): emission_color_texture = None ''' ''' + emission_strength = None + ''' ''' + + emission_strength_texture = None + ''' ''' + ior = None ''' ''' @@ -352,6 +358,24 @@ def emission_color_texture_get(self): ''' pass + def emission_strength_get(self): + ''' + + ''' + pass + + def emission_strength_set(self, value): + ''' + + ''' + pass + + def emission_strength_texture_get(self): + ''' + + ''' + pass + def ior_get(self): ''' diff --git a/blender_autocomplete/console/__init__.py b/blender_autocomplete/console/__init__.py index bba92fe..87c37f2 100644 --- a/blender_autocomplete/console/__init__.py +++ b/blender_autocomplete/console/__init__.py @@ -1,6 +1,6 @@ import sys import typing -from . import complete_import from . import complete_calltip from . import complete_namespace from . import intellisense +from . import complete_import diff --git a/blender_autocomplete/freestyle/__init__.py b/blender_autocomplete/freestyle/__init__.py index 96037ae..901a23a 100644 --- a/blender_autocomplete/freestyle/__init__.py +++ b/blender_autocomplete/freestyle/__init__.py @@ -1,8 +1,8 @@ import sys import typing -from . import utils -from . import types -from . import predicates from . import chainingiterators +from . import utils from . import functions +from . import types from . import shaders +from . import predicates diff --git a/blender_autocomplete/freestyle/chainingiterators.py b/blender_autocomplete/freestyle/chainingiterators.py index cdbce88..e74191e 100644 --- a/blender_autocomplete/freestyle/chainingiterators.py +++ b/blender_autocomplete/freestyle/chainingiterators.py @@ -14,7 +14,7 @@ def __init__(self, restrict_to_unvisited: bool = True, begin: 'freestyle.types.ViewEdge' = None, orientation: bool = True): - ''' Builds a ChainPredicateIterator from a unary predicate, a binary predicate, a starting ViewEdge and its orientation. + ''' __init__(brother) Builds a ChainPredicateIterator from a unary predicate, a binary predicate, a starting ViewEdge and its orientation or using the copy constructor. :param upred: The unary predicate that the next ViewEdge must satisfy. :type upred: 'freestyle.types.UnaryPredicate1D' @@ -28,12 +28,6 @@ def __init__(self, :type begin: 'freestyle.types.ViewEdge' :param orientation: If true, we'll look for the next ViewEdge among the ViewEdges that surround the ending ViewVertex of begin. If false, we'll search over the ViewEdges surrounding the ending ViewVertex of begin. :type orientation: bool - ''' - pass - - def __init__(self, brother: 'ChainPredicateIterator'): - ''' Copy constructor. - :param brother: A ChainPredicateIterator object. :type brother: 'ChainPredicateIterator' ''' @@ -48,7 +42,7 @@ def __init__(self, restrict_to_selection: bool = True, begin: 'freestyle.types.ViewEdge' = None, orientation: bool = True): - ''' Builds a ChainSilhouetteIterator from the first ViewEdge used for iteration and its orientation. + ''' __init__(brother) Builds a ChainSilhouetteIterator from the first ViewEdge used for iteration and its orientation or the copy constructor. :param restrict_to_selection: Indicates whether to force the chaining to stay within the set of selected ViewEdges or not. :type restrict_to_selection: bool @@ -56,12 +50,6 @@ def __init__(self, :type begin: 'freestyle.types.ViewEdge' :param orientation: If true, we'll look for the next ViewEdge among the ViewEdges that surround the ending ViewVertex of begin. If false, we'll search over the ViewEdges surrounding the ending ViewVertex of begin. :type orientation: bool - ''' - pass - - def __init__(self, brother: 'ChainSilhouetteIterator'): - ''' Copy constructor. - :param brother: A ChainSilhouetteIterator object. :type brother: 'ChainSilhouetteIterator' ''' diff --git a/blender_autocomplete/freestyle/predicates.py b/blender_autocomplete/freestyle/predicates.py index ba5e390..71490b4 100644 --- a/blender_autocomplete/freestyle/predicates.py +++ b/blender_autocomplete/freestyle/predicates.py @@ -16,7 +16,7 @@ class ContourUP1D: ''' def __call__(self, inter: 'freestyle.types.Interface1D') -> bool: - ''' Returns true if the Interface1D is a contour. An Interface1D is a contour if it is borded by a different shape on each of its sides. + ''' Returns true if the Interface1D is a contour. An Interface1D is a contour if it is bordered by a different shape on each of its sides. :param inter: An Interface1D object. :type inter: 'freestyle.types.Interface1D' @@ -102,7 +102,7 @@ class ExternalContourUP1D: ''' def __call__(self, inter: 'freestyle.types.Interface1D') -> bool: - ''' Returns true if the Interface1D is an external contour. An Interface1D is an external contour if it is borded by no shape on one of its sides. + ''' Returns true if the Interface1D is an external contour. An Interface1D is an external contour if it is bordered by no shape on one of its sides. :param inter: An Interface1D object. :type inter: 'freestyle.types.Interface1D' diff --git a/blender_autocomplete/freestyle/shaders.py b/blender_autocomplete/freestyle/shaders.py index 60d385a..077172f 100644 --- a/blender_autocomplete/freestyle/shaders.py +++ b/blender_autocomplete/freestyle/shaders.py @@ -51,12 +51,12 @@ class BlenderTextureShader: ''' Class hierarchy: freestyle.types.StrokeShader > BlenderTextureShader [Texture shader] ''' - def __init__(self, texture: typing.Union[ - 'bpy.types.ShaderNodeTree', 'bpy.types.LineStyleTextureSlot']): + def __init__(self, texture: typing.Union['bpy.types.LineStyleTextureSlot', + 'bpy.types.ShaderNodeTree']): ''' Builds a BlenderTextureShader object. :param texture: A line style texture slot or a shader node tree to define a set of textures. - :type texture: typing.Union['bpy.types.ShaderNodeTree', 'bpy.types.LineStyleTextureSlot'] + :type texture: typing.Union['bpy.types.LineStyleTextureSlot', 'bpy.types.ShaderNodeTree'] ''' pass diff --git a/blender_autocomplete/freestyle/types.py b/blender_autocomplete/freestyle/types.py index aa5cafd..48a448e 100644 --- a/blender_autocomplete/freestyle/types.py +++ b/blender_autocomplete/freestyle/types.py @@ -21,25 +21,10 @@ class AdjacencyIterator: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'AdjacencyIterator'): - ''' Copy constructor. + ''' __init__(brother) __init__(vertex, restrict_to_selection=True, restrict_to_unvisited=True) Builds an AdjacencyIterator using the default constructor, copy constructor or the overloaded constructor. :param brother: An AdjacencyIterator object. :type brother: 'AdjacencyIterator' - ''' - pass - - def __init__(self, - vertex: 'ViewVertex', - restrict_to_selection: bool = True, - restrict_to_unvisited: bool = True): - ''' Builds a AdjacencyIterator object. - :param vertex: The vertex which is the next crossing. :type vertex: 'ViewVertex' :param restrict_to_selection: Indicates whether to force the chaining to stay within the set of selected ViewEdges or not. @@ -124,22 +109,10 @@ class Chain: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'Chain'): - ''' Copy constructor. + ''' __init__(brother) __init__(id) Builds a Chain using the default constructor, copy constructor or from an Id . :param brother: A Chain object. :type brother: 'Chain' - ''' - pass - - def __init__(self, id: 'Id'): - ''' Builds a chain from its Id. - :param id: An Id object. :type id: 'Id' ''' @@ -193,7 +166,7 @@ def __init__(self, restrict_to_unvisited: bool = True, begin: 'ViewEdge' = None, orientation: bool = True): - ''' Builds a Chaining Iterator from the first ViewEdge used for iteration and its orientation. + ''' __init__(brother) Builds a Chaining Iterator from the first ViewEdge used for iteration and its orientation or by using the copy constructor. :param restrict_to_selection: Indicates whether to force the chaining to stay within the set of selected ViewEdges or not. :type restrict_to_selection: bool @@ -203,12 +176,6 @@ def __init__(self, :type begin: 'ViewEdge' :param orientation: The direction to follow to explore the graph. If true, the direction indicated by the first ViewEdge is used. :type orientation: bool - ''' - pass - - def __init__(self, brother: 'ChainingIterator'): - ''' Copy constructor. - :param brother: :type brother: 'ChainingIterator' ''' @@ -248,22 +215,10 @@ class Curve: ''' def __init__(self): - ''' Default Constructor. - - ''' - pass - - def __init__(self, brother: 'bpy.types.Curve'): - ''' Copy Constructor. + ''' __init__(brother) __init__(id) Builds a FrsCurve using a default constructor, copy constructor or from an Id . :param brother: A Curve object. :type brother: 'bpy.types.Curve' - ''' - pass - - def __init__(self, id: 'Id'): - ''' Builds a Curve from its Id. - :param id: An Id object. :type id: 'Id' ''' @@ -315,41 +270,19 @@ class CurvePoint: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'CurvePoint'): - ''' Copy constructor. + ''' __init__(brother) __init__(first_vertex, second_vertex, t2d) __init__(first_point, second_point, t2d) Builds a CurvePoint using the default constructor, copy constructor, or one of the overloaded constructors. The over loaded constructors can either take two SVertex or two CurvePoint objects and an interpolation parameter :param brother: A CurvePoint object. :type brother: 'CurvePoint' - ''' - pass - - def __init__(self, first_vertex: 'SVertex', second_vertex: 'SVertex', - t2d: float): - ''' Builds a CurvePoint from two SVertex objects and an interpolation parameter. - :param first_vertex: The first SVertex. :type first_vertex: 'SVertex' :param second_vertex: The second SVertex. :type second_vertex: 'SVertex' - :param t2d: A 2D interpolation parameter used to linearly interpolate first_vertex and second_vertex. - :type t2d: float - ''' - pass - - def __init__(self, first_point: 'CurvePoint', second_point: 'CurvePoint', - t2d: float): - ''' Builds a CurvePoint from two CurvePoint objects and an interpolation parameter. - :param first_point: The first CurvePoint. :type first_point: 'CurvePoint' :param second_point: The second CurvePoint. :type second_point: 'CurvePoint' - :param t2d: The 2D interpolation parameter used to linearly interpolate first_point and second_point. + :param t2d: A 2D interpolation parameter used to linearly interpolate first_vertex and second_vertex or first_point and second_point. :type t2d: float ''' pass @@ -378,22 +311,10 @@ class CurvePointIterator: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'CurvePointIterator'): - ''' Copy constructor. + ''' __init__(brother) __init__(step=0.0) Builds a CurvePointIterator object using either the default constructor, copy constructor, or the overloaded constructor. :param brother: A CurvePointIterator object. :type brother: 'CurvePointIterator' - ''' - pass - - def __init__(self, step: float = 0.0): - ''' Builds a CurvePointIterator object. - :param step: A resampling resolution with which the curve is resampled. If zero, no resampling is done (i.e., the iterator iterates over initial vertices). :type step: float ''' @@ -453,22 +374,10 @@ class FEdge: ''' def FEdge(self): - ''' Default constructor. - - ''' - pass - - def FEdge(self, brother: 'FEdge'): - ''' Copy constructor. + ''' FEdge(brother) Builds an FEdge using the default constructor, copy constructor, or between two SVertex objects. :param brother: An FEdge object. :type brother: 'FEdge' - ''' - pass - - def FEdge(self, first_vertex: 'SVertex', second_vertex: 'SVertex'): - ''' Builds an FEdge going from the first vertex to the second. - :param first_vertex: The first SVertex. :type first_vertex: 'SVertex' :param second_vertex: The second SVertex. @@ -478,7 +387,7 @@ def FEdge(self, first_vertex: 'SVertex', second_vertex: 'SVertex'): class FEdgeSharp: - ''' Class hierarchy: Interface1D > FEdge > FEdgeSharp Class defining a sharp FEdge. A Sharp FEdge corresponds to an initial edge of the input mesh. It can be a silhouette, a crease or a border. If it is a crease edge, then it is borded by two faces of the mesh. Face a lies on its right whereas Face b lies on its left. If it is a border edge, then it doesn't have any face on its right, and thus Face a is None. + ''' Class hierarchy: Interface1D > FEdge > FEdgeSharp Class defining a sharp FEdge. A Sharp FEdge corresponds to an initial edge of the input mesh. It can be a silhouette, a crease or a border. If it is a crease edge, then it is bordered by two faces of the mesh. Face a lies on its right whereas Face b lies on its left. If it is a border edge, then it doesn't have any face on its right, and thus Face a is None. ''' face_mark_left: bool = None @@ -530,22 +439,10 @@ class FEdgeSharp: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'FEdgeSharp'): - ''' Copy constructor. + ''' __init__(brother) __init__(first_vertex, second_vertex) Builds an FEdgeSharp using the default constructor, copy constructor, or between two SVertex objects. :param brother: An FEdgeSharp object. :type brother: 'FEdgeSharp' - ''' - pass - - def __init__(self, first_vertex: 'SVertex', second_vertex: 'SVertex'): - ''' Builds an FEdgeSharp going from the first vertex to the second. - :param first_vertex: The first SVertex object. :type first_vertex: 'SVertex' :param second_vertex: The second SVertex object. @@ -583,22 +480,10 @@ class FEdgeSmooth: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'FEdgeSmooth'): - ''' Copy constructor. + ''' __init__(brother) __init__(first_vertex, second_vertex) Builds an FEdgeSmooth using the default constructor, copy constructor, or between two SVertex . :param brother: An FEdgeSmooth object. :type brother: 'FEdgeSmooth' - ''' - pass - - def __init__(self, first_vertex: 'SVertex', second_vertex: 'SVertex'): - ''' Builds an FEdgeSmooth going from the first to the second. - :param first_vertex: The first SVertex object. :type first_vertex: 'SVertex' :param second_vertex: The second SVertex object. @@ -623,21 +508,15 @@ class Id: :type: int ''' - def __init__(self, first: int = 0, second: int = 0): - ''' Build the Id from two numbers. - - :param first: The first number. - :type first: int - :param second: The second number. - :type second: int - ''' - pass - def __init__(self, brother: 'Id'): - ''' Copy constructor. + ''' __init__(first=0, second=0) Build the Id from two numbers or another Id using the copy constructor. :param brother: An Id object. :type brother: 'Id' + :param first: + :type first: int + :param second: The second number. + :type second: int ''' pass @@ -747,17 +626,10 @@ class Interface0DIterator: ''' def __init__(self, brother: 'Interface0DIterator'): - ''' Copy constructor. + ''' __init__(it) Construct a nested Interface0DIterator using either the copy constructor or the constructor that takes an he argument of a Function0D. :param brother: An Interface0DIterator object. :type brother: 'Interface0DIterator' - ''' - pass - - def __init__(self, it: typing.Union[ - 'StrokeVertexIterator', 'SVertexIterator', 'CurvePointIterator']): - ''' Construct a nested Interface0DIterator that can be the argument of a Function0D. - :param it: An iterator object to be nested. :type it: typing.Union['StrokeVertexIterator', 'SVertexIterator', 'CurvePointIterator'] ''' @@ -929,32 +801,10 @@ class Material: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'bpy.types.Material'): - ''' Copy constructor. + ''' __init__(brother) __init__(line, diffuse, ambient, specular, emission, shininess, priority) Creates a FrsMaterial using either default constructor, copy constructor, or an overloaded constructor - :param brother: A Material object. + :param brother: A Material object to be used as a copy constructor. :type brother: 'bpy.types.Material' - ''' - pass - - def __init__(self, line: typing.Union[typing.List[float], typing. - List['mathutils.Vector']], - diffuse: typing.Union[typing.List[float], typing. - List['mathutils.Vector']], - ambient: typing.Union[typing.List[float], typing. - List['mathutils.Vector']], - specular: typing.Union[typing.List[float], typing. - List['mathutils.Vector']], - emission: typing.Union[typing.List[float], typing. - List['mathutils.Vector']], - shininess: float, priority: int): - ''' Builds a Material from its line, diffuse, ambient, specular, emissive colors, a shininess coefficient and line color priority. - :param line: The line color. :type line: typing.Union[typing.List[float], typing.List['mathutils.Vector']] :param diffuse: The diffuse color. @@ -1098,13 +948,7 @@ class NonTVertex: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, svertex: 'SVertex'): - ''' Build a NonTVertex from a SVertex. + ''' __init__(svertex) Builds a NonTVertex using the default constructor or a SVertex . :param svertex: An SVertex object. :type svertex: 'SVertex' @@ -1118,49 +962,29 @@ class Operators: @staticmethod def bidirectional_chain(it: 'ChainingIterator', pred: 'UnaryPredicate1D'): - ''' Builds a set of chains from the current set of ViewEdges. Each ViewEdge of the current list potentially starts a new chain. The chaining operator then iterates over the ViewEdges of the ViewMap using the user specified iterator. This operator iterates both using the increment and decrement operators and is therefore bidirectional. This operator works with a ChainingIterator which contains the chaining rules. It is this last one which can be told to chain only edges that belong to the selection or not to process twice a ViewEdge during the chaining. Each time a ViewEdge is added to a chain, its chaining time stamp is incremented. This allows you to keep track of the number of chains to which a ViewEdge belongs to. + ''' bidirectional_chain(it) Builds a set of chains from the current set of ViewEdges. Each ViewEdge of the current list potentially starts a new chain. The chaining operator then iterates over the ViewEdges of the ViewMap using the user specified iterator. This operator iterates both using the increment and decrement operators and is therefore bidirectional. This operator works with a ChainingIterator which contains the chaining rules. It is this last one which can be told to chain only edges that belong to the selection or not to process twice a ViewEdge during the chaining. Each time a ViewEdge is added to a chain, its chaining time stamp is incremented. This allows you to keep track of the number of chains to which a ViewEdge belongs to. :param it: The ChainingIterator on the ViewEdges of the ViewMap. It contains the chaining rule. :type it: 'ChainingIterator' - :param pred: The predicate on the ViewEdge that expresses the stopping condition. + :param pred: The predicate on the ViewEdge that expresses the stopping condition. This parameter is optional, you make not want to pass a stopping criterion when the stopping criterion is already contained in the iterator definition. :type pred: 'UnaryPredicate1D' ''' pass - @staticmethod - def bidirectional_chain(it: 'ChainingIterator'): - ''' The only difference with the above bidirectional chaining algorithm is that we don't need to pass a stopping criterion. This might be desirable when the stopping criterion is already contained in the iterator definition. Builds a set of chains from the current set of ViewEdges. Each ViewEdge of the current list potentially starts a new chain. The chaining operator then iterates over the ViewEdges of the ViewMap using the user specified iterator. This operator iterates both using the increment and decrement operators and is therefore bidirectional. This operator works with a ChainingIterator which contains the chaining rules. It is this last one which can be told to chain only edges that belong to the selection or not to process twice a ViewEdge during the chaining. Each time a ViewEdge is added to a chain, its chaining time stamp is incremented. This allows you to keep track of the number of chains to which a ViewEdge belongs to. - - :param it: The ChainingIterator on the ViewEdges of the ViewMap. It contains the chaining rule. - :type it: 'ChainingIterator' - ''' - pass - @staticmethod def chain(it: 'ViewEdgeIterator', pred: 'UnaryPredicate1D', modifier: 'UnaryFunction1DVoid'): - ''' Builds a set of chains from the current set of ViewEdges. Each ViewEdge of the current list starts a new chain. The chaining operator then iterates over the ViewEdges of the ViewMap using the user specified iterator. This operator only iterates using the increment operator and is therefore unidirectional. + ''' chain(it, pred) Builds a set of chains from the current set of ViewEdges. Each ViewEdge of the current list starts a new chain. The chaining operator then iterates over the ViewEdges of the ViewMap using the user specified iterator. This operator only iterates using the increment operator and is therefore unidirectional. :param it: The iterator on the ViewEdges of the ViewMap. It contains the chaining rule. :type it: 'ViewEdgeIterator' :param pred: The predicate on the ViewEdge that expresses the stopping condition. :type pred: 'UnaryPredicate1D' - :param modifier: A function that takes a ViewEdge as argument and that is used to modify the processed ViewEdge state (the timestamp incrementation is a typical illustration of such a modifier). + :param modifier: A function that takes a ViewEdge as argument and that is used to modify the processed ViewEdge state (the timestamp incrementation is a typical illustration of such a modifier). If this argument is not given, the time stamp is automatically managed. :type modifier: 'UnaryFunction1DVoid' ''' pass - @staticmethod - def chain(it: 'ViewEdgeIterator', pred: 'UnaryPredicate1D'): - ''' Builds a set of chains from the current set of ViewEdges. Each ViewEdge of the current list starts a new chain. The chaining operator then iterates over the ViewEdges of the ViewMap using the user specified iterator. This operator only iterates using the increment operator and is therefore unidirectional. This chaining operator is different from the previous one because it doesn't take any modifier as argument. Indeed, the time stamp (insuring that a ViewEdge is processed one time) is automatically managed in this case. - - :param it: The iterator on the ViewEdges of the ViewMap. It contains the chaining rule. - :type it: 'ViewEdgeIterator' - :param pred: The predicate on the ViewEdge that expresses the stopping condition. - :type pred: 'UnaryPredicate1D' - ''' - pass - @staticmethod def create(pred: 'UnaryPredicate1D', shaders: typing.List['StrokeShader']): ''' Creates and shades the strokes from the current set of chains. A predicate can be specified to make a selection pass on the chains. @@ -1236,23 +1060,7 @@ def get_viewedge_from_index(i: int) -> 'ViewEdge': def recursive_split(func: 'UnaryFunction0DDouble', pred_1d: 'UnaryPredicate1D', sampling: float = 0.0): - ''' Splits the current set of chains in a recursive way. We process the points of each chain (with a specified sampling) to find the point minimizing a specified function. The chain is split in two at this point and the two new chains are processed in the same way. The recursivity level is controlled through a predicate 1D that expresses a stopping condition on the chain that is about to be processed. - - :param func: The Unary Function evaluated at each point of the chain. The splitting point is the point minimizing this function. - :type func: 'UnaryFunction0DDouble' - :param pred_1d: The Unary Predicate expressing the recursivity stopping condition. This predicate is evaluated for each curve before it actually gets split. If pred_1d(chain) is true, the curve won't be split anymore. - :type pred_1d: 'UnaryPredicate1D' - :param sampling: The resolution used to sample the chain for the predicates evaluation. (The chain is not actually resampled, a virtual point only progresses along the curve using this resolution.) - :type sampling: float - ''' - pass - - @staticmethod - def recursive_split(func: 'UnaryFunction0DDouble', - pred_0d: 'UnaryPredicate0D', - pred_1d: 'UnaryPredicate1D', - sampling: float = 0.0): - ''' Splits the current set of chains in a recursive way. We process the points of each chain (with a specified sampling) to find the point minimizing a specified function. The chain is split in two at this point and the two new chains are processed in the same way. The user can specify a 0D predicate to make a first selection on the points that can potentially be split. A point that doesn't verify the 0D predicate won't be candidate in realizing the min. The recursivity level is controlled through a predicate 1D that expresses a stopping condition on the chain that is about to be processed. + ''' recursive_split(func, pred_0d, pred_1d, sampling=0.0) Splits the current set of chains in a recursive way. We process the points of each chain (with a specified sampling) to find the point minimizing a specified function. The chain is split in two at this point and the two new chains are processed in the same way. The recursivity level is controlled through a predicate 1D that expresses a stopping condition on the chain that is about to be processed. The user can also specify a 0D predicate to make a first selection on the points that can potentially be split. A point that doesn't verify the 0D predicate won't be candidate in realizing the min. :param func: The Unary Function evaluated at each point of the chain. The splitting point is the point minimizing this function. :type func: 'UnaryFunction0DDouble' @@ -1287,24 +1095,15 @@ def select(pred: 'UnaryPredicate1D'): def sequential_split(starting_pred: 'UnaryPredicate0D', stopping_pred: 'UnaryPredicate0D', sampling: float = 0.0): - ''' Splits each chain of the current set of chains in a sequential way. The points of each chain are processed (with a specified sampling) sequentially. Each time a user specified starting condition is verified, a new chain begins and ends as soon as a user-defined stopping predicate is verified. This allows chains overlapping rather than chains partitioning. The first point of the initial chain is the first point of one of the resulting chains. The splitting ends when no more chain can start. + ''' sequential_split(pred, sampling=0.0) Splits each chain of the current set of chains in a sequential way. The points of each chain are processed (with a specified sampling) sequentially. The first point of the initial chain is the first point of one of the resulting chains. The splitting ends when no more chain can start. - :param starting_pred: The predicate on a point that expresses the starting condition. + :param starting_pred: The predicate on a point that expresses the starting condition. Each time this condition is verified, a new chain begins :type starting_pred: 'UnaryPredicate0D' - :param stopping_pred: The predicate on a point that expresses the stopping condition. + :param stopping_pred: The predicate on a point that expresses the stopping condition. The chain ends as soon as this predicate is verified. :type stopping_pred: 'UnaryPredicate0D' - :param sampling: The resolution used to sample the chain for the predicates evaluation. (The chain is not actually resampled; a virtual point only progresses along the curve using this resolution.) - :type sampling: float - ''' - pass - - @staticmethod - def sequential_split(pred: 'UnaryPredicate0D', sampling: float = 0.0): - ''' Splits each chain of the current set of chains in a sequential way. The points of each chain are processed (with a specified sampling) sequentially and each time a user specified condition is verified, the chain is split into two chains. The resulting set of chains is a partition of the initial chain - - :param pred: The predicate on a point that expresses the splitting condition. + :param pred: The predicate on a point that expresses the splitting condition. Each time the condition is verified, the chain is split into two chains. The resulting set of chains is a partition of the initial chain :type pred: 'UnaryPredicate0D' - :param sampling: The resolution used to sample the chain for the predicate evaluation. (The chain is not actually resampled; a virtual point only progresses along the curve using this resolution.) + :param sampling: The resolution used to sample the chain for the predicates evaluation. (The chain is not actually resampled; a virtual point only progresses along the curve using this resolution.) :type sampling: float ''' pass @@ -1354,13 +1153,7 @@ class SShape: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'SShape'): - ''' Copy constructor. + ''' __init__(brother) Creates a SShape class using either a default constructor or copy constructor. :param brother: An SShape object. :type brother: 'SShape' @@ -1437,22 +1230,10 @@ class SVertex: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'SVertex'): - ''' Copy constructor. + ''' __init__(brother) __init__(point_3d, id) Builds a SVertex using the default constructor, copy constructor or the overloaded constructor which builds a SVertex from 3D coordinates and an Id. :param brother: A SVertex object. :type brother: 'SVertex' - ''' - pass - - def __init__(self, point_3d: 'mathutils.Vector', id: 'Id'): - ''' Builds a SVertex from 3D coordinates and an Id. - :param point_3d: A three-dimensional vector. :type point_3d: 'mathutils.Vector' :param id: An Id object. @@ -1500,23 +1281,10 @@ class SVertexIterator: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'SVertexIterator'): - ''' Copy constructor. + ''' __init__(brother) __init__(vertex, begin, previous_edge, next_edge, t) Build an SVertexIterator using either the default constructor, copy constructor, or the overloaded constructor that starts iteration from an SVertex object vertex. :param brother: An SVertexIterator object. :type brother: 'SVertexIterator' - ''' - pass - - def __init__(self, vertex: 'SVertex', begin: 'SVertex', - previous_edge: 'FEdge', next_edge: 'FEdge', t: float): - ''' Build an SVertexIterator that starts iteration from an SVertex object v. - :param vertex: The SVertex from which the iterator starts iteration. :type vertex: 'SVertex' :param begin: The first SVertex of a ViewEdge. @@ -1566,13 +1334,7 @@ class Stroke: ''' def Stroke(self): - ''' Default constructor - - ''' - pass - - def Stroke(self, brother): - ''' Copy constructor + ''' Stroke(brother) Creates a Stroke using the default constructor or copy constructor ''' pass @@ -1613,17 +1375,11 @@ def remove_vertex(self, vertex: 'StrokeVertex'): pass def resample(self, n: int): - ''' Resamples the stroke so that it eventually has N points. That means it is going to add N-vertices_size, where vertices_size is the number of points we already have. If vertices_size >= N, no resampling is done. + ''' resample(sampling) Resamples the stroke so using one of two methods with the goal of creating a stroke with fewer points and the same shape. - :param n: The number of vertices we eventually want in our stroke. + :param n: Resamples the stroke so that it eventually has N points. That means it is going to add N-vertices_size, where vertices_size is the number of points we already have. If vertices_size >= N, no resampling is done. :type n: int - ''' - pass - - def resample(self, sampling: float): - ''' Resamples the stroke with a given sampling. If the sampling is smaller than the actual sampling value, no resampling is done. - - :param sampling: The new sampling value. + :param sampling: Resamples the stroke with a given sampling value. If the sampling is smaller than the actual sampling value, no resampling is done. :type sampling: float ''' pass @@ -1690,23 +1446,10 @@ class StrokeAttribute: ''' def __init__(self): - ''' Default constructor. - - ''' - pass + ''' __init__(brother) __init__(red, green, blue, alpha, thickness_right, thickness_left) __init__(attribute1, attribute2, t) Creates a StrokeAttribute object using either a default constructor, copy constructor, overloaded constructor, or and interpolation constructor to interpolate between two StrokeAttribute objects. - def __init__(self, brother: 'StrokeAttribute'): - ''' Copy constructor. - - :param brother: A StrokeAttribute object. + :param brother: A StrokeAttribute object to be used as a copy constructor. :type brother: 'StrokeAttribute' - ''' - pass - - def __init__(self, red: float, green: float, blue: float, alpha: float, - thickness_right: float, thickness_left: float): - ''' Build a stroke vertex attribute from a set of parameters. - :param red: Red component of a stroke color. :type red: float :param green: Green component of a stroke color. @@ -1719,13 +1462,6 @@ def __init__(self, red: float, green: float, blue: float, alpha: float, :type thickness_right: float :param thickness_left: Stroke thickness on the left. :type thickness_left: float - ''' - pass - - def __init__(self, attribute1: 'StrokeAttribute', - attribute2: 'StrokeAttribute', t: float): - ''' Interpolation constructor. Build a StrokeAttribute from two StrokeAttribute objects and an interpolation parameter. - :param attribute1: The first StrokeAttribute object. :type attribute1: 'StrokeAttribute' :param attribute2: The second StrokeAttribute object. @@ -1888,52 +1624,21 @@ class StrokeVertex: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'StrokeVertex'): - ''' Copy constructor. + ''' __init__(brother) __init__(first_vertex, second_vertex, t3d) __init__(point) __init__(svertex) __init__(svertex, attribute) Builds a StrokeVertex using the default constructor, copy constructor, from 2 StrokeVertex and an interpolation parameter, from a CurvePoint, from a SVertex, or a SVertex and a StrokeAttribute object. :param brother: A StrokeVertex object. :type brother: 'StrokeVertex' - ''' - pass - - def __init__(self, first_vertex: 'StrokeVertex', - second_vertex: 'StrokeVertex', t3d: float): - ''' Build a stroke vertex from 2 stroke vertices and an interpolation parameter. - :param first_vertex: The first StrokeVertex. :type first_vertex: 'StrokeVertex' :param second_vertex: The second StrokeVertex. :type second_vertex: 'StrokeVertex' :param t3d: An interpolation parameter. :type t3d: float - ''' - pass - - def __init__(self, point: 'CurvePoint'): - ''' Build a stroke vertex from a CurvePoint - :param point: A CurvePoint object. :type point: 'CurvePoint' - ''' - pass - - def __init__(self, svertex: 'SVertex'): - ''' Build a stroke vertex from a SVertex - - :param svertex: An SVertex object. + :param svertex: An SVertex object. An SVertex object. :type svertex: 'SVertex' - ''' - pass - - def __init__(self, svertex: 'SVertex', attribute: 'StrokeAttribute'): - ''' Build a stroke vertex from an SVertex and a StrokeAttribute object. - - :param svertex: An SVertex object. + :param svertex: An SVertex object. An SVertex object. :type svertex: 'SVertex' :param attribute: A StrokeAttribute object. :type attribute: 'StrokeAttribute' @@ -1970,13 +1675,7 @@ class StrokeVertexIterator: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'StrokeVertexIterator'): - ''' Copy constructor. + ''' __init__(brother) Creates a StrokeVertexIterator using either the default constructor or the copy constructor. :param brother: A StrokeVertexIterator object. :type brother: 'StrokeVertexIterator' @@ -2200,13 +1899,7 @@ class UnaryFunction1DDouble: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, integration_type: 'IntegrationType'): - ''' Builds a unary 1D function using the integration method given as argument. + ''' __init__(integration_type) Builds a unary 1D function using the default constructor or the integration method given as an argument. :param integration_type: An integration method. :type integration_type: 'IntegrationType' @@ -2225,13 +1918,7 @@ class UnaryFunction1DEdgeNature: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, integration_type: 'IntegrationType'): - ''' Builds a unary 1D function using the integration method given as argument. + ''' __init__(integration_type) Builds a unary 1D function using the default constructor or the integration method given as an argument. :param integration_type: An integration method. :type integration_type: 'IntegrationType' @@ -2250,13 +1937,7 @@ class UnaryFunction1DFloat: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, integration_type: 'IntegrationType'): - ''' Builds a unary 1D function using the integration method given as argument. + ''' __init__(integration_type) Builds a unary 1D function using the default constructor or the integration method given as an argument. :param integration_type: An integration method. :type integration_type: 'IntegrationType' @@ -2275,13 +1956,7 @@ class UnaryFunction1DUnsigned: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, integration_type: 'IntegrationType'): - ''' Builds a unary 1D function using the integration method given as argument. + ''' __init__(integration_type) Builds a unary 1D function using the default constructor or the integration method given as an argument. :param integration_type: An integration method. :type integration_type: 'IntegrationType' @@ -2300,13 +1975,7 @@ class UnaryFunction1DVec2f: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, integration_type: 'IntegrationType'): - ''' Builds a unary 1D function using the integration method given as argument. + ''' __init__(integration_type) Builds a unary 1D function using the default constructor or the integration method given as an argument. :param integration_type: An integration method. :type integration_type: 'IntegrationType' @@ -2325,13 +1994,7 @@ class UnaryFunction1DVec3f: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, integration_type: 'IntegrationType'): - ''' Builds a unary 1D function using the integration method given as argument. + ''' __init__(integration_type) Builds a unary 1D function using the default constructor or the integration method given as an argument. :param integration_type: An integration method. :type integration_type: 'IntegrationType' @@ -2350,13 +2013,7 @@ class UnaryFunction1DVectorViewShape: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, integration_type: 'IntegrationType'): - ''' Builds a unary 1D function using the integration method given as argument. + ''' __init__(integration_type) Builds a unary 1D function using the default constructor or the integration method given as an argument. :param integration_type: An integration method. :type integration_type: 'IntegrationType' @@ -2375,13 +2032,7 @@ class UnaryFunction1DVoid: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, integration_type: 'IntegrationType'): - ''' Builds a unary 1D function using the integration method given as argument. + ''' __init__(integration_type) Builds a unary 1D function using either a default constructor or the integration method given as an argument. :param integration_type: An integration method. :type integration_type: 'IntegrationType' @@ -2514,13 +2165,7 @@ class ViewEdge: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'ViewEdge'): - ''' Copy constructor. + ''' __init__(brother) Builds a ViewEdge using the default constructor or the copy constructor. :param brother: A ViewEdge object. :type brother: 'ViewEdge' @@ -2563,18 +2208,12 @@ class ViewEdgeIterator: ''' def __init__(self, begin: 'ViewEdge' = None, orientation: bool = True): - ''' Builds a ViewEdgeIterator from a starting ViewEdge and its orientation. + ''' __init__(brother) Builds a ViewEdgeIterator from a starting ViewEdge and its orientation or the copy constructor. :param begin: The ViewEdge from where to start the iteration. :type begin: 'ViewEdge' :param orientation: If true, we'll look for the next ViewEdge among the ViewEdges that surround the ending ViewVertex of begin. If false, we'll search over the ViewEdges surrounding the ending ViewVertex of begin. :type orientation: bool - ''' - pass - - def __init__(self, brother: 'ViewEdgeIterator'): - ''' Copy constructor. - :param brother: A ViewEdgeIterator object. :type brother: 'ViewEdgeIterator' ''' @@ -2669,22 +2308,10 @@ class ViewShape: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, brother: 'ViewShape'): - ''' Copy constructor. + ''' __init__(brother) __init__(sshape) Builds a ViewShape using the default constructor, copy constructor, or from a SShape . :param brother: A ViewShape object. :type brother: 'ViewShape' - ''' - pass - - def __init__(self, sshape: 'SShape'): - ''' Builds a ViewShape from an SShape. - :param sshape: An SShape object. :type sshape: 'SShape' ''' @@ -2755,13 +2382,7 @@ class orientedViewEdgeIterator: ''' def __init__(self): - ''' Default constructor. - - ''' - pass - - def __init__(self, iBrother: 'orientedViewEdgeIterator'): - ''' Copy constructor. + ''' __init__(iBrother) Creates an orientedViewEdgeIterator using either the default constructor or the copy constructor. :param iBrother: An orientedViewEdgeIterator object. :type iBrother: 'orientedViewEdgeIterator' diff --git a/blender_autocomplete/gpu/__init__.py b/blender_autocomplete/gpu/__init__.py index 02fa5d7..0255268 100644 --- a/blender_autocomplete/gpu/__init__.py +++ b/blender_autocomplete/gpu/__init__.py @@ -1,6 +1,6 @@ import sys import typing -from . import shader from . import matrix -from . import types from . import select +from . import types +from . import shader diff --git a/blender_autocomplete/gpu/shader.py b/blender_autocomplete/gpu/shader.py index 7d677e9..a9fdb6b 100644 --- a/blender_autocomplete/gpu/shader.py +++ b/blender_autocomplete/gpu/shader.py @@ -5,7 +5,7 @@ def code_from_builtin(shader_name: str) -> dict: ''' Exposes the internal shader code for query. - :param shader_name: { '2D_UNIFORM_COLOR', '2D_FLAT_COLOR', '2D_SMOOTH_COLOR', '2D_IMAGE', '3D_UNIFORM_COLOR', '3D_FLAT_COLOR', '3D_SMOOTH_COLOR'} + :param shader_name: - 2D_UNIFORM_COLOR - 2D_FLAT_COLOR - 2D_SMOOTH_COLOR - 2D_IMAGE - 3D_UNIFORM_COLOR - 3D_FLAT_COLOR - 3D_SMOOTH_COLOR :type shader_name: str :return: Vertex, fragment and geometry shader codes. ''' @@ -14,9 +14,9 @@ def code_from_builtin(shader_name: str) -> dict: def from_builtin(shader_name: str): - ''' Shaders that are embedded in the blender internal code. They all read the uniform 'mat4 ModelViewProjectionMatrix', which can be edited by the 'gpu.matrix' module. For more details, you can check the shader code with the function 'gpu.shader.code_from_builtin'; + ''' Shaders that are embedded in the blender internal code. They all read the uniform mat4 ModelViewProjectionMatrix , which can be edited by the :mod: gpu.matrix module. For more details, you can check the shader code with the :func: gpu.shader.code_from_builtin function. - :param shader_name: { '2D_UNIFORM_COLOR', '2D_FLAT_COLOR', '2D_SMOOTH_COLOR', '2D_IMAGE', '3D_UNIFORM_COLOR', '3D_FLAT_COLOR', '3D_SMOOTH_COLOR'} + :param shader_name: - 2D_UNIFORM_COLOR - 2D_FLAT_COLOR - 2D_SMOOTH_COLOR - 2D_IMAGE - 3D_UNIFORM_COLOR - 3D_FLAT_COLOR - 3D_SMOOTH_COLOR :type shader_name: str :return: Shader object corresponding to the given name. ''' diff --git a/blender_autocomplete/gpu/types.py b/blender_autocomplete/gpu/types.py index 083a745..7e1f111 100644 --- a/blender_autocomplete/gpu/types.py +++ b/blender_autocomplete/gpu/types.py @@ -17,7 +17,7 @@ def draw(self, program: 'GPUShader' = None): pass def program_set(self, program: 'GPUShader'): - ''' Assign a shader to this batch that will be used for drawing when not overwritten later. Note: This method has to be called in the draw context that the batch will be drawn in. This function does not need to be called when you always set the shader when calling batch.draw . + ''' Assign a shader to this batch that will be used for drawing when not overwritten later. Note: This method has to be called in the draw context that the batch will be drawn in. This function does not need to be called when you always set the shader when calling :meth: gpu.types.GPUBatch.draw . :param program: The program/shader the batch will use in future draw calls. :type program: 'GPUShader' @@ -108,7 +108,7 @@ def unbind(self, restore: bool = True): class GPUShader: - ''' GPUShader combines multiple GLSL shaders into a program used for drawing. It must contain a vertex and fragment shaders, with an optional geometry shader. The GLSL #version directive is automatically included at the top of shaders, and set to 330. Some preprocessor directives are automatically added according to the Operating System or availability: GPU_ATI , GPU_NVIDIA and GPU_INTEL . The following extensions are enabled by default if supported by the GPU: GL_ARB_texture_gather and GL_ARB_texture_query_lod . To debug shaders, use the --debug-gpu-shaders command line option to see full GLSL shader compilation and linking errors. For drawing user interface elements and gizmos, use fragOutput = blender_srgb_to_framebuffer_space(fragOutput) to transform the output sRGB colors to the framebuffer colorspace. :param vertexcode: Vertex shader code. :type vertexcode: str :param fragcode: Fragment shader code. :type value: str :param geocode: Geometry shader code. :type value: str :param libcode: Code with functions and presets to be shared between shaders. :type value: str :param defines: Preprocessor directives. :type value: str + ''' GPUShader combines multiple GLSL shaders into a program used for drawing. It must contain a vertex and fragment shaders, with an optional geometry shader. The GLSL #version directive is automatically included at the top of shaders, and set to 330. Some preprocessor directives are automatically added according to the Operating System or availability: GPU_ATI , GPU_NVIDIA and GPU_INTEL . The following extensions are enabled by default if supported by the GPU: GL_ARB_texture_gather , GL_ARB_texture_cube_map_array and GL_ARB_shader_draw_parameters . To debug shaders, use the --debug-gpu-shaders command line option to see full GLSL shader compilation and linking errors. For drawing user interface elements and gizmos, use fragOutput = blender_srgb_to_framebuffer_space(fragOutput) to transform the output sRGB colors to the frame-buffer color-space. :param vertexcode: Vertex shader code. :type vertexcode: str :param fragcode: Fragment shader code. :type value: str :param geocode: Geometry shader code. :type value: str :param libcode: Code with functions and presets to be shared between shaders. :type value: str :param defines: Preprocessor directives. :type value: str ''' program: int = None diff --git a/blender_autocomplete/mathutils/__init__.py b/blender_autocomplete/mathutils/__init__.py index a20876a..497da58 100644 --- a/blender_autocomplete/mathutils/__init__.py +++ b/blender_autocomplete/mathutils/__init__.py @@ -1,10 +1,10 @@ import sys import typing -from . import geometry -from . import kdtree -from . import interpolate from . import noise +from . import kdtree from . import bvhtree +from . import interpolate +from . import geometry class Color: @@ -156,11 +156,11 @@ def make_compatible(self, other): ''' pass - def rotate(self, other: typing.Union['Euler', 'Quaternion', 'Matrix']): + def rotate(self, other: typing.Union['Euler', 'Matrix', 'Quaternion']): ''' Rotates the euler by another mathutils value. :param other: rotation component of mathutils value - :type other: typing.Union['Euler', 'Quaternion', 'Matrix'] + :type other: typing.Union['Euler', 'Matrix', 'Quaternion'] ''' pass @@ -358,13 +358,13 @@ def Translation(cls, vector: 'Vector') -> 'Matrix': pass def adjugate(self): - ''' Set the matrix to its adjugate. + ''' Set the matrix to its adjugate. :raises ValueError: if the matrix cannot be adjugate. ''' pass def adjugated(self) -> 'Matrix': - ''' Return an adjugated copy of the matrix. + ''' Return an adjugated copy of the matrix. :raises ValueError: if the matrix cannot be adjugated :rtype: 'Matrix' :return: the adjugated matrix. @@ -473,11 +473,11 @@ def resize_4x4(self): ''' pass - def rotate(self, other: typing.Union['Euler', 'Quaternion', 'Matrix']): + def rotate(self, other: typing.Union['Euler', 'Matrix', 'Quaternion']): ''' Rotates the matrix by another mathutils value. :param other: rotation component of mathutils value - :type other: typing.Union['Euler', 'Quaternion', 'Matrix'] + :type other: typing.Union['Euler', 'Matrix', 'Quaternion'] ''' pass @@ -735,11 +735,11 @@ def normalized() -> 'Quaternion': ''' pass - def rotate(self, other: typing.Union['Euler', 'Quaternion', 'Matrix']): + def rotate(self, other: typing.Union['Euler', 'Matrix', 'Quaternion']): ''' Rotates the quaternion by another mathutils value. :param other: rotation component of mathutils value - :type other: typing.Union['Euler', 'Quaternion', 'Matrix'] + :type other: typing.Union['Euler', 'Matrix', 'Quaternion'] ''' pass @@ -2094,11 +2094,11 @@ def resized(self, size=3) -> 'Vector': pass @staticmethod - def rotate(other: typing.Union['Euler', 'Quaternion', 'Matrix']): + def rotate(other: typing.Union['Euler', 'Matrix', 'Quaternion']): ''' Rotate the vector by a rotation value. :param other: rotation component of mathutils value - :type other: typing.Union['Euler', 'Quaternion', 'Matrix'] + :type other: typing.Union['Euler', 'Matrix', 'Quaternion'] ''' pass diff --git a/blender_autocomplete/mathutils/bvhtree.py b/blender_autocomplete/mathutils/bvhtree.py index b8453e5..dad0ac6 100644 --- a/blender_autocomplete/mathutils/bvhtree.py +++ b/blender_autocomplete/mathutils/bvhtree.py @@ -45,7 +45,7 @@ def FromObject(cls, def FromPolygons(cls, vertices: typing.List[float], polygons: typing. - Union['bpy.context.sequences', 'bpy.types.Sequence'], + Union['bpy.types.Sequence', 'bpy.context.sequences'], all_triangles: bool = False, epsilon: float = 0.0): ''' BVH tree constructed geometry passed in as arguments. @@ -53,7 +53,7 @@ def FromPolygons(cls, :param vertices: float triplets each representing (x, y, z) :type vertices: typing.List[float] :param polygons: Sequence of polyugons, each containing indices to the vertices argument. - :type polygons: typing.Union['bpy.context.sequences', 'bpy.types.Sequence'] + :type polygons: typing.Union['bpy.types.Sequence', 'bpy.context.sequences'] :param all_triangles: Use when all **polygons** are triangles for more efficient conversion. :type all_triangles: bool :param epsilon: Increase the threshold for detecting overlap and raycast hits. diff --git a/blender_autocomplete/nodeitems_builtins.py b/blender_autocomplete/nodeitems_builtins.py index fe5cf7d..0976591 100644 --- a/blender_autocomplete/nodeitems_builtins.py +++ b/blender_autocomplete/nodeitems_builtins.py @@ -19,7 +19,7 @@ def poll(self, context): pass -class ShaderNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory): +class GeometryNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory): def poll(self, context): ''' @@ -27,7 +27,7 @@ def poll(self, context): pass -class SimulationNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory): +class ShaderNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory): def poll(self, context): ''' @@ -43,14 +43,6 @@ def poll(self, context): pass -def cycles_aov_node_poll(context): - ''' - - ''' - - pass - - def cycles_shader_nodes_poll(context): ''' @@ -107,6 +99,14 @@ def node_group_items(context): pass +def not_implemented_node(idname): + ''' + + ''' + + pass + + def object_cycles_shader_nodes_poll(context): ''' diff --git a/blender_autocomplete/nodeitems_utils.py b/blender_autocomplete/nodeitems_utils.py index f4ed006..47b6a58 100644 --- a/blender_autocomplete/nodeitems_utils.py +++ b/blender_autocomplete/nodeitems_utils.py @@ -36,6 +36,14 @@ def draw_node_categories_menu(context): pass +def has_node_categories(context): + ''' + + ''' + + pass + + def node_categories_iter(context): '''