fake-bpy-module 20240417__py3-none-any.whl → 20240418__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 (137) hide show
  1. _bpy_internal/__init__.pyi +4 -0
  2. _bpy_internal/freedesktop/__init__.pyi +88 -0
  3. _bpy_internal/freedesktop/py.typed +0 -0
  4. _bpy_internal/py.typed +0 -0
  5. aud/__init__.pyi +121 -48
  6. bgl/__init__.pyi +2443 -1265
  7. bl_math/__init__.pyi +19 -3
  8. blf/__init__.pyi +63 -13
  9. bmesh/__init__.pyi +13 -0
  10. bmesh/geometry/__init__.pyi +5 -0
  11. bmesh/ops/__init__.pyi +157 -68
  12. bmesh/types/__init__.pyi +109 -62
  13. bmesh/utils/__init__.pyi +11 -2
  14. bpy/__init__.pyi +7 -0
  15. bpy/app/__init__.pyi +13 -0
  16. bpy/app/handlers/__init__.pyi +41 -0
  17. bpy/app/icons/__init__.pyi +4 -2
  18. bpy/app/timers/__init__.pyi +38 -2
  19. bpy/app/translations/__init__.pyi +58 -0
  20. bpy/msgbus/__init__.pyi +46 -0
  21. bpy/ops/__init__.pyi +151 -0
  22. bpy/ops/action/__init__.pyi +76 -76
  23. bpy/ops/anim/__init__.pyi +104 -104
  24. bpy/ops/armature/__init__.pyi +96 -96
  25. bpy/ops/asset/__init__.pyi +32 -32
  26. bpy/ops/boid/__init__.pyi +16 -16
  27. bpy/ops/brush/__init__.pyi +18 -18
  28. bpy/ops/buttons/__init__.pyi +12 -12
  29. bpy/ops/cachefile/__init__.pyi +10 -10
  30. bpy/ops/camera/__init__.pyi +4 -4
  31. bpy/ops/clip/__init__.pyi +184 -184
  32. bpy/ops/cloth/__init__.pyi +2 -2
  33. bpy/ops/collection/__init__.pyi +18 -18
  34. bpy/ops/console/__init__.pyi +42 -42
  35. bpy/ops/constraint/__init__.pyi +36 -36
  36. bpy/ops/curve/__init__.pyi +102 -102
  37. bpy/ops/curves/__init__.pyi +54 -54
  38. bpy/ops/cycles/__init__.pyi +6 -6
  39. bpy/ops/dpaint/__init__.pyi +10 -10
  40. bpy/ops/ed/__init__.pyi +24 -24
  41. bpy/ops/export_anim/__init__.pyi +2 -2
  42. bpy/ops/export_mesh/__init__.pyi +2 -2
  43. bpy/ops/export_scene/__init__.pyi +7 -7
  44. bpy/ops/file/__init__.pyi +80 -80
  45. bpy/ops/fluid/__init__.pyi +28 -28
  46. bpy/ops/font/__init__.pyi +46 -46
  47. bpy/ops/geometry/__init__.pyi +20 -20
  48. bpy/ops/gizmogroup/__init__.pyi +4 -4
  49. bpy/ops/gpencil/__init__.pyi +300 -300
  50. bpy/ops/graph/__init__.pyi +130 -130
  51. bpy/ops/grease_pencil/__init__.pyi +112 -112
  52. bpy/ops/image/__init__.pyi +92 -92
  53. bpy/ops/import_anim/__init__.pyi +2 -2
  54. bpy/ops/import_curve/__init__.pyi +2 -2
  55. bpy/ops/import_mesh/__init__.pyi +2 -2
  56. bpy/ops/import_scene/__init__.pyi +6 -6
  57. bpy/ops/info/__init__.pyi +14 -14
  58. bpy/ops/lattice/__init__.pyi +16 -16
  59. bpy/ops/marker/__init__.pyi +22 -22
  60. bpy/ops/mask/__init__.pyi +78 -78
  61. bpy/ops/material/__init__.pyi +6 -6
  62. bpy/ops/mball/__init__.pyi +16 -16
  63. bpy/ops/mesh/__init__.pyi +326 -326
  64. bpy/ops/nla/__init__.pyi +79 -79
  65. bpy/ops/node/__init__.pyi +202 -202
  66. bpy/ops/object/__init__.pyi +488 -500
  67. bpy/ops/outliner/__init__.pyi +138 -138
  68. bpy/ops/paint/__init__.pyi +104 -104
  69. bpy/ops/paintcurve/__init__.pyi +16 -16
  70. bpy/ops/palette/__init__.pyi +14 -14
  71. bpy/ops/particle/__init__.pyi +72 -72
  72. bpy/ops/pose/__init__.pyi +78 -78
  73. bpy/ops/poselib/__init__.pyi +18 -18
  74. bpy/ops/preferences/__init__.pyi +76 -76
  75. bpy/ops/ptcache/__init__.pyi +14 -14
  76. bpy/ops/render/__init__.pyi +24 -24
  77. bpy/ops/rigidbody/__init__.pyi +26 -26
  78. bpy/ops/scene/__init__.pyi +78 -78
  79. bpy/ops/screen/__init__.pyi +78 -78
  80. bpy/ops/script/__init__.pyi +6 -6
  81. bpy/ops/sculpt/__init__.pyi +62 -62
  82. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  83. bpy/ops/sequencer/__init__.pyi +170 -170
  84. bpy/ops/sound/__init__.pyi +14 -14
  85. bpy/ops/spreadsheet/__init__.pyi +8 -8
  86. bpy/ops/surface/__init__.pyi +12 -12
  87. bpy/ops/text/__init__.pyi +86 -86
  88. bpy/ops/text_editor/__init__.pyi +2 -2
  89. bpy/ops/texture/__init__.pyi +8 -8
  90. bpy/ops/transform/__init__.pyi +54 -54
  91. bpy/ops/ui/__init__.pyi +64 -64
  92. bpy/ops/uilist/__init__.pyi +6 -6
  93. bpy/ops/uv/__init__.pyi +98 -98
  94. bpy/ops/view2d/__init__.pyi +28 -28
  95. bpy/ops/view3d/__init__.pyi +134 -134
  96. bpy/ops/wm/__init__.pyi +224 -224
  97. bpy/ops/workspace/__init__.pyi +14 -14
  98. bpy/ops/world/__init__.pyi +2 -2
  99. bpy/path/__init__.pyi +6 -0
  100. bpy/props/__init__.pyi +141 -29
  101. bpy/types/__init__.pyi +101490 -5018
  102. bpy/utils/__init__.pyi +18 -3
  103. bpy/utils/previews/__init__.pyi +15 -0
  104. bpy/utils/units/__init__.pyi +11 -3
  105. bpy_extras/__init__.pyi +19 -0
  106. bpy_extras/asset_utils/__init__.pyi +5 -0
  107. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240418.dist-info}/METADATA +1 -1
  108. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240418.dist-info}/RECORD +137 -133
  109. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240418.dist-info}/top_level.txt +1 -0
  110. freestyle/__init__.pyi +18 -0
  111. freestyle/chainingiterators/__init__.pyi +20 -5
  112. freestyle/functions/__init__.pyi +151 -155
  113. freestyle/predicates/__init__.pyi +53 -46
  114. freestyle/shaders/__init__.pyi +91 -32
  115. freestyle/types/__init__.pyi +362 -120
  116. freestyle/utils/ContextFunctions/__init__.pyi +32 -7
  117. freestyle/utils/__init__.pyi +13 -1
  118. gpu/__init__.pyi +225 -0
  119. gpu/capabilities/__init__.pyi +37 -15
  120. gpu/matrix/__init__.pyi +7 -1
  121. gpu/platform/__init__.pyi +5 -0
  122. gpu/select/__init__.pyi +5 -0
  123. gpu/shader/__init__.pyi +77 -0
  124. gpu/state/__init__.pyi +15 -4
  125. gpu/texture/__init__.pyi +5 -0
  126. gpu/types/__init__.pyi +91 -33
  127. gpu_extras/__init__.pyi +15 -0
  128. gpu_extras/presets/__init__.pyi +16 -4
  129. imbuf/__init__.pyi +13 -0
  130. imbuf/types/__init__.pyi +20 -5
  131. mathutils/__init__.pyi +349 -227
  132. mathutils/bvhtree/__init__.pyi +21 -8
  133. mathutils/geometry/__init__.pyi +23 -9
  134. mathutils/interpolate/__init__.pyi +5 -0
  135. mathutils/kdtree/__init__.pyi +19 -5
  136. mathutils/noise/__init__.pyi +87 -41
  137. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240418.dist-info}/WHEEL +0 -0
