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