fake-bpy-module 20240116__py3-none-any.whl → 20240117__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.
bpy/types/__init__.pyi CHANGED
@@ -2,96 +2,208 @@ import sys
2
2
  import typing
3
3
  import mathutils
4
4
  import bpy
5
- import bl_ui.properties_data_camera
6
- import bl_operators.anim
5
+ import bl_ui.properties_physics_cloth
6
+ import bl_operators.node
7
+ import bl_ui.properties_physics_fluid
8
+ import bl_ui.properties_data_empty
9
+ import bl_operators.clip
10
+ import bl_ui.properties_data_grease_pencil
11
+ import bl_ui.properties_paint_common
12
+ import bl_ui.space_properties
13
+ import bl_ui.properties_data_lightprobe
14
+ import bl_operators.presets
15
+ import bl_operators.file
16
+ import bl_ui.properties_physics_rigidbody_constraint
17
+ import bl_ui.properties_data_shaderfx
18
+ import bl_ui.properties_data_light
19
+ import bl_ui.space_topbar
20
+ import bl_ui.node_add_menu
21
+ import bl_ui.properties_particle
22
+ import bl_ui.space_text
23
+ import bl_ui.node_add_menu_compositor
24
+ import bl_ui.properties_texture
25
+ import bl_ui.properties_data_lattice
26
+ import bl_ui.space_view3d_toolbar
7
27
  import bl_ui.properties_data_pointcloud
28
+ import bl_ui.properties_world
29
+ import bl_operators.assets
30
+ import bl_ui.properties_scene
31
+ import bl_ui.space_toolsystem_common
32
+ import bl_ui.space_dopesheet
33
+ import bl_ui.properties_material_gpencil
34
+ import bl_ui.properties_freestyle
35
+ import bl_ui.space_console
36
+ import bl_ui.space_sequencer
37
+ import bl_ui.node_add_menu_texture
38
+ import bl_ui.space_image
39
+ import bl_ui.space_filebrowser
40
+ import bl_ui.node_add_menu_shader
41
+ import bl_ui.space_time
8
42
  import bl_ui.space_toolsystem_toolbar
9
- import bl_operators.view3d
10
- import bl_ui.properties_physics_rigidbody
11
- import bl_ui.properties_physics_dynamicpaint
12
- import bl_operators.presets
13
- import bl_operators.object
14
- import bl_ui.space_userpref
15
43
  import bl_ui.properties_physics_common
16
- import bl_ui.properties_data_metaball
44
+ import bl_ui.space_info
45
+ import bl_ui.properties_data_curves
46
+ import bl_operators.constraint
47
+ import bl_ui.space_view3d
48
+ import bl_ui.properties_physics_field
49
+ import bl_ui.space_outliner
50
+ import bl_ui.properties_collection
51
+ import bl_ui.properties_data_modifier
52
+ import bl_ui.properties_material
17
53
  import bl_operators.spreadsheet
54
+ import bl_ui.properties_data_camera
55
+ import bl_ui.generic_ui_list
18
56
  import bl_ui.space_spreadsheet
19
- import bl_ui
57
+ import bl_ui.space_clip
58
+ import bl_ui.properties_data_gpencil
59
+ import bl_ui.properties_data_volume
60
+ import bl_ui.properties_physics_rigidbody
20
61
  import bl_operators.userpref
21
- import bl_ui.space_view3d
62
+ import bl_ui.properties_grease_pencil_common
63
+ import bl_ui.properties_physics_softbody
64
+ import bl_ui.properties_workspace
65
+ import bl_ui
66
+ import bl_ui.properties_object
67
+ import bl_ui.properties_data_mesh
68
+ import bl_ui.space_userpref
69
+ import bl_ui.properties_physics_geometry_nodes
70
+ import bl_ui.properties_data_bone
71
+ import bl_operators.view3d
72
+ import bl_operators.freestyle
73
+ import bl_ui.asset_shelf
74
+ import bl_ui.properties_data_curve
22
75
  import bl_ui.properties_render
23
- import bl_ui.properties_data_curves
24
- import bl_ui.properties_data_gpencil
25
- import bl_ui.space_filebrowser
76
+ import bl_ui.properties_output
26
77
  import bl_ui.properties_constraint
27
- import bl_ui.space_image
28
- import bl_operators.constraint
29
- import bl_ui.properties_freestyle
30
78
  import bl_ui.space_statusbar
