fake-bpy-module 20240524__py3-none-any.whl → 20240529__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (167) hide show
  1. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -3
  2. bl_operators/__init__.pyi +3 -0
  3. bl_operators/connect_to_output/__init__.pyi +325 -0
  4. bl_operators/image_as_planes/__init__.pyi +463 -0
  5. bl_operators/node_editor/__init__.pyi +6 -0
  6. bl_operators/node_editor/node_functions/__init__.pyi +23 -0
  7. bl_operators/presets/__init__.pyi +12 -12
  8. bl_operators/userpref/__init__.pyi +0 -214
  9. bl_operators/wm/__init__.pyi +24 -24
  10. bl_ui/__init__.pyi +12 -12
  11. bl_ui/anim/__init__.pyi +6 -6
  12. bl_ui/generic_ui_list/__init__.pyi +2 -2
  13. bl_ui/node_add_menu/__init__.pyi +6 -6
  14. bl_ui/node_add_menu_compositor/__init__.pyi +108 -108
  15. bl_ui/node_add_menu_geometry/__init__.pyi +288 -288
  16. bl_ui/node_add_menu_shader/__init__.pyi +60 -60
  17. bl_ui/node_add_menu_texture/__init__.pyi +54 -54
  18. bl_ui/properties_collection/__init__.pyi +6 -6
  19. bl_ui/properties_data_armature/__init__.pyi +12 -12
  20. bl_ui/properties_data_camera/__init__.pyi +12 -12
  21. bl_ui/properties_data_curves/__init__.pyi +6 -6
  22. bl_ui/properties_data_gpencil/__init__.pyi +12 -12
  23. bl_ui/properties_data_grease_pencil/__init__.pyi +18 -18
  24. bl_ui/properties_data_mesh/__init__.pyi +24 -24
  25. bl_ui/properties_data_modifier/__init__.pyi +42 -42
  26. bl_ui/properties_data_pointcloud/__init__.pyi +6 -6
  27. bl_ui/properties_freestyle/__init__.pyi +6 -6
  28. bl_ui/properties_grease_pencil_common/__init__.pyi +72 -72
  29. bl_ui/properties_mask_common/__init__.pyi +36 -36
  30. bl_ui/properties_material/__init__.pyi +6 -6
  31. bl_ui/properties_material_gpencil/__init__.pyi +12 -12
  32. bl_ui/properties_object/__init__.pyi +6 -6
  33. bl_ui/properties_output/__init__.pyi +18 -18
  34. bl_ui/properties_paint_common/__init__.pyi +6 -6
  35. bl_ui/properties_particle/__init__.pyi +12 -12
  36. bl_ui/properties_physics_cloth/__init__.pyi +6 -6
  37. bl_ui/properties_physics_fluid/__init__.pyi +6 -6
  38. bl_ui/properties_render/__init__.pyi +7 -7
  39. bl_ui/properties_texture/__init__.pyi +6 -6
  40. bl_ui/properties_view_layer/__init__.pyi +6 -6
  41. bl_ui/space_clip/__init__.pyi +186 -186
  42. bl_ui/space_console/__init__.pyi +30 -30
  43. bl_ui/space_dopesheet/__init__.pyi +84 -84
  44. bl_ui/space_filebrowser/__init__.pyi +78 -78
  45. bl_ui/space_graph/__init__.pyi +96 -96
  46. bl_ui/space_image/__init__.pyi +138 -138
  47. bl_ui/space_info/__init__.pyi +30 -30
  48. bl_ui/space_nla/__init__.pyi +78 -78
  49. bl_ui/space_node/__init__.pyi +72 -72
  50. bl_ui/space_outliner/__init__.pyi +72 -72
  51. bl_ui/space_sequencer/__init__.pyi +204 -204
  52. bl_ui/space_text/__init__.pyi +72 -72
  53. bl_ui/space_time/__init__.pyi +24 -24
  54. bl_ui/space_toolsystem_toolbar/__init__.pyi +4 -0
  55. bl_ui/space_topbar/__init__.pyi +114 -114
  56. bl_ui/space_userpref/__init__.pyi +36 -36
  57. bl_ui/space_view3d/__init__.pyi +1446 -1176
  58. bl_ui/space_view3d_toolbar/__init__.pyi +30 -30
  59. bl_ui/utils/__init__.pyi +6 -6
  60. bmesh/geometry/__init__.pyi +2 -2
  61. bmesh/ops/__init__.pyi +55 -54
  62. bmesh/types/__init__.pyi +43 -33
  63. bmesh/utils/__init__.pyi +2 -2
  64. bpy/app/__init__.pyi +5 -1
  65. bpy/app/handlers/__init__.pyi +37 -37
  66. bpy/app/icons/__init__.pyi +4 -4
  67. bpy/app/timers/__init__.pyi +6 -6
  68. bpy/ops/action/__init__.pyi +21 -0
  69. bpy/ops/anim/__init__.pyi +34 -0
  70. bpy/ops/armature/__init__.pyi +31 -0
  71. bpy/ops/asset/__init__.pyi +5 -0
  72. bpy/ops/bl_pkg/__init__.pyi +32 -21
  73. bpy/ops/boid/__init__.pyi +1 -0
  74. bpy/ops/brush/__init__.pyi +6 -0
  75. bpy/ops/buttons/__init__.pyi +2 -0
  76. bpy/ops/cachefile/__init__.pyi +3 -0
  77. bpy/ops/camera/__init__.pyi +2 -0
  78. bpy/ops/clip/__init__.pyi +49 -0
  79. bpy/ops/cloth/__init__.pyi +1 -0
  80. bpy/ops/collection/__init__.pyi +7 -0
  81. bpy/ops/console/__init__.pyi +11 -0
  82. bpy/ops/constraint/__init__.pyi +15 -0
  83. bpy/ops/curve/__init__.pyi +28 -0
  84. bpy/ops/curves/__init__.pyi +14 -0
  85. bpy/ops/cycles/__init__.pyi +2 -0
  86. bpy/ops/dpaint/__init__.pyi +2 -0
  87. bpy/ops/ed/__init__.pyi +3 -0
  88. bpy/ops/export_anim/__init__.pyi +1 -0
  89. bpy/ops/export_scene/__init__.pyi +20 -3
  90. bpy/ops/file/__init__.pyi +14 -0
  91. bpy/ops/fluid/__init__.pyi +1 -0
  92. bpy/ops/font/__init__.pyi +13 -0
  93. bpy/ops/geometry/__init__.pyi +7 -0
  94. bpy/ops/gizmogroup/__init__.pyi +1 -0
  95. bpy/ops/gpencil/__init__.pyi +106 -0
  96. bpy/ops/graph/__init__.pyi +47 -0
  97. bpy/ops/grease_pencil/__init__.pyi +52 -0
  98. bpy/ops/image/__init__.pyi +308 -0
  99. bpy/ops/import_anim/__init__.pyi +1 -0
  100. bpy/ops/import_curve/__init__.pyi +1 -0
  101. bpy/ops/import_scene/__init__.pyi +2 -0
  102. bpy/ops/info/__init__.pyi +3 -0
  103. bpy/ops/lattice/__init__.pyi +5 -0
  104. bpy/ops/marker/__init__.pyi +9 -0
  105. bpy/ops/mask/__init__.pyi +22 -0
  106. bpy/ops/mball/__init__.pyi +7 -0
  107. bpy/ops/mesh/__init__.pyi +134 -0
  108. bpy/ops/nla/__init__.pyi +20 -0
  109. bpy/ops/node/__init__.pyi +65 -0
  110. bpy/ops/object/__init__.pyi +174 -0
  111. bpy/ops/outliner/__init__.pyi +25 -0
  112. bpy/ops/paint/__init__.pyi +105 -0
  113. bpy/ops/paintcurve/__init__.pyi +4 -0
  114. bpy/ops/palette/__init__.pyi +4 -0
  115. bpy/ops/particle/__init__.pyi +17 -0
  116. bpy/ops/pose/__init__.pyi +24 -0
  117. bpy/ops/poselib/__init__.pyi +4 -0
  118. bpy/ops/preferences/__init__.pyi +28 -16
  119. bpy/ops/ptcache/__init__.pyi +2 -0
  120. bpy/ops/render/__init__.pyi +9 -0
  121. bpy/ops/rigidbody/__init__.pyi +7 -0
  122. bpy/ops/scene/__init__.pyi +16 -0
  123. bpy/ops/screen/__init__.pyi +21 -0
  124. bpy/ops/script/__init__.pyi +2 -0
  125. bpy/ops/sculpt/__init__.pyi +151 -0
  126. bpy/ops/sculpt_curves/__init__.pyi +3 -0
  127. bpy/ops/sequencer/__init__.pyi +57 -0
  128. bpy/ops/sound/__init__.pyi +4 -0
  129. bpy/ops/spreadsheet/__init__.pyi +2 -0
  130. bpy/ops/surface/__init__.pyi +6 -0
  131. bpy/ops/text/__init__.pyi +18 -0
  132. bpy/ops/text_editor/__init__.pyi +1 -0
  133. bpy/ops/texture/__init__.pyi +1 -0
  134. bpy/ops/transform/__init__.pyi +25 -0
  135. bpy/ops/ui/__init__.pyi +13 -0
  136. bpy/ops/uilist/__init__.pyi +3 -0
  137. bpy/ops/uv/__init__.pyi +40 -0
  138. bpy/ops/view2d/__init__.pyi +11 -0
  139. bpy/ops/view3d/__init__.pyi +30 -0
  140. bpy/ops/wm/__init__.pyi +114 -0
  141. bpy/ops/workspace/__init__.pyi +1 -0
  142. bpy/path/__init__.pyi +6 -6
  143. bpy/props/__init__.pyi +27 -15
  144. bpy/types/__init__.pyi +662 -388
  145. bpy/utils/__init__.pyi +12 -10
  146. bpy_extras/anim_utils/__init__.pyi +7 -7
  147. bpy_extras/io_utils/__init__.pyi +4 -4
  148. bpy_extras/mesh_utils/__init__.pyi +4 -4
  149. bpy_extras/object_utils/__init__.pyi +8 -8
  150. bpy_extras/view3d_utils/__init__.pyi +2 -0
  151. bpy_types/__init__.pyi +12 -12
  152. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/METADATA +1 -1
  153. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/RECORD +167 -163
  154. freestyle/shaders/__init__.pyi +2 -2
  155. freestyle/types/__init__.pyi +64 -56
  156. gpu/matrix/__init__.pyi +6 -6
  157. gpu/types/__init__.pyi +14 -10
  158. gpu_extras/batch/__init__.pyi +1 -1
  159. gpu_extras/presets/__init__.pyi +1 -1
  160. imbuf/__init__.pyi +2 -2
  161. mathutils/__init__.pyi +176 -137
  162. mathutils/bvhtree/__init__.pyi +4 -4
  163. mathutils/geometry/__init__.pyi +139 -139
  164. mathutils/kdtree/__init__.pyi +14 -10
  165. mathutils/noise/__init__.pyi +26 -26
  166. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/WHEEL +0 -0
  167. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/top_level.txt +0 -0
