fake-bpy-module 20240210__py3-none-any.whl → 20240326__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.
- addon_utils/__init__.pyi +54 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/node/__init__.pyi
CHANGED
|
@@ -1,179 +1,193 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
|
-
import bpy.types
|
|
4
2
|
import bl_operators.node
|
|
5
3
|
import bpy.ops.transform
|
|
4
|
+
import bpy.types
|
|
6
5
|
|
|
7
6
|
GenericType = typing.TypeVar("GenericType")
|
|
8
7
|
|
|
9
8
|
def add_collection(
|
|
10
|
-
override_context: typing.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
14
|
-
undo: typing.Optional[bool] = None,
|
|
15
|
-
*,
|
|
9
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
10
|
+
execution_context: typing.Union[str, int] = None,
|
|
11
|
+
undo: bool = None,
|
|
16
12
|
name: typing.Union[str, typing.Any] = "",
|
|
17
|
-
session_uid: typing.
|
|
13
|
+
session_uid: typing.Any = 0,
|
|
18
14
|
):
|
|
19
15
|
"""Add a collection info node to the current node editor
|
|
20
16
|
|
|
21
|
-
:type override_context: typing.
|
|
22
|
-
:type execution_context: typing.
|
|
23
|
-
:type undo:
|
|
17
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
18
|
+
:type execution_context: typing.Union[str, int]
|
|
19
|
+
:type undo: bool
|
|
24
20
|
:param name: Name, Name of the data-block to use by the operator
|
|
25
21
|
:type name: typing.Union[str, typing.Any]
|
|
26
22
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
27
|
-
:type session_uid: typing.
|
|
23
|
+
:type session_uid: typing.Any
|
|
28
24
|
"""
|
|
29
25
|
|
|
30
26
|
...
|
|
31
27
|
|
|
32
28
|
def add_file(
|
|
33
|
-
override_context: typing.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
37
|
-
undo: typing.Optional[bool] = None,
|
|
38
|
-
*,
|
|
29
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
30
|
+
execution_context: typing.Union[str, int] = None,
|
|
31
|
+
undo: bool = None,
|
|
39
32
|
filepath: typing.Union[str, typing.Any] = "",
|
|
40
|
-
hide_props_region: typing.
|
|
41
|
-
check_existing: typing.
|
|
42
|
-
filter_blender: typing.
|
|
43
|
-
filter_backup: typing.
|
|
44
|
-
filter_image: typing.
|
|
45
|
-
filter_movie: typing.
|
|
46
|
-
filter_python: typing.
|
|
47
|
-
filter_font: typing.
|
|
48
|
-
filter_sound: typing.
|
|
49
|
-
filter_text: typing.
|
|
50
|
-
filter_archive: typing.
|
|
51
|
-
filter_btx: typing.
|
|
52
|
-
filter_collada: typing.
|
|
53
|
-
filter_alembic: typing.
|
|
54
|
-
filter_usd: typing.
|
|
55
|
-
filter_obj: typing.
|
|
56
|
-
filter_volume: typing.
|
|
57
|
-
filter_folder: typing.
|
|
58
|
-
filter_blenlib: typing.
|
|
59
|
-
filemode: typing.
|
|
60
|
-
relative_path: typing.
|
|
61
|
-
show_multiview: typing.
|
|
62
|
-
use_multiview: typing.
|
|
63
|
-
display_type: typing.
|
|
64
|
-
sort_method: typing.
|
|
33
|
+
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
34
|
+
check_existing: typing.Union[bool, typing.Any] = False,
|
|
35
|
+
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
36
|
+
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
37
|
+
filter_image: typing.Union[bool, typing.Any] = True,
|
|
38
|
+
filter_movie: typing.Union[bool, typing.Any] = True,
|
|
39
|
+
filter_python: typing.Union[bool, typing.Any] = False,
|
|
40
|
+
filter_font: typing.Union[bool, typing.Any] = False,
|
|
41
|
+
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
42
|
+
filter_text: typing.Union[bool, typing.Any] = False,
|
|
43
|
+
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
44
|
+
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
45
|
+
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
46
|
+
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
47
|
+
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
48
|
+
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
49
|
+
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
50
|
+
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
51
|
+
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
52
|
+
filemode: typing.Any = 9,
|
|
53
|
+
relative_path: typing.Union[bool, typing.Any] = True,
|
|
54
|
+
show_multiview: typing.Union[bool, typing.Any] = False,
|
|
55
|
+
use_multiview: typing.Union[bool, typing.Any] = False,
|
|
56
|
+
display_type: typing.Any = "DEFAULT",
|
|
57
|
+
sort_method: typing.Any = "",
|
|
65
58
|
name: typing.Union[str, typing.Any] = "",
|
|
66
|
-
session_uid: typing.
|
|
59
|
+
session_uid: typing.Any = 0,
|
|
67
60
|
):
|
|
68
61
|
"""Add a file node to the current node editor
|
|
69
62
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
63
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
64
|
+
:type execution_context: typing.Union[str, int]
|
|
65
|
+
:type undo: bool
|
|
66
|
+
:param filepath: File Path, Path to file
|
|
67
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
68
|
+
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
69
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
70
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
71
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
72
|
+
:param filter_blender: Filter .blend files
|
|
73
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
74
|
+
:param filter_backup: Filter .blend files
|
|
75
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
76
|
+
:param filter_image: Filter image files
|
|
77
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
78
|
+
:param filter_movie: Filter movie files
|
|
79
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
80
|
+
:param filter_python: Filter Python files
|
|
81
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
82
|
+
:param filter_font: Filter font files
|
|
83
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
84
|
+
:param filter_sound: Filter sound files
|
|
85
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
86
|
+
:param filter_text: Filter text files
|
|
87
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
88
|
+
:param filter_archive: Filter archive files
|
|
89
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
90
|
+
:param filter_btx: Filter btx files
|
|
91
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
92
|
+
:param filter_collada: Filter COLLADA files
|
|
93
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
94
|
+
:param filter_alembic: Filter Alembic files
|
|
95
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
96
|
+
:param filter_usd: Filter USD files
|
|
97
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
98
|
+
:param filter_obj: Filter OBJ files
|
|
99
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
100
|
+
:param filter_volume: Filter OpenVDB volume files
|
|
101
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
102
|
+
:param filter_folder: Filter folders
|
|
103
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
104
|
+
:param filter_blenlib: Filter Blender IDs
|
|
105
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
106
|
+
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
107
|
+
:type filemode: typing.Any
|
|
108
|
+
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
109
|
+
:type relative_path: typing.Union[bool, typing.Any]
|
|
110
|
+
:param show_multiview: Enable Multi-View
|
|
111
|
+
:type show_multiview: typing.Union[bool, typing.Any]
|
|
112
|
+
:param use_multiview: Use Multi-View
|
|
113
|
+
:type use_multiview: typing.Union[bool, typing.Any]
|
|
114
|
+
:param display_type: Display Type
|
|
115
|
+
|
|
116
|
+
DEFAULT
|
|
117
|
+
Default -- Automatically determine display type for files.
|
|
118
|
+
|
|
119
|
+
LIST_VERTICAL
|
|
120
|
+
Short List -- Display files as short list.
|
|
121
|
+
|
|
122
|
+
LIST_HORIZONTAL
|
|
123
|
+
Long List -- Display files as a detailed list.
|
|
124
|
+
|
|
125
|
+
THUMBNAIL
|
|
126
|
+
Thumbnails -- Display files as thumbnails.
|
|
127
|
+
:type display_type: typing.Any
|
|
128
|
+
:param sort_method: File sorting mode
|
|
129
|
+
|
|
130
|
+
DEFAULT
|
|
131
|
+
Default -- Automatically determine sort method for files.
|
|
132
|
+
|
|
133
|
+
FILE_SORT_ALPHA
|
|
134
|
+
Name -- Sort the file list alphabetically.
|
|
135
|
+
|
|
136
|
+
FILE_SORT_EXTENSION
|
|
137
|
+
Extension -- Sort the file list by extension/type.
|
|
138
|
+
|
|
139
|
+
FILE_SORT_TIME
|
|
140
|
+
Modified Date -- Sort files by modification time.
|
|
141
|
+
|
|
142
|
+
FILE_SORT_SIZE
|
|
143
|
+
Size -- Sort files by size.
|
|
144
|
+
:type sort_method: typing.Any
|
|
145
|
+
:param name: Name, Name of the data-block to use by the operator
|
|
146
|
+
:type name: typing.Union[str, typing.Any]
|
|
147
|
+
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
148
|
+
:type session_uid: typing.Any
|
|
129
149
|
"""
|
|
130
150
|
|
|
131
151
|
...
|
|
132
152
|
|
|
133
153
|
def add_group(
|
|
134
|
-
override_context: typing.
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
138
|
-
undo: typing.Optional[bool] = None,
|
|
139
|
-
*,
|
|
154
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
155
|
+
execution_context: typing.Union[str, int] = None,
|
|
156
|
+
undo: bool = None,
|
|
140
157
|
name: typing.Union[str, typing.Any] = "",
|
|
141
|
-
session_uid: typing.
|
|
142
|
-
show_datablock_in_node: typing.
|
|
158
|
+
session_uid: typing.Any = 0,
|
|
159
|
+
show_datablock_in_node: typing.Union[bool, typing.Any] = True,
|
|
143
160
|
):
|
|
144
161
|
"""Add an existing node group to the current node editor
|
|
145
162
|
|
|
146
|
-
:type override_context: typing.
|
|
147
|
-
:type execution_context: typing.
|
|
148
|
-
:type undo:
|
|
163
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
164
|
+
:type execution_context: typing.Union[str, int]
|
|
165
|
+
:type undo: bool
|
|
149
166
|
:param name: Name, Name of the data-block to use by the operator
|
|
150
167
|
:type name: typing.Union[str, typing.Any]
|
|
151
168
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
152
|
-
:type session_uid: typing.
|
|
169
|
+
:type session_uid: typing.Any
|
|
153
170
|
:param show_datablock_in_node: Show the datablock selector in the node
|
|
154
|
-
:type show_datablock_in_node: typing.
|
|
171
|
+
:type show_datablock_in_node: typing.Union[bool, typing.Any]
|
|
155
172
|
"""
|
|
156
173
|
|
|
157
174
|
...
|
|
158
175
|
|
|
159
176
|
def add_group_asset(
|
|
160
|
-
override_context: typing.
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
undo: typing.Optional[bool] = None,
|
|
165
|
-
*,
|
|
166
|
-
asset_library_type: typing.Optional[typing.Union[str, int]] = "LOCAL",
|
|
177
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
178
|
+
execution_context: typing.Union[str, int] = None,
|
|
179
|
+
undo: bool = None,
|
|
180
|
+
asset_library_type: typing.Any = "LOCAL",
|
|
167
181
|
asset_library_identifier: typing.Union[str, typing.Any] = "",
|
|
168
182
|
relative_asset_identifier: typing.Union[str, typing.Any] = "",
|
|
169
183
|
):
|
|
170
184
|
"""Add a node group asset to the active node tree
|
|
171
185
|
|
|
172
|
-
:type override_context: typing.
|
|
173
|
-
:type execution_context: typing.
|
|
174
|
-
:type undo:
|
|
186
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
187
|
+
:type execution_context: typing.Union[str, int]
|
|
188
|
+
:type undo: bool
|
|
175
189
|
:param asset_library_type: Asset Library Type
|
|
176
|
-
:type asset_library_type: typing.
|
|
190
|
+
:type asset_library_type: typing.Any
|
|
177
191
|
:param asset_library_identifier: Asset Library Identifier
|
|
178
192
|
:type asset_library_identifier: typing.Union[str, typing.Any]
|
|
179
193
|
:param relative_asset_identifier: Relative Asset Identifier
|
|
@@ -183,73 +197,62 @@ def add_group_asset(
|
|
|
183
197
|
...
|
|
184
198
|
|
|
185
199
|
def add_mask(
|
|
186
|
-
override_context: typing.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
190
|
-
undo: typing.Optional[bool] = None,
|
|
191
|
-
*,
|
|
200
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
201
|
+
execution_context: typing.Union[str, int] = None,
|
|
202
|
+
undo: bool = None,
|
|
192
203
|
name: typing.Union[str, typing.Any] = "",
|
|
193
|
-
session_uid: typing.
|
|
204
|
+
session_uid: typing.Any = 0,
|
|
194
205
|
):
|
|
195
206
|
"""Add a mask node to the current node editor
|
|
196
207
|
|
|
197
|
-
:type override_context: typing.
|
|
198
|
-
:type execution_context: typing.
|
|
199
|
-
:type undo:
|
|
208
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
209
|
+
:type execution_context: typing.Union[str, int]
|
|
210
|
+
:type undo: bool
|
|
200
211
|
:param name: Name, Name of the data-block to use by the operator
|
|
201
212
|
:type name: typing.Union[str, typing.Any]
|
|
202
213
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
203
|
-
:type session_uid: typing.
|
|
214
|
+
:type session_uid: typing.Any
|
|
204
215
|
"""
|
|
205
216
|
|
|
206
217
|
...
|
|
207
218
|
|
|
208
219
|
def add_material(
|
|
209
|
-
override_context: typing.
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
213
|
-
undo: typing.Optional[bool] = None,
|
|
214
|
-
*,
|
|
220
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
221
|
+
execution_context: typing.Union[str, int] = None,
|
|
222
|
+
undo: bool = None,
|
|
215
223
|
name: typing.Union[str, typing.Any] = "",
|
|
216
|
-
session_uid: typing.
|
|
224
|
+
session_uid: typing.Any = 0,
|
|
217
225
|
):
|
|
218
226
|
"""Add a material node to the current node editor
|
|
219
227
|
|
|
220
|
-
:type override_context: typing.
|
|
221
|
-
:type execution_context: typing.
|
|
222
|
-
:type undo:
|
|
228
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
229
|
+
:type execution_context: typing.Union[str, int]
|
|
230
|
+
:type undo: bool
|
|
223
231
|
:param name: Name, Name of the data-block to use by the operator
|
|
224
232
|
:type name: typing.Union[str, typing.Any]
|
|
225
233
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
226
|
-
:type session_uid: typing.
|
|
234
|
+
:type session_uid: typing.Any
|
|
227
235
|
"""
|
|
228
236
|
|
|
229
237
|
...
|
|
230
238
|
|
|
231
239
|
def add_node(
|
|
232
|
-
override_context: typing.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
*,
|
|
238
|
-
use_transform: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
239
|
-
settings: typing.Optional[
|
|
240
|
-
bpy.types.bpy_prop_collection["bl_operators.node.NodeSetting"]
|
|
241
|
-
] = None,
|
|
240
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
241
|
+
execution_context: typing.Union[str, int] = None,
|
|
242
|
+
undo: bool = None,
|
|
243
|
+
use_transform: typing.Union[bool, typing.Any] = False,
|
|
244
|
+
settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] = None,
|
|
242
245
|
type: typing.Union[str, typing.Any] = "",
|
|
243
246
|
):
|
|
244
|
-
"""Add a node to the active tree
|
|
247
|
+
"""Add a node to the active tree
|
|
245
248
|
|
|
246
|
-
:type override_context: typing.
|
|
247
|
-
:type execution_context: typing.
|
|
248
|
-
:type undo:
|
|
249
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
250
|
+
:type execution_context: typing.Union[str, int]
|
|
251
|
+
:type undo: bool
|
|
249
252
|
:param use_transform: Use Transform, Start transform operator after inserting the node
|
|
250
|
-
:type use_transform: typing.
|
|
253
|
+
:type use_transform: typing.Union[bool, typing.Any]
|
|
251
254
|
:param settings: Settings, Settings to be applied on the newly created node
|
|
252
|
-
:type settings:
|
|
255
|
+
:type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
|
|
253
256
|
:param type: Node Type, Node type
|
|
254
257
|
:type type: typing.Union[str, typing.Any]
|
|
255
258
|
"""
|
|
@@ -257,1121 +260,975 @@ def add_node(
|
|
|
257
260
|
...
|
|
258
261
|
|
|
259
262
|
def add_object(
|
|
260
|
-
override_context: typing.
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
264
|
-
undo: typing.Optional[bool] = None,
|
|
265
|
-
*,
|
|
263
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
264
|
+
execution_context: typing.Union[str, int] = None,
|
|
265
|
+
undo: bool = None,
|
|
266
266
|
name: typing.Union[str, typing.Any] = "",
|
|
267
|
-
session_uid: typing.
|
|
267
|
+
session_uid: typing.Any = 0,
|
|
268
268
|
):
|
|
269
269
|
"""Add an object info node to the current node editor
|
|
270
270
|
|
|
271
|
-
:type override_context: typing.
|
|
272
|
-
:type execution_context: typing.
|
|
273
|
-
:type undo:
|
|
271
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
272
|
+
:type execution_context: typing.Union[str, int]
|
|
273
|
+
:type undo: bool
|
|
274
274
|
:param name: Name, Name of the data-block to use by the operator
|
|
275
275
|
:type name: typing.Union[str, typing.Any]
|
|
276
276
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
277
|
-
:type session_uid: typing.
|
|
277
|
+
:type session_uid: typing.Any
|
|
278
278
|
"""
|
|
279
279
|
|
|
280
280
|
...
|
|
281
281
|
|
|
282
282
|
def add_repeat_zone(
|
|
283
|
-
override_context: typing.
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
"""Add a repeat zone that allows executing nodes a dynamic number of times :File: `startup/bl_operators/node.py\:168 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/node.py#L168>`__
|
|
296
|
-
|
|
297
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
298
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
299
|
-
:type undo: typing.Optional[bool]
|
|
283
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
284
|
+
execution_context: typing.Union[str, int] = None,
|
|
285
|
+
undo: bool = None,
|
|
286
|
+
use_transform: typing.Union[bool, typing.Any] = False,
|
|
287
|
+
settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] = None,
|
|
288
|
+
offset: typing.Any = (150.0, 0.0),
|
|
289
|
+
):
|
|
290
|
+
"""Add a repeat zone that allows executing nodes a dynamic number of times
|
|
291
|
+
|
|
292
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
293
|
+
:type execution_context: typing.Union[str, int]
|
|
294
|
+
:type undo: bool
|
|
300
295
|
:param use_transform: Use Transform, Start transform operator after inserting the node
|
|
301
|
-
:type use_transform: typing.
|
|
296
|
+
:type use_transform: typing.Union[bool, typing.Any]
|
|
302
297
|
:param settings: Settings, Settings to be applied on the newly created node
|
|
303
|
-
:type settings:
|
|
298
|
+
:type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
|
|
304
299
|
:param offset: Offset, Offset of nodes from the cursor when added
|
|
305
|
-
:type offset: typing.
|
|
300
|
+
:type offset: typing.Any
|
|
306
301
|
"""
|
|
307
302
|
|
|
308
303
|
...
|
|
309
304
|
|
|
310
305
|
def add_reroute(
|
|
311
|
-
override_context: typing.
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
*,
|
|
317
|
-
path: typing.Optional[
|
|
318
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
|
|
319
|
-
] = None,
|
|
320
|
-
cursor: typing.Optional[typing.Any] = 8,
|
|
306
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
307
|
+
execution_context: typing.Union[str, int] = None,
|
|
308
|
+
undo: bool = None,
|
|
309
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
310
|
+
cursor: typing.Any = 8,
|
|
321
311
|
):
|
|
322
312
|
"""Add a reroute node
|
|
323
313
|
|
|
324
|
-
:type override_context: typing.
|
|
325
|
-
:type execution_context: typing.
|
|
326
|
-
:type undo:
|
|
314
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
315
|
+
:type execution_context: typing.Union[str, int]
|
|
316
|
+
:type undo: bool
|
|
327
317
|
:param path: Path
|
|
328
|
-
:type path:
|
|
318
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
329
319
|
:param cursor: Cursor
|
|
330
|
-
:type cursor: typing.
|
|
320
|
+
:type cursor: typing.Any
|
|
331
321
|
"""
|
|
332
322
|
|
|
333
323
|
...
|
|
334
324
|
|
|
335
325
|
def add_simulation_zone(
|
|
336
|
-
override_context: typing.
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
"""Add simulation zone input and output nodes to the active tree :File: `startup/bl_operators/node.py\:168 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/node.py#L168>`__
|
|
349
|
-
|
|
350
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
351
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
352
|
-
:type undo: typing.Optional[bool]
|
|
326
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
327
|
+
execution_context: typing.Union[str, int] = None,
|
|
328
|
+
undo: bool = None,
|
|
329
|
+
use_transform: typing.Union[bool, typing.Any] = False,
|
|
330
|
+
settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] = None,
|
|
331
|
+
offset: typing.Any = (150.0, 0.0),
|
|
332
|
+
):
|
|
333
|
+
"""Add simulation zone input and output nodes to the active tree
|
|
334
|
+
|
|
335
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
336
|
+
:type execution_context: typing.Union[str, int]
|
|
337
|
+
:type undo: bool
|
|
353
338
|
:param use_transform: Use Transform, Start transform operator after inserting the node
|
|
354
|
-
:type use_transform: typing.
|
|
339
|
+
:type use_transform: typing.Union[bool, typing.Any]
|
|
355
340
|
:param settings: Settings, Settings to be applied on the newly created node
|
|
356
|
-
:type settings:
|
|
341
|
+
:type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
|
|
357
342
|
:param offset: Offset, Offset of nodes from the cursor when added
|
|
358
|
-
:type offset: typing.
|
|
343
|
+
:type offset: typing.Any
|
|
359
344
|
"""
|
|
360
345
|
|
|
361
346
|
...
|
|
362
347
|
|
|
363
348
|
def attach(
|
|
364
|
-
override_context: typing.
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
368
|
-
undo: typing.Optional[bool] = None,
|
|
349
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
350
|
+
execution_context: typing.Union[str, int] = None,
|
|
351
|
+
undo: bool = None,
|
|
369
352
|
):
|
|
370
353
|
"""Attach active node to a frame
|
|
371
354
|
|
|
372
|
-
:type override_context: typing.
|
|
373
|
-
:type execution_context: typing.
|
|
374
|
-
:type undo:
|
|
355
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
356
|
+
:type execution_context: typing.Union[str, int]
|
|
357
|
+
:type undo: bool
|
|
375
358
|
"""
|
|
376
359
|
|
|
377
360
|
...
|
|
378
361
|
|
|
379
362
|
def backimage_fit(
|
|
380
|
-
override_context: typing.
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
384
|
-
undo: typing.Optional[bool] = None,
|
|
363
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
364
|
+
execution_context: typing.Union[str, int] = None,
|
|
365
|
+
undo: bool = None,
|
|
385
366
|
):
|
|
386
367
|
"""Fit the background image to the view
|
|
387
368
|
|
|
388
|
-
:type override_context: typing.
|
|
389
|
-
:type execution_context: typing.
|
|
390
|
-
:type undo:
|
|
369
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
370
|
+
:type execution_context: typing.Union[str, int]
|
|
371
|
+
:type undo: bool
|
|
391
372
|
"""
|
|
392
373
|
|
|
393
374
|
...
|
|
394
375
|
|
|
395
376
|
def backimage_move(
|
|
396
|
-
override_context: typing.
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
400
|
-
undo: typing.Optional[bool] = None,
|
|
377
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
378
|
+
execution_context: typing.Union[str, int] = None,
|
|
379
|
+
undo: bool = None,
|
|
401
380
|
):
|
|
402
381
|
"""Move node backdrop
|
|
403
382
|
|
|
404
|
-
:type override_context: typing.
|
|
405
|
-
:type execution_context: typing.
|
|
406
|
-
:type undo:
|
|
383
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
384
|
+
:type execution_context: typing.Union[str, int]
|
|
385
|
+
:type undo: bool
|
|
407
386
|
"""
|
|
408
387
|
|
|
409
388
|
...
|
|
410
389
|
|
|
411
390
|
def backimage_sample(
|
|
412
|
-
override_context: typing.
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
416
|
-
undo: typing.Optional[bool] = None,
|
|
391
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
392
|
+
execution_context: typing.Union[str, int] = None,
|
|
393
|
+
undo: bool = None,
|
|
417
394
|
):
|
|
418
395
|
"""Use mouse to sample background image
|
|
419
396
|
|
|
420
|
-
:type override_context: typing.
|
|
421
|
-
:type execution_context: typing.
|
|
422
|
-
:type undo:
|
|
397
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
398
|
+
:type execution_context: typing.Union[str, int]
|
|
399
|
+
:type undo: bool
|
|
423
400
|
"""
|
|
424
401
|
|
|
425
402
|
...
|
|
426
403
|
|
|
427
404
|
def backimage_zoom(
|
|
428
|
-
override_context: typing.
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
undo: typing.Optional[bool] = None,
|
|
433
|
-
*,
|
|
434
|
-
factor: typing.Optional[typing.Any] = 1.2,
|
|
405
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
406
|
+
execution_context: typing.Union[str, int] = None,
|
|
407
|
+
undo: bool = None,
|
|
408
|
+
factor: typing.Any = 1.2,
|
|
435
409
|
):
|
|
436
410
|
"""Zoom in/out the background image
|
|
437
411
|
|
|
438
|
-
:type override_context: typing.
|
|
439
|
-
:type execution_context: typing.
|
|
440
|
-
:type undo:
|
|
412
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
413
|
+
:type execution_context: typing.Union[str, int]
|
|
414
|
+
:type undo: bool
|
|
441
415
|
:param factor: Factor
|
|
442
|
-
:type factor: typing.
|
|
416
|
+
:type factor: typing.Any
|
|
443
417
|
"""
|
|
444
418
|
|
|
445
419
|
...
|
|
446
420
|
|
|
447
421
|
def bake_node_item_add(
|
|
448
|
-
override_context: typing.
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
452
|
-
undo: typing.Optional[bool] = None,
|
|
422
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
423
|
+
execution_context: typing.Union[str, int] = None,
|
|
424
|
+
undo: bool = None,
|
|
453
425
|
):
|
|
454
|
-
"""Add a bake item to the bake node
|
|
426
|
+
"""Add a bake item to the bake node
|
|
455
427
|
|
|
456
|
-
:type override_context: typing.
|
|
457
|
-
:type execution_context: typing.
|
|
458
|
-
:type undo:
|
|
428
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
429
|
+
:type execution_context: typing.Union[str, int]
|
|
430
|
+
:type undo: bool
|
|
459
431
|
"""
|
|
460
432
|
|
|
461
433
|
...
|
|
462
434
|
|
|
463
435
|
def bake_node_item_move(
|
|
464
|
-
override_context: typing.
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
475
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
476
|
-
:type undo: typing.Optional[bool]
|
|
436
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
437
|
+
execution_context: typing.Union[str, int] = None,
|
|
438
|
+
undo: bool = None,
|
|
439
|
+
direction: typing.Any = "UP",
|
|
440
|
+
):
|
|
441
|
+
"""Move a bake item up or down in the list
|
|
442
|
+
|
|
443
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
444
|
+
:type execution_context: typing.Union[str, int]
|
|
445
|
+
:type undo: bool
|
|
477
446
|
:param direction: Direction
|
|
478
|
-
:type direction: typing.
|
|
447
|
+
:type direction: typing.Any
|
|
479
448
|
"""
|
|
480
449
|
|
|
481
450
|
...
|
|
482
451
|
|
|
483
452
|
def bake_node_item_remove(
|
|
484
|
-
override_context: typing.
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
488
|
-
undo: typing.Optional[bool] = None,
|
|
453
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
454
|
+
execution_context: typing.Union[str, int] = None,
|
|
455
|
+
undo: bool = None,
|
|
489
456
|
):
|
|
490
|
-
"""Remove a bake item from the bake node
|
|
457
|
+
"""Remove a bake item from the bake node
|
|
491
458
|
|
|
492
|
-
:type override_context: typing.
|
|
493
|
-
:type execution_context: typing.
|
|
494
|
-
:type undo:
|
|
459
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
460
|
+
:type execution_context: typing.Union[str, int]
|
|
461
|
+
:type undo: bool
|
|
495
462
|
"""
|
|
496
463
|
|
|
497
464
|
...
|
|
498
465
|
|
|
499
466
|
def clear_viewer_border(
|
|
500
|
-
override_context: typing.
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
504
|
-
undo: typing.Optional[bool] = None,
|
|
467
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
468
|
+
execution_context: typing.Union[str, int] = None,
|
|
469
|
+
undo: bool = None,
|
|
505
470
|
):
|
|
506
471
|
"""Clear the boundaries for viewer operations
|
|
507
472
|
|
|
508
|
-
:type override_context: typing.
|
|
509
|
-
:type execution_context: typing.
|
|
510
|
-
:type undo:
|
|
473
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
474
|
+
:type execution_context: typing.Union[str, int]
|
|
475
|
+
:type undo: bool
|
|
511
476
|
"""
|
|
512
477
|
|
|
513
478
|
...
|
|
514
479
|
|
|
515
480
|
def clipboard_copy(
|
|
516
|
-
override_context: typing.
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
520
|
-
undo: typing.Optional[bool] = None,
|
|
481
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
482
|
+
execution_context: typing.Union[str, int] = None,
|
|
483
|
+
undo: bool = None,
|
|
521
484
|
):
|
|
522
485
|
"""Copy the selected nodes to the internal clipboard
|
|
523
486
|
|
|
524
|
-
:type override_context: typing.
|
|
525
|
-
:type execution_context: typing.
|
|
526
|
-
:type undo:
|
|
487
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
488
|
+
:type execution_context: typing.Union[str, int]
|
|
489
|
+
:type undo: bool
|
|
527
490
|
"""
|
|
528
491
|
|
|
529
492
|
...
|
|
530
493
|
|
|
531
494
|
def clipboard_paste(
|
|
532
|
-
override_context: typing.
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
undo: typing.Optional[bool] = None,
|
|
537
|
-
*,
|
|
538
|
-
offset: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
495
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
496
|
+
execution_context: typing.Union[str, int] = None,
|
|
497
|
+
undo: bool = None,
|
|
498
|
+
offset: typing.Any = (0.0, 0.0),
|
|
539
499
|
):
|
|
540
500
|
"""Paste nodes from the internal clipboard to the active node tree
|
|
541
501
|
|
|
542
|
-
:type override_context: typing.
|
|
543
|
-
:type execution_context: typing.
|
|
544
|
-
:type undo:
|
|
502
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
503
|
+
:type execution_context: typing.Union[str, int]
|
|
504
|
+
:type undo: bool
|
|
545
505
|
:param offset: Location, The 2D view location for the center of the new nodes, or unchanged if not set
|
|
546
|
-
:type offset: typing.
|
|
506
|
+
:type offset: typing.Any
|
|
547
507
|
"""
|
|
548
508
|
|
|
549
509
|
...
|
|
550
510
|
|
|
551
511
|
def collapse_hide_unused_toggle(
|
|
552
|
-
override_context: typing.
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
556
|
-
undo: typing.Optional[bool] = None,
|
|
512
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
513
|
+
execution_context: typing.Union[str, int] = None,
|
|
514
|
+
undo: bool = None,
|
|
557
515
|
):
|
|
558
|
-
"""Toggle collapsed nodes and hide unused sockets
|
|
516
|
+
"""Toggle collapsed nodes and hide unused sockets
|
|
559
517
|
|
|
560
|
-
:type override_context: typing.
|
|
561
|
-
:type execution_context: typing.
|
|
562
|
-
:type undo:
|
|
518
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
519
|
+
:type execution_context: typing.Union[str, int]
|
|
520
|
+
:type undo: bool
|
|
563
521
|
"""
|
|
564
522
|
|
|
565
523
|
...
|
|
566
524
|
|
|
567
525
|
def cryptomatte_layer_add(
|
|
568
|
-
override_context: typing.
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
572
|
-
undo: typing.Optional[bool] = None,
|
|
526
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
527
|
+
execution_context: typing.Union[str, int] = None,
|
|
528
|
+
undo: bool = None,
|
|
573
529
|
):
|
|
574
530
|
"""Add a new input layer to a Cryptomatte node
|
|
575
531
|
|
|
576
|
-
:type override_context: typing.
|
|
577
|
-
:type execution_context: typing.
|
|
578
|
-
:type undo:
|
|
532
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
533
|
+
:type execution_context: typing.Union[str, int]
|
|
534
|
+
:type undo: bool
|
|
579
535
|
"""
|
|
580
536
|
|
|
581
537
|
...
|
|
582
538
|
|
|
583
539
|
def cryptomatte_layer_remove(
|
|
584
|
-
override_context: typing.
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
588
|
-
undo: typing.Optional[bool] = None,
|
|
540
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
541
|
+
execution_context: typing.Union[str, int] = None,
|
|
542
|
+
undo: bool = None,
|
|
589
543
|
):
|
|
590
544
|
"""Remove layer from a Cryptomatte node
|
|
591
545
|
|
|
592
|
-
:type override_context: typing.
|
|
593
|
-
:type execution_context: typing.
|
|
594
|
-
:type undo:
|
|
546
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
547
|
+
:type execution_context: typing.Union[str, int]
|
|
548
|
+
:type undo: bool
|
|
595
549
|
"""
|
|
596
550
|
|
|
597
551
|
...
|
|
598
552
|
|
|
599
553
|
def deactivate_viewer(
|
|
600
|
-
override_context: typing.
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
604
|
-
undo: typing.Optional[bool] = None,
|
|
554
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
555
|
+
execution_context: typing.Union[str, int] = None,
|
|
556
|
+
undo: bool = None,
|
|
605
557
|
):
|
|
606
558
|
"""Deactivate selected viewer node in geometry nodes
|
|
607
559
|
|
|
608
|
-
:type override_context: typing.
|
|
609
|
-
:type execution_context: typing.
|
|
610
|
-
:type undo:
|
|
560
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
561
|
+
:type execution_context: typing.Union[str, int]
|
|
562
|
+
:type undo: bool
|
|
611
563
|
"""
|
|
612
564
|
|
|
613
565
|
...
|
|
614
566
|
|
|
615
567
|
def delete(
|
|
616
|
-
override_context: typing.
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
620
|
-
undo: typing.Optional[bool] = None,
|
|
568
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
569
|
+
execution_context: typing.Union[str, int] = None,
|
|
570
|
+
undo: bool = None,
|
|
621
571
|
):
|
|
622
572
|
"""Remove selected nodes
|
|
623
573
|
|
|
624
|
-
:type override_context: typing.
|
|
625
|
-
:type execution_context: typing.
|
|
626
|
-
:type undo:
|
|
574
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
575
|
+
:type execution_context: typing.Union[str, int]
|
|
576
|
+
:type undo: bool
|
|
627
577
|
"""
|
|
628
578
|
|
|
629
579
|
...
|
|
630
580
|
|
|
631
581
|
def delete_reconnect(
|
|
632
|
-
override_context: typing.
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
636
|
-
undo: typing.Optional[bool] = None,
|
|
582
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
583
|
+
execution_context: typing.Union[str, int] = None,
|
|
584
|
+
undo: bool = None,
|
|
637
585
|
):
|
|
638
586
|
"""Remove nodes and reconnect nodes as if deletion was muted
|
|
639
587
|
|
|
640
|
-
:type override_context: typing.
|
|
641
|
-
:type execution_context: typing.
|
|
642
|
-
:type undo:
|
|
588
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
589
|
+
:type execution_context: typing.Union[str, int]
|
|
590
|
+
:type undo: bool
|
|
643
591
|
"""
|
|
644
592
|
|
|
645
593
|
...
|
|
646
594
|
|
|
647
595
|
def detach(
|
|
648
|
-
override_context: typing.
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
652
|
-
undo: typing.Optional[bool] = None,
|
|
596
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
597
|
+
execution_context: typing.Union[str, int] = None,
|
|
598
|
+
undo: bool = None,
|
|
653
599
|
):
|
|
654
600
|
"""Detach selected nodes from parents
|
|
655
601
|
|
|
656
|
-
:type override_context: typing.
|
|
657
|
-
:type execution_context: typing.
|
|
658
|
-
:type undo:
|
|
602
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
603
|
+
:type execution_context: typing.Union[str, int]
|
|
604
|
+
:type undo: bool
|
|
659
605
|
"""
|
|
660
606
|
|
|
661
607
|
...
|
|
662
608
|
|
|
663
609
|
def detach_translate_attach(
|
|
664
|
-
override_context: typing.
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
NODE_OT_detach: typing.Optional["detach"] = None,
|
|
671
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
672
|
-
NODE_OT_attach: typing.Optional["attach"] = None,
|
|
610
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
611
|
+
execution_context: typing.Union[str, int] = None,
|
|
612
|
+
undo: bool = None,
|
|
613
|
+
NODE_OT_detach: detach = None,
|
|
614
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
615
|
+
NODE_OT_attach: attach = None,
|
|
673
616
|
):
|
|
674
617
|
"""Detach nodes, move and attach to frame
|
|
675
618
|
|
|
676
|
-
:type override_context: typing.
|
|
677
|
-
:type execution_context: typing.
|
|
678
|
-
:type undo:
|
|
619
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
620
|
+
:type execution_context: typing.Union[str, int]
|
|
621
|
+
:type undo: bool
|
|
679
622
|
:param NODE_OT_detach: Detach Nodes, Detach selected nodes from parents
|
|
680
|
-
:type NODE_OT_detach:
|
|
623
|
+
:type NODE_OT_detach: detach
|
|
681
624
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
682
|
-
:type TRANSFORM_OT_translate:
|
|
625
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
683
626
|
:param NODE_OT_attach: Attach Nodes, Attach active node to a frame
|
|
684
|
-
:type NODE_OT_attach:
|
|
627
|
+
:type NODE_OT_attach: attach
|
|
685
628
|
"""
|
|
686
629
|
|
|
687
630
|
...
|
|
688
631
|
|
|
689
632
|
def duplicate(
|
|
690
|
-
override_context: typing.
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
*,
|
|
696
|
-
keep_inputs: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
697
|
-
linked: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
633
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
634
|
+
execution_context: typing.Union[str, int] = None,
|
|
635
|
+
undo: bool = None,
|
|
636
|
+
keep_inputs: typing.Union[bool, typing.Any] = False,
|
|
637
|
+
linked: typing.Union[bool, typing.Any] = True,
|
|
698
638
|
):
|
|
699
639
|
"""Duplicate selected nodes
|
|
700
640
|
|
|
701
|
-
:type override_context: typing.
|
|
702
|
-
:type execution_context: typing.
|
|
703
|
-
:type undo:
|
|
641
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
642
|
+
:type execution_context: typing.Union[str, int]
|
|
643
|
+
:type undo: bool
|
|
704
644
|
:param keep_inputs: Keep Inputs, Keep the input links to duplicated nodes
|
|
705
|
-
:type keep_inputs: typing.
|
|
645
|
+
:type keep_inputs: typing.Union[bool, typing.Any]
|
|
706
646
|
:param linked: Linked, Duplicate node but not node trees, linking to the original data
|
|
707
|
-
:type linked: typing.
|
|
647
|
+
:type linked: typing.Union[bool, typing.Any]
|
|
708
648
|
"""
|
|
709
649
|
|
|
710
650
|
...
|
|
711
651
|
|
|
712
652
|
def duplicate_move(
|
|
713
|
-
override_context: typing.
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
*,
|
|
719
|
-
NODE_OT_duplicate: typing.Optional["duplicate"] = None,
|
|
720
|
-
NODE_OT_translate_attach: typing.Optional["translate_attach"] = None,
|
|
653
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
654
|
+
execution_context: typing.Union[str, int] = None,
|
|
655
|
+
undo: bool = None,
|
|
656
|
+
NODE_OT_duplicate: duplicate = None,
|
|
657
|
+
NODE_OT_translate_attach: translate_attach = None,
|
|
721
658
|
):
|
|
722
659
|
"""Duplicate selected nodes and move them
|
|
723
660
|
|
|
724
|
-
:type override_context: typing.
|
|
725
|
-
:type execution_context: typing.
|
|
726
|
-
:type undo:
|
|
661
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
662
|
+
:type execution_context: typing.Union[str, int]
|
|
663
|
+
:type undo: bool
|
|
727
664
|
:param NODE_OT_duplicate: Duplicate Nodes, Duplicate selected nodes
|
|
728
|
-
:type NODE_OT_duplicate:
|
|
665
|
+
:type NODE_OT_duplicate: duplicate
|
|
729
666
|
:param NODE_OT_translate_attach: Move and Attach, Move nodes and attach to frame
|
|
730
|
-
:type NODE_OT_translate_attach:
|
|
667
|
+
:type NODE_OT_translate_attach: translate_attach
|
|
731
668
|
"""
|
|
732
669
|
|
|
733
670
|
...
|
|
734
671
|
|
|
735
672
|
def duplicate_move_keep_inputs(
|
|
736
|
-
override_context: typing.
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
*,
|
|
742
|
-
NODE_OT_duplicate: typing.Optional["duplicate"] = None,
|
|
743
|
-
NODE_OT_translate_attach: typing.Optional["translate_attach"] = None,
|
|
673
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
674
|
+
execution_context: typing.Union[str, int] = None,
|
|
675
|
+
undo: bool = None,
|
|
676
|
+
NODE_OT_duplicate: duplicate = None,
|
|
677
|
+
NODE_OT_translate_attach: translate_attach = None,
|
|
744
678
|
):
|
|
745
679
|
"""Duplicate selected nodes keeping input links and move them
|
|
746
680
|
|
|
747
|
-
:type override_context: typing.
|
|
748
|
-
:type execution_context: typing.
|
|
749
|
-
:type undo:
|
|
681
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
682
|
+
:type execution_context: typing.Union[str, int]
|
|
683
|
+
:type undo: bool
|
|
750
684
|
:param NODE_OT_duplicate: Duplicate Nodes, Duplicate selected nodes
|
|
751
|
-
:type NODE_OT_duplicate:
|
|
685
|
+
:type NODE_OT_duplicate: duplicate
|
|
752
686
|
:param NODE_OT_translate_attach: Move and Attach, Move nodes and attach to frame
|
|
753
|
-
:type NODE_OT_translate_attach:
|
|
687
|
+
:type NODE_OT_translate_attach: translate_attach
|
|
754
688
|
"""
|
|
755
689
|
|
|
756
690
|
...
|
|
757
691
|
|
|
758
692
|
def duplicate_move_linked(
|
|
759
|
-
override_context: typing.
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
*,
|
|
765
|
-
NODE_OT_duplicate: typing.Optional["duplicate"] = None,
|
|
766
|
-
NODE_OT_translate_attach: typing.Optional["translate_attach"] = None,
|
|
693
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
694
|
+
execution_context: typing.Union[str, int] = None,
|
|
695
|
+
undo: bool = None,
|
|
696
|
+
NODE_OT_duplicate: duplicate = None,
|
|
697
|
+
NODE_OT_translate_attach: translate_attach = None,
|
|
767
698
|
):
|
|
768
699
|
"""Duplicate selected nodes, but not their node trees, and move them
|
|
769
700
|
|
|
770
|
-
:type override_context: typing.
|
|
771
|
-
:type execution_context: typing.
|
|
772
|
-
:type undo:
|
|
701
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
702
|
+
:type execution_context: typing.Union[str, int]
|
|
703
|
+
:type undo: bool
|
|
773
704
|
:param NODE_OT_duplicate: Duplicate Nodes, Duplicate selected nodes
|
|
774
|
-
:type NODE_OT_duplicate:
|
|
705
|
+
:type NODE_OT_duplicate: duplicate
|
|
775
706
|
:param NODE_OT_translate_attach: Move and Attach, Move nodes and attach to frame
|
|
776
|
-
:type NODE_OT_translate_attach:
|
|
707
|
+
:type NODE_OT_translate_attach: translate_attach
|
|
777
708
|
"""
|
|
778
709
|
|
|
779
710
|
...
|
|
780
711
|
|
|
781
712
|
def enum_definition_item_add(
|
|
782
|
-
override_context: typing.
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
786
|
-
undo: typing.Optional[bool] = None,
|
|
713
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
714
|
+
execution_context: typing.Union[str, int] = None,
|
|
715
|
+
undo: bool = None,
|
|
787
716
|
):
|
|
788
|
-
"""Add an enum item to the definition
|
|
717
|
+
"""Add an enum item to the definition
|
|
789
718
|
|
|
790
|
-
:type override_context: typing.
|
|
791
|
-
:type execution_context: typing.
|
|
792
|
-
:type undo:
|
|
719
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
720
|
+
:type execution_context: typing.Union[str, int]
|
|
721
|
+
:type undo: bool
|
|
793
722
|
"""
|
|
794
723
|
|
|
795
724
|
...
|
|
796
725
|
|
|
797
726
|
def enum_definition_item_move(
|
|
798
|
-
override_context: typing.
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
809
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
810
|
-
:type undo: typing.Optional[bool]
|
|
727
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
728
|
+
execution_context: typing.Union[str, int] = None,
|
|
729
|
+
undo: bool = None,
|
|
730
|
+
direction: typing.Any = "UP",
|
|
731
|
+
):
|
|
732
|
+
"""Remove the selected enum item from the definition
|
|
733
|
+
|
|
734
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
735
|
+
:type execution_context: typing.Union[str, int]
|
|
736
|
+
:type undo: bool
|
|
811
737
|
:param direction: Direction, Move up or down
|
|
812
|
-
:type direction: typing.
|
|
738
|
+
:type direction: typing.Any
|
|
813
739
|
"""
|
|
814
740
|
|
|
815
741
|
...
|
|
816
742
|
|
|
817
743
|
def enum_definition_item_remove(
|
|
818
|
-
override_context: typing.
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
822
|
-
undo: typing.Optional[bool] = None,
|
|
744
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
745
|
+
execution_context: typing.Union[str, int] = None,
|
|
746
|
+
undo: bool = None,
|
|
823
747
|
):
|
|
824
|
-
"""Remove the selected enum item from the definition
|
|
748
|
+
"""Remove the selected enum item from the definition
|
|
825
749
|
|
|
826
|
-
:type override_context: typing.
|
|
827
|
-
:type execution_context: typing.
|
|
828
|
-
:type undo:
|
|
750
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
751
|
+
:type execution_context: typing.Union[str, int]
|
|
752
|
+
:type undo: bool
|
|
829
753
|
"""
|
|
830
754
|
|
|
831
755
|
...
|
|
832
756
|
|
|
833
757
|
def find_node(
|
|
834
|
-
override_context: typing.
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
838
|
-
undo: typing.Optional[bool] = None,
|
|
758
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
759
|
+
execution_context: typing.Union[str, int] = None,
|
|
760
|
+
undo: bool = None,
|
|
839
761
|
):
|
|
840
762
|
"""Search for a node by name and focus and select it
|
|
841
763
|
|
|
842
|
-
:type override_context: typing.
|
|
843
|
-
:type execution_context: typing.
|
|
844
|
-
:type undo:
|
|
764
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
765
|
+
:type execution_context: typing.Union[str, int]
|
|
766
|
+
:type undo: bool
|
|
845
767
|
"""
|
|
846
768
|
|
|
847
769
|
...
|
|
848
770
|
|
|
849
771
|
def gltf_settings_node_operator(
|
|
850
|
-
override_context: typing.
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
854
|
-
undo: typing.Optional[bool] = None,
|
|
772
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
773
|
+
execution_context: typing.Union[str, int] = None,
|
|
774
|
+
undo: bool = None,
|
|
855
775
|
):
|
|
856
|
-
"""Add a node to the active tree for glTF export
|
|
776
|
+
"""Add a node to the active tree for glTF export
|
|
857
777
|
|
|
858
|
-
:type override_context: typing.
|
|
859
|
-
:type execution_context: typing.
|
|
860
|
-
:type undo:
|
|
778
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
779
|
+
:type execution_context: typing.Union[str, int]
|
|
780
|
+
:type undo: bool
|
|
861
781
|
"""
|
|
862
782
|
|
|
863
783
|
...
|
|
864
784
|
|
|
865
785
|
def group_edit(
|
|
866
|
-
override_context: typing.
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
undo: typing.Optional[bool] = None,
|
|
871
|
-
*,
|
|
872
|
-
exit: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
786
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
787
|
+
execution_context: typing.Union[str, int] = None,
|
|
788
|
+
undo: bool = None,
|
|
789
|
+
exit: typing.Union[bool, typing.Any] = False,
|
|
873
790
|
):
|
|
874
791
|
"""Edit node group
|
|
875
792
|
|
|
876
|
-
:type override_context: typing.
|
|
877
|
-
:type execution_context: typing.
|
|
878
|
-
:type undo:
|
|
793
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
794
|
+
:type execution_context: typing.Union[str, int]
|
|
795
|
+
:type undo: bool
|
|
879
796
|
:param exit: Exit
|
|
880
|
-
:type exit: typing.
|
|
797
|
+
:type exit: typing.Union[bool, typing.Any]
|
|
881
798
|
"""
|
|
882
799
|
|
|
883
800
|
...
|
|
884
801
|
|
|
885
802
|
def group_insert(
|
|
886
|
-
override_context: typing.
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
890
|
-
undo: typing.Optional[bool] = None,
|
|
803
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
804
|
+
execution_context: typing.Union[str, int] = None,
|
|
805
|
+
undo: bool = None,
|
|
891
806
|
):
|
|
892
807
|
"""Insert selected nodes into a node group
|
|
893
808
|
|
|
894
|
-
:type override_context: typing.
|
|
895
|
-
:type execution_context: typing.
|
|
896
|
-
:type undo:
|
|
809
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
810
|
+
:type execution_context: typing.Union[str, int]
|
|
811
|
+
:type undo: bool
|
|
897
812
|
"""
|
|
898
813
|
|
|
899
814
|
...
|
|
900
815
|
|
|
901
816
|
def group_make(
|
|
902
|
-
override_context: typing.
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
906
|
-
undo: typing.Optional[bool] = None,
|
|
817
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
818
|
+
execution_context: typing.Union[str, int] = None,
|
|
819
|
+
undo: bool = None,
|
|
907
820
|
):
|
|
908
821
|
"""Make group from selected nodes
|
|
909
822
|
|
|
910
|
-
:type override_context: typing.
|
|
911
|
-
:type execution_context: typing.
|
|
912
|
-
:type undo:
|
|
823
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
824
|
+
:type execution_context: typing.Union[str, int]
|
|
825
|
+
:type undo: bool
|
|
913
826
|
"""
|
|
914
827
|
|
|
915
828
|
...
|
|
916
829
|
|
|
917
830
|
def group_separate(
|
|
918
|
-
override_context: typing.
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
undo: typing.Optional[bool] = None,
|
|
923
|
-
*,
|
|
924
|
-
type: typing.Optional[typing.Any] = "COPY",
|
|
831
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
832
|
+
execution_context: typing.Union[str, int] = None,
|
|
833
|
+
undo: bool = None,
|
|
834
|
+
type: typing.Any = "COPY",
|
|
925
835
|
):
|
|
926
836
|
"""Separate selected nodes from the node group
|
|
927
837
|
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
838
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
839
|
+
:type execution_context: typing.Union[str, int]
|
|
840
|
+
:type undo: bool
|
|
841
|
+
:param type: Type
|
|
842
|
+
|
|
843
|
+
COPY
|
|
844
|
+
Copy -- Copy to parent node tree, keep group intact.
|
|
845
|
+
|
|
846
|
+
MOVE
|
|
847
|
+
Move -- Move to parent node tree, remove from group.
|
|
848
|
+
:type type: typing.Any
|
|
933
849
|
"""
|
|
934
850
|
|
|
935
851
|
...
|
|
936
852
|
|
|
937
853
|
def group_ungroup(
|
|
938
|
-
override_context: typing.
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
942
|
-
undo: typing.Optional[bool] = None,
|
|
854
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
855
|
+
execution_context: typing.Union[str, int] = None,
|
|
856
|
+
undo: bool = None,
|
|
943
857
|
):
|
|
944
858
|
"""Ungroup selected nodes
|
|
945
859
|
|
|
946
|
-
:type override_context: typing.
|
|
947
|
-
:type execution_context: typing.
|
|
948
|
-
:type undo:
|
|
860
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
861
|
+
:type execution_context: typing.Union[str, int]
|
|
862
|
+
:type undo: bool
|
|
949
863
|
"""
|
|
950
864
|
|
|
951
865
|
...
|
|
952
866
|
|
|
953
867
|
def hide_socket_toggle(
|
|
954
|
-
override_context: typing.
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
958
|
-
undo: typing.Optional[bool] = None,
|
|
868
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
869
|
+
execution_context: typing.Union[str, int] = None,
|
|
870
|
+
undo: bool = None,
|
|
959
871
|
):
|
|
960
872
|
"""Toggle unused node socket display
|
|
961
873
|
|
|
962
|
-
:type override_context: typing.
|
|
963
|
-
:type execution_context: typing.
|
|
964
|
-
:type undo:
|
|
874
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
875
|
+
:type execution_context: typing.Union[str, int]
|
|
876
|
+
:type undo: bool
|
|
965
877
|
"""
|
|
966
878
|
|
|
967
879
|
...
|
|
968
880
|
|
|
969
881
|
def hide_toggle(
|
|
970
|
-
override_context: typing.
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
974
|
-
undo: typing.Optional[bool] = None,
|
|
882
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
883
|
+
execution_context: typing.Union[str, int] = None,
|
|
884
|
+
undo: bool = None,
|
|
975
885
|
):
|
|
976
886
|
"""Toggle hiding of selected nodes
|
|
977
887
|
|
|
978
|
-
:type override_context: typing.
|
|
979
|
-
:type execution_context: typing.
|
|
980
|
-
:type undo:
|
|
888
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
889
|
+
:type execution_context: typing.Union[str, int]
|
|
890
|
+
:type undo: bool
|
|
981
891
|
"""
|
|
982
892
|
|
|
983
893
|
...
|
|
984
894
|
|
|
985
895
|
def index_switch_item_add(
|
|
986
|
-
override_context: typing.
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
990
|
-
undo: typing.Optional[bool] = None,
|
|
896
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
897
|
+
execution_context: typing.Union[str, int] = None,
|
|
898
|
+
undo: bool = None,
|
|
991
899
|
):
|
|
992
|
-
"""Add an item to the index switch
|
|
900
|
+
"""Add an item to the index switch
|
|
993
901
|
|
|
994
|
-
:type override_context: typing.
|
|
995
|
-
:type execution_context: typing.
|
|
996
|
-
:type undo:
|
|
902
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
903
|
+
:type execution_context: typing.Union[str, int]
|
|
904
|
+
:type undo: bool
|
|
997
905
|
"""
|
|
998
906
|
|
|
999
907
|
...
|
|
1000
908
|
|
|
1001
909
|
def index_switch_item_remove(
|
|
1002
|
-
override_context: typing.
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
1013
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1014
|
-
:type undo: typing.Optional[bool]
|
|
910
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
911
|
+
execution_context: typing.Union[str, int] = None,
|
|
912
|
+
undo: bool = None,
|
|
913
|
+
index: typing.Any = 0,
|
|
914
|
+
):
|
|
915
|
+
"""Remove an item from the index switch
|
|
916
|
+
|
|
917
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
918
|
+
:type execution_context: typing.Union[str, int]
|
|
919
|
+
:type undo: bool
|
|
1015
920
|
:param index: Index, Index of item to remove
|
|
1016
|
-
:type index: typing.
|
|
921
|
+
:type index: typing.Any
|
|
1017
922
|
"""
|
|
1018
923
|
|
|
1019
924
|
...
|
|
1020
925
|
|
|
1021
926
|
def insert_offset(
|
|
1022
|
-
override_context: typing.
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1026
|
-
undo: typing.Optional[bool] = None,
|
|
927
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
928
|
+
execution_context: typing.Union[str, int] = None,
|
|
929
|
+
undo: bool = None,
|
|
1027
930
|
):
|
|
1028
931
|
"""Automatically offset nodes on insertion
|
|
1029
932
|
|
|
1030
|
-
:type override_context: typing.
|
|
1031
|
-
:type execution_context: typing.
|
|
1032
|
-
:type undo:
|
|
933
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
934
|
+
:type execution_context: typing.Union[str, int]
|
|
935
|
+
:type undo: bool
|
|
1033
936
|
"""
|
|
1034
937
|
|
|
1035
938
|
...
|
|
1036
939
|
|
|
1037
940
|
def interface_item_duplicate(
|
|
1038
|
-
override_context: typing.
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1042
|
-
undo: typing.Optional[bool] = None,
|
|
941
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
942
|
+
execution_context: typing.Union[str, int] = None,
|
|
943
|
+
undo: bool = None,
|
|
1043
944
|
):
|
|
1044
|
-
"""Add a copy of the active item to the interface
|
|
945
|
+
"""Add a copy of the active item to the interface
|
|
1045
946
|
|
|
1046
|
-
:type override_context: typing.
|
|
1047
|
-
:type execution_context: typing.
|
|
1048
|
-
:type undo:
|
|
947
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
948
|
+
:type execution_context: typing.Union[str, int]
|
|
949
|
+
:type undo: bool
|
|
1049
950
|
"""
|
|
1050
951
|
|
|
1051
952
|
...
|
|
1052
953
|
|
|
1053
954
|
def interface_item_new(
|
|
1054
|
-
override_context: typing.
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
1065
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1066
|
-
:type undo: typing.Optional[bool]
|
|
955
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
956
|
+
execution_context: typing.Union[str, int] = None,
|
|
957
|
+
undo: bool = None,
|
|
958
|
+
item_type: typing.Any = "INPUT",
|
|
959
|
+
):
|
|
960
|
+
"""Add a new item to the interface
|
|
961
|
+
|
|
962
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
963
|
+
:type execution_context: typing.Union[str, int]
|
|
964
|
+
:type undo: bool
|
|
1067
965
|
:param item_type: Item Type, Type of the item to create
|
|
1068
|
-
:type item_type: typing.
|
|
966
|
+
:type item_type: typing.Any
|
|
1069
967
|
"""
|
|
1070
968
|
|
|
1071
969
|
...
|
|
1072
970
|
|
|
1073
971
|
def interface_item_remove(
|
|
1074
|
-
override_context: typing.
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1078
|
-
undo: typing.Optional[bool] = None,
|
|
972
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
973
|
+
execution_context: typing.Union[str, int] = None,
|
|
974
|
+
undo: bool = None,
|
|
1079
975
|
):
|
|
1080
|
-
"""Remove active item from the interface
|
|
976
|
+
"""Remove active item from the interface
|
|
1081
977
|
|
|
1082
|
-
:type override_context: typing.
|
|
1083
|
-
:type execution_context: typing.
|
|
1084
|
-
:type undo:
|
|
978
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
979
|
+
:type execution_context: typing.Union[str, int]
|
|
980
|
+
:type undo: bool
|
|
1085
981
|
"""
|
|
1086
982
|
|
|
1087
983
|
...
|
|
1088
984
|
|
|
1089
985
|
def join(
|
|
1090
|
-
override_context: typing.
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1094
|
-
undo: typing.Optional[bool] = None,
|
|
986
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
987
|
+
execution_context: typing.Union[str, int] = None,
|
|
988
|
+
undo: bool = None,
|
|
1095
989
|
):
|
|
1096
990
|
"""Attach selected nodes to a new common frame
|
|
1097
991
|
|
|
1098
|
-
:type override_context: typing.
|
|
1099
|
-
:type execution_context: typing.
|
|
1100
|
-
:type undo:
|
|
992
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
993
|
+
:type execution_context: typing.Union[str, int]
|
|
994
|
+
:type undo: bool
|
|
1101
995
|
"""
|
|
1102
996
|
|
|
1103
997
|
...
|
|
1104
998
|
|
|
1105
999
|
def link(
|
|
1106
|
-
override_context: typing.
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
max_speed: typing.Optional[typing.Any] = 26.0,
|
|
1118
|
-
delay: typing.Optional[typing.Any] = 0.5,
|
|
1119
|
-
zoom_influence: typing.Optional[typing.Any] = 0.5,
|
|
1000
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1001
|
+
execution_context: typing.Union[str, int] = None,
|
|
1002
|
+
undo: bool = None,
|
|
1003
|
+
detach: typing.Union[bool, typing.Any] = False,
|
|
1004
|
+
drag_start: typing.Any = (0.0, 0.0),
|
|
1005
|
+
inside_padding: typing.Any = 2.0,
|
|
1006
|
+
outside_padding: typing.Any = 0.0,
|
|
1007
|
+
speed_ramp: typing.Any = 1.0,
|
|
1008
|
+
max_speed: typing.Any = 26.0,
|
|
1009
|
+
delay: typing.Any = 0.5,
|
|
1010
|
+
zoom_influence: typing.Any = 0.5,
|
|
1120
1011
|
):
|
|
1121
1012
|
"""Use the mouse to create a link between two nodes
|
|
1122
1013
|
|
|
1123
|
-
:type override_context: typing.
|
|
1124
|
-
:type execution_context: typing.
|
|
1125
|
-
:type undo:
|
|
1014
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1015
|
+
:type execution_context: typing.Union[str, int]
|
|
1016
|
+
:type undo: bool
|
|
1126
1017
|
:param detach: Detach, Detach and redirect existing links
|
|
1127
|
-
:type detach: typing.
|
|
1018
|
+
:type detach: typing.Union[bool, typing.Any]
|
|
1128
1019
|
:param drag_start: Drag Start, The position of the mouse cursor at the start of the operation
|
|
1129
|
-
:type drag_start: typing.
|
|
1020
|
+
:type drag_start: typing.Any
|
|
1130
1021
|
:param inside_padding: Inside Padding, Inside distance in UI units from the edge of the region within which to start panning
|
|
1131
|
-
:type inside_padding: typing.
|
|
1022
|
+
:type inside_padding: typing.Any
|
|
1132
1023
|
:param outside_padding: Outside Padding, Outside distance in UI units from the edge of the region at which to stop panning
|
|
1133
|
-
:type outside_padding: typing.
|
|
1024
|
+
:type outside_padding: typing.Any
|
|
1134
1025
|
:param speed_ramp: Speed Ramp, Width of the zone in UI units where speed increases with distance from the edge
|
|
1135
|
-
:type speed_ramp: typing.
|
|
1026
|
+
:type speed_ramp: typing.Any
|
|
1136
1027
|
:param max_speed: Max Speed, Maximum speed in UI units per second
|
|
1137
|
-
:type max_speed: typing.
|
|
1028
|
+
:type max_speed: typing.Any
|
|
1138
1029
|
:param delay: Delay, Delay in seconds before maximum speed is reached
|
|
1139
|
-
:type delay: typing.
|
|
1030
|
+
:type delay: typing.Any
|
|
1140
1031
|
:param zoom_influence: Zoom Influence, Influence of the zoom factor on scroll speed
|
|
1141
|
-
:type zoom_influence: typing.
|
|
1032
|
+
:type zoom_influence: typing.Any
|
|
1142
1033
|
"""
|
|
1143
1034
|
|
|
1144
1035
|
...
|
|
1145
1036
|
|
|
1146
1037
|
def link_make(
|
|
1147
|
-
override_context: typing.
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
undo: typing.Optional[bool] = None,
|
|
1152
|
-
*,
|
|
1153
|
-
replace: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1038
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1039
|
+
execution_context: typing.Union[str, int] = None,
|
|
1040
|
+
undo: bool = None,
|
|
1041
|
+
replace: typing.Union[bool, typing.Any] = False,
|
|
1154
1042
|
):
|
|
1155
1043
|
"""Makes a link between selected output in input sockets
|
|
1156
1044
|
|
|
1157
|
-
:type override_context: typing.
|
|
1158
|
-
:type execution_context: typing.
|
|
1159
|
-
:type undo:
|
|
1045
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1046
|
+
:type execution_context: typing.Union[str, int]
|
|
1047
|
+
:type undo: bool
|
|
1160
1048
|
:param replace: Replace, Replace socket connections with the new links
|
|
1161
|
-
:type replace: typing.
|
|
1049
|
+
:type replace: typing.Union[bool, typing.Any]
|
|
1162
1050
|
"""
|
|
1163
1051
|
|
|
1164
1052
|
...
|
|
1165
1053
|
|
|
1166
1054
|
def link_viewer(
|
|
1167
|
-
override_context: typing.
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1171
|
-
undo: typing.Optional[bool] = None,
|
|
1055
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1056
|
+
execution_context: typing.Union[str, int] = None,
|
|
1057
|
+
undo: bool = None,
|
|
1172
1058
|
):
|
|
1173
1059
|
"""Link to viewer node
|
|
1174
1060
|
|
|
1175
|
-
:type override_context: typing.
|
|
1176
|
-
:type execution_context: typing.
|
|
1177
|
-
:type undo:
|
|
1061
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1062
|
+
:type execution_context: typing.Union[str, int]
|
|
1063
|
+
:type undo: bool
|
|
1178
1064
|
"""
|
|
1179
1065
|
|
|
1180
1066
|
...
|
|
1181
1067
|
|
|
1182
1068
|
def links_cut(
|
|
1183
|
-
override_context: typing.
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
*,
|
|
1189
|
-
path: typing.Optional[
|
|
1190
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
|
|
1191
|
-
] = None,
|
|
1192
|
-
cursor: typing.Optional[typing.Any] = 12,
|
|
1069
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1070
|
+
execution_context: typing.Union[str, int] = None,
|
|
1071
|
+
undo: bool = None,
|
|
1072
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
1073
|
+
cursor: typing.Any = 12,
|
|
1193
1074
|
):
|
|
1194
1075
|
"""Use the mouse to cut (remove) some links
|
|
1195
1076
|
|
|
1196
|
-
:type override_context: typing.
|
|
1197
|
-
:type execution_context: typing.
|
|
1198
|
-
:type undo:
|
|
1077
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1078
|
+
:type execution_context: typing.Union[str, int]
|
|
1079
|
+
:type undo: bool
|
|
1199
1080
|
:param path: Path
|
|
1200
|
-
:type path:
|
|
1081
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
1201
1082
|
:param cursor: Cursor
|
|
1202
|
-
:type cursor: typing.
|
|
1083
|
+
:type cursor: typing.Any
|
|
1203
1084
|
"""
|
|
1204
1085
|
|
|
1205
1086
|
...
|
|
1206
1087
|
|
|
1207
1088
|
def links_detach(
|
|
1208
|
-
override_context: typing.
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1212
|
-
undo: typing.Optional[bool] = None,
|
|
1089
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1090
|
+
execution_context: typing.Union[str, int] = None,
|
|
1091
|
+
undo: bool = None,
|
|
1213
1092
|
):
|
|
1214
1093
|
"""Remove all links to selected nodes, and try to connect neighbor nodes together
|
|
1215
1094
|
|
|
1216
|
-
:type override_context: typing.
|
|
1217
|
-
:type execution_context: typing.
|
|
1218
|
-
:type undo:
|
|
1095
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1096
|
+
:type execution_context: typing.Union[str, int]
|
|
1097
|
+
:type undo: bool
|
|
1219
1098
|
"""
|
|
1220
1099
|
|
|
1221
1100
|
...
|
|
1222
1101
|
|
|
1223
1102
|
def links_mute(
|
|
1224
|
-
override_context: typing.
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
*,
|
|
1230
|
-
path: typing.Optional[
|
|
1231
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
|
|
1232
|
-
] = None,
|
|
1233
|
-
cursor: typing.Optional[typing.Any] = 35,
|
|
1103
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1104
|
+
execution_context: typing.Union[str, int] = None,
|
|
1105
|
+
undo: bool = None,
|
|
1106
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
1107
|
+
cursor: typing.Any = 35,
|
|
1234
1108
|
):
|
|
1235
1109
|
"""Use the mouse to mute links
|
|
1236
1110
|
|
|
1237
|
-
:type override_context: typing.
|
|
1238
|
-
:type execution_context: typing.
|
|
1239
|
-
:type undo:
|
|
1111
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1112
|
+
:type execution_context: typing.Union[str, int]
|
|
1113
|
+
:type undo: bool
|
|
1240
1114
|
:param path: Path
|
|
1241
|
-
:type path:
|
|
1115
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
1242
1116
|
:param cursor: Cursor
|
|
1243
|
-
:type cursor: typing.
|
|
1117
|
+
:type cursor: typing.Any
|
|
1244
1118
|
"""
|
|
1245
1119
|
|
|
1246
1120
|
...
|
|
1247
1121
|
|
|
1248
1122
|
def move_detach_links(
|
|
1249
|
-
override_context: typing.
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
*,
|
|
1255
|
-
NODE_OT_links_detach: typing.Optional["links_detach"] = None,
|
|
1256
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
1123
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1124
|
+
execution_context: typing.Union[str, int] = None,
|
|
1125
|
+
undo: bool = None,
|
|
1126
|
+
NODE_OT_links_detach: links_detach = None,
|
|
1127
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
1257
1128
|
):
|
|
1258
1129
|
"""Move a node to detach links
|
|
1259
1130
|
|
|
1260
|
-
:type override_context: typing.
|
|
1261
|
-
:type execution_context: typing.
|
|
1262
|
-
:type undo:
|
|
1131
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1132
|
+
:type execution_context: typing.Union[str, int]
|
|
1133
|
+
:type undo: bool
|
|
1263
1134
|
:param NODE_OT_links_detach: Detach Links, Remove all links to selected nodes, and try to connect neighbor nodes together
|
|
1264
|
-
:type NODE_OT_links_detach:
|
|
1135
|
+
:type NODE_OT_links_detach: links_detach
|
|
1265
1136
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
1266
|
-
:type TRANSFORM_OT_translate:
|
|
1137
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
1267
1138
|
"""
|
|
1268
1139
|
|
|
1269
1140
|
...
|
|
1270
1141
|
|
|
1271
1142
|
def move_detach_links_release(
|
|
1272
|
-
override_context: typing.
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
*,
|
|
1278
|
-
NODE_OT_links_detach: typing.Optional["links_detach"] = None,
|
|
1279
|
-
NODE_OT_translate_attach: typing.Optional["translate_attach"] = None,
|
|
1143
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1144
|
+
execution_context: typing.Union[str, int] = None,
|
|
1145
|
+
undo: bool = None,
|
|
1146
|
+
NODE_OT_links_detach: links_detach = None,
|
|
1147
|
+
NODE_OT_translate_attach: translate_attach = None,
|
|
1280
1148
|
):
|
|
1281
1149
|
"""Move a node to detach links
|
|
1282
1150
|
|
|
1283
|
-
:type override_context: typing.
|
|
1284
|
-
:type execution_context: typing.
|
|
1285
|
-
:type undo:
|
|
1151
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1152
|
+
:type execution_context: typing.Union[str, int]
|
|
1153
|
+
:type undo: bool
|
|
1286
1154
|
:param NODE_OT_links_detach: Detach Links, Remove all links to selected nodes, and try to connect neighbor nodes together
|
|
1287
|
-
:type NODE_OT_links_detach:
|
|
1155
|
+
:type NODE_OT_links_detach: links_detach
|
|
1288
1156
|
:param NODE_OT_translate_attach: Move and Attach, Move nodes and attach to frame
|
|
1289
|
-
:type NODE_OT_translate_attach:
|
|
1157
|
+
:type NODE_OT_translate_attach: translate_attach
|
|
1290
1158
|
"""
|
|
1291
1159
|
|
|
1292
1160
|
...
|
|
1293
1161
|
|
|
1294
1162
|
def mute_toggle(
|
|
1295
|
-
override_context: typing.
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1299
|
-
undo: typing.Optional[bool] = None,
|
|
1163
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1164
|
+
execution_context: typing.Union[str, int] = None,
|
|
1165
|
+
undo: bool = None,
|
|
1300
1166
|
):
|
|
1301
1167
|
"""Toggle muting of selected nodes
|
|
1302
1168
|
|
|
1303
|
-
:type override_context: typing.
|
|
1304
|
-
:type execution_context: typing.
|
|
1305
|
-
:type undo:
|
|
1169
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1170
|
+
:type execution_context: typing.Union[str, int]
|
|
1171
|
+
:type undo: bool
|
|
1306
1172
|
"""
|
|
1307
1173
|
|
|
1308
1174
|
...
|
|
1309
1175
|
|
|
1310
1176
|
def new_geometry_node_group_assign(
|
|
1311
|
-
override_context: typing.
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1315
|
-
undo: typing.Optional[bool] = None,
|
|
1177
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1178
|
+
execution_context: typing.Union[str, int] = None,
|
|
1179
|
+
undo: bool = None,
|
|
1316
1180
|
):
|
|
1317
|
-
"""Create a new geometry node group and assign it to the active modifier
|
|
1181
|
+
"""Create a new geometry node group and assign it to the active modifier
|
|
1318
1182
|
|
|
1319
|
-
:type override_context: typing.
|
|
1320
|
-
:type execution_context: typing.
|
|
1321
|
-
:type undo:
|
|
1183
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1184
|
+
:type execution_context: typing.Union[str, int]
|
|
1185
|
+
:type undo: bool
|
|
1322
1186
|
"""
|
|
1323
1187
|
|
|
1324
1188
|
...
|
|
1325
1189
|
|
|
1326
1190
|
def new_geometry_node_group_tool(
|
|
1327
|
-
override_context: typing.
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1331
|
-
undo: typing.Optional[bool] = None,
|
|
1191
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1192
|
+
execution_context: typing.Union[str, int] = None,
|
|
1193
|
+
undo: bool = None,
|
|
1332
1194
|
):
|
|
1333
|
-
"""Create a new geometry node group for a tool
|
|
1195
|
+
"""Create a new geometry node group for a tool
|
|
1334
1196
|
|
|
1335
|
-
:type override_context: typing.
|
|
1336
|
-
:type execution_context: typing.
|
|
1337
|
-
:type undo:
|
|
1197
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1198
|
+
:type execution_context: typing.Union[str, int]
|
|
1199
|
+
:type undo: bool
|
|
1338
1200
|
"""
|
|
1339
1201
|
|
|
1340
1202
|
...
|
|
1341
1203
|
|
|
1342
1204
|
def new_geometry_nodes_modifier(
|
|
1343
|
-
override_context: typing.
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1347
|
-
undo: typing.Optional[bool] = None,
|
|
1205
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1206
|
+
execution_context: typing.Union[str, int] = None,
|
|
1207
|
+
undo: bool = None,
|
|
1348
1208
|
):
|
|
1349
|
-
"""Create a new modifier with a new geometry node group
|
|
1209
|
+
"""Create a new modifier with a new geometry node group
|
|
1350
1210
|
|
|
1351
|
-
:type override_context: typing.
|
|
1352
|
-
:type execution_context: typing.
|
|
1353
|
-
:type undo:
|
|
1211
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1212
|
+
:type execution_context: typing.Union[str, int]
|
|
1213
|
+
:type undo: bool
|
|
1354
1214
|
"""
|
|
1355
1215
|
|
|
1356
1216
|
...
|
|
1357
1217
|
|
|
1358
1218
|
def new_node_tree(
|
|
1359
|
-
override_context: typing.
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
undo: typing.Optional[bool] = None,
|
|
1364
|
-
*,
|
|
1365
|
-
type: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
1219
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1220
|
+
execution_context: typing.Union[str, int] = None,
|
|
1221
|
+
undo: bool = None,
|
|
1222
|
+
type: typing.Union[str, int, typing.Any] = "",
|
|
1366
1223
|
name: typing.Union[str, typing.Any] = "NodeTree",
|
|
1367
1224
|
):
|
|
1368
1225
|
"""Create a new node tree
|
|
1369
1226
|
|
|
1370
|
-
:type override_context: typing.
|
|
1371
|
-
:type execution_context: typing.
|
|
1372
|
-
:type undo:
|
|
1227
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1228
|
+
:type execution_context: typing.Union[str, int]
|
|
1229
|
+
:type undo: bool
|
|
1373
1230
|
:param type: Tree Type
|
|
1374
|
-
:type type: typing.
|
|
1231
|
+
:type type: typing.Union[str, int, typing.Any]
|
|
1375
1232
|
:param name: Name
|
|
1376
1233
|
:type name: typing.Union[str, typing.Any]
|
|
1377
1234
|
"""
|
|
@@ -1379,77 +1236,67 @@ def new_node_tree(
|
|
|
1379
1236
|
...
|
|
1380
1237
|
|
|
1381
1238
|
def node_color_preset_add(
|
|
1382
|
-
override_context: typing.
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1386
|
-
undo: typing.Optional[bool] = None,
|
|
1387
|
-
*,
|
|
1239
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1240
|
+
execution_context: typing.Union[str, int] = None,
|
|
1241
|
+
undo: bool = None,
|
|
1388
1242
|
name: typing.Union[str, typing.Any] = "",
|
|
1389
|
-
remove_name: typing.
|
|
1390
|
-
remove_active: typing.
|
|
1243
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
1244
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
1391
1245
|
):
|
|
1392
|
-
"""Add or remove a Node Color Preset
|
|
1246
|
+
"""Add or remove a Node Color Preset
|
|
1393
1247
|
|
|
1394
|
-
:type override_context: typing.
|
|
1395
|
-
:type execution_context: typing.
|
|
1396
|
-
:type undo:
|
|
1248
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1249
|
+
:type execution_context: typing.Union[str, int]
|
|
1250
|
+
:type undo: bool
|
|
1397
1251
|
:param name: Name, Name of the preset, used to make the path name
|
|
1398
1252
|
:type name: typing.Union[str, typing.Any]
|
|
1399
1253
|
:param remove_name: remove_name
|
|
1400
|
-
:type remove_name: typing.
|
|
1254
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
1401
1255
|
:param remove_active: remove_active
|
|
1402
|
-
:type remove_active: typing.
|
|
1256
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
1403
1257
|
"""
|
|
1404
1258
|
|
|
1405
1259
|
...
|
|
1406
1260
|
|
|
1407
1261
|
def node_copy_color(
|
|
1408
|
-
override_context: typing.
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1412
|
-
undo: typing.Optional[bool] = None,
|
|
1262
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1263
|
+
execution_context: typing.Union[str, int] = None,
|
|
1264
|
+
undo: bool = None,
|
|
1413
1265
|
):
|
|
1414
1266
|
"""Copy color to all selected nodes
|
|
1415
1267
|
|
|
1416
|
-
:type override_context: typing.
|
|
1417
|
-
:type execution_context: typing.
|
|
1418
|
-
:type undo:
|
|
1268
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1269
|
+
:type execution_context: typing.Union[str, int]
|
|
1270
|
+
:type undo: bool
|
|
1419
1271
|
"""
|
|
1420
1272
|
|
|
1421
1273
|
...
|
|
1422
1274
|
|
|
1423
1275
|
def options_toggle(
|
|
1424
|
-
override_context: typing.
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1428
|
-
undo: typing.Optional[bool] = None,
|
|
1276
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1277
|
+
execution_context: typing.Union[str, int] = None,
|
|
1278
|
+
undo: bool = None,
|
|
1429
1279
|
):
|
|
1430
1280
|
"""Toggle option buttons display for selected nodes
|
|
1431
1281
|
|
|
1432
|
-
:type override_context: typing.
|
|
1433
|
-
:type execution_context: typing.
|
|
1434
|
-
:type undo:
|
|
1282
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1283
|
+
:type execution_context: typing.Union[str, int]
|
|
1284
|
+
:type undo: bool
|
|
1435
1285
|
"""
|
|
1436
1286
|
|
|
1437
1287
|
...
|
|
1438
1288
|
|
|
1439
1289
|
def output_file_add_socket(
|
|
1440
|
-
override_context: typing.
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1444
|
-
undo: typing.Optional[bool] = None,
|
|
1445
|
-
*,
|
|
1290
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1291
|
+
execution_context: typing.Union[str, int] = None,
|
|
1292
|
+
undo: bool = None,
|
|
1446
1293
|
file_path: typing.Union[str, typing.Any] = "Image",
|
|
1447
1294
|
):
|
|
1448
1295
|
"""Add a new input to a file output node
|
|
1449
1296
|
|
|
1450
|
-
:type override_context: typing.
|
|
1451
|
-
:type execution_context: typing.
|
|
1452
|
-
:type undo:
|
|
1297
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1298
|
+
:type execution_context: typing.Union[str, int]
|
|
1299
|
+
:type undo: bool
|
|
1453
1300
|
:param file_path: File Path, Subpath of the output file
|
|
1454
1301
|
:type file_path: typing.Union[str, typing.Any]
|
|
1455
1302
|
"""
|
|
@@ -1457,636 +1304,597 @@ def output_file_add_socket(
|
|
|
1457
1304
|
...
|
|
1458
1305
|
|
|
1459
1306
|
def output_file_move_active_socket(
|
|
1460
|
-
override_context: typing.
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
undo: typing.Optional[bool] = None,
|
|
1465
|
-
*,
|
|
1466
|
-
direction: typing.Optional[typing.Any] = "DOWN",
|
|
1307
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1308
|
+
execution_context: typing.Union[str, int] = None,
|
|
1309
|
+
undo: bool = None,
|
|
1310
|
+
direction: typing.Any = "DOWN",
|
|
1467
1311
|
):
|
|
1468
1312
|
"""Move the active input of a file output node up or down the list
|
|
1469
1313
|
|
|
1470
|
-
:type override_context: typing.
|
|
1471
|
-
:type execution_context: typing.
|
|
1472
|
-
:type undo:
|
|
1314
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1315
|
+
:type execution_context: typing.Union[str, int]
|
|
1316
|
+
:type undo: bool
|
|
1473
1317
|
:param direction: Direction
|
|
1474
|
-
:type direction: typing.
|
|
1318
|
+
:type direction: typing.Any
|
|
1475
1319
|
"""
|
|
1476
1320
|
|
|
1477
1321
|
...
|
|
1478
1322
|
|
|
1479
1323
|
def output_file_remove_active_socket(
|
|
1480
|
-
override_context: typing.
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1484
|
-
undo: typing.Optional[bool] = None,
|
|
1324
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1325
|
+
execution_context: typing.Union[str, int] = None,
|
|
1326
|
+
undo: bool = None,
|
|
1485
1327
|
):
|
|
1486
1328
|
"""Remove the active input from a file output node
|
|
1487
1329
|
|
|
1488
|
-
:type override_context: typing.
|
|
1489
|
-
:type execution_context: typing.
|
|
1490
|
-
:type undo:
|
|
1330
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1331
|
+
:type execution_context: typing.Union[str, int]
|
|
1332
|
+
:type undo: bool
|
|
1491
1333
|
"""
|
|
1492
1334
|
|
|
1493
1335
|
...
|
|
1494
1336
|
|
|
1495
1337
|
def parent_set(
|
|
1496
|
-
override_context: typing.
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1500
|
-
undo: typing.Optional[bool] = None,
|
|
1338
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1339
|
+
execution_context: typing.Union[str, int] = None,
|
|
1340
|
+
undo: bool = None,
|
|
1501
1341
|
):
|
|
1502
1342
|
"""Attach selected nodes
|
|
1503
1343
|
|
|
1504
|
-
:type override_context: typing.
|
|
1505
|
-
:type execution_context: typing.
|
|
1506
|
-
:type undo:
|
|
1344
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1345
|
+
:type execution_context: typing.Union[str, int]
|
|
1346
|
+
:type undo: bool
|
|
1507
1347
|
"""
|
|
1508
1348
|
|
|
1509
1349
|
...
|
|
1510
1350
|
|
|
1511
1351
|
def preview_toggle(
|
|
1512
|
-
override_context: typing.
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1516
|
-
undo: typing.Optional[bool] = None,
|
|
1352
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1353
|
+
execution_context: typing.Union[str, int] = None,
|
|
1354
|
+
undo: bool = None,
|
|
1517
1355
|
):
|
|
1518
1356
|
"""Toggle preview display for selected nodes
|
|
1519
1357
|
|
|
1520
|
-
:type override_context: typing.
|
|
1521
|
-
:type execution_context: typing.
|
|
1522
|
-
:type undo:
|
|
1358
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1359
|
+
:type execution_context: typing.Union[str, int]
|
|
1360
|
+
:type undo: bool
|
|
1523
1361
|
"""
|
|
1524
1362
|
|
|
1525
1363
|
...
|
|
1526
1364
|
|
|
1527
1365
|
def read_viewlayers(
|
|
1528
|
-
override_context: typing.
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1532
|
-
undo: typing.Optional[bool] = None,
|
|
1366
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1367
|
+
execution_context: typing.Union[str, int] = None,
|
|
1368
|
+
undo: bool = None,
|
|
1533
1369
|
):
|
|
1534
1370
|
"""Read all render layers of all used scenes
|
|
1535
1371
|
|
|
1536
|
-
:type override_context: typing.
|
|
1537
|
-
:type execution_context: typing.
|
|
1538
|
-
:type undo:
|
|
1372
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1373
|
+
:type execution_context: typing.Union[str, int]
|
|
1374
|
+
:type undo: bool
|
|
1539
1375
|
"""
|
|
1540
1376
|
|
|
1541
1377
|
...
|
|
1542
1378
|
|
|
1543
1379
|
def render_changed(
|
|
1544
|
-
override_context: typing.
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1548
|
-
undo: typing.Optional[bool] = None,
|
|
1380
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1381
|
+
execution_context: typing.Union[str, int] = None,
|
|
1382
|
+
undo: bool = None,
|
|
1549
1383
|
):
|
|
1550
1384
|
"""Render current scene, when input node's layer has been changed
|
|
1551
1385
|
|
|
1552
|
-
:type override_context: typing.
|
|
1553
|
-
:type execution_context: typing.
|
|
1554
|
-
:type undo:
|
|
1386
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1387
|
+
:type execution_context: typing.Union[str, int]
|
|
1388
|
+
:type undo: bool
|
|
1555
1389
|
"""
|
|
1556
1390
|
|
|
1557
1391
|
...
|
|
1558
1392
|
|
|
1559
1393
|
def repeat_zone_item_add(
|
|
1560
|
-
override_context: typing.
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1564
|
-
undo: typing.Optional[bool] = None,
|
|
1394
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1395
|
+
execution_context: typing.Union[str, int] = None,
|
|
1396
|
+
undo: bool = None,
|
|
1565
1397
|
):
|
|
1566
|
-
"""Add a repeat item to the repeat zone
|
|
1398
|
+
"""Add a repeat item to the repeat zone
|
|
1567
1399
|
|
|
1568
|
-
:type override_context: typing.
|
|
1569
|
-
:type execution_context: typing.
|
|
1570
|
-
:type undo:
|
|
1400
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1401
|
+
:type execution_context: typing.Union[str, int]
|
|
1402
|
+
:type undo: bool
|
|
1571
1403
|
"""
|
|
1572
1404
|
|
|
1573
1405
|
...
|
|
1574
1406
|
|
|
1575
1407
|
def repeat_zone_item_move(
|
|
1576
|
-
override_context: typing.
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
1587
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1588
|
-
:type undo: typing.Optional[bool]
|
|
1408
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1409
|
+
execution_context: typing.Union[str, int] = None,
|
|
1410
|
+
undo: bool = None,
|
|
1411
|
+
direction: typing.Any = "UP",
|
|
1412
|
+
):
|
|
1413
|
+
"""Move a repeat item up or down in the list
|
|
1414
|
+
|
|
1415
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1416
|
+
:type execution_context: typing.Union[str, int]
|
|
1417
|
+
:type undo: bool
|
|
1589
1418
|
:param direction: Direction
|
|
1590
|
-
:type direction: typing.
|
|
1419
|
+
:type direction: typing.Any
|
|
1591
1420
|
"""
|
|
1592
1421
|
|
|
1593
1422
|
...
|
|
1594
1423
|
|
|
1595
1424
|
def repeat_zone_item_remove(
|
|
1596
|
-
override_context: typing.
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1600
|
-
undo: typing.Optional[bool] = None,
|
|
1425
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1426
|
+
execution_context: typing.Union[str, int] = None,
|
|
1427
|
+
undo: bool = None,
|
|
1601
1428
|
):
|
|
1602
|
-
"""Remove a repeat item from the repeat zone
|
|
1429
|
+
"""Remove a repeat item from the repeat zone
|
|
1603
1430
|
|
|
1604
|
-
:type override_context: typing.
|
|
1605
|
-
:type execution_context: typing.
|
|
1606
|
-
:type undo:
|
|
1431
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1432
|
+
:type execution_context: typing.Union[str, int]
|
|
1433
|
+
:type undo: bool
|
|
1607
1434
|
"""
|
|
1608
1435
|
|
|
1609
1436
|
...
|
|
1610
1437
|
|
|
1611
1438
|
def resize(
|
|
1612
|
-
override_context: typing.
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1616
|
-
undo: typing.Optional[bool] = None,
|
|
1439
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1440
|
+
execution_context: typing.Union[str, int] = None,
|
|
1441
|
+
undo: bool = None,
|
|
1617
1442
|
):
|
|
1618
1443
|
"""Resize a node
|
|
1619
1444
|
|
|
1620
|
-
:type override_context: typing.
|
|
1621
|
-
:type execution_context: typing.
|
|
1622
|
-
:type undo:
|
|
1445
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1446
|
+
:type execution_context: typing.Union[str, int]
|
|
1447
|
+
:type undo: bool
|
|
1623
1448
|
"""
|
|
1624
1449
|
|
|
1625
1450
|
...
|
|
1626
1451
|
|
|
1627
1452
|
def select(
|
|
1628
|
-
override_context: typing.
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
location: typing.Optional[typing.Any] = (0, 0),
|
|
1640
|
-
socket_select: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1641
|
-
clear_viewer: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1453
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1454
|
+
execution_context: typing.Union[str, int] = None,
|
|
1455
|
+
undo: bool = None,
|
|
1456
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
1457
|
+
deselect: typing.Union[bool, typing.Any] = False,
|
|
1458
|
+
toggle: typing.Union[bool, typing.Any] = False,
|
|
1459
|
+
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
1460
|
+
select_passthrough: typing.Union[bool, typing.Any] = False,
|
|
1461
|
+
location: typing.Any = (0, 0),
|
|
1462
|
+
socket_select: typing.Union[bool, typing.Any] = False,
|
|
1463
|
+
clear_viewer: typing.Union[bool, typing.Any] = False,
|
|
1642
1464
|
):
|
|
1643
1465
|
"""Select the node under the cursor
|
|
1644
1466
|
|
|
1645
|
-
:type override_context: typing.
|
|
1646
|
-
:type execution_context: typing.
|
|
1647
|
-
:type undo:
|
|
1467
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1468
|
+
:type execution_context: typing.Union[str, int]
|
|
1469
|
+
:type undo: bool
|
|
1648
1470
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
1649
|
-
:type extend: typing.
|
|
1471
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
1650
1472
|
:param deselect: Deselect, Remove from selection
|
|
1651
|
-
:type deselect: typing.
|
|
1473
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
1652
1474
|
:param toggle: Toggle Selection, Toggle the selection
|
|
1653
|
-
:type toggle: typing.
|
|
1475
|
+
:type toggle: typing.Union[bool, typing.Any]
|
|
1654
1476
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
1655
|
-
:type deselect_all: typing.
|
|
1477
|
+
:type deselect_all: typing.Union[bool, typing.Any]
|
|
1656
1478
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
1657
|
-
:type select_passthrough: typing.
|
|
1479
|
+
:type select_passthrough: typing.Union[bool, typing.Any]
|
|
1658
1480
|
:param location: Location, Mouse location
|
|
1659
|
-
:type location: typing.
|
|
1481
|
+
:type location: typing.Any
|
|
1660
1482
|
:param socket_select: Socket Select
|
|
1661
|
-
:type socket_select: typing.
|
|
1483
|
+
:type socket_select: typing.Union[bool, typing.Any]
|
|
1662
1484
|
:param clear_viewer: Clear Viewer, Deactivate geometry nodes viewer when clicking in empty space
|
|
1663
|
-
:type clear_viewer: typing.
|
|
1485
|
+
:type clear_viewer: typing.Union[bool, typing.Any]
|
|
1664
1486
|
"""
|
|
1665
1487
|
|
|
1666
1488
|
...
|
|
1667
1489
|
|
|
1668
1490
|
def select_all(
|
|
1669
|
-
override_context: typing.
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
undo: typing.Optional[bool] = None,
|
|
1674
|
-
*,
|
|
1675
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
1491
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1492
|
+
execution_context: typing.Union[str, int] = None,
|
|
1493
|
+
undo: bool = None,
|
|
1494
|
+
action: typing.Any = "TOGGLE",
|
|
1676
1495
|
):
|
|
1677
1496
|
"""(De)select all nodes
|
|
1678
1497
|
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1498
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1499
|
+
:type execution_context: typing.Union[str, int]
|
|
1500
|
+
:type undo: bool
|
|
1501
|
+
:param action: Action, Selection action to execute
|
|
1502
|
+
|
|
1503
|
+
TOGGLE
|
|
1504
|
+
Toggle -- Toggle selection for all elements.
|
|
1505
|
+
|
|
1506
|
+
SELECT
|
|
1507
|
+
Select -- Select all elements.
|
|
1508
|
+
|
|
1509
|
+
DESELECT
|
|
1510
|
+
Deselect -- Deselect all elements.
|
|
1511
|
+
|
|
1512
|
+
INVERT
|
|
1513
|
+
Invert -- Invert selection of all elements.
|
|
1514
|
+
:type action: typing.Any
|
|
1684
1515
|
"""
|
|
1685
1516
|
|
|
1686
1517
|
...
|
|
1687
1518
|
|
|
1688
1519
|
def select_box(
|
|
1689
|
-
override_context: typing.
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
1700
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1701
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
1520
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1521
|
+
execution_context: typing.Union[str, int] = None,
|
|
1522
|
+
undo: bool = None,
|
|
1523
|
+
tweak: typing.Union[bool, typing.Any] = False,
|
|
1524
|
+
xmin: typing.Any = 0,
|
|
1525
|
+
xmax: typing.Any = 0,
|
|
1526
|
+
ymin: typing.Any = 0,
|
|
1527
|
+
ymax: typing.Any = 0,
|
|
1528
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
1529
|
+
mode: typing.Any = "SET",
|
|
1702
1530
|
):
|
|
1703
1531
|
"""Use box selection to select nodes
|
|
1704
1532
|
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1533
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1534
|
+
:type execution_context: typing.Union[str, int]
|
|
1535
|
+
:type undo: bool
|
|
1536
|
+
:param tweak: Tweak, Only activate when mouse is not over a node (useful for tweak gesture)
|
|
1537
|
+
:type tweak: typing.Union[bool, typing.Any]
|
|
1538
|
+
:param xmin: X Min
|
|
1539
|
+
:type xmin: typing.Any
|
|
1540
|
+
:param xmax: X Max
|
|
1541
|
+
:type xmax: typing.Any
|
|
1542
|
+
:param ymin: Y Min
|
|
1543
|
+
:type ymin: typing.Any
|
|
1544
|
+
:param ymax: Y Max
|
|
1545
|
+
:type ymax: typing.Any
|
|
1546
|
+
:param wait_for_input: Wait for Input
|
|
1547
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
1548
|
+
:param mode: Mode
|
|
1549
|
+
|
|
1550
|
+
SET
|
|
1551
|
+
Set -- Set a new selection.
|
|
1552
|
+
|
|
1553
|
+
ADD
|
|
1554
|
+
Extend -- Extend existing selection.
|
|
1555
|
+
|
|
1556
|
+
SUB
|
|
1557
|
+
Subtract -- Subtract existing selection.
|
|
1558
|
+
:type mode: typing.Any
|
|
1722
1559
|
"""
|
|
1723
1560
|
|
|
1724
1561
|
...
|
|
1725
1562
|
|
|
1726
1563
|
def select_circle(
|
|
1727
|
-
override_context: typing.
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
radius: typing.Optional[typing.Any] = 25,
|
|
1736
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1737
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
1564
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1565
|
+
execution_context: typing.Union[str, int] = None,
|
|
1566
|
+
undo: bool = None,
|
|
1567
|
+
x: typing.Any = 0,
|
|
1568
|
+
y: typing.Any = 0,
|
|
1569
|
+
radius: typing.Any = 25,
|
|
1570
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
1571
|
+
mode: typing.Any = "SET",
|
|
1738
1572
|
):
|
|
1739
1573
|
"""Use circle selection to select nodes
|
|
1740
1574
|
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1575
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1576
|
+
:type execution_context: typing.Union[str, int]
|
|
1577
|
+
:type undo: bool
|
|
1578
|
+
:param x: X
|
|
1579
|
+
:type x: typing.Any
|
|
1580
|
+
:param y: Y
|
|
1581
|
+
:type y: typing.Any
|
|
1582
|
+
:param radius: Radius
|
|
1583
|
+
:type radius: typing.Any
|
|
1584
|
+
:param wait_for_input: Wait for Input
|
|
1585
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
1586
|
+
:param mode: Mode
|
|
1587
|
+
|
|
1588
|
+
SET
|
|
1589
|
+
Set -- Set a new selection.
|
|
1590
|
+
|
|
1591
|
+
ADD
|
|
1592
|
+
Extend -- Extend existing selection.
|
|
1593
|
+
|
|
1594
|
+
SUB
|
|
1595
|
+
Subtract -- Subtract existing selection.
|
|
1596
|
+
:type mode: typing.Any
|
|
1754
1597
|
"""
|
|
1755
1598
|
|
|
1756
1599
|
...
|
|
1757
1600
|
|
|
1758
1601
|
def select_grouped(
|
|
1759
|
-
override_context: typing.
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
*,
|
|
1765
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1766
|
-
type: typing.Optional[typing.Any] = "TYPE",
|
|
1602
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1603
|
+
execution_context: typing.Union[str, int] = None,
|
|
1604
|
+
undo: bool = None,
|
|
1605
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
1606
|
+
type: typing.Any = "TYPE",
|
|
1767
1607
|
):
|
|
1768
1608
|
"""Select nodes with similar properties
|
|
1769
1609
|
|
|
1770
|
-
:type override_context: typing.
|
|
1771
|
-
:type execution_context: typing.
|
|
1772
|
-
:type undo:
|
|
1610
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1611
|
+
:type execution_context: typing.Union[str, int]
|
|
1612
|
+
:type undo: bool
|
|
1773
1613
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
1774
|
-
:type extend: typing.
|
|
1614
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
1775
1615
|
:param type: Type
|
|
1776
|
-
:type type: typing.
|
|
1616
|
+
:type type: typing.Any
|
|
1777
1617
|
"""
|
|
1778
1618
|
|
|
1779
1619
|
...
|
|
1780
1620
|
|
|
1781
1621
|
def select_lasso(
|
|
1782
|
-
override_context: typing.
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
tweak: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1789
|
-
path: typing.Optional[
|
|
1790
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
|
|
1791
|
-
] = None,
|
|
1792
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
1622
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1623
|
+
execution_context: typing.Union[str, int] = None,
|
|
1624
|
+
undo: bool = None,
|
|
1625
|
+
tweak: typing.Union[bool, typing.Any] = False,
|
|
1626
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
1627
|
+
mode: typing.Any = "SET",
|
|
1793
1628
|
):
|
|
1794
1629
|
"""Select nodes using lasso selection
|
|
1795
1630
|
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1631
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1632
|
+
:type execution_context: typing.Union[str, int]
|
|
1633
|
+
:type undo: bool
|
|
1634
|
+
:param tweak: Tweak, Only activate when mouse is not over a node (useful for tweak gesture)
|
|
1635
|
+
:type tweak: typing.Union[bool, typing.Any]
|
|
1636
|
+
:param path: Path
|
|
1637
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
1638
|
+
:param mode: Mode
|
|
1639
|
+
|
|
1640
|
+
SET
|
|
1641
|
+
Set -- Set a new selection.
|
|
1642
|
+
|
|
1643
|
+
ADD
|
|
1644
|
+
Extend -- Extend existing selection.
|
|
1645
|
+
|
|
1646
|
+
SUB
|
|
1647
|
+
Subtract -- Subtract existing selection.
|
|
1648
|
+
:type mode: typing.Any
|
|
1805
1649
|
"""
|
|
1806
1650
|
|
|
1807
1651
|
...
|
|
1808
1652
|
|
|
1809
1653
|
def select_link_viewer(
|
|
1810
|
-
override_context: typing.
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
*,
|
|
1816
|
-
NODE_OT_select: typing.Optional["select"] = None,
|
|
1817
|
-
NODE_OT_link_viewer: typing.Optional["link_viewer"] = None,
|
|
1654
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1655
|
+
execution_context: typing.Union[str, int] = None,
|
|
1656
|
+
undo: bool = None,
|
|
1657
|
+
NODE_OT_select: select = None,
|
|
1658
|
+
NODE_OT_link_viewer: link_viewer = None,
|
|
1818
1659
|
):
|
|
1819
1660
|
"""Select node and link it to a viewer node
|
|
1820
1661
|
|
|
1821
|
-
:type override_context: typing.
|
|
1822
|
-
:type execution_context: typing.
|
|
1823
|
-
:type undo:
|
|
1662
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1663
|
+
:type execution_context: typing.Union[str, int]
|
|
1664
|
+
:type undo: bool
|
|
1824
1665
|
:param NODE_OT_select: Select, Select the node under the cursor
|
|
1825
|
-
:type NODE_OT_select:
|
|
1666
|
+
:type NODE_OT_select: select
|
|
1826
1667
|
:param NODE_OT_link_viewer: Link to Viewer Node, Link to viewer node
|
|
1827
|
-
:type NODE_OT_link_viewer:
|
|
1668
|
+
:type NODE_OT_link_viewer: link_viewer
|
|
1828
1669
|
"""
|
|
1829
1670
|
|
|
1830
1671
|
...
|
|
1831
1672
|
|
|
1832
1673
|
def select_linked_from(
|
|
1833
|
-
override_context: typing.
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1837
|
-
undo: typing.Optional[bool] = None,
|
|
1674
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1675
|
+
execution_context: typing.Union[str, int] = None,
|
|
1676
|
+
undo: bool = None,
|
|
1838
1677
|
):
|
|
1839
1678
|
"""Select nodes linked from the selected ones
|
|
1840
1679
|
|
|
1841
|
-
:type override_context: typing.
|
|
1842
|
-
:type execution_context: typing.
|
|
1843
|
-
:type undo:
|
|
1680
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1681
|
+
:type execution_context: typing.Union[str, int]
|
|
1682
|
+
:type undo: bool
|
|
1844
1683
|
"""
|
|
1845
1684
|
|
|
1846
1685
|
...
|
|
1847
1686
|
|
|
1848
1687
|
def select_linked_to(
|
|
1849
|
-
override_context: typing.
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1853
|
-
undo: typing.Optional[bool] = None,
|
|
1688
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1689
|
+
execution_context: typing.Union[str, int] = None,
|
|
1690
|
+
undo: bool = None,
|
|
1854
1691
|
):
|
|
1855
1692
|
"""Select nodes linked to the selected ones
|
|
1856
1693
|
|
|
1857
|
-
:type override_context: typing.
|
|
1858
|
-
:type execution_context: typing.
|
|
1859
|
-
:type undo:
|
|
1694
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1695
|
+
:type execution_context: typing.Union[str, int]
|
|
1696
|
+
:type undo: bool
|
|
1860
1697
|
"""
|
|
1861
1698
|
|
|
1862
1699
|
...
|
|
1863
1700
|
|
|
1864
1701
|
def select_same_type_step(
|
|
1865
|
-
override_context: typing.
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
undo: typing.Optional[bool] = None,
|
|
1870
|
-
*,
|
|
1871
|
-
prev: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1702
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1703
|
+
execution_context: typing.Union[str, int] = None,
|
|
1704
|
+
undo: bool = None,
|
|
1705
|
+
prev: typing.Union[bool, typing.Any] = False,
|
|
1872
1706
|
):
|
|
1873
1707
|
"""Activate and view same node type, step by step
|
|
1874
1708
|
|
|
1875
|
-
:type override_context: typing.
|
|
1876
|
-
:type execution_context: typing.
|
|
1877
|
-
:type undo:
|
|
1709
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1710
|
+
:type execution_context: typing.Union[str, int]
|
|
1711
|
+
:type undo: bool
|
|
1878
1712
|
:param prev: Previous
|
|
1879
|
-
:type prev: typing.
|
|
1713
|
+
:type prev: typing.Union[bool, typing.Any]
|
|
1880
1714
|
"""
|
|
1881
1715
|
|
|
1882
1716
|
...
|
|
1883
1717
|
|
|
1884
1718
|
def shader_script_update(
|
|
1885
|
-
override_context: typing.
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1889
|
-
undo: typing.Optional[bool] = None,
|
|
1719
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1720
|
+
execution_context: typing.Union[str, int] = None,
|
|
1721
|
+
undo: bool = None,
|
|
1890
1722
|
):
|
|
1891
1723
|
"""Update shader script node with new sockets and options from the script
|
|
1892
1724
|
|
|
1893
|
-
:type override_context: typing.
|
|
1894
|
-
:type execution_context: typing.
|
|
1895
|
-
:type undo:
|
|
1725
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1726
|
+
:type execution_context: typing.Union[str, int]
|
|
1727
|
+
:type undo: bool
|
|
1896
1728
|
"""
|
|
1897
1729
|
|
|
1898
1730
|
...
|
|
1899
1731
|
|
|
1900
1732
|
def simulation_zone_item_add(
|
|
1901
|
-
override_context: typing.
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1905
|
-
undo: typing.Optional[bool] = None,
|
|
1733
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1734
|
+
execution_context: typing.Union[str, int] = None,
|
|
1735
|
+
undo: bool = None,
|
|
1906
1736
|
):
|
|
1907
|
-
"""Add a state item to the simulation zone
|
|
1737
|
+
"""Add a state item to the simulation zone
|
|
1908
1738
|
|
|
1909
|
-
:type override_context: typing.
|
|
1910
|
-
:type execution_context: typing.
|
|
1911
|
-
:type undo:
|
|
1739
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1740
|
+
:type execution_context: typing.Union[str, int]
|
|
1741
|
+
:type undo: bool
|
|
1912
1742
|
"""
|
|
1913
1743
|
|
|
1914
1744
|
...
|
|
1915
1745
|
|
|
1916
1746
|
def simulation_zone_item_move(
|
|
1917
|
-
override_context: typing.
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
1928
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1929
|
-
:type undo: typing.Optional[bool]
|
|
1747
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1748
|
+
execution_context: typing.Union[str, int] = None,
|
|
1749
|
+
undo: bool = None,
|
|
1750
|
+
direction: typing.Any = "UP",
|
|
1751
|
+
):
|
|
1752
|
+
"""Move a simulation state item up or down in the list
|
|
1753
|
+
|
|
1754
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1755
|
+
:type execution_context: typing.Union[str, int]
|
|
1756
|
+
:type undo: bool
|
|
1930
1757
|
:param direction: Direction
|
|
1931
|
-
:type direction: typing.
|
|
1758
|
+
:type direction: typing.Any
|
|
1932
1759
|
"""
|
|
1933
1760
|
|
|
1934
1761
|
...
|
|
1935
1762
|
|
|
1936
1763
|
def simulation_zone_item_remove(
|
|
1937
|
-
override_context: typing.
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1941
|
-
undo: typing.Optional[bool] = None,
|
|
1764
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1765
|
+
execution_context: typing.Union[str, int] = None,
|
|
1766
|
+
undo: bool = None,
|
|
1942
1767
|
):
|
|
1943
|
-
"""Remove a state item from the simulation zone
|
|
1768
|
+
"""Remove a state item from the simulation zone
|
|
1944
1769
|
|
|
1945
|
-
:type override_context: typing.
|
|
1946
|
-
:type execution_context: typing.
|
|
1947
|
-
:type undo:
|
|
1770
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1771
|
+
:type execution_context: typing.Union[str, int]
|
|
1772
|
+
:type undo: bool
|
|
1948
1773
|
"""
|
|
1949
1774
|
|
|
1950
1775
|
...
|
|
1951
1776
|
|
|
1952
1777
|
def switch_view_update(
|
|
1953
|
-
override_context: typing.
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1957
|
-
undo: typing.Optional[bool] = None,
|
|
1778
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1779
|
+
execution_context: typing.Union[str, int] = None,
|
|
1780
|
+
undo: bool = None,
|
|
1958
1781
|
):
|
|
1959
1782
|
"""Update views of selected node
|
|
1960
1783
|
|
|
1961
|
-
:type override_context: typing.
|
|
1962
|
-
:type execution_context: typing.
|
|
1963
|
-
:type undo:
|
|
1784
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1785
|
+
:type execution_context: typing.Union[str, int]
|
|
1786
|
+
:type undo: bool
|
|
1964
1787
|
"""
|
|
1965
1788
|
|
|
1966
1789
|
...
|
|
1967
1790
|
|
|
1968
1791
|
def translate_attach(
|
|
1969
|
-
override_context: typing.
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
*,
|
|
1975
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
1976
|
-
NODE_OT_attach: typing.Optional["attach"] = None,
|
|
1792
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1793
|
+
execution_context: typing.Union[str, int] = None,
|
|
1794
|
+
undo: bool = None,
|
|
1795
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
1796
|
+
NODE_OT_attach: attach = None,
|
|
1977
1797
|
):
|
|
1978
1798
|
"""Move nodes and attach to frame
|
|
1979
1799
|
|
|
1980
|
-
:type override_context: typing.
|
|
1981
|
-
:type execution_context: typing.
|
|
1982
|
-
:type undo:
|
|
1800
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1801
|
+
:type execution_context: typing.Union[str, int]
|
|
1802
|
+
:type undo: bool
|
|
1983
1803
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
1984
|
-
:type TRANSFORM_OT_translate:
|
|
1804
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
1985
1805
|
:param NODE_OT_attach: Attach Nodes, Attach active node to a frame
|
|
1986
|
-
:type NODE_OT_attach:
|
|
1806
|
+
:type NODE_OT_attach: attach
|
|
1987
1807
|
"""
|
|
1988
1808
|
|
|
1989
1809
|
...
|
|
1990
1810
|
|
|
1991
1811
|
def translate_attach_remove_on_cancel(
|
|
1992
|
-
override_context: typing.
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
*,
|
|
1998
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
1999
|
-
NODE_OT_attach: typing.Optional["attach"] = None,
|
|
1812
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1813
|
+
execution_context: typing.Union[str, int] = None,
|
|
1814
|
+
undo: bool = None,
|
|
1815
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
1816
|
+
NODE_OT_attach: attach = None,
|
|
2000
1817
|
):
|
|
2001
1818
|
"""Move nodes and attach to frame
|
|
2002
1819
|
|
|
2003
|
-
:type override_context: typing.
|
|
2004
|
-
:type execution_context: typing.
|
|
2005
|
-
:type undo:
|
|
1820
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1821
|
+
:type execution_context: typing.Union[str, int]
|
|
1822
|
+
:type undo: bool
|
|
2006
1823
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
2007
|
-
:type TRANSFORM_OT_translate:
|
|
1824
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
2008
1825
|
:param NODE_OT_attach: Attach Nodes, Attach active node to a frame
|
|
2009
|
-
:type NODE_OT_attach:
|
|
1826
|
+
:type NODE_OT_attach: attach
|
|
2010
1827
|
"""
|
|
2011
1828
|
|
|
2012
1829
|
...
|
|
2013
1830
|
|
|
2014
1831
|
def tree_path_parent(
|
|
2015
|
-
override_context: typing.
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2019
|
-
undo: typing.Optional[bool] = None,
|
|
1832
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1833
|
+
execution_context: typing.Union[str, int] = None,
|
|
1834
|
+
undo: bool = None,
|
|
2020
1835
|
):
|
|
2021
|
-
"""Go to parent node tree
|
|
1836
|
+
"""Go to parent node tree
|
|
2022
1837
|
|
|
2023
|
-
:type override_context: typing.
|
|
2024
|
-
:type execution_context: typing.
|
|
2025
|
-
:type undo:
|
|
1838
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1839
|
+
:type execution_context: typing.Union[str, int]
|
|
1840
|
+
:type undo: bool
|
|
2026
1841
|
"""
|
|
2027
1842
|
|
|
2028
1843
|
...
|
|
2029
1844
|
|
|
2030
1845
|
def view_all(
|
|
2031
|
-
override_context: typing.
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2035
|
-
undo: typing.Optional[bool] = None,
|
|
1846
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1847
|
+
execution_context: typing.Union[str, int] = None,
|
|
1848
|
+
undo: bool = None,
|
|
2036
1849
|
):
|
|
2037
1850
|
"""Resize view so you can see all nodes
|
|
2038
1851
|
|
|
2039
|
-
:type override_context: typing.
|
|
2040
|
-
:type execution_context: typing.
|
|
2041
|
-
:type undo:
|
|
1852
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1853
|
+
:type execution_context: typing.Union[str, int]
|
|
1854
|
+
:type undo: bool
|
|
2042
1855
|
"""
|
|
2043
1856
|
|
|
2044
1857
|
...
|
|
2045
1858
|
|
|
2046
1859
|
def view_selected(
|
|
2047
|
-
override_context: typing.
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2051
|
-
undo: typing.Optional[bool] = None,
|
|
1860
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1861
|
+
execution_context: typing.Union[str, int] = None,
|
|
1862
|
+
undo: bool = None,
|
|
2052
1863
|
):
|
|
2053
1864
|
"""Resize view so you can see selected nodes
|
|
2054
1865
|
|
|
2055
|
-
:type override_context: typing.
|
|
2056
|
-
:type execution_context: typing.
|
|
2057
|
-
:type undo:
|
|
1866
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1867
|
+
:type execution_context: typing.Union[str, int]
|
|
1868
|
+
:type undo: bool
|
|
2058
1869
|
"""
|
|
2059
1870
|
|
|
2060
1871
|
...
|
|
2061
1872
|
|
|
2062
1873
|
def viewer_border(
|
|
2063
|
-
override_context: typing.
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
ymin: typing.Optional[typing.Any] = 0,
|
|
2072
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
2073
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1874
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1875
|
+
execution_context: typing.Union[str, int] = None,
|
|
1876
|
+
undo: bool = None,
|
|
1877
|
+
xmin: typing.Any = 0,
|
|
1878
|
+
xmax: typing.Any = 0,
|
|
1879
|
+
ymin: typing.Any = 0,
|
|
1880
|
+
ymax: typing.Any = 0,
|
|
1881
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
2074
1882
|
):
|
|
2075
1883
|
"""Set the boundaries for viewer operations
|
|
2076
1884
|
|
|
2077
|
-
:type override_context: typing.
|
|
2078
|
-
:type execution_context: typing.
|
|
2079
|
-
:type undo:
|
|
1885
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1886
|
+
:type execution_context: typing.Union[str, int]
|
|
1887
|
+
:type undo: bool
|
|
2080
1888
|
:param xmin: X Min
|
|
2081
|
-
:type xmin: typing.
|
|
1889
|
+
:type xmin: typing.Any
|
|
2082
1890
|
:param xmax: X Max
|
|
2083
|
-
:type xmax: typing.
|
|
1891
|
+
:type xmax: typing.Any
|
|
2084
1892
|
:param ymin: Y Min
|
|
2085
|
-
:type ymin: typing.
|
|
1893
|
+
:type ymin: typing.Any
|
|
2086
1894
|
:param ymax: Y Max
|
|
2087
|
-
:type ymax: typing.
|
|
1895
|
+
:type ymax: typing.Any
|
|
2088
1896
|
:param wait_for_input: Wait for Input
|
|
2089
|
-
:type wait_for_input: typing.
|
|
1897
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
2090
1898
|
"""
|
|
2091
1899
|
|
|
2092
1900
|
...
|