31
- import bl_operators.freestyle
32
- import bl_ui.space_clip
33
- import bl_operators.clip
34
- import bl_ui.properties_data_bone
35
- import bl_ui.space_console
36
- import bl_ui.space_nla
37
- import bl_ui.properties_data_mesh
38
- import bl_ui.space_text
39
- import bl_ui.space_time
40
- import bl_ui.properties_workspace
41
- import bl_ui.properties_texture
42
- import bl_operators.wm
43
- import bl_ui.properties_data_volume
44
- import bl_ui.properties_data_empty
45
79
  import bl_ui.space_graph
80
+ import bl_ui.properties_data_armature
46
81
  import bl_ui.space_node
47
- import bl_ui.properties_physics_fluid
48
- import bl_ui.properties_data_shaderfx
49
- import bl_ui.space_view3d_toolbar
50
- import bl_ui.properties_data_light
51
- import bl_operators.node
52
- import bl_ui.properties_physics_cloth
53
- import bl_ui.properties_paint_common
54
- import bl_ui.node_add_menu
55
- import bl_ui.properties_output
56
- import bl_ui.properties_data_lightprobe
82
+ import bl_ui.properties_physics_dynamicpaint
83
+ import bl_ui.properties_data_metaball
57
84
  import bl_ui.properties_view_layer
58
- import bl_ui.properties_data_curve
59
- import bl_ui.properties_physics_field
60
- import bl_ui.properties_data_grease_pencil
85
+ import bl_operators.object
61
86
  import bl_ui.properties_mask_common
62
- import bl_ui.properties_physics_softbody
63
- import bl_ui.node_add_menu_texture
64
- import bl_ui.properties_particle
65
- import bl_ui.generic_ui_list
66
- import bl_ui.properties_material_gpencil
67
- import bl_ui.space_info
68
- import bl_ui.properties_physics_geometry_nodes
69
- import bl_ui.node_add_menu_shader
70
- import bl_ui.properties_grease_pencil_common
71
- import bl_ui.properties_collection
72
- import bl_ui.node_add_menu_geometry
73
- import bl_operators.file
74
- import bl_ui.space_topbar
75
- import bl_operators.assets
76
- import bl_ui.properties_material
77
- import bl_ui.space_outliner
78
- import bl_ui.properties_world
79
- import bl_ui.space_properties
80
- import bl_ui.asset_shelf
87
+ import bl_operators.wm
88
+ import bl_operators.anim
89
+ import bl_ui.space_nla
81
90
  import bl_ui.properties_data_speaker
82
- import bl_ui.properties_physics_rigidbody_constraint
83
- import bl_ui.space_sequencer
84
- import bl_ui.properties_object
85
- import bl_ui.properties_data_lattice
86
- import bl_ui.space_dopesheet
87
- import bl_ui.space_toolsystem_common
88
- import bl_ui.properties_data_armature
89
- import bl_ui.properties_data_modifier
90
- import bl_ui.properties_scene
91
- import bl_ui.node_add_menu_compositor
91
+ import bl_ui.node_add_menu_geometry
92
92
 
93
93
  GenericType = typing.TypeVar("GenericType")
94
94
 