bmesh/types/__init__.pyi CHANGED
@@ -253,11 +253,11 @@ class BMEdgeSeq:
253
253
  """Ensure internal data needed for int subscription is initialized with verts/edges/faces, eg bm.verts[index].This needs to be called again after adding/removing data in this sequence."""
254
254
  ...
255
255
 
256
- def get(self, verts: BMVert, fallback=None) -> BMEdge:
256
+ def get(self, verts: collections.abc.Iterable[BMVert], fallback=None) -> BMEdge:
257
257
  """Return an edge which uses the verts passed.
258
258
 
259
259
  :param verts: Sequence of verts.
260
- :type verts: BMVert
260
+ :type verts: collections.abc.Iterable[BMVert]
261
261
  :param fallback: Return this value if nothing is found.
262
262
  :return: The edge found or None
263
263
  :rtype: BMEdge
@@ -268,21 +268,22 @@ class BMEdgeSeq:
268
268
  """Initialize the index values of this sequence.This is the equivalent of looping over all elements and assigning the index values."""
269
269
  ...
270
270
 
271
- def new(self, verts, example: BMEdge = None) -> BMEdge:
271
+ def new(self, verts, example: BMEdge | None = None) -> BMEdge:
272
272
  """Create a new edge from a given pair of verts.
273
273
 
