fake-bpy-module 20241207__py3-none-any.whl → 20241209__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (115) hide show
  1. addon_utils/__init__.pyi +2 -1
  2. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
  3. bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
  4. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
  5. bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
  6. blf/__init__.pyi +2 -1
  7. bmesh/ops/__init__.pyi +110 -53
  8. bmesh/types/__init__.pyi +18 -10
  9. bmesh/utils/__init__.pyi +14 -4
  10. bpy/app/icons/__init__.pyi +4 -1
  11. bpy/app/translations/__init__.pyi +4 -1
  12. bpy/msgbus/__init__.pyi +8 -5
  13. bpy/ops/action/__init__.pyi +38 -138
  14. bpy/ops/anim/__init__.pyi +61 -179
  15. bpy/ops/armature/__init__.pyi +48 -147
  16. bpy/ops/asset/__init__.pyi +16 -71
  17. bpy/ops/boid/__init__.pyi +8 -41
  18. bpy/ops/brush/__init__.pyi +13 -39
  19. bpy/ops/buttons/__init__.pyi +6 -29
  20. bpy/ops/cachefile/__init__.pyi +5 -19
  21. bpy/ops/camera/__init__.pyi +2 -5
  22. bpy/ops/clip/__init__.pyi +92 -290
  23. bpy/ops/cloth/__init__.pyi +1 -3
  24. bpy/ops/collection/__init__.pyi +9 -25
  25. bpy/ops/console/__init__.pyi +21 -79
  26. bpy/ops/constraint/__init__.pyi +18 -45
  27. bpy/ops/curve/__init__.pyi +51 -180
  28. bpy/ops/curves/__init__.pyi +28 -100
  29. bpy/ops/cycles/__init__.pyi +3 -9
  30. bpy/ops/dpaint/__init__.pyi +5 -19
  31. bpy/ops/ed/__init__.pyi +12 -53
  32. bpy/ops/export_anim/__init__.pyi +1 -3
  33. bpy/ops/export_scene/__init__.pyi +2 -5
  34. bpy/ops/extensions/__init__.pyi +34 -110
  35. bpy/ops/file/__init__.pyi +40 -167
  36. bpy/ops/fluid/__init__.pyi +14 -77
  37. bpy/ops/font/__init__.pyi +23 -85
  38. bpy/ops/geometry/__init__.pyi +10 -27
  39. bpy/ops/gizmogroup/__init__.pyi +2 -9
  40. bpy/ops/gpencil/__init__.pyi +8 -32
  41. bpy/ops/graph/__init__.pyi +65 -184
  42. bpy/ops/grease_pencil/__init__.pyi +108 -290
  43. bpy/ops/image/__init__.pyi +49 -154
  44. bpy/ops/import_anim/__init__.pyi +1 -3
  45. bpy/ops/import_curve/__init__.pyi +1 -3
  46. bpy/ops/import_scene/__init__.pyi +2 -4
  47. bpy/ops/info/__init__.pyi +7 -29
  48. bpy/ops/lattice/__init__.pyi +8 -29
  49. bpy/ops/marker/__init__.pyi +11 -31
  50. bpy/ops/mask/__init__.pyi +39 -132
  51. bpy/ops/material/__init__.pyi +3 -19
  52. bpy/ops/mball/__init__.pyi +8 -19
  53. bpy/ops/mesh/__init__.pyi +164 -401
  54. bpy/ops/nla/__init__.pyi +39 -147
  55. bpy/ops/node/__init__.pyi +115 -390
  56. bpy/ops/object/__init__.pyi +237 -630
  57. bpy/ops/outliner/__init__.pyi +71 -263
  58. bpy/ops/paint/__init__.pyi +54 -140
  59. bpy/ops/paintcurve/__init__.pyi +8 -33
  60. bpy/ops/palette/__init__.pyi +7 -27
  61. bpy/ops/particle/__init__.pyi +36 -134
  62. bpy/ops/pose/__init__.pyi +51 -169
  63. bpy/ops/poselib/__init__.pyi +9 -33
  64. bpy/ops/preferences/__init__.pyi +35 -94
  65. bpy/ops/ptcache/__init__.pyi +7 -33
  66. bpy/ops/render/__init__.pyi +13 -37
  67. bpy/ops/rigidbody/__init__.pyi +13 -45
  68. bpy/ops/scene/__init__.pyi +37 -121
  69. bpy/ops/screen/__init__.pyi +39 -137
  70. bpy/ops/script/__init__.pyi +3 -11
  71. bpy/ops/sculpt/__init__.pyi +37 -94
  72. bpy/ops/sculpt_curves/__init__.pyi +4 -10
  73. bpy/ops/sequencer/__init__.pyi +89 -284
  74. bpy/ops/sound/__init__.pyi +7 -23
  75. bpy/ops/spreadsheet/__init__.pyi +4 -15
  76. bpy/ops/surface/__init__.pyi +6 -13
  77. bpy/ops/text/__init__.pyi +43 -175
  78. bpy/ops/text_editor/__init__.pyi +1 -3
  79. bpy/ops/texture/__init__.pyi +4 -21
  80. bpy/ops/transform/__init__.pyi +27 -61
  81. bpy/ops/ui/__init__.pyi +34 -117
  82. bpy/ops/uilist/__init__.pyi +3 -7
  83. bpy/ops/uv/__init__.pyi +49 -134
  84. bpy/ops/view2d/__init__.pyi +14 -39
  85. bpy/ops/view3d/__init__.pyi +67 -232
  86. bpy/ops/wm/__init__.pyi +114 -298
  87. bpy/ops/workspace/__init__.pyi +7 -33
  88. bpy/ops/world/__init__.pyi +2 -11
  89. bpy/path/__init__.pyi +4 -2
  90. bpy/types/__init__.pyi +68 -32
  91. bpy/utils/__init__.pyi +18 -9
  92. bpy_extras/bmesh_utils/__init__.pyi +2 -1
  93. bpy_extras/io_utils/__init__.pyi +7 -2
  94. bpy_extras/mesh_utils/__init__.pyi +19 -7
  95. bpy_extras/view3d_utils/__init__.pyi +2 -2
  96. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/METADATA +1 -1
  97. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/RECORD +115 -115
  98. freestyle/functions/__init__.pyi +16 -4
  99. freestyle/types/__init__.pyi +60 -23
  100. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  101. gpu/capabilities/__init__.pyi +2 -1
  102. gpu/state/__init__.pyi +2 -2
  103. gpu/types/__init__.pyi +2 -2
  104. gpu_extras/batch/__init__.pyi +6 -3
  105. idprop/types/__init__.pyi +4 -3
  106. imbuf/__init__.pyi +2 -1
  107. imbuf/types/__init__.pyi +5 -2
  108. mathutils/__init__.pyi +25 -14
  109. mathutils/bvhtree/__init__.pyi +8 -7
  110. mathutils/geometry/__init__.pyi +38 -17
  111. mathutils/interpolate/__init__.pyi +2 -1
  112. mathutils/kdtree/__init__.pyi +11 -6
  113. mathutils/noise/__init__.pyi +2 -1
  114. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/WHEEL +0 -0
  115. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/top_level.txt +0 -0