95
+ class bpy_prop_collection(typing.Generic[GenericType]):
96
+ """built-in class used for all collections."""
97
+
98
+ def find(self, key: typing.Optional[str]) -> int:
99
+ """Returns the index of a key in a collection or -1 when not found (matches Python's string find function of the same name).
100
+
101
+ :param key: The identifier for the collection member.
102
+ :type key: typing.Optional[str]
103
+ :rtype: int
104
+ :return: index of the key.
105
+ """
106
+ ...
107
+
108
+ def foreach_get(self, attr, seq):
109
+ """This is a function to give fast access to attributes within a collection. Only works for 'basic type' properties (bool, int and float)! Multi-dimensional arrays (like array of vectors) will be flattened into seq."""
110
+ ...
111
+
112
+ def foreach_set(self, attr, seq):
113
+ """This is a function to give fast access to attributes within a collection. Only works for 'basic type' properties (bool, int and float)! seq must be uni-dimensional, multi-dimensional arrays (like array of vectors) will be re-created from it."""
114
+ ...
115
+
116
+ def get(
117
+ self, key: typing.Optional[str], default: typing.Optional[typing.Any] = None
118
+ ):
119
+ """Returns the value of the item assigned to key or default when not found (matches Python's dictionary function of the same name).
120
+
121
+ :param key: The identifier for the collection member.
122
+ :type key: typing.Optional[str]
123
+ :param default: Optional argument for the value to return if *key* is not found.
124
+ :type default: typing.Optional[typing.Any]
125
+ """
126
+ ...
127
+
128
+ def items(self) -> typing.List:
129
+ """Return the identifiers of collection members (matching Python's dict.items() functionality).
130
+
131
+ :rtype: typing.List
132
+ :return: (key, value) pairs for each member of this collection.
133
+ """
134
+ ...
135
+
136
+ def keys(self) -> typing.List[str]:
137
+ """Return the identifiers of collection members (matching Python's dict.keys() functionality).
138
+
139
+ :rtype: typing.List[str]
140
+ :return: the identifiers for each member of this collection.
141
+ """
142
+ ...
143
+
144
+ def values(self) -> typing.List:
145
+ """Return the values of collection (matching Python's dict.values() functionality).
146
+
147
+ :rtype: typing.List
148
+ :return: the members of this collection.
149
+ """
150
+ ...
151
+
152
+ def __getitem__(
153
+ self, key: typing.Optional[typing.Union[int, str]]
154
+ ) -> "GenericType":
155
+ """
156
+
157
+ :param key:
158
+ :type key: typing.Optional[typing.Union[int, str]]
159
+ :rtype: 'GenericType'
160
+ """
161
+ ...
162
+
163
+ def __setitem__(
164
+ self, key: typing.Optional[typing.Union[int, str]], value: "GenericType"
165
+ ):
166
+ """
167
+
168
+ :param key:
169
+ :type key: typing.Optional[typing.Union[int, str]]
170
+ :param value:
171
+ :type value: 'GenericType'
172
+ """
173
+ ...
174
+
175
+ def __delitem__(
176
+ self, key: typing.Optional[typing.Union[int, str]]
177
+ ) -> "GenericType":
178
+ """
179
+
180
+ :param key:
181
+ :type key: typing.Optional[typing.Union[int, str]]
182
+ :rtype: 'GenericType'
183
+ """
184
+ ...
185
+
186
+ def __iter__(self) -> typing.Iterator["GenericType"]:
187
+ """
188
+
189
+ :rtype: typing.Iterator['GenericType']
190
+ """
191
+ ...
192
+
193
+ def __next__(self) -> "GenericType":
194
+ """
195
+
196
+ :rtype: 'GenericType'
197
+ """
198
+ ...
199
+
200
+ def __len__(self) -> int:
201
+ """
202
+
203
+ :rtype: int
204
+ """
205
+ ...
206
+
95
207
  class bpy_struct:
96
208
  """built-in base class for all classes in bpy.types."""
97
209
 