274
274
  :param verts: Vertex pair.
275
275
  :param example: Existing edge to initialize settings (optional argument).
276
- :type example: BMEdge
276
+ :type example: BMEdge | None
277
277
  :return: The newly created edge.
278
278
  :rtype: BMEdge
279
279
  """
280
280
  ...
281
281
 
282
- def remove(self, edge):
282
+ def remove(self, edge: BMEdge):
283
283
  """Remove an edge.
284
284
 
285
285
  :param edge:
286
+ :type edge: BMEdge
286
287
  """
287
288
  ...
288
289
 
@@ -491,10 +492,10 @@ class BMFace:
491
492
  :type: int
492
493
  """
493
494
 
494
- normal: typing.Sequence[float] | mathutils.Vector
495
+ normal: collections.abc.Sequence[float] | mathutils.Vector
495
496
  """ The normal for this face as a 3D, wrapped vector.
496
497
 
497
- :type: typing.Sequence[float] | mathutils.Vector
498
+ :type: collections.abc.Sequence[float] | mathutils.Vector
498
499
  """
499
500
 
500
501
  select: bool
@@ -668,11 +669,11 @@ class BMFaceSeq:
668
669
  """Ensure internal data needed for int subscription is initialized with verts/edges/faces, eg bm.verts[index].This needs to be called again after adding/removing data in this sequence."""
