fake-bge-module 20250104__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-20250104.dist-info → fake_bge_module-20250201.dist-info}/METADATA +3 -3
  129. {fake_bge_module-20250104.dist-info → fake_bge_module-20250201.dist-info}/RECORD +153 -152
  130. {fake_bge_module-20250104.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-20250104.dist-info → fake_bge_module-20250201.dist-info}/top_level.txt +0 -0
@@ -5,19 +5,19 @@ import bpy.types
5
5
  import mathutils
6
6
 
7
7
  def brush_stroke(
8
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
9
8
  execution_context: int | str | None = None,
10
9
  undo: bool | None = None,
10
+ /,
11
11
  *,
12
12
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
13
13
  | None = None,
14
14
  mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
15
15
  pen_flip: bool | None = False,
16
+ override_location: bool | None = False,
16
17
  ignore_background_click: bool | None = False,
17
18
  ):
18
19
  """Sculpt a stroke into the geometry
19
20
 
20
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
21
21
  :type execution_context: int | str | None
22
22
  :type undo: bool | None
23
23
  :param stroke: Stroke
@@ -38,14 +38,16 @@ def brush_stroke(
38
38
  :type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
39
39
  :param pen_flip: Pen Flip, Whether a tablet's eraser mode is being used
40
40
  :type pen_flip: bool | None
41
+ :param override_location: Override Location, Override the given location array by recalculating object space positions from the provided mouse_event positions
42
+ :type override_location: bool | None
41
43
  :param ignore_background_click: Ignore Background Click, Clicks on the background do not start the stroke
42
44
  :type ignore_background_click: bool | None
43
45
  """
44
46
 