@@ -356,118 +468,6 @@ class bpy_struct:
356
468
  """
357
469
  ...
358
470
 
359
- class bpy_prop_collection(typing.Generic[GenericType]):
360
- """built-in class used for all collections."""
361
-
362
- def find(self, key: typing.Optional[str]) -> int:
363
- """Returns the index of a key in a collection or -1 when not found (matches Python's string find function of the same name).
364
-
365
- :param key: The identifier for the collection member.
366
- :type key: typing.Optional[str]
367
- :rtype: int
368
- :return: index of the key.
369
- """
370
- ...
371
-
372
- def foreach_get(self, attr, seq):
373
- """This is a function to give fast access to attributes within a collection. Only works for 'basic type' properties (bool, int and float)! Multi-dimensional arrays (like array of vectors) will be flattened into seq."""
374
- ...
375
-
376
- def foreach_set(self, attr, seq):
377
- """This is a function to give fast access to attributes within a collection. Only works for 'basic type' properties (bool, int and float)! seq must be uni-dimensional, multi-dimensional arrays (like array of vectors) will be re-created from it."""
378
- ...
379
-
380
- def get(
381
- self, key: typing.Optional[str], default: typing.Optional[typing.Any] = None
382
- ):
383
- """Returns the value of the item assigned to key or default when not found (matches Python's dictionary function of the same name).
384
-
385
- :param key: The identifier for the collection member.
386
- :type key: typing.Optional[str]
387
- :param default: Optional argument for the value to return if *key* is not found.
388
- :type default: typing.Optional[typing.Any]
389
- """
390
- ...
391
-
392
- def items(self) -> typing.List:
393
- """Return the identifiers of collection members (matching Python's dict.items() functionality).
394
-
395
- :rtype: typing.List
396
- :return: (key, value) pairs for each member of this collection.
397
- """
398
- ...
399
-
400
- def keys(self) -> typing.List[str]:
401
- """Return the identifiers of collection members (matching Python's dict.keys() functionality).
402
-
403
- :rtype: typing.List[str]
404
- :return: the identifiers for each member of this collection.
405
- """
406
- ...
407
-
408
- def values(self) -> typing.List:
409
- """Return the values of collection (matching Python's dict.values() functionality).
410
-
411
- :rtype: typing.List
412
- :return: the members of this collection.
413
- """
414
- ...
415
-
416
- def __getitem__(
417
- self, key: typing.Optional[typing.Union[int, str]]
418
- ) -> "GenericType":
419
- """
420
-
421
- :param key:
422
- :type key: typing.Optional[typing.Union[int, str]]
423
- :rtype: 'GenericType'
424
- """
425
- ...
426
-
427
- def __setitem__(
428
- self, key: typing.Optional[typing.Union[int, str]], value: "GenericType"
429
- ):
430
- """
431
-
432
- :param key:
433
- :type key: typing.Optional[typing.Union[int, str]]
434
- :param value:
435
- :type value: 'GenericType'
436
- """
437
- ...
438
-
439
- def __delitem__(
440
- self, key: typing.Optional[typing.Union[int, str]]
441
- ) -> "GenericType":
442
- """
443
-
444
- :param key:
445
- :type key: typing.Optional[typing.Union[int, str]]
446
- :rtype: 'GenericType'
447
- """
448
- ...
449
-
450
- def __iter__(self) -> typing.Iterator["GenericType"]:
451
- """
452
-
453
- :rtype: typing.Iterator['GenericType']
454
- """
455
- ...
456
-
457
- def __next__(self) -> "GenericType":
458
- """
459
-
460
- :rtype: 'GenericType'
461
- """
462
- ...
463
-
464
- def __len__(self) -> int:
465
- """
466
-
467
- :rtype: int
468
- """
469
- ...
470
-
471
471
  class bpy_prop_array(typing.Generic[GenericType]):
472
472
  def foreach_get(self, attr, seq): ...
473
473
  def foreach_set(self, attr, seq): ...
@@ -6832,10 +6832,10 @@ class Context(bpy_struct):
6832
6832
  :type: 'UIList'
6833
6833
  """
6834
6834
 
6835
- property: typing.Union[int, str, "AnyType"]
6835
+ property: typing.Union[str, int, "AnyType"]
6836
6836
  """ Get the property associated with a hovered button. Returns a tuple of the data-block, data path to the property, and array index.
6837
6837
 
6838
- :type: typing.Union[int, str, 'AnyType']
6838
+ :type: typing.Union[str, int, 'AnyType']
6839
6839
  """
6840
6840
 
6841
6841
  edit_text: "Text"
@@ -14825,7 +14825,7 @@ class Gizmo(bpy_struct):
14825
14825
  context: "Context",
14826
14826
  event: "Event",
14827
14827
  tweak: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]],
14828
- ) -> typing.Union[typing.Set[int], typing.Set[str]]:
14828
+ ) -> typing.Union[typing.Set[str], typing.Set[int]]:
14829
14829
  """
14830
14830
 
14831
14831
  :param context:
@@ -14834,7 +14834,7 @@ class Gizmo(bpy_struct):
14834
14834
  :type event: 'Event'
14835
14835
  :param tweak: Tweak
14836
14836
  :type tweak: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]]
14837
- :rtype: typing.Union[typing.Set[int], typing.Set[str]]
14837
+ :rtype: typing.Union[typing.Set[str], typing.Set[int]]
14838
14838
  :return: result
14839
14839
  """
14840
14840
  ...
@@ -14842,14 +14842,14 @@ class Gizmo(bpy_struct):
14842
14842
  def setup(self): ...
14843
14843
  def invoke(
14844
14844
  self, context: "Context", event: "Event"
14845
- ) -> typing.Union[typing.Set[int], typing.Set[str]]:
14845
+ ) -> typing.Union[typing.Set[str], typing.Set[int]]:
14846
14846
  """
14847
14847
 
14848
14848
  :param context:
14849
14849
  :type context: 'Context'
14850
14850
  :param event:
14851
14851
  :type event: 'Event'
14852
- :rtype: typing.Union[typing.Set[int], typing.Set[str]]
14852
+ :rtype: typing.Union[typing.Set[str], typing.Set[int]]
14853
14853
  :return: result
14854
14854
  """
14855
14855
  ...
@@ -17314,10 +17314,10 @@ class KeyingSetInfo(bpy_struct):
17314
17314
  :type: typing.Union[str, typing.Any]
17315
17315
  """
17316
17316
 
17317
- bl_options: typing.Union[typing.Set[int], typing.Set[str]]
17317
+ bl_options: typing.Union[typing.Set[str], typing.Set[int]]
17318
17318
  """ Keying Set options to use when inserting keyframes
17319
17319
 
17320
- :type: typing.Union[typing.Set[int], typing.Set[str]]
17320
+ :type: typing.Union[typing.Set[str], typing.Set[int]]
17321
17321
  """
17322
17322
 
17323
17323
  def poll(self, context: typing.Optional["Context"]) -> bool:
@@ -17789,10 +17789,10 @@ class Macro(bpy_struct):
17789
17789
  :type: typing.Union[str, typing.Any]
17790
17790
  """