669
670
  ...
670
671
 
671
- def get(self, verts: BMVert, fallback=None) -> BMFace:
672
+ def get(self, verts: collections.abc.Iterable[BMVert], fallback=None) -> BMFace:
672
673
  """Return a face which uses the verts passed.
673
674
 
674
675
  :param verts: Sequence of verts.
675
- :type verts: BMVert
676
+ :type verts: collections.abc.Iterable[BMVert]
676
677
  :param fallback: Return this value if nothing is found.
677
678
  :return: The face found or None
678
679
  :rtype: BMFace
@@ -683,22 +684,25 @@ class BMFaceSeq:
683
684
  """Initialize the index values of this sequence.This is the equivalent of looping over all elements and assigning the index values."""
684
685
  ...
685
686
 
686
- def new(self, verts: typing.Iterable[BMVert], example: BMFace = None) -> BMFace:
687
+ def new(
688
+ self, verts: collections.abc.Iterable[BMVert], example: BMFace | None = None
689
+ ) -> BMFace:
687
690
  """Create a new face from a given set of verts.
688
691
 
689
692
  :param verts: Sequence of 3 or more verts.
690
- :type verts: typing.Iterable[BMVert]
693
+ :type verts: collections.abc.Iterable[BMVert]
691
694
  :param example: Existing face to initialize settings (optional argument).
692
- :type example: BMFace
695
+ :type example: BMFace | None
693
696
  :return: The newly created face.
694
697
  :rtype: BMFace
695
698
  """
696
699
  ...
697
700
 
698
- def remove(self, face):
701
+ def remove(self, face: BMFace):
699
702
  """Remove a face.
700
703
 
701
704
  :param face:
705
+ :type face: BMFace
702
706
  """
703
707
  ...
704
708
 
@@ -1008,11 +1012,11 @@ class BMLayerCollection:
1008
1012
  """
1009
1013
  ...
1010
1014
 
1011
- def new(self, name: str) -> BMLayerItem:
1015
+ def new(self, name: str | None) -> BMLayerItem:
1012
1016
  """Create a new layer
1013
1017
 
1014
1018
  :param name: Optional name argument (will be made unique).
1015
- :type name: str
1019
+ :type name: str | None
1016
1020
  :return: The newly created layer.
1017
1021
  :rtype: BMLayerItem
1018
1022
  """
@@ -1052,10 +1056,11 @@ class BMLayerItem:
1052
1056
  :type: str
1053
1057
  """
1054
1058
 
1055
- def copy_from(self, other):
1059
+ def copy_from(self, other: BMLayerItem):
1056
1060
  """Return a copy of the layer
1057
1061
 
1058
- :param other: Another layer to copy from.`BMLayerItem`
1062
+ :param other: Another layer to copy from.
1063
+ :type other: BMLayerItem
1059
1064
  """
1060
1065
  ...
1061
1066
 
@@ -1169,16 +1174,16 @@ class BMLoop:
1169
1174
  ...
1170
1175
 
1171
1176
  def copy_from_face_interp(
1172
- self, face: BMFace, vert: bool = True, multires: bool = True
1177
+ self, face: BMFace, vert: bool | None = True, multires: bool | None = True
1173
1178
  ):
1174
1179
  """Interpolate the customdata from a face onto this loop (the loops vert should overlap the face).
1175
1180
 
1176
1181
  :param face: The face to interpolate data from.
1177
1182
  :type face: BMFace
1178
1183
  :param vert: When enabled, interpolate the loops vertex data (optional).
1179
- :type vert: bool
1184
+ :type vert: bool | None
1180
1185
  :param multires: When enabled, interpolate the loops multires data (optional).
1181
- :type multires: bool
1186
+ :type multires: bool | None
1182
1187
  """
1183
1188
  ...
1184
1189
 
@@ -1262,19 +1267,19 @@ class BMLoopUV:
1262
1267
  :type: bool
1263
1268
  """
1264
1269
 
1265
- uv: typing.Sequence[float] | mathutils.Vector
1270
+ uv: collections.abc.Sequence[float] | mathutils.Vector
1266
1271
  """ Loops UV (as a 2D Vector).
1267
1272
 
1268
- :type: typing.Sequence[float] | mathutils.Vector
1273
+ :type: collections.abc.Sequence[float] | mathutils.Vector
1269
1274
  """
1270
1275
 
1271
1276
  class BMVert:
1272
1277
  """The BMesh vertex type"""
1273
1278
 