45
47
  def cloth_filter(
46
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
47
48
  execution_context: int | str | None = None,
48
49
  undo: bool | None = None,
50
+ /,
49
51
  *,
50
52
  start_mouse: collections.abc.Iterable[int] | None = (0, 0),
51
53
  area_normal_radius: float | None = 0.25,
@@ -64,7 +66,6 @@ def cloth_filter(
64
66
  ):
65
67
  """Applies a cloth simulation deformation to the entire mesh
66
68
 
67
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
68
69
  :type execution_context: int | str | None
69
70
  :type undo: bool | None
70
71
  :param start_mouse: Starting Mouse
@@ -126,9 +127,9 @@ def cloth_filter(
126
127
  """
127
128
 
128
129
  def color_filter(
129
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
130
130
  execution_context: int | str | None = None,
131
131
  undo: bool | None = None,
132
+ /,
132
133
  *,
133
134
  start_mouse: collections.abc.Iterable[int] | None = (0, 0),
134
135
  area_normal_radius: float | None = 0.25,
@@ -157,7 +158,6 @@ def color_filter(
157
158
  ):
158
159
  """Applies a filter to modify the active color attribute
159
160
 
160
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
161
161
  :type execution_context: int | str | None
162
162
  :type undo: bool | None
163
163
  :param start_mouse: Starting Mouse
@@ -206,45 +206,36 @@ def color_filter(
206
206
  """
207
207
 
208
208
  def detail_flood_fill(
209
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
210
- execution_context: int | str | None = None,
211
- undo: bool | None = None,
209
+ execution_context: int | str | None = None, undo: bool | None = None
212
210
  ):
213
211
  """Flood fill the mesh with the selected detail setting
214
212
 
215
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
216
213
  :type execution_context: int | str | None
217
214
  :type undo: bool | None
218
215
  """
219
216
 
220
217
  def dynamic_topology_toggle(
221
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
222
- execution_context: int | str | None = None,
223
- undo: bool | None = None,
218
+ execution_context: int | str | None = None, undo: bool | None = None
224
219
  ):
225
220
  """Dynamic topology alters the mesh topology while sculpting
226
221
 
227
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
228
222
  :type execution_context: int | str | None
229
223
  :type undo: bool | None
230
224
  """
231
225
 
232
226
  def dyntopo_detail_size_edit(
233
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
234
- execution_context: int | str | None = None,
235
- undo: bool | None = None,
227
+ execution_context: int | str | None = None, undo: bool | None = None
236
228
  ):
237
229
  """Modify the detail size of dyntopo interactively
238
230
 
239
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
240
231
  :type execution_context: int | str | None
241
232
  :type undo: bool | None
242
233
  """
243
234
 
244
235
  def expand(
245
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
246
236
  execution_context: int | str | None = None,
247
237
  undo: bool | None = None,
238
+ /,
248
239
  *,
249
240
  target: typing.Literal["MASK", "FACE_SETS", "COLOR"] | None = "MASK",
250
241
  falloff_type: typing.Literal[
@@ -269,7 +260,6 @@ def expand(
269
260
  ):
270
261
  """Generic sculpt expand operator
271
262
 
272
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
273
263
  :type execution_context: int | str | None
274
264
  :type undo: bool | None
275
265
  :param target: Data Target, Data that is going to be modified in the expand operation
@@ -295,9 +285,9 @@ def expand(
295
285
  """
296
286
 
297
287
  def face_set_box_gesture(
298
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
299
288
  execution_context: int | str | None = None,
300
289
  undo: bool | None = None,
290
+ /,
301
291
  *,
302
292
  xmin: int | None = 0,
303
293
  xmax: int | None = 0,
@@ -308,7 +298,6 @@ def face_set_box_gesture(
308
298
  ):
309
299
  """Add a face set in a rectangle defined by the cursor
310
300
 
311
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
312
301
  :type execution_context: int | str | None
313
302
  :type undo: bool | None
314
303
  :param xmin: X Min
@@ -326,15 +315,14 @@ def face_set_box_gesture(
326
315
  """
327
316
 
328
317
  def face_set_change_visibility(
329
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
330
318
  execution_context: int | str | None = None,
331
319
  undo: bool | None = None,
320
+ /,
332
321
  *,
333
322
  mode: typing.Literal["TOGGLE", "SHOW_ACTIVE", "HIDE_ACTIVE"] | None = "TOGGLE",
334
323
  ):
335
324
  """Change the visibility of the Face Sets of the sculpt
336
325
 
337
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
338
326
  :type execution_context: int | str | None
339
327
  :type undo: bool | None
340
328
  :param mode: Mode
@@ -351,9 +339,9 @@ def face_set_change_visibility(
351
339
  """
352
340
 
353
341
  def face_set_edit(
354
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
355
342
  execution_context: int | str | None = None,
356
343
  undo: bool | None = None,
344
+ /,
357
345
  *,
358
346
  active_face_set: int | None = 1,
359
347
  mode: typing.Literal[
@@ -365,7 +353,6 @@ def face_set_edit(
365
353
  ):
366
354
  """Edits the current active Face Set
367
355
 
368
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
369
356
  :type execution_context: int | str | None
370
357
  :type undo: bool | None
371
358
  :param active_face_set: Active Face Set
@@ -394,9 +381,9 @@ def face_set_edit(
394
381
  """
395
382
 
396
383
  def face_set_lasso_gesture(
397
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
398
384
  execution_context: int | str | None = None,
399
385
  undo: bool | None = None,
386
+ /,
400
387
  *,
401
388
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
402
389
  use_smooth_stroke: bool | None = False,
@@ -406,7 +393,6 @@ def face_set_lasso_gesture(
406
393
  ):
407
394
  """Add a face set in a shape defined by the cursor
408
395
 
409
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
410
396
  :type execution_context: int | str | None
411
397
  :type undo: bool | None
412
398
  :param path: Path
@@ -422,9 +408,9 @@ def face_set_lasso_gesture(
422
408
  """
423
409
 
424
410
  def face_set_line_gesture(
425
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
426
411
  execution_context: int | str | None = None,
427
412
  undo: bool | None = None,
413
+ /,
428
414
  *,
429
415
  xstart: int | None = 0,
430
416
  xend: int | None = 0,
@@ -437,7 +423,6 @@ def face_set_line_gesture(
437
423
  ):
438
424
  """Add a face set to one side of a line defined by the cursor
439
425
 
440
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
441
426
  :type execution_context: int | str | None
442
427
  :type undo: bool | None
443
428
  :param xstart: X Start
@@ -459,16 +444,15 @@ def face_set_line_gesture(
459
444
  """
460
445
 
461
446
  def face_set_polyline_gesture(
462
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
463
447
  execution_context: int | str | None = None,
464
448
  undo: bool | None = None,
449
+ /,
465
450
  *,
466
451
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
467
452
  use_front_faces_only: bool | None = False,
468
453
  ):
469
454
  """Add a face set in a shape defined by the cursor
470
455
 
471
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
472
456
  :type execution_context: int | str | None
473
457
  :type undo: bool | None
474
458
  :param path: Path
@@ -478,15 +462,14 @@ def face_set_polyline_gesture(
478
462
  """
479
463
 
480
464
  def face_sets_create(
481
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
482
465
  execution_context: int | str | None = None,
483
466
  undo: bool | None = None,
467
+ /,
484
468
  *,
485
469
  mode: typing.Literal["MASKED", "VISIBLE", "ALL", "SELECTION"] | None = "MASKED",
486
470
  ):
487
471
  """Create a new Face Set
488
472
 
489
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
490
473
  :type execution_context: int | str | None
491
474
  :type undo: bool | None
492
475
  :param mode: Mode
@@ -506,9 +489,9 @@ def face_sets_create(
506
489
  """
507
490
 
508
491
  def face_sets_init(
509
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
510
492
  execution_context: int | str | None = None,
511
493
  undo: bool | None = None,
494
+ /,
512
495
  *,
513
496
  mode: typing.Literal[
514
497
  "LOOSE_PARTS",
@@ -525,7 +508,6 @@ def face_sets_init(
525
508
  ):
526
509
  """Initializes all Face Sets in the mesh
527
510
 
528
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
529
511
  :type execution_context: int | str | None
530
512
  :type undo: bool | None
531
513
  :param mode: Mode
@@ -559,21 +541,18 @@ def face_sets_init(
559
541
  """
560
542
 
561
543
  def face_sets_randomize_colors(
562
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
563
- execution_context: int | str | None = None,
564
- undo: bool | None = None,
544
+ execution_context: int | str | None = None, undo: bool | None = None
565
545
  ):
566
546
  """Generates a new set of random colors to render the Face Sets in the viewport
567
547
 
568
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
569
548
  :type execution_context: int | str | None
570
549
  :type undo: bool | None
571
550
  """
572
551
 
573
552
  def mask_by_color(
574
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
575
553
  execution_context: int | str | None = None,
576
554
  undo: bool | None = None,
555
+ /,
577
556
  *,
578
557
  contiguous: bool | None = False,
579
558
  invert: bool | None = False,
@@ -582,7 +561,6 @@ def mask_by_color(
582
561
  ):
583
562
  """Creates a mask based on the active color attribute
584
563
 
585
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
586
564
  :type execution_context: int | str | None
587
565
  :type undo: bool | None
588
566
  :param contiguous: Contiguous, Mask only contiguous color areas
@@ -596,9 +574,9 @@ def mask_by_color(
596
574
  """
597
575
 
598
576
  def mask_filter(
599
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
600
577
  execution_context: int | str | None = None,
601
578
  undo: bool | None = None,
579
+ /,
602
580
  *,
603
581
  filter_type: typing.Literal[
604
582
  "SMOOTH", "SHARPEN", "GROW", "SHRINK", "CONTRAST_INCREASE", "CONTRAST_DECREASE"
@@ -609,7 +587,6 @@ def mask_filter(
609
587
  ):
610
588
  """Applies a filter to modify the current mask
611
589
 
612
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
613
590
  :type execution_context: int | str | None
614
591
  :type undo: bool | None
615
592
  :param filter_type: Type, Filter that is going to be applied to the mask
@@ -621,9 +598,9 @@ def mask_filter(
621
598
  """
622
599
 
623
600
  def mask_from_boundary(
624
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
625
601
  execution_context: int | str | None = None,
626
602
  undo: bool | None = None,
603
+ /,
627
604
  *,
628
605
  mix_mode: typing.Literal["MIX", "MULTIPLY", "DIVIDE", "ADD", "SUBTRACT"]
629
606
  | None = "MIX",
@@ -634,7 +611,6 @@ def mask_from_boundary(
634
611
  ):
635
612
  """Creates a mask based on the boundaries of the surface
636
613
 
637
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
638
614
  :type execution_context: int | str | None
639
615
  :type undo: bool | None
640
616
  :param mix_mode: Mode, Mix mode
@@ -665,9 +641,9 @@ def mask_from_boundary(
665
641
  """
666
642
 
667
643
  def mask_from_cavity(
668
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
669
644
  execution_context: int | str | None = None,
670
645
  undo: bool | None = None,
646
+ /,
671
647
  *,
672
648
  mix_mode: typing.Literal["MIX", "MULTIPLY", "DIVIDE", "ADD", "SUBTRACT"]
673
649
  | None = "MIX",
@@ -680,7 +656,6 @@ def mask_from_cavity(
680
656
  ):
681
657
  """Creates a mask based on the curvature of the surface
682
658
 
683
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
684
659
  :type execution_context: int | str | None
685
660
  :type undo: bool | None
686
661
  :param mix_mode: Mode, Mix mode
@@ -709,9 +684,9 @@ def mask_from_cavity(
709
684
  """
710
685
 
711
686
  def mask_init(
712
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
713
687
  execution_context: int | str | None = None,
714
688
  undo: bool | None = None,
689
+ /,
715
690
  *,
716
691
  mode: typing.Literal[
717
692
  "RANDOM_PER_VERTEX", "RANDOM_PER_FACE_SET", "RANDOM_PER_LOOSE_PART"
@@ -720,7 +695,6 @@ def mask_init(
720
695
  ):
721
696
  """Creates a new mask for the entire mesh
722
697
 
723
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
724
698
  :type execution_context: int | str | None
725
699
  :type undo: bool | None
726
700
  :param mode: Mode
@@ -728,9 +702,9 @@ def mask_init(
728
702
  """
729
703
 
730
704
  def mesh_filter(
731
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
732
705
  execution_context: int | str | None = None,
733
706
  undo: bool | None = None,
707
+ /,
734
708
  *,
735
709
  start_mouse: collections.abc.Iterable[int] | None = (0, 0),
736
710
  area_normal_radius: float | None = 0.25,
@@ -762,7 +736,6 @@ def mesh_filter(
762
736
  ):
763
737
  """Applies a filter to modify the current mesh
764
738
 
765
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
766
739
  :type execution_context: int | str | None
767
740
  :type undo: bool | None
768
741
  :param start_mouse: Starting Mouse
@@ -843,22 +816,17 @@ def mesh_filter(
843
816
  :type sharpen_curvature_smooth_iterations: int | None
844
817
  """
845
818
 
846
- def optimize(
847
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
848
- execution_context: int | str | None = None,
849
- undo: bool | None = None,
850
- ):
819
+ def optimize(execution_context: int | str | None = None, undo: bool | None = None):
851
820
  """Recalculate the sculpt BVH to improve performance
852
821
 
853
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
854
822
  :type execution_context: int | str | None
855
823
  :type undo: bool | None
856
824
  """
857
825
 
858
826
  def project_line_gesture(
859
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
860
827
  execution_context: int | str | None = None,
861
828
  undo: bool | None = None,
829
+ /,
862
830
  *,
863
831
  xstart: int | None = 0,
864
832
  xend: int | None = 0,
@@ -871,7 +839,6 @@ def project_line_gesture(
871
839
  ):
872
840
  """Project the geometry onto a plane defined by a line
873
841
 
874
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
875
842
  :type execution_context: int | str | None
876
843
  :type undo: bool | None
877
844
  :param xstart: X Start
@@ -892,29 +859,23 @@ def project_line_gesture(
892
859
  :type use_limit_to_segment: bool | None
893
860
  """
894
861
 
895
- def sample_color(
896
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
897
- execution_context: int | str | None = None,
898
- undo: bool | None = None,
899
- ):
862
+ def sample_color(execution_context: int | str | None = None, undo: bool | None = None):
900
863
  """Sample the vertex color of the active vertex
901
864
 
902
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
903
865
  :type execution_context: int | str | None
904
866
  :type undo: bool | None
905
867
  """
906
868
 
907
869
  def sample_detail_size(
908
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
909
870
  execution_context: int | str | None = None,
910
871
  undo: bool | None = None,
872
+ /,
911
873
  *,
912
874
  location: collections.abc.Iterable[int] | None = (0, 0),
913
875
  mode: typing.Literal["DYNTOPO", "VOXEL"] | None = "DYNTOPO",
914
876
  ):
915
877
  """Sample the mesh detail on clicked point
916
878
 
917
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
918
879
  :type execution_context: int | str | None
919
880
  :type undo: bool | None
920
881
  :param location: Location, Screen coordinates of sampling
@@ -930,33 +891,27 @@ def sample_detail_size(
930
891
  """
931
892
 
932
893
  def sculptmode_toggle(
933
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
934
- execution_context: int | str | None = None,
935
- undo: bool | None = None,
894
+ execution_context: int | str | None = None, undo: bool | None = None
936
895
  ):
937
896
  """Toggle sculpt mode in 3D view
938
897
 
939
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
940
898
  :type execution_context: int | str | None
941
899
  :type undo: bool | None
942
900
  """
943
901
 
944
902
  def set_persistent_base(
945
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
946
- execution_context: int | str | None = None,
947
- undo: bool | None = None,
903
+ execution_context: int | str | None = None, undo: bool | None = None
948
904
  ):
949
905
  """Reset the copy of the mesh that is being sculpted on
950
906
 
951
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
952
907
  :type execution_context: int | str | None
953
908
  :type undo: bool | None
954
909
  """
955
910
 
956
911
  def set_pivot_position(
957
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
958
912
  execution_context: int | str | None = None,
959
913
  undo: bool | None = None,
914
+ /,
960
915
  *,
961
916
  mode: typing.Literal["ORIGIN", "UNMASKED", "BORDER", "ACTIVE", "SURFACE"]
962
917
  | None = "UNMASKED",
@@ -965,7 +920,6 @@ def set_pivot_position(
965
920
  ):
966
921
  """Sets the sculpt transform pivot position
967
922
 
968
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
969
923
  :type execution_context: int | str | None
970
924
  :type undo: bool | None
971
925
  :param mode: Mode
@@ -992,15 +946,14 @@ def set_pivot_position(
992
946
  """
993
947
 
994
948
  def symmetrize(
995
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
996
949
  execution_context: int | str | None = None,
997
950
  undo: bool | None = None,
951
+ /,
998
952
  *,
999
953
  merge_tolerance: float | None = 0.0005,
1000
954
  ):
1001
955
  """Symmetrize the topology modifications
1002
956
 
1003
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1004
957
  :type execution_context: int | str | None
1005
958
  :type undo: bool | None
1006
959
  :param merge_tolerance: Merge Distance, Distance within which symmetrical vertices are merged
@@ -1008,9 +961,9 @@ def symmetrize(
1008
961
  """
1009
962
 
1010
963
  def trim_box_gesture(
1011
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1012
964
  execution_context: int | str | None = None,
1013
965
  undo: bool | None = None,
966
+ /,
1014
967
  *,
1015
968
  xmin: int | None = 0,
1016
969
  xmax: int | None = 0,
@@ -1027,7 +980,6 @@ def trim_box_gesture(
1027
980
  ):
1028
981
  """Execute a boolean operation on the mesh and a rectangle defined by the cursor
1029
982
 
1030
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1031
983
  :type execution_context: int | str | None
1032
984
  :type undo: bool | None
1033
985
  :param xmin: X Min
@@ -1084,9 +1036,9 @@ def trim_box_gesture(
1084
1036
  """
1085
1037
 
1086
1038
  def trim_lasso_gesture(
1087
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1088
1039
  execution_context: int | str | None = None,
1089
1040
  undo: bool | None = None,
1041
+ /,
1090
1042
  *,
1091
1043
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
1092
1044
  use_smooth_stroke: bool | None = False,
@@ -1102,7 +1054,6 @@ def trim_lasso_gesture(
1102
1054
  ):
1103
1055
  """Execute a boolean operation on the mesh and a shape defined by the cursor
1104
1056
 
1105
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1106
1057
  :type execution_context: int | str | None
1107
1058
  :type undo: bool | None
1108
1059
  :param path: Path
@@ -1157,9 +1108,9 @@ def trim_lasso_gesture(
1157
1108
  """
1158
1109
 
1159
1110
  def trim_line_gesture(
1160
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1161
1111
  execution_context: int | str | None = None,
1162
1112
  undo: bool | None = None,
1113
+ /,
1163
1114
  *,
1164
1115
  xstart: int | None = 0,
1165
1116
  xend: int | None = 0,
@@ -1178,7 +1129,6 @@ def trim_line_gesture(
1178
1129
  ):
1179
1130
  """Remove a portion of the mesh on one side of a line
1180
1131
 
1181
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1182
1132
  :type execution_context: int | str | None
1183
1133
  :type undo: bool | None
1184
1134
  :param xstart: X Start
@@ -1239,9 +1189,9 @@ def trim_line_gesture(
1239
1189
  """
1240
1190
 
1241
1191
  def trim_polyline_gesture(
1242
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1243
1192
  execution_context: int | str | None = None,
1244
1193
  undo: bool | None = None,
1194
+ /,
1245
1195
  *,
1246
1196
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
1247
1197
  use_front_faces_only: bool | None = False,
@@ -1254,7 +1204,6 @@ def trim_polyline_gesture(
1254
1204
  ):
1255
1205
  """Execute a boolean operation on the mesh and a polygonal shape defined by the cursor
1256
1206
 
1257
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1258
1207
  :type execution_context: int | str | None
1259
1208
  :type undo: bool | None
1260
1209
  :param path: Path
@@ -1303,15 +1252,14 @@ def trim_polyline_gesture(
1303
1252
  """
1304
1253
 
1305
1254
  def uv_sculpt_grab(
1306
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1307
1255
  execution_context: int | str | None = None,
1308
1256
  undo: bool | None = None,
1257
+ /,
1309
1258
  *,
1310
1259
  use_invert: bool | None = False,
1311
1260
  ):
1312
1261
  """Grab UVs
1313
1262
 
1314
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1315
1263
  :type execution_context: int | str | None
1316
1264
  :type undo: bool | None
1317
1265
  :param use_invert: Invert, Invert action for the duration of the stroke
@@ -1319,15 +1267,14 @@ def uv_sculpt_grab(
1319
1267
  """
1320
1268
 
1321
1269
  def uv_sculpt_pinch(
1322
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1323
1270
  execution_context: int | str | None = None,
1324
1271
  undo: bool | None = None,
1272
+ /,
1325
1273
  *,
1326
1274
  use_invert: bool | None = False,
1327
1275
  ):
1328
1276
  """Pinch UVs
1329
1277
 
1330
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1331
1278
  :type execution_context: int | str | None
1332
1279
  :type undo: bool | None
1333
1280
  :param use_invert: Invert, Invert action for the duration of the stroke
@@ -1335,16 +1282,15 @@ def uv_sculpt_pinch(
1335
1282
  """
1336
1283
 
1337
1284
  def uv_sculpt_relax(
1338
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1339
1285
  execution_context: int | str | None = None,
1340
1286
  undo: bool | None = None,
1287
+ /,
1341
1288
  *,
1342
1289
  use_invert: bool | None = False,
1343
1290
  relax_method: typing.Literal["LAPLACIAN", "HC", "COTAN"] | None = "COTAN",
1344
1291
  ):
1345
1292
  """Relax UVs
1346
1293
 
1347
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1348
1294
  :type execution_context: int | str | None
1349
1295
  :type undo: bool | None
1350
1296
  :param use_invert: Invert, Invert action for the duration of the stroke
@@ -4,9 +4,9 @@ import typing_extensions
4
4
  import bpy.types
5
5
 
6
6
  def brush_stroke(
7
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
8
7
  execution_context: int | str | None = None,
9
8
  undo: bool | None = None,
9
+ /,
10
10
  *,
11
11
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
12
12
  | None = None,
@@ -15,7 +15,6 @@ def brush_stroke(
15
15
  ):
16
16
  """Sculpt curves using a brush
17
17
 
18
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
19
18
  :type execution_context: int | str | None
20
19
  :type undo: bool | None
21
20
  :param stroke: Stroke
@@ -39,27 +38,23 @@ def brush_stroke(
39
38
  """
40
39
 
41
40
  def min_distance_edit(
42
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
43
- execution_context: int | str | None = None,
44
- undo: bool | None = None,
41
+ execution_context: int | str | None = None, undo: bool | None = None
45
42
  ):
46
43
  """Change the minimum distance used by the density brush
47
44
 
48
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
49
45
  :type execution_context: int | str | None
50
46
  :type undo: bool | None
51
47
  """
52
48
 
53
49
  def select_grow(
54
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
55
50
  execution_context: int | str | None = None,
56
51
  undo: bool | None = None,
52
+ /,
57
53
  *,
58
54
  distance: float | None = 0.1,
59
55
  ):
60
56
  """Select curves which are close to curves that are selected already
61
57
 
62
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
63
58
  :type execution_context: int | str | None
64
59
  :type undo: bool | None
65
60
  :param distance: Distance, By how much to grow the selection
@@ -67,9 +62,9 @@ def select_grow(
67
62
  """
68
63
 
69
64
  def select_random(
70
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
71
65
  execution_context: int | str | None = None,
72
66
  undo: bool | None = None,
67
+ /,
73
68
  *,
74
69
  seed: int | None = 0,
75
70
  partial: bool | None = False,
@@ -79,7 +74,6 @@ def select_random(
79
74
  ):
80
75
  """Randomizes existing selection or create new random selection
81
76
 
82
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
83
77
  :type execution_context: int | str | None
84
78
  :type undo: bool | None
85
79
  :param seed: Seed, Source of randomness