17791
17791
 
17792
- bl_options: typing.Union[typing.Set[int], typing.Set[str]]
17792
+ bl_options: typing.Union[typing.Set[str], typing.Set[int]]
17793
17793
  """ Options for this operator type
17794
17794
 
17795
- :type: typing.Union[typing.Set[int], typing.Set[str]]
17795
+ :type: typing.Union[typing.Set[str], typing.Set[int]]
17796
17796
  """
17797
17797
 
17798
17798
  bl_translation_context: typing.Union[str, typing.Any]
@@ -17827,13 +17827,13 @@ class Macro(bpy_struct):
17827
17827
 
17828
17828
  def report(
17829
17829
  self,
17830
- type: typing.Optional[typing.Union[typing.Set[int], typing.Set[str]]],
17830
+ type: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]],
17831
17831
  message: typing.Union[str, typing.Any],
17832
17832
  ):
17833
17833
  """report
17834
17834
 
17835
17835
  :param type: Type
17836
- :type type: typing.Optional[typing.Union[typing.Set[int], typing.Set[str]]]
17836
+ :type type: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]]
17837
17837
  :param message: Report Message
17838
17838
  :type message: typing.Union[str, typing.Any]
17839
17839
  """
@@ -22828,10 +22828,10 @@ class Operator(bpy_struct):
22828
22828
  :type: typing.Union[str, typing.Any]
22829
22829
  """
22830
22830
 
22831
- bl_options: typing.Union[typing.Set[int], typing.Set[str]]
22831
+ bl_options: typing.Union[typing.Set[str], typing.Set[int]]
22832
22832
  """ Options for this operator type
22833
22833
 
22834
- :type: typing.Union[typing.Set[int], typing.Set[str]]
22834
+ :type: typing.Union[typing.Set[str], typing.Set[int]]
22835
22835
  """
22836
22836
 
22837
22837
  bl_translation_context: typing.Union[str, typing.Any]
@@ -22890,13 +22890,13 @@ class Operator(bpy_struct):
22890
22890
 
22891
22891
  def report(
22892
22892
  self,
22893
- type: typing.Optional[typing.Union[typing.Set[int], typing.Set[str]]],
22893
+ type: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]],
22894
22894
  message: typing.Union[str, typing.Any],
22895
22895
  ):
22896
22896
  """report
22897
22897
 
22898
22898
  :param type: Type
22899
- :type type: typing.Optional[typing.Union[typing.Set[int], typing.Set[str]]]
22899
+ :type type: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]]
22900
22900
  :param message: Report Message
22901
22901
  :type message: typing.Union[str, typing.Any]
22902
22902
  """
@@ -22922,12 +22922,12 @@ class Operator(bpy_struct):
22922
22922
 
22923
22923
  def execute(
22924
22924
  self, context: "Context"
22925
- ) -> typing.Union[typing.Set[int], typing.Set[str]]:
22925
+ ) -> typing.Union[typing.Set[str], typing.Set[int]]:
22926
22926
  """Execute the operator
22927
22927
 
22928
22928
  :param context:
22929
22929
  :type context: 'Context'
22930
- :rtype: typing.Union[typing.Set[int], typing.Set[str]]
22930
+ :rtype: typing.Union[typing.Set[str], typing.Set[int]]
22931
22931
  :return: result
22932
22932
  """
22933
22933
  ...
@@ -22944,28 +22944,28 @@ class Operator(bpy_struct):
22944
22944
 
22945
22945
  def invoke(
22946
22946
  self, context: "Context", event: "Event"
22947
- ) -> typing.Union[typing.Set[int], typing.Set[str]]:
22947
+ ) -> typing.Union[typing.Set[str], typing.Set[int]]:
22948
22948
  """Invoke the operator
22949
22949
 
22950
22950
  :param context:
22951
22951
  :type context: 'Context'
22952
22952
  :param event:
22953
22953
  :type event: 'Event'
22954
- :rtype: typing.Union[typing.Set[int], typing.Set[str]]
22954
+ :rtype: typing.Union[typing.Set[str], typing.Set[int]]
22955
22955
  :return: result
22956
22956
  """
22957
22957
  ...
22958
22958
 
22959
22959
  def modal(
22960
22960
  self, context: "Context", event: "Event"
22961
- ) -> typing.Union[typing.Set[int], typing.Set[str]]:
22961
+ ) -> typing.Union[typing.Set[str], typing.Set[int]]:
22962
22962
  """Modal operator function
