fake-bpy-module 20240518__py3-none-any.whl → 20240520__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +3 -1
- _bpy_internal/freedesktop/__init__.pyi +3 -1
- addon_utils/__init__.pyi +3 -1
- animsys_refactor/__init__.pyi +3 -1
- aud/__init__.pyi +3 -1
- bgl/__init__.pyi +121 -146
- bl_app_override/__init__.pyi +3 -1
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +3 -1
- bl_console_utils/__init__.pyi +3 -1
- bl_console_utils/autocomplete/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +3 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
- bl_i18n_utils/__init__.pyi +3 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +3 -1
- bl_i18n_utils/merge_po/__init__.pyi +3 -1
- bl_i18n_utils/settings/__init__.pyi +3 -1
- bl_i18n_utils/utils/__init__.pyi +3 -1
- bl_i18n_utils/utils_cli/__init__.pyi +3 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +3 -1
- bl_keymap_utils/__init__.pyi +3 -1
- bl_keymap_utils/io/__init__.pyi +3 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +3 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -1
- bl_keymap_utils/versioning/__init__.pyi +3 -1
- bl_math/__init__.pyi +3 -1
- bl_operators/__init__.pyi +3 -1
- bl_operators/add_mesh_torus/__init__.pyi +3 -1
- bl_operators/anim/__init__.pyi +3 -1
- bl_operators/assets/__init__.pyi +3 -1
- bl_operators/bmesh/__init__.pyi +3 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -1
- bl_operators/clip/__init__.pyi +3 -1
- bl_operators/console/__init__.pyi +3 -1
- bl_operators/constraint/__init__.pyi +3 -1
- bl_operators/file/__init__.pyi +3 -1
- bl_operators/freestyle/__init__.pyi +3 -1
- bl_operators/geometry_nodes/__init__.pyi +3 -1
- bl_operators/image/__init__.pyi +3 -1
- bl_operators/mesh/__init__.pyi +3 -1
- bl_operators/node/__init__.pyi +3 -1
- bl_operators/object/__init__.pyi +3 -1
- bl_operators/object_align/__init__.pyi +3 -1
- bl_operators/object_quick_effects/__init__.pyi +3 -1
- bl_operators/object_randomize_transform/__init__.pyi +3 -1
- bl_operators/presets/__init__.pyi +3 -1
- bl_operators/rigidbody/__init__.pyi +3 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -1
- bl_operators/sequencer/__init__.pyi +3 -1
- bl_operators/spreadsheet/__init__.pyi +3 -1
- bl_operators/userpref/__init__.pyi +3 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -1
- bl_operators/uvcalc_transform/__init__.pyi +3 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +3 -1
- bl_operators/view3d/__init__.pyi +3 -1
- bl_operators/wm/__init__.pyi +3 -1
- bl_operators/world/__init__.pyi +3 -1
- bl_previews_utils/__init__.pyi +3 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +3 -1
- bl_rna_utils/__init__.pyi +3 -1
- bl_rna_utils/data_path/__init__.pyi +3 -1
- bl_text_utils/__init__.pyi +3 -1
- bl_text_utils/external_editor/__init__.pyi +3 -1
- bl_ui/__init__.pyi +3 -1
- bl_ui/anim/__init__.pyi +3 -1
- bl_ui/asset_shelf/__init__.pyi +3 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -1
- bl_ui/node_add_menu/__init__.pyi +3 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +3 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +3 -1
- bl_ui/node_add_menu_shader/__init__.pyi +3 -1
- bl_ui/node_add_menu_texture/__init__.pyi +3 -1
- bl_ui/properties_animviz/__init__.pyi +3 -1
- bl_ui/properties_collection/__init__.pyi +3 -1
- bl_ui/properties_constraint/__init__.pyi +3 -1
- bl_ui/properties_data_armature/__init__.pyi +3 -1
- bl_ui/properties_data_bone/__init__.pyi +3 -1
- bl_ui/properties_data_camera/__init__.pyi +3 -1
- bl_ui/properties_data_curve/__init__.pyi +3 -1
- bl_ui/properties_data_curves/__init__.pyi +3 -1
- bl_ui/properties_data_empty/__init__.pyi +3 -1
- bl_ui/properties_data_gpencil/__init__.pyi +3 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +3 -1
- bl_ui/properties_data_lattice/__init__.pyi +3 -1
- bl_ui/properties_data_light/__init__.pyi +3 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +3 -1
- bl_ui/properties_data_mesh/__init__.pyi +3 -1
- bl_ui/properties_data_metaball/__init__.pyi +3 -1
- bl_ui/properties_data_modifier/__init__.pyi +3 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +3 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -1
- bl_ui/properties_data_speaker/__init__.pyi +3 -1
- bl_ui/properties_data_volume/__init__.pyi +3 -1
- bl_ui/properties_freestyle/__init__.pyi +3 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +3 -1
- bl_ui/properties_mask_common/__init__.pyi +3 -1
- bl_ui/properties_material/__init__.pyi +3 -1
- bl_ui/properties_material_gpencil/__init__.pyi +3 -1
- bl_ui/properties_object/__init__.pyi +3 -1
- bl_ui/properties_output/__init__.pyi +3 -1
- bl_ui/properties_paint_common/__init__.pyi +3 -1
- bl_ui/properties_particle/__init__.pyi +3 -1
- bl_ui/properties_physics_cloth/__init__.pyi +3 -1
- bl_ui/properties_physics_common/__init__.pyi +3 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -1
- bl_ui/properties_physics_field/__init__.pyi +3 -1
- bl_ui/properties_physics_fluid/__init__.pyi +3 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +3 -1
- bl_ui/properties_physics_softbody/__init__.pyi +3 -1
- bl_ui/properties_render/__init__.pyi +3 -1
- bl_ui/properties_scene/__init__.pyi +3 -1
- bl_ui/properties_texture/__init__.pyi +3 -1
- bl_ui/properties_view_layer/__init__.pyi +3 -1
- bl_ui/properties_workspace/__init__.pyi +3 -1
- bl_ui/properties_world/__init__.pyi +3 -1
- bl_ui/space_clip/__init__.pyi +3 -1
- bl_ui/space_console/__init__.pyi +3 -1
- bl_ui/space_dopesheet/__init__.pyi +3 -1
- bl_ui/space_filebrowser/__init__.pyi +3 -1
- bl_ui/space_graph/__init__.pyi +3 -1
- bl_ui/space_image/__init__.pyi +3 -1
- bl_ui/space_info/__init__.pyi +3 -1
- bl_ui/space_nla/__init__.pyi +3 -1
- bl_ui/space_node/__init__.pyi +3 -1
- bl_ui/space_outliner/__init__.pyi +3 -1
- bl_ui/space_properties/__init__.pyi +3 -1
- bl_ui/space_sequencer/__init__.pyi +3 -1
- bl_ui/space_spreadsheet/__init__.pyi +3 -1
- bl_ui/space_statusbar/__init__.pyi +3 -1
- bl_ui/space_text/__init__.pyi +3 -1
- bl_ui/space_time/__init__.pyi +3 -1
- bl_ui/space_toolsystem_common/__init__.pyi +3 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -1
- bl_ui/space_topbar/__init__.pyi +3 -1
- bl_ui/space_userpref/__init__.pyi +3 -1
- bl_ui/space_view3d/__init__.pyi +3 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +3 -1
- bl_ui/temp_anim_layers/__init__.pyi +3 -1
- bl_ui/utils/__init__.pyi +3 -1
- bl_ui_utils/__init__.pyi +3 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -1
- bl_ui_utils/layout/__init__.pyi +3 -1
- blend_render_info/__init__.pyi +3 -1
- blf/__init__.pyi +3 -1
- bmesh/__init__.pyi +3 -1
- bmesh/geometry/__init__.pyi +3 -1
- bmesh/ops/__init__.pyi +39 -37
- bmesh/types/__init__.pyi +31 -28
- bmesh/utils/__init__.pyi +3 -1
- bpy/__init__.pyi +3 -1
- bpy/app/__init__.pyi +3 -1
- bpy/app/handlers/__init__.pyi +3 -1
- bpy/app/icons/__init__.pyi +3 -1
- bpy/app/timers/__init__.pyi +9 -15
- bpy/app/translations/__init__.pyi +3 -1
- bpy/msgbus/__init__.pyi +3 -1
- bpy/ops/__init__.pyi +3 -1
- bpy/ops/action/__init__.pyi +35 -33
- bpy/ops/anim/__init__.pyi +33 -31
- bpy/ops/armature/__init__.pyi +23 -21
- bpy/ops/asset/__init__.pyi +9 -7
- bpy/ops/bl_pkg/__init__.pyi +5 -3
- bpy/ops/boid/__init__.pyi +5 -3
- bpy/ops/brush/__init__.pyi +11 -9
- bpy/ops/buttons/__init__.pyi +11 -9
- bpy/ops/cachefile/__init__.pyi +13 -11
- bpy/ops/camera/__init__.pyi +3 -1
- bpy/ops/clip/__init__.pyi +41 -39
- bpy/ops/cloth/__init__.pyi +3 -1
- bpy/ops/collection/__init__.pyi +9 -7
- bpy/ops/console/__init__.pyi +9 -7
- bpy/ops/constraint/__init__.pyi +31 -29
- bpy/ops/curve/__init__.pyi +37 -35
- bpy/ops/curves/__init__.pyi +19 -17
- bpy/ops/cycles/__init__.pyi +3 -1
- bpy/ops/dpaint/__init__.pyi +7 -5
- bpy/ops/ed/__init__.pyi +7 -5
- bpy/ops/export_anim/__init__.pyi +5 -3
- bpy/ops/export_scene/__init__.pyi +41 -39
- bpy/ops/file/__init__.pyi +21 -19
- bpy/ops/fluid/__init__.pyi +3 -1
- bpy/ops/font/__init__.pyi +23 -21
- bpy/ops/geometry/__init__.pyi +23 -21
- bpy/ops/gizmogroup/__init__.pyi +3 -1
- bpy/ops/gpencil/__init__.pyi +135 -133
- bpy/ops/graph/__init__.pyi +57 -55
- bpy/ops/grease_pencil/__init__.pyi +45 -43
- bpy/ops/image/__init__.pyi +31 -29
- bpy/ops/import_anim/__init__.pyi +11 -9
- bpy/ops/import_curve/__init__.pyi +3 -1
- bpy/ops/import_scene/__init__.pyi +21 -19
- bpy/ops/info/__init__.pyi +7 -5
- bpy/ops/lattice/__init__.pyi +9 -7
- bpy/ops/marker/__init__.pyi +11 -9
- bpy/ops/mask/__init__.pyi +15 -13
- bpy/ops/material/__init__.pyi +3 -1
- bpy/ops/mball/__init__.pyi +9 -7
- bpy/ops/mesh/__init__.pyi +147 -145
- bpy/ops/nla/__init__.pyi +19 -17
- bpy/ops/node/__init__.pyi +35 -33
- bpy/ops/object/__init__.pyi +255 -253
- bpy/ops/outliner/__init__.pyi +43 -41
- bpy/ops/paint/__init__.pyi +75 -73
- bpy/ops/paintcurve/__init__.pyi +3 -1
- bpy/ops/palette/__init__.pyi +7 -5
- bpy/ops/particle/__init__.pyi +17 -15
- bpy/ops/pose/__init__.pyi +45 -43
- bpy/ops/poselib/__init__.pyi +3 -1
- bpy/ops/preferences/__init__.pyi +15 -13
- bpy/ops/ptcache/__init__.pyi +3 -1
- bpy/ops/render/__init__.pyi +5 -3
- bpy/ops/rigidbody/__init__.pyi +19 -17
- bpy/ops/scene/__init__.pyi +27 -25
- bpy/ops/screen/__init__.pyi +23 -21
- bpy/ops/script/__init__.pyi +3 -1
- bpy/ops/sculpt/__init__.pyi +69 -67
- bpy/ops/sculpt_curves/__init__.pyi +5 -3
- bpy/ops/sequencer/__init__.pyi +77 -75
- bpy/ops/sound/__init__.pyi +23 -21
- bpy/ops/spreadsheet/__init__.pyi +3 -1
- bpy/ops/surface/__init__.pyi +15 -13
- bpy/ops/text/__init__.pyi +25 -23
- bpy/ops/text_editor/__init__.pyi +3 -1
- bpy/ops/texture/__init__.pyi +5 -3
- bpy/ops/transform/__init__.pyi +91 -89
- bpy/ops/ui/__init__.pyi +9 -7
- bpy/ops/uilist/__init__.pyi +5 -3
- bpy/ops/uv/__init__.pyi +69 -67
- bpy/ops/view2d/__init__.pyi +3 -1
- bpy/ops/view3d/__init__.pyi +37 -35
- bpy/ops/wm/__init__.pyi +199 -197
- bpy/ops/workspace/__init__.pyi +3 -1
- bpy/ops/world/__init__.pyi +3 -1
- bpy/path/__init__.pyi +3 -1
- bpy/props/__init__.pyi +3 -1
- bpy/types/__init__.pyi +3448 -3370
- bpy/utils/__init__.pyi +3 -1
- bpy/utils/previews/__init__.pyi +3 -1
- bpy/utils/units/__init__.pyi +3 -1
- bpy_extras/__init__.pyi +3 -1
- bpy_extras/anim_utils/__init__.pyi +3 -1
- bpy_extras/asset_utils/__init__.pyi +3 -1
- bpy_extras/bmesh_utils/__init__.pyi +3 -1
- bpy_extras/extensions/__init__.pyi +3 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -1
- bpy_extras/image_utils/__init__.pyi +3 -1
- bpy_extras/io_utils/__init__.pyi +3 -1
- bpy_extras/keyconfig_utils/__init__.pyi +3 -1
- bpy_extras/mesh_utils/__init__.pyi +3 -1
- bpy_extras/node_shader_utils/__init__.pyi +3 -1
- bpy_extras/node_utils/__init__.pyi +3 -1
- bpy_extras/object_utils/__init__.pyi +3 -1
- bpy_extras/view3d_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +3 -1
- bpy_restrict_state/__init__.pyi +3 -1
- bpy_types/__init__.pyi +3 -1
- console_python/__init__.pyi +3 -1
- console_shell/__init__.pyi +3 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
- fake_bpy_module-20240520.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +3 -1
- freestyle/chainingiterators/__init__.pyi +3 -1
- freestyle/functions/__init__.pyi +3 -1
- freestyle/predicates/__init__.pyi +3 -1
- freestyle/shaders/__init__.pyi +3 -1
- freestyle/types/__init__.pyi +3 -1
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +3 -1
- gpu/__init__.pyi +3 -1
- gpu/capabilities/__init__.pyi +3 -1
- gpu/matrix/__init__.pyi +3 -1
- gpu/platform/__init__.pyi +3 -1
- gpu/select/__init__.pyi +3 -1
- gpu/shader/__init__.pyi +3 -1
- gpu/state/__init__.pyi +3 -1
- gpu/texture/__init__.pyi +3 -1
- gpu/types/__init__.pyi +3 -1
- gpu_extras/__init__.pyi +3 -1
- gpu_extras/batch/__init__.pyi +3 -1
- gpu_extras/presets/__init__.pyi +3 -1
- graphviz_export/__init__.pyi +3 -1
- idprop/__init__.pyi +3 -1
- idprop/types/__init__.pyi +3 -1
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -1
- keyingsets_builtins/__init__.pyi +3 -1
- keyingsets_utils/__init__.pyi +3 -1
- mathutils/__init__.pyi +5 -2
- mathutils/bvhtree/__init__.pyi +3 -1
- mathutils/geometry/__init__.pyi +3 -1
- mathutils/interpolate/__init__.pyi +3 -1
- mathutils/kdtree/__init__.pyi +3 -1
- mathutils/noise/__init__.pyi +3 -1
- nodeitems_builtins/__init__.pyi +3 -1
- nodeitems_utils/__init__.pyi +3 -1
- rna_info/__init__.pyi +3 -1
- rna_keymap_ui/__init__.pyi +3 -1
- rna_prop_ui/__init__.pyi +3 -1
- rna_xml/__init__.pyi +3 -1
- sys_info/__init__.pyi +3 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
bpy/ops/nla/__init__.pyi
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.ops.transform
|
|
3
4
|
import bpy.types
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
8
|
|
|
7
9
|
def action_pushdown(
|
|
8
10
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -59,7 +61,7 @@ def actionclip_add(
|
|
|
59
61
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
60
62
|
execution_context: str | int | None = None,
|
|
61
63
|
undo: bool | None = None,
|
|
62
|
-
action: str |
|
|
64
|
+
action: str | None = "",
|
|
63
65
|
):
|
|
64
66
|
"""Add an Action-Clip strip (i.e. an NLA Strip referencing an Action) to the active track
|
|
65
67
|
|
|
@@ -67,7 +69,7 @@ def actionclip_add(
|
|
|
67
69
|
:type execution_context: str | int | None
|
|
68
70
|
:type undo: bool | None
|
|
69
71
|
:param action: Action
|
|
70
|
-
:type action: str |
|
|
72
|
+
:type action: str | None
|
|
71
73
|
"""
|
|
72
74
|
|
|
73
75
|
...
|
|
@@ -99,8 +101,8 @@ def bake(
|
|
|
99
101
|
clear_parents: bool | typing.Any | None = False,
|
|
100
102
|
use_current_action: bool | typing.Any | None = False,
|
|
101
103
|
clean_curves: bool | typing.Any | None = False,
|
|
102
|
-
bake_types:
|
|
103
|
-
channel_types:
|
|
104
|
+
bake_types: set[str] | None = {"POSE"},
|
|
105
|
+
channel_types: set[str] | None = {
|
|
104
106
|
"BBONE",
|
|
105
107
|
"LOCATION",
|
|
106
108
|
"PROPS",
|
|
@@ -138,7 +140,7 @@ def bake(
|
|
|
138
140
|
|
|
139
141
|
OBJECT
|
|
140
142
|
Object -- Bake object transformations.
|
|
141
|
-
:type bake_types:
|
|
143
|
+
:type bake_types: set[str] | None
|
|
142
144
|
:param channel_types: Channels, Which channels to bake
|
|
143
145
|
|
|
144
146
|
LOCATION
|
|
@@ -155,7 +157,7 @@ def bake(
|
|
|
155
157
|
|
|
156
158
|
PROPS
|
|
157
159
|
Custom Properties -- Bake custom properties.
|
|
158
|
-
:type channel_types:
|
|
160
|
+
:type channel_types: set[str] | None
|
|
159
161
|
"""
|
|
160
162
|
|
|
161
163
|
...
|
|
@@ -295,7 +297,7 @@ def fmodifier_add(
|
|
|
295
297
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
296
298
|
execution_context: str | int | None = None,
|
|
297
299
|
undo: bool | None = None,
|
|
298
|
-
type: str |
|
|
300
|
+
type: str | None = "NULL",
|
|
299
301
|
only_active: bool | typing.Any | None = True,
|
|
300
302
|
):
|
|
301
303
|
"""Add F-Modifier to the active/selected NLA-Strips
|
|
@@ -304,7 +306,7 @@ def fmodifier_add(
|
|
|
304
306
|
:type execution_context: str | int | None
|
|
305
307
|
:type undo: bool | None
|
|
306
308
|
:param type: Type
|
|
307
|
-
:type type: str |
|
|
309
|
+
:type type: str | None
|
|
308
310
|
:param only_active: Only Active, Only add a F-Modifier of the specified type to the active strip
|
|
309
311
|
:type only_active: bool | typing.Any | None
|
|
310
312
|
"""
|
|
@@ -450,7 +452,7 @@ def select_all(
|
|
|
450
452
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
451
453
|
execution_context: str | int | None = None,
|
|
452
454
|
undo: bool | None = None,
|
|
453
|
-
action:
|
|
455
|
+
action: str | None = "TOGGLE",
|
|
454
456
|
):
|
|
455
457
|
"""Select or deselect all NLA-Strips
|
|
456
458
|
|
|
@@ -470,7 +472,7 @@ def select_all(
|
|
|
470
472
|
|
|
471
473
|
INVERT
|
|
472
474
|
Invert -- Invert selection of all elements.
|
|
473
|
-
:type action:
|
|
475
|
+
:type action: str | None
|
|
474
476
|
"""
|
|
475
477
|
|
|
476
478
|
...
|
|
@@ -486,7 +488,7 @@ def select_box(
|
|
|
486
488
|
ymin: typing.Any | None = 0,
|
|
487
489
|
ymax: typing.Any | None = 0,
|
|
488
490
|
wait_for_input: bool | typing.Any | None = True,
|
|
489
|
-
mode:
|
|
491
|
+
mode: str | None = "SET",
|
|
490
492
|
):
|
|
491
493
|
"""Use box selection to grab NLA-Strips
|
|
492
494
|
|
|
@@ -517,7 +519,7 @@ def select_box(
|
|
|
517
519
|
|
|
518
520
|
SUB
|
|
519
521
|
Subtract -- Subtract existing selection.
|
|
520
|
-
:type mode:
|
|
522
|
+
:type mode: str | None
|
|
521
523
|
"""
|
|
522
524
|
|
|
523
525
|
...
|
|
@@ -526,7 +528,7 @@ def select_leftright(
|
|
|
526
528
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
527
529
|
execution_context: str | int | None = None,
|
|
528
530
|
undo: bool | None = None,
|
|
529
|
-
mode:
|
|
531
|
+
mode: str | None = "CHECK",
|
|
530
532
|
extend: bool | typing.Any | None = False,
|
|
531
533
|
):
|
|
532
534
|
"""Select strips to the left or the right of the current frame
|
|
@@ -535,7 +537,7 @@ def select_leftright(
|
|
|
535
537
|
:type execution_context: str | int | None
|
|
536
538
|
:type undo: bool | None
|
|
537
539
|
:param mode: Mode
|
|
538
|
-
:type mode:
|
|
540
|
+
:type mode: str | None
|
|
539
541
|
:param extend: Extend Select
|
|
540
542
|
:type extend: bool | typing.Any | None
|
|
541
543
|
"""
|
|
@@ -560,7 +562,7 @@ def snap(
|
|
|
560
562
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
561
563
|
execution_context: str | int | None = None,
|
|
562
564
|
undo: bool | None = None,
|
|
563
|
-
type:
|
|
565
|
+
type: str | None = "CFRA",
|
|
564
566
|
):
|
|
565
567
|
"""Move start of strips to specified time
|
|
566
568
|
|
|
@@ -568,7 +570,7 @@ def snap(
|
|
|
568
570
|
:type execution_context: str | int | None
|
|
569
571
|
:type undo: bool | None
|
|
570
572
|
:param type: Type
|
|
571
|
-
:type type:
|
|
573
|
+
:type type: str | None
|
|
572
574
|
"""
|
|
573
575
|
|
|
574
576
|
...
|
bpy/ops/node/__init__.pyi
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bl_operators.node
|
|
3
4
|
import bpy.ops.transform
|
|
4
5
|
import bpy.types
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
7
9
|
|
|
8
10
|
def add_collection(
|
|
9
11
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -56,8 +58,8 @@ def add_file(
|
|
|
56
58
|
relative_path: bool | typing.Any | None = True,
|
|
57
59
|
show_multiview: bool | typing.Any | None = False,
|
|
58
60
|
use_multiview: bool | typing.Any | None = False,
|
|
59
|
-
display_type:
|
|
60
|
-
sort_method:
|
|
61
|
+
display_type: str | None = "DEFAULT",
|
|
62
|
+
sort_method: str | None = "",
|
|
61
63
|
name: str | typing.Any = "",
|
|
62
64
|
session_uid: typing.Any | None = 0,
|
|
63
65
|
):
|
|
@@ -131,7 +133,7 @@ def add_file(
|
|
|
131
133
|
|
|
132
134
|
THUMBNAIL
|
|
133
135
|
Thumbnails -- Display files as thumbnails.
|
|
134
|
-
:type display_type:
|
|
136
|
+
:type display_type: str | None
|
|
135
137
|
:param sort_method: File sorting mode
|
|
136
138
|
|
|
137
139
|
DEFAULT
|
|
@@ -148,7 +150,7 @@ def add_file(
|
|
|
148
150
|
|
|
149
151
|
FILE_SORT_SIZE
|
|
150
152
|
Size -- Sort files by size.
|
|
151
|
-
:type sort_method:
|
|
153
|
+
:type sort_method: str | None
|
|
152
154
|
:param name: Name, Name of the data-block to use by the operator
|
|
153
155
|
:type name: str | typing.Any
|
|
154
156
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
@@ -184,7 +186,7 @@ def add_group_asset(
|
|
|
184
186
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
185
187
|
execution_context: str | int | None = None,
|
|
186
188
|
undo: bool | None = None,
|
|
187
|
-
asset_library_type: str |
|
|
189
|
+
asset_library_type: str | None = "LOCAL",
|
|
188
190
|
asset_library_identifier: str | typing.Any = "",
|
|
189
191
|
relative_asset_identifier: str | typing.Any = "",
|
|
190
192
|
):
|
|
@@ -194,7 +196,7 @@ def add_group_asset(
|
|
|
194
196
|
:type execution_context: str | int | None
|
|
195
197
|
:type undo: bool | None
|
|
196
198
|
:param asset_library_type: Asset Library Type
|
|
197
|
-
:type asset_library_type: str |
|
|
199
|
+
:type asset_library_type: str | None
|
|
198
200
|
:param asset_library_identifier: Asset Library Identifier
|
|
199
201
|
:type asset_library_identifier: str | typing.Any
|
|
200
202
|
:param relative_asset_identifier: Relative Asset Identifier
|
|
@@ -446,7 +448,7 @@ def bake_node_item_move(
|
|
|
446
448
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
447
449
|
execution_context: str | int | None = None,
|
|
448
450
|
undo: bool | None = None,
|
|
449
|
-
direction:
|
|
451
|
+
direction: str | None = "UP",
|
|
450
452
|
):
|
|
451
453
|
"""Move active bake item
|
|
452
454
|
|
|
@@ -454,7 +456,7 @@ def bake_node_item_move(
|
|
|
454
456
|
:type execution_context: str | int | None
|
|
455
457
|
:type undo: bool | None
|
|
456
458
|
:param direction: Direction, Move direction
|
|
457
|
-
:type direction:
|
|
459
|
+
:type direction: str | None
|
|
458
460
|
"""
|
|
459
461
|
|
|
460
462
|
...
|
|
@@ -737,7 +739,7 @@ def enum_definition_item_move(
|
|
|
737
739
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
738
740
|
execution_context: str | int | None = None,
|
|
739
741
|
undo: bool | None = None,
|
|
740
|
-
direction:
|
|
742
|
+
direction: str | None = "UP",
|
|
741
743
|
):
|
|
742
744
|
"""Move active menu item
|
|
743
745
|
|
|
@@ -745,7 +747,7 @@ def enum_definition_item_move(
|
|
|
745
747
|
:type execution_context: str | int | None
|
|
746
748
|
:type undo: bool | None
|
|
747
749
|
:param direction: Direction, Move direction
|
|
748
|
-
:type direction:
|
|
750
|
+
:type direction: str | None
|
|
749
751
|
"""
|
|
750
752
|
|
|
751
753
|
...
|
|
@@ -841,7 +843,7 @@ def group_separate(
|
|
|
841
843
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
842
844
|
execution_context: str | int | None = None,
|
|
843
845
|
undo: bool | None = None,
|
|
844
|
-
type:
|
|
846
|
+
type: str | None = "COPY",
|
|
845
847
|
):
|
|
846
848
|
"""Separate selected nodes from the node group
|
|
847
849
|
|
|
@@ -855,7 +857,7 @@ def group_separate(
|
|
|
855
857
|
|
|
856
858
|
MOVE
|
|
857
859
|
Move -- Move to parent node tree, remove from group.
|
|
858
|
-
:type type:
|
|
860
|
+
:type type: str | None
|
|
859
861
|
"""
|
|
860
862
|
|
|
861
863
|
...
|
|
@@ -965,7 +967,7 @@ def interface_item_new(
|
|
|
965
967
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
966
968
|
execution_context: str | int | None = None,
|
|
967
969
|
undo: bool | None = None,
|
|
968
|
-
item_type:
|
|
970
|
+
item_type: str | None = "INPUT",
|
|
969
971
|
):
|
|
970
972
|
"""Add a new item to the interface
|
|
971
973
|
|
|
@@ -973,7 +975,7 @@ def interface_item_new(
|
|
|
973
975
|
:type execution_context: str | int | None
|
|
974
976
|
:type undo: bool | None
|
|
975
977
|
:param item_type: Item Type, Type of the item to create
|
|
976
|
-
:type item_type:
|
|
978
|
+
:type item_type: str | None
|
|
977
979
|
"""
|
|
978
980
|
|
|
979
981
|
...
|
|
@@ -1229,7 +1231,7 @@ def new_node_tree(
|
|
|
1229
1231
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1230
1232
|
execution_context: str | int | None = None,
|
|
1231
1233
|
undo: bool | None = None,
|
|
1232
|
-
type: str |
|
|
1234
|
+
type: str | None = "",
|
|
1233
1235
|
name: str | typing.Any = "NodeTree",
|
|
1234
1236
|
):
|
|
1235
1237
|
"""Create a new node tree
|
|
@@ -1238,7 +1240,7 @@ def new_node_tree(
|
|
|
1238
1240
|
:type execution_context: str | int | None
|
|
1239
1241
|
:type undo: bool | None
|
|
1240
1242
|
:param type: Tree Type
|
|
1241
|
-
:type type: str |
|
|
1243
|
+
:type type: str | None
|
|
1242
1244
|
:param name: Name
|
|
1243
1245
|
:type name: str | typing.Any
|
|
1244
1246
|
"""
|
|
@@ -1317,7 +1319,7 @@ def output_file_move_active_socket(
|
|
|
1317
1319
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1318
1320
|
execution_context: str | int | None = None,
|
|
1319
1321
|
undo: bool | None = None,
|
|
1320
|
-
direction:
|
|
1322
|
+
direction: str | None = "DOWN",
|
|
1321
1323
|
):
|
|
1322
1324
|
"""Move the active input of a file output node up or down the list
|
|
1323
1325
|
|
|
@@ -1325,7 +1327,7 @@ def output_file_move_active_socket(
|
|
|
1325
1327
|
:type execution_context: str | int | None
|
|
1326
1328
|
:type undo: bool | None
|
|
1327
1329
|
:param direction: Direction
|
|
1328
|
-
:type direction:
|
|
1330
|
+
:type direction: str | None
|
|
1329
1331
|
"""
|
|
1330
1332
|
|
|
1331
1333
|
...
|
|
@@ -1418,7 +1420,7 @@ def repeat_zone_item_move(
|
|
|
1418
1420
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1419
1421
|
execution_context: str | int | None = None,
|
|
1420
1422
|
undo: bool | None = None,
|
|
1421
|
-
direction:
|
|
1423
|
+
direction: str | None = "UP",
|
|
1422
1424
|
):
|
|
1423
1425
|
"""Move active repeat zone item
|
|
1424
1426
|
|
|
@@ -1426,7 +1428,7 @@ def repeat_zone_item_move(
|
|
|
1426
1428
|
:type execution_context: str | int | None
|
|
1427
1429
|
:type undo: bool | None
|
|
1428
1430
|
:param direction: Direction, Move direction
|
|
1429
|
-
:type direction:
|
|
1431
|
+
:type direction: str | None
|
|
1430
1432
|
"""
|
|
1431
1433
|
|
|
1432
1434
|
...
|
|
@@ -1501,7 +1503,7 @@ def select_all(
|
|
|
1501
1503
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1502
1504
|
execution_context: str | int | None = None,
|
|
1503
1505
|
undo: bool | None = None,
|
|
1504
|
-
action:
|
|
1506
|
+
action: str | None = "TOGGLE",
|
|
1505
1507
|
):
|
|
1506
1508
|
"""(De)select all nodes
|
|
1507
1509
|
|
|
@@ -1521,7 +1523,7 @@ def select_all(
|
|
|
1521
1523
|
|
|
1522
1524
|
INVERT
|
|
1523
1525
|
Invert -- Invert selection of all elements.
|
|
1524
|
-
:type action:
|
|
1526
|
+
:type action: str | None
|
|
1525
1527
|
"""
|
|
1526
1528
|
|
|
1527
1529
|
...
|
|
@@ -1536,7 +1538,7 @@ def select_box(
|
|
|
1536
1538
|
ymin: typing.Any | None = 0,
|
|
1537
1539
|
ymax: typing.Any | None = 0,
|
|
1538
1540
|
wait_for_input: bool | typing.Any | None = True,
|
|
1539
|
-
mode:
|
|
1541
|
+
mode: str | None = "SET",
|
|
1540
1542
|
):
|
|
1541
1543
|
"""Use box selection to select nodes
|
|
1542
1544
|
|
|
@@ -1565,7 +1567,7 @@ def select_box(
|
|
|
1565
1567
|
|
|
1566
1568
|
SUB
|
|
1567
1569
|
Subtract -- Subtract existing selection.
|
|
1568
|
-
:type mode:
|
|
1570
|
+
:type mode: str | None
|
|
1569
1571
|
"""
|
|
1570
1572
|
|
|
1571
1573
|
...
|
|
@@ -1578,7 +1580,7 @@ def select_circle(
|
|
|
1578
1580
|
y: typing.Any | None = 0,
|
|
1579
1581
|
radius: typing.Any | None = 25,
|
|
1580
1582
|
wait_for_input: bool | typing.Any | None = True,
|
|
1581
|
-
mode:
|
|
1583
|
+
mode: str | None = "SET",
|
|
1582
1584
|
):
|
|
1583
1585
|
"""Use circle selection to select nodes
|
|
1584
1586
|
|
|
@@ -1603,7 +1605,7 @@ def select_circle(
|
|
|
1603
1605
|
|
|
1604
1606
|
SUB
|
|
1605
1607
|
Subtract -- Subtract existing selection.
|
|
1606
|
-
:type mode:
|
|
1608
|
+
:type mode: str | None
|
|
1607
1609
|
"""
|
|
1608
1610
|
|
|
1609
1611
|
...
|
|
@@ -1613,7 +1615,7 @@ def select_grouped(
|
|
|
1613
1615
|
execution_context: str | int | None = None,
|
|
1614
1616
|
undo: bool | None = None,
|
|
1615
1617
|
extend: bool | typing.Any | None = False,
|
|
1616
|
-
type:
|
|
1618
|
+
type: str | None = "TYPE",
|
|
1617
1619
|
):
|
|
1618
1620
|
"""Select nodes with similar properties
|
|
1619
1621
|
|
|
@@ -1623,7 +1625,7 @@ def select_grouped(
|
|
|
1623
1625
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
1624
1626
|
:type extend: bool | typing.Any | None
|
|
1625
1627
|
:param type: Type
|
|
1626
|
-
:type type:
|
|
1628
|
+
:type type: str | None
|
|
1627
1629
|
"""
|
|
1628
1630
|
|
|
1629
1631
|
...
|
|
@@ -1634,7 +1636,7 @@ def select_lasso(
|
|
|
1634
1636
|
undo: bool | None = None,
|
|
1635
1637
|
tweak: bool | typing.Any | None = False,
|
|
1636
1638
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
1637
|
-
mode:
|
|
1639
|
+
mode: str | None = "SET",
|
|
1638
1640
|
):
|
|
1639
1641
|
"""Select nodes using lasso selection
|
|
1640
1642
|
|
|
@@ -1655,7 +1657,7 @@ def select_lasso(
|
|
|
1655
1657
|
|
|
1656
1658
|
SUB
|
|
1657
1659
|
Subtract -- Subtract existing selection.
|
|
1658
|
-
:type mode:
|
|
1660
|
+
:type mode: str | None
|
|
1659
1661
|
"""
|
|
1660
1662
|
|
|
1661
1663
|
...
|
|
@@ -1757,7 +1759,7 @@ def simulation_zone_item_move(
|
|
|
1757
1759
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1758
1760
|
execution_context: str | int | None = None,
|
|
1759
1761
|
undo: bool | None = None,
|
|
1760
|
-
direction:
|
|
1762
|
+
direction: str | None = "UP",
|
|
1761
1763
|
):
|
|
1762
1764
|
"""Move active simulation zone item
|
|
1763
1765
|
|
|
@@ -1765,7 +1767,7 @@ def simulation_zone_item_move(
|
|
|
1765
1767
|
:type execution_context: str | int | None
|
|
1766
1768
|
:type undo: bool | None
|
|
1767
1769
|
:param direction: Direction, Move direction
|
|
1768
|
-
:type direction:
|
|
1770
|
+
:type direction: str | None
|
|
1769
1771
|
"""
|
|
1770
1772
|
|
|
1771
1773
|
...
|