fake-bpy-module 20241102__py3-none-any.whl → 20241111__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 (57) hide show
  1. addon_utils/__init__.pyi +28 -13
  2. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -2
  3. bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -6
  4. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -2
  5. bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -6
  6. bl_operators/image_as_planes/__init__.pyi +12 -39
  7. bl_operators/uvcalc_transform/__init__.pyi +4 -42
  8. bl_operators/wm/__init__.pyi +8 -0
  9. bl_ui/generic_ui_list/__init__.pyi +2 -1
  10. bl_ui/properties_grease_pencil_common/__init__.pyi +0 -7
  11. bl_ui/space_userpref/__init__.pyi +2 -2
  12. blf/__init__.pyi +3 -5
  13. bmesh/ops/__init__.pyi +53 -110
  14. bmesh/types/__init__.pyi +22 -33
  15. bmesh/utils/__init__.pyi +6 -16
  16. bpy/app/icons/__init__.pyi +5 -11
  17. bpy/app/translations/__init__.pyi +7 -14
  18. bpy/msgbus/__init__.pyi +7 -8
  19. bpy/ops/curves/__init__.pyi +16 -0
  20. bpy/ops/nla/__init__.pyi +1 -1
  21. bpy/ops/sequencer/__init__.pyi +3 -0
  22. bpy/path/__init__.pyi +6 -16
  23. bpy/props/__init__.pyi +122 -135
  24. bpy/types/__init__.pyi +368 -606
  25. bpy/utils/__init__.pyi +30 -29
  26. bpy/utils/previews/__init__.pyi +1 -2
  27. bpy/utils/units/__init__.pyi +1 -2
  28. bpy_extras/anim_utils/__init__.pyi +8 -12
  29. bpy_extras/bmesh_utils/__init__.pyi +1 -2
  30. bpy_extras/image_utils/__init__.pyi +2 -5
  31. bpy_extras/io_utils/__init__.pyi +8 -14
  32. bpy_extras/mesh_utils/__init__.pyi +14 -29
  33. bpy_extras/object_utils/__init__.pyi +1 -1
  34. bpy_extras/view3d_utils/__init__.pyi +3 -10
  35. {fake_bpy_module-20241102.dist-info → fake_bpy_module-20241111.dist-info}/METADATA +1 -1
  36. {fake_bpy_module-20241102.dist-info → fake_bpy_module-20241111.dist-info}/RECORD +57 -57
  37. freestyle/chainingiterators/__init__.pyi +2 -7
  38. freestyle/functions/__init__.pyi +4 -16
  39. freestyle/types/__init__.pyi +29 -63
  40. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  41. freestyle/utils/__init__.pyi +1 -2
  42. gpu/__init__.pyi +19 -5
  43. gpu/matrix/__init__.pyi +2 -2
  44. gpu/state/__init__.pyi +16 -8
  45. gpu/types/__init__.pyi +14 -29
  46. gpu_extras/batch/__init__.pyi +9 -9
  47. gpu_extras/presets/__init__.pyi +4 -11
  48. idprop/types/__init__.pyi +1 -2
  49. imbuf/__init__.pyi +2 -4
  50. mathutils/__init__.pyi +30 -95
  51. mathutils/bvhtree/__init__.pyi +14 -18
  52. mathutils/geometry/__init__.pyi +39 -52
  53. mathutils/interpolate/__init__.pyi +2 -2
  54. mathutils/kdtree/__init__.pyi +13 -28
  55. rna_info/__init__.pyi +1 -2
  56. {fake_bpy_module-20241102.dist-info → fake_bpy_module-20241111.dist-info}/WHEEL +0 -0
  57. {fake_bpy_module-20241102.dist-info → fake_bpy_module-20241111.dist-info}/top_level.txt +0 -0
bpy/types/__init__.pyi CHANGED
@@ -10526,7 +10526,6 @@ The USDHookExample
10526
10526
 
10527
10527
  --------------------
10528
10528
 
10529
- * bpy.context.active_gpencil_frame
10530
10529
  * GreasePencilv3.layers
10531
10530
  * GreasePencilv3Layers.active
10532
10531
  * GreasePencilv3Layers.move
@@ -35695,8 +35694,6 @@ Executing the operator will then print all values.
35695
35694
  --------------------
35696
35695
 
35697
35696
  * bpy.context.active_annotation_layer
35698
- * bpy.context.active_gpencil_layer
35699
- * bpy.context.visible_gpencil_layers
35700
35697
  * GreasePencil.layers
35701
35698
  * GreasePencilLayers.new
35702
35699
  * GreasePencilLayers.remove
@@ -52833,7 +52830,6 @@ at its creation, all editing in the original image's buffer is 'lost' in its cop
52833
52830
 
52834
52831
  * bpy.context.annotation_data
52835
52832
  * bpy.context.gpencil
52836
- * bpy.context.gpencil_data
52837
52833
  * BlendData.grease_pencils
52838
52834
  * BlendDataGreasePencils.new
52839
52835
  * BlendDataGreasePencils.remove
@@ -73931,7 +73927,6 @@ Menu.poll function.
73931
73927
  --------------------
73932
73928
 
73933
73929
  * bpy.context.annotation_data_owner
73934
- * bpy.context.gpencil_data_owner
73935
73930
  * bpy.context.id
73936
73931
  * bpy.context.selected_ids
73937
73932
  * bpy.context.texture_user
@@ -102040,19 +102035,18 @@ class bpy_prop_collection[_GenericType1]:
102040
102035
  :rtype: list[tuple[str, _GenericType1]]
102041
102036
  """
102042
102037
 
102043
- def keys(self) -> list[str]:
102038
+ def keys(self):
102044
102039
  """Return the identifiers of collection members