22963
22963
 
22964
22964
  :param context:
22965
22965
  :type context: 'Context'
22966
22966
  :param event:
22967
22967
  :type event: 'Event'
22968
- :rtype: typing.Union[typing.Set[int], typing.Set[str]]
22968
+ :rtype: typing.Union[typing.Set[str], typing.Set[int]]
22969
22969
  :return: result
22970
22970
  """
22971
22971
  ...
@@ -28859,13 +28859,13 @@ class RenderEngine(bpy_struct):
28859
28859
 
28860
28860
  def report(
28861
28861
  self,
28862
- type: typing.Optional[typing.Union[typing.Set[int], typing.Set[str]]],
28862
+ type: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]],
28863
28863
  message: typing.Union[str, typing.Any],
28864
28864
  ):
28865
28865
  """Report info, warning or error messages
28866
28866
 
28867
28867
  :param type: Type
28868
- :type type: typing.Optional[typing.Union[typing.Set[int], typing.Set[str]]]
28868
+ :type type: typing.Optional[typing.Union[typing.Set[str], typing.Set[int]]]
28869
28869
  :param message: Report Message
28870
28870
  :type message: typing.Union[str, typing.Any]
28871
28871
  """
@@ -40020,10 +40020,10 @@ class ToolSettings(bpy_struct):
40020
40020
  :type: typing.Union[str, int]
40021
40021
  """
40022
40022
 
40023
- snap_elements: typing.Union[typing.Set[int], typing.Set[str]]
40023
+ snap_elements: typing.Union[typing.Set[str], typing.Set[int]]
40024
40024
  """ Type of element to snap to
40025
40025
 
40026
- :type: typing.Union[typing.Set[int], typing.Set[str]]
40026
+ :type: typing.Union[typing.Set[str], typing.Set[int]]
40027
40027
  """
40028
40028
 
40029
40029
  snap_elements_base: typing.Union[typing.Set[str], typing.Set[int]]
@@ -42544,6 +42544,14 @@ class UILayout(bpy_struct):
42544
42544
  """
42545
42545
  ...
42546
42546
 
42547
+ def template_node_inputs(self, node: "Node"):
42548
+ """Show a node settings and input socket values
42549
+
42550
+ :param node: Node, Display inputs of this node
42551
+ :type node: 'Node'
42552
+ """
42553
+ ...
42554
+
42547
42555
  @classmethod
42548
42556
  def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
42549
42557
  """
@@ -65065,14 +65073,14 @@ class WindowManager(ID, bpy_struct):
65065
65073
  @classmethod
65066
65074
  def invoke_props_popup(
65067
65075
  cls, operator: typing.Optional["Operator"], event: typing.Optional["Event"]
65068
- ) -> typing.Union[typing.Set[int], typing.Set[str]]:
65076
+ ) -> typing.Union[typing.Set[str], typing.Set[int]]:
65069
65077
  """Operator popup invoke (show operator properties and execute it automatically on changes)
65070
65078
 
65071
65079
  :param operator: Operator to call
65072
65080
  :type operator: typing.Optional['Operator']
65073
65081
  :param event: Event
65074
65082
  :type event: typing.Optional['Event']
65075
- :rtype: typing.Union[typing.Set[int], typing.Set[str]]
65083
+ :rtype: typing.Union[typing.Set[str], typing.Set[int]]
65076
65084
  :return: result
65077
65085
  """
65078
65086
  ...
@@ -65082,14 +65090,14 @@ class WindowManager(ID, bpy_struct):
65082
65090
  cls,
65083
65091
  operator: typing.Optional["Operator"],
65084
65092
  width: typing.Optional[typing.Any] = 300,
65085
- ) -> typing.Union[typing.Set[int], typing.Set[str]]:
65093
+ ) -> typing.Union[typing.Set[str], typing.Set[int]]:
65086
65094
  """Operator dialog (non-autoexec popup) invoke (show operator properties and only execute it on click on OK button)
65087
65095
 
65088
65096
  :param operator: Operator to call
65089
65097
  :type operator: typing.Optional['Operator']
65090
65098
  :param width: Width of the popup
65091
65099
  :type width: typing.Optional[typing.Any]
65092
- :rtype: typing.Union[typing.Set[int], typing.Set[str]]
65100
+ :rtype: typing.Union[typing.Set[str], typing.Set[int]]
65093
65101
  :return: result
65094
65102
  """
65095
65103
  ...
@@ -65108,14 +65116,14 @@ class WindowManager(ID, bpy_struct):
65108
65116
  cls,
65109
65117
  operator: typing.Optional["Operator"],
