fake-bge-module 20250103__py3-none-any.whl → 20250201__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.
Files changed (153) hide show
  1. addon_utils/__init__.pyi +11 -6
  2. aud/__init__.pyi +4 -0
  3. bge/types/__init__.pyi +66 -27
  4. bgl/__init__.pyi +2 -2
  5. bgui/image/__init__.pyi +3 -1
  6. bgui/system/__init__.pyi +12 -4
  7. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
  8. bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
  9. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
  10. bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
  11. bl_operators/node/__init__.pyi +78 -0
  12. bl_ui/anim/__init__.pyi +6 -0
  13. bl_ui/generic_ui_list/__init__.pyi +2 -2
  14. bl_ui/node_add_menu_shader/__init__.pyi +0 -1
  15. bl_ui/node_add_menu_texture/__init__.pyi +1 -0
  16. bl_ui/properties_data_camera/__init__.pyi +0 -2
  17. bl_ui/properties_mask_common/__init__.pyi +17 -0
  18. bl_ui/properties_material_gpencil/__init__.pyi +29 -0
  19. bl_ui/properties_scene/__init__.pyi +6 -0
  20. bl_ui/properties_view_layer/__init__.pyi +1 -0
  21. bl_ui/space_clip/__init__.pyi +53 -0
  22. bl_ui/space_graph/__init__.pyi +2 -0
  23. bl_ui/space_image/__init__.pyi +25 -0
  24. bl_ui/space_node/__init__.pyi +0 -1
  25. bl_ui/space_sequencer/__init__.pyi +2 -1
  26. blf/__init__.pyi +6 -3
  27. bmesh/ops/__init__.pyi +111 -54
  28. bmesh/types/__init__.pyi +134 -46
  29. bmesh/utils/__init__.pyi +17 -5
  30. bpy/__init__.pyi +1 -2
  31. bpy/_typing/__init__.pyi +4 -0
  32. bpy/{typing → _typing/rna_enums}/__init__.pyi +36 -36
  33. bpy/app/__init__.pyi +13 -5
  34. bpy/app/handlers/__init__.pyi +4 -2
  35. bpy/app/icons/__init__.pyi +6 -2
  36. bpy/app/translations/__init__.pyi +17 -8
  37. bpy/msgbus/__init__.pyi +14 -2
  38. bpy/ops/action/__init__.pyi +51 -151
  39. bpy/ops/anim/__init__.pyi +61 -179
  40. bpy/ops/armature/__init__.pyi +48 -147
  41. bpy/ops/asset/__init__.pyi +16 -71
  42. bpy/ops/boid/__init__.pyi +11 -44
  43. bpy/ops/brush/__init__.pyi +16 -42
  44. bpy/ops/buttons/__init__.pyi +6 -29
  45. bpy/ops/cachefile/__init__.pyi +5 -19
  46. bpy/ops/camera/__init__.pyi +2 -5
  47. bpy/ops/clip/__init__.pyi +95 -293
  48. bpy/ops/cloth/__init__.pyi +1 -3
  49. bpy/ops/collection/__init__.pyi +10 -26
  50. bpy/ops/console/__init__.pyi +21 -79
  51. bpy/ops/constraint/__init__.pyi +18 -45
  52. bpy/ops/curve/__init__.pyi +57 -186
  53. bpy/ops/curves/__init__.pyi +37 -109
  54. bpy/ops/cycles/__init__.pyi +3 -9
  55. bpy/ops/dpaint/__init__.pyi +8 -22
  56. bpy/ops/ed/__init__.pyi +20 -52
  57. bpy/ops/export_anim/__init__.pyi +1 -3
  58. bpy/ops/export_scene/__init__.pyi +55 -32
  59. bpy/ops/extensions/__init__.pyi +34 -110
  60. bpy/ops/file/__init__.pyi +40 -167
  61. bpy/ops/fluid/__init__.pyi +14 -77
  62. bpy/ops/font/__init__.pyi +23 -85
  63. bpy/ops/geometry/__init__.pyi +29 -46
  64. bpy/ops/gizmogroup/__init__.pyi +2 -9
  65. bpy/ops/gpencil/__init__.pyi +8 -32
  66. bpy/ops/graph/__init__.pyi +82 -201
  67. bpy/ops/grease_pencil/__init__.pyi +125 -324
  68. bpy/ops/image/__init__.pyi +61 -163
  69. bpy/ops/import_anim/__init__.pyi +1 -3
  70. bpy/ops/import_curve/__init__.pyi +1 -3
  71. bpy/ops/import_scene/__init__.pyi +4 -6
  72. bpy/ops/info/__init__.pyi +7 -29
  73. bpy/ops/lattice/__init__.pyi +11 -32
  74. bpy/ops/logic/__init__.pyi +26 -65
  75. bpy/ops/marker/__init__.pyi +11 -31
  76. bpy/ops/mask/__init__.pyi +39 -132
  77. bpy/ops/material/__init__.pyi +3 -19
  78. bpy/ops/mball/__init__.pyi +8 -19
  79. bpy/ops/mesh/__init__.pyi +223 -470
  80. bpy/ops/nla/__init__.pyi +42 -150
  81. bpy/ops/node/__init__.pyi +169 -393
  82. bpy/ops/object/__init__.pyi +320 -749
  83. bpy/ops/outliner/__init__.pyi +76 -268
  84. bpy/ops/paint/__init__.pyi +67 -147
  85. bpy/ops/paintcurve/__init__.pyi +8 -33
  86. bpy/ops/palette/__init__.pyi +7 -27
  87. bpy/ops/particle/__init__.pyi +39 -134
  88. bpy/ops/pose/__init__.pyi +64 -182
  89. bpy/ops/poselib/__init__.pyi +9 -33
  90. bpy/ops/preferences/__init__.pyi +35 -94
  91. bpy/ops/ptcache/__init__.pyi +7 -33
  92. bpy/ops/render/__init__.pyi +13 -37
  93. bpy/ops/rigidbody/__init__.pyi +22 -54
  94. bpy/ops/scene/__init__.pyi +47 -130
  95. bpy/ops/screen/__init__.pyi +46 -144
  96. bpy/ops/script/__init__.pyi +3 -11
  97. bpy/ops/sculpt/__init__.pyi +40 -94
  98. bpy/ops/sculpt_curves/__init__.pyi +4 -10
  99. bpy/ops/sequencer/__init__.pyi +104 -327
  100. bpy/ops/sound/__init__.pyi +17 -28
  101. bpy/ops/spreadsheet/__init__.pyi +4 -15
  102. bpy/ops/surface/__init__.pyi +6 -13
  103. bpy/ops/text/__init__.pyi +43 -175
  104. bpy/ops/text_editor/__init__.pyi +1 -3
  105. bpy/ops/texture/__init__.pyi +4 -21
  106. bpy/ops/transform/__init__.pyi +114 -134
  107. bpy/ops/ui/__init__.pyi +39 -120
  108. bpy/ops/uilist/__init__.pyi +3 -7
  109. bpy/ops/uv/__init__.pyi +58 -143
  110. bpy/ops/view2d/__init__.pyi +14 -39
  111. bpy/ops/view3d/__init__.pyi +68 -238
  112. bpy/ops/wm/__init__.pyi +178 -319
  113. bpy/ops/workspace/__init__.pyi +7 -33
  114. bpy/ops/world/__init__.pyi +2 -11
  115. bpy/path/__init__.pyi +16 -6
  116. bpy/props/__init__.pyi +157 -127
  117. bpy/types/__init__.pyi +35227 -34838
  118. bpy/utils/__init__.pyi +71 -25
  119. bpy/utils/previews/__init__.pyi +2 -1
  120. bpy/utils/units/__init__.pyi +2 -1
  121. bpy_extras/anim_utils/__init__.pyi +11 -3
  122. bpy_extras/bmesh_utils/__init__.pyi +2 -1
  123. bpy_extras/image_utils/__init__.pyi +5 -2
  124. bpy_extras/io_utils/__init__.pyi +12 -5
  125. bpy_extras/mesh_utils/__init__.pyi +27 -6
  126. bpy_extras/object_utils/__init__.pyi +6 -5
  127. bpy_extras/view3d_utils/__init__.pyi +9 -2
  128. {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/METADATA +3 -3
  129. {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/RECORD +153 -152
  130. {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/WHEEL +1 -1
  131. freestyle/chainingiterators/__init__.pyi +7 -2
  132. freestyle/functions/__init__.pyi +16 -4
  133. freestyle/shaders/__init__.pyi +5 -1
  134. freestyle/types/__init__.pyi +103 -30
  135. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  136. freestyle/utils/__init__.pyi +2 -1
  137. gpu/capabilities/__init__.pyi +2 -1
  138. gpu/matrix/__init__.pyi +4 -2
  139. gpu/state/__init__.pyi +2 -2
  140. gpu/types/__init__.pyi +40 -8
  141. gpu_extras/batch/__init__.pyi +13 -1
  142. gpu_extras/presets/__init__.pyi +10 -1
  143. idprop/types/__init__.pyi +4 -2
  144. imbuf/__init__.pyi +6 -3
  145. imbuf/types/__init__.pyi +5 -2
  146. mathutils/__init__.pyi +126 -35
  147. mathutils/bvhtree/__init__.pyi +21 -6
  148. mathutils/geometry/__init__.pyi +68 -22
  149. mathutils/interpolate/__init__.pyi +5 -1
  150. mathutils/kdtree/__init__.pyi +21 -8
  151. mathutils/noise/__init__.pyi +2 -1
  152. rna_info/__init__.pyi +2 -1
  153. {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/top_level.txt +0 -0
bpy/ops/wm/__init__.pyi CHANGED
@@ -2,14 +2,14 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
  import bl_operators.wm
5
+ import bpy._typing.rna_enums
5
6
  import bpy.types
6
- import bpy.typing
7
7
  import mathutils
8
8
 
9
9
  def alembic_export(
10
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
11
10
  execution_context: int | str | None = None,
12
11
  undo: bool | None = None,
12
+ /,
13
13
  *,
14
14
  filepath: str = "",
15
15
  check_existing: bool | None = True,
@@ -59,9 +59,10 @@ def alembic_export(
59
59
  use_instancing: bool | None = True,
60
60
  global_scale: float | None = 1.0,
61
61
  triangulate: bool | None = False,
62
- quad_method: bpy.typing.ModifierTriangulateQuadMethodItems
62
+ quad_method: bpy._typing.rna_enums.ModifierTriangulateQuadMethodItems
63
63
  | None = "SHORTEST_DIAGONAL",
64
- ngon_method: bpy.typing.ModifierTriangulateNgonMethodItems | None = "BEAUTY",
64
+ ngon_method: bpy._typing.rna_enums.ModifierTriangulateNgonMethodItems
65
+ | None = "BEAUTY",
65
66
  export_hair: bool | None = True,
66
67
  export_particles: bool | None = True,
67
68
  export_custom_properties: bool | None = True,
@@ -71,7 +72,6 @@ def alembic_export(
71
72
  ):
72
73
  """Export current scene in an Alembic archive
73
74
 
74
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
75
75
  :type execution_context: int | str | None
76
76
  :type undo: bool | None
77
77
  :param filepath: File Path, Path to file
@@ -176,9 +176,9 @@ def alembic_export(
176
176
  :param triangulate: Triangulate, Export polygons (quads and n-gons) as triangles
177
177
  :type triangulate: bool | None
178
178
  :param quad_method: Quad Method, Method for splitting the quads into triangles
179
- :type quad_method: bpy.typing.ModifierTriangulateQuadMethodItems | None
179
+ :type quad_method: bpy._typing.rna_enums.ModifierTriangulateQuadMethodItems | None
180
180
  :param ngon_method: N-gon Method, Method for splitting the n-gons into triangles
181
- :type ngon_method: bpy.typing.ModifierTriangulateNgonMethodItems | None
181
+ :type ngon_method: bpy._typing.rna_enums.ModifierTriangulateNgonMethodItems | None
182
182
  :param export_hair: Export Hair, Exports hair particle systems as animated curves
183
183
  :type export_hair: bool | None
184
184
  :param export_particles: Export Particles, Exports non-hair particle systems
@@ -199,9 +199,9 @@ def alembic_export(
199
199
  """
200
200
 
201
201
  def alembic_import(
202
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
203
202
  execution_context: int | str | None = None,
204
203
  undo: bool | None = None,
204
+ /,
205
205
  *,
206
206
  filepath: str = "",
207
207
  directory: str = "",
@@ -242,7 +242,6 @@ def alembic_import(
242
242
  ):
243
243
  """Load an Alembic archive
244
244
 
245
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
246
245
  :type execution_context: int | str | None
247
246
  :type undo: bool | None
248
247
  :param filepath: File Path, Path to file
@@ -323,9 +322,9 @@ def alembic_import(
323
322
  """
324
323
 
325
324
  def append(
326
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
327
325
  execution_context: int | str | None = None,
328
326
  undo: bool | None = None,
327
+ /,
329
328
  *,
330
329
  filepath: str = "",
331
330
  directory: str = "",
@@ -368,7 +367,6 @@ def append(
368
367
  ):
369
368
  """Append from a Library .blend file
370
369
 
371
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
372
370
  :type execution_context: int | str | None
373
371
  :type undo: bool | None
374
372
  :param filepath: File Path, Path to file
@@ -454,9 +452,9 @@ def append(
454
452
  """
455
453
 
456
454
  def batch_rename(
457
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
458
455
  execution_context: int | str | None = None,
459
456
  undo: bool | None = None,
457
+ /,
460
458
  *,
461
459
  data_type: typing.Literal[
462
460
  "OBJECT",
@@ -487,7 +485,6 @@ def batch_rename(
487
485
  ):
488
486
  """Rename multiple items at once
489
487
 
490
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
491
488
  :type execution_context: int | str | None
492
489
  :type undo: bool | None
493
490
  :param data_type: Type, Type of data to rename
@@ -499,39 +496,32 @@ def batch_rename(
499
496
  """
500
497
 
501
498
  def blend_strings_utf8_validate(
502
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
503
- execution_context: int | str | None = None,
504
- undo: bool | None = None,
499
+ execution_context: int | str | None = None, undo: bool | None = None
505
500
  ):
506
501
  """Check and fix all strings in current .blend file to be valid UTF-8 Unicode (needed for some old, 2.4x area files)
507
502
 
508
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
509
503
  :type execution_context: int | str | None
510
504
  :type undo: bool | None
511
505
  """
512
506
 
513
507
  def blenderplayer_start(
514
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
515
- execution_context: int | str | None = None,
516
- undo: bool | None = None,
508
+ execution_context: int | str | None = None, undo: bool | None = None
517
509
  ):
518
510
  """Launch the blender-player with the current blend-file
519
511
 
520
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
521
512
  :type execution_context: int | str | None
522
513
  :type undo: bool | None
523
514
  """
524
515
 
525
516
  def call_asset_shelf_popover(
526
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
527
517
  execution_context: int | str | None = None,
528
518
  undo: bool | None = None,
519
+ /,
529
520
  *,
530
521
  name: str = "",
531
522
  ):
532
523
  """Open a predefined asset shelf in a popup
533
524
 
534
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
535
525
  :type execution_context: int | str | None
536
526
  :type undo: bool | None
537
527
  :param name: Asset Shelf Name, Identifier of the asset shelf to display
@@ -539,15 +529,14 @@ def call_asset_shelf_popover(
539
529
  """
540
530
 
541
531
  def call_menu(
542
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
543
532
  execution_context: int | str | None = None,
544
533
  undo: bool | None = None,
534
+ /,
545
535
  *,
546
536
  name: str = "",
547
537
  ):
548
538
  """Open a predefined menu
549
539
 
550
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
551
540
  :type execution_context: int | str | None
552
541
  :type undo: bool | None
553
542
  :param name: Name, Name of the menu
@@ -555,15 +544,14 @@ def call_menu(
555
544
  """
556
545
 
557
546
  def call_menu_pie(
558
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
559
547
  execution_context: int | str | None = None,
560
548
  undo: bool | None = None,
549
+ /,
561
550
  *,
562
551
  name: str = "",
563
552
  ):
564
553
  """Open a predefined pie menu
565
554
 
566
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
567
555
  :type execution_context: int | str | None
568
556
  :type undo: bool | None
569
557
  :param name: Name, Name of the pie menu
@@ -571,16 +559,15 @@ def call_menu_pie(
571
559
  """
572
560
 
573
561
  def call_panel(
574
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
575
562
  execution_context: int | str | None = None,
576
563
  undo: bool | None = None,
564
+ /,
577
565
  *,
578
566
  name: str = "",
579
567
  keep_open: bool | None = True,
580
568
  ):
581
569
  """Open a predefined panel
582
570
 
583
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
584
571
  :type execution_context: int | str | None
585
572
  :type undo: bool | None
586
573
  :param name: Name, Name of the menu
@@ -590,15 +577,14 @@ def call_panel(
590
577
  """
591
578
 
592
579
  def clear_recent_files(
593
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
594
580
  execution_context: int | str | None = None,
595
581
  undo: bool | None = None,
582
+ /,
596
583
  *,
597
584
  remove: typing.Literal["ALL", "MISSING"] | None = "ALL",
598
585
  ):
599
586
  """Clear the recent files list
600
587
 
601
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
602
588
  :type execution_context: int | str | None
603
589
  :type undo: bool | None
604
590
  :param remove: Remove
@@ -606,9 +592,9 @@ def clear_recent_files(
606
592
  """
607
593
 
608
594
  def collada_export(
609
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
610
595
  execution_context: int | str | None = None,
611
596
  undo: bool | None = None,
597
+ /,
612
598
  *,
613
599
  filepath: str = "",
614
600
  check_existing: bool | None = True,
@@ -680,7 +666,6 @@ def collada_export(
680
666
  ):
681
667
  """Save a Collada file
682
668
 
683
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
684
669
  :type execution_context: int | str | None
685
670
  :type undo: bool | None
686
671
  :param filepath: File Path, Path to file
@@ -882,9 +867,9 @@ def collada_export(
882
867
  """
883
868
 
884
869
  def collada_import(
885
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
886
870
  execution_context: int | str | None = None,
887
871
  undo: bool | None = None,
872
+ /,
888
873
  *,
889
874
  filepath: str = "",
890
875
  check_existing: bool | None = False,
@@ -922,7 +907,6 @@ def collada_import(
922
907
  ):
923
908
  """Load a Collada file
924
909
 
925
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
926
910
  :type execution_context: int | str | None
927
911
  :type undo: bool | None
928
912
  :param filepath: File Path, Path to file
@@ -999,21 +983,18 @@ def collada_import(
999
983
  """
1000
984
 
1001
985
  def collection_export_all(
1002
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1003
- execution_context: int | str | None = None,
1004
- undo: bool | None = None,
986
+ execution_context: int | str | None = None, undo: bool | None = None
1005
987
  ):
1006
988
  """Invoke all configured exporters for all collections
1007
989
 
1008
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1009
990
  :type execution_context: int | str | None
1010
991
  :type undo: bool | None
1011
992
  """
1012
993
 
1013
994
  def context_collection_boolean_set(
1014
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1015
995
  execution_context: int | str | None = None,
1016
996
  undo: bool | None = None,
997
+ /,
1017
998
  *,
1018
999
  data_path_iter: str = "",
1019
1000
  data_path_item: str = "",
@@ -1021,7 +1002,6 @@ def context_collection_boolean_set(
1021
1002
  ):
1022
1003
  """Set boolean values for a collection of items
1023
1004
 
1024
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1025
1005
  :type execution_context: int | str | None
1026
1006
  :type undo: bool | None
1027
1007
  :param data_path_iter: data_path_iter, The data path relative to the context, must point to an iterable
@@ -1033,16 +1013,15 @@ def context_collection_boolean_set(
1033
1013
  """
1034
1014
 
1035
1015
  def context_cycle_array(
1036
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1037
1016
  execution_context: int | str | None = None,
1038
1017
  undo: bool | None = None,
1018
+ /,
1039
1019
  *,
1040
1020
  data_path: str = "",
1041
1021
  reverse: bool | None = False,
1042
1022
  ):
1043
1023
  """Set a context array value (useful for cycling the active mesh edit mode)
1044
1024
 
1045
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1046
1025
  :type execution_context: int | str | None
1047
1026
  :type undo: bool | None
1048
1027
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1052,9 +1031,9 @@ def context_cycle_array(
1052
1031
  """
1053
1032
 
1054
1033
  def context_cycle_enum(
1055
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1056
1034
  execution_context: int | str | None = None,
1057
1035
  undo: bool | None = None,
1036
+ /,
1058
1037
  *,
1059
1038
  data_path: str = "",
1060
1039
  reverse: bool | None = False,
@@ -1062,7 +1041,6 @@ def context_cycle_enum(
1062
1041
  ):
1063
1042
  """Toggle a context value
1064
1043
 
1065
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1066
1044
  :type execution_context: int | str | None
1067
1045
  :type undo: bool | None
1068
1046
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1074,9 +1052,9 @@ def context_cycle_enum(
1074
1052
  """
1075
1053
 
1076
1054
  def context_cycle_int(
1077
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1078
1055
  execution_context: int | str | None = None,
1079
1056
  undo: bool | None = None,
1057
+ /,
1080
1058
  *,
1081
1059
  data_path: str = "",
1082
1060
  reverse: bool | None = False,
@@ -1084,7 +1062,6 @@ def context_cycle_int(
1084
1062
  ):
1085
1063
  """Set a context value (useful for cycling active material, shape keys, groups, etc.)
1086
1064
 
1087
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1088
1065
  :type execution_context: int | str | None
1089
1066
  :type undo: bool | None
1090
1067
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1096,15 +1073,14 @@ def context_cycle_int(
1096
1073
  """
1097
1074
 
1098
1075
  def context_menu_enum(
1099
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1100
1076
  execution_context: int | str | None = None,
1101
1077
  undo: bool | None = None,
1078
+ /,
1102
1079
  *,
1103
1080
  data_path: str = "",
1104
1081
  ):
1105
1082
  """Undocumented, consider contributing.
1106
1083
 
1107
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1108
1084
  :type execution_context: int | str | None
1109
1085
  :type undo: bool | None
1110
1086
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1112,9 +1088,9 @@ def context_menu_enum(
1112
1088
  """
1113
1089
 
1114
1090
  def context_modal_mouse(
1115
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1116
1091
  execution_context: int | str | None = None,
1117
1092
  undo: bool | None = None,
1093
+ /,
1118
1094
  *,
1119
1095
  data_path_iter: str = "",
1120
1096
  data_path_item: str = "",
@@ -1125,7 +1101,6 @@ def context_modal_mouse(
1125
1101
  ):
1126
1102
  """Adjust arbitrary values with mouse input
1127
1103
 
1128
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1129
1104
  :type execution_context: int | str | None
1130
1105
  :type undo: bool | None
1131
1106
  :param data_path_iter: data_path_iter, The data path relative to the context, must point to an iterable
@@ -1143,15 +1118,14 @@ def context_modal_mouse(
1143
1118
  """
1144
1119
 
1145
1120
  def context_pie_enum(
1146
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1147
1121
  execution_context: int | str | None = None,
1148
1122
  undo: bool | None = None,
1123
+ /,
1149
1124
  *,
1150
1125
  data_path: str = "",
1151
1126
  ):
1152
1127
  """Undocumented, consider contributing.
1153
1128
 
1154
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1155
1129
  :type execution_context: int | str | None
1156
1130
  :type undo: bool | None
1157
1131
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1159,16 +1133,15 @@ def context_pie_enum(
1159
1133
  """
1160
1134
 
1161
1135
  def context_scale_float(
1162
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1163
1136
  execution_context: int | str | None = None,
1164
1137
  undo: bool | None = None,
1138
+ /,
1165
1139
  *,
1166
1140
  data_path: str = "",
1167
1141
  value: float | None = 1.0,
1168
1142
  ):
1169
1143
  """Scale a float context value
1170
1144
 
1171
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1172
1145
  :type execution_context: int | str | None
1173
1146
  :type undo: bool | None
1174
1147
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1178,9 +1151,9 @@ def context_scale_float(
1178
1151
  """
1179
1152
 
1180
1153
  def context_scale_int(
1181
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1182
1154
  execution_context: int | str | None = None,
1183
1155
  undo: bool | None = None,
1156
+ /,
1184
1157
  *,
1185
1158
  data_path: str = "",
1186
1159
  value: float | None = 1.0,
@@ -1188,7 +1161,6 @@ def context_scale_int(
1188
1161
  ):
1189
1162
  """Scale an int context value
1190
1163
 
1191
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1192
1164
  :type execution_context: int | str | None
1193
1165
  :type undo: bool | None
1194
1166
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1200,16 +1172,15 @@ def context_scale_int(
1200
1172
  """
1201
1173
 
1202
1174
  def context_set_boolean(
1203
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1204
1175
  execution_context: int | str | None = None,
1205
1176
  undo: bool | None = None,
1177
+ /,
1206
1178
  *,
1207
1179
  data_path: str = "",
1208
1180
  value: bool | None = True,
1209
1181
  ):
1210
1182
  """Set a context value
1211
1183
 
1212
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1213
1184
  :type execution_context: int | str | None
1214
1185
  :type undo: bool | None
1215
1186
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1219,16 +1190,15 @@ def context_set_boolean(
1219
1190
  """
1220
1191
 
1221
1192
  def context_set_enum(
1222
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1223
1193
  execution_context: int | str | None = None,
1224
1194
  undo: bool | None = None,
1195
+ /,
1225
1196
  *,
1226
1197
  data_path: str = "",
1227
1198
  value: str = "",
1228
1199
  ):
1229
1200
  """Set a context value
1230
1201
 
1231
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1232
1202
  :type execution_context: int | str | None
1233
1203
  :type undo: bool | None
1234
1204
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1238,9 +1208,9 @@ def context_set_enum(
1238
1208
  """
1239
1209
 
1240
1210
  def context_set_float(
1241
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1242
1211
  execution_context: int | str | None = None,
1243
1212
  undo: bool | None = None,
1213
+ /,
1244
1214
  *,
1245
1215
  data_path: str = "",
1246
1216
  value: float | None = 0.0,
@@ -1248,7 +1218,6 @@ def context_set_float(
1248
1218
  ):
1249
1219
  """Set a context value
1250
1220
 
1251
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1252
1221
  :type execution_context: int | str | None
1253
1222
  :type undo: bool | None
1254
1223
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1260,16 +1229,15 @@ def context_set_float(
1260
1229
  """
1261
1230
 
1262
1231
  def context_set_id(
1263
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1264
1232
  execution_context: int | str | None = None,
1265
1233
  undo: bool | None = None,
1234
+ /,
1266
1235
  *,
1267
1236
  data_path: str = "",
1268
1237
  value: str = "",
1269
1238
  ):
1270
1239
  """Set a context value to an ID data-block
1271
1240
 
1272
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1273
1241
  :type execution_context: int | str | None
1274
1242
  :type undo: bool | None
1275
1243
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1279,9 +1247,9 @@ def context_set_id(
1279
1247
  """
1280
1248
 
1281
1249
  def context_set_int(
1282
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1283
1250
  execution_context: int | str | None = None,
1284
1251
  undo: bool | None = None,
1252
+ /,
1285
1253
  *,
1286
1254
  data_path: str = "",
1287
1255
  value: int | None = 0,
@@ -1289,7 +1257,6 @@ def context_set_int(
1289
1257
  ):
1290
1258
  """Set a context value
1291
1259
 
1292
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1293
1260
  :type execution_context: int | str | None
1294
1261
  :type undo: bool | None
1295
1262
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1301,16 +1268,15 @@ def context_set_int(
1301
1268
  """
1302
1269
 
1303
1270
  def context_set_string(
1304
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1305
1271
  execution_context: int | str | None = None,
1306
1272
  undo: bool | None = None,
1273
+ /,
1307
1274
  *,
1308
1275
  data_path: str = "",
1309
1276
  value: str = "",
1310
1277
  ):
1311
1278
  """Set a context value
1312
1279
 
1313
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1314
1280
  :type execution_context: int | str | None
1315
1281
  :type undo: bool | None
1316
1282
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1320,16 +1286,15 @@ def context_set_string(
1320
1286
  """
1321
1287
 
1322
1288
  def context_set_value(
1323
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1324
1289
  execution_context: int | str | None = None,
1325
1290
  undo: bool | None = None,
1291
+ /,
1326
1292
  *,
1327
1293
  data_path: str = "",
1328
1294
  value: str = "",
1329
1295
  ):
1330
1296
  """Set a context value
1331
1297
 
1332
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1333
1298
  :type execution_context: int | str | None
1334
1299
  :type undo: bool | None
1335
1300
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1339,16 +1304,15 @@ def context_set_value(
1339
1304
  """
1340
1305
 
1341
1306
  def context_toggle(
1342
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1343
1307
  execution_context: int | str | None = None,
1344
1308
  undo: bool | None = None,
1309
+ /,
1345
1310
  *,
1346
1311
  data_path: str = "",
1347
1312
  module: str = "",
1348
1313
  ):
1349
1314
  """Toggle a context value
1350
1315
 
1351
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1352
1316
  :type execution_context: int | str | None
1353
1317
  :type undo: bool | None
1354
1318
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1358,9 +1322,9 @@ def context_toggle(
1358
1322
  """
1359
1323
 
1360
1324
  def context_toggle_enum(
1361
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1362
1325
  execution_context: int | str | None = None,
1363
1326
  undo: bool | None = None,
1327
+ /,
1364
1328
  *,
1365
1329
  data_path: str = "",
1366
1330
  value_1: str = "",
@@ -1368,7 +1332,6 @@ def context_toggle_enum(
1368
1332
  ):
1369
1333
  """Toggle a context value
1370
1334
 
1371
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1372
1335
  :type execution_context: int | str | None
1373
1336
  :type undo: bool | None
1374
1337
  :param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
@@ -1380,15 +1343,14 @@ def context_toggle_enum(
1380
1343
  """
1381
1344
 
1382
1345
  def debug_menu(
1383
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1384
1346
  execution_context: int | str | None = None,
1385
1347
  undo: bool | None = None,
1348
+ /,
1386
1349
  *,
1387
1350
  debug_value: int | None = 0,
1388
1351
  ):
1389
1352
  """Open a popup to set the debug level
1390
1353
 
1391
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1392
1354
  :type execution_context: int | str | None
1393
1355
  :type undo: bool | None
1394
1356
  :param debug_value: Debug Value
@@ -1396,15 +1358,14 @@ def debug_menu(
1396
1358
  """
1397
1359
 
1398
1360
  def doc_view(
1399
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1400
1361
  execution_context: int | str | None = None,
1401
1362
  undo: bool | None = None,
1363
+ /,
1402
1364
  *,
1403
1365
  doc_id: str = "",
1404
1366
  ):
1405
1367
  """Open online reference docs in a web browser
1406
1368
 
1407
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1408
1369
  :type execution_context: int | str | None
1409
1370
  :type undo: bool | None
1410
1371
  :param doc_id: Doc ID
@@ -1412,15 +1373,14 @@ def doc_view(
1412
1373
  """
1413
1374
 
1414
1375
  def doc_view_manual(
1415
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1416
1376
  execution_context: int | str | None = None,
1417
1377
  undo: bool | None = None,
1378
+ /,
1418
1379
  *,
1419
1380
  doc_id: str = "",
1420
1381
  ):
1421
1382
  """Load online manual
1422
1383
 
1423
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1424
1384
  :type execution_context: int | str | None
1425
1385
  :type undo: bool | None
1426
1386
  :param doc_id: Doc ID
@@ -1428,27 +1388,23 @@ def doc_view_manual(
1428
1388
  """
1429
1389
 
1430
1390
  def doc_view_manual_ui_context(
1431
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1432
- execution_context: int | str | None = None,
1433
- undo: bool | None = None,
1391
+ execution_context: int | str | None = None, undo: bool | None = None
1434
1392
  ):
1435
1393
  """View a context based online manual in a web browser
1436
1394
 
1437
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1438
1395
  :type execution_context: int | str | None
1439
1396
  :type undo: bool | None
1440
1397
  """
1441
1398
 
1442
1399
  def drop_blend_file(
1443
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1444
1400
  execution_context: int | str | None = None,
1445
1401
  undo: bool | None = None,
1402
+ /,
1446
1403
  *,
1447
1404
  filepath: str = "",
1448
1405
  ):
1449
1406
  """Undocumented, consider contributing.
1450
1407
 
1451
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1452
1408
  :type execution_context: int | str | None
1453
1409
  :type undo: bool | None
1454
1410
  :param filepath: filepath
@@ -1456,9 +1412,9 @@ def drop_blend_file(
1456
1412
  """
1457
1413
 
1458
1414
  def drop_import_file(
1459
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1460
1415
  execution_context: int | str | None = None,
1461
1416
  undo: bool | None = None,
1417
+ /,
1462
1418
  *,
1463
1419
  directory: str = "",
1464
1420
  files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
@@ -1466,7 +1422,6 @@ def drop_import_file(
1466
1422
  ):
1467
1423
  """Operator that allows file handlers to receive file drops
1468
1424
 
1469
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1470
1425
  :type execution_context: int | str | None
1471
1426
  :type undo: bool | None
1472
1427
  :param directory: Directory, Directory of the file
@@ -1476,9 +1431,9 @@ def drop_import_file(
1476
1431
  """
1477
1432
 
1478
1433
  def grease_pencil_export_pdf(
1479
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1480
1434
  execution_context: int | str | None = None,
1481
1435
  undo: bool | None = None,
1436
+ /,
1482
1437
  *,
1483
1438
  filepath: str = "",
1484
1439
  check_existing: bool | None = True,
@@ -1514,7 +1469,6 @@ def grease_pencil_export_pdf(
1514
1469
  ):
1515
1470
  """Export Grease Pencil to PDF
1516
1471
 
1517
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1518
1472
  :type execution_context: int | str | None
1519
1473
  :type undo: bool | None
1520
1474
  :param filepath: File Path, Path to file
@@ -1604,9 +1558,9 @@ def grease_pencil_export_pdf(
1604
1558
  """
1605
1559
 
1606
1560
  def grease_pencil_export_svg(
1607
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1608
1561
  execution_context: int | str | None = None,
1609
1562
  undo: bool | None = None,
1563
+ /,
1610
1564
  *,
1611
1565
  filepath: str = "",
1612
1566
  check_existing: bool | None = True,
@@ -1642,7 +1596,6 @@ def grease_pencil_export_svg(
1642
1596
  ):
1643
1597
  """Export Grease Pencil to SVG
1644
1598
 
1645
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1646
1599
  :type execution_context: int | str | None
1647
1600
  :type undo: bool | None
1648
1601
  :param filepath: File Path, Path to file
@@ -1723,9 +1676,9 @@ def grease_pencil_export_svg(
1723
1676
  """
1724
1677
 
1725
1678
  def grease_pencil_import_svg(
1726
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1727
1679
  execution_context: int | str | None = None,
1728
1680
  undo: bool | None = None,
1681
+ /,
1729
1682
  *,
1730
1683
  filepath: str = "",
1731
1684
  directory: str = "",
@@ -1762,7 +1715,6 @@ def grease_pencil_import_svg(
1762
1715
  ):
1763
1716
  """Import SVG into Grease Pencil
1764
1717
 
1765
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1766
1718
  :type execution_context: int | str | None
1767
1719
  :type undo: bool | None
1768
1720
  :param filepath: File Path, Path to file
@@ -1836,9 +1788,9 @@ def grease_pencil_import_svg(
1836
1788
  """
1837
1789
 
1838
1790
  def interface_theme_preset_add(
1839
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1840
1791
  execution_context: int | str | None = None,
1841
1792
  undo: bool | None = None,
1793
+ /,
1842
1794
  *,
1843
1795
  name: str = "",
1844
1796
  remove_name: bool | None = False,
@@ -1846,7 +1798,6 @@ def interface_theme_preset_add(
1846
1798
  ):
1847
1799
  """Add a custom theme to the preset list
1848
1800
 
1849
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1850
1801
  :type execution_context: int | str | None
1851
1802
  :type undo: bool | None
1852
1803
  :param name: Name, Name of the preset, used to make the path name
@@ -1858,9 +1809,9 @@ def interface_theme_preset_add(
1858
1809
  """
1859
1810
 
1860
1811
  def interface_theme_preset_remove(
1861
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1862
1812
  execution_context: int | str | None = None,
1863
1813
  undo: bool | None = None,
1814
+ /,
1864
1815
  *,
1865
1816
  name: str = "",
1866
1817
  remove_name: bool | None = False,
@@ -1868,7 +1819,6 @@ def interface_theme_preset_remove(
1868
1819
  ):
1869
1820
  """Remove a custom theme from the preset list
1870
1821
 
1871
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1872
1822
  :type execution_context: int | str | None
1873
1823
  :type undo: bool | None
1874
1824
  :param name: Name, Name of the preset, used to make the path name
@@ -1880,9 +1830,9 @@ def interface_theme_preset_remove(
1880
1830
  """
1881
1831
 
1882
1832
  def interface_theme_preset_save(
1883
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1884
1833
  execution_context: int | str | None = None,
1885
1834
  undo: bool | None = None,
1835
+ /,
1886
1836
  *,
1887
1837
  name: str = "",
1888
1838
  remove_name: bool | None = False,
@@ -1890,7 +1840,6 @@ def interface_theme_preset_save(
1890
1840
  ):
1891
1841
  """Save a custom theme in the preset list
1892
1842
 
1893
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1894
1843
  :type execution_context: int | str | None
1895
1844
  :type undo: bool | None
1896
1845
  :param name: Name, Name of the preset, used to make the path name
@@ -1902,9 +1851,9 @@ def interface_theme_preset_save(
1902
1851
  """
1903
1852
 
1904
1853
  def keyconfig_preset_add(
1905
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1906
1854
  execution_context: int | str | None = None,
1907
1855
  undo: bool | None = None,
1856
+ /,
1908
1857
  *,
1909
1858
  name: str = "",
1910
1859
  remove_name: bool | None = False,
@@ -1912,7 +1861,6 @@ def keyconfig_preset_add(
1912
1861
  ):
1913
1862
  """Add a custom keymap configuration to the preset list
1914
1863
 
1915
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1916
1864
  :type execution_context: int | str | None
1917
1865
  :type undo: bool | None
1918
1866
  :param name: Name, Name of the preset, used to make the path name
@@ -1924,9 +1872,9 @@ def keyconfig_preset_add(
1924
1872
  """
1925
1873
 
1926
1874
  def keyconfig_preset_remove(
1927
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1928
1875
  execution_context: int | str | None = None,
1929
1876
  undo: bool | None = None,
1877
+ /,
1930
1878
  *,
1931
1879
  name: str = "",
1932
1880
  remove_name: bool | None = False,
@@ -1934,7 +1882,6 @@ def keyconfig_preset_remove(
1934
1882
  ):
1935
1883
  """Remove a custom keymap configuration from the preset list
1936
1884
 
1937
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1938
1885
  :type execution_context: int | str | None
1939
1886
  :type undo: bool | None
1940
1887
  :param name: Name, Name of the preset, used to make the path name
@@ -1946,9 +1893,9 @@ def keyconfig_preset_remove(
1946
1893
  """
1947
1894
 
1948
1895
  def lib_reload(
1949
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1950
1896
  execution_context: int | str | None = None,
1951
1897
  undo: bool | None = None,
1898
+ /,
1952
1899
  *,
1953
1900
  library: str = "",
1954
1901
  filepath: str = "",
@@ -1983,7 +1930,6 @@ def lib_reload(
1983
1930
  ):
1984
1931
  """Reload the given library
1985
1932
 
1986
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1987
1933
  :type execution_context: int | str | None
1988
1934
  :type undo: bool | None
1989
1935
  :param library: Library, Library to reload
@@ -2055,9 +2001,9 @@ def lib_reload(
2055
2001
  """
2056
2002
 
2057
2003
  def lib_relocate(
2058
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2059
2004
  execution_context: int | str | None = None,
2060
2005
  undo: bool | None = None,
2006
+ /,
2061
2007
  *,
2062
2008
  library: str = "",
2063
2009
  filepath: str = "",
@@ -2094,7 +2040,6 @@ def lib_relocate(
2094
2040
  ):
2095
2041
  """Relocate the given library to one or several others
2096
2042
 
2097
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2098
2043
  :type execution_context: int | str | None
2099
2044
  :type undo: bool | None
2100
2045
  :param library: Library, Library to relocate
@@ -2168,9 +2113,9 @@ def lib_relocate(
2168
2113
  """
2169
2114
 
2170
2115
  def link(
2171
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2172
2116
  execution_context: int | str | None = None,
2173
2117
  undo: bool | None = None,
2118
+ /,
2174
2119
  *,
2175
2120
  filepath: str = "",
2176
2121
  directory: str = "",
@@ -2212,7 +2157,6 @@ def link(
2212
2157
  ):
2213
2158
  """Link from a Library .blend file
2214
2159
 
2215
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2216
2160
  :type execution_context: int | str | None
2217
2161
  :type undo: bool | None
2218
2162
  :param filepath: File Path, Path to file
@@ -2296,21 +2240,18 @@ def link(
2296
2240
  """
2297
2241
 
2298
2242
  def memory_statistics(
2299
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2300
- execution_context: int | str | None = None,
2301
- undo: bool | None = None,
2243
+ execution_context: int | str | None = None, undo: bool | None = None
2302
2244
  ):
2303
2245
  """Print memory statistics to the console
2304
2246
 
2305
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2306
2247
  :type execution_context: int | str | None
2307
2248
  :type undo: bool | None
2308
2249
  """
2309
2250
 
2310
2251
  def obj_export(
2311
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2312
2252
  execution_context: int | str | None = None,
2313
2253
  undo: bool | None = None,
2254
+ /,
2314
2255
  *,
2315
2256
  filepath: str = "",
2316
2257
  check_existing: bool | None = True,
@@ -2370,7 +2311,6 @@ def obj_export(
2370
2311
  ):
2371
2312
  """Save the scene to a Wavefront OBJ file
2372
2313
 
2373
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2374
2314
  :type execution_context: int | str | None
2375
2315
  :type undo: bool | None
2376
2316
  :param filepath: File Path, Path to file
@@ -2540,9 +2480,9 @@ def obj_export(
2540
2480
  """
2541
2481
 
2542
2482
  def obj_import(
2543
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2544
2483
  execution_context: int | str | None = None,
2545
2484
  undo: bool | None = None,
2485
+ /,
2546
2486
  *,
2547
2487
  filepath: str = "",
2548
2488
  directory: str = "",
@@ -2590,7 +2530,6 @@ def obj_import(
2590
2530
  ):
2591
2531
  """Load a Wavefront OBJ scene
2592
2532
 
2593
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2594
2533
  :type execution_context: int | str | None
2595
2534
  :type undo: bool | None
2596
2535
  :param filepath: File Path, Path to file
@@ -2714,9 +2653,9 @@ def obj_import(
2714
2653
  """
2715
2654
 
2716
2655
  def open_mainfile(
2717
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2718
2656
  execution_context: int | str | None = None,
2719
2657
  undo: bool | None = None,
2658
+ /,
2720
2659
  *,
2721
2660
  filepath: str = "",
2722
2661
  hide_props_region: bool | None = True,
@@ -2751,7 +2690,6 @@ def open_mainfile(
2751
2690
  ):
2752
2691
  """Open a Blender file
2753
2692
 
2754
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2755
2693
  :type execution_context: int | str | None
2756
2694
  :type undo: bool | None
2757
2695
  :param filepath: File Path, Path to file
@@ -2823,40 +2761,33 @@ def open_mainfile(
2823
2761
  """
2824
2762
 
2825
2763
  def operator_cheat_sheet(
2826
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2827
- execution_context: int | str | None = None,
2828
- undo: bool | None = None,
2764
+ execution_context: int | str | None = None, undo: bool | None = None
2829
2765
  ):
2830
2766
  """List all the operators in a text-block, useful for scripting
2831
2767
 
2832
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2833
2768
  :type execution_context: int | str | None
2834
2769
  :type undo: bool | None
2835
2770
  """
2836
2771
 
2837
2772
  def operator_defaults(
2838
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2839
- execution_context: int | str | None = None,
2840
- undo: bool | None = None,
2773
+ execution_context: int | str | None = None, undo: bool | None = None
2841
2774
  ):
2842
2775
  """Set the active operator to its default values
2843
2776
 
2844
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2845
2777
  :type execution_context: int | str | None
2846
2778
  :type undo: bool | None
2847
2779
  """
2848
2780
 
2849
2781
  def operator_pie_enum(
2850
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2851
2782
  execution_context: int | str | None = None,
2852
2783
  undo: bool | None = None,
2784
+ /,
2853
2785
  *,
2854
2786
  data_path: str = "",
2855
2787
  prop_string: str = "",
2856
2788
  ):
2857
2789
  """Undocumented, consider contributing.
2858
2790
 
2859
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2860
2791
  :type execution_context: int | str | None
2861
2792
  :type undo: bool | None
2862
2793
  :param data_path: Operator, Operator name (in Python as string)
@@ -2866,9 +2797,9 @@ def operator_pie_enum(
2866
2797
  """
2867
2798
 
2868
2799
  def operator_preset_add(
2869
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2870
2800
  execution_context: int | str | None = None,
2871
2801
  undo: bool | None = None,
2802
+ /,
2872
2803
  *,
2873
2804
  name: str = "",
2874
2805
  remove_name: bool | None = False,
@@ -2877,7 +2808,6 @@ def operator_preset_add(
2877
2808
  ):
2878
2809
  """Add or remove an Operator Preset
2879
2810
 
2880
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2881
2811
  :type execution_context: int | str | None
2882
2812
  :type undo: bool | None
2883
2813
  :param name: Name, Name of the preset, used to make the path name
@@ -2891,9 +2821,9 @@ def operator_preset_add(
2891
2821
  """
2892
2822
 
2893
2823
  def operator_presets_cleanup(
2894
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2895
2824
  execution_context: int | str | None = None,
2896
2825
  undo: bool | None = None,
2826
+ /,
2897
2827
  *,
2898
2828
  operator: str = "",
2899
2829
  properties: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
@@ -2901,7 +2831,6 @@ def operator_presets_cleanup(
2901
2831
  ):
2902
2832
  """Remove outdated operator properties from presets that may cause problems
2903
2833
 
2904
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2905
2834
  :type execution_context: int | str | None
2906
2835
  :type undo: bool | None
2907
2836
  :param operator: operator
@@ -2911,15 +2840,14 @@ def operator_presets_cleanup(
2911
2840
  """
2912
2841
 
2913
2842
  def owner_disable(
2914
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2915
2843
  execution_context: int | str | None = None,
2916
2844
  undo: bool | None = None,
2845
+ /,
2917
2846
  *,
2918
2847
  owner_id: str = "",
2919
2848
  ):
2920
2849
  """Disable add-on for workspace
2921
2850
 
2922
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2923
2851
  :type execution_context: int | str | None
2924
2852
  :type undo: bool | None
2925
2853
  :param owner_id: UI Tag
@@ -2927,15 +2855,14 @@ def owner_disable(
2927
2855
  """
2928
2856
 
2929
2857
  def owner_enable(
2930
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2931
2858
  execution_context: int | str | None = None,
2932
2859
  undo: bool | None = None,
2860
+ /,
2933
2861
  *,
2934
2862
  owner_id: str = "",
2935
2863
  ):
2936
2864
  """Enable add-on for workspace
2937
2865
 
2938
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2939
2866
  :type execution_context: int | str | None
2940
2867
  :type undo: bool | None
2941
2868
  :param owner_id: UI Tag
@@ -2943,15 +2870,14 @@ def owner_enable(
2943
2870
  """
2944
2871
 
2945
2872
  def path_open(
2946
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2947
2873
  execution_context: int | str | None = None,
2948
2874
  undo: bool | None = None,
2875
+ /,
2949
2876
  *,
2950
2877
  filepath: str = "",
2951
2878
  ):
2952
2879
  """Open a path in a file browser
2953
2880
 
2954
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2955
2881
  :type execution_context: int | str | None
2956
2882
  :type undo: bool | None
2957
2883
  :param filepath: filepath
@@ -2959,9 +2885,9 @@ def path_open(
2959
2885
  """
2960
2886
 
2961
2887
  def ply_export(
2962
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2963
2888
  execution_context: int | str | None = None,
2964
2889
  undo: bool | None = None,
2890
+ /,
2965
2891
  *,
2966
2892
  filepath: str = "",
2967
2893
  check_existing: bool | None = True,
@@ -3008,7 +2934,6 @@ def ply_export(
3008
2934
  ):
3009
2935
  """Save the scene to a PLY file
3010
2936
 
3011
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3012
2937
  :type execution_context: int | str | None
3013
2938
  :type undo: bool | None
3014
2939
  :param filepath: File Path, Path to file
@@ -3141,9 +3066,9 @@ def ply_export(
3141
3066
  """
3142
3067
 
3143
3068
  def ply_import(
3144
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3145
3069
  execution_context: int | str | None = None,
3146
3070
  undo: bool | None = None,
3071
+ /,
3147
3072
  *,
3148
3073
  filepath: str = "",
3149
3074
  directory: str = "",
@@ -3188,7 +3113,6 @@ def ply_import(
3188
3113
  ):
3189
3114
  """Import an PLY file as an object
3190
3115
 
3191
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3192
3116
  :type execution_context: int | str | None
3193
3117
  :type undo: bool | None
3194
3118
  :param filepath: File Path, Path to file
@@ -3315,9 +3239,9 @@ def ply_import(
3315
3239
  """
3316
3240
 
3317
3241
  def previews_batch_clear(
3318
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3319
3242
  execution_context: int | str | None = None,
3320
3243
  undo: bool | None = None,
3244
+ /,
3321
3245
  *,
3322
3246
  files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
3323
3247
  | None = None,
@@ -3333,7 +3257,6 @@ def previews_batch_clear(
3333
3257
  ):
3334
3258
  """Clear selected .blend file's previews
3335
3259
 
3336
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3337
3260
  :type execution_context: int | str | None
3338
3261
  :type undo: bool | None
3339
3262
  :param files: files
@@ -3359,9 +3282,9 @@ def previews_batch_clear(
3359
3282
  """
3360
3283
 
3361
3284
  def previews_batch_generate(
3362
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3363
3285
  execution_context: int | str | None = None,
3364
3286
  undo: bool | None = None,
3287
+ /,
3365
3288
  *,
3366
3289
  files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
3367
3290
  | None = None,
@@ -3377,7 +3300,6 @@ def previews_batch_generate(
3377
3300
  ):
3378
3301
  """Generate selected .blend file's previews
3379
3302
 
3380
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3381
3303
  :type execution_context: int | str | None
3382
3304
  :type undo: bool | None
3383
3305
  :param files: Collection of file paths with common directory root
@@ -3403,9 +3325,9 @@ def previews_batch_generate(
3403
3325
  """
3404
3326
 
3405
3327
  def previews_clear(
3406
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3407
3328
  execution_context: int | str | None = None,
3408
3329
  undo: bool | None = None,
3330
+ /,
3409
3331
  *,
3410
3332
  id_type: set[
3411
3333
  typing.Literal[
@@ -3426,7 +3348,6 @@ def previews_clear(
3426
3348
  ):
3427
3349
  """Clear data-block previews (only for some types like objects, materials, textures, etc.)
3428
3350
 
3429
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3430
3351
  :type execution_context: int | str | None
3431
3352
  :type undo: bool | None
3432
3353
  :param id_type: Data-Block Type, Which data-block previews to clear
@@ -3467,27 +3388,23 @@ def previews_clear(
3467
3388
  """
3468
3389
 
3469
3390
  def previews_ensure(
3470
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3471
- execution_context: int | str | None = None,
3472
- undo: bool | None = None,
3391
+ execution_context: int | str | None = None, undo: bool | None = None
3473
3392
  ):
3474
3393
  """Ensure data-block previews are available and up-to-date (to be saved in .blend file, only for some types like materials, textures, etc.)
3475
3394
 
3476
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3477
3395
  :type execution_context: int | str | None
3478
3396
  :type undo: bool | None
3479
3397
  """
3480
3398
 
3481
3399
  def properties_add(
3482
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3483
3400
  execution_context: int | str | None = None,
3484
3401
  undo: bool | None = None,
3402
+ /,
3485
3403
  *,
3486
3404
  data_path: str = "",
3487
3405
  ):
3488
3406
  """Add your own property to the data-block
3489
3407
 
3490
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3491
3408
  :type execution_context: int | str | None
3492
3409
  :type undo: bool | None
3493
3410
  :param data_path: Property Edit, Property data_path edit
@@ -3495,15 +3412,14 @@ def properties_add(
3495
3412
  """
3496
3413
 
3497
3414
  def properties_context_change(
3498
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3499
3415
  execution_context: int | str | None = None,
3500
3416
  undo: bool | None = None,
3417
+ /,
3501
3418
  *,
3502
3419
  context: str = "",
3503
3420
  ):
3504
3421
  """Jump to a different tab inside the properties editor
3505
3422
 
3506
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3507
3423
  :type execution_context: int | str | None
3508
3424
  :type undo: bool | None
3509
3425
  :param context: Context
@@ -3511,9 +3427,9 @@ def properties_context_change(
3511
3427
  """
3512
3428
 
3513
3429
  def properties_edit(
3514
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3515
3430
  execution_context: int | str | None = None,
3516
3431
  undo: bool | None = None,
3432
+ /,
3517
3433
  *,
3518
3434
  data_path: str = "",
3519
3435
  property_name: str = "",
@@ -3694,7 +3610,6 @@ def properties_edit(
3694
3610
  ):
3695
3611
  """Change a custom property's type, or adjust how it is displayed in the interface
3696
3612
 
3697
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3698
3613
  :type execution_context: int | str | None
3699
3614
  :type undo: bool | None
3700
3615
  :param data_path: Property Edit, Property data_path edit
@@ -3777,9 +3692,9 @@ def properties_edit(
3777
3692
  """
3778
3693
 
3779
3694
  def properties_edit_value(
3780
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3781
3695
  execution_context: int | str | None = None,
3782
3696
  undo: bool | None = None,
3697
+ /,
3783
3698
  *,
3784
3699
  data_path: str = "",
3785
3700
  property_name: str = "",
@@ -3787,7 +3702,6 @@ def properties_edit_value(
3787
3702
  ):
3788
3703
  """Edit the value of a custom property
3789
3704
 
3790
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3791
3705
  :type execution_context: int | str | None
3792
3706
  :type undo: bool | None
3793
3707
  :param data_path: Property Edit, Property data_path edit
@@ -3799,16 +3713,15 @@ def properties_edit_value(
3799
3713
  """
3800
3714
 
3801
3715
  def properties_remove(
3802
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3803
3716
  execution_context: int | str | None = None,
3804
3717
  undo: bool | None = None,
3718
+ /,
3805
3719
  *,
3806
3720
  data_path: str = "",
3807
3721
  property_name: str = "",
3808
3722
  ):
3809
3723
  """Internal use (edit a property data_path)
3810
3724
 
3811
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3812
3725
  :type execution_context: int | str | None
3813
3726
  :type undo: bool | None
3814
3727
  :param data_path: Property Edit, Property data_path edit
@@ -3817,22 +3730,17 @@ def properties_remove(
3817
3730
  :type property_name: str
3818
3731
  """
3819
3732
 
3820
- def quit_blender(
3821
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3822
- execution_context: int | str | None = None,
3823
- undo: bool | None = None,
3824
- ):
3733
+ def quit_blender(execution_context: int | str | None = None, undo: bool | None = None):
3825
3734
  """Quit Blender
3826
3735
 
3827
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3828
3736
  :type execution_context: int | str | None
3829
3737
  :type undo: bool | None
3830
3738
  """
3831
3739
 
3832
3740
  def radial_control(
3833
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3834
3741
  execution_context: int | str | None = None,
3835
3742
  undo: bool | None = None,
3743
+ /,
3836
3744
  *,
3837
3745
  data_path_primary: str = "",
3838
3746
  data_path_secondary: str = "",
@@ -3849,7 +3757,6 @@ def radial_control(
3849
3757
  ):
3850
3758
  """Set some size property (e.g. brush size) with mouse wheel
3851
3759
 
3852
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3853
3760
  :type execution_context: int | str | None
3854
3761
  :type undo: bool | None
3855
3762
  :param data_path_primary: Primary Data Path, Primary path of property to be set by the radial control
@@ -3879,9 +3786,9 @@ def radial_control(
3879
3786
  """
3880
3787
 
3881
3788
  def read_factory_settings(
3882
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3883
3789
  execution_context: int | str | None = None,
3884
3790
  undo: bool | None = None,
3791
+ /,
3885
3792
  *,
3886
3793
  use_factory_startup_app_template_only: bool | None = False,
3887
3794
  app_template: str = "Template",
@@ -3889,7 +3796,6 @@ def read_factory_settings(
3889
3796
  ):
3890
3797
  """Load factory default startup file and preferences. To make changes permanent, use "Save Startup File" and "Save Preferences"
3891
3798
 
3892
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3893
3799
  :type execution_context: int | str | None
3894
3800
  :type undo: bool | None
3895
3801
  :param use_factory_startup_app_template_only: Factory Startup App-Template Only
@@ -3900,37 +3806,31 @@ def read_factory_settings(
3900
3806
  """
3901
3807
 
3902
3808
  def read_factory_userpref(
3903
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3904
3809
  execution_context: int | str | None = None,
3905
3810
  undo: bool | None = None,
3811
+ /,
3906
3812
  *,
3907
3813
  use_factory_startup_app_template_only: bool | None = False,
3908
3814
  ):
3909
3815
  """Load factory default preferences. To make changes to preferences permanent, use "Save Preferences"
3910
3816
 
3911
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3912
3817
  :type execution_context: int | str | None
3913
3818
  :type undo: bool | None
3914
3819
  :param use_factory_startup_app_template_only: Factory Startup App-Template Only
3915
3820
  :type use_factory_startup_app_template_only: bool | None
3916
3821
  """
3917
3822
 
3918
- def read_history(
3919
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3920
- execution_context: int | str | None = None,
3921
- undo: bool | None = None,
3922
- ):
3823
+ def read_history(execution_context: int | str | None = None, undo: bool | None = None):
3923
3824
  """Reloads history and bookmarks
3924
3825
 
3925
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3926
3826
  :type execution_context: int | str | None
3927
3827
  :type undo: bool | None
3928
3828
  """
3929
3829
 
3930
3830
  def read_homefile(
3931
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3932
3831
  execution_context: int | str | None = None,
3933
3832
  undo: bool | None = None,
3833
+ /,
3934
3834
  *,
3935
3835
  filepath: str = "",
3936
3836
  load_ui: bool | None = True,
@@ -3942,7 +3842,6 @@ def read_homefile(
3942
3842
  ):
3943
3843
  """Open the default file
3944
3844
 
3945
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3946
3845
  :type execution_context: int | str | None
3947
3846
  :type undo: bool | None
3948
3847
  :param filepath: File Path, Path to an alternative start-up file
@@ -3960,22 +3859,17 @@ def read_homefile(
3960
3859
  :type use_empty: bool | None
3961
3860
  """
3962
3861
 
3963
- def read_userpref(
3964
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3965
- execution_context: int | str | None = None,
3966
- undo: bool | None = None,
3967
- ):
3862
+ def read_userpref(execution_context: int | str | None = None, undo: bool | None = None):
3968
3863
  """Load last saved preferences
3969
3864
 
3970
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3971
3865
  :type execution_context: int | str | None
3972
3866
  :type undo: bool | None
3973
3867
  """
3974
3868
 
3975
3869
  def recover_auto_save(
3976
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3977
3870
  execution_context: int | str | None = None,
3978
3871
  undo: bool | None = None,
3872
+ /,
3979
3873
  *,
3980
3874
  filepath: str = "",
3981
3875
  hide_props_region: bool | None = True,
@@ -4007,7 +3901,6 @@ def recover_auto_save(
4007
3901
  ):
4008
3902
  """Open an automatically saved file to recover it
4009
3903
 
4010
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4011
3904
  :type execution_context: int | str | None
4012
3905
  :type undo: bool | None
4013
3906
  :param filepath: File Path, Path to file
@@ -4073,15 +3966,14 @@ def recover_auto_save(
4073
3966
  """
4074
3967
 
4075
3968
  def recover_last_session(
4076
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4077
3969
  execution_context: int | str | None = None,
4078
3970
  undo: bool | None = None,
3971
+ /,
4079
3972
  *,
4080
3973
  use_scripts: bool | None = True,
4081
3974
  ):
4082
3975
  """Open the last closed file ("quit.blend")
4083
3976
 
4084
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4085
3977
  :type execution_context: int | str | None
4086
3978
  :type undo: bool | None
4087
3979
  :param use_scripts: Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences
@@ -4089,9 +3981,9 @@ def recover_last_session(
4089
3981
  """
4090
3982
 
4091
3983
  def redraw_timer(
4092
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4093
3984
  execution_context: int | str | None = None,
4094
3985
  undo: bool | None = None,
3986
+ /,
4095
3987
  *,
4096
3988
  type: typing.Literal[
4097
3989
  "DRAW",
@@ -4108,7 +4000,6 @@ def redraw_timer(
4108
4000
  ):
4109
4001
  """Simple redraw timer to test the speed of updating the interface
4110
4002
 
4111
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4112
4003
  :type execution_context: int | str | None
4113
4004
  :type undo: bool | None
4114
4005
  :param type: Type
@@ -4141,15 +4032,14 @@ def redraw_timer(
4141
4032
  """
4142
4033
 
4143
4034
  def revert_mainfile(
4144
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4145
4035
  execution_context: int | str | None = None,
4146
4036
  undo: bool | None = None,
4037
+ /,
4147
4038
  *,
4148
4039
  use_scripts: bool | None = True,
4149
4040
  ):
4150
4041
  """Reload the saved file
4151
4042
 
4152
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4153
4043
  :type execution_context: int | str | None
4154
4044
  :type undo: bool | None
4155
4045
  :param use_scripts: Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences
@@ -4157,9 +4047,9 @@ def revert_mainfile(
4157
4047
  """
4158
4048
 
4159
4049
  def save_as_mainfile(
4160
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4161
4050
  execution_context: int | str | None = None,
4162
4051
  undo: bool | None = None,
4052
+ /,
4163
4053
  *,
4164
4054
  filepath: str = "",
4165
4055
  hide_props_region: bool | None = True,
@@ -4193,7 +4083,6 @@ def save_as_mainfile(
4193
4083
  ):
4194
4084
  """Save the current file in the desired location
4195
4085
 
4196
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4197
4086
  :type execution_context: int | str | None
4198
4087
  :type undo: bool | None
4199
4088
  :param filepath: File Path, Path to file
@@ -4262,22 +4151,17 @@ def save_as_mainfile(
4262
4151
  :type copy: bool | None
4263
4152
  """
4264
4153
 
4265
- def save_homefile(
4266
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4267
- execution_context: int | str | None = None,
4268
- undo: bool | None = None,
4269
- ):
4154
+ def save_homefile(execution_context: int | str | None = None, undo: bool | None = None):
4270
4155
  """Make the current file the default startup file
4271
4156
 
4272
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4273
4157
  :type execution_context: int | str | None
4274
4158
  :type undo: bool | None
4275
4159
  """
4276
4160
 
4277
4161
  def save_mainfile(
4278
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4279
4162
  execution_context: int | str | None = None,
4280
4163
  undo: bool | None = None,
4164
+ /,
4281
4165
  *,
4282
4166
  filepath: str = "",
4283
4167
  hide_props_region: bool | None = True,
@@ -4312,7 +4196,6 @@ def save_mainfile(
4312
4196
  ):
4313
4197
  """Save the current Blender file
4314
4198
 
4315
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4316
4199
  :type execution_context: int | str | None
4317
4200
  :type undo: bool | None
4318
4201
  :param filepath: File Path, Path to file
@@ -4383,53 +4266,39 @@ def save_mainfile(
4383
4266
  :type incremental: bool | None
4384
4267
  """
4385
4268
 
4386
- def save_userpref(
4387
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4388
- execution_context: int | str | None = None,
4389
- undo: bool | None = None,
4390
- ):
4269
+ def save_userpref(execution_context: int | str | None = None, undo: bool | None = None):
4391
4270
  """Make the current preferences default
4392
4271
 
4393
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4394
4272
  :type execution_context: int | str | None
4395
4273
  :type undo: bool | None
4396
4274
  """
4397
4275
 
4398
- def search_menu(
4399
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4400
- execution_context: int | str | None = None,
4401
- undo: bool | None = None,
4402
- ):
4276
+ def search_menu(execution_context: int | str | None = None, undo: bool | None = None):
4403
4277
  """Pop-up a search over all menus in the current context
4404
4278
 
4405
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4406
4279
  :type execution_context: int | str | None
4407
4280
  :type undo: bool | None
4408
4281
  """
4409
4282
 
4410
4283
  def search_operator(
4411
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4412
- execution_context: int | str | None = None,
4413
- undo: bool | None = None,
4284
+ execution_context: int | str | None = None, undo: bool | None = None
4414
4285
  ):
4415
4286
  """Pop-up a search over all available operators in current context
4416
4287
 
4417
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4418
4288
  :type execution_context: int | str | None
4419
4289
  :type undo: bool | None
4420
4290
  """
4421
4291
 
4422
4292
  def search_single_menu(
4423
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4424
4293
  execution_context: int | str | None = None,
4425
4294
  undo: bool | None = None,
4295
+ /,
4426
4296
  *,
4427
4297
  menu_idname: str = "",
4428
4298
  initial_query: str = "",
4429
4299
  ):
4430
4300
  """Pop-up a search for a menu in current context
4431
4301
 
4432
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4433
4302
  :type execution_context: int | str | None
4434
4303
  :type undo: bool | None
4435
4304
  :param menu_idname: Menu Name, Menu to search in
@@ -4439,61 +4308,51 @@ def search_single_menu(
4439
4308
  """
4440
4309
 
4441
4310
  def set_stereo_3d(
4442
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4443
4311
  execution_context: int | str | None = None,
4444
4312
  undo: bool | None = None,
4313
+ /,
4445
4314
  *,
4446
- display_mode: bpy.typing.Stereo3DDisplayItems | None = "ANAGLYPH",
4447
- anaglyph_type: bpy.typing.Stereo3DAnaglyphTypeItems | None = "RED_CYAN",
4448
- interlace_type: bpy.typing.Stereo3DInterlaceTypeItems | None = "ROW_INTERLEAVED",
4315
+ display_mode: bpy._typing.rna_enums.Stereo3DDisplayItems | None = "ANAGLYPH",
4316
+ anaglyph_type: bpy._typing.rna_enums.Stereo3DAnaglyphTypeItems | None = "RED_CYAN",
4317
+ interlace_type: bpy._typing.rna_enums.Stereo3DInterlaceTypeItems
4318
+ | None = "ROW_INTERLEAVED",
4449
4319
  use_interlace_swap: bool | None = False,
4450
4320
  use_sidebyside_crosseyed: bool | None = False,
4451
4321
  ):
4452
4322
  """Toggle 3D stereo support for current window (or change the display mode)
4453
4323
 
4454
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4455
4324
  :type execution_context: int | str | None
4456
4325
  :type undo: bool | None
4457
4326
  :param display_mode: Display Mode
4458
- :type display_mode: bpy.typing.Stereo3DDisplayItems | None
4327
+ :type display_mode: bpy._typing.rna_enums.Stereo3DDisplayItems | None
4459
4328
  :param anaglyph_type: Anaglyph Type
4460
- :type anaglyph_type: bpy.typing.Stereo3DAnaglyphTypeItems | None
4329
+ :type anaglyph_type: bpy._typing.rna_enums.Stereo3DAnaglyphTypeItems | None
4461
4330
  :param interlace_type: Interlace Type
4462
- :type interlace_type: bpy.typing.Stereo3DInterlaceTypeItems | None
4331
+ :type interlace_type: bpy._typing.rna_enums.Stereo3DInterlaceTypeItems | None
4463
4332
  :param use_interlace_swap: Swap Left/Right, Swap left and right stereo channels
4464
4333
  :type use_interlace_swap: bool | None
4465
4334
  :param use_sidebyside_crosseyed: Cross-Eyed, Right eye should see left image and vice versa
4466
4335
  :type use_sidebyside_crosseyed: bool | None
4467
4336
  """
4468
4337
 
4469
- def splash(
4470
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4471
- execution_context: int | str | None = None,
4472
- undo: bool | None = None,
4473
- ):
4338
+ def splash(execution_context: int | str | None = None, undo: bool | None = None):
4474
4339
  """Open the splash screen with release info
4475
4340
 
4476
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4477
4341
  :type execution_context: int | str | None
4478
4342
  :type undo: bool | None
4479
4343
  """
4480
4344
 
4481
- def splash_about(
4482
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4483
- execution_context: int | str | None = None,
4484
- undo: bool | None = None,
4485
- ):
4345
+ def splash_about(execution_context: int | str | None = None, undo: bool | None = None):
4486
4346
  """Open a window with information about UPBGE
4487
4347
 
4488
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4489
4348
  :type execution_context: int | str | None
4490
4349
  :type undo: bool | None
4491
4350
  """
4492
4351
 
4493
4352
  def stl_export(
4494
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4495
4353
  execution_context: int | str | None = None,
4496
4354
  undo: bool | None = None,
4355
+ /,
4497
4356
  *,
4498
4357
  filepath: str = "",
4499
4358
  check_existing: bool | None = True,
@@ -4537,7 +4396,6 @@ def stl_export(
4537
4396
  ):
4538
4397
  """Save the scene to an STL file
4539
4398
 
4540
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4541
4399
  :type execution_context: int | str | None
4542
4400
  :type undo: bool | None
4543
4401
  :param filepath: File Path, Path to file
@@ -4655,9 +4513,9 @@ def stl_export(
4655
4513
  """
4656
4514
 
4657
4515
  def stl_import(
4658
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4659
4516
  execution_context: int | str | None = None,
4660
4517
  undo: bool | None = None,
4518
+ /,
4661
4519
  *,
4662
4520
  filepath: str = "",
4663
4521
  directory: str = "",
@@ -4701,7 +4559,6 @@ def stl_import(
4701
4559
  ):
4702
4560
  """Import an STL file as an object
4703
4561
 
4704
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4705
4562
  :type execution_context: int | str | None
4706
4563
  :type undo: bool | None
4707
4564
  :param filepath: File Path, Path to file
@@ -4817,15 +4674,14 @@ def stl_import(
4817
4674
  """
4818
4675
 
4819
4676
  def sysinfo(
4820
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4821
4677
  execution_context: int | str | None = None,
4822
4678
  undo: bool | None = None,
4679
+ /,
4823
4680
  *,
4824
4681
  filepath: str = "",
4825
4682
  ):
4826
4683
  """Generate system information, saved into a text file
4827
4684
 
4828
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4829
4685
  :type execution_context: int | str | None
4830
4686
  :type undo: bool | None
4831
4687
  :param filepath: filepath
@@ -4833,9 +4689,9 @@ def sysinfo(
4833
4689
  """
4834
4690
 
4835
4691
  def tool_set_by_brush_type(
4836
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4837
4692
  execution_context: int | str | None = None,
4838
4693
  undo: bool | None = None,
4694
+ /,
4839
4695
  *,
4840
4696
  brush_type: str = "",
4841
4697
  space_type: typing.Literal[
@@ -4864,7 +4720,6 @@ def tool_set_by_brush_type(
4864
4720
  ):
4865
4721
  """Look up the most appropriate tool for the given brush type and activate that
4866
4722
 
4867
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4868
4723
  :type execution_context: int | str | None
4869
4724
  :type undo: bool | None
4870
4725
  :param brush_type: Brush Type, Brush type identifier for which the most appropriate tool will be looked up
@@ -4874,9 +4729,9 @@ def tool_set_by_brush_type(
4874
4729
  """
4875
4730
 
4876
4731
  def tool_set_by_id(
4877
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4878
4732
  execution_context: int | str | None = None,
4879
4733
  undo: bool | None = None,
4734
+ /,
4880
4735
  *,
4881
4736
  name: str = "",
4882
4737
  cycle: bool | None = False,
@@ -4907,7 +4762,6 @@ def tool_set_by_id(
4907
4762
  ):
4908
4763
  """Set the tool by name (for key-maps)
4909
4764
 
4910
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4911
4765
  :type execution_context: int | str | None
4912
4766
  :type undo: bool | None
4913
4767
  :param name: Identifier, Identifier of the tool
@@ -4921,9 +4775,9 @@ def tool_set_by_id(
4921
4775
  """
4922
4776
 
4923
4777
  def tool_set_by_index(
4924
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4925
4778
  execution_context: int | str | None = None,
4926
4779
  undo: bool | None = None,
4780
+ /,
4927
4781
  *,
4928
4782
  index: int | None = 0,
4929
4783
  cycle: bool | None = False,
@@ -4955,7 +4809,6 @@ def tool_set_by_index(
4955
4809
  ):
4956
4810
  """Set the tool by index (for key-maps)
4957
4811
 
4958
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4959
4812
  :type execution_context: int | str | None
4960
4813
  :type undo: bool | None
4961
4814
  :param index: Index in Toolbar
@@ -4970,52 +4823,40 @@ def tool_set_by_index(
4970
4823
  :type space_type: typing.Literal['EMPTY','VIEW_3D','IMAGE_EDITOR','NODE_EDITOR','SEQUENCE_EDITOR','CLIP_EDITOR','DOPESHEET_EDITOR','GRAPH_EDITOR','NLA_EDITOR','TEXT_EDITOR','LOGIC_EDITOR','CONSOLE','INFO','TOPBAR','STATUSBAR','OUTLINER','PROPERTIES','FILE_BROWSER','SPREADSHEET','PREFERENCES'] | None
4971
4824
  """
4972
4825
 
4973
- def toolbar(
4974
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4975
- execution_context: int | str | None = None,
4976
- undo: bool | None = None,
4977
- ):
4826
+ def toolbar(execution_context: int | str | None = None, undo: bool | None = None):
4978
4827
  """Undocumented, consider contributing.
4979
4828
 
4980
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4981
4829
  :type execution_context: int | str | None
4982
4830
  :type undo: bool | None
4983
4831
  """
4984
4832
 
4985
4833
  def toolbar_fallback_pie(
4986
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4987
- execution_context: int | str | None = None,
4988
- undo: bool | None = None,
4834
+ execution_context: int | str | None = None, undo: bool | None = None
4989
4835
  ):
4990
4836
  """Undocumented, consider contributing.
4991
4837
 
4992
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
4993
4838
  :type execution_context: int | str | None
4994
4839
  :type undo: bool | None
4995
4840
  """
4996
4841
 
4997
4842
  def toolbar_prompt(
4998
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
4999
- execution_context: int | str | None = None,
5000
- undo: bool | None = None,
4843
+ execution_context: int | str | None = None, undo: bool | None = None
5001
4844
  ):
5002
4845
  """Leader key like functionality for accessing tools
5003
4846
 
5004
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5005
4847
  :type execution_context: int | str | None
5006
4848
  :type undo: bool | None
5007
4849
  """
5008
4850
 
5009
4851
  def url_open(
5010
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5011
4852
  execution_context: int | str | None = None,
5012
4853
  undo: bool | None = None,
4854
+ /,
5013
4855
  *,
5014
4856
  url: str = "",
5015
4857
  ):
5016
4858
  """Open a website in the web browser
5017
4859
 
5018
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5019
4860
  :type execution_context: int | str | None
5020
4861
  :type undo: bool | None
5021
4862
  :param url: URL, URL to open
@@ -5023,15 +4864,14 @@ def url_open(
5023
4864
  """
5024
4865
 
5025
4866
  def url_open_preset(
5026
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5027
4867
  execution_context: int | str | None = None,
5028
4868
  undo: bool | None = None,
4869
+ /,
5029
4870
  *,
5030
4871
  type: str | None = "",
5031
4872
  ):
5032
4873
  """Open a preset website in the web browser
5033
4874
 
5034
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5035
4875
  :type execution_context: int | str | None
5036
4876
  :type undo: bool | None
5037
4877
  :param type: Site
@@ -5039,9 +4879,9 @@ def url_open_preset(
5039
4879
  """
5040
4880
 
5041
4881
  def usd_export(
5042
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5043
4882
  execution_context: int | str | None = None,
5044
4883
  undo: bool | None = None,
4884
+ /,
5045
4885
  *,
5046
4886
  filepath: str = "",
5047
4887
  check_existing: bool | None = True,
@@ -5115,19 +4955,31 @@ def usd_export(
5115
4955
  export_points: bool | None = True,
5116
4956
  export_volumes: bool | None = True,
5117
4957
  triangulate_meshes: bool | None = False,
5118
- quad_method: bpy.typing.ModifierTriangulateQuadMethodItems
4958
+ quad_method: bpy._typing.rna_enums.ModifierTriangulateQuadMethodItems
5119
4959
  | None = "SHORTEST_DIAGONAL",
5120
- ngon_method: bpy.typing.ModifierTriangulateNgonMethodItems | None = "BEAUTY",
4960
+ ngon_method: bpy._typing.rna_enums.ModifierTriangulateNgonMethodItems
4961
+ | None = "BEAUTY",
5121
4962
  usdz_downscale_size: typing.Literal[
5122
4963
  "KEEP", "256", "512", "1024", "2048", "4096", "CUSTOM"
5123
4964
  ]
5124
4965
  | None = "KEEP",
5125
4966
  usdz_downscale_custom_size: int | None = 128,
5126
4967
  merge_parent_xform: bool | None = False,
4968
+ convert_scene_units: typing.Literal[
4969
+ "METERS",
4970
+ "KILOMETERS",
4971
+ "CENTIMETERS",
4972
+ "MILLIMETERS",
4973
+ "INCHES",
4974
+ "FEET",
4975
+ "YARDS",
4976
+ "CUSTOM",
4977
+ ]
4978
+ | None = "METERS",
4979
+ meters_per_unit: float | None = 1.0,
5127
4980
  ):
5128
4981
  """Export current scene in a USD archive
5129
4982
 
5130
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5131
4983
  :type execution_context: int | str | None
5132
4984
  :type undo: bool | None
5133
4985
  :param filepath: File Path, Path to file
@@ -5317,7 +5169,7 @@ def usd_export(
5317
5169
  :type custom_properties_namespace: str
5318
5170
  :param author_blender_name: Blender Names, Author USD custom attributes containing the original Blender object and object data names
5319
5171
  :type author_blender_name: bool | None
5320
- :param convert_world_material: Convert World Material, Convert the world material to a USD dome light. Currently works for simple materials, consisting of an environment texture connected to a background shader, with an optional vector multiply of the texture color
5172
+ :param convert_world_material: World Dome Light, Convert the world material to a USD dome light. Currently works for simple materials, consisting of an environment texture connected to a background shader, with an optional vector multiply of the texture color
5321
5173
  :type convert_world_material: bool | None
5322
5174
  :param allow_unicode: Allow Unicode, Preserve UTF-8 encoded characters when writing USD prim and property names (requires software utilizing USD 24.03 or greater when opening the resulting files)
5323
5175
  :type allow_unicode: bool | None
@@ -5336,9 +5188,9 @@ def usd_export(
5336
5188
  :param triangulate_meshes: Triangulate Meshes, Triangulate meshes during export
5337
5189
  :type triangulate_meshes: bool | None
5338
5190
  :param quad_method: Quad Method, Method for splitting the quads into triangles
5339
- :type quad_method: bpy.typing.ModifierTriangulateQuadMethodItems | None
5191
+ :type quad_method: bpy._typing.rna_enums.ModifierTriangulateQuadMethodItems | None
5340
5192
  :param ngon_method: N-gon Method, Method for splitting the n-gons into triangles
5341
- :type ngon_method: bpy.typing.ModifierTriangulateNgonMethodItems | None
5193
+ :type ngon_method: bpy._typing.rna_enums.ModifierTriangulateNgonMethodItems | None
5342
5194
  :param usdz_downscale_size: USDZ Texture Downsampling, Choose a maximum size for all exported textures
5343
5195
 
5344
5196
  KEEP
@@ -5366,12 +5218,40 @@ def usd_export(
5366
5218
  :type usdz_downscale_custom_size: int | None
5367
5219
  :param merge_parent_xform: Merge parent Xform, Merge USD primitives with their Xform parent if possible. USD does not allow nested UsdGeomGprims, intermediary Xform prims will be defined to keep the USD file valid when encountering object hierarchies.
5368
5220
  :type merge_parent_xform: bool | None
5221
+ :param convert_scene_units: Units, Set the USD Stage meters per unit to the chosen measurement, or a custom value
5222
+
5223
+ METERS
5224
+ Meters -- Scene meters per unit to 1.0.
5225
+
5226
+ KILOMETERS
5227
+ Kilometers -- Scene meters per unit to 1000.0.
5228
+
5229
+ CENTIMETERS
5230
+ Centimeters -- Scene meters per unit to 0.01.
5231
+
5232
+ MILLIMETERS
5233
+ Millimeters -- Scene meters per unit to 0.001.
5234
+
5235
+ INCHES
5236
+ Inches -- Scene meters per unit to 0.0254.
5237
+
5238
+ FEET
5239
+ Feet -- Scene meters per unit to 0.3048.
5240
+
5241
+ YARDS
5242
+ Yards -- Scene meters per unit to 0.9144.
5243
+
5244
+ CUSTOM
5245
+ Custom -- Specify a custom scene meters per unit value.
5246
+ :type convert_scene_units: typing.Literal['METERS','KILOMETERS','CENTIMETERS','MILLIMETERS','INCHES','FEET','YARDS','CUSTOM'] | None
5247
+ :param meters_per_unit: Meters Per Unit, Custom value for meters per unit in the USD Stage
5248
+ :type meters_per_unit: float | None
5369
5249
  """
5370
5250
 
5371
5251
  def usd_import(
5372
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5373
5252
  execution_context: int | str | None = None,
5374
5253
  undo: bool | None = None,
5254
+ /,
5375
5255
  *,
5376
5256
  filepath: str = "",
5377
5257
  check_existing: bool | None = False,
@@ -5441,10 +5321,10 @@ def usd_import(
5441
5321
  create_world_material: bool | None = True,
5442
5322
  import_defined_only: bool | None = True,
5443
5323
  merge_parent_xform: bool | None = True,
5324
+ apply_unit_conversion_scale: bool | None = True,
5444
5325
  ):
5445
5326
  """Import USD stage into current scene
5446
5327
 
5447
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5448
5328
  :type execution_context: int | str | None
5449
5329
  :type undo: bool | None
5450
5330
  :param filepath: File Path, Path to file
@@ -5613,66 +5493,52 @@ def usd_import(
5613
5493
  :type attr_import_mode: typing.Literal['NONE','USER','ALL'] | None
5614
5494
  :param validate_meshes: Validate Meshes, Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing)
5615
5495
  :type validate_meshes: bool | None
5616
- :param create_world_material: Create World Material, Convert the first discovered USD dome light to a world background shader
5496
+ :param create_world_material: World Dome Light, Convert the first discovered USD dome light to a world background shader
5617
5497
  :type create_world_material: bool | None
5618
5498
  :param import_defined_only: Defined Primitives Only, Import only defined USD primitives. When disabled this allows importing USD primitives which are not defined, such as those with an override specifier
5619
5499
  :type import_defined_only: bool | None
5620
5500
  :param merge_parent_xform: Merge parent Xform, Allow USD primitives to merge with their Xform parent if they are the only child in the hierarchy
5621
5501
  :type merge_parent_xform: bool | None
5502
+ :param apply_unit_conversion_scale: Apply Unit Conversion Scale, Scale the scene objects by the USD stage's meters per unit value. This scaling is applied in addition to the value specified in the Scale option
5503
+ :type apply_unit_conversion_scale: bool | None
5622
5504
  """
5623
5505
 
5624
- def window_close(
5625
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5626
- execution_context: int | str | None = None,
5627
- undo: bool | None = None,
5628
- ):
5506
+ def window_close(execution_context: int | str | None = None, undo: bool | None = None):
5629
5507
  """Close the current window
5630
5508
 
5631
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5632
5509
  :type execution_context: int | str | None
5633
5510
  :type undo: bool | None
5634
5511
  """
5635
5512
 
5636
5513
  def window_fullscreen_toggle(
5637
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5638
- execution_context: int | str | None = None,
5639
- undo: bool | None = None,
5514
+ execution_context: int | str | None = None, undo: bool | None = None
5640
5515
  ):
5641
5516
  """Toggle the current window full-screen
5642
5517
 
5643
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5644
5518
  :type execution_context: int | str | None
5645
5519
  :type undo: bool | None
5646
5520
  """
5647
5521
 
5648
- def window_new(
5649
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5650
- execution_context: int | str | None = None,
5651
- undo: bool | None = None,
5652
- ):
5522
+ def window_new(execution_context: int | str | None = None, undo: bool | None = None):
5653
5523
  """Create a new window
5654
5524
 
5655
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5656
5525
  :type execution_context: int | str | None
5657
5526
  :type undo: bool | None
5658
5527
  """
5659
5528
 
5660
5529
  def window_new_main(
5661
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5662
- execution_context: int | str | None = None,
5663
- undo: bool | None = None,
5530
+ execution_context: int | str | None = None, undo: bool | None = None
5664
5531
  ):
5665
5532
  """Create a new main window with its own workspace and scene selection
5666
5533
 
5667
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5668
5534
  :type execution_context: int | str | None
5669
5535
  :type undo: bool | None
5670
5536
  """
5671
5537
 
5672
5538
  def xr_navigation_fly(
5673
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5674
5539
  execution_context: int | str | None = None,
5675
5540
  undo: bool | None = None,
5541
+ /,
5676
5542
  *,
5677
5543
  mode: typing.Literal[
5678
5544
  "FORWARD",
@@ -5706,7 +5572,6 @@ def xr_navigation_fly(
5706
5572
  ):
5707
5573
  """Move/turn relative to the VR viewer or controller
5708
5574
 
5709
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5710
5575
  :type execution_context: int | str | None
5711
5576
  :type undo: bool | None
5712
5577
  :param mode: Mode, Fly mode
@@ -5767,9 +5632,9 @@ def xr_navigation_fly(
5767
5632
  """
5768
5633
 
5769
5634
  def xr_navigation_grab(
5770
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5771
5635
  execution_context: int | str | None = None,
5772
5636
  undo: bool | None = None,
5637
+ /,
5773
5638
  *,
5774
5639
  lock_location: bool | None = False,
5775
5640
  lock_location_z: bool | None = False,
@@ -5779,7 +5644,6 @@ def xr_navigation_grab(
5779
5644
  ):
5780
5645
  """Navigate the VR scene by grabbing with controllers
5781
5646
 
5782
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5783
5647
  :type execution_context: int | str | None
5784
5648
  :type undo: bool | None
5785
5649
  :param lock_location: Lock Location, Prevent changes to viewer location
@@ -5795,9 +5659,9 @@ def xr_navigation_grab(
5795
5659
  """
5796
5660
 
5797
5661
  def xr_navigation_reset(
5798
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5799
5662
  execution_context: int | str | None = None,
5800
5663
  undo: bool | None = None,
5664
+ /,
5801
5665
  *,
5802
5666
  location: bool | None = True,
5803
5667
  rotation: bool | None = True,
@@ -5805,7 +5669,6 @@ def xr_navigation_reset(
5805
5669
  ):
5806
5670
  """Reset VR navigation deltas relative to session base pose
5807
5671
 
5808
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5809
5672
  :type execution_context: int | str | None
5810
5673
  :type undo: bool | None
5811
5674
  :param location: Location, Reset location deltas
@@ -5817,9 +5680,9 @@ def xr_navigation_reset(
5817
5680
  """
5818
5681
 
5819
5682
  def xr_navigation_teleport(
5820
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5821
5683
  execution_context: int | str | None = None,
5822
5684
  undo: bool | None = None,
5685
+ /,
5823
5686
  *,
5824
5687
  teleport_axes: collections.abc.Iterable[bool] | None = (True, True, True),
5825
5688
  interpolation: float | None = 1.0,
@@ -5832,7 +5695,6 @@ def xr_navigation_teleport(
5832
5695
  ):
5833
5696
  """Set VR viewer location to controller raycast hit location
5834
5697
 
5835
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5836
5698
  :type execution_context: int | str | None
5837
5699
  :type undo: bool | None
5838
5700
  :param teleport_axes: Teleport Axes, Enabled teleport axes in navigation space
@@ -5854,13 +5716,10 @@ def xr_navigation_teleport(
5854
5716
  """
5855
5717
 
5856
5718
  def xr_session_toggle(
5857
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5858
- execution_context: int | str | None = None,
5859
- undo: bool | None = None,
5719
+ execution_context: int | str | None = None, undo: bool | None = None
5860
5720
  ):
5861
5721
  """Open a view for use with virtual reality headsets, or close it if already opened
5862
5722
 
5863
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5864
5723
  :type execution_context: int | str | None
5865
5724
  :type undo: bool | None
5866
5725
  """