1274
- co: typing.Sequence[float] | mathutils.Vector
1279
+ co: collections.abc.Sequence[float] | mathutils.Vector
1275
1280
  """ The coordinates for this vertex as a 3D, wrapped vector.
1276
1281
 
1277
- :type: typing.Sequence[float] | mathutils.Vector
1282
+ :type: collections.abc.Sequence[float] | mathutils.Vector
1278
1283
  """
1279
1284
 
1280
1285
  hide: bool
@@ -1331,10 +1336,10 @@ class BMVert:
1331
1336
  :type: list[BMLoop] | BMElemSeq
1332
1337
  """
1333
1338
 
1334
- normal: typing.Sequence[float] | mathutils.Vector
1339
+ normal: collections.abc.Sequence[float] | mathutils.Vector
1335
1340
  """ The normal for this vertex as a 3D, wrapped vector.
1336
1341
 
1337
- :type: typing.Sequence[float] | mathutils.Vector
1342
+ :type: collections.abc.Sequence[float] | mathutils.Vector
1338
1343
  """
1339
1344
 
1340
1345
  select: bool
@@ -1385,12 +1390,13 @@ class BMVert:
1385
1390
  """
1386
1391
  ...
1387
1392
 
1388
- def copy_from_vert_interp(self, vert_pair: BMVert, fac):
1393
+ def copy_from_vert_interp(self, vert_pair: BMVert, fac: float):
1389
1394
  """Interpolate the customdata from a vert between 2 other verts.
1390
1395
 
1391
1396
  :param vert_pair: The vert to interpolate data from.
1392
1397
  :type vert_pair: BMVert
1393
1398
  :param fac:
1399
+ :type fac: float
1394
1400
  """
1395
1401
  ...
1396
1402
 
@@ -1436,13 +1442,13 @@ class BMVertSeq:
1436
1442
 
1437
1443
  def new(
1438
1444
  self,
1439
- co: typing.Sequence[float] | mathutils.Vector = (0.0, 0.0, 0.0),
1445
+ co: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
1440
1446
  example: BMVert = None,
1441
1447
  ) -> BMVert:
1442
1448
  """Create a new vertex.
1443
1449
 
1444
1450
  :param co: The initial location of the vertex (optional argument).
1445
- :type co: typing.Sequence[float] | mathutils.Vector
1451
+ :type co: collections.abc.Sequence[float] | mathutils.Vector | None
1446
1452
  :param example: Existing vert to initialize settings.
1447
1453
  :type example: BMVert
1448
1454
  :return: The newly created vertex.
@@ -1450,10 +1456,11 @@ class BMVertSeq:
1450
1456
  """
1451
1457
  ...
1452
1458
 
1453
- def remove(self, vert):
1459
+ def remove(self, vert: BMVert):
1454
1460
  """Remove a vert.
1455
1461
 
1456
1462
  :param vert:
1463
+ :type vert: BMVert
1457
1464
  """
1458
1465
  ...
1459
1466
 
@@ -1608,8 +1615,8 @@ class BMesh:
1608
1615
  def from_mesh(
1609
1616
  self,
1610
1617
  mesh: bpy.types.Mesh,
1611
- face_normals=True,
1612
- vertex_normals=True,
1618
+ face_normals: bool = True,
1619
+ vertex_normals: bool = True,
1613
1620
  use_shape_key: bool = False,
1614
1621
  shape_key_index: int = 0,
1615
1622
  ):
@@ -1618,7 +1625,9 @@ class BMesh:
1618
1625
  :param mesh: The mesh data to load.
1619
1626
  :type mesh: bpy.types.Mesh
1620
1627
  :param face_normals:
1628
+ :type face_normals: bool
1621
1629
  :param vertex_normals:
1630
+ :type vertex_normals: bool
1622
1631
  :param use_shape_key: Use the locations from a shape key.
1623
1632
  :type use_shape_key: bool
1624
1633
  :param shape_key_index: The shape key index to use.