65110
65118
  width: typing.Optional[typing.Any] = 300,
65111
- ) -> typing.Union[typing.Set[int], typing.Set[str]]:
65119
+ ) -> typing.Union[typing.Set[str], typing.Set[int]]:
65112
65120
  """Operator popup invoke (only shows operator's properties, without executing it)
65113
65121
 
65114
65122
  :param operator: Operator to call
65115
65123
  :type operator: typing.Optional['Operator']
65116
65124
  :param width: Width of the popup
65117
65125
  :type width: typing.Optional[typing.Any]
65118
- :rtype: typing.Union[typing.Set[int], typing.Set[str]]
65126
+ :rtype: typing.Union[typing.Set[str], typing.Set[int]]
65119
65127
  :return: result
65120
65128
  """
65121
65129
  ...
@@ -65123,14 +65131,14 @@ class WindowManager(ID, bpy_struct):
65123
65131
  @classmethod
65124
65132
  def invoke_confirm(
65125
65133
  cls, operator: typing.Optional["Operator"], event: typing.Optional["Event"]
65126
- ) -> typing.Union[typing.Set[int], typing.Set[str]]:
65134
+ ) -> typing.Union[typing.Set[str], typing.Set[int]]:
65127
65135
  """Operator confirmation popup (only to let user confirm the execution, no operator properties shown)
65128
65136
 
65129
65137
  :param operator: Operator to call
65130
65138
  :type operator: typing.Optional['Operator']
65131
65139
  :param event: Event
65132
65140
  :type event: typing.Optional['Event']
65133
- :rtype: typing.Union[typing.Set[int], typing.Set[str]]
65141
+ :rtype: typing.Union[typing.Set[str], typing.Set[int]]
65134
65142
  :return: result
65135
65143
  """
65136
65144
  ...
@@ -68159,10 +68167,10 @@ class DecimateModifier(Modifier, bpy_struct):
68159
68167
  :type: typing.Union[str, int]
68160
68168
  """
68161
68169
 
68162
- delimit: typing.Union[typing.Set[int], typing.Set[str]]
68170
+ delimit: typing.Union[typing.Set[str], typing.Set[int]]
68163
68171
  """ Limit merging geometry
68164
68172
 
68165
- :type: typing.Union[typing.Set[int], typing.Set[str]]
68173
+ :type: typing.Union[typing.Set[str], typing.Set[int]]
68166
68174
  """
68167
68175
 
68168
68176
  face_count: int
@@ -68564,6 +68572,151 @@ class FluidModifier(Modifier, bpy_struct):
68564
68572
  """
68565
68573
  ...
68566
68574
 