@@ -5,9 +5,9 @@ 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,
@@ -17,7 +17,6 @@ def brush_stroke(
17
17
  ):
18
18
  """Sculpt a stroke into the geometry
19
19
 
20
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
21
20
  :type execution_context: int | str | None
22
21
  :type undo: bool | None
23
22
  :param stroke: Stroke
@@ -43,9 +42,9 @@ def brush_stroke(
43
42
  """
44
43
 
45
44
  def cloth_filter(
46
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
47
45
  execution_context: int | str | None = None,
48
46
  undo: bool | None = None,
47
+ /,
49
48
  *,
50
49
  start_mouse: collections.abc.Iterable[int] | None = (0, 0),
51
50
  area_normal_radius: float | None = 0.25,
@@ -64,7 +63,6 @@ def cloth_filter(
64
63
  ):
65
64
  """Applies a cloth simulation deformation to the entire mesh
66
65
 
67
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
68
66
  :type execution_context: int | str | None
69
67
  :type undo: bool | None
70
68
  :param start_mouse: Starting Mouse
@@ -126,9 +124,9 @@ def cloth_filter(
126
124
  """
127
125
 
128
126
  def color_filter(
129
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
130
127
  execution_context: int | str | None = None,
131
128
  undo: bool | None = None,
129
+ /,
132
130
  *,
133
131
  start_mouse: collections.abc.Iterable[int] | None = (0, 0),
134
132
  area_normal_radius: float | None = 0.25,
@@ -157,7 +155,6 @@ def color_filter(
157
155
  ):
158
156
  """Applies a filter to modify the active color attribute
159
157
 
160
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
161
158
  :type execution_context: int | str | None
162
159
  :type undo: bool | None
163
160
  :param start_mouse: Starting Mouse
@@ -206,45 +203,36 @@ def color_filter(
206
203
  """
207
204
 
208
205
  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,
206
+ execution_context: int | str | None = None, undo: bool | None = None
212
207
  ):
213
208
  """Flood fill the mesh with the selected detail setting
214
209
 
215
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
216
210
  :type execution_context: int | str | None
217
211
  :type undo: bool | None
218
212
  """
219
213
 
220
214
  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,
215
+ execution_context: int | str | None = None, undo: bool | None = None
224
216
  ):