@@ -5,7 +5,7 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def brush_stroke(
7
7
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: str = None,
8
+ execution_context: typing.Union[str, int] = None,
9
9
  undo: bool = None,
10
10
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
11
11
  mode: typing.Any = "NORMAL",
@@ -14,7 +14,7 @@ def brush_stroke(
14
14
  """Sculpt a stroke into the geometry
15
15
 
16
16
  :type override_context: typing.Union[dict, bpy.types.Context]
17
- :type execution_context: str
17
+ :type execution_context: typing.Union[str, int]
18
18
  :type undo: bool
19
19
  :param stroke: Stroke
20
20
  :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
@@ -37,7 +37,7 @@ def brush_stroke(
37
37
 
38
38
  def cloth_filter(
39
39
  override_context: typing.Union[dict, bpy.types.Context] = None,
40
- execution_context: str = None,
40
+ execution_context: typing.Union[str, int] = None,
41
41
  undo: bool = None,
42
42
  start_mouse: typing.Any = (0, 0),
43
43
  area_normal_radius: typing.Any = 0.25,
@@ -47,7 +47,7 @@ def cloth_filter(
47
47
  bpy.types.OperatorStrokeElement
48
48
  ] = None,
49
49
  type: typing.Any = "GRAVITY",
50
- force_axis: typing.Any = {'"Z"', '"Y"', '"X"'},
50
+ force_axis: typing.Any = {'"Z"', '"X"', '"Y"'},
51
51
  orientation: typing.Any = "LOCAL",
52
52
  cloth_mass: typing.Any = 1.0,
53
53
  cloth_damping: typing.Any = 0.0,
@@ -57,7 +57,7 @@ def cloth_filter(
57
57
  """Applies a cloth simulation deformation to the entire mesh
58
58
 
59
59
  :type override_context: typing.Union[dict, bpy.types.Context]
60
- :type execution_context: str
60
+ :type execution_context: typing.Union[str, int]
61
61
  :type undo: bool
62
62
  :param start_mouse: Starting Mouse
63
63
  :type start_mouse: typing.Any
@@ -121,7 +121,7 @@ def cloth_filter(
121
121
 
122
122
  def color_filter(
123
123
  override_context: typing.Union[dict, bpy.types.Context] = None,
124
- execution_context: str = None,
124
+ execution_context: typing.Union[str, int] = None,
125
125
  undo: bool = None,
126
126
  start_mouse: typing.Any = (0, 0),
127
127
  area_normal_radius: typing.Any = 0.25,
@@ -136,7 +136,7 @@ def color_filter(
136
136
  """Applies a filter to modify the active color attribute
137
137
 
138
138
  :type override_context: typing.Union[dict, bpy.types.Context]
139
- :type execution_context: str
139
+ :type execution_context: typing.Union[str, int]
140
140
  :type undo: bool
141
141
  :param start_mouse: Starting Mouse
142
142
  :type start_mouse: typing.Any
@@ -187,13 +187,13 @@ def color_filter(
187
187
 
188
188
  def detail_flood_fill(
189
189
  override_context: typing.Union[dict, bpy.types.Context] = None,
190
- execution_context: str = None,
190
+ execution_context: typing.Union[str, int] = None,
191
191
  undo: bool = None,
192
192
  ):
193
193
  """Flood fill the mesh with the selected detail setting
194
194
 
195
195
  :type override_context: typing.Union[dict, bpy.types.Context]
196
- :type execution_context: str
196
+ :type execution_context: typing.Union[str, int]
197
197
  :type undo: bool
198
198
  """
199
199
 
@@ -201,13 +201,13 @@ def detail_flood_fill(
201
201
 
202
202
  def dynamic_topology_toggle(
203
203
  override_context: typing.Union[dict, bpy.types.Context] = None,
204
- execution_context: str = None,
204
+ execution_context: typing.Union[str, int] = None,
205
205
  undo: bool = None,
206
206
  ):
207
207
  """Dynamic topology alters the mesh topology while sculpting
208
208
 
209
209
  :type override_context: typing.Union[dict, bpy.types.Context]
210
- :type execution_context: str
210
+ :type execution_context: typing.Union[str, int]
211
211
  :type undo: bool
212
212
  """
213
213
 
@@ -215,13 +215,13 @@ def dynamic_topology_toggle(
215
215
 
216
216
  def dyntopo_detail_size_edit(
217
217
  override_context: typing.Union[dict, bpy.types.Context] = None,
218
- execution_context: str = None,
218
+ execution_context: typing.Union[str, int] = None,
219
219
  undo: bool = None,
220
220
  ):
221
221
  """Modify the detail size of dyntopo interactively
222
222
 
223
223
  :type override_context: typing.Union[dict, bpy.types.Context]
224
- :type execution_context: str
224
+ :type execution_context: typing.Union[str, int]
225
225
  :type undo: bool
226
226
  """
227
227
 
@@ -229,7 +229,7 @@ def dyntopo_detail_size_edit(
229
229
 
230
230
  def expand(
231
231
  override_context: typing.Union[dict, bpy.types.Context] = None,
232
- execution_context: str = None,
232
+ execution_context: typing.Union[str, int] = None,
233
233
  undo: bool = None,
234
234
  target: typing.Any = "MASK",
235
235
  falloff_type: typing.Any = "GEODESIC",
@@ -245,7 +245,7 @@ def expand(
245
245
  """Generic sculpt expand operator
246
246
 
247
247
  :type override_context: typing.Union[dict, bpy.types.Context]
248
- :type execution_context: str
248
+ :type execution_context: typing.Union[str, int]
249
249
  :type undo: bool
250
250
  :param target: Data Target, Data that is going to be modified in the expand operation
251
251
  :type target: typing.Any
@@ -273,7 +273,7 @@ def expand(
273
273
 
274
274
  def face_set_box_gesture(
275
275
  override_context: typing.Union[dict, bpy.types.Context] = None,
276
- execution_context: str = None,
276
+ execution_context: typing.Union[str, int] = None,
277
277
  undo: bool = None,
278
278
  xmin: typing.Any = 0,
279
279
  xmax: typing.Any = 0,
@@ -285,7 +285,7 @@ def face_set_box_gesture(
285
285
  """Add face set within the box as you move the brush
286
286
 
287
287
  :type override_context: typing.Union[dict, bpy.types.Context]
288
- :type execution_context: str
288
+ :type execution_context: typing.Union[str, int]
289
289
  :type undo: bool
290
290
  :param xmin: X Min
291
291
  :type xmin: typing.Any
@@ -305,14 +305,14 @@ def face_set_box_gesture(
305
305
 
306
306
  def face_set_change_visibility(
307
307
  override_context: typing.Union[dict, bpy.types.Context] = None,
308
- execution_context: str = None,
308
+ execution_context: typing.Union[str, int] = None,
309
309
  undo: bool = None,
310
310
  mode: typing.Any = "TOGGLE",
311
311
  ):
312
312
  """Change the visibility of the Face Sets of the sculpt
313
313
 
314
314
  :type override_context: typing.Union[dict, bpy.types.Context]
315
- :type execution_context: str
315
+ :type execution_context: typing.Union[str, int]
316
316
  :type undo: bool
317
317
  :param mode: Mode
318
318
 
@@ -331,7 +331,7 @@ def face_set_change_visibility(
331
331
 
332
332
  def face_set_edit(
333
333
  override_context: typing.Union[dict, bpy.types.Context] = None,
334
- execution_context: str = None,
334
+ execution_context: typing.Union[str, int] = None,
335
335
  undo: bool = None,
336
336
  active_face_set: typing.Any = 1,
337
337
  mode: typing.Any = "GROW",
@@ -341,7 +341,7 @@ def face_set_edit(
341
341
  """Edits the current active Face Set
342
342
 
343
343
  :type override_context: typing.Union[dict, bpy.types.Context]
344
- :type execution_context: str
344
+ :type execution_context: typing.Union[str, int]
345
345
  :type undo: bool
346
346
  :param active_face_set: Active Face Set
347
347
  :type active_face_set: typing.Any
@@ -372,7 +372,7 @@ def face_set_edit(
372
372
 
373
373
  def face_set_lasso_gesture(
374
374
  override_context: typing.Union[dict, bpy.types.Context] = None,
375
- execution_context: str = None,
375
+ execution_context: typing.Union[str, int] = None,
376
376
  undo: bool = None,
377
377
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
378
378
  use_front_faces_only: typing.Union[bool, typing.Any] = False,
@@ -380,7 +380,7 @@ def face_set_lasso_gesture(
380
380
  """Add face set within the lasso as you move the brush
381
381
 
382
382
  :type override_context: typing.Union[dict, bpy.types.Context]
383
- :type execution_context: str
383
+ :type execution_context: typing.Union[str, int]
384
384
  :type undo: bool
385
385
  :param path: Path
386
386
  :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
@@ -392,14 +392,14 @@ def face_set_lasso_gesture(
392
392
 
393
393
  def face_sets_create(
394
394
  override_context: typing.Union[dict, bpy.types.Context] = None,
395
- execution_context: str = None,
395
+ execution_context: typing.Union[str, int] = None,
396
396
  undo: bool = None,
397
397
  mode: typing.Any = "MASKED",
398
398
  ):
399
399
  """Create a new Face Set
400
400
 
401
401
  :type override_context: typing.Union[dict, bpy.types.Context]
402
- :type execution_context: str
402
+ :type execution_context: typing.Union[str, int]
403
403
  :type undo: bool
404
404
  :param mode: Mode
405
405
 
@@ -421,7 +421,7 @@ def face_sets_create(
421
421
 
422
422
  def face_sets_init(
423
423
  override_context: typing.Union[dict, bpy.types.Context] = None,
424
- execution_context: str = None,
424
+ execution_context: typing.Union[str, int] = None,
425
425
  undo: bool = None,
426
426
  mode: typing.Any = "LOOSE_PARTS",
427
427
  threshold: typing.Any = 0.5,
@@ -429,7 +429,7 @@ def face_sets_init(
429
429
  """Initializes all Face Sets in the mesh
430
430
 
431
431
  :type override_context: typing.Union[dict, bpy.types.Context]
432
- :type execution_context: str
432
+ :type execution_context: typing.Union[str, int]
433
433
  :type undo: bool
434
434
  :param mode: Mode
435
435
 
@@ -465,13 +465,13 @@ def face_sets_init(
465
465
 
466
466
  def face_sets_randomize_colors(
467
467
  override_context: typing.Union[dict, bpy.types.Context] = None,
468
- execution_context: str = None,
468
+ execution_context: typing.Union[str, int] = None,
469
469
  undo: bool = None,
470
470
  ):
471
471
  """Generates a new set of random colors to render the Face Sets in the viewport
472
472
 
473
473
  :type override_context: typing.Union[dict, bpy.types.Context]
474
- :type execution_context: str
474
+ :type execution_context: typing.Union[str, int]
475
475
  :type undo: bool
476
476
  """
477
477
 
@@ -479,7 +479,7 @@ def face_sets_randomize_colors(
479
479
 
480
480
  def mask_by_color(
481
481
  override_context: typing.Union[dict, bpy.types.Context] = None,
482
- execution_context: str = None,
482
+ execution_context: typing.Union[str, int] = None,
483
483
  undo: bool = None,
484
484
  contiguous: typing.Union[bool, typing.Any] = False,
485
485
  invert: typing.Union[bool, typing.Any] = False,
@@ -489,7 +489,7 @@ def mask_by_color(
489
489
  """Creates a mask based on the active color attribute
490
490
 
491
491
  :type override_context: typing.Union[dict, bpy.types.Context]
492
- :type execution_context: str
492
+ :type execution_context: typing.Union[str, int]
493
493
  :type undo: bool
494
494
  :param contiguous: Contiguous, Mask only contiguous color areas
495
495
  :type contiguous: typing.Union[bool, typing.Any]
@@ -505,7 +505,7 @@ def mask_by_color(
505
505
 
506
506
  def mask_filter(
507
507
  override_context: typing.Union[dict, bpy.types.Context] = None,
508
- execution_context: str = None,
508
+ execution_context: typing.Union[str, int] = None,
509
509
  undo: bool = None,
510
510
  filter_type: typing.Any = "SMOOTH",
511
511
  iterations: typing.Any = 1,
@@ -514,7 +514,7 @@ def mask_filter(
514
514
  """Applies a filter to modify the current mask
515
515
 
516
516
  :type override_context: typing.Union[dict, bpy.types.Context]
517
- :type execution_context: str
517
+ :type execution_context: typing.Union[str, int]
518
518
  :type undo: bool
519
519
  :param filter_type: Type, Filter that is going to be applied to the mask
520
520
  :type filter_type: typing.Any
@@ -528,7 +528,7 @@ def mask_filter(
528
528
 
529
529
  def mask_from_cavity(
530
530
  override_context: typing.Union[dict, bpy.types.Context] = None,
531
- execution_context: str = None,
531
+ execution_context: typing.Union[str, int] = None,
532
532
  undo: bool = None,
533
533
  mix_mode: typing.Any = "MIX",
534
534
  mix_factor: typing.Any = 1.0,
@@ -541,7 +541,7 @@ def mask_from_cavity(
541
541
  """Creates a mask based on the curvature of the surface
542
542
 
543
543
  :type override_context: typing.Union[dict, bpy.types.Context]
544
- :type execution_context: str
544
+ :type execution_context: typing.Union[str, int]
545
545
  :type undo: bool
546
546
  :param mix_mode: Mode, Mix mode
547
547
  :type mix_mode: typing.Any
@@ -572,14 +572,14 @@ def mask_from_cavity(
572
572
 
573
573
  def mask_init(
574
574
  override_context: typing.Union[dict, bpy.types.Context] = None,
575
- execution_context: str = None,
575
+ execution_context: typing.Union[str, int] = None,
576
576
  undo: bool = None,
577
577
  mode: typing.Any = "RANDOM_PER_VERTEX",
578
578
  ):
579
579
  """Creates a new mask for the entire mesh
580
580
 
581
581
  :type override_context: typing.Union[dict, bpy.types.Context]
582
- :type execution_context: str
582
+ :type execution_context: typing.Union[str, int]
583
583
  :type undo: bool
584
584
  :param mode: Mode
585
585
  :type mode: typing.Any
@@ -589,7 +589,7 @@ def mask_init(
589
589
 
590
590
  def mesh_filter(
591
591
  override_context: typing.Union[dict, bpy.types.Context] = None,
592
- execution_context: str = None,
592
+ execution_context: typing.Union[str, int] = None,
593
593
  undo: bool = None,
594
594
  start_mouse: typing.Any = (0, 0),
595
595
  area_normal_radius: typing.Any = 0.25,
@@ -599,7 +599,7 @@ def mesh_filter(
599
599
  bpy.types.OperatorStrokeElement
600
600
  ] = None,
601
601
  type: typing.Any = "INFLATE",
602
- deform_axis: typing.Any = {'"Z"', '"Y"', '"X"'},
602
+ deform_axis: typing.Any = {'"Z"', '"X"', '"Y"'},
603
603
  orientation: typing.Any = "LOCAL",
604
604
  surface_smooth_shape_preservation: typing.Any = 0.5,
605
605
  surface_smooth_current_vertex: typing.Any = 0.5,
@@ -610,7 +610,7 @@ def mesh_filter(
610
610
  """Applies a filter to modify the current mesh
611
611
 
612
612
  :type override_context: typing.Union[dict, bpy.types.Context]
613
- :type execution_context: str
613
+ :type execution_context: typing.Union[str, int]
614
614
  :type undo: bool
615
615
  :param start_mouse: Starting Mouse
616
616
  :type start_mouse: typing.Any
@@ -694,13 +694,13 @@ def mesh_filter(
694
694
 
695
695
  def optimize(
696
696
  override_context: typing.Union[dict, bpy.types.Context] = None,
697
- execution_context: str = None,
697
+ execution_context: typing.Union[str, int] = None,
698
698
  undo: bool = None,
699
699
  ):
700
700
  """Recalculate the sculpt BVH to improve performance
701
701
 
702
702
  :type override_context: typing.Union[dict, bpy.types.Context]
703
- :type execution_context: str
703
+ :type execution_context: typing.Union[str, int]
704
704
  :type undo: bool
705
705
  """
706
706
 
@@ -708,7 +708,7 @@ def optimize(
708
708
 
709
709
  def project_line_gesture(
710
710
  override_context: typing.Union[dict, bpy.types.Context] = None,
711
- execution_context: str = None,
711
+ execution_context: typing.Union[str, int] = None,
712
712
  undo: bool = None,
713
713
  xstart: typing.Any = 0,
714
714
  xend: typing.Any = 0,
@@ -722,7 +722,7 @@ def project_line_gesture(
722
722
  """Project the geometry onto a plane defined by a line
723
723
 
724
724
  :type override_context: typing.Union[dict, bpy.types.Context]
725
- :type execution_context: str
725
+ :type execution_context: typing.Union[str, int]
726
726
  :type undo: bool
727
727
  :param xstart: X Start
728
728
  :type xstart: typing.Any
@@ -746,13 +746,13 @@ def project_line_gesture(
746
746
 
747
747
  def sample_color(
748
748
  override_context: typing.Union[dict, bpy.types.Context] = None,
749
- execution_context: str = None,
749
+ execution_context: typing.Union[str, int] = None,
750
750
  undo: bool = None,
751
751
  ):
752
752
  """Sample the vertex color of the active vertex
753
753
 
754
754
  :type override_context: typing.Union[dict, bpy.types.Context]
755
- :type execution_context: str
755
+ :type execution_context: typing.Union[str, int]
756
756
  :type undo: bool
757
757
  """
758
758
 
@@ -760,7 +760,7 @@ def sample_color(
760
760
 
761
761
  def sample_detail_size(
762
762
  override_context: typing.Union[dict, bpy.types.Context] = None,
763
- execution_context: str = None,
763
+ execution_context: typing.Union[str, int] = None,
764
764
  undo: bool = None,
765
765
  location: typing.Any = (0, 0),
766
766
  mode: typing.Any = "DYNTOPO",
@@ -768,7 +768,7 @@ def sample_detail_size(
768
768
  """Sample the mesh detail on clicked point
769
769
 
770
770
  :type override_context: typing.Union[dict, bpy.types.Context]
771
- :type execution_context: str
771
+ :type execution_context: typing.Union[str, int]
772
772
  :type undo: bool
773
773
  :param location: Location, Screen coordinates of sampling
774
774
  :type location: typing.Any
@@ -786,13 +786,13 @@ def sample_detail_size(
786
786
 
787
787
  def sculptmode_toggle(
788
788
  override_context: typing.Union[dict, bpy.types.Context] = None,
789
- execution_context: str = None,
789
+ execution_context: typing.Union[str, int] = None,
790
790
  undo: bool = None,
791
791
  ):
792
792
  """Toggle sculpt mode in 3D view
793
793
 
794
794
  :type override_context: typing.Union[dict, bpy.types.Context]
795
- :type execution_context: str
795
+ :type execution_context: typing.Union[str, int]
796
796
  :type undo: bool
797
797
  """
798
798
 
@@ -800,13 +800,13 @@ def sculptmode_toggle(
800
800
 
801
801
  def set_persistent_base(
802
802
  override_context: typing.Union[dict, bpy.types.Context] = None,
803
- execution_context: str = None,
803
+ execution_context: typing.Union[str, int] = None,
804
804
  undo: bool = None,
805
805
  ):
806
806
  """Reset the copy of the mesh that is being sculpted on
807
807
 
808
808
  :type override_context: typing.Union[dict, bpy.types.Context]
809
- :type execution_context: str
809
+ :type execution_context: typing.Union[str, int]
810
810
  :type undo: bool
811
811
  """
812
812
 
@@ -814,7 +814,7 @@ def set_persistent_base(
814
814
 
815
815
  def set_pivot_position(
816
816
  override_context: typing.Union[dict, bpy.types.Context] = None,
817
- execution_context: str = None,
817
+ execution_context: typing.Union[str, int] = None,
818
818
  undo: bool = None,
819
819
  mode: typing.Any = "UNMASKED",
820
820
  mouse_x: typing.Any = 0.0,
@@ -823,7 +823,7 @@ def set_pivot_position(
823
823
  """Sets the sculpt transform pivot position
824
824
 
825
825
  :type override_context: typing.Union[dict, bpy.types.Context]
826
- :type execution_context: str
826
+ :type execution_context: typing.Union[str, int]
827
827
  :type undo: bool
828
828
  :param mode: Mode
829
829
 
@@ -852,14 +852,14 @@ def set_pivot_position(
852
852
 
853
853
  def symmetrize(
854
854
  override_context: typing.Union[dict, bpy.types.Context] = None,
855
- execution_context: str = None,
855
+ execution_context: typing.Union[str, int] = None,
856
856
  undo: bool = None,
857
857
  merge_tolerance: typing.Any = 0.0005,
858
858
  ):
859
859
  """Symmetrize the topology modifications
860
860
 
861
861
  :type override_context: typing.Union[dict, bpy.types.Context]
862
- :type execution_context: str
862
+ :type execution_context: typing.Union[str, int]
863
863
  :type undo: bool
864
864
  :param merge_tolerance: Merge Distance, Distance within which symmetrical vertices are merged
865
865
  :type merge_tolerance: typing.Any
@@ -869,7 +869,7 @@ def symmetrize(
869
869
 
870
870
  def trim_box_gesture(
871
871
  override_context: typing.Union[dict, bpy.types.Context] = None,
872
- execution_context: str = None,
872
+ execution_context: typing.Union[str, int] = None,
873
873
  undo: bool = None,
874
874
  xmin: typing.Any = 0,
875
875
  xmax: typing.Any = 0,
@@ -887,7 +887,7 @@ def trim_box_gesture(
887
887
  """Trims the mesh within the box as you move the brush
888
888
 
889
889
  :type override_context: typing.Union[dict, bpy.types.Context]
890
- :type execution_context: str
890
+ :type execution_context: typing.Union[str, int]
891
891
  :type undo: bool
892
892
  :param xmin: X Min
893
893
  :type xmin: typing.Any
@@ -946,7 +946,7 @@ def trim_box_gesture(
946
946
 
947
947
  def trim_lasso_gesture(
948
948
  override_context: typing.Union[dict, bpy.types.Context] = None,
949
- execution_context: str = None,
949
+ execution_context: typing.Union[str, int] = None,
950
950
  undo: bool = None,
951
951
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
952
952
  use_front_faces_only: typing.Union[bool, typing.Any] = False,
@@ -960,7 +960,7 @@ def trim_lasso_gesture(
960
960
  """Trims the mesh within the lasso as you move the brush
961
961
 
962
962
  :type override_context: typing.Union[dict, bpy.types.Context]
963
- :type execution_context: str
963
+ :type execution_context: typing.Union[str, int]
964
964
  :type undo: bool
965
965
  :param path: Path
966
966
  :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
@@ -1011,14 +1011,14 @@ def trim_lasso_gesture(
1011
1011
 
1012
1012
  def uv_sculpt_stroke(
1013
1013
  override_context: typing.Union[dict, bpy.types.Context] = None,
1014
- execution_context: str = None,
1014
+ execution_context: typing.Union[str, int] = None,
1015
1015
  undo: bool = None,
1016
1016
  mode: typing.Any = "NORMAL",
1017
1017
  ):
1018
1018
  """Sculpt UVs using a brush
1019
1019
 
1020
1020
  :type override_context: typing.Union[dict, bpy.types.Context]
1021
- :type execution_context: str
1021
+ :type execution_context: typing.Union[str, int]
1022
1022
  :type undo: bool
1023
1023
  :param mode: Mode, Stroke Mode
1024
1024
 
@@ -5,7 +5,7 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def brush_stroke(
7
7
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: str = None,
8
+ execution_context: typing.Union[str, int] = None,
9
9
  undo: bool = None,
10
10
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
11
11
  mode: typing.Any = "NORMAL",
@@ -13,7 +13,7 @@ def brush_stroke(
13
13
  """Sculpt curves using a brush
14
14
 
15
15
  :type override_context: typing.Union[dict, bpy.types.Context]
16
- :type execution_context: str
16
+ :type execution_context: typing.Union[str, int]
17
17
  :type undo: bool
18
18
  :param stroke: Stroke
19
19
  :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
@@ -34,13 +34,13 @@ def brush_stroke(
34
34
 
35
35
  def min_distance_edit(
36
36
  override_context: typing.Union[dict, bpy.types.Context] = None,
37
- execution_context: str = None,
37
+ execution_context: typing.Union[str, int] = None,
38
38
  undo: bool = None,
39
39
  ):
40
40
  """Change the minimum distance used by the density brush
41
41
 
42
42
  :type override_context: typing.Union[dict, bpy.types.Context]
43
- :type execution_context: str
43
+ :type execution_context: typing.Union[str, int]
44
44
  :type undo: bool
45
45
  """
46
46
 
@@ -48,14 +48,14 @@ def min_distance_edit(
48
48
 
49
49
  def select_grow(
50
50
  override_context: typing.Union[dict, bpy.types.Context] = None,
51
- execution_context: str = None,
51
+ execution_context: typing.Union[str, int] = None,
52
52
  undo: bool = None,
53
53
  distance: typing.Any = 0.1,
54
54
  ):
55
55
  """Select curves which are close to curves that are selected already
56
56
 
57
57
  :type override_context: typing.Union[dict, bpy.types.Context]
58
- :type execution_context: str
58
+ :type execution_context: typing.Union[str, int]
59
59
  :type undo: bool
60
60
  :param distance: Distance, By how much to grow the selection
61
61
  :type distance: typing.Any
@@ -65,7 +65,7 @@ def select_grow(
65
65
 
66
66
  def select_random(
67
67
  override_context: typing.Union[dict, bpy.types.Context] = None,
68
- execution_context: str = None,
68
+ execution_context: typing.Union[str, int] = None,
69
69
  undo: bool = None,
70
70
  seed: typing.Any = 0,
71
71
  partial: typing.Union[bool, typing.Any] = False,
@@ -76,7 +76,7 @@ def select_random(
76
76
  """Randomizes existing selection or create new random selection
77
77
 
78
78
  :type override_context: typing.Union[dict, bpy.types.Context]
79
- :type execution_context: str
79
+ :type execution_context: typing.Union[str, int]
80
80
  :type undo: bool
81
81
  :param seed: Seed, Source of randomness
82
82
  :type seed: typing.Any