102045
102040
  (matching Python's dict.keys() functionality).
102046
102041
 
102047
102042
  :return: the identifiers for each member of this collection.
102048
- :rtype: list[str]
102049
102043
  """
102050
102044
 
102051
102045
  def values(self) -> list[_GenericType1 | None]:
102052
102046
  """Return the values of collection
102053
102047
  (matching Python's dict.values() functionality).
102054
102048
 
102055
- :return: the members of this collection.
102049
+ :return: The members of this collection.
102056
102050
  :rtype: list[_GenericType1 | None]
102057
102051
  """
102058
102052
 
@@ -102154,15 +102148,14 @@ class bpy_struct[_GenericType1]:
102154
102148
  :rtype: int
102155
102149
  """
102156
102150
 
102157
- def driver_add(self, path: str | None, index: int | None = -1) -> FCurve:
102151
+ def driver_add(self, path: str | None, index: int | None = -1):
102158
102152
  """Adds driver(s) to the given property
102159
102153
 
102160
102154
  :param path: path to the property to drive, analogous to the fcurve's data path.
102161
102155
  :type path: str | None
102162
102156
  :param index: array index of the property drive. Defaults to -1 for all indices or a single channel if the property is not an array.
102163
102157
  :type index: int | None
102164
- :return: The driver(s) added.
102165
- :rtype: FCurve
102158
+ :return: The driver added or a list of drivers when index is -1.
102166
102159
  """
102167
102160
 
102168
102161
  def driver_remove(self, path: str | None, index: int | None = -1) -> bool:
@@ -102279,7 +102272,7 @@ class bpy_struct[_GenericType1]:
102279
102272
  index: int | None = -1,
102280
102273
  frame: float | None = bpy.context.scene.frame_current,
102281
102274
  group: str | None = "",
102282
- options: set | None = set(),
102275
+ options=set(),
102283
102276
  keytype: str | None = "KEYFRAME",
102284
102277
  ) -> bool:
102285
102278
  """Insert a keyframe on the property given, adding fcurves and animation data when necessary.This is the most simple example of inserting a keyframe from python.Note that when keying data paths which contain nested properties this must be
@@ -102308,7 +102301,6 @@ class bpy_struct[_GenericType1]:
102308
102301
  INSERTKEY_AVAILABLE Only insert into already existing F-Curves.
102309
102302
 
102310
102303
  INSERTKEY_CYCLE_AWARE Take cyclic extrapolation into account (Cycle-Aware Keying option).
102311
- :type options: set | None
102312
102304
  :param keytype: Type of the key: 'KEYFRAME', 'BREAKDOWN', 'MOVING_HOLD', 'EXTREME', 'JITTER', or 'GENERATED'
102313
102305
  :type keytype: str | None
102314
102306
  :return: Success of keyframe insertion.
@@ -102369,11 +102361,12 @@ class bpy_struct[_GenericType1]:
102369
102361
  :param property:
102370
102362
  """
102371
102363
 
102372
- def type_recast(self):
102364
+ def type_recast(self) -> typing_extensions.Self:
102373
102365
  """Return a new instance, this is needed because types
102374
102366
  such as textures can be changed at runtime.
102375
102367
 
102376
102368
  :return: a new instance of this object with the type initialized again.
102369
+ :rtype: typing_extensions.Self
102377
102370
  """
102378
102371
 
102379
102372
  def values(self) -> idprop.types.IDPropertyGroupViewValues:
@@ -102556,7 +102549,7 @@ class AOVs(bpy_prop_collection[AOV], bpy_struct):
102556
102549
  class ActionChannelBagFCurves(bpy_prop_collection[FCurve], bpy_struct):
102557
102550
  """Collection of F-Curves for a specific action slot, on a specific strip"""
102558
102551
 
102559
- def new(self, data_path: str, index: int | None = 0) -> FCurve:
102552
+ def new(self, data_path: str, *, index: int | None = 0) -> FCurve:
102560
102553
  """Add an F-Curve to the channelbag
102561
102554
 
102562
102555
  :param data_path: Data Path, F-Curve data path to use
@@ -102567,7 +102560,7 @@ class ActionChannelBagFCurves(bpy_prop_collection[FCurve], bpy_struct):
102567
102560
  :rtype: FCurve
102568
102561
  """
102569
102562
 
102570
- def find(self, data_path: str, index: int | None = 0) -> FCurve:
102563
+ def find(self, data_path: str, *, index: int | None = 0) -> FCurve:
102571
102564
  """Find an F-Curve. Note that this function performs a linear scan of all F-Curves in the channelbag.
102572
102565
 
102573
102566
  :param data_path: Data Path, F-Curve data path
@@ -102696,7 +102689,7 @@ class ActionFCurves(bpy_prop_collection[FCurve], bpy_struct):
102696
102689
  """Collection of action F-Curves"""
102697
102690
 
102698
102691
  def new(
102699
- self, data_path: str, index: int | None = 0, action_group: str = ""
102692
+ self, data_path: str, *, index: int | None = 0, action_group: str = ""
102700
102693
  ) -> FCurve:
102701
102694
  """Add an F-Curve to the action
102702
102695
 
@@ -102710,7 +102703,7 @@ class ActionFCurves(bpy_prop_collection[FCurve], bpy_struct):
102710
102703
  :rtype: FCurve
102711
102704
  """
102712
102705
 
102713
- def find(self, data_path: str, index: int | None = 0) -> FCurve:
102706
+ def find(self, data_path: str, *, index: int | None = 0) -> FCurve:
102714
102707
  """Find an F-Curve. Note that this function performs a linear scan of all F-Curves in the action.
102715
102708
 
102716
102709
  :param data_path: Data Path, F-Curve data path
@@ -102897,7 +102890,7 @@ class ActionSlots(bpy_prop_collection[ActionSlot], bpy_struct):
102897
102890
  :type: ActionSlot | None
102898
102891
  """
102899
102892
 
102900
- def new(self, for_id: ID | None = None) -> ActionSlot:
102893
+ def new(self, *, for_id: ID | None = None) -> ActionSlot:
102901
102894
  """Add a slot to the Action
102902
102895
 
102903
102896
  :param for_id: Data-Block, If given, the new slot will be named after this data-block, and limited to animating data-blocks of its type. If ommitted, limiting the ID type will happen as soon as the slot is assigned.
@@ -102938,7 +102931,9 @@ class ActionSlots(bpy_prop_collection[ActionSlot], bpy_struct):
102938
102931
  class ActionStrips(bpy_prop_collection[ActionStrip], bpy_struct):
102939
102932
  """Collection of animation strips"""
102940
102933
 
102941
- def new(self, type: typing.Literal["KEYFRAME"] | None = "KEYFRAME") -> ActionStrip:
102934
+ def new(
102935
+ self, *, type: typing.Literal["KEYFRAME"] | None = "KEYFRAME"
102936
+ ) -> ActionStrip:
102942
102937
  """Add a new strip to the layer. Currently a layer can only have one strip, with infinite boundaries.
102943
102938
 
102944
102939
  :param type: Type, The type of strip to create
@@ -103023,7 +103018,7 @@ class Addons(bpy_prop_collection[Addon], bpy_struct):
103023
103018
  class AnimDataDrivers(bpy_prop_collection[FCurve], bpy_struct):
103024
103019
  """Collection of Driver F-Curves"""
103025
103020
 
103026
- def new(self, data_path: str, index: int | None = 0) -> FCurve:
103021
+ def new(self, data_path: str, *, index: int | None = 0) -> FCurve:
103027
103022
  """new
103028
103023
 
103029
103024
  :param data_path: Data Path, F-Curve data path to use
@@ -103041,7 +103036,7 @@ class AnimDataDrivers(bpy_prop_collection[FCurve], bpy_struct):
103041
103036
  :type driver: FCurve
103042
103037
  """
103043
103038
 
103044
- def from_existing(self, src_driver: FCurve | None = None) -> FCurve:
103039
+ def from_existing(self, *, src_driver: FCurve | None = None) -> FCurve:
103045
103040
  """Add a new driver given an existing one
103046
103041
 
103047
103042
  :param src_driver: Existing Driver F-Curve to use as template for a new one
@@ -103050,7 +103045,7 @@ class AnimDataDrivers(bpy_prop_collection[FCurve], bpy_struct):
103050
103045
  :rtype: FCurve
103051
103046
  """
103052
103047
 
103053
- def find(self, data_path: str, index: int | None = 0) -> FCurve:
103048
+ def find(self, data_path: str, *, index: int | None = 0) -> FCurve:
103054
103049
  """Find a driver F-Curve. Note that this function performs a linear scan of all driver F-Curves.
103055
103050
 
103056
103051
  :param data_path: Data Path, F-Curve data path
@@ -103238,7 +103233,7 @@ class AssetLibraryCollection(bpy_prop_collection[UserAssetLibrary], bpy_struct):
103238
103233
  """Collection of user asset libraries"""
103239
103234
 
103240
103235
  @classmethod
103241
- def new(cls, name: str = "", directory: str = "") -> UserAssetLibrary:
103236
+ def new(cls, *, name: str = "", directory: str = "") -> UserAssetLibrary:
103242
103237
  """Add a new Asset Library
103243
103238
 
103244
103239
  :param name: Name
@@ -103282,7 +103277,7 @@ class AssetLibraryCollection(bpy_prop_collection[UserAssetLibrary], bpy_struct):
103282
103277
  class AssetTags(bpy_prop_collection[AssetTag], bpy_struct):
103283
103278
  """Collection of custom asset tags"""
103284
103279
 
103285
- def new(self, name: str, skip_if_exists: bool | None = False) -> AssetTag:
103280
+ def new(self, name: str, *, skip_if_exists: bool | None = False) -> AssetTag:
103286
103281
  """Add a new tag to this asset
103287
103282
 
103288
103283
  :param name: Name
@@ -103722,6 +103717,7 @@ class BlendDataActions(bpy_prop_collection[Action], bpy_struct):
103722
103717
  def remove(
103723
103718
  self,
103724
103719
  action: Action,
103720
+ *,
103725
103721
  do_unlink: bool | None = True,
103726
103722
  do_id_user: bool | None = True,
103727
103723
  do_ui_user: bool | None = True,
@@ -103782,6 +103778,7 @@ class BlendDataArmatures(bpy_prop_collection[Armature], bpy_struct):
103782
103778
  def remove(
103783
103779
  self,
103784
103780
  armature: Armature,
103781
+ *,
103785
103782
  do_unlink: bool | None = True,
103786
103783
  do_id_user: bool | None = True,
103787
103784
  do_ui_user: bool | None = True,
@@ -103831,7 +103828,7 @@ class BlendDataBrushes(bpy_prop_collection[Brush], bpy_struct):
103831
103828
  """Collection of brushes"""
103832
103829
 
103833
103830
  def new(
103834
- self, name: str, mode: bpy.typing.ObjectModeItems | None = "TEXTURE_PAINT"
103831
+ self, name: str, *, mode: bpy.typing.ObjectModeItems | None = "TEXTURE_PAINT"
103835
103832
  ) -> Brush:
103836
103833
  """Add a new brush to the main database
103837
103834
 
@@ -103846,6 +103843,7 @@ class BlendDataBrushes(bpy_prop_collection[Brush], bpy_struct):
103846
103843
  def remove(
103847
103844
  self,
103848
103845
  brush: Brush,
103846
+ *,
103849
103847
  do_unlink: bool | None = True,
103850
103848
  do_id_user: bool | None = True,
103851
103849
  do_ui_user: bool | None = True,
@@ -103945,6 +103943,7 @@ class BlendDataCameras(bpy_prop_collection[Camera], bpy_struct):
103945
103943
  def remove(
103946
103944
  self,
103947
103945
  camera: Camera,
103946
+ *,
103948
103947
  do_unlink: bool | None = True,
103949
103948
  do_id_user: bool | None = True,
103950
103949
  do_ui_user: bool | None = True,
@@ -104005,6 +104004,7 @@ class BlendDataCollections(bpy_prop_collection[Collection], bpy_struct):
104005
104004
  def remove(
104006
104005
  self,
104007
104006
  collection: Collection,
104007
+ *,
104008
104008
  do_unlink: bool | None = True,
104009
104009
  do_id_user: bool | None = True,
104010
104010
  do_ui_user: bool | None = True,
@@ -104067,6 +104067,7 @@ class BlendDataCurves(bpy_prop_collection[Curve], bpy_struct):
104067
104067
  def remove(
104068
104068
  self,
104069
104069
  curve: Curve,
104070
+ *,
104070
104071
  do_unlink: bool | None = True,
104071
104072
  do_id_user: bool | None = True,
104072
104073
  do_ui_user: bool | None = True,
@@ -104115,7 +104116,7 @@ class BlendDataCurves(bpy_prop_collection[Curve], bpy_struct):
104115
104116
  class BlendDataFonts(bpy_prop_collection[VectorFont], bpy_struct):
104116
104117
  """Collection of fonts"""
104117
104118
 
104118
- def load(self, filepath: str, check_existing: bool | None = False) -> VectorFont:
104119
+ def load(self, filepath: str, *, check_existing: bool | None = False) -> VectorFont:
104119
104120
  """Load a new font into the main database
104120
104121
 
104121
104122
  :param filepath: path of the font to load
@@ -104129,6 +104130,7 @@ class BlendDataFonts(bpy_prop_collection[VectorFont], bpy_struct):
104129
104130
  def remove(
104130
104131
  self,
104131
104132
  vfont: VectorFont,
104133
+ *,
104132
104134
  do_unlink: bool | None = True,
104133
104135
  do_id_user: bool | None = True,
104134
104136
  do_ui_user: bool | None = True,
@@ -104196,6 +104198,7 @@ class BlendDataGreasePencils(bpy_prop_collection[GreasePencil], bpy_struct):
104196
104198
  def remove(
104197
104199
  self,
104198
104200
  grease_pencil: GreasePencil,
104201
+ *,
104199
104202
  do_unlink: bool | None = True,
104200
104203
  do_id_user: bool | None = True,
104201
104204
  do_ui_user: bool | None = True,
@@ -104256,6 +104259,7 @@ class BlendDataGreasePencilsV3(bpy_prop_collection[GreasePencilv3], bpy_struct):
104256
104259
  def remove(
104257
104260
  self,
104258
104261
  grease_pencil: GreasePencilv3,
104262
+ *,
104259
104263
  do_unlink: bool | None = True,
104260
104264
  do_id_user: bool | None = True,
104261
104265
  do_ui_user: bool | None = True,
@@ -104309,6 +104313,7 @@ class BlendDataHairCurves(bpy_prop_collection[Curves], bpy_struct):
104309
104313
  def remove(
104310
104314
  self,
104311
104315
  curves: Curves,
104316
+ *,
104312
104317
  do_unlink: bool | None = True,
104313
104318
  do_id_user: bool | None = True,
104314
104319
  do_ui_user: bool | None = True,
@@ -104362,6 +104367,7 @@ class BlendDataImages(bpy_prop_collection[Image], bpy_struct):
104362
104367
  name: str,
104363
104368
  width: int | None,
104364
104369
  height: int | None,
104370
+ *,
104365
104371
  alpha: bool | None = False,
104366
104372
  float_buffer: bool | None = False,
104367
104373
  stereo3d: bool | None = False,
@@ -104390,7 +104396,7 @@ class BlendDataImages(bpy_prop_collection[Image], bpy_struct):
104390
104396
  :rtype: Image
104391
104397
  """
104392
104398
 
104393
- def load(self, filepath: str, check_existing: bool | None = False) -> Image:
104399
+ def load(self, filepath: str, *, check_existing: bool | None = False) -> Image:
104394
104400
  """Load a new image into the main database
104395
104401
 
104396
104402
  :param filepath: Path of the file to load
@@ -104404,6 +104410,7 @@ class BlendDataImages(bpy_prop_collection[Image], bpy_struct):
104404
104410
  def remove(
104405
104411
  self,
104406
104412
  image: Image,
104413
+ *,
104407
104414
  do_unlink: bool | None = True,
104408
104415
  do_id_user: bool | None = True,
104409
104416
  do_ui_user: bool | None = True,
@@ -104464,6 +104471,7 @@ class BlendDataLattices(bpy_prop_collection[Lattice], bpy_struct):
104464
104471
  def remove(
104465
104472
  self,
104466
104473
  lattice: Lattice,
104474
+ *,
104467
104475
  do_unlink: bool | None = True,
104468
104476
  do_id_user: bool | None = True,
104469
104477
  do_ui_user: bool | None = True,
@@ -104522,6 +104530,7 @@ class BlendDataLibraries(bpy_prop_collection[Library], bpy_struct):
104522
104530
  def remove(
104523
104531
  self,
104524
104532
  library: Library,
104533
+ *,
104525
104534
  do_unlink: bool | None = True,
104526
104535
  do_id_user: bool | None = True,
104527
104536
  do_ui_user: bool | None = True,
@@ -104562,7 +104571,7 @@ class BlendDataLibraries(bpy_prop_collection[Library], bpy_struct):
104562
104571
 
104563
104572
  def load(
104564
104573
  self,
104565
- filepath: bytes | str | None,
104574
+ filepath,
104566
104575
  link: bool | None = False,
104567
104576
  relative: bool | None = False,
104568
104577
  assets_only: bool | None = False,
@@ -104574,7 +104583,6 @@ class BlendDataLibraries(bpy_prop_collection[Library], bpy_struct):
104574
104583
  Each object has attributes matching bpy.data which are lists of strings to be linked.
104575
104584
 
104576
104585
  :param filepath: The path to a blend file.
104577
- :type filepath: bytes | str | None
104578
104586
  :param link: When False reference to the original file is lost.
104579
104587
  :type link: bool | None
104580
104588
  :param relative: When True the path is stored relative to the open blend file.
@@ -104594,8 +104602,8 @@ class BlendDataLibraries(bpy_prop_collection[Library], bpy_struct):
104594
104602
 
104595
104603
  def write(
104596
104604
  self,
104597
- filepath: bytes | str | None,
104598
- datablocks: set | None,
104605
+ filepath,
104606
+ datablocks,
104599
104607
  path_remap: str | None = False,
104600
104608
  fake_user: bool | None = False,
104601
104609
  compress: bool | None = False,
@@ -104603,9 +104611,7 @@ class BlendDataLibraries(bpy_prop_collection[Library], bpy_struct):
104603
104611
  """Write data-blocks into a blend file.
104604
104612
 
104605
104613
  :param filepath: The path to write the blend-file.
104606
- :type filepath: bytes | str | None
104607
- :param datablocks: set of data-blocks (`bpy.types.ID` instances).
104608
- :type datablocks: set | None
104614
+ :param datablocks: set of data-blocks.
104609
104615
  :param path_remap: Optionally remap paths when writing the file:
104610
104616
 
104611
104617
  NONE No path manipulation (default).
@@ -104639,6 +104645,7 @@ class BlendDataLights(bpy_prop_collection[Light], bpy_struct):
104639
104645
  def remove(
104640
104646
  self,
104641
104647
  light: Light,
104648
+ *,
104642
104649
  do_unlink: bool | None = True,
104643
104650
  do_id_user: bool | None = True,
104644
104651
  do_ui_user: bool | None = True,
@@ -104706,6 +104713,7 @@ class BlendDataLineStyles(bpy_prop_collection[FreestyleLineStyle], bpy_struct):
104706
104713
  def remove(
104707
104714
  self,
104708
104715
  linestyle: FreestyleLineStyle,
104716
+ *,
104709
104717
  do_unlink: bool | None = True,
104710
104718
  do_id_user: bool | None = True,
104711
104719
  do_ui_user: bool | None = True,
@@ -104766,6 +104774,7 @@ class BlendDataMasks(bpy_prop_collection[Mask], bpy_struct):
104766
104774
  def remove(
104767
104775
  self,
104768
104776
  mask: Mask,
104777
+ *,
104769
104778
  do_unlink: bool | None = True,
104770
104779
  do_id_user: bool | None = True,
104771
104780
  do_ui_user: bool | None = True,
@@ -104833,6 +104842,7 @@ class BlendDataMaterials(bpy_prop_collection[Material], bpy_struct):
104833
104842
  def remove(
104834
104843
  self,
104835
104844
  material: Material,
104845
+ *,
104836
104846
  do_unlink: bool | None = True,
104837
104847
  do_id_user: bool | None = True,
104838
104848
  do_ui_user: bool | None = True,
@@ -104893,6 +104903,7 @@ class BlendDataMeshes(bpy_prop_collection[Mesh], bpy_struct):
104893
104903
  def new_from_object(
104894
104904
  self,
104895
104905
  object: Object,
104906
+ *,
104896
104907
  preserve_all_data_layers: bool | None = False,
104897
104908
  depsgraph: Depsgraph | None = None,
104898
104909
  ) -> Mesh:
@@ -104911,6 +104922,7 @@ class BlendDataMeshes(bpy_prop_collection[Mesh], bpy_struct):
104911
104922
  def remove(
104912
104923
  self,
104913
104924
  mesh: Mesh,
104925
+ *,
104914
104926
  do_unlink: bool | None = True,
104915
104927
  do_id_user: bool | None = True,
104916
104928
  do_ui_user: bool | None = True,
@@ -104971,6 +104983,7 @@ class BlendDataMetaBalls(bpy_prop_collection[MetaBall], bpy_struct):
104971
104983
  def remove(
104972
104984
  self,
104973
104985
  metaball: MetaBall,
104986
+ *,
104974
104987
  do_unlink: bool | None = True,
104975
104988
  do_id_user: bool | None = True,
104976
104989
  do_ui_user: bool | None = True,
@@ -105029,6 +105042,7 @@ class BlendDataMovieClips(bpy_prop_collection[MovieClip], bpy_struct):
105029
105042
  def remove(
105030
105043
  self,
105031
105044
  clip: MovieClip,
105045
+ *,
105032
105046
  do_unlink: bool | None = True,
105033
105047
  do_id_user: bool | None = True,
105034
105048
  do_ui_user: bool | None = True,
@@ -105045,7 +105059,7 @@ class BlendDataMovieClips(bpy_prop_collection[MovieClip], bpy_struct):
105045
105059
  :type do_ui_user: bool | None
105046
105060
  """
105047
105061
 
105048
- def load(self, filepath: str, check_existing: bool | None = False) -> MovieClip:
105062
+ def load(self, filepath: str, *, check_existing: bool | None = False) -> MovieClip:
105049
105063
  """Add a new movie clip to the main database from a file (while check_existing is disabled for consistency with other load functions, behavior with multiple movie-clips using the same file may incorrectly generate proxies)
105050
105064
 
105051
105065
  :param filepath: path for the data-block
@@ -105095,6 +105109,7 @@ class BlendDataNodeTrees(bpy_prop_collection[NodeTree], bpy_struct):
105095
105109
  def remove(
105096
105110
  self,
105097
105111
  tree: NodeTree,
105112
+ *,
105098
105113
  do_unlink: bool | None = True,
105099
105114
  do_id_user: bool | None = True,
105100
105115
  do_ui_user: bool | None = True,
@@ -105157,6 +105172,7 @@ class BlendDataObjects(bpy_prop_collection[Object], bpy_struct):
105157
105172
  def remove(
105158
105173
  self,
105159
105174
  object: Object,
105175
+ *,
105160
105176
  do_unlink: bool | None = True,
105161
105177
  do_id_user: bool | None = True,
105162
105178
  do_ui_user: bool | None = True,
@@ -105249,6 +105265,7 @@ class BlendDataPalettes(bpy_prop_collection[Palette], bpy_struct):
105249
105265
  def remove(
105250
105266
  self,
105251
105267
  palette: Palette,
105268
+ *,
105252
105269
  do_unlink: bool | None = True,
105253
105270
  do_id_user: bool | None = True,
105254
105271
  do_ui_user: bool | None = True,
@@ -105309,6 +105326,7 @@ class BlendDataParticles(bpy_prop_collection[ParticleSettings], bpy_struct):
105309
105326
  def remove(
105310
105327
  self,
105311
105328
  particle: ParticleSettings,
105329
+ *,
105312
105330
  do_unlink: bool | None = True,
105313
105331
  do_id_user: bool | None = True,
105314
105332
  do_ui_user: bool | None = True,
@@ -105369,6 +105387,7 @@ class BlendDataPointClouds(bpy_prop_collection[PointCloud], bpy_struct):
105369
105387
  def remove(
105370
105388
  self,
105371
105389
  pointcloud: PointCloud,
105390
+ *,
105372
105391
  do_unlink: bool | None = True,
105373
105392
  do_id_user: bool | None = True,
105374
105393
  do_ui_user: bool | None = True,
@@ -105433,6 +105452,7 @@ class BlendDataProbes(bpy_prop_collection[LightProbe], bpy_struct):
105433
105452
  def remove(
105434
105453
  self,
105435
105454
  lightprobe: LightProbe,
105455
+ *,
105436
105456
  do_unlink: bool | None = True,
105437
105457
  do_id_user: bool | None = True,
105438
105458
  do_ui_user: bool | None = True,
@@ -105490,7 +105510,7 @@ class BlendDataScenes(bpy_prop_collection[Scene], bpy_struct):
105490
105510
  :rtype: Scene
105491
105511
  """
105492
105512
 
105493
- def remove(self, scene: Scene, do_unlink: bool | None = True):
105513
+ def remove(self, scene: Scene, *, do_unlink: bool | None = True):
105494
105514
  """Remove a scene from the current blendfile
105495
105515
 
105496
105516
  :param scene: Scene to remove
@@ -105563,7 +105583,7 @@ class BlendDataScreens(bpy_prop_collection[Screen], bpy_struct):
105563
105583
  class BlendDataSounds(bpy_prop_collection[Sound], bpy_struct):
105564
105584
  """Collection of sounds"""
105565
105585
 
105566
- def load(self, filepath: str, check_existing: bool | None = False) -> Sound:
105586
+ def load(self, filepath: str, *, check_existing: bool | None = False) -> Sound:
105567
105587
  """Add a new sound to the main database from a file
105568
105588
 
105569
105589
  :param filepath: path for the data-block
@@ -105577,6 +105597,7 @@ class BlendDataSounds(bpy_prop_collection[Sound], bpy_struct):
105577
105597
  def remove(
105578
105598
  self,
105579
105599
  sound: Sound,
105600
+ *,
105580
105601
  do_unlink: bool | None = True,
105581
105602
  do_id_user: bool | None = True,
105582
105603
  do_ui_user: bool | None = True,
@@ -105637,6 +105658,7 @@ class BlendDataSpeakers(bpy_prop_collection[Speaker], bpy_struct):
105637
105658
  def remove(
105638
105659
  self,
105639
105660
  speaker: Speaker,
105661
+ *,
105640
105662
  do_unlink: bool | None = True,
105641
105663
  do_id_user: bool | None = True,
105642
105664
  do_ui_user: bool | None = True,
@@ -105697,6 +105719,7 @@ class BlendDataTexts(bpy_prop_collection[Text], bpy_struct):
105697
105719
  def remove(
105698
105720
  self,
105699
105721
  text: Text,
105722
+ *,
105700
105723
  do_unlink: bool | None = True,
105701
105724
  do_id_user: bool | None = True,
105702
105725
  do_ui_user: bool | None = True,
@@ -105713,7 +105736,7 @@ class BlendDataTexts(bpy_prop_collection[Text], bpy_struct):
105713
105736
  :type do_ui_user: bool | None
105714
105737
  """
105715
105738
 
105716
- def load(self, filepath: str, internal: bool | None = False) -> Text:
105739
+ def load(self, filepath: str, *, internal: bool | None = False) -> Text:
105717
105740
  """Add a new text to the main database from a file
105718
105741
 
105719
105742
  :param filepath: path for the data-block
@@ -105770,6 +105793,7 @@ class BlendDataTextures(bpy_prop_collection[Texture], bpy_struct):
105770
105793
  def remove(
105771
105794
  self,
105772
105795
  texture: Texture,
105796
+ *,
105773
105797
  do_unlink: bool | None = True,
105774
105798
  do_id_user: bool | None = True,
105775
105799
  do_ui_user: bool | None = True,
@@ -105830,6 +105854,7 @@ class BlendDataVolumes(bpy_prop_collection[Volume], bpy_struct):
105830
105854
  def remove(
105831
105855
  self,
105832
105856
  volume: Volume,
105857
+ *,
105833
105858
  do_unlink: bool | None = True,
105834
105859
  do_id_user: bool | None = True,
105835
105860
  do_ui_user: bool | None = True,
@@ -105954,6 +105979,7 @@ class BlendDataWorlds(bpy_prop_collection[World], bpy_struct):
105954
105979
  def remove(
105955
105980
  self,
105956
105981
  world: World,
105982
+ *,
105957
105983
  do_unlink: bool | None = True,
105958
105984
  do_id_user: bool | None = True,
105959
105985
  do_ui_user: bool | None = True,
@@ -106106,7 +106132,7 @@ class BoneCollections(bpy_prop_collection[BoneCollection], bpy_struct):
106106
106132
  :type: bool
106107
106133
  """
106108
106134
 
106109
- def new(self, name: str, parent: BoneCollection | None = None) -> BoneCollection:
106135
+ def new(self, name: str, *, parent: BoneCollection | None = None) -> BoneCollection:
106110
106136
  """Add a new empty bone collection to the armature
106111
106137
 
106112
106138
  :param name: Name, Name of the new collection. Blender will ensure it is unique within the collections of the Armature.
@@ -106717,6 +106743,7 @@ class FCurveKeyframePoints(bpy_prop_collection[Keyframe], bpy_struct):
106717
106743
  self,
106718
106744
  frame: float | None,
106719
106745
  value: float | None,
106746
+ *,
106720
106747
  options: set[typing.Literal["REPLACE", "NEEDED", "FAST"]] | None = {},
106721
106748
  keyframe_type: bpy.typing.BeztripleKeyframeTypeItems | None = "KEYFRAME",
106722
106749
  ) -> Keyframe:
@@ -106750,7 +106777,7 @@ class FCurveKeyframePoints(bpy_prop_collection[Keyframe], bpy_struct):
106750
106777
  :type count: int | None
106751
106778
  """
106752
106779
 
106753
- def remove(self, keyframe: Keyframe, fast: bool | None = False):
106780
+ def remove(self, keyframe: Keyframe, *, fast: bool | None = False):
106754
106781
  """Remove keyframe from an F-Curve
106755
106782
 
106756
106783
  :param keyframe: Keyframe to remove
@@ -106926,7 +106953,7 @@ class GPencilFrames(bpy_prop_collection[GPencilFrame], bpy_struct):
106926
106953
  """Collection of annotation frames"""
106927
106954
 
106928
106955
  def new(
106929
- self, frame_number: int | None, active: bool | None = False
106956
+ self, frame_number: int | None, *, active: bool | None = False
106930
106957
  ) -> GPencilFrame:
106931
106958
  """Add a new annotation frame
106932
106959
 
@@ -107043,6 +107070,7 @@ class GreasePencilFrames(bpy_prop_collection[GreasePencilFrame], bpy_struct):
107043
107070
  self,
107044
107071
  from_frame_number: int | None,
107045
107072
  to_frame_number: int | None,
107073
+ *,
107046
107074
  instance_drawing: bool | None = False,
107047
107075
  ) -> GreasePencilFrame:
107048
107076
  """Copy a Grease Pencil frame
@@ -107138,7 +107166,7 @@ class GreasePencilLayers(bpy_prop_collection[GPencilLayer], bpy_struct):
107138
107166
  :type: str | None
107139
107167
  """
107140
107168
 
107141
- def new(self, name: str, set_active: bool | None = True) -> GPencilLayer:
107169
+ def new(self, name: str, *, set_active: bool | None = True) -> GPencilLayer:
107142
107170
  """Add a new annotation layer
107143
107171
 
107144
107172
  :param name: Name, Name of the layer
@@ -107188,7 +107216,7 @@ class GreasePencilv3LayerGroup(bpy_prop_collection[GreasePencilLayerGroup], bpy_
107188
107216
  """
107189
107217
 
107190
107218
  def new(
107191
- self, name: str, parent_group: GreasePencilLayerGroup | None = None
107219
+ self, name: str, *, parent_group: GreasePencilLayerGroup | None = None
107192
107220
  ) -> GreasePencilLayerGroup:
107193
107221
  """Add a new Grease Pencil layer group
107194
107222
 
@@ -107201,7 +107229,7 @@ class GreasePencilv3LayerGroup(bpy_prop_collection[GreasePencilLayerGroup], bpy_
107201
107229
  """
107202
107230
 
107203
107231
  def remove(
107204
- self, layer_group: GreasePencilLayerGroup, keep_children: bool | None = False
107232
+ self, layer_group: GreasePencilLayerGroup, *, keep_children: bool | None = False
107205
107233
  ):
107206
107234
  """Remove a new Grease Pencil layer group
107207
107235
 
@@ -107285,6 +107313,7 @@ class GreasePencilv3Layers(bpy_prop_collection[GreasePencilLayer], bpy_struct):
107285
107313
  def new(
107286
107314
  self,
107287
107315
  name: str,
107316
+ *,
107288
107317
  set_active: bool | None = True,
107289
107318
  layer_group: GreasePencilLayerGroup | None = None,
107290
107319
  ) -> GreasePencilLayer:
@@ -107467,6 +107496,7 @@ class IDOverrideLibraryPropertyOperations(
107467
107496
  "INSERT_BEFORE",
107468
107497
  ]
107469
107498
  | None,
107499
+ *,
107470
107500
  use_id: bool | None = False,
107471
107501
  subitem_reference_name: str = "",
107472
107502
  subitem_local_name: str = "",
@@ -107593,6 +107623,7 @@ class KeyConfigurations(bpy_prop_collection[KeyConfig], bpy_struct):
107593
107623
  def find_item_from_operator(
107594
107624
  self,
107595
107625
  idname: str,
107626
+ *,
107596
107627
  context: bpy.typing.OperatorContextItems | None = "INVOKE_DEFAULT",
107597
107628
  properties: OperatorProperties | None = None,
107598
107629
  include: set[bpy.typing.EventTypeMaskItems] | None = {
@@ -107620,7 +107651,7 @@ class KeyConfigurations(bpy_prop_collection[KeyConfig], bpy_struct):
107620
107651
  item, `KeyMapItem`
107621
107652
  """
107622
107653
 
107623
- def update(self, keep_properties: bool | None = False):
107654
+ def update(self, *, keep_properties: bool | None = False):
107624
107655
  """update
107625
107656
 
107626
107657
  :param keep_properties: Keep Properties, Operator properties are kept to allow the operators to be registered again in the future
@@ -107657,6 +107688,7 @@ class KeyMapItems(bpy_prop_collection[KeyMapItem], bpy_struct):
107657
107688
  idname: str,
107658
107689
  type: bpy.typing.EventTypeItems | None,
107659
107690
  value: bpy.typing.EventValueItems | None,
107691
+ *,
107660
107692
  any: bool | None = False,
107661
107693
  shift: int | None = 0,
107662
107694
  ctrl: int | None = 0,
@@ -107702,6 +107734,7 @@ class KeyMapItems(bpy_prop_collection[KeyMapItem], bpy_struct):
107702
107734
  propvalue: str,
107703
107735
  type: bpy.typing.EventTypeItems | None,
107704
107736
  value: bpy.typing.EventValueItems | None,
107737
+ *,
107705
107738
  any: bool | None = False,
107706
107739
  shift: int | None = 0,
107707
107740
  ctrl: int | None = 0,
@@ -107739,7 +107772,9 @@ class KeyMapItems(bpy_prop_collection[KeyMapItem], bpy_struct):
107739
107772
  :rtype: KeyMapItem
107740
107773
  """
107741
107774
 
107742
- def new_from_item(self, item: KeyMapItem, head: bool | None = False) -> KeyMapItem:
107775
+ def new_from_item(
107776
+ self, item: KeyMapItem, *, head: bool | None = False
107777
+ ) -> KeyMapItem:
107743
107778
  """new_from_item
107744
107779
 
107745
107780
  :param item: Item, Item to use as a reference
@@ -107769,6 +107804,7 @@ class KeyMapItems(bpy_prop_collection[KeyMapItem], bpy_struct):
107769
107804
  def find_from_operator(
107770
107805
  self,
107771
107806
  idname: str,
107807
+ *,
107772
107808
  properties: OperatorProperties | None = None,
107773
107809
  include: set[bpy.typing.EventTypeMaskItems] | None = {
107774
107810
  "ACTIONZONE",
@@ -107829,6 +107865,7 @@ class KeyMaps(bpy_prop_collection[KeyMap], bpy_struct):
107829
107865
  def new(
107830
107866
  self,
107831
107867
  name: str,
107868
+ *,
107832
107869
  space_type: bpy.typing.SpaceTypeItems | None = "EMPTY",
107833
107870
  region_type: bpy.typing.RegionTypeItems | None = "WINDOW",
107834
107871
  modal: bool | None = False,
@@ -107863,6 +107900,7 @@ class KeyMaps(bpy_prop_collection[KeyMap], bpy_struct):
107863
107900
  def find(
107864
107901
  self,
107865
107902
  name: str,
107903
+ *,
107866
107904
  space_type: bpy.typing.SpaceTypeItems | None = "EMPTY",
107867
107905
  region_type: bpy.typing.RegionTypeItems | None = "WINDOW",
107868
107906
  ) -> KeyMap:
@@ -107928,6 +107966,7 @@ class KeyingSetPaths(bpy_prop_collection[KeyingSetPath], bpy_struct):
107928
107966
  self,
107929
107967
  target_id: ID | None,
107930
107968
  data_path: str,
107969
+ *,
107931
107970
  index: int | None = -1,
107932
107971
  group_method: bpy.typing.KeyingsetPathGroupingItems | None = "KEYINGSET",
107933
107972
  group_name: str = "",
@@ -107995,7 +108034,7 @@ class KeyingSets(bpy_prop_collection[KeyingSet], bpy_struct):
107995
108034
  :type: int | None
107996
108035
  """
107997
108036
 
107998
- def new(self, idname: str = "KeyingSet", name: str = "KeyingSet") -> KeyingSet:
108037
+ def new(self, *, idname: str = "KeyingSet", name: str = "KeyingSet") -> KeyingSet:
107999
108038
  """Add a new Keying Set to Scene
108000
108039
 
108001
108040
  :param idname: IDName, Internal identifier of Keying Set
@@ -108105,7 +108144,7 @@ class LayerObjects(bpy_prop_collection[Object], bpy_struct):
108105
108144
  class Lightgroups(bpy_prop_collection[Lightgroup], bpy_struct):
108106
108145
  """Collection of Lightgroups"""
108107
108146
 
108108
- def add(self, name: str = "") -> Lightgroup:
108147
+ def add(self, *, name: str = "") -> Lightgroup:
108109
108148
  """add
108110
108149
 
108111
108150
  :param name: Name, Name of newly created lightgroup
@@ -108439,7 +108478,9 @@ class LoopColors(bpy_prop_collection[MeshLoopColorLayer], bpy_struct):
108439
108478
  :type: int | None
108440
108479
  """
108441
108480
 
108442
- def new(self, name: str = "Col", do_init: bool | None = True) -> MeshLoopColorLayer:
108481
+ def new(
108482
+ self, *, name: str = "Col", do_init: bool | None = True
108483
+ ) -> MeshLoopColorLayer:
108443
108484
  """Add a vertex color layer to Mesh
108444
108485
 
108445
108486
  :param name: Vertex color name
@@ -108488,7 +108529,7 @@ class MaskLayers(bpy_prop_collection[MaskLayer], bpy_struct):
108488
108529
  :type: MaskLayer | None
108489
108530
  """
108490
108531
 
108491
- def new(self, name: str = "") -> MaskLayer:
108532
+ def new(self, *, name: str = "") -> MaskLayer:
108492
108533
  """Add layer to this mask
108493
108534
 
108494
108535
  :param name: Name, Name of new layer
@@ -108787,7 +108828,7 @@ class MetaBallElements(bpy_prop_collection[MetaElement], bpy_struct):
108787
108828
  :type: MetaElement | None
108788
108829
  """
108789
108830
 
108790
- def new(self, type: bpy.typing.MetaelemTypeItems | None = "BALL") -> MetaElement:
108831
+ def new(self, *, type: bpy.typing.MetaelemTypeItems | None = "BALL") -> MetaElement:
108791
108832
  """Add a new element to the metaball
108792
108833
 
108793
108834
  :param type: Type for the new metaball element
@@ -108832,7 +108873,7 @@ class MovieTrackingMarkers(bpy_prop_collection[MovieTrackingMarker], bpy_struct)
108832
108873
  """Collection of markers for movie tracking track"""
108833
108874
 
108834
108875
  def find_frame(
108835
- self, frame: int | None, exact: bool | None = True
108876
+ self, frame: int | None, *, exact: bool | None = True
108836
108877
  ) -> MovieTrackingMarker:
108837
108878
  """Get marker for specified frame
108838
108879
 
@@ -108847,6 +108888,7 @@ class MovieTrackingMarkers(bpy_prop_collection[MovieTrackingMarker], bpy_struct)
108847
108888
  def insert_frame(
108848
108889
  self,
108849
108890
  frame: int | None,
108891
+ *,
108850
108892
  co: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
108851
108893
  ) -> MovieTrackingMarker:
108852
108894
  """Insert a new marker at the specified frame
@@ -108930,7 +108972,7 @@ class MovieTrackingObjectTracks(bpy_prop_collection[MovieTrackingTrack], bpy_str
108930
108972
  :type: MovieTrackingTrack | None
108931
108973
  """
108932
108974
 
108933
- def new(self, name: str = "", frame: int | None = 1) -> MovieTrackingTrack:
108975
+ def new(self, *, name: str = "", frame: int | None = 1) -> MovieTrackingTrack:
108934
108976
  """create new motion track in this movie clip
108935
108977
 
108936
108978
  :param name: Name of new track
@@ -109016,7 +109058,7 @@ class MovieTrackingPlaneMarkers(
109016
109058
  """Collection of markers for movie tracking plane track"""
109017
109059
 
109018
109060
  def find_frame(
109019
- self, frame: int | None, exact: bool | None = True
109061
+ self, frame: int | None, *, exact: bool | None = True
109020
109062
  ) -> MovieTrackingPlaneMarker:
109021
109063
  """Get plane marker for specified frame
109022
109064
 
@@ -109104,7 +109146,7 @@ class MovieTrackingReconstructedCameras(
109104
109146
  ):
109105
109147
  """Collection of solved cameras"""
109106
109148
 
109107
- def find_frame(self, frame: int | None = 1) -> MovieReconstructedCamera:
109149
+ def find_frame(self, *, frame: int | None = 1) -> MovieReconstructedCamera:
109108
109150
  """Find a reconstructed camera for a give frame number
109109
109151
 
109110
109152
  :param frame: Frame, Frame number to find camera for
@@ -109113,7 +109155,7 @@ class MovieTrackingReconstructedCameras(
109113
109155
  :rtype: MovieReconstructedCamera
109114
109156
  """
109115
109157
 
109116
- def matrix_from_frame(self, frame: int | None = 1) -> mathutils.Matrix:
109158
+ def matrix_from_frame(self, *, frame: int | None = 1) -> mathutils.Matrix:
109117
109159
  """Return interpolated camera matrix for a given frame
109118
109160
 
109119
109161
  :param frame: Frame, Frame number to find camera for
@@ -109153,7 +109195,7 @@ class MovieTrackingTracks(bpy_prop_collection[MovieTrackingTrack], bpy_struct):
109153
109195
  :type: MovieTrackingTrack | None
109154
109196
  """
109155
109197
 
109156
- def new(self, name: str = "", frame: int | None = 1) -> MovieTrackingTrack:
109198
+ def new(self, *, name: str = "", frame: int | None = 1) -> MovieTrackingTrack:
109157
109199
  """Create new motion track in this movie clip
109158
109200
 
109159
109201
  :param name: Name of new track
@@ -109189,7 +109231,7 @@ class MovieTrackingTracks(bpy_prop_collection[MovieTrackingTrack], bpy_struct):
109189
109231
  class NlaStripFCurves(bpy_prop_collection[FCurve], bpy_struct):
109190
109232
  """Collection of NLA strip F-Curves"""
109191
109233
 
109192
- def find(self, data_path: str, index: int | None = 0) -> FCurve:
109234
+ def find(self, data_path: str, *, index: int | None = 0) -> FCurve:
109193
109235
  """Find an F-Curve. Note that this function performs a linear scan of all F-Curves in the NLA strip.
109194
109236
 
109195
109237
  :param data_path: Data Path, F-Curve data path
@@ -109276,7 +109318,7 @@ class NlaTracks(bpy_prop_collection[NlaTrack], bpy_struct):
109276
109318
  :type: NlaTrack | None
109277
109319
  """
109278
109320
 
109279
- def new(self, prev: NlaTrack | None = None) -> NlaTrack:
109321
+ def new(self, *, prev: NlaTrack | None = None) -> NlaTrack:
109280
109322
  """Add a new NLA Track
109281
109323
 
109282
109324
  :param prev: NLA Track to add the new one after
@@ -109781,6 +109823,7 @@ class NodeInputs(bpy_prop_collection[NodeSocket], bpy_struct):
109781
109823
  self,
109782
109824
  type: str,
109783
109825
  name: str,
109826
+ *,
109784
109827
  identifier: str = "",
109785
109828
  use_multi_input: bool | None = False,
109786
109829
  ) -> NodeSocket:
@@ -109846,6 +109889,7 @@ class NodeLinks(bpy_prop_collection[NodeLink], bpy_struct):
109846
109889
  self,
109847
109890
  input: NodeSocket,
109848
109891
  output: NodeSocket,
109892
+ *,
109849
109893
  verify_limits: bool | None = True,
109850
109894
  handle_dynamic_sockets: bool | None = False,
109851
109895
  ) -> NodeLink:
@@ -109955,6 +109999,7 @@ class NodeOutputs(bpy_prop_collection[NodeSocket], bpy_struct):
109955
109999
  self,
109956
110000
  type: str,
109957
110001
  name: str,
110002
+ *,
109958
110003
  identifier: str = "",
109959
110004
  use_multi_input: bool | None = False,
109960
110005
  ) -> NodeSocket:
@@ -110664,7 +110709,7 @@ class RenderSlots(bpy_prop_collection[RenderSlot], bpy_struct):
110664
110709
  :type: int | None
110665
110710
  """
110666
110711
 
110667
- def new(self, name: str = "") -> RenderSlot:
110712
+ def new(self, *, name: str = "") -> RenderSlot:
110668
110713
  """Add a render slot to the image
110669
110714
 
110670
110715
  :param name: Name, New name for the render slot
@@ -110751,7 +110796,7 @@ class RenderViews(bpy_prop_collection[SceneRenderView], bpy_struct):
110751
110796
  class RetimingKeys(bpy_prop_collection[RetimingKey], bpy_struct):
110752
110797
  """Collection of RetimingKey"""
110753
110798
 
110754
- def add(self, timeline_frame: int | None = 0) -> RetimingKey:
110799
+ def add(self, *, timeline_frame: int | None = 0) -> RetimingKey:
110755
110800
  """Add retiming key
110756
110801
 
110757
110802
  :param timeline_frame: Timeline Frame
@@ -110998,6 +111043,7 @@ class SequencesMeta(bpy_prop_collection[Sequence], bpy_struct):
110998
111043
  filepath: str,
110999
111044
  channel: int | None,
111000
111045
  frame_start: int | None,
111046
+ *,
111001
111047
  fit_method: typing.Literal["FIT", "FILL", "STRETCH", "ORIGINAL"]
111002
111048
  | None = "ORIGINAL",
111003
111049
  ) -> Sequence:
@@ -111035,6 +111081,7 @@ class SequencesMeta(bpy_prop_collection[Sequence], bpy_struct):
111035
111081
  filepath: str,
111036
111082
  channel: int | None,
111037
111083
  frame_start: int | None,
111084
+ *,
111038
111085
  fit_method: typing.Literal["FIT", "FILL", "STRETCH", "ORIGINAL"]
111039
111086
  | None = "ORIGINAL",
111040
111087
  ) -> Sequence:
@@ -111124,6 +111171,7 @@ class SequencesMeta(bpy_prop_collection[Sequence], bpy_struct):
111124
111171
  | None,
111125
111172
  channel: int | None,
111126
111173
  frame_start: int | None,
111174
+ *,
111127
111175
  frame_end: int | None = 0,
111128
111176
  seq1: Sequence | None = None,
111129
111177
  seq2: Sequence | None = None,
@@ -111237,6 +111285,7 @@ class SequencesTopLevel(bpy_prop_collection[Sequence], bpy_struct):
111237
111285
  filepath: str,
111238
111286
  channel: int | None,
111239
111287
  frame_start: int | None,
111288
+ *,
111240
111289
  fit_method: typing.Literal["FIT", "FILL", "STRETCH", "ORIGINAL"]
111241
111290
  | None = "ORIGINAL",
111242
111291
  ) -> Sequence:
@@ -111274,6 +111323,7 @@ class SequencesTopLevel(bpy_prop_collection[Sequence], bpy_struct):
111274
111323
  filepath: str,
111275
111324
  channel: int | None,
111276
111325
  frame_start: int | None,
111326
+ *,
111277
111327
  fit_method: typing.Literal["FIT", "FILL", "STRETCH", "ORIGINAL"]
111278
111328
  | None = "ORIGINAL",
111279
111329
  ) -> Sequence:
@@ -111363,6 +111413,7 @@ class SequencesTopLevel(bpy_prop_collection[Sequence], bpy_struct):
111363
111413
  | None,
111364
111414
  channel: int | None,
111365
111415
  frame_start: int | None,
111416
+ *,
111366
111417
  frame_end: int | None = 0,
111367
111418
  seq1: Sequence | None = None,
111368
111419
  seq2: Sequence | None = None,
@@ -111435,7 +111486,7 @@ class SpaceNodeEditorPath(bpy_prop_collection[NodeTreePath], bpy_struct):
111435
111486
  :type node_tree: NodeTree | None
111436
111487
  """
111437
111488
 
111438
- def append(self, node_tree: NodeTree | None, node: Node | None = None):
111489
+ def append(self, node_tree: NodeTree | None, *, node: Node | None = None):
111439
111490
  """Append a node group tree to the path
111440
111491
 
111441
111492
  :param node_tree: Node Tree, Node tree to append to the node editor path
@@ -111593,7 +111644,7 @@ class StudioLights(bpy_prop_collection[StudioLight], bpy_struct):
111593
111644
  class TimelineMarkers(bpy_prop_collection[TimelineMarker], bpy_struct):
111594
111645
  """Collection of timeline markers"""
111595
111646
 
111596
- def new(self, name: str, frame: int | None = 1) -> TimelineMarker:
111647
+ def new(self, name: str, *, frame: int | None = 1) -> TimelineMarker:
111597
111648
  """Add a keyframe to the curve
111598
111649
 
111599
111650
  :param name: New name for the marker (not unique)
@@ -111651,7 +111702,7 @@ class UDIMTiles(bpy_prop_collection[UDIMTile], bpy_struct):
111651
111702
  :type: int | None
111652
111703
  """
111653
111704
 
111654
- def new(self, tile_number: int | None, label: str = "") -> UDIMTile:
111705
+ def new(self, tile_number: int | None, *, label: str = "") -> UDIMTile:
111655
111706
  """Add a tile to the image
111656
111707
 
111657
111708
  :param tile_number: Number of the newly created tile
@@ -111715,7 +111766,9 @@ class UVLoopLayers(bpy_prop_collection[MeshUVLoopLayer], bpy_struct):
111715
111766
  :type: int | None
111716
111767
  """
111717
111768
 
111718
- def new(self, name: str = "UVMap", do_init: bool | None = True) -> MeshUVLoopLayer:
111769
+ def new(
111770
+ self, *, name: str = "UVMap", do_init: bool | None = True
111771
+ ) -> MeshUVLoopLayer:
111719
111772
  """Add a UV map layer to Mesh
111720
111773
 
111721
111774
  :param name: UV map name
@@ -111761,6 +111814,7 @@ class UserExtensionRepoCollection(bpy_prop_collection[UserExtensionRepo], bpy_st
111761
111814
  @classmethod
111762
111815
  def new(
111763
111816
  cls,
111817
+ *,
111764
111818
  name: str = "",
111765
111819
  module: str = "",
111766
111820
  custom_directory: str = "",
@@ -111834,7 +111888,7 @@ class VertexGroups(bpy_prop_collection[VertexGroup], bpy_struct):
111834
111888
  :type: int | None
111835
111889
  """
111836
111890
 
111837
- def new(self, name: str = "Group") -> VertexGroup:
111891
+ def new(self, *, name: str = "Group") -> VertexGroup:
111838
111892
  """Add vertex group to object
111839
111893
 
111840
111894
  :param name: Vertex group name
@@ -112342,7 +112396,7 @@ class wmOwnerIDs(bpy_prop_collection[wmOwnerID], bpy_struct):
112342
112396
 
112343
112397
  class wmTools(bpy_prop_collection[WorkSpaceTool], bpy_struct):
112344
112398
  def from_space_view3d_mode(
112345
- self, mode: bpy.typing.ContextModeItems | None, create: bool | None = False
112399
+ self, mode: bpy.typing.ContextModeItems | None, *, create: bool | None = False
112346
112400
  ) -> WorkSpaceTool:
112347
112401
  """
112348
112402
 
@@ -112357,6 +112411,7 @@ class wmTools(bpy_prop_collection[WorkSpaceTool], bpy_struct):
112357
112411
  def from_space_image_mode(
112358
112412
  self,
112359
112413
  mode: bpy.typing.SpaceImageModeAllItems | None,
112414
+ *,
112360
112415
  create: bool | None = False,
112361
112416
  ) -> WorkSpaceTool:
112362
112417
  """
@@ -112369,7 +112424,7 @@ class wmTools(bpy_prop_collection[WorkSpaceTool], bpy_struct):
112369
112424
  :rtype: WorkSpaceTool
112370
112425
  """
112371
112426
 
112372
- def from_space_node(self, create: bool | None = False) -> WorkSpaceTool:
112427
+ def from_space_node(self, *, create: bool | None = False) -> WorkSpaceTool:
112373
112428
  """
112374
112429
 
112375
112430
  :param create: Create
@@ -112381,6 +112436,7 @@ class wmTools(bpy_prop_collection[WorkSpaceTool], bpy_struct):
112381
112436
  def from_space_sequencer(
112382
112437
  self,
112383
112438
  mode: bpy.typing.SpaceSequencerViewTypeItems | None,
112439
+ *,
112384
112440
  create: bool | None = False,
112385
112441
  ) -> WorkSpaceTool:
112386
112442
  """
@@ -113524,7 +113580,7 @@ class AnimData(bpy_struct):
113524
113580
  """
113525
113581
 
113526
113582
  def nla_tweak_strip_time_to_scene(
113527
- self, frame: float | None, invert: bool | None = False
113583
+ self, frame: float | None, *, invert: bool | None = False
113528
113584
  ) -> float:
113529
113585
  """Convert a time value from the local time of the tweaked strip to scene time, exactly as done by built-in key editing tools. Returns the input time unchanged if not tweaking.
113530
113586
 
@@ -113537,7 +113593,7 @@ class AnimData(bpy_struct):
113537
113593
  """
113538
113594
 
113539
113595
  def fix_paths_rename_all(
113540
- self, prefix: str = "", old_name: str = "", new_name: str = ""
113596
+ self, *, prefix: str = "", old_name: str = "", new_name: str = ""
113541
113597
  ):
113542
113598
  """Rename the property paths in the animation system, since properties are animated via string paths, it's needed to keep them valid after properties has been renamed
113543
113599
 
@@ -113828,48 +113884,18 @@ class Area(bpy_struct):
113828
113884
  class AreaLight(Light, ID, bpy_struct):
113829
113885
  """Directional area Light"""
113830
113886
 
113831
- contact_shadow_bias: float
113832
- """ Bias to avoid self shadowing
113833
-
113834
- :type: float
113835
- """
113836
-
113837
- contact_shadow_distance: float
113838
- """ World space distance in which to search for screen space occluder
113839
-
113840
- :type: float
113841
- """
113842
-
113843
- contact_shadow_thickness: float
113844
- """ Pixel thickness used to detect occlusion
113845
-
113846
- :type: float
113847
- """
113848
-
113849
113887
  energy: float
113850
113888
  """ Light energy emitted over the entire area of the light in all directions
113851
113889
 
113852
113890
  :type: float
113853
113891
  """
113854
113892
 
113855
- shadow_buffer_bias: float
113856
- """ Bias for reducing self shadowing
113857
-
113858
- :type: float
113859
- """
113860
-
113861
113893
  shadow_buffer_clip_start: float
113862
113894
  """ Shadow map clip start, below which objects will not generate shadows
113863
113895
 
113864
113896
  :type: float
113865
113897
  """
113866
113898
 
113867
- shadow_color: mathutils.Color
113868
- """ Color of shadows cast by the light
113869
-
113870
- :type: mathutils.Color
113871
- """
113872
-
113873
113899
  shadow_filter_radius: float
113874
113900
  """ Blur shadow aliasing using Percentage Closer Filtering
113875
113901
 
@@ -113924,12 +113950,6 @@ class AreaLight(Light, ID, bpy_struct):
113924
113950
  :type: bool
113925
113951
  """
113926
113952
 
113927
- use_contact_shadow: bool
113928
- """ Use screen space ray-tracing to have correct shadowing near occluder, or for small features that does not appear in shadow maps
113929
-
113930
- :type: bool
113931
- """
113932
-
113933
113953
  use_shadow_jitter: bool
113934
113954
  """ Enable jittered soft shadows to increase shadow precision (disabled in viewport unless enabled in the render settings). Has a high performance impact.
113935
113955
 
@@ -115542,7 +115562,7 @@ class BlendData(bpy_struct):
115542
115562
  """Remove (delete) several IDs at once.WARNING: Considered experimental feature currently.Note that this function is quicker than individual calls to `remove()` (from `bpy.types.BlendData`
115543
115563
  ID collections), but less safe/versatile (it can break Blender, e.g. by removing all scenes...).
115544
115564
 
115545
- :param ids: Iterables of IDs (types can be mixed).
115565
+ :param ids: Sequence of IDs (types can be mixed).
115546
115566
  """
115547
115567
 
115548
115568
  @classmethod
@@ -115573,31 +115593,21 @@ class BlendData(bpy_struct):
115573
115593
  :return: The number of deleted IDs.
115574
115594
  """
115575
115595
 
115576
- def temp_data(self, filepath: bytes | str | None = None) -> typing_extensions.Self:
115596
+ def temp_data(self, filepath=None) -> typing_extensions.Self:
115577
115597
  """A context manager that temporarily creates blender file data.
115578
115598
 
115579
115599
  :param filepath: The file path for the newly temporary data. When None, the path of the currently open file is used.
115580
- :type filepath: bytes | str | None
115581
115600
  :return: Blend file data which is freed once the context exists.
115582
115601
  :rtype: typing_extensions.Self
115583
115602
  """
115584
115603
 
115585
- def user_map(
115586
- self,
115587
- subset: collections.abc.Sequence | None,
115588
- key_types: set[str] | None,
115589
- value_types: set[str] | None,
115590
- ) -> dict:
115591
- """Returns a mapping of all ID data-blocks in current bpy.data to a set of all datablocks using them.For list of valid set members for key_types & value_types, see: `bpy.types.KeyingSetPath.id_type`.
115604
+ def user_map(self, subset, key_types, value_types):
115605
+ """Returns a mapping of all ID data-blocks in current bpy.data to a set of all data-blocks using them.For list of valid set members for key_types & value_types, see: `bpy.types.KeyingSetPath.id_type`.
115592
115606
 
115593
115607
  :param subset: When passed, only these data-blocks and their users will be included as keys/values in the map.
115594
- :type subset: collections.abc.Sequence | None
115595
115608
  :param key_types: Filter the keys mapped by ID types.
115596
- :type key_types: set[str] | None
115597
115609
  :param value_types: Filter the values in the set by ID types.
115598
- :type value_types: set[str] | None
115599
- :return: dictionary of `bpy.types.ID` instances, with sets of ID's as their values.
115600
- :rtype: dict
115610
+ :return: dictionary that maps data-blocks ID's to their users.
115601
115611
  """
115602
115612
 
115603
115613
  class BlendImportContext(bpy_struct):
@@ -116782,6 +116792,7 @@ Utility function for (tail - head)(readonly)"""
116782
116792
  matrix_local: collections.abc.Sequence[collections.abc.Sequence[float]]
116783
116793
  | mathutils.Matrix
116784
116794
  | None,
116795
+ *,
116785
116796
  parent_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
116786
116797
  | mathutils.Matrix
116787
116798
  | None = (
@@ -116839,6 +116850,7 @@ Utility function for (tail - head)(readonly)"""
116839
116850
  cls,
116840
116851
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
116841
116852
  | mathutils.Matrix,
116853
+ *,
116842
116854
  axis: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0),
116843
116855
  ):
116844
116856
  """Convert a rotational matrix to the axis + roll representation. Note that the resulting value of the roll may not be as expected if the matrix has shear or negative determinant.
@@ -120402,7 +120414,7 @@ class Camera(ID, bpy_struct):
120402
120414
  :type: typing.Literal['PERSP','ORTHO','PANO']
120403
120415
  """
120404
120416
 
120405
- def view_frame(self, scene: Scene | None = None):
120417
+ def view_frame(self, *, scene: Scene | None = None):
120406
120418
  """Return 4 points for the cameras frame (before object transformation)
120407
120419
 
120408
120420
  :param scene: Scene to use for aspect calculation, when omitted 1:1 aspect is used
@@ -131819,6 +131831,7 @@ class Curve(ID, bpy_struct):
131819
131831
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
131820
131832
  | mathutils.Matrix
131821
131833
  | None,
131834
+ *,
131822
131835
  shape_keys: bool | None = False,
131823
131836
  ):
131824
131837
  """Transform curve by a matrix
@@ -132538,7 +132551,7 @@ class Curves(ID, bpy_struct):
132538
132551
  :type sizes: collections.abc.Iterable[int] | None
132539
132552
  """
132540
132553
 
132541
- def remove_curves(self, indices: collections.abc.Iterable[int] | None = (0)):
132554
+ def remove_curves(self, *, indices: collections.abc.Iterable[int] | None = (0)):
132542
132555
  """Remove all curves. If indices are provided, remove only the curves with the given indices.
132543
132556
 
132544
132557
  :param indices: Indices, The indices of the curves to remove
@@ -132548,6 +132561,7 @@ class Curves(ID, bpy_struct):
132548
132561
  def resize_curves(
132549
132562
  self,
132550
132563
  sizes: collections.abc.Iterable[int] | None,
132564
+ *,
132551
132565
  indices: collections.abc.Iterable[int] | None = (0),
132552
132566
  ):
132553
132567
  """Resize all existing curves. If indices are provided, resize only the curves with the given indices. If the new size for a curve is smaller, the curve is trimmed. If the new size for a curve is larger, the new end values are default initialized.
@@ -132558,6 +132572,20 @@ class Curves(ID, bpy_struct):
132558
132572
  :type indices: collections.abc.Iterable[int] | None
132559
132573
  """
132560
132574
 
132575
+ def set_types(
132576
+ self,
132577
+ *,
132578
+ type: bpy.typing.CurvesTypeItems | None = "CATMULL_ROM",
132579
+ indices: collections.abc.Iterable[int] | None = (0),
132580
+ ):
132581
+ """Set the curve type. If indices are provided, set only the types with the given curve indices.
132582
+
132583
+ :param type: Type
132584
+ :type type: bpy.typing.CurvesTypeItems | None
132585
+ :param indices: Indices, The indices of the curves to resize
132586
+ :type indices: collections.abc.Iterable[int] | None
132587
+ """
132588
+
132561
132589
  @classmethod
132562
132590
  def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
132563
132591
  """
@@ -133111,7 +133139,7 @@ class Depsgraph(bpy_struct):
133111
133139
  :type: ViewLayer
133112
133140
  """
133113
133141
 
133114
- def debug_relations_graphviz(self, filepath: str = "") -> str:
133142
+ def debug_relations_graphviz(self, *, filepath: str = "") -> str:
133115
133143
  """debug_relations_graphviz
133116
133144
 
133117
133145
  :param filepath: File Name, Optional output path for the graphviz debug file
@@ -135911,6 +135939,7 @@ class FCurve(bpy_struct):
135911
135939
  self,
135912
135940
  start: int | None,
135913
135941
  end: int | None,
135942
+ *,
135914
135943
  step: float | None = 1.0,
135915
135944
  remove: typing.Literal["NONE", "IN_RANGE", "OUT_RANGE", "ALL"]
135916
135945
  | None = "IN_RANGE",
@@ -156006,7 +156035,7 @@ class Gizmo(bpy_struct):
156006
156035
  :type context: Context | None
156007
156036
  """
156008
156037
 
156009
- def draw_select(self, context: Context | None, select_id: int | None = 0):
156038
+ def draw_select(self, context: Context | None, *, select_id: int | None = 0):
156010
156039
  """
156011
156040
 
156012
156041
  :param context:
@@ -156075,6 +156104,7 @@ class Gizmo(bpy_struct):
156075
156104
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
156076
156105
  | mathutils.Matrix
156077
156106
  | None,
156107
+ *,
156078
156108
  select_id: int | None = -1,
156079
156109
  ):
156080
156110
  """Draw a box
@@ -156090,6 +156120,7 @@ class Gizmo(bpy_struct):
156090
156120
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
156091
156121
  | mathutils.Matrix
156092
156122
  | None,
156123
+ *,
156093
156124
  axis: bpy.typing.ObjectAxisItems | None = "POS_Z",
156094
156125
  select_id: int | None = -1,
156095
156126
  ):
@@ -156108,6 +156139,7 @@ class Gizmo(bpy_struct):
156108
156139
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
156109
156140
  | mathutils.Matrix
156110
156141
  | None,
156142
+ *,
156111
156143
  axis: bpy.typing.ObjectAxisItems | None = "POS_Z",
156112
156144
  select_id: int | None = -1,
156113
156145
  ):
@@ -156122,7 +156154,7 @@ class Gizmo(bpy_struct):
156122
156154
  """
156123
156155
 
156124
156156
  def target_set_prop(
156125
- self, target: str, data: typing.Any, property: str, index: int | None = -1
156157
+ self, target: str, data: typing.Any, property: str, *, index: int | None = -1
156126
156158
  ):
156127
156159
  """
156128
156160
 
@@ -156137,7 +156169,7 @@ class Gizmo(bpy_struct):
156137
156169
  """
156138
156170
 
156139
156171
  def target_set_operator(
156140
- self, operator: str, index: int | None = 0
156172
+ self, operator: str, *, index: int | None = 0
156141
156173
  ) -> OperatorProperties:
156142
156174
  """Operator to run when activating the gizmo (overrides property targets)
156143
156175
 
@@ -156165,7 +156197,7 @@ class Gizmo(bpy_struct):
156165
156197
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
156166
156198
  | mathutils.Matrix
156167
156199
  | None = None,
156168
- select_id=None,
156200
+ select_id: int | None = None,
156169
156201
  ):
156170
156202
  """Draw a shape created form `Gizmo.draw_custom_shape`.
156171
156203
 
@@ -156174,6 +156206,7 @@ class Gizmo(bpy_struct):
156174
156206
  :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix | None
156175
156207
  :param select_id: The selection id.
156176
156208
  Only use when drawing within `Gizmo.draw_select`.
156209
+ :type select_id: int | None
156177
156210
  """
156178
156211
 
156179
156212
  @staticmethod
@@ -156182,8 +156215,8 @@ class Gizmo(bpy_struct):
156182
156215
 
156183
156216
  :param type: The type of shape to create in (POINTS, LINES, TRIS, LINE_STRIP).
156184
156217
  :type type: str | None
156185
- :param verts: Coordinates.
156186
- :return: The newly created shape.
156218
+ :param verts: Sequence of 2D or 3D coordinates.
156219
+ :return: The newly created shape (the return type make change).
156187
156220
  """
156188
156221
 
156189
156222
  @classmethod
@@ -156220,7 +156253,7 @@ class Gizmo(bpy_struct):
156220
156253
 
156221
156254
  :param target: Target property name.
156222
156255
  :type target: str | None
156223
- :return: The value of the target property.
156256
+ :return: The value of the target property as a value or array based on the target type.
156224
156257
  """
156225
156258
 
156226
156259
  def target_set_handler(
@@ -156238,7 +156271,7 @@ class Gizmo(bpy_struct):
156238
156271
  :type get: collections.abc.Callable | None
156239
156272
  :param set: Function that takes a single value argument and applies it.
156240
156273
  :type set: collections.abc.Callable | None
156241
- :param range: Function that returns a (min, max) tuple for gizmos that use a range.
156274
+ :param range: Function that returns a (min, max) tuple for gizmos that use a range. The returned value is not used.
156242
156275
  :type range: collections.abc.Callable | None
156243
156276
  """
156244
156277
 
@@ -157464,7 +157497,7 @@ class GreasePencilDrawing(bpy_struct):
157464
157497
  :type sizes: collections.abc.Iterable[int] | None
157465
157498
  """
157466
157499
 
157467
- def remove_strokes(self, indices: collections.abc.Iterable[int] | None = (0)):
157500
+ def remove_strokes(self, *, indices: collections.abc.Iterable[int] | None = (0)):
157468
157501
  """Remove all strokes. If indices are provided, remove only the strokes with the given indices.
157469
157502
 
157470
157503
  :param indices: Indices, The indices of the strokes to remove
@@ -157474,6 +157507,7 @@ class GreasePencilDrawing(bpy_struct):
157474
157507
  def resize_strokes(
157475
157508
  self,
157476
157509
  sizes: collections.abc.Iterable[int] | None,
157510
+ *,
157477
157511
  indices: collections.abc.Iterable[int] | None = (0),
157478
157512
  ):
157479
157513
  """Resize all existing strokes. If indices are provided, resize only the strokes with the given indices. If the new size for a stroke is smaller, the stroke is trimmed. If the new size for a stroke is larger, the new end values are default initialized.
@@ -157484,6 +157518,20 @@ class GreasePencilDrawing(bpy_struct):
157484
157518
  :type indices: collections.abc.Iterable[int] | None
157485
157519
  """
157486
157520
 
157521
+ def set_types(
157522
+ self,
157523
+ *,
157524
+ type: bpy.typing.CurvesTypeItems | None = "CATMULL_ROM",
157525
+ indices: collections.abc.Iterable[int] | None = (0),
157526
+ ):
157527
+ """Set the curve type. If indices are provided, set only the types with the given curve indices.
157528
+
157529
+ :param type: Type
157530
+ :type type: bpy.typing.CurvesTypeItems | None
157531
+ :param indices: Indices, The indices of the curves to resize
157532
+ :type indices: collections.abc.Iterable[int] | None
157533
+ """
157534
+
157487
157535
  def tag_positions_changed(self):
157488
157536
  """Indicate that the positions of points in the drawing have changed"""
157489
157537
 
@@ -161926,6 +161974,7 @@ class ID(bpy_struct):
161926
161974
  def rename(
161927
161975
  self,
161928
161976
  name: str,
161977
+ *,
161929
161978
  mode: typing.Literal["NEVER", "ALWAYS", "SAME_ROOT"] | None = "NEVER",
161930
161979
  ) -> typing.Literal[
161931
161980
  "UNCHANGED",
@@ -161994,7 +162043,7 @@ class ID(bpy_struct):
161994
162043
  """Generate preview image (might be scheduled in a background thread)"""
161995
162044
 
161996
162045
  def override_create(
161997
- self, remap_local_usages: bool | None = False
162046
+ self, *, remap_local_usages: bool | None = False
161998
162047
  ) -> typing_extensions.Self:
161999
162048
  """Create an overridden local copy of this linked data-block (not supported for all data-blocks)
162000
162049
 
@@ -162008,6 +162057,7 @@ class ID(bpy_struct):
162008
162057
  self,
162009
162058
  scene: Scene,
162010
162059
  view_layer: ViewLayer,
162060
+ *,
162011
162061
  reference: typing_extensions.Self | None = None,
162012
162062
  do_fully_editable: bool | None = False,
162013
162063
  ) -> typing_extensions.Self:
@@ -162040,6 +162090,7 @@ class ID(bpy_struct):
162040
162090
 
162041
162091
  def make_local(
162042
162092
  self,
162093
+ *,
162043
162094
  clear_proxy: bool | None = True,
162044
162095
  clear_liboverride: bool | None = False,
162045
162096
  clear_asset_data: bool | None = True,
@@ -162076,7 +162127,7 @@ class ID(bpy_struct):
162076
162127
  """Clear animation on this ID"""
162077
162128
 
162078
162129
  def update_tag(
162079
- self, refresh: set[typing.Literal["OBJECT", "DATA", "TIME"]] | None = {}
162130
+ self, *, refresh: set[typing.Literal["OBJECT", "DATA", "TIME"]] | None = {}
162080
162131
  ):
162081
162132
  """Tag the ID to update its display data, e.g. when calling `bpy.types.Scene.update`
162082
162133
 
@@ -162150,7 +162201,10 @@ class IDOverrideLibrary(bpy_struct):
162150
162201
  """Update the library override operations based on the differences between this override ID and its reference"""
162151
162202
 
162152
162203
  def reset(
162153
- self, do_hierarchy: bool | None = True, set_system_override: bool | None = False
162204
+ self,
162205
+ *,
162206
+ do_hierarchy: bool | None = True,
162207
+ set_system_override: bool | None = False,
162154
162208
  ):
162155
162209
  """Reset this override to match again its linked reference ID
162156
162210
 
@@ -162160,7 +162214,7 @@ class IDOverrideLibrary(bpy_struct):
162160
162214
  :type set_system_override: bool | None
162161
162215
  """
162162
162216
 
162163
- def destroy(self, do_hierarchy: bool | None = True):
162217
+ def destroy(self, *, do_hierarchy: bool | None = True):
162164
162218
  """Delete this override ID and remap its usages to its linked reference ID instead
162165
162219
 
162166
162220
  :param do_hierarchy: Also delete all the dependencies of this override and remap their usages to their reference linked IDs
@@ -162170,6 +162224,7 @@ class IDOverrideLibrary(bpy_struct):
162170
162224
  def resync(
162171
162225
  self,
162172
162226
  scene: Scene,
162227
+ *,
162173
162228
  view_layer: ViewLayer | None = None,
162174
162229
  residual_storage: Collection | None = None,
162175
162230
  do_hierarchy_enforce: bool | None = False,
@@ -162857,7 +162912,7 @@ class Image(ID, bpy_struct):
162857
162912
  """
162858
162913
 
162859
162914
  def save_render(
162860
- self, filepath: str, scene: Scene | None = None, quality: int | None = 0
162915
+ self, filepath: str, *, scene: Scene | None = None, quality: int | None = 0
162861
162916
  ):
162862
162917
  """Save image to a specific path using a scenes render settings
162863
162918
 
@@ -162869,7 +162924,7 @@ class Image(ID, bpy_struct):
162869
162924
  :type quality: int | None
162870
162925
  """
162871
162926
 
162872
- def save(self, filepath: str = "", quality: int | None = 0):
162927
+ def save(self, *, filepath: str = "", quality: int | None = 0):
162873
162928
  """Save image
162874
162929
 
162875
162930
  :param filepath: Output path, uses image data-block filepath if not specified
@@ -162878,7 +162933,7 @@ class Image(ID, bpy_struct):
162878
162933
  :type quality: int | None
162879
162934
  """
162880
162935
 
162881
- def pack(self, data: str = "", data_len: int | None = 0):
162936
+ def pack(self, *, data: str = "", data_len: int | None = 0):
162882
162937
  """Pack an image as embedded data into the .blend file
162883
162938
 
162884
162939
  :param data: data, Raw data (bytes, exact content of the embedded file)
@@ -162887,7 +162942,7 @@ class Image(ID, bpy_struct):
162887
162942
  :type data_len: int | None
162888
162943
  """
162889
162944
 
162890
- def unpack(self, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
162945
+ def unpack(self, *, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
162891
162946
  """Save an image packed in the .blend file to disk
162892
162947
 
162893
162948
  :param method: method, How to unpack
@@ -162904,6 +162959,7 @@ class Image(ID, bpy_struct):
162904
162959
  self,
162905
162960
  width: int | None,
162906
162961
  height: int | None,
162962
+ *,
162907
162963
  frame: int | None = 0,
162908
162964
  tile_index: int | None = 0,
162909
162965
  ):
@@ -162921,6 +162977,7 @@ class Image(ID, bpy_struct):
162921
162977
 
162922
162978
  def gl_touch(
162923
162979
  self,
162980
+ *,
162924
162981
  frame: int | None = 0,
162925
162982
  layer_index: int | None = 0,
162926
162983
  pass_index: int | None = 0,
@@ -162939,6 +162996,7 @@ class Image(ID, bpy_struct):
162939
162996
 
162940
162997
  def gl_load(
162941
162998
  self,
162999
+ *,
162942
163000
  frame: int | None = 0,
162943
163001
  layer_index: int | None = 0,
162944
163002
  pass_index: int | None = 0,
@@ -162958,7 +163016,7 @@ class Image(ID, bpy_struct):
162958
163016
  def gl_free(self):
162959
163017
  """Free the image from OpenGL graphics memory"""
162960
163018
 
162961
- def filepath_from_user(self, image_user: ImageUser | None = None) -> str:
163019
+ def filepath_from_user(self, *, image_user: ImageUser | None = None) -> str:
162962
163020
  """Return the absolute path to the filepath of an image frame specified by the image user
162963
163021
 
162964
163022
  :param image_user: Image user of the image to get filepath for
@@ -164616,7 +164674,7 @@ class KeyMapItem(bpy_struct):
164616
164674
  :rtype: bool
164617
164675
  """
164618
164676
 
164619
- def to_string(self, compact: bool | None = False) -> str:
164677
+ def to_string(self, *, compact: bool | None = False) -> str:
164620
164678
  """to_string
164621
164679
 
164622
164680
  :param compact: Compact
@@ -165404,6 +165462,7 @@ class Lattice(ID, bpy_struct):
165404
165462
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
165405
165463
  | mathutils.Matrix
165406
165464
  | None,
165465
+ *,
165407
165466
  shape_keys: bool | None = False,
165408
165467
  ):
165409
165468
  """Transform lattice by a matrix
@@ -171486,12 +171545,6 @@ class Material(ID, bpy_struct):
171486
171545
  :type: float
171487
171546
  """
171488
171547
 
171489
- shadow_method: typing.Literal["NONE", "OPAQUE", "CLIP", "HASHED"]
171490
- """ Shadow mapping method
171491
-
171492
- :type: typing.Literal['NONE','OPAQUE','CLIP','HASHED']
171493
- """
171494
-
171495
171548
  show_transparent_back: bool
171496
171549
  """ Render multiple transparent layers (may introduce transparency sorting problems) (Deprecated: use 'use_tranparency_overlap')
171497
171550
 
@@ -172026,10 +172079,10 @@ class Menu(bpy_struct):
172026
172079
  def is_extended(cls): ...
172027
172080
  def path_menu(
172028
172081
  self,
172029
- searchpaths: list[str] | None,
172082
+ searchpaths,
172030
172083
  operator: str | None,
172031
172084
  *,
172032
- props_default: dict | None = None,
172085
+ props_default=None,
172033
172086
  prop_filepath: str | None = "filepath",
172034
172087
  filter_ext: collections.abc.Callable | None = None,
172035
172088
  filter_path=None,
@@ -172040,11 +172093,9 @@ class Menu(bpy_struct):
172040
172093
  """Populate a menu from a list of paths.
172041
172094
 
172042
172095
  :param searchpaths: Paths to scan.
172043
- :type searchpaths: list[str] | None
172044
172096
  :param operator: The operator id to use with each file.
172045
172097
  :type operator: str | None
172046
172098
  :param props_default: Properties to assign to each operator.
172047
- :type props_default: dict | None
172048
172099
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
172049
172100
  :type prop_filepath: str | None
172050
172101
  :param filter_ext: Optional callback that takes the file extensions.
@@ -172403,6 +172454,7 @@ class Mesh(ID, bpy_struct):
172403
172454
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
172404
172455
  | mathutils.Matrix
172405
172456
  | None,
172457
+ *,
172406
172458
  shape_keys: bool | None = False,
172407
172459
  ):
172408
172460
  """Transform mesh vertices by a matrix (Warning: inverts normals if matrix is negative)
@@ -172416,7 +172468,7 @@ class Mesh(ID, bpy_struct):
172416
172468
  def flip_normals(self):
172417
172469
  """Invert winding of all polygons (clears tessellation, does not handle custom normals)"""
172418
172470
 
172419
- def set_sharp_from_angle(self, angle: float | None = 3.14159):
172471
+ def set_sharp_from_angle(self, *, angle: float | None = 3.14159):
172420
172472
  """Reset and fill the "sharp_edge" attribute based on the angle of faces neighboring manifold edges
172421
172473
 
172422
172474
  :param angle: Angle, Angle between faces beyond which edges are marked sharp
@@ -172426,7 +172478,7 @@ class Mesh(ID, bpy_struct):
172426
172478
  def split_faces(self):
172427
172479
  """Split faces based on the edge angle"""
172428
172480
 
172429
- def calc_tangents(self, uvmap: str = ""):
172481
+ def calc_tangents(self, *, uvmap: str = ""):
172430
172482
  """Compute tangents and bitangent signs, to be used together with the split normals to get a complete tangent space for normal mapping (split normals are also computed if not yet present)
172431
172483
 
172432
172484
  :param uvmap: Name of the UV map to use for tangent space computation
@@ -172439,7 +172491,7 @@ class Mesh(ID, bpy_struct):
172439
172491
  def calc_loop_triangles(self):
172440
172492
  """Calculate loop triangle tessellation (supports editmode too)"""
172441
172493
 
172442
- def calc_smooth_groups(self, use_bitflags: bool | None = False):
172494
+ def calc_smooth_groups(self, *, use_bitflags: bool | None = False):
172443
172495
  """Calculate smooth groups from sharp edges
172444
172496
 
172445
172497
  :param use_bitflags: Produce bitflags groups instead of simple numeric values
@@ -172468,7 +172520,7 @@ class Mesh(ID, bpy_struct):
172468
172520
  """
172469
172521
 
172470
172522
  def update(
172471
- self, calc_edges: bool | None = False, calc_edges_loose: bool | None = False
172523
+ self, *, calc_edges: bool | None = False, calc_edges_loose: bool | None = False
172472
172524
  ):
172473
172525
  """update
172474
172526
 
@@ -172483,6 +172535,7 @@ class Mesh(ID, bpy_struct):
172483
172535
 
172484
172536
  def unit_test_compare(
172485
172537
  self,
172538
+ *,
172486
172539
  mesh: typing_extensions.Self | None = None,
172487
172540
  threshold: float | None = 7.1526e-06,
172488
172541
  ) -> str:
@@ -172500,7 +172553,7 @@ class Mesh(ID, bpy_struct):
172500
172553
  """Remove all geometry from the mesh. Note that this does not free shape keys or materials."""
172501
172554
 
172502
172555
  def validate(
172503
- self, verbose: bool | None = False, clean_customdata: bool | None = True
172556
+ self, *, verbose: bool | None = False, clean_customdata: bool | None = True
172504
172557
  ) -> bool:
172505
172558
  """Validate geometry, return True when the mesh has had invalid geometry corrected/removed
172506
172559
 
@@ -172528,27 +172581,18 @@ class Mesh(ID, bpy_struct):
172528
172581
 
172529
172582
  def edge_creases_ensure(self): ...
172530
172583
  def edge_creases_remove(self): ...
172531
- def from_pydata(
172532
- self,
172533
- vertices: list | None,
172534
- edges: list | None,
172535
- faces: list | None,
172536
- shade_flat=True,
172537
- ):
172584
+ def from_pydata(self, vertices, edges, faces, shade_flat=True):
172538
172585
  """Make a mesh from a list of vertices/edges/faces
172539
172586
  Until we have a nicer way to make geometry, use this.
172540
172587
 
172541
172588
  :param vertices: float triplets each representing (X, Y, Z)
172542
172589
  eg: [(0.0, 1.0, 0.5), ...].
172543
- :type vertices: list | None
172544
172590
  :param edges: int pairs, each pair contains two indices to the
172545
172591
  vertices argument. eg: [(1, 2), ...]
172546
172592
 
172547
172593
  When an empty iterable is passed in, the edges are inferred from the polygons.
172548
- :type edges: list | None
172549
172594
  :param faces: iterator of faces, each faces contains three or more indices to
172550
172595
  the vertices argument. eg: [(5, 6, 8, 9), (1, 2, 3), ...]
172551
- :type faces: list | None
172552
172596
  :param shade_flat:
172553
172597
  """
172554
172598
 
@@ -179687,6 +179731,7 @@ class NodeTreeInterface(bpy_struct):
179687
179731
  def new_socket(
179688
179732
  self,
179689
179733
  name: str,
179734
+ *,
179690
179735
  description: str = "",
179691
179736
  in_out: typing.Literal["INPUT", "OUTPUT"] | None = "INPUT",
179692
179737
  socket_type: str | None = "DEFAULT",
@@ -179715,7 +179760,7 @@ class NodeTreeInterface(bpy_struct):
179715
179760
  """
179716
179761
 
179717
179762
  def new_panel(
179718
- self, name: str, description: str = "", default_closed: bool | None = False
179763
+ self, name: str, *, description: str = "", default_closed: bool | None = False
179719
179764
  ) -> NodeTreeInterfacePanel:
179720
179765
  """Add a new panel to the interface
179721
179766
 
@@ -179739,7 +179784,7 @@ class NodeTreeInterface(bpy_struct):
179739
179784
  """
179740
179785
 
179741
179786
  def remove(
179742
- self, item: NodeTreeInterfaceItem, move_content_to_parent: bool | None = True
179787
+ self, item: NodeTreeInterfaceItem, *, move_content_to_parent: bool | None = True
179743
179788
  ):
179744
179789
  """Remove an item from the interface
179745
179790
 
@@ -183819,7 +183864,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
183819
183864
  :type: tuple[Scene, ...]
183820
183865
  """
183821
183866
 
183822
- def select_get(self, view_layer: ViewLayer | None = None) -> bool:
183867
+ def select_get(self, *, view_layer: ViewLayer | None = None) -> bool:
183823
183868
  """Test if the object is selected. The selection state is per view layer.
183824
183869
 
183825
183870
  :param view_layer: Use this instead of the active view layer
@@ -183828,7 +183873,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
183828
183873
  :rtype: bool
183829
183874
  """
183830
183875
 
183831
- def select_set(self, state: bool | None, view_layer: ViewLayer | None = None):
183876
+ def select_set(self, state: bool | None, *, view_layer: ViewLayer | None = None):
183832
183877
  """Select or deselect the object. The selection state is per view layer.
183833
183878
 
183834
183879
  :param state: Selection state to define
@@ -183837,7 +183882,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
183837
183882
  :type view_layer: ViewLayer | None
183838
183883
  """
183839
183884
 
183840
- def hide_get(self, view_layer: ViewLayer | None = None) -> bool:
183885
+ def hide_get(self, *, view_layer: ViewLayer | None = None) -> bool:
183841
183886
  """Test if the object is hidden for viewport editing. This hiding state is per view layer.
183842
183887
 
183843
183888
  :param view_layer: Use this instead of the active view layer
@@ -183846,7 +183891,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
183846
183891
  :rtype: bool
183847
183892
  """
183848
183893
 
183849
- def hide_set(self, state: bool | None, view_layer: ViewLayer | None = None):
183894
+ def hide_set(self, state: bool | None, *, view_layer: ViewLayer | None = None):
183850
183895
  """Hide the object for viewport editing. This hiding state is per view layer.
183851
183896
 
183852
183897
  :param state: Hide state to define
@@ -183856,7 +183901,10 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
183856
183901
  """
183857
183902
 
183858
183903
  def visible_get(
183859
- self, view_layer: ViewLayer | None = None, viewport: SpaceView3D | None = None
183904
+ self,
183905
+ *,
183906
+ view_layer: ViewLayer | None = None,
183907
+ viewport: SpaceView3D | None = None,
183860
183908
  ) -> bool:
183861
183909
  """Test if the object is visible in the 3D viewport, taking into account all visibility settings
183862
183910
 
@@ -183868,7 +183916,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
183868
183916
  :rtype: bool
183869
183917
  """
183870
183918
 
183871
- def holdout_get(self, view_layer: ViewLayer | None = None) -> bool:
183919
+ def holdout_get(self, *, view_layer: ViewLayer | None = None) -> bool:
183872
183920
  """Test if object is masked in the view layer
183873
183921
 
183874
183922
  :param view_layer: Use this instead of the active view layer
@@ -183877,7 +183925,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
183877
183925
  :rtype: bool
183878
183926
  """
183879
183927
 
183880
- def indirect_only_get(self, view_layer: ViewLayer | None = None) -> bool:
183928
+ def indirect_only_get(self, *, view_layer: ViewLayer | None = None) -> bool:
183881
183929
  """Test if object is set to contribute only indirectly (through shadows and reflections) in the view layer
183882
183930
 
183883
183931
  :param view_layer: Use this instead of the active view layer
@@ -183915,6 +183963,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
183915
183963
 
183916
183964
  def convert_space(
183917
183965
  self,
183966
+ *,
183918
183967
  pose_bone: PoseBone | None = None,
183919
183968
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
183920
183969
  | mathutils.Matrix
@@ -183970,6 +184019,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
183970
184019
  def calc_matrix_camera(
183971
184020
  self,
183972
184021
  depsgraph: Depsgraph | None,
184022
+ *,
183973
184023
  x: int | None = 1,
183974
184024
  y: int | None = 1,
183975
184025
  scale_x: float | None = 1.0,
@@ -184016,6 +184066,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
184016
184066
 
184017
184067
  def crazyspace_displacement_to_deformed(
184018
184068
  self,
184069
+ *,
184019
184070
  vertex_index: int | None = 0,
184020
184071
  displacement: collections.abc.Sequence[float] | mathutils.Vector | None = (
184021
184072
  0.0,
@@ -184035,6 +184086,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
184035
184086
 
184036
184087
  def crazyspace_displacement_to_original(
184037
184088
  self,
184089
+ *,
184038
184090
  vertex_index: int | None = 0,
184039
184091
  displacement: collections.abc.Sequence[float] | mathutils.Vector | None = (
184040
184092
  0.0,
@@ -184057,6 +184109,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
184057
184109
 
184058
184110
  def to_mesh(
184059
184111
  self,
184112
+ *,
184060
184113
  preserve_all_data_layers: bool | None = False,
184061
184114
  depsgraph: Depsgraph | None = None,
184062
184115
  ) -> Mesh:
@@ -184074,7 +184127,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
184074
184127
  """Clears mesh data-block created by to_mesh()"""
184075
184128
 
184076
184129
  def to_curve(
184077
- self, depsgraph: Depsgraph | None, apply_modifiers: bool | None = False
184130
+ self, depsgraph: Depsgraph | None, *, apply_modifiers: bool | None = False
184078
184131
  ) -> Curve:
184079
184132
  """Create a Curve data-block from the current state of the object. This only works for curve and text objects. The object owns the data-block. To force free it, use to_curve_clear(). The result is temporary and cannot be used by objects from the main database.
184080
184133
 
@@ -184097,7 +184150,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
184097
184150
  """
184098
184151
 
184099
184152
  def shape_key_add(
184100
- self, name: str = "Key", from_mix: bool | None = True
184153
+ self, *, name: str = "Key", from_mix: bool | None = True
184101
184154
  ) -> ShapeKey:
184102
184155
  """Add shape key to this object
184103
184156
 
@@ -184123,6 +184176,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
184123
184176
  self,
184124
184177
  origin: collections.abc.Sequence[float] | mathutils.Vector | None,
184125
184178
  direction: collections.abc.Sequence[float] | mathutils.Vector | None,
184179
+ *,
184126
184180
  distance: float | None = 1.70141e38,
184127
184181
  depsgraph: Depsgraph | None = None,
184128
184182
  ):
@@ -184148,6 +184202,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
184148
184202
  def closest_point_on_mesh(
184149
184203
  self,
184150
184204
  origin: collections.abc.Sequence[float] | mathutils.Vector | None,
184205
+ *,
184151
184206
  distance: float | None = 1.84467e19,
184152
184207
  depsgraph: Depsgraph | None = None,
184153
184208
  ):
@@ -184769,7 +184824,7 @@ class Operator(bpy_struct):
184769
184824
  """ The name of a property to use as this operators primary property.
184770
184825
  Currently this is only used to select the default property when
184771
184826
  expanding an operator into a menu.
184772
- :type: string"""
184827
+ :type: str"""
184773
184828
 
184774
184829
  is_registered: bool
184775
184830
  """
@@ -184904,11 +184959,10 @@ expanding an operator into a menu.
184904
184959
  """
184905
184960
 
184906
184961
  @classmethod
184907
- def poll_message_set(cls, message: str | None, *args):
184962
+ def poll_message_set(cls, message, *args):
184908
184963
  """Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function.
184909
184964
 
184910
184965
  :param message: The message or a function that returns the message.
184911
- :type message: str | None
184912
184966
  :param args:
184913
184967
  """
184914
184968
 
@@ -188140,7 +188194,7 @@ class ParticleSystem(bpy_struct):
188140
188194
  """
188141
188195
 
188142
188196
  def co_hair(
188143
- self, object: Object, particle_no: int | None = 0, step: int | None = 0
188197
+ self, object: Object, *, particle_no: int | None = 0, step: int | None = 0
188144
188198
  ) -> mathutils.Vector:
188145
188199
  """Obtain cache hair data
188146
188200
 
@@ -188158,6 +188212,7 @@ class ParticleSystem(bpy_struct):
188158
188212
  self,
188159
188213
  modifier: ParticleSystemModifier,
188160
188214
  particle: Particle,
188215
+ *,
188161
188216
  particle_no: int | None = 0,
188162
188217
  uv_no: int | None = 0,
188163
188218
  ) -> mathutils.Vector:
@@ -188179,6 +188234,7 @@ class ParticleSystem(bpy_struct):
188179
188234
  self,
188180
188235
  modifier: ParticleSystemModifier,
188181
188236
  particle: Particle,
188237
+ *,
188182
188238
  particle_no: int | None = 0,
188183
188239
  vcol_no: int | None = 0,
188184
188240
  ) -> mathutils.Color:
@@ -188757,48 +188813,18 @@ class PointCloud(ID, bpy_struct):
188757
188813
  class PointLight(Light, ID, bpy_struct):
188758
188814
  """Omnidirectional point Light"""
188759
188815
 
188760
- contact_shadow_bias: float
188761
- """ Bias to avoid self shadowing
188762
-
188763
- :type: float
188764
- """
188765
-
188766
- contact_shadow_distance: float
188767
- """ World space distance in which to search for screen space occluder
188768
-
188769
- :type: float
188770
- """
188771
-
188772
- contact_shadow_thickness: float
188773
- """ Pixel thickness used to detect occlusion
188774
-
188775
- :type: float
188776
- """
188777
-
188778
188816
  energy: float
188779
188817
  """ Light energy emitted over the entire area of the light in all directions
188780
188818
 
188781
188819
  :type: float
188782
188820
  """
188783
188821
 
188784
- shadow_buffer_bias: float
188785
- """ Bias for reducing self shadowing
188786
-
188787
- :type: float
188788
- """
188789
-
188790
188822
  shadow_buffer_clip_start: float
188791
188823
  """ Shadow map clip start, below which objects will not generate shadows
188792
188824
 
188793
188825
  :type: float
188794
188826
  """
188795
188827
 
188796
- shadow_color: mathutils.Color
188797
- """ Color of shadows cast by the light
188798
-
188799
- :type: mathutils.Color
188800
- """
188801
-
188802
188828
  shadow_filter_radius: float
188803
188829
  """ Blur shadow aliasing using Percentage Closer Filtering
188804
188830
 
@@ -188829,12 +188855,6 @@ class PointLight(Light, ID, bpy_struct):
188829
188855
  :type: bool
188830
188856
  """
188831
188857
 
188832
- use_contact_shadow: bool
188833
- """ Use screen space ray-tracing to have correct shadowing near occluder, or for small features that does not appear in shadow maps
188834
-
188835
- :type: bool
188836
- """
188837
-
188838
188858
  use_shadow_jitter: bool
188839
188859
  """ Enable jittered soft shadows to increase shadow precision (disabled in viewport unless enabled in the render settings). Has a high performance impact.
188840
188860
 
@@ -188947,7 +188967,7 @@ class Pose(bpy_struct):
188947
188967
 
188948
188968
  @classmethod
188949
188969
  def apply_pose_from_action(
188950
- cls, action: Action | None, evaluation_time: float | None = 0.0
188970
+ cls, action: Action | None, *, evaluation_time: float | None = 0.0
188951
188971
  ):
188952
188972
  """Apply the given action to this pose by evaluating it at a specific time. Only updates the pose of selected bones, or all bones if none are selected.
188953
188973
 
@@ -188961,6 +188981,7 @@ class Pose(bpy_struct):
188961
188981
  def blend_pose_from_action(
188962
188982
  cls,
188963
188983
  action: Action | None,
188984
+ *,
188964
188985
  blend_factor: float | None = 1.0,
188965
188986
  evaluation_time: float | None = 0.0,
188966
188987
  ):
@@ -189461,7 +189482,7 @@ Utility function for (tail - head)(readonly)"""
189461
189482
  """
189462
189483
 
189463
189484
  def bbone_segment_matrix(
189464
- self, index: int | None, rest: bool | None = False
189485
+ self, index: int | None, *, rest: bool | None = False
189465
189486
  ) -> mathutils.Matrix:
189466
189487
  """Retrieve the matrix of the joint between B-Bone segments if availableThis example shows how to use B-Bone segment matrices to emulate deformation
189467
189488
  produced by the Armature modifier or constraint when assigned to the given bone
@@ -189477,6 +189498,7 @@ Utility function for (tail - head)(readonly)"""
189477
189498
 
189478
189499
  def compute_bbone_handles(
189479
189500
  self,
189501
+ *,
189480
189502
  rest: bool | None = False,
189481
189503
  ease: bool | None = False,
189482
189504
  offsets: bool | None = False,
@@ -192668,7 +192690,9 @@ class RenderEngine(bpy_struct):
192668
192690
  :type: bool
192669
192691
  """
192670
192692
 
192671
- def update(self, data: BlendData | None = None, depsgraph: Depsgraph | None = None):
192693
+ def update(
192694
+ self, *, data: BlendData | None = None, depsgraph: Depsgraph | None = None
192695
+ ):
192672
192696
  """Export scene data for render
192673
192697
 
192674
192698
  :param data:
@@ -192739,7 +192763,7 @@ class RenderEngine(bpy_struct):
192739
192763
  :type depsgraph: Depsgraph | None
192740
192764
  """
192741
192765
 
192742
- def update_script_node(self, node: Node | None = None):
192766
+ def update_script_node(self, *, node: Node | None = None):
192743
192767
  """Compile shader script node
192744
192768
 
192745
192769
  :param node:
@@ -192747,7 +192771,7 @@ class RenderEngine(bpy_struct):
192747
192771
  """
192748
192772
 
192749
192773
  def update_render_passes(
192750
- self, scene: Scene | None = None, renderlayer: ViewLayer | None = None
192774
+ self, *, scene: Scene | None = None, renderlayer: ViewLayer | None = None
192751
192775
  ):
192752
192776
  """Update the render passes that will be generated
192753
192777
 
@@ -192769,6 +192793,7 @@ class RenderEngine(bpy_struct):
192769
192793
  y: int | None,
192770
192794
  w: int | None,
192771
192795
  h: int | None,
192796
+ *,
192772
192797
  layer: str = "",
192773
192798
  view: str = "",
192774
192799
  ) -> RenderResult:
@@ -192800,6 +192825,7 @@ class RenderEngine(bpy_struct):
192800
192825
  def end_result(
192801
192826
  self,
192802
192827
  result: RenderResult | None,
192828
+ *,
192803
192829
  cancel: bool | None = False,
192804
192830
  highlight: bool | None = False,
192805
192831
  do_merge_results: bool | None = False,
@@ -192816,7 +192842,9 @@ class RenderEngine(bpy_struct):
192816
192842
  :type do_merge_results: bool | None
192817
192843
  """
192818
192844
 
192819
- def add_pass(self, name: str, channels: int | None, chan_id: str, layer: str = ""):
192845
+ def add_pass(
192846
+ self, name: str, channels: int | None, chan_id: str, *, layer: str = ""
192847
+ ):
192820
192848
  """Add a pass to the render layer
192821
192849
 
192822
192850
  :param name: Name, Name of the Pass, without view or channel tag
@@ -192869,7 +192897,7 @@ class RenderEngine(bpy_struct):
192869
192897
  """
192870
192898
 
192871
192899
  def camera_shift_x(
192872
- self, camera: Object | None, use_spherical_stereo: bool | None = False
192900
+ self, camera: Object | None, *, use_spherical_stereo: bool | None = False
192873
192901
  ) -> float:
192874
192902
  """camera_shift_x
192875
192903
 
@@ -192882,7 +192910,7 @@ class RenderEngine(bpy_struct):
192882
192910
  """
192883
192911
 
192884
192912
  def camera_model_matrix(
192885
- self, camera: Object | None, use_spherical_stereo: bool | None = False
192913
+ self, camera: Object | None, *, use_spherical_stereo: bool | None = False
192886
192914
  ) -> mathutils.Matrix:
192887
192915
  """camera_model_matrix
192888
192916
 
@@ -192929,7 +192957,7 @@ class RenderEngine(bpy_struct):
192929
192957
  """
192930
192958
 
192931
192959
  def update_memory_stats(
192932
- self, memory_used: float | None = 0.0, memory_peak: float | None = 0.0
192960
+ self, *, memory_used: float | None = 0.0, memory_peak: float | None = 0.0
192933
192961
  ):
192934
192962
  """Update memory usage statistics
192935
192963
 
@@ -193257,7 +193285,7 @@ class RenderLayer(bpy_struct):
193257
193285
  :type: bool
193258
193286
  """
193259
193287
 
193260
- def load_from_file(self, filepath: str, x: int | None = 0, y: int | None = 0):
193288
+ def load_from_file(self, filepath: str, *, x: int | None = 0, y: int | None = 0):
193261
193289
  """Copies the pixels of this renderlayer from an image file
193262
193290
 
193263
193291
  :param filepath: File Path, File path to load into this render tile, must be no smaller than the renderlayer
@@ -194043,6 +194071,7 @@ class RenderSettings(bpy_struct):
194043
194071
 
194044
194072
  def frame_path(
194045
194073
  self,
194074
+ *,
194046
194075
  frame: int | None = -2147483648,
194047
194076
  preview: bool | None = False,
194048
194077
  view: str = "",
@@ -195494,7 +195523,7 @@ class Scene(ID, bpy_struct):
195494
195523
  :rtype: str
195495
195524
  """
195496
195525
 
195497
- def frame_set(self, frame: int | None, subframe: float | None = 0.0):
195526
+ def frame_set(self, frame: int | None, *, subframe: float | None = 0.0):
195498
195527
  """Set scene frame updating all objects immediately
195499
195528
 
195500
195529
  :param frame: Frame number to set
@@ -195517,6 +195546,7 @@ class Scene(ID, bpy_struct):
195517
195546
  depsgraph: Depsgraph,
195518
195547
  origin: collections.abc.Sequence[float] | mathutils.Vector | None,
195519
195548
  direction: collections.abc.Sequence[float] | mathutils.Vector | None,
195549
+ *,
195520
195550
  distance: float | None = 1.70141e38,
195521
195551
  ):
195522
195552
  """Cast a ray onto in object space
@@ -195555,6 +195585,7 @@ class Scene(ID, bpy_struct):
195555
195585
  def alembic_export(
195556
195586
  self,
195557
195587
  filepath: str,
195588
+ *,
195558
195589
  frame_start: int | None = 1,
195559
195590
  frame_end: int | None = 1,
195560
195591
  xform_samples: int | None = 1,
@@ -195732,48 +195763,6 @@ class SceneDisplay(bpy_struct):
195732
195763
  class SceneEEVEE(bpy_struct):
195733
195764
  """Scene display settings for 3D viewport"""
195734
195765
 
195735
- bloom_clamp: float
195736
- """ Maximum intensity a bloom pixel can have (0 to disable) (deprecated)
195737
-
195738
- :type: float
195739
- """
195740
-
195741
- bloom_color: mathutils.Color
195742
- """ Color applied to the bloom effect (deprecated)
195743
-
195744
- :type: mathutils.Color
195745
- """
195746
-
195747
- bloom_intensity: float
195748
- """ Blend factor (deprecated)
195749
-
195750
- :type: float
195751
- """
195752
-
195753
- bloom_knee: float
195754
- """ Makes transition between under/over-threshold gradual (deprecated)
195755
-
195756
- :type: float
195757
- """
195758
-
195759
- bloom_radius: float
195760
- """ Bloom spread distance (deprecated)
195761
-
195762
- :type: float
195763
- """
195764
-
195765
- bloom_threshold: float
195766
- """ Filters out pixels under this level of brightness (deprecated)
195767
-
195768
- :type: float
195769
- """
195770
-
195771
- bokeh_denoise_fac: float
195772
- """ Amount of flicker removal applied to bokeh highlights
195773
-
195774
- :type: float
195775
- """
195776
-
195777
195766
  bokeh_max_size: float
195778
195767
  """ Max size of the bokeh shape for the depth of field (lower is faster)
195779
195768
 
@@ -195876,12 +195865,6 @@ class SceneEEVEE(bpy_struct):
195876
195865
  :type: float
195877
195866
  """
195878
195867
 
195879
- gi_cubemap_display_size: float
195880
- """ Size of the cubemap spheres to debug captured light
195881
-
195882
- :type: float
195883
- """
195884
-
195885
195868
  gi_cubemap_resolution: typing.Literal["128", "256", "512", "1024", "2048", "4096"]
195886
195869
  """ Size of every cubemaps
195887
195870
 
@@ -195894,24 +195877,12 @@ class SceneEEVEE(bpy_struct):
195894
195877
  :type: int
195895
195878
  """
195896
195879
 
195897
- gi_filter_quality: float
195898
- """ Take more samples during cubemap filtering to remove artifacts
195899
-
195900
- :type: float
195901
- """
195902
-
195903
195880
  gi_glossy_clamp: float
195904
195881
  """ Clamp pixel intensity to reduce noise inside glossy reflections from reflection cubemaps (0 to disable)
195905
195882
 
195906
195883
  :type: float
195907
195884
  """
195908
195885
 
195909
- gi_irradiance_display_size: float
195910
- """ Size of the irradiance sample spheres to debug captured light
195911
-
195912
- :type: float
195913
- """
195914
-
195915
195886
  gi_irradiance_pool_size: typing.Literal[
195916
195887
  "16", "32", "64", "128", "256", "512", "1024"
195917
195888
  ]
@@ -195920,24 +195891,6 @@ class SceneEEVEE(bpy_struct):
195920
195891
  :type: typing.Literal['16','32','64','128','256','512','1024']
195921
195892
  """
195922
195893
 
195923
- gi_irradiance_smoothing: float
195924
- """ Smoother irradiance interpolation but introduce light bleeding
195925
-
195926
- :type: float
195927
- """
195928
-
195929
- gi_show_cubemaps: bool
195930
- """ Display captured cubemaps in the viewport
195931
-
195932
- :type: bool
195933
- """
195934
-
195935
- gi_show_irradiance: bool
195936
- """ Display irradiance samples in the viewport
195937
-
195938
- :type: bool
195939
- """
195940
-
195941
195894
  gi_visibility_resolution: typing.Literal["8", "16", "32", "64"]
195942
195895
  """ Size of the shadow map applied to each irradiance sample
195943
195896
 
@@ -195950,12 +195903,6 @@ class SceneEEVEE(bpy_struct):
195950
195903
  :type: float
195951
195904
  """
195952
195905
 
195953
- gtao_factor: float
195954
- """ Factor for ambient occlusion blending
195955
-
195956
- :type: float
195957
- """
195958
-
195959
195906
  gtao_quality: float
195960
195907
  """ Precision of the horizon search
195961
195908
 
@@ -196004,18 +195951,6 @@ class SceneEEVEE(bpy_struct):
196004
195951
  :type: RaytraceEEVEE
196005
195952
  """
196006
195953
 
196007
- shadow_cascade_size: typing.Literal["128", "256", "512", "1024", "2048", "4096"]
196008
- """ Size of sun light shadow maps (deprecated)
196009
-
196010
- :type: typing.Literal['128','256','512','1024','2048','4096']
196011
- """
196012
-
196013
- shadow_cube_size: typing.Literal["128", "256", "512", "1024", "2048", "4096"]
196014
- """ Size of point and area light shadow maps (deprecated)
196015
-
196016
- :type: typing.Literal['128','256','512','1024','2048','4096']
196017
- """
196018
-
196019
195954
  shadow_pool_size: typing.Literal["16", "32", "64", "128", "256", "512", "1024"]
196020
195955
  """ Size of the shadow pool, a bigger pool size allows for more shadows in the scene but might not fit into GPU memory
196021
195956
 
@@ -196040,48 +195975,6 @@ class SceneEEVEE(bpy_struct):
196040
195975
  :type: int
196041
195976
  """
196042
195977
 
196043
- ssr_border_fade: float
196044
- """ Screen percentage used to fade the SSR
196045
-
196046
- :type: float
196047
- """
196048
-
196049
- ssr_firefly_fac: float
196050
- """ Clamp pixel intensity to remove noise (0 to disable)
196051
-
196052
- :type: float
196053
- """
196054
-
196055
- ssr_max_roughness: float
196056
- """ Do not raytrace reflections for roughness above this value
196057
-
196058
- :type: float
196059
- """
196060
-
196061
- ssr_quality: float
196062
- """ Precision of the screen space ray-tracing
196063
-
196064
- :type: float
196065
- """
196066
-
196067
- ssr_thickness: float
196068
- """ Pixel thickness used to detect intersection
196069
-
196070
- :type: float
196071
- """
196072
-
196073
- sss_jitter_threshold: float
196074
- """ Rotate samples that are below this threshold
196075
-
196076
- :type: float
196077
- """
196078
-
196079
- sss_samples: int
196080
- """ Number of samples to compute the scattering effect
196081
-
196082
- :type: int
196083
- """
196084
-
196085
195978
  taa_render_samples: int
196086
195979
  """ Number of samples per pixel for rendering
196087
195980
 
@@ -196094,18 +195987,6 @@ class SceneEEVEE(bpy_struct):
196094
195987
  :type: int
196095
195988
  """
196096
195989
 
196097
- use_bloom: bool
196098
- """ High brightness pixels generate a glowing effect (deprecated)
196099
-
196100
- :type: bool
196101
- """
196102
-
196103
- use_bokeh_high_quality_slight_defocus: bool
196104
- """ Sample all pixels in almost in-focus regions to eliminate noise
196105
-
196106
- :type: bool
196107
- """
196108
-
196109
195990
  use_bokeh_jittered: bool
196110
195991
  """ Jitter camera position to create accurate blurring using render samples (only for final render)
196111
195992
 
@@ -196124,18 +196005,6 @@ class SceneEEVEE(bpy_struct):
196124
196005
  :type: bool
196125
196006
  """
196126
196007
 
196127
- use_gtao_bent_normals: bool
196128
- """ Compute main non occluded direction to sample the environment
196129
-
196130
- :type: bool
196131
- """
196132
-
196133
- use_gtao_bounce: bool
196134
- """ An approximation to simulate light bounces giving less occlusion on brighter objects
196135
-
196136
- :type: bool
196137
- """
196138
-
196139
196008
  use_overscan: bool
196140
196009
  """ Internally render past the image border to avoid screen-space effects disappearing
196141
196010
 
@@ -196148,12 +196017,6 @@ class SceneEEVEE(bpy_struct):
196148
196017
  :type: bool
196149
196018
  """
196150
196019
 
196151
- use_shadow_high_bitdepth: bool
196152
- """ Use 32-bit shadows
196153
-
196154
- :type: bool
196155
- """
196156
-
196157
196020
  use_shadow_jitter_viewport: bool
196158
196021
  """ Enable jittered shadows on the viewport. (Jittered shadows are always enabled for final renders).
196159
196022
 
@@ -196166,30 +196029,6 @@ class SceneEEVEE(bpy_struct):
196166
196029
  :type: bool
196167
196030
  """
196168
196031
 
196169
- use_soft_shadows: bool
196170
- """ Randomize shadowmaps origin to create soft shadows
196171
-
196172
- :type: bool
196173
- """
196174
-
196175
- use_ssr: bool
196176
- """ Enable screen space reflection
196177
-
196178
- :type: bool
196179
- """
196180
-
196181
- use_ssr_halfres: bool
196182
- """ Raytrace at a lower resolution
196183
-
196184
- :type: bool
196185
- """
196186
-
196187
- use_ssr_refraction: bool
196188
- """ Enable screen space Refractions
196189
-
196190
- :type: bool
196191
- """
196192
-
196193
196032
  use_taa_reprojection: bool
196194
196033
  """ Denoise image using temporal reprojection (can leave some ghosting)
196195
196034
 
@@ -196202,12 +196041,6 @@ class SceneEEVEE(bpy_struct):
196202
196041
  :type: bool
196203
196042
  """
196204
196043
 
196205
- use_volumetric_lights: bool
196206
- """ Enable scene light interactions with volumetrics
196207
-
196208
- :type: bool
196209
- """
196210
-
196211
196044
  use_volumetric_shadows: bool
196212
196045
  """ Cast shadows from volumetric materials onto volumetric materials (Very expensive)
196213
196046
 
@@ -198431,6 +198264,12 @@ class SequencerToolSettings(bpy_struct):
198431
198264
  :type: bool
198432
198265
  """
198433
198266
 
198267
+ snap_to_retiming_keys: bool
198268
+ """ Snap to retiming keys
198269
+
198270
+ :type: bool
198271
+ """
198272
+
198434
198273
  snap_to_strips_preview: bool
198435
198274
  """ Snap to borders and origins of deselected, visible strips
198436
198275
 
@@ -204102,7 +203941,7 @@ class ShaderNodeTexPointDensity(ShaderNode, NodeInternal, Node, bpy_struct):
204102
203941
  :rtype: NodeInternalSocketTemplate
204103
203942
  """
204104
203943
 
204105
- def cache_point_density(self, depsgraph: Depsgraph | None = None):
203944
+ def cache_point_density(self, *, depsgraph: Depsgraph | None = None):
204106
203945
  """Cache point density data for later calculation
204107
203946
 
204108
203947
  :param depsgraph:
@@ -204110,7 +203949,7 @@ class ShaderNodeTexPointDensity(ShaderNode, NodeInternal, Node, bpy_struct):
204110
203949
  """
204111
203950
 
204112
203951
  def calc_point_density(
204113
- self, depsgraph: Depsgraph | None = None
203952
+ self, *, depsgraph: Depsgraph | None = None
204114
203953
  ) -> bpy_prop_array[float]:
204115
203954
  """Calculate point density
204116
203955
 
@@ -204120,7 +203959,7 @@ class ShaderNodeTexPointDensity(ShaderNode, NodeInternal, Node, bpy_struct):
204120
203959
  :rtype: bpy_prop_array[float]
204121
203960
  """
204122
203961
 
204123
- def calc_point_density_minmax(self, depsgraph: Depsgraph | None = None):
203962
+ def calc_point_density_minmax(self, *, depsgraph: Depsgraph | None = None):
204124
203963
  """Calculate point density
204125
203964
 
204126
203965
  :param depsgraph:
@@ -206854,7 +206693,7 @@ class Sound(ID, bpy_struct):
206854
206693
  def pack(self):
206855
206694
  """Pack the sound into the current blend file"""
206856
206695
 
206857
- def unpack(self, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
206696
+ def unpack(self, *, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
206858
206697
  """Unpack the sound to the samples filename
206859
206698
 
206860
206699
  :param method: method, How to unpack
@@ -207043,8 +206882,8 @@ class Space(bpy_struct):
207043
206882
  @classmethod
207044
206883
  def draw_handler_add(
207045
206884
  cls,
207046
- callback: typing.Any | None,
207047
- args: tuple | None,
206885
+ callback: collections.abc.Callable | None,
206886
+ args,
207048
206887
  region_type: str | None,
207049
206888
  draw_type: str | None,
207050
206889
  ) -> typing.Any:
@@ -207053,10 +206892,9 @@ class Space(bpy_struct):
207053
206892
  Note: All arguments are positional only for now.
207054
206893
 
207055
206894
  :param callback: A function that will be called when the region is drawn.
207056
- It gets the specified arguments as input.
207057
- :type callback: typing.Any | None
206895
+ It gets the specified arguments as input, it's return value is ignored.
206896
+ :type callback: collections.abc.Callable | None
207058
206897
  :param args: Arguments that will be passed to the callback.
207059
- :type args: tuple | None
207060
206898
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
207061
206899
  :type region_type: str | None
207062
206900
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -207387,8 +207225,8 @@ class SpaceClipEditor(Space, bpy_struct):
207387
207225
  @classmethod
207388
207226
  def draw_handler_add(
207389
207227
  cls,
207390
- callback: typing.Any | None,
207391
- args: tuple | None,
207228
+ callback: collections.abc.Callable | None,
207229
+ args,
207392
207230
  region_type: str | None,
207393
207231
  draw_type: str | None,
207394
207232
  ) -> typing.Any:
@@ -207397,10 +207235,9 @@ class SpaceClipEditor(Space, bpy_struct):
207397
207235
  Note: All arguments are positional only for now.
207398
207236
 
207399
207237
  :param callback: A function that will be called when the region is drawn.
207400
- It gets the specified arguments as input.
207401
- :type callback: typing.Any | None
207238
+ It gets the specified arguments as input, it's return value is ignored.
207239
+ :type callback: collections.abc.Callable | None
207402
207240
  :param args: Arguments that will be passed to the callback.
207403
- :type args: tuple | None
207404
207241
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
207405
207242
  :type region_type: str | None
207406
207243
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -207489,8 +207326,8 @@ class SpaceConsole(Space, bpy_struct):
207489
207326
  @classmethod
207490
207327
  def draw_handler_add(
207491
207328
  cls,
207492
- callback: typing.Any | None,
207493
- args: tuple | None,
207329
+ callback: collections.abc.Callable | None,
207330
+ args,
207494
207331
  region_type: str | None,
207495
207332
  draw_type: str | None,
207496
207333
  ) -> typing.Any:
@@ -207499,10 +207336,9 @@ class SpaceConsole(Space, bpy_struct):
207499
207336
  Note: All arguments are positional only for now.
207500
207337
 
207501
207338
  :param callback: A function that will be called when the region is drawn.
207502
- It gets the specified arguments as input.
207503
- :type callback: typing.Any | None
207339
+ It gets the specified arguments as input, it's return value is ignored.
207340
+ :type callback: collections.abc.Callable | None
207504
207341
  :param args: Arguments that will be passed to the callback.
207505
- :type args: tuple | None
207506
207342
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
207507
207343
  :type region_type: str | None
207508
207344
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -207697,8 +207533,8 @@ class SpaceDopeSheetEditor(Space, bpy_struct):
207697
207533
  @classmethod
207698
207534
  def draw_handler_add(
207699
207535
  cls,
207700
- callback: typing.Any | None,
207701
- args: tuple | None,
207536
+ callback: collections.abc.Callable | None,
207537
+ args,
207702
207538
  region_type: str | None,
207703
207539
  draw_type: str | None,
207704
207540
  ) -> typing.Any:
@@ -207707,10 +207543,9 @@ class SpaceDopeSheetEditor(Space, bpy_struct):
207707
207543
  Note: All arguments are positional only for now.
207708
207544
 
207709
207545
  :param callback: A function that will be called when the region is drawn.
207710
- It gets the specified arguments as input.
207711
- :type callback: typing.Any | None
207546
+ It gets the specified arguments as input, it's return value is ignored.
207547
+ :type callback: collections.abc.Callable | None
207712
207548
  :param args: Arguments that will be passed to the callback.
207713
- :type args: tuple | None
207714
207549
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
207715
207550
  :type region_type: str | None
207716
207551
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -207823,7 +207658,7 @@ class SpaceFileBrowser(Space, bpy_struct):
207823
207658
  """
207824
207659
 
207825
207660
  def activate_asset_by_id(
207826
- self, id_to_activate: ID | None, deferred: bool | None = False
207661
+ self, id_to_activate: ID | None, *, deferred: bool | None = False
207827
207662
  ):
207828
207663
  """Activate and select the asset entry that represents the given ID
207829
207664
 
@@ -207833,7 +207668,7 @@ class SpaceFileBrowser(Space, bpy_struct):
207833
207668
  :type deferred: bool | None
207834
207669
  """
207835
207670
 
207836
- def activate_file_by_relative_path(self, relative_path: str = ""):
207671
+ def activate_file_by_relative_path(self, *, relative_path: str = ""):
207837
207672
  """Set active file and add to selection based on relative path to current File Browser directory
207838
207673
 
207839
207674
  :param relative_path: relative_path
@@ -207868,8 +207703,8 @@ class SpaceFileBrowser(Space, bpy_struct):
207868
207703
  @classmethod
207869
207704
  def draw_handler_add(
207870
207705
  cls,
207871
- callback: typing.Any | None,
207872
- args: tuple | None,
207706
+ callback: collections.abc.Callable | None,
207707
+ args,
207873
207708
  region_type: str | None,
207874
207709
  draw_type: str | None,
207875
207710
  ) -> typing.Any:
@@ -207878,10 +207713,9 @@ class SpaceFileBrowser(Space, bpy_struct):
207878
207713
  Note: All arguments are positional only for now.
207879
207714
 
207880
207715
  :param callback: A function that will be called when the region is drawn.
207881
- It gets the specified arguments as input.
207882
- :type callback: typing.Any | None
207716
+ It gets the specified arguments as input, it's return value is ignored.
207717
+ :type callback: collections.abc.Callable | None
207883
207718
  :param args: Arguments that will be passed to the callback.
207884
- :type args: tuple | None
207885
207719
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
207886
207720
  :type region_type: str | None
207887
207721
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -208054,8 +207888,8 @@ class SpaceGraphEditor(Space, bpy_struct):
208054
207888
  @classmethod
208055
207889
  def draw_handler_add(
208056
207890
  cls,
208057
- callback: typing.Any | None,
208058
- args: tuple | None,
207891
+ callback: collections.abc.Callable | None,
207892
+ args,
208059
207893
  region_type: str | None,
208060
207894
  draw_type: str | None,
208061
207895
  ) -> typing.Any:
@@ -208064,10 +207898,9 @@ class SpaceGraphEditor(Space, bpy_struct):
208064
207898
  Note: All arguments are positional only for now.
208065
207899
 
208066
207900
  :param callback: A function that will be called when the region is drawn.
208067
- It gets the specified arguments as input.
208068
- :type callback: typing.Any | None
207901
+ It gets the specified arguments as input, it's return value is ignored.
207902
+ :type callback: collections.abc.Callable | None
208069
207903
  :param args: Arguments that will be passed to the callback.
208070
- :type args: tuple | None
208071
207904
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
208072
207905
  :type region_type: str | None
208073
207906
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -208338,8 +208171,8 @@ class SpaceImageEditor(Space, bpy_struct):
208338
208171
  @classmethod
208339
208172
  def draw_handler_add(
208340
208173
  cls,
208341
- callback: typing.Any | None,
208342
- args: tuple | None,
208174
+ callback: collections.abc.Callable | None,
208175
+ args,
208343
208176
  region_type: str | None,
208344
208177
  draw_type: str | None,
208345
208178
  ) -> typing.Any:
@@ -208348,10 +208181,9 @@ class SpaceImageEditor(Space, bpy_struct):
208348
208181
  Note: All arguments are positional only for now.
208349
208182
 
208350
208183
  :param callback: A function that will be called when the region is drawn.
208351
- It gets the specified arguments as input.
208352
- :type callback: typing.Any | None
208184
+ It gets the specified arguments as input, it's return value is ignored.
208185
+ :type callback: collections.abc.Callable | None
208353
208186
  :param args: Arguments that will be passed to the callback.
208354
- :type args: tuple | None
208355
208187
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
208356
208188
  :type region_type: str | None
208357
208189
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -208465,8 +208297,8 @@ class SpaceInfo(Space, bpy_struct):
208465
208297
  @classmethod
208466
208298
  def draw_handler_add(
208467
208299
  cls,
208468
- callback: typing.Any | None,
208469
- args: tuple | None,
208300
+ callback: collections.abc.Callable | None,
208301
+ args,
208470
208302
  region_type: str | None,
208471
208303
  draw_type: str | None,
208472
208304
  ) -> typing.Any:
@@ -208475,10 +208307,9 @@ class SpaceInfo(Space, bpy_struct):
208475
208307
  Note: All arguments are positional only for now.
208476
208308
 
208477
208309
  :param callback: A function that will be called when the region is drawn.
208478
- It gets the specified arguments as input.
208479
- :type callback: typing.Any | None
208310
+ It gets the specified arguments as input, it's return value is ignored.
208311
+ :type callback: collections.abc.Callable | None
208480
208312
  :param args: Arguments that will be passed to the callback.
208481
- :type args: tuple | None
208482
208313
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
208483
208314
  :type region_type: str | None
208484
208315
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -208579,8 +208410,8 @@ class SpaceNLA(Space, bpy_struct):
208579
208410
  @classmethod
208580
208411
  def draw_handler_add(
208581
208412
  cls,
208582
- callback: typing.Any | None,
208583
- args: tuple | None,
208413
+ callback: collections.abc.Callable | None,
208414
+ args,
208584
208415
  region_type: str | None,
208585
208416
  draw_type: str | None,
208586
208417
  ) -> typing.Any:
@@ -208589,10 +208420,9 @@ class SpaceNLA(Space, bpy_struct):
208589
208420
  Note: All arguments are positional only for now.
208590
208421
 
208591
208422
  :param callback: A function that will be called when the region is drawn.
208592
- It gets the specified arguments as input.
208593
- :type callback: typing.Any | None
208423
+ It gets the specified arguments as input, it's return value is ignored.
208424
+ :type callback: collections.abc.Callable | None
208594
208425
  :param args: Arguments that will be passed to the callback.
208595
- :type args: tuple | None
208596
208426
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
208597
208427
  :type region_type: str | None
208598
208428
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -208782,8 +208612,8 @@ class SpaceNodeEditor(Space, bpy_struct):
208782
208612
  @classmethod
208783
208613
  def draw_handler_add(
208784
208614
  cls,
208785
- callback: typing.Any | None,
208786
- args: tuple | None,
208615
+ callback: collections.abc.Callable | None,
208616
+ args,
208787
208617
  region_type: str | None,
208788
208618
  draw_type: str | None,
208789
208619
  ) -> typing.Any:
@@ -208792,10 +208622,9 @@ class SpaceNodeEditor(Space, bpy_struct):
208792
208622
  Note: All arguments are positional only for now.
208793
208623
 
208794
208624
  :param callback: A function that will be called when the region is drawn.
208795
- It gets the specified arguments as input.
208796
- :type callback: typing.Any | None
208625
+ It gets the specified arguments as input, it's return value is ignored.
208626
+ :type callback: collections.abc.Callable | None
208797
208627
  :param args: Arguments that will be passed to the callback.
208798
- :type args: tuple | None
208799
208628
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
208800
208629
  :type region_type: str | None
208801
208630
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209115,8 +208944,8 @@ class SpaceOutliner(Space, bpy_struct):
209115
208944
  @classmethod
209116
208945
  def draw_handler_add(
209117
208946
  cls,
209118
- callback: typing.Any | None,
209119
- args: tuple | None,
208947
+ callback: collections.abc.Callable | None,
208948
+ args,
209120
208949
  region_type: str | None,
209121
208950
  draw_type: str | None,
209122
208951
  ) -> typing.Any:
@@ -209125,10 +208954,9 @@ class SpaceOutliner(Space, bpy_struct):
209125
208954
  Note: All arguments are positional only for now.
209126
208955
 
209127
208956
  :param callback: A function that will be called when the region is drawn.
209128
- It gets the specified arguments as input.
209129
- :type callback: typing.Any | None
208957
+ It gets the specified arguments as input, it's return value is ignored.
208958
+ :type callback: collections.abc.Callable | None
209130
208959
  :param args: Arguments that will be passed to the callback.
209131
- :type args: tuple | None
209132
208960
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209133
208961
  :type region_type: str | None
209134
208962
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209187,8 +209015,8 @@ class SpacePreferences(Space, bpy_struct):
209187
209015
  @classmethod
209188
209016
  def draw_handler_add(
209189
209017
  cls,
209190
- callback: typing.Any | None,
209191
- args: tuple | None,
209018
+ callback: collections.abc.Callable | None,
209019
+ args,
209192
209020
  region_type: str | None,
209193
209021
  draw_type: str | None,
209194
209022
  ) -> typing.Any:
@@ -209197,10 +209025,9 @@ class SpacePreferences(Space, bpy_struct):
209197
209025
  Note: All arguments are positional only for now.
209198
209026
 
209199
209027
  :param callback: A function that will be called when the region is drawn.
209200
- It gets the specified arguments as input.
209201
- :type callback: typing.Any | None
209028
+ It gets the specified arguments as input, it's return value is ignored.
209029
+ :type callback: collections.abc.Callable | None
209202
209030
  :param args: Arguments that will be passed to the callback.
209203
- :type args: tuple | None
209204
209031
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209205
209032
  :type region_type: str | None
209206
209033
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209302,8 +209129,8 @@ class SpaceProperties(Space, bpy_struct):
209302
209129
  @classmethod
209303
209130
  def draw_handler_add(
209304
209131
  cls,
209305
- callback: typing.Any | None,
209306
- args: tuple | None,
209132
+ callback: collections.abc.Callable | None,
209133
+ args,
209307
209134
  region_type: str | None,
209308
209135
  draw_type: str | None,
209309
209136
  ) -> typing.Any:
@@ -209312,10 +209139,9 @@ class SpaceProperties(Space, bpy_struct):
209312
209139
  Note: All arguments are positional only for now.
209313
209140
 
209314
209141
  :param callback: A function that will be called when the region is drawn.
209315
- It gets the specified arguments as input.
209316
- :type callback: typing.Any | None
209142
+ It gets the specified arguments as input, it's return value is ignored.
209143
+ :type callback: collections.abc.Callable | None
209317
209144
  :param args: Arguments that will be passed to the callback.
209318
- :type args: tuple | None
209319
209145
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209320
209146
  :type region_type: str | None
209321
209147
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209558,8 +209384,8 @@ class SpaceSequenceEditor(Space, bpy_struct):
209558
209384
  @classmethod
209559
209385
  def draw_handler_add(
209560
209386
  cls,
209561
- callback: typing.Any | None,
209562
- args: tuple | None,
209387
+ callback: collections.abc.Callable | None,
209388
+ args,
209563
209389
  region_type: str | None,
209564
209390
  draw_type: str | None,
209565
209391
  ) -> typing.Any:
@@ -209568,10 +209394,9 @@ class SpaceSequenceEditor(Space, bpy_struct):
209568
209394
  Note: All arguments are positional only for now.
209569
209395
 
209570
209396
  :param callback: A function that will be called when the region is drawn.
209571
- It gets the specified arguments as input.
209572
- :type callback: typing.Any | None
209397
+ It gets the specified arguments as input, it's return value is ignored.
209398
+ :type callback: collections.abc.Callable | None
209573
209399
  :param args: Arguments that will be passed to the callback.
209574
- :type args: tuple | None
209575
209400
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209576
209401
  :type region_type: str | None
209577
209402
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209702,8 +209527,8 @@ class SpaceSpreadsheet(Space, bpy_struct):
209702
209527
  @classmethod
209703
209528
  def draw_handler_add(
209704
209529
  cls,
209705
- callback: typing.Any | None,
209706
- args: tuple | None,
209530
+ callback: collections.abc.Callable | None,
209531
+ args,
209707
209532
  region_type: str | None,
209708
209533
  draw_type: str | None,
209709
209534
  ) -> typing.Any:
@@ -209712,10 +209537,9 @@ class SpaceSpreadsheet(Space, bpy_struct):
209712
209537
  Note: All arguments are positional only for now.
209713
209538
 
209714
209539
  :param callback: A function that will be called when the region is drawn.
209715
- It gets the specified arguments as input.
209716
- :type callback: typing.Any | None
209540
+ It gets the specified arguments as input, it's return value is ignored.
209541
+ :type callback: collections.abc.Callable | None
209717
209542
  :param args: Arguments that will be passed to the callback.
209718
- :type args: tuple | None
209719
209543
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209720
209544
  :type region_type: str | None
209721
209545
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209902,8 +209726,8 @@ class SpaceTextEditor(Space, bpy_struct):
209902
209726
  @classmethod
209903
209727
  def draw_handler_add(
209904
209728
  cls,
209905
- callback: typing.Any | None,
209906
- args: tuple | None,
209729
+ callback: collections.abc.Callable | None,
209730
+ args,
209907
209731
  region_type: str | None,
209908
209732
  draw_type: str | None,
209909
209733
  ) -> typing.Any:
@@ -209912,10 +209736,9 @@ class SpaceTextEditor(Space, bpy_struct):
209912
209736
  Note: All arguments are positional only for now.
209913
209737
 
209914
209738
  :param callback: A function that will be called when the region is drawn.
209915
- It gets the specified arguments as input.
209916
- :type callback: typing.Any | None
209739
+ It gets the specified arguments as input, it's return value is ignored.
209740
+ :type callback: collections.abc.Callable | None
209917
209741
  :param args: Arguments that will be passed to the callback.
209918
- :type args: tuple | None
209919
209742
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209920
209743
  :type region_type: str | None
209921
209744
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -210607,8 +210430,8 @@ class SpaceView3D(Space, bpy_struct):
210607
210430
  @classmethod
210608
210431
  def draw_handler_add(
210609
210432
  cls,
210610
- callback: typing.Any | None,
210611
- args: tuple | None,
210433
+ callback: collections.abc.Callable | None,
210434
+ args,
210612
210435
  region_type: str | None,
210613
210436
  draw_type: str | None,
210614
210437
  ) -> typing.Any:
@@ -210617,10 +210440,9 @@ class SpaceView3D(Space, bpy_struct):
210617
210440
  Note: All arguments are positional only for now.
210618
210441
 
210619
210442
  :param callback: A function that will be called when the region is drawn.
210620
- It gets the specified arguments as input.
210621
- :type callback: typing.Any | None
210443
+ It gets the specified arguments as input, it's return value is ignored.
210444
+ :type callback: collections.abc.Callable | None
210622
210445
  :param args: Arguments that will be passed to the callback.
210623
- :type args: tuple | None
210624
210446
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
210625
210447
  :type region_type: str | None
210626
210448
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -210938,7 +210760,7 @@ class Spline(bpy_struct):
210938
210760
  :type: bool
210939
210761
  """
210940
210762
 
210941
- def calc_length(self, resolution: int | None = 0) -> float:
210763
+ def calc_length(self, *, resolution: int | None = 0) -> float:
210942
210764
  """Calculate spline length
210943
210765
 
210944
210766
  :param resolution: Resolution, Spline resolution to be used, 0 defaults to the resolution_u
@@ -211165,48 +210987,18 @@ class SplinePoint(bpy_struct):
211165
210987
  class SpotLight(Light, ID, bpy_struct):
211166
210988
  """Directional cone Light"""
211167
210989
 
211168
- contact_shadow_bias: float
211169
- """ Bias to avoid self shadowing
211170
-
211171
- :type: float
211172
- """
211173
-
211174
- contact_shadow_distance: float
211175
- """ World space distance in which to search for screen space occluder
211176
-
211177
- :type: float
211178
- """
211179
-
211180
- contact_shadow_thickness: float
211181
- """ Pixel thickness used to detect occlusion
211182
-
211183
- :type: float
211184
- """
211185
-
211186
210990
  energy: float
211187
210991
  """ The energy this light would emit over its entire area if it wasn't limited by the spot angle
211188
210992
 
211189
210993
  :type: float
211190
210994
  """
211191
210995
 
211192
- shadow_buffer_bias: float
211193
- """ Bias for reducing self shadowing
211194
-
211195
- :type: float
211196
- """
211197
-
211198
210996
  shadow_buffer_clip_start: float
211199
210997
  """ Shadow map clip start, below which objects will not generate shadows
211200
210998
 
211201
210999
  :type: float
211202
211000
  """
211203
211001
 
211204
- shadow_color: mathutils.Color
211205
- """ Color of shadows cast by the light
211206
-
211207
- :type: mathutils.Color
211208
- """
211209
-
211210
211002
  shadow_filter_radius: float
211211
211003
  """ Blur shadow aliasing using Percentage Closer Filtering
211212
211004
 
@@ -211255,12 +211047,6 @@ class SpotLight(Light, ID, bpy_struct):
211255
211047
  :type: bool
211256
211048
  """
211257
211049
 
211258
- use_contact_shadow: bool
211259
- """ Use screen space ray-tracing to have correct shadowing near occluder, or for small features that does not appear in shadow maps
211260
-
211261
- :type: bool
211262
- """
211263
-
211264
211050
  use_shadow_jitter: bool
211265
211051
  """ Enable jittered soft shadows to increase shadow precision (disabled in viewport unless enabled in the render settings). Has a high performance impact.
211266
211052
 
@@ -212163,36 +211949,12 @@ class SunLight(Light, ID, bpy_struct):
212163
211949
  :type: float
212164
211950
  """
212165
211951
 
212166
- contact_shadow_bias: float
212167
- """ Bias to avoid self shadowing
212168
-
212169
- :type: float
212170
- """
212171
-
212172
- contact_shadow_distance: float
212173
- """ World space distance in which to search for screen space occluder
212174
-
212175
- :type: float
212176
- """
212177
-
212178
- contact_shadow_thickness: float
212179
- """ Pixel thickness used to detect occlusion
212180
-
212181
- :type: float
212182
- """
212183
-
212184
211952
  energy: float
212185
211953
  """ Sunlight strength in watts per meter squared (W/m²)
212186
211954
 
212187
211955
  :type: float
212188
211956
  """
212189
211957
 
212190
- shadow_buffer_bias: float
212191
- """ Bias for reducing self shadowing
212192
-
212193
- :type: float
212194
- """
212195
-
212196
211958
  shadow_buffer_clip_start: float
212197
211959
  """ Shadow map clip start, below which objects will not generate shadows
212198
211960
 
@@ -212223,12 +211985,6 @@ class SunLight(Light, ID, bpy_struct):
212223
211985
  :type: float
212224
211986
  """
212225
211987
 
212226
- shadow_color: mathutils.Color
212227
- """ Color of shadows cast by the light
212228
-
212229
- :type: mathutils.Color
212230
- """
212231
-
212232
211988
  shadow_filter_radius: float
212233
211989
  """ Blur shadow aliasing using Percentage Closer Filtering
212234
211990
 
@@ -212253,12 +212009,6 @@ class SunLight(Light, ID, bpy_struct):
212253
212009
  :type: float
212254
212010
  """
212255
212011
 
212256
- use_contact_shadow: bool
212257
- """ Use screen space ray-tracing to have correct shadowing near occluder, or for small features that does not appear in shadow maps
212258
-
212259
- :type: bool
212260
- """
212261
-
212262
212012
  use_shadow_jitter: bool
212263
212013
  """ Enable jittered soft shadows to increase shadow precision (disabled in viewport unless enabled in the render settings). Has a high performance impact.
212264
212014
 
@@ -212772,7 +212522,11 @@ class Text(ID, bpy_struct):
212772
212522
  """
212773
212523
 
212774
212524
  def cursor_set(
212775
- self, line: int | None, character: int | None = 0, select: bool | None = False
212525
+ self,
212526
+ line: int | None,
212527
+ *,
212528
+ character: int | None = 0,
212529
+ select: bool | None = False,
212776
212530
  ):
212777
212531
  """Set cursor by line and (optionally) character index
212778
212532
 
@@ -223149,6 +222903,7 @@ class UIList(bpy_struct):
223149
222903
  icon: int | None,
223150
222904
  active_data: typing.Any,
223151
222905
  active_property: str | None,
222906
+ *,
223152
222907
  index: int | None = 0,
223153
222908
  flt_flag: int | None = 0,
223154
222909
  ):
@@ -224930,7 +224685,7 @@ class VectorFont(ID, bpy_struct):
224930
224685
  def pack(self):
224931
224686
  """Pack the font into the current blend file"""
224932
224687
 
224933
- def unpack(self, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
224688
+ def unpack(self, *, method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL"):
224934
224689
  """Unpack the font to the samples filename
224935
224690
 
224936
224691
  :param method: method, How to unpack
@@ -225569,7 +225324,7 @@ class View2D(bpy_struct):
225569
225324
  """
225570
225325
 
225571
225326
  def view_to_region(
225572
- self, x: float | None, y: float | None, clip: bool | None = True
225327
+ self, x: float | None, y: float | None, *, clip: bool | None = True
225573
225328
  ) -> bpy_prop_array[int]:
225574
225329
  """Transform 2D view coordinates to region
225575
225330
 
@@ -228289,6 +228044,7 @@ class Window(bpy_struct):
228289
228044
  self,
228290
228045
  type: bpy.typing.EventTypeItems | None,
228291
228046
  value: bpy.typing.EventValueItems | None,
228047
+ *,
228292
228048
  unicode: str | None = "",
228293
228049
  x: int | None = 0,
228294
228050
  y: int | None = 0,
@@ -228491,7 +228247,7 @@ class WindowManager(ID, bpy_struct):
228491
228247
  """
228492
228248
 
228493
228249
  def event_timer_add(
228494
- self, time_step: float | None, window: Window | None = None
228250
+ self, time_step: float | None, *, window: Window | None = None
228495
228251
  ) -> Timer:
228496
228252
  """Add a timer to the given window, to generate periodic 'TIMER' events
228497
228253
 
@@ -228563,6 +228319,7 @@ class WindowManager(ID, bpy_struct):
228563
228319
  def invoke_props_dialog(
228564
228320
  cls,
228565
228321
  operator: Operator | None,
228322
+ *,
228566
228323
  width: int | None = 300,
228567
228324
  title: str = "",
228568
228325
  confirm_text: str = "",
@@ -228600,7 +228357,7 @@ class WindowManager(ID, bpy_struct):
228600
228357
 
228601
228358
  @classmethod
228602
228359
  def invoke_popup(
228603
- cls, operator: Operator | None, width: int | None = 300
228360
+ cls, operator: Operator | None, *, width: int | None = 300
228604
228361
  ) -> set[bpy.typing.OperatorReturnItems]:
228605
228362
  """Operator popup invoke (only shows operator's properties, without executing it)
228606
228363
 
@@ -228617,6 +228374,7 @@ class WindowManager(ID, bpy_struct):
228617
228374
  cls,
228618
228375
  operator: Operator | None,
228619
228376
  event: Event | None,
228377
+ *,
228620
228378
  title: str = "",
228621
228379
  message: str = "",
228622
228380
  confirm_text: str = "",
@@ -228649,7 +228407,7 @@ class WindowManager(ID, bpy_struct):
228649
228407
 
228650
228408
  @classmethod
228651
228409
  def popmenu_begin__internal(
228652
- cls, title: str, icon: bpy.typing.IconItems | None = "NONE"
228410
+ cls, title: str, *, icon: bpy.typing.IconItems | None = "NONE"
228653
228411
  ) -> UIPopupMenu:
228654
228412
  """popmenu_begin__internal
228655
228413
 
@@ -228671,7 +228429,7 @@ class WindowManager(ID, bpy_struct):
228671
228429
 
228672
228430
  @classmethod
228673
228431
  def popover_begin__internal(
228674
- cls, ui_units_x: int | None = 0, from_active_button: bool | None = False
228432
+ cls, *, ui_units_x: int | None = 0, from_active_button: bool | None = False
228675
228433
  ) -> UIPopover:
228676
228434
  """popover_begin__internal
228677
228435
 
@@ -228684,7 +228442,7 @@ class WindowManager(ID, bpy_struct):
228684
228442
  """
228685
228443
 
228686
228444
  @classmethod
228687
- def popover_end__internal(cls, menu: UIPopover, keymap: KeyMap | None = None):
228445
+ def popover_end__internal(cls, menu: UIPopover, *, keymap: KeyMap | None = None):
228688
228446
  """popover_end__internal
228689
228447
 
228690
228448
  :param menu:
@@ -228695,7 +228453,11 @@ class WindowManager(ID, bpy_struct):
228695
228453
 
228696
228454
  @classmethod
228697
228455
  def piemenu_begin__internal(
228698
- cls, title: str, icon: bpy.typing.IconItems | None = "NONE", event: Event = None
228456
+ cls,
228457
+ title: str,
228458
+ *,
228459
+ icon: bpy.typing.IconItems | None = "NONE",
228460
+ event: Event = None,
228699
228461
  ) -> UIPieMenu:
228700
228462
  """piemenu_begin__internal
228701
228463
 
@@ -228787,8 +228549,8 @@ class WindowManager(ID, bpy_struct):
228787
228549
  @classmethod
228788
228550
  def draw_cursor_add(
228789
228551
  cls,
228790
- callback: typing.Any | None,
228791
- args: tuple | None,
228552
+ callback: collections.abc.Callable | None,
228553
+ args,
228792
228554
  space_type: str | None,
228793
228555
  region_type: str | None,
228794
228556
  ) -> typing.Any:
@@ -228798,9 +228560,8 @@ class WindowManager(ID, bpy_struct):
228798
228560
 
228799
228561
  :param callback: A function that will be called when the cursor is drawn.
228800
228562
  It gets the specified arguments as input with the mouse position (tuple) as last argument.
228801
- :type callback: typing.Any | None
228563
+ :type callback: collections.abc.Callable | None
228802
228564
  :param args: Arguments that will be passed to the callback.
228803
- :type args: tuple | None
228804
228565
  :param space_type: The space type the callback draws in; for example VIEW_3D. (`bpy.types.Space.type`)
228805
228566
  :type space_type: str | None
228806
228567
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
@@ -229217,6 +228978,7 @@ class WorkSpaceTool(bpy_struct):
229217
228978
  def setup(
229218
228979
  self,
229219
228980
  idname: str,
228981
+ *,
229220
228982
  cursor: bpy.typing.WindowCursorItems | None = "DEFAULT",
229221
228983
  keymap: str = "",
229222
228984
  gizmo_group: str = "",