225
217
  """Dynamic topology alters the mesh topology while sculpting
226
218
 
227
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
228
219
  :type execution_context: int | str | None
229
220
  :type undo: bool | None
230
221
  """
231
222
 
232
223
  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,
224
+ execution_context: int | str | None = None, undo: bool | None = None
236
225
  ):
237
226
  """Modify the detail size of dyntopo interactively
238
227
 
239
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
240
228
  :type execution_context: int | str | None
241
229
  :type undo: bool | None
242
230
  """
243
231
 
244
232
  def expand(
245
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
246
233
  execution_context: int | str | None = None,
247
234
  undo: bool | None = None,
235
+ /,
248
236
  *,
249
237
  target: typing.Literal["MASK", "FACE_SETS", "COLOR"] | None = "MASK",
250
238
  falloff_type: typing.Literal[
@@ -269,7 +257,6 @@ def expand(
269
257
  ):
270
258
  """Generic sculpt expand operator
271
259
 
272
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
273
260
  :type execution_context: int | str | None
274
261
  :type undo: bool | None
275
262
  :param target: Data Target, Data that is going to be modified in the expand operation
@@ -295,9 +282,9 @@ def expand(
295
282
  """
296
283
 
297
284
  def face_set_box_gesture(
298
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
299
285
  execution_context: int | str | None = None,
300
286
  undo: bool | None = None,
287
+ /,
301
288
  *,
302
289
  xmin: int | None = 0,
303
290
  xmax: int | None = 0,
@@ -308,7 +295,6 @@ def face_set_box_gesture(
308
295
  ):
309
296
  """Add a face set in a rectangle defined by the cursor
310
297
 
311
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
312
298
  :type execution_context: int | str | None
313
299
  :type undo: bool | None
314
300
  :param xmin: X Min
@@ -326,15 +312,14 @@ def face_set_box_gesture(
326
312
  """
327
313
 
328
314
  def face_set_change_visibility(
329
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
330
315
  execution_context: int | str | None = None,
331
316
  undo: bool | None = None,
317
+ /,
332
318
  *,
333
319
  mode: typing.Literal["TOGGLE", "SHOW_ACTIVE", "HIDE_ACTIVE"] | None = "TOGGLE",
334
320
  ):
335
321
  """Change the visibility of the Face Sets of the sculpt
336
322
 
337
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
338
323
  :type execution_context: int | str | None
339
324
  :type undo: bool | None
340
325
  :param mode: Mode
@@ -351,9 +336,9 @@ def face_set_change_visibility(
351
336
  """
352
337
 
353
338
  def face_set_edit(
354
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
355
339
  execution_context: int | str | None = None,
356
340
  undo: bool | None = None,
341
+ /,
357
342
  *,
358
343
  active_face_set: int | None = 1,
359
344
  mode: typing.Literal[
@@ -365,7 +350,6 @@ def face_set_edit(
365
350
  ):
366
351
  """Edits the current active Face Set
367
352
 
368
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
369
353
  :type execution_context: int | str | None
370
354
  :type undo: bool | None
371
355
  :param active_face_set: Active Face Set
@@ -394,9 +378,9 @@ def face_set_edit(
394
378
  """
395
379
 
396
380
  def face_set_lasso_gesture(
397
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
398
381
  execution_context: int | str | None = None,
399
382
  undo: bool | None = None,
383
+ /,
400
384
  *,
401
385
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
402
386
  use_smooth_stroke: bool | None = False,
@@ -406,7 +390,6 @@ def face_set_lasso_gesture(
406
390
  ):
407
391
  """Add a face set in a shape defined by the cursor
408
392
 
409
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
410
393
  :type execution_context: int | str | None
411
394
  :type undo: bool | None
412
395
  :param path: Path
@@ -422,9 +405,9 @@ def face_set_lasso_gesture(
422
405
  """
423
406
 
424
407
  def face_set_line_gesture(
425
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
426
408
  execution_context: int | str | None = None,
427
409
  undo: bool | None = None,
410
+ /,
428
411
  *,
429
412
  xstart: int | None = 0,
430
413
  xend: int | None = 0,
@@ -437,7 +420,6 @@ def face_set_line_gesture(
437
420
  ):
438
421
  """Add a face set to one side of a line defined by the cursor
439
422
 
440
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
441
423
  :type execution_context: int | str | None
442
424
  :type undo: bool | None
443
425
  :param xstart: X Start
@@ -459,16 +441,15 @@ def face_set_line_gesture(
459
441
  """
460
442
 
461
443
  def face_set_polyline_gesture(
462
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
463
444
  execution_context: int | str | None = None,
464
445
  undo: bool | None = None,
446
+ /,
465
447
  *,
466
448
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
467
449
  use_front_faces_only: bool | None = False,
468
450
  ):
469
451
  """Add a face set in a shape defined by the cursor
470
452
 
471
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
472
453
  :type execution_context: int | str | None
473
454
  :type undo: bool | None
474
455
  :param path: Path
@@ -478,15 +459,14 @@ def face_set_polyline_gesture(
478
459
  """
479
460
 
480
461
  def face_sets_create(
481
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
482
462
  execution_context: int | str | None = None,
483
463
  undo: bool | None = None,
464
+ /,
484
465
  *,
485
466
  mode: typing.Literal["MASKED", "VISIBLE", "ALL", "SELECTION"] | None = "MASKED",
486
467
  ):
487
468
  """Create a new Face Set
488
469
 
489
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
490
470
  :type execution_context: int | str | None
491
471
  :type undo: bool | None
492
472
  :param mode: Mode
@@ -506,9 +486,9 @@ def face_sets_create(
506
486
  """
507
487
 
508
488
  def face_sets_init(
509
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
510
489
  execution_context: int | str | None = None,
511
490
  undo: bool | None = None,
491
+ /,
512
492
  *,
513
493
  mode: typing.Literal[
514
494
  "LOOSE_PARTS",
@@ -525,7 +505,6 @@ def face_sets_init(
525
505
  ):
526
506
  """Initializes all Face Sets in the mesh
527
507
 
528
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
529
508
  :type execution_context: int | str | None
530
509
  :type undo: bool | None
531
510
  :param mode: Mode
@@ -559,21 +538,18 @@ def face_sets_init(
559
538
  """
560
539
 
561
540
  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,
541
+ execution_context: int | str | None = None, undo: bool | None = None
565
542
  ):
566
543
  """Generates a new set of random colors to render the Face Sets in the viewport
567
544
 
568
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
569
545
  :type execution_context: int | str | None
570
546
  :type undo: bool | None
571
547
  """
572
548
 
573
549
  def mask_by_color(
574
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
575
550
  execution_context: int | str | None = None,
576
551
  undo: bool | None = None,
552
+ /,
577
553
  *,
578
554
  contiguous: bool | None = False,
579
555
  invert: bool | None = False,
@@ -582,7 +558,6 @@ def mask_by_color(
582
558
  ):
583
559
  """Creates a mask based on the active color attribute
584
560
 
585
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
586
561
  :type execution_context: int | str | None
587
562
  :type undo: bool | None
588
563
  :param contiguous: Contiguous, Mask only contiguous color areas
@@ -596,9 +571,9 @@ def mask_by_color(
596
571
  """
597
572
 
598
573
  def mask_filter(
599
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
600
574
  execution_context: int | str | None = None,
601
575
  undo: bool | None = None,
576
+ /,
602
577
  *,
603
578
  filter_type: typing.Literal[
604
579
  "SMOOTH", "SHARPEN", "GROW", "SHRINK", "CONTRAST_INCREASE", "CONTRAST_DECREASE"
@@ -609,7 +584,6 @@ def mask_filter(
609
584
  ):
610
585
  """Applies a filter to modify the current mask
611
586
 
612
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
613
587
  :type execution_context: int | str | None
614
588
  :type undo: bool | None
615
589
  :param filter_type: Type, Filter that is going to be applied to the mask
@@ -621,9 +595,9 @@ def mask_filter(
621
595
  """
622
596
 
623
597
  def mask_from_boundary(
624
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
625
598
  execution_context: int | str | None = None,
626
599
  undo: bool | None = None,
600
+ /,
627
601
  *,
628
602
  mix_mode: typing.Literal["MIX", "MULTIPLY", "DIVIDE", "ADD", "SUBTRACT"]
629
603
  | None = "MIX",
@@ -634,7 +608,6 @@ def mask_from_boundary(
634
608
  ):
635
609
  """Creates a mask based on the boundaries of the surface
636
610
 
637
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
638
611
  :type execution_context: int | str | None
639
612
  :type undo: bool | None
640
613
  :param mix_mode: Mode, Mix mode
@@ -665,9 +638,9 @@ def mask_from_boundary(
665
638
  """
666
639
 
667
640
  def mask_from_cavity(
668
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
669
641
  execution_context: int | str | None = None,
670
642
  undo: bool | None = None,
643
+ /,
671
644
  *,
672
645
  mix_mode: typing.Literal["MIX", "MULTIPLY", "DIVIDE", "ADD", "SUBTRACT"]
673
646
  | None = "MIX",
@@ -680,7 +653,6 @@ def mask_from_cavity(
680
653
  ):
681
654
  """Creates a mask based on the curvature of the surface
682
655
 
683
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
684
656
  :type execution_context: int | str | None
685
657
  :type undo: bool | None
686
658
  :param mix_mode: Mode, Mix mode
@@ -709,9 +681,9 @@ def mask_from_cavity(
709
681
  """
710
682
 
711
683
  def mask_init(
712
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
713
684
  execution_context: int | str | None = None,
714
685
  undo: bool | None = None,
686
+ /,
715
687
  *,
716
688
  mode: typing.Literal[
717
689
  "RANDOM_PER_VERTEX", "RANDOM_PER_FACE_SET", "RANDOM_PER_LOOSE_PART"
@@ -720,7 +692,6 @@ def mask_init(
720
692
  ):
721
693
  """Creates a new mask for the entire mesh
722
694
 
723
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
724
695
  :type execution_context: int | str | None
725
696
  :type undo: bool | None
726
697
  :param mode: Mode
@@ -728,9 +699,9 @@ def mask_init(
728
699
  """
729
700
 
730
701
  def mesh_filter(
731
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
732
702
  execution_context: int | str | None = None,
733
703
  undo: bool | None = None,
704
+ /,
734
705
  *,
735
706
  start_mouse: collections.abc.Iterable[int] | None = (0, 0),
736
707
  area_normal_radius: float | None = 0.25,
@@ -762,7 +733,6 @@ def mesh_filter(
762
733
  ):
763
734
  """Applies a filter to modify the current mesh
764
735
 
765
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
766
736
  :type execution_context: int | str | None
767
737
  :type undo: bool | None
768
738
  :param start_mouse: Starting Mouse
@@ -843,22 +813,17 @@ def mesh_filter(
843
813
  :type sharpen_curvature_smooth_iterations: int | None
844
814
  """
845
815
 
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
- ):
816
+ def optimize(execution_context: int | str | None = None, undo: bool | None = None):
851
817
  """Recalculate the sculpt BVH to improve performance
852
818
 
853
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
854
819
  :type execution_context: int | str | None
855
820
  :type undo: bool | None
856
821
  """
857
822
 
858
823
  def project_line_gesture(
859
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
860
824
  execution_context: int | str | None = None,
861
825
  undo: bool | None = None,
826
+ /,
862
827
  *,
863
828
  xstart: int | None = 0,
864
829
  xend: int | None = 0,
@@ -871,7 +836,6 @@ def project_line_gesture(
871
836
  ):
872
837
  """Project the geometry onto a plane defined by a line
873
838
 
874
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
875
839
  :type execution_context: int | str | None
876
840
  :type undo: bool | None
877
841
  :param xstart: X Start
@@ -892,29 +856,23 @@ def project_line_gesture(
892
856
  :type use_limit_to_segment: bool | None
893
857
  """
894
858
 
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
- ):
859
+ def sample_color(execution_context: int | str | None = None, undo: bool | None = None):
900
860
  """Sample the vertex color of the active vertex
901
861
 
902
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
903
862
  :type execution_context: int | str | None
904
863
  :type undo: bool | None
905
864
  """
906
865
 
907
866
  def sample_detail_size(
908
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
909
867
  execution_context: int | str | None = None,
910
868
  undo: bool | None = None,
869
+ /,
911
870
  *,
912
871
  location: collections.abc.Iterable[int] | None = (0, 0),
913
872
  mode: typing.Literal["DYNTOPO", "VOXEL"] | None = "DYNTOPO",
914
873
  ):
915
874
  """Sample the mesh detail on clicked point
916
875
 
917
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
918
876
  :type execution_context: int | str | None
919
877
  :type undo: bool | None
920
878
  :param location: Location, Screen coordinates of sampling
@@ -930,33 +888,27 @@ def sample_detail_size(
930
888
  """
931
889
 
932
890
  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,
891
+ execution_context: int | str | None = None, undo: bool | None = None
936
892
  ):
937
893
  """Toggle sculpt mode in 3D view
938
894
 
939
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
940
895
  :type execution_context: int | str | None
941
896
  :type undo: bool | None
942
897
  """
943
898
 
944
899
  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,
900
+ execution_context: int | str | None = None, undo: bool | None = None
948
901
  ):
949
902
  """Reset the copy of the mesh that is being sculpted on
950
903
 
951
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
952
904
  :type execution_context: int | str | None
953
905
  :type undo: bool | None
954
906
  """
955
907
 
956
908
  def set_pivot_position(
957
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
958
909
  execution_context: int | str | None = None,
959
910
  undo: bool | None = None,
911
+ /,
960
912
  *,
961
913
  mode: typing.Literal["ORIGIN", "UNMASKED", "BORDER", "ACTIVE", "SURFACE"]
962
914
  | None = "UNMASKED",
@@ -965,7 +917,6 @@ def set_pivot_position(
965
917
  ):
966
918
  """Sets the sculpt transform pivot position
967
919
 
968
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
969
920
  :type execution_context: int | str | None
970
921
  :type undo: bool | None
971
922
  :param mode: Mode
@@ -992,15 +943,14 @@ def set_pivot_position(
992
943
  """
993
944
 
994
945
  def symmetrize(
995
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
996
946
  execution_context: int | str | None = None,
997
947
  undo: bool | None = None,
948
+ /,
998
949
  *,
999
950
  merge_tolerance: float | None = 0.0005,
1000
951
  ):
1001
952
  """Symmetrize the topology modifications
1002
953
 
1003
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1004
954
  :type execution_context: int | str | None
1005
955
  :type undo: bool | None
1006
956
  :param merge_tolerance: Merge Distance, Distance within which symmetrical vertices are merged
@@ -1008,9 +958,9 @@ def symmetrize(
1008
958
  """
1009
959
 
1010
960
  def trim_box_gesture(
1011
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1012
961
  execution_context: int | str | None = None,
1013
962
  undo: bool | None = None,
963
+ /,
1014
964
  *,
1015
965
  xmin: int | None = 0,
1016
966
  xmax: int | None = 0,
@@ -1027,7 +977,6 @@ def trim_box_gesture(
1027
977
  ):
1028
978
  """Execute a boolean operation on the mesh and a rectangle defined by the cursor
1029
979
 
1030
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1031
980
  :type execution_context: int | str | None
1032
981
  :type undo: bool | None
1033
982
  :param xmin: X Min
@@ -1084,9 +1033,9 @@ def trim_box_gesture(
1084
1033
  """
1085
1034
 
1086
1035
  def trim_lasso_gesture(
1087
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1088
1036
  execution_context: int | str | None = None,
1089
1037
  undo: bool | None = None,
1038
+ /,
1090
1039
  *,
1091
1040
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
1092
1041
  use_smooth_stroke: bool | None = False,
@@ -1102,7 +1051,6 @@ def trim_lasso_gesture(
1102
1051
  ):
1103
1052
  """Execute a boolean operation on the mesh and a shape defined by the cursor
1104
1053
 
1105
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1106
1054
  :type execution_context: int | str | None
1107
1055
  :type undo: bool | None
1108
1056
  :param path: Path
@@ -1157,9 +1105,9 @@ def trim_lasso_gesture(
1157
1105
  """
1158
1106
 
1159
1107
  def trim_line_gesture(
1160
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1161
1108
  execution_context: int | str | None = None,
1162
1109
  undo: bool | None = None,
1110
+ /,
1163
1111
  *,
1164
1112
  xstart: int | None = 0,
1165
1113
  xend: int | None = 0,
@@ -1178,7 +1126,6 @@ def trim_line_gesture(
1178
1126
  ):
1179
1127
  """Remove a portion of the mesh on one side of a line
1180
1128
 
1181
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1182
1129
  :type execution_context: int | str | None
1183
1130
  :type undo: bool | None
1184
1131
  :param xstart: X Start
@@ -1239,9 +1186,9 @@ def trim_line_gesture(
1239
1186
  """
1240
1187
 
1241
1188
  def trim_polyline_gesture(
1242
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1243
1189
  execution_context: int | str | None = None,
1244
1190
  undo: bool | None = None,
1191
+ /,
1245
1192
  *,
1246
1193
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
1247
1194
  use_front_faces_only: bool | None = False,
@@ -1254,7 +1201,6 @@ def trim_polyline_gesture(
1254
1201
  ):
1255
1202
  """Execute a boolean operation on the mesh and a polygonal shape defined by the cursor
1256
1203
 
1257
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1258
1204
  :type execution_context: int | str | None
1259
1205
  :type undo: bool | None
1260
1206
  :param path: Path
@@ -1303,15 +1249,14 @@ def trim_polyline_gesture(
1303
1249
  """
1304
1250
 
1305
1251
  def uv_sculpt_grab(
1306
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1307
1252
  execution_context: int | str | None = None,
1308
1253
  undo: bool | None = None,
1254
+ /,
1309
1255
  *,
1310
1256
  use_invert: bool | None = False,
1311
1257
  ):
1312
1258
  """Grab UVs
1313
1259
 
1314
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1315
1260
  :type execution_context: int | str | None
1316
1261
  :type undo: bool | None
1317
1262
  :param use_invert: Invert, Invert action for the duration of the stroke
@@ -1319,15 +1264,14 @@ def uv_sculpt_grab(
1319
1264
  """
1320
1265
 
1321
1266
  def uv_sculpt_pinch(
1322
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1323
1267
  execution_context: int | str | None = None,
1324
1268
  undo: bool | None = None,
1269
+ /,
1325
1270
  *,
1326
1271
  use_invert: bool | None = False,
1327
1272
  ):
1328
1273
  """Pinch UVs
1329
1274
 
1330
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1331
1275
  :type execution_context: int | str | None
1332
1276
  :type undo: bool | None
1333
1277
  :param use_invert: Invert, Invert action for the duration of the stroke
@@ -1335,16 +1279,15 @@ def uv_sculpt_pinch(
1335
1279
  """
1336
1280
 
1337
1281
  def uv_sculpt_relax(
1338
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1339
1282
  execution_context: int | str | None = None,
1340
1283
  undo: bool | None = None,
1284
+ /,
1341
1285
  *,
1342
1286
  use_invert: bool | None = False,
1343
1287
  relax_method: typing.Literal["LAPLACIAN", "HC", "COTAN"] | None = "COTAN",
1344
1288
  ):
1345
1289
  """Relax UVs
1346
1290
 
1347
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1348
1291
  :type execution_context: int | str | None
1349
1292
  :type undo: bool | None
1350
1293
  :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