@@ -1629,7 +1638,7 @@ class BMesh:
1629
1638
  def from_object(
1630
1639
  self,
1631
1640
  object: bpy.types.Object,
1632
- depsgraph,
1641
+ depsgraph: bpy.types.Depsgraph,
1633
1642
  cage: bool = False,
1634
1643
  face_normals: bool = True,
1635
1644
  vertex_normals: bool = True,
@@ -1639,6 +1648,7 @@ class BMesh:
1639
1648
  :param object: The object data to load.
1640
1649
  :type object: bpy.types.Object
1641
1650
  :param depsgraph:
1651
+ :type depsgraph: bpy.types.Depsgraph
1642
1652
  :param cage: Get the mesh as a deformed cage.
1643
1653
  :type cage: bool
1644
1654
  :param face_normals: Calculate face normals.
bmesh/utils/__init__.pyi CHANGED
@@ -61,7 +61,7 @@ def face_split(
61
61
  face: bmesh.types.BMFace,
62
62
  vert_a: bmesh.types.BMVert,
63
63
  vert_b: bmesh.types.BMVert,
64
- coords: list[float] = (),
64
+ coords: list[float] | None = (),
65
65
  use_exist: bool = True,
66
66
  example: bmesh.types.BMEdge = None,
67
67
  ) -> tuple[bmesh.types.BMFace, bmesh.types.BMLoop]:
@@ -74,7 +74,7 @@ def face_split(
74
74
  :param vert_b: Second vertex to cut in the face (face must contain the vert).
75
75
  :type vert_b: bmesh.types.BMVert
76
76
  :param coords: Optional argument to define points in between vert_a and vert_b.
77
- :type coords: list[float]
77
+ :type coords: list[float] | None
78
78
  :param use_exist: .Use an existing edge if it exists (Only used when coords argument is empty or omitted)
79
79
  :type use_exist: bool
80
80
  :param example: Newly created edge will copy settings from this one.
bpy/app/__init__.pyi CHANGED
@@ -208,6 +208,10 @@ online_access: typing.Any
208
208
  """ Boolean, true when internet access is allowed by Blender & 3rd party scripts (read-only)
209
209
  """
210
210
 
211
+ online_access_override: typing.Any
212
+ """ Boolean, true when internet access preference is overridden by the command line (read-only)
213
+ """
214
+
211
215
  opensubdiv: typing.Any
212
216
  """ Constant value bpy.app.opensubdiv(supported=True, version=(3, 6, 0), version_string=' 3, 6, 0')
213
217
  """
@@ -244,7 +248,7 @@ use_userpref_skip_save_on_exit: typing.Any
244
248
  """ Boolean, for application behavior (started with --enable-* matching this attribute name)
245
249
  """
246
250
 
247
- version: typing.Tuple[int, int, int]
251
+ version: tuple[int, int, int]
248
252
  """ The Blender version as a tuple of 3 numbers. eg. (2, 83, 1)
249
253
  """
250
254
 
@@ -45,79 +45,79 @@ import bpy.types
45
45
 
46
46
  GenericType1 = typing.TypeVar("GenericType1")
47
47
  GenericType2 = typing.TypeVar("GenericType2")
48
- animation_playback_post: list[typing.Callable[[bpy.types.Scene, None]]]
48
+ animation_playback_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
49
49
  """ on ending animation playback
50
50
  """
51
51
 
52
- animation_playback_pre: list[typing.Callable[[bpy.types.Scene, None]]]
52
+ animation_playback_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
53
53
  """ on starting animation playback
54
54
  """
55
55
 
56
- annotation_post: list[typing.Callable[[bpy.types.Scene, None]]]
56
+ annotation_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
57
57
  """ on drawing an annotation (after)
58
58
  """
59
59
 
60
- annotation_pre: list[typing.Callable[[bpy.types.Scene, None]]]
60
+ annotation_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
61
61
  """ on drawing an annotation (before)
62
62
  """
63
63
 
64
- composite_cancel: list[typing.Callable[[bpy.types.Scene, None]]]
64
+ composite_cancel: list[collections.abc.Callable[[bpy.types.Scene, None]]]
65
65
  """ on a compositing background job (cancel)
66
66
  """
67
67
 
68
- composite_post: list[typing.Callable[[bpy.types.Scene, None]]]
68
+ composite_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
69
69
  """ on a compositing background job (after)
70
70
  """
71
71
 
72
- composite_pre: list[typing.Callable[[bpy.types.Scene, None]]]
72
+ composite_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
73
73
  """ on a compositing background job (before)
74
74
  """
75
75
 
76
- depsgraph_update_post: list[typing.Callable[[bpy.types.Scene, None]]]
76
+ depsgraph_update_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
77
77
  """ on depsgraph update (post)
78
78
  """
79
79
 
80
- depsgraph_update_pre: list[typing.Callable[[bpy.types.Scene, None]]]
80
+ depsgraph_update_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
81
81
  """ on depsgraph update (pre)
82
82
  """
83
83
 
84
- frame_change_post: list[typing.Callable[[bpy.types.Scene, None]]]
84
+ frame_change_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
85
85
  """ Called after frame change for playback and rendering, after the data has been evaluated for the new frame.
86
86
  """
87
87
 
88
- frame_change_pre: list[typing.Callable[[bpy.types.Scene, None]]]
88
+ frame_change_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
89
89
  """ Called after frame change for playback and rendering, before any data is evaluated for the new frame. This makes it possible to change data and relations (for example swap an object to another mesh) for the new frame. Note that this handler is not to be used as 'before the frame changes' event. The dependency graph is not available in this handler, as data and relations may have been altered and the dependency graph has not yet been updated for that.
90
90
  """
91
91
 
92
- load_factory_preferences_post: list[typing.Callable[[bpy.types.Scene, None]]]
92
+ load_factory_preferences_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
93
93
  """ on loading factory preferences (after)
94
94
  """
95
95
 
96
- load_factory_startup_post: list[typing.Callable[[bpy.types.Scene, None]]]
96
+ load_factory_startup_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
97
97
  """ on loading factory startup (after)
98
98
  """
99
99
 
100
- load_post: list[typing.Callable[[bpy.types.Scene, None]]]
100
+ load_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
101
101
  """ on loading a new blend file (after). Accepts one argument: the file being loaded, an empty string for the startup-file.
102
102
  """
103
103
 
104
- load_post_fail: list[typing.Callable[[bpy.types.Scene, None]]]
104
+ load_post_fail: list[collections.abc.Callable[[bpy.types.Scene, None]]]
105
105
  """ on failure to load a new blend file (after). Accepts one argument: the file being loaded, an empty string for the startup-file.
106
106
  """
107
107
 
108
- load_pre: list[typing.Callable[[bpy.types.Scene, None]]]
108
+ load_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
109
109
  """ on loading a new blend file (before).Accepts one argument: the file being loaded, an empty string for the startup-file.
110
110
  """
111
111
 
112
- object_bake_cancel: list[typing.Callable[[bpy.types.Scene, None]]]
112
+ object_bake_cancel: list[collections.abc.Callable[[bpy.types.Scene, None]]]
113
113
  """ on canceling a bake job; will be called in the main thread
114
114
  """
115
115
 
116
- object_bake_complete: list[typing.Callable[[bpy.types.Scene, None]]]
116
+ object_bake_complete: list[collections.abc.Callable[[bpy.types.Scene, None]]]
117
117
  """ on completing a bake job; will be called in the main thread
118
118
  """
119
119
 
120
- object_bake_pre: list[typing.Callable[[bpy.types.Scene, None]]]
120
+ object_bake_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
121
121
  """ before starting a bake job
122
122
  """
123
123
 
@@ -125,70 +125,70 @@ persistent: typing.Any
125
125
  """ Function decorator for callback functions not to be removed when loading new files
126
126
  """
127
127
 
128
- redo_post: list[typing.Callable[[bpy.types.Scene, None]]]
128
+ redo_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
129
129
  """ on loading a redo step (after)
130
130
  """
131
131
 
132
- redo_pre: list[typing.Callable[[bpy.types.Scene, None]]]
132
+ redo_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
133
133
  """ on loading a redo step (before)
134
134
  """
135
135
 
136
- render_cancel: list[typing.Callable[[bpy.types.Scene, None]]]
136
+ render_cancel: list[collections.abc.Callable[[bpy.types.Scene, None]]]
137
137
  """ on canceling a render job
138
138
  """
139
139
 
140
- render_complete: list[typing.Callable[[bpy.types.Scene, None]]]
140
+ render_complete: list[collections.abc.Callable[[bpy.types.Scene, None]]]
141
141
  """ on completion of render job
142
142
  """
143
143
 
144
- render_init: list[typing.Callable[[bpy.types.Scene, None]]]
144
+ render_init: list[collections.abc.Callable[[bpy.types.Scene, None]]]
145
145
  """ on initialization of a render job
146
146
  """
147
147
 
148
- render_post: list[typing.Callable[[bpy.types.Scene, None]]]
148
+ render_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
149
149
  """ on render (after)
150
150
  """
151
151
 
152
- render_pre: list[typing.Callable[[bpy.types.Scene, None]]]
152
+ render_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
153
153
  """ on render (before)
154
154
  """
155
155
 
156
- render_stats: list[typing.Callable[[bpy.types.Scene, None]]]
157
- """ on printing render statistics
156
+ render_stats: list[collections.abc.Callable[[bpy.types.Scene, None]]]
157
+ """ on printing render statistics. Accepts one argument: the render stats (render/saving time plus in background mode frame/used [peak] memory).
158
158
  """
159
159
 
160
- render_write: list[typing.Callable[[bpy.types.Scene, None]]]
160
+ render_write: list[collections.abc.Callable[[bpy.types.Scene, None]]]
161
161
  """ on writing a render frame (directly after the frame is written)
162
162
  """
163
163
 
164
- save_post: list[typing.Callable[[bpy.types.Scene, None]]]
164
+ save_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
165
165
  """ on saving a blend file (after). Accepts one argument: the file being saved, an empty string for the startup-file.
166
166
  """
167
167
 
168
- save_post_fail: list[typing.Callable[[bpy.types.Scene, None]]]
168
+ save_post_fail: list[collections.abc.Callable[[bpy.types.Scene, None]]]
169
169
  """ on failure to save a blend file (after). Accepts one argument: the file being saved, an empty string for the startup-file.
170
170
  """
171
171
 
172
- save_pre: list[typing.Callable[[bpy.types.Scene, None]]]
172
+ save_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
173
173
  """ on saving a blend file (before). Accepts one argument: the file being saved, an empty string for the startup-file.
174
174
  """
175
175
 
176
- translation_update_post: list[typing.Callable[[bpy.types.Scene, None]]]
176
+ translation_update_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
177
177
  """ on translation settings update
178
178
  """
179
179
 
180
- undo_post: list[typing.Callable[[bpy.types.Scene, None]]]
180
+ undo_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
181
181
  """ on loading an undo step (after)
182
182
  """
183
183
 
184
- undo_pre: list[typing.Callable[[bpy.types.Scene, None]]]
184
+ undo_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
185
185
  """ on loading an undo step (before)
186
186
  """
187
187
 
188
- version_update: list[typing.Callable[[bpy.types.Scene, None]]]
188
+ version_update: list[collections.abc.Callable[[bpy.types.Scene, None]]]
189
189
  """ on ending the versioning code
190
190
  """
191
191
 
192
- xr_session_start_pre: list[typing.Callable[[bpy.types.Scene, None]]]
192
+ xr_session_start_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
193
193
  """ on starting an xr session (before)
194
194
  """
@@ -6,17 +6,17 @@ GenericType2 = typing.TypeVar("GenericType2")
6
6
 
7
7
  def new_triangles(
8
8
  range: tuple | None,
9
- coords: typing.Sequence[bytes] | None,
10
- colors: typing.Sequence[bytes] | None,
9
+ coords: collections.abc.Sequence[bytes] | None,
10
+ colors: collections.abc.Sequence[bytes] | None,
11
11
  ) -> int:
12
12
  """Create a new icon from triangle geometry.
13
13
 
14
14
  :param range: Pair of ints.
15
15
  :type range: tuple | None
16
16
  :param coords: Sequence of bytes (6 floats for one triangle) for (X, Y) coordinates.
17
- :type coords: typing.Sequence[bytes] | None
17
+ :type coords: collections.abc.Sequence[bytes] | None
18
18
  :param colors: Sequence of ints (12 for one triangles) for RGBA.
19
- :type colors: typing.Sequence[bytes] | None
19
+ :type colors: collections.abc.Sequence[bytes] | None
20
20
  :return: Unique icon value (pass to interface icon_value argument).
21
21
  :rtype: int
22
22
  """
@@ -36,18 +36,18 @@ import collections.abc
36
36
  GenericType1 = typing.TypeVar("GenericType1")
37
37
  GenericType2 = typing.TypeVar("GenericType2")
38
38
 
39
- def is_registered(function: typing.Callable[[], float]) -> bool:
39
+ def is_registered(function: collections.abc.Callable[[], float]) -> bool:
40
40
  """Check if this function is registered as a timer.
41
41
 
42
42
  :param function: Function to check.
43
- :type function: typing.Callable[[], float]
43
+ :type function: collections.abc.Callable[[], float]
44
44
  :return: True when this function is registered, otherwise False.
45
45
  :rtype: bool
46
46
  """
47
47
 
48
48
  ...
49
49
 
50
- def register(function: typing.Callable[[], float]):
50
+ def register(function: collections.abc.Callable[[], float]):
51
51
  """Add a new function that will be called after the specified amount of seconds.
52
52
  The function gets no arguments and is expected to return either None or a float.
53
53
  If None is returned, the timer will be unregistered.
@@ -55,16 +55,16 @@ def register(function: typing.Callable[[], float]):
55
55
  functools.partial can be used to assign some parameters.
56
56
 
57
57
  :param function: The function that should called.
58
- :type function: typing.Callable[[], float]
58
+ :type function: collections.abc.Callable[[], float]
59
59
  """
60
60
 
61
61
  ...
62
62
 
63
- def unregister(function: typing.Callable[[], float]):
63
+ def unregister(function: collections.abc.Callable[[], float]):
64
64
  """Unregister timer.
65
65
 
66
66
  :param function: Function to unregister.
67
- :type function: typing.Callable[[], float]
67
+ :type function: collections.abc.Callable[[], float]
68
68
  """
69
69
 
70
70
  ...