68575
+ class GreasePencilOpacityModifier(Modifier, bpy_struct):
68576
+ color_factor: float
68577
+ """ Factor of opacity
68578
+
68579
+ :type: float
68580
+ """
68581
+
68582
+ color_mode: typing.Union[str, int]
68583
+ """ Attributes to modify * ``BOTH`` Stroke & Fill -- Modify fill and stroke colors. * ``STROKE`` Stroke -- Modify stroke color only. * ``FILL`` Fill -- Modify fill color only. * ``HARDNESS`` Hardness -- Modify stroke hardness.
68584
+
68585
+ :type: typing.Union[str, int]
68586
+ """
68587
+
68588
+ custom_curve: "CurveMapping"
68589
+ """ Custom curve to apply effect
68590
+
68591
+ :type: 'CurveMapping'
68592
+ """
68593
+
68594
+ hardness_factor: float
68595
+ """ Factor of stroke hardness
68596
+
68597
+ :type: float
68598
+ """
68599
+
68600
+ invert_layer_filter: bool
68601
+ """ Invert layer filter
68602
+
68603
+ :type: bool
68604
+ """
68605
+
68606
+ invert_layer_pass_filter: bool
68607
+ """ Invert layer pass filter
68608
+
68609
+ :type: bool
68610
+ """
68611
+
68612
+ invert_material_filter: bool
68613
+ """ Invert material filter
68614
+
68615
+ :type: bool
68616
+ """
68617
+
68618
+ invert_material_pass_filter: bool
68619
+ """ Invert material pass filter
68620
+
68621
+ :type: bool
68622
+ """
68623
+
68624
+ invert_vertex_group: bool
68625
+ """ Invert vertex group weights
68626
+
68627
+ :type: bool
68628
+ """
68629
+
68630
+ layer_filter: typing.Union[str, typing.Any]
68631
+ """ Layer name
68632
+
68633
+ :type: typing.Union[str, typing.Any]
68634
+ """
68635
+
68636
+ layer_pass_filter: int
68637
+ """ Layer pass filter
68638
+
68639
+ :type: int
68640
+ """
68641
+
68642
+ material_filter: "Material"
68643
+ """ Material used for filtering
68644
+
68645
+ :type: 'Material'
68646
+ """
68647
+
68648
+ material_pass_filter: int
68649
+ """ Material pass
68650
+
68651
+ :type: int
68652
+ """
68653
+
68654
+ open_influence_panel: bool
68655
+ """ Open the influence panel
68656
+
68657
+ :type: bool
68658
+ """
68659
+
68660
+ use_custom_curve: bool
68661
+ """ Use a custom curve to define a factor along the strokes
68662
+
68663
+ :type: bool
68664
+ """
68665
+
68666
+ use_layer_pass_filter: bool
68667
+ """ Use layer pass filter
68668
+
68669
+ :type: bool
68670
+ """
68671
+
68672
+ use_material_pass_filter: bool
68673
+ """ Use material pass filter
68674
+
68675
+ :type: bool
68676
+ """
68677
+
68678
+ use_uniform_opacity: bool
68679
+ """ Replace the stroke opacity instead of modulating each point
68680
+
68681
+ :type: bool
68682
+ """
68683
+
68684
+ use_weight_as_factor: bool
68685
+ """ Use vertex group weight as factor instead of influence
68686
+
68687
+ :type: bool
68688
+ """
68689
+
68690
+ vertex_group_name: typing.Union[str, typing.Any]
68691
+ """ Vertex group name for modulating the deform
68692
+
68693
+ :type: typing.Union[str, typing.Any]
68694
+ """
68695
+
68696
+ @classmethod
68697
+ def bl_rna_get_subclass(cls, id: typing.Optional[str], default=None) -> "Struct":
68698
+ """
68699
+
68700
+ :param id: The RNA type identifier.
68701
+ :type id: typing.Optional[str]
68702
+ :rtype: 'Struct'
68703
+ :return: The RNA type or default when not found.
68704
+ """
68705
+ ...
68706
+
68707
+ @classmethod
68708
+ def bl_rna_get_subclass_py(
68709
+ cls, id: typing.Optional[str], default=None
68710
+ ) -> typing.Any:
68711
+ """
68712
+
68713
+ :param id: The RNA type identifier.
68714
+ :type id: typing.Optional[str]
68715
+ :rtype: typing.Any
68716
+ :return: The class or default when not found.
68717
+ """
68718
+ ...
68719
+
68567
68720
  class HookModifier(Modifier, bpy_struct):
68568
68721
  """Hook modifier to modify the location of vertices"""
68569
68722
 
@@ -68979,10 +69132,10 @@ class MeshCacheModifier(Modifier, bpy_struct):
68979
69132
  :type: typing.Union[str, typing.Any]
68980
69133
  """
68981
69134
 
68982
- flip_axis: typing.Union[typing.Set[int], typing.Set[str]]
69135
+ flip_axis: typing.Union[typing.Set[str], typing.Set[int]]
68983
69136
  """
68984
69137
 
68985
- :type: typing.Union[typing.Set[int], typing.Set[str]]
69138
+ :type: typing.Union[typing.Set[str], typing.Set[int]]
68986
69139
  """
68987
69140
 
68988
69141
  forward_axis: typing.Union[str, int]
@@ -108035,10 +108188,10 @@ class GeometryNodeCurveHandleTypeSelection(
108035
108188
  :type: typing.Union[str, int]
108036
108189
  """
108037
108190
 
108038
- mode: typing.Union[typing.Set[int], typing.Set[str]]
108191
+ mode: typing.Union[typing.Set[str], typing.Set[int]]
108039
108192
  """ Whether to check the type of left and right handles
108040
108193
 
108041
- :type: typing.Union[typing.Set[int], typing.Set[str]]
108194
+ :type: typing.Union[typing.Set[str], typing.Set[int]]
108042
108195
  """
108043
108196
 
108044
108197
  @classmethod
@@ -108571,10 +108724,10 @@ class GeometryNodeCurveSetHandles(GeometryNode, NodeInternal, Node, bpy_struct):
108571
108724
  :type: typing.Union[str, int]
108572
108725
  """
108573
108726
 
108574
- mode: typing.Union[typing.Set[int], typing.Set[str]]
108727
+ mode: typing.Union[typing.Set[str], typing.Set[int]]
108575
108728
  """ Whether to update left and right handles
108576
108729
 
108577
- :type: typing.Union[typing.Set[int], typing.Set[str]]
108730
+ :type: typing.Union[typing.Set[str], typing.Set[int]]
108578
108731
  """
108579
108732
 
108580
108733
  @classmethod