fake-bpy-module 20240417__py3-none-any.whl → 20240419__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 (139) 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. bl_operators/geometry_nodes/__init__.pyi +13 -0
  9. bl_ui/properties_data_light/__init__.pyi +337 -0
  10. blf/__init__.pyi +63 -13
  11. bmesh/__init__.pyi +13 -0
  12. bmesh/geometry/__init__.pyi +5 -0
  13. bmesh/ops/__init__.pyi +157 -68
  14. bmesh/types/__init__.pyi +109 -62
  15. bmesh/utils/__init__.pyi +11 -2
  16. bpy/__init__.pyi +7 -0
  17. bpy/app/__init__.pyi +13 -0
  18. bpy/app/handlers/__init__.pyi +41 -0
  19. bpy/app/icons/__init__.pyi +4 -2
  20. bpy/app/timers/__init__.pyi +38 -2
  21. bpy/app/translations/__init__.pyi +58 -0
  22. bpy/msgbus/__init__.pyi +46 -0
  23. bpy/ops/__init__.pyi +151 -0
  24. bpy/ops/action/__init__.pyi +76 -76
  25. bpy/ops/anim/__init__.pyi +104 -104
  26. bpy/ops/armature/__init__.pyi +96 -96
  27. bpy/ops/asset/__init__.pyi +32 -32
  28. bpy/ops/boid/__init__.pyi +16 -16
  29. bpy/ops/brush/__init__.pyi +18 -18
  30. bpy/ops/buttons/__init__.pyi +12 -12
  31. bpy/ops/cachefile/__init__.pyi +10 -10
  32. bpy/ops/camera/__init__.pyi +4 -4
  33. bpy/ops/clip/__init__.pyi +184 -184
  34. bpy/ops/cloth/__init__.pyi +2 -2
  35. bpy/ops/collection/__init__.pyi +18 -18
  36. bpy/ops/console/__init__.pyi +42 -42
  37. bpy/ops/constraint/__init__.pyi +36 -36
  38. bpy/ops/curve/__init__.pyi +102 -102
  39. bpy/ops/curves/__init__.pyi +54 -54
  40. bpy/ops/cycles/__init__.pyi +6 -6
  41. bpy/ops/dpaint/__init__.pyi +10 -10
  42. bpy/ops/ed/__init__.pyi +24 -24
  43. bpy/ops/export_anim/__init__.pyi +2 -2
  44. bpy/ops/export_mesh/__init__.pyi +2 -2
  45. bpy/ops/export_scene/__init__.pyi +7 -7
  46. bpy/ops/file/__init__.pyi +80 -80
  47. bpy/ops/fluid/__init__.pyi +28 -28
  48. bpy/ops/font/__init__.pyi +46 -46
  49. bpy/ops/geometry/__init__.pyi +20 -20
  50. bpy/ops/gizmogroup/__init__.pyi +4 -4
  51. bpy/ops/gpencil/__init__.pyi +300 -300
  52. bpy/ops/graph/__init__.pyi +130 -130
  53. bpy/ops/grease_pencil/__init__.pyi +112 -112
  54. bpy/ops/image/__init__.pyi +92 -92
  55. bpy/ops/import_anim/__init__.pyi +2 -2
  56. bpy/ops/import_curve/__init__.pyi +2 -2
  57. bpy/ops/import_mesh/__init__.pyi +2 -2
  58. bpy/ops/import_scene/__init__.pyi +6 -6
  59. bpy/ops/info/__init__.pyi +14 -14
  60. bpy/ops/lattice/__init__.pyi +16 -16
  61. bpy/ops/marker/__init__.pyi +22 -22
  62. bpy/ops/mask/__init__.pyi +78 -78
  63. bpy/ops/material/__init__.pyi +6 -6
  64. bpy/ops/mball/__init__.pyi +16 -16
  65. bpy/ops/mesh/__init__.pyi +326 -326
  66. bpy/ops/nla/__init__.pyi +80 -80
  67. bpy/ops/node/__init__.pyi +202 -202
  68. bpy/ops/object/__init__.pyi +509 -500
  69. bpy/ops/outliner/__init__.pyi +138 -138
  70. bpy/ops/paint/__init__.pyi +104 -104
  71. bpy/ops/paintcurve/__init__.pyi +16 -16
  72. bpy/ops/palette/__init__.pyi +14 -14
  73. bpy/ops/particle/__init__.pyi +72 -72
  74. bpy/ops/pose/__init__.pyi +78 -78
  75. bpy/ops/poselib/__init__.pyi +18 -18
  76. bpy/ops/preferences/__init__.pyi +76 -76
  77. bpy/ops/ptcache/__init__.pyi +14 -14
  78. bpy/ops/render/__init__.pyi +24 -24
  79. bpy/ops/rigidbody/__init__.pyi +26 -26
  80. bpy/ops/scene/__init__.pyi +78 -78
  81. bpy/ops/screen/__init__.pyi +78 -78
  82. bpy/ops/script/__init__.pyi +6 -6
  83. bpy/ops/sculpt/__init__.pyi +62 -62
  84. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  85. bpy/ops/sequencer/__init__.pyi +170 -170
  86. bpy/ops/sound/__init__.pyi +14 -14
  87. bpy/ops/spreadsheet/__init__.pyi +8 -8
  88. bpy/ops/surface/__init__.pyi +12 -12
  89. bpy/ops/text/__init__.pyi +86 -86
  90. bpy/ops/text_editor/__init__.pyi +2 -2
  91. bpy/ops/texture/__init__.pyi +8 -8
  92. bpy/ops/transform/__init__.pyi +54 -54
  93. bpy/ops/ui/__init__.pyi +64 -64
  94. bpy/ops/uilist/__init__.pyi +6 -6
  95. bpy/ops/uv/__init__.pyi +98 -98
  96. bpy/ops/view2d/__init__.pyi +28 -28
  97. bpy/ops/view3d/__init__.pyi +134 -134
  98. bpy/ops/wm/__init__.pyi +224 -224
  99. bpy/ops/workspace/__init__.pyi +14 -14
  100. bpy/ops/world/__init__.pyi +2 -2
  101. bpy/path/__init__.pyi +6 -0
  102. bpy/props/__init__.pyi +141 -29
  103. bpy/types/__init__.pyi +101517 -5027
  104. bpy/utils/__init__.pyi +18 -3
  105. bpy/utils/previews/__init__.pyi +15 -0
  106. bpy/utils/units/__init__.pyi +11 -3
  107. bpy_extras/__init__.pyi +19 -0
  108. bpy_extras/asset_utils/__init__.pyi +5 -0
  109. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/METADATA +1 -1
  110. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/RECORD +139 -135
  111. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/top_level.txt +1 -0
  112. freestyle/__init__.pyi +18 -0
  113. freestyle/chainingiterators/__init__.pyi +20 -5
  114. freestyle/functions/__init__.pyi +151 -155
  115. freestyle/predicates/__init__.pyi +53 -46
  116. freestyle/shaders/__init__.pyi +91 -32
  117. freestyle/types/__init__.pyi +362 -120
  118. freestyle/utils/ContextFunctions/__init__.pyi +32 -7
  119. freestyle/utils/__init__.pyi +13 -1
  120. gpu/__init__.pyi +225 -0
  121. gpu/capabilities/__init__.pyi +37 -15
  122. gpu/matrix/__init__.pyi +7 -1
  123. gpu/platform/__init__.pyi +5 -0
  124. gpu/select/__init__.pyi +5 -0
  125. gpu/shader/__init__.pyi +77 -0
  126. gpu/state/__init__.pyi +15 -4
  127. gpu/texture/__init__.pyi +5 -0
  128. gpu/types/__init__.pyi +91 -33
  129. gpu_extras/__init__.pyi +15 -0
  130. gpu_extras/presets/__init__.pyi +16 -4
  131. imbuf/__init__.pyi +13 -0
  132. imbuf/types/__init__.pyi +20 -5
  133. mathutils/__init__.pyi +349 -227
  134. mathutils/bvhtree/__init__.pyi +21 -8
  135. mathutils/geometry/__init__.pyi +23 -9
  136. mathutils/interpolate/__init__.pyi +5 -0
  137. mathutils/kdtree/__init__.pyi +19 -5
  138. mathutils/noise/__init__.pyi +87 -41
  139. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/WHEEL +0 -0
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def add_render_slot(
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
  ):
11
11
  """Add a new render slot
12
12
 
13
13
  :type override_context: typing.Union[dict, bpy.types.Context]
14
- :type execution_context: str
14
+ :type execution_context: typing.Union[str, int]
15
15
  :type undo: bool
16
16
  """
17
17
 
@@ -19,14 +19,14 @@ def add_render_slot(
19
19
 
20
20
  def change_frame(
21
21
  override_context: typing.Union[dict, bpy.types.Context] = None,
22
- execution_context: str = None,
22
+ execution_context: typing.Union[str, int] = None,
23
23
  undo: bool = None,
24
24
  frame: typing.Any = 0,
25
25
  ):
26
26
  """Interactively change the current frame number
27
27
 
28
28
  :type override_context: typing.Union[dict, bpy.types.Context]
29
- :type execution_context: str
29
+ :type execution_context: typing.Union[str, int]
30
30
  :type undo: bool
31
31
  :param frame: Frame
32
32
  :type frame: typing.Any
@@ -36,13 +36,13 @@ def change_frame(
36
36
 
37
37
  def clear_render_border(
38
38
  override_context: typing.Union[dict, bpy.types.Context] = None,
39
- execution_context: str = None,
39
+ execution_context: typing.Union[str, int] = None,
40
40
  undo: bool = None,
41
41
  ):
42
42
  """Clear the boundaries of the render region and disable render region
43
43
 
44
44
  :type override_context: typing.Union[dict, bpy.types.Context]
45
- :type execution_context: str
45
+ :type execution_context: typing.Union[str, int]
46
46
  :type undo: bool
47
47
  """
48
48
 
@@ -50,13 +50,13 @@ def clear_render_border(
50
50
 
51
51
  def clear_render_slot(
52
52
  override_context: typing.Union[dict, bpy.types.Context] = None,
53
- execution_context: str = None,
53
+ execution_context: typing.Union[str, int] = None,
54
54
  undo: bool = None,
55
55
  ):
56
56
  """Clear the currently selected render slot
57
57
 
58
58
  :type override_context: typing.Union[dict, bpy.types.Context]
59
- :type execution_context: str
59
+ :type execution_context: typing.Union[str, int]
60
60
  :type undo: bool
61
61
  """
62
62
 
@@ -64,13 +64,13 @@ def clear_render_slot(
64
64
 
65
65
  def clipboard_copy(
66
66
  override_context: typing.Union[dict, bpy.types.Context] = None,
67
- execution_context: str = None,
67
+ execution_context: typing.Union[str, int] = None,
68
68
  undo: bool = None,
69
69
  ):
70
70
  """Copy the image to the clipboard
71
71
 
72
72
  :type override_context: typing.Union[dict, bpy.types.Context]
73
- :type execution_context: str
73
+ :type execution_context: typing.Union[str, int]
74
74
  :type undo: bool
75
75
  """
76
76
 
@@ -78,13 +78,13 @@ def clipboard_copy(
78
78
 
79
79
  def clipboard_paste(
80
80
  override_context: typing.Union[dict, bpy.types.Context] = None,
81
- execution_context: str = None,
81
+ execution_context: typing.Union[str, int] = None,
82
82
  undo: bool = None,
83
83
  ):
84
84
  """Paste new image from the clipboard
85
85
 
86
86
  :type override_context: typing.Union[dict, bpy.types.Context]
87
- :type execution_context: str
87
+ :type execution_context: typing.Union[str, int]
88
88
  :type undo: bool
89
89
  """
90
90
 
@@ -92,7 +92,7 @@ def clipboard_paste(
92
92
 
93
93
  def curves_point_set(
94
94
  override_context: typing.Union[dict, bpy.types.Context] = None,
95
- execution_context: str = None,
95
+ execution_context: typing.Union[str, int] = None,
96
96
  undo: bool = None,
97
97
  point: typing.Any = "BLACK_POINT",
98
98
  size: typing.Any = 1,
@@ -100,7 +100,7 @@ def curves_point_set(
100
100
  """Set black point or white point for curves
101
101
 
102
102
  :type override_context: typing.Union[dict, bpy.types.Context]
103
- :type execution_context: str
103
+ :type execution_context: typing.Union[str, int]
104
104
  :type undo: bool
105
105
  :param point: Point, Set black point or white point for curves
106
106
  :type point: typing.Any
@@ -112,14 +112,14 @@ def curves_point_set(
112
112
 
113
113
  def cycle_render_slot(
114
114
  override_context: typing.Union[dict, bpy.types.Context] = None,
115
- execution_context: str = None,
115
+ execution_context: typing.Union[str, int] = None,
116
116
  undo: bool = None,
117
117
  reverse: typing.Union[bool, typing.Any] = False,
118
118
  ):
119
119
  """Cycle through all non-void render slots
120
120
 
121
121
  :type override_context: typing.Union[dict, bpy.types.Context]
122
- :type execution_context: str
122
+ :type execution_context: typing.Union[str, int]
123
123
  :type undo: bool
124
124
  :param reverse: Cycle in Reverse
125
125
  :type reverse: typing.Union[bool, typing.Any]
@@ -129,14 +129,14 @@ def cycle_render_slot(
129
129
 
130
130
  def external_edit(
131
131
  override_context: typing.Union[dict, bpy.types.Context] = None,
132
- execution_context: str = None,
132
+ execution_context: typing.Union[str, int] = None,
133
133
  undo: bool = None,
134
134
  filepath: typing.Union[str, typing.Any] = "",
135
135
  ):
136
136
  """Edit image in an external application
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 filepath: filepath
142
142
  :type filepath: typing.Union[str, typing.Any]
@@ -146,7 +146,7 @@ def external_edit(
146
146
 
147
147
  def file_browse(
148
148
  override_context: typing.Union[dict, bpy.types.Context] = None,
149
- execution_context: str = None,
149
+ execution_context: typing.Union[str, int] = None,
150
150
  undo: bool = None,
151
151
  filepath: typing.Union[str, typing.Any] = "",
152
152
  hide_props_region: typing.Union[bool, typing.Any] = True,
@@ -178,7 +178,7 @@ def file_browse(
178
178
  """Open an image file browser, hold Shift to open the file, Alt to browse containing directory
179
179
 
180
180
  :type override_context: typing.Union[dict, bpy.types.Context]
181
- :type execution_context: str
181
+ :type execution_context: typing.Union[str, int]
182
182
  :type undo: bool
183
183
  :param filepath: File Path, Path to file
184
184
  :type filepath: typing.Union[str, typing.Any]
@@ -250,7 +250,7 @@ def file_browse(
250
250
 
251
251
  def flip(
252
252
  override_context: typing.Union[dict, bpy.types.Context] = None,
253
- execution_context: str = None,
253
+ execution_context: typing.Union[str, int] = None,
254
254
  undo: bool = None,
255
255
  use_flip_x: typing.Union[bool, typing.Any] = False,
256
256
  use_flip_y: typing.Union[bool, typing.Any] = False,
@@ -258,7 +258,7 @@ def flip(
258
258
  """Flip the image
259
259
 
260
260
  :type override_context: typing.Union[dict, bpy.types.Context]
261
- :type execution_context: str
261
+ :type execution_context: typing.Union[str, int]
262
262
  :type undo: bool
263
263
  :param use_flip_x: Horizontal, Flip the image horizontally
264
264
  :type use_flip_x: typing.Union[bool, typing.Any]
@@ -270,7 +270,7 @@ def flip(
270
270
 
271
271
  def invert(
272
272
  override_context: typing.Union[dict, bpy.types.Context] = None,
273
- execution_context: str = None,
273
+ execution_context: typing.Union[str, int] = None,
274
274
  undo: bool = None,
275
275
  invert_r: typing.Union[bool, typing.Any] = False,
276
276
  invert_g: typing.Union[bool, typing.Any] = False,
@@ -280,7 +280,7 @@ def invert(
280
280
  """Invert image's channels
281
281
 
282
282
  :type override_context: typing.Union[dict, bpy.types.Context]
283
- :type execution_context: str
283
+ :type execution_context: typing.Union[str, int]
284
284
  :type undo: bool
285
285
  :param invert_r: Red, Invert red channel
286
286
  :type invert_r: typing.Union[bool, typing.Any]
@@ -296,13 +296,13 @@ def invert(
296
296
 
297
297
  def match_movie_length(
298
298
  override_context: typing.Union[dict, bpy.types.Context] = None,
299
- execution_context: str = None,
299
+ execution_context: typing.Union[str, int] = None,
300
300
  undo: bool = None,
301
301
  ):
302
302
  """Set image's user's length to the one of this video
303
303
 
304
304
  :type override_context: typing.Union[dict, bpy.types.Context]
305
- :type execution_context: str
305
+ :type execution_context: typing.Union[str, int]
306
306
  :type undo: bool
307
307
  """
308
308
 
@@ -310,7 +310,7 @@ def match_movie_length(
310
310
 
311
311
  def new(
312
312
  override_context: typing.Union[dict, bpy.types.Context] = None,
313
- execution_context: str = None,
313
+ execution_context: typing.Union[str, int] = None,
314
314
  undo: bool = None,
315
315
  name: typing.Union[str, typing.Any] = "Untitled",
316
316
  width: typing.Any = 1024,
@@ -325,7 +325,7 @@ def new(
325
325
  """Create a new image
326
326
 
327
327
  :type override_context: typing.Union[dict, bpy.types.Context]
328
- :type execution_context: str
328
+ :type execution_context: typing.Union[str, int]
329
329
  :type undo: bool
330
330
  :param name: Name, Image data-block name
331
331
  :type name: typing.Union[str, typing.Any]
@@ -351,7 +351,7 @@ def new(
351
351
 
352
352
  def open(
353
353
  override_context: typing.Union[dict, bpy.types.Context] = None,
354
- execution_context: str = None,
354
+ execution_context: typing.Union[str, int] = None,
355
355
  undo: bool = None,
356
356
  allow_path_tokens: typing.Union[bool, typing.Any] = True,
357
357
  filepath: typing.Union[str, typing.Any] = "",
@@ -388,7 +388,7 @@ def open(
388
388
  """Open image
389
389
 
390
390
  :type override_context: typing.Union[dict, bpy.types.Context]
391
- :type execution_context: str
391
+ :type execution_context: typing.Union[str, int]
392
392
  :type undo: bool
393
393
  :param allow_path_tokens: Allow the path to contain substitution tokens
394
394
  :type allow_path_tokens: typing.Union[bool, typing.Any]
@@ -485,13 +485,13 @@ def open(
485
485
 
486
486
  def pack(
487
487
  override_context: typing.Union[dict, bpy.types.Context] = None,
488
- execution_context: str = None,
488
+ execution_context: typing.Union[str, int] = None,
489
489
  undo: bool = None,
490
490
  ):
491
491
  """Pack an image as embedded data into the .blend file
492
492
 
493
493
  :type override_context: typing.Union[dict, bpy.types.Context]
494
- :type execution_context: str
494
+ :type execution_context: typing.Union[str, int]
495
495
  :type undo: bool
496
496
  """
497
497
 
@@ -499,13 +499,13 @@ def pack(
499
499
 
500
500
  def project_apply(
501
501
  override_context: typing.Union[dict, bpy.types.Context] = None,
502
- execution_context: str = None,
502
+ execution_context: typing.Union[str, int] = None,
503
503
  undo: bool = None,
504
504
  ):
505
505
  """Project edited image back onto the object
506
506
 
507
507
  :type override_context: typing.Union[dict, bpy.types.Context]
508
- :type execution_context: str
508
+ :type execution_context: typing.Union[str, int]
509
509
  :type undo: bool
510
510
  """
511
511
 
@@ -513,13 +513,13 @@ def project_apply(
513
513
 
514
514
  def project_edit(
515
515
  override_context: typing.Union[dict, bpy.types.Context] = None,
516
- execution_context: str = None,
516
+ execution_context: typing.Union[str, int] = None,
517
517
  undo: bool = None,
518
518
  ):
519
519
  """Edit a snapshot of the 3D Viewport in an external image editor
520
520
 
521
521
  :type override_context: typing.Union[dict, bpy.types.Context]
522
- :type execution_context: str
522
+ :type execution_context: typing.Union[str, int]
523
523
  :type undo: bool
524
524
  """
525
525
 
@@ -527,13 +527,13 @@ def project_edit(
527
527
 
528
528
  def read_viewlayers(
529
529
  override_context: typing.Union[dict, bpy.types.Context] = None,
530
- execution_context: str = None,
530
+ execution_context: typing.Union[str, int] = None,
531
531
  undo: bool = None,
532
532
  ):
533
533
  """Read all the current scene's view layers from cache, as needed
534
534
 
535
535
  :type override_context: typing.Union[dict, bpy.types.Context]
536
- :type execution_context: str
536
+ :type execution_context: typing.Union[str, int]
537
537
  :type undo: bool
538
538
  """
539
539
 
@@ -541,13 +541,13 @@ def read_viewlayers(
541
541
 
542
542
  def reload(
543
543
  override_context: typing.Union[dict, bpy.types.Context] = None,
544
- execution_context: str = None,
544
+ execution_context: typing.Union[str, int] = None,
545
545
  undo: bool = None,
546
546
  ):
547
547
  """Reload current image from disk
548
548
 
549
549
  :type override_context: typing.Union[dict, bpy.types.Context]
550
- :type execution_context: str
550
+ :type execution_context: typing.Union[str, int]
551
551
  :type undo: bool
552
552
  """
553
553
 
@@ -555,13 +555,13 @@ def reload(
555
555
 
556
556
  def remove_render_slot(
557
557
  override_context: typing.Union[dict, bpy.types.Context] = None,
558
- execution_context: str = None,
558
+ execution_context: typing.Union[str, int] = None,
559
559
  undo: bool = None,
560
560
  ):
561
561
  """Remove the current render slot
562
562
 
563
563
  :type override_context: typing.Union[dict, bpy.types.Context]
564
- :type execution_context: str
564
+ :type execution_context: typing.Union[str, int]
565
565
  :type undo: bool
566
566
  """
567
567
 
@@ -569,7 +569,7 @@ def remove_render_slot(
569
569
 
570
570
  def render_border(
571
571
  override_context: typing.Union[dict, bpy.types.Context] = None,
572
- execution_context: str = None,
572
+ execution_context: typing.Union[str, int] = None,
573
573
  undo: bool = None,
574
574
  xmin: typing.Any = 0,
575
575
  xmax: typing.Any = 0,
@@ -580,7 +580,7 @@ def render_border(
580
580
  """Set the boundaries of the render region and enable render region
581
581
 
582
582
  :type override_context: typing.Union[dict, bpy.types.Context]
583
- :type execution_context: str
583
+ :type execution_context: typing.Union[str, int]
584
584
  :type undo: bool
585
585
  :param xmin: X Min
586
586
  :type xmin: typing.Any
@@ -598,7 +598,7 @@ def render_border(
598
598
 
599
599
  def replace(
600
600
  override_context: typing.Union[dict, bpy.types.Context] = None,
601
- execution_context: str = None,
601
+ execution_context: typing.Union[str, int] = None,
602
602
  undo: bool = None,
603
603
  filepath: typing.Union[str, typing.Any] = "",
604
604
  hide_props_region: typing.Union[bool, typing.Any] = True,
@@ -630,7 +630,7 @@ def replace(
630
630
  """Replace current image by another one from disk
631
631
 
632
632
  :type override_context: typing.Union[dict, bpy.types.Context]
633
- :type execution_context: str
633
+ :type execution_context: typing.Union[str, int]
634
634
  :type undo: bool
635
635
  :param filepath: File Path, Path to file
636
636
  :type filepath: typing.Union[str, typing.Any]
@@ -702,14 +702,14 @@ def replace(
702
702
 
703
703
  def resize(
704
704
  override_context: typing.Union[dict, bpy.types.Context] = None,
705
- execution_context: str = None,
705
+ execution_context: typing.Union[str, int] = None,
706
706
  undo: bool = None,
707
707
  size: typing.Any = (0, 0),
708
708
  ):
709
709
  """Resize the image
710
710
 
711
711
  :type override_context: typing.Union[dict, bpy.types.Context]
712
- :type execution_context: str
712
+ :type execution_context: typing.Union[str, int]
713
713
  :type undo: bool
714
714
  :param size: Size
715
715
  :type size: typing.Any
@@ -719,14 +719,14 @@ def resize(
719
719
 
720
720
  def rotate_orthogonal(
721
721
  override_context: typing.Union[dict, bpy.types.Context] = None,
722
- execution_context: str = None,
722
+ execution_context: typing.Union[str, int] = None,
723
723
  undo: bool = None,
724
724
  degrees: typing.Any = "90",
725
725
  ):
726
726
  """Rotate the image
727
727
 
728
728
  :type override_context: typing.Union[dict, bpy.types.Context]
729
- :type execution_context: str
729
+ :type execution_context: typing.Union[str, int]
730
730
  :type undo: bool
731
731
  :param degrees: Degrees, Amount of rotation in degrees (90, 180, 270)
732
732
 
@@ -745,14 +745,14 @@ def rotate_orthogonal(
745
745
 
746
746
  def sample(
747
747
  override_context: typing.Union[dict, bpy.types.Context] = None,
748
- execution_context: str = None,
748
+ execution_context: typing.Union[str, int] = None,
749
749
  undo: bool = None,
750
750
  size: typing.Any = 1,
751
751
  ):
752
752
  """Use mouse to sample a color in current image
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
  :param size: Sample Size
758
758
  :type size: typing.Any
@@ -762,7 +762,7 @@ def sample(
762
762
 
763
763
  def sample_line(
764
764
  override_context: typing.Union[dict, bpy.types.Context] = None,
765
- execution_context: str = None,
765
+ execution_context: typing.Union[str, int] = None,
766
766
  undo: bool = None,
767
767
  xstart: typing.Any = 0,
768
768
  xend: typing.Any = 0,
@@ -774,7 +774,7 @@ def sample_line(
774
774
  """Sample a line and show it in Scope panels
775
775
 
776
776
  :type override_context: typing.Union[dict, bpy.types.Context]
777
- :type execution_context: str
777
+ :type execution_context: typing.Union[str, int]
778
778
  :type undo: bool
779
779
  :param xstart: X Start
780
780
  :type xstart: typing.Any
@@ -794,13 +794,13 @@ def sample_line(
794
794
 
795
795
  def save(
796
796
  override_context: typing.Union[dict, bpy.types.Context] = None,
797
- execution_context: str = None,
797
+ execution_context: typing.Union[str, int] = None,
798
798
  undo: bool = None,
799
799
  ):
800
800
  """Save the image with current name and settings
801
801
 
802
802
  :type override_context: typing.Union[dict, bpy.types.Context]
803
- :type execution_context: str
803
+ :type execution_context: typing.Union[str, int]
804
804
  :type undo: bool
805
805
  """
806
806
 
@@ -808,13 +808,13 @@ def save(
808
808
 
809
809
  def save_all_modified(
810
810
  override_context: typing.Union[dict, bpy.types.Context] = None,
811
- execution_context: str = None,
811
+ execution_context: typing.Union[str, int] = None,
812
812
  undo: bool = None,
813
813
  ):
814
814
  """Save all modified images
815
815
 
816
816
  :type override_context: typing.Union[dict, bpy.types.Context]
817
- :type execution_context: str
817
+ :type execution_context: typing.Union[str, int]
818
818
  :type undo: bool
819
819
  """
820
820
 
@@ -822,7 +822,7 @@ def save_all_modified(
822
822
 
823
823
  def save_as(
824
824
  override_context: typing.Union[dict, bpy.types.Context] = None,
825
- execution_context: str = None,
825
+ execution_context: typing.Union[str, int] = None,
826
826
  undo: bool = None,
827
827
  save_as_render: typing.Union[bool, typing.Any] = False,
828
828
  copy: typing.Union[bool, typing.Any] = False,
@@ -856,7 +856,7 @@ def save_as(
856
856
  """Save the image with another name and/or settings
857
857
 
858
858
  :type override_context: typing.Union[dict, bpy.types.Context]
859
- :type execution_context: str
859
+ :type execution_context: typing.Union[str, int]
860
860
  :type undo: bool
861
861
  :param save_as_render: Save As Render, Save image with render color management.For display image formats like PNG, apply view and display transform.For intermediate image formats like OpenEXR, use the default render output color space
862
862
  :type save_as_render: typing.Union[bool, typing.Any]
@@ -932,13 +932,13 @@ def save_as(
932
932
 
933
933
  def save_sequence(
934
934
  override_context: typing.Union[dict, bpy.types.Context] = None,
935
- execution_context: str = None,
935
+ execution_context: typing.Union[str, int] = None,
936
936
  undo: bool = None,
937
937
  ):
938
938
  """Save a sequence of images
939
939
 
940
940
  :type override_context: typing.Union[dict, bpy.types.Context]
941
- :type execution_context: str
941
+ :type execution_context: typing.Union[str, int]
942
942
  :type undo: bool
943
943
  """
944
944
 
@@ -946,7 +946,7 @@ def save_sequence(
946
946
 
947
947
  def tile_add(
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
  number: typing.Any = 1002,
952
952
  count: typing.Any = 1,
@@ -962,7 +962,7 @@ def tile_add(
962
962
  """Adds a tile to the image
963
963
 
964
964
  :type override_context: typing.Union[dict, bpy.types.Context]
965
- :type execution_context: str
965
+ :type execution_context: typing.Union[str, int]
966
966
  :type undo: bool
967
967
  :param number: Number, UDIM number of the tile
968
968
  :type number: typing.Any
@@ -990,7 +990,7 @@ def tile_add(
990
990
 
991
991
  def tile_fill(
992
992
  override_context: typing.Union[dict, bpy.types.Context] = None,
993
- execution_context: str = None,
993
+ execution_context: typing.Union[str, int] = None,
994
994
  undo: bool = None,
995
995
  color: typing.Any = (0.0, 0.0, 0.0, 1.0),
996
996
  generated_type: typing.Union[str, int] = "BLANK",
@@ -1002,7 +1002,7 @@ def tile_fill(
1002
1002
  """Fill the current tile with a generated image
1003
1003
 
1004
1004
  :type override_context: typing.Union[dict, bpy.types.Context]
1005
- :type execution_context: str
1005
+ :type execution_context: typing.Union[str, int]
1006
1006
  :type undo: bool
1007
1007
  :param color: Color, Default fill color
1008
1008
  :type color: typing.Any
@@ -1022,13 +1022,13 @@ def tile_fill(
1022
1022
 
1023
1023
  def tile_remove(
1024
1024
  override_context: typing.Union[dict, bpy.types.Context] = None,
1025
- execution_context: str = None,
1025
+ execution_context: typing.Union[str, int] = None,
1026
1026
  undo: bool = None,
1027
1027
  ):
1028
1028
  """Removes a tile from the image
1029
1029
 
1030
1030
  :type override_context: typing.Union[dict, bpy.types.Context]
1031
- :type execution_context: str
1031
+ :type execution_context: typing.Union[str, int]
1032
1032
  :type undo: bool
1033
1033
  """
1034
1034
 
@@ -1036,7 +1036,7 @@ def tile_remove(
1036
1036
 
1037
1037
  def unpack(
1038
1038
  override_context: typing.Union[dict, bpy.types.Context] = None,
1039
- execution_context: str = None,
1039
+ execution_context: typing.Union[str, int] = None,
1040
1040
  undo: bool = None,
1041
1041
  method: typing.Union[str, int] = "USE_LOCAL",
1042
1042
  id: typing.Union[str, typing.Any] = "",
@@ -1044,7 +1044,7 @@ def unpack(
1044
1044
  """Save an image packed in the .blend file to disk
1045
1045
 
1046
1046
  :type override_context: typing.Union[dict, bpy.types.Context]
1047
- :type execution_context: str
1047
+ :type execution_context: typing.Union[str, int]
1048
1048
  :type undo: bool
1049
1049
  :param method: Method, How to unpack
1050
1050
  :type method: typing.Union[str, int]
@@ -1056,14 +1056,14 @@ def unpack(
1056
1056
 
1057
1057
  def view_all(
1058
1058
  override_context: typing.Union[dict, bpy.types.Context] = None,
1059
- execution_context: str = None,
1059
+ execution_context: typing.Union[str, int] = None,
1060
1060
  undo: bool = None,
1061
1061
  fit_view: typing.Union[bool, typing.Any] = False,
1062
1062
  ):
1063
1063
  """View the entire image
1064
1064
 
1065
1065
  :type override_context: typing.Union[dict, bpy.types.Context]
1066
- :type execution_context: str
1066
+ :type execution_context: typing.Union[str, int]
1067
1067
  :type undo: bool
1068
1068
  :param fit_view: Fit View, Fit frame to the viewport
1069
1069
  :type fit_view: typing.Union[bool, typing.Any]
@@ -1073,13 +1073,13 @@ def view_all(
1073
1073
 
1074
1074
  def view_center_cursor(
1075
1075
  override_context: typing.Union[dict, bpy.types.Context] = None,
1076
- execution_context: str = None,
1076
+ execution_context: typing.Union[str, int] = None,
1077
1077
  undo: bool = None,
1078
1078
  ):
1079
1079
  """Center the view so that the cursor is in the middle of the view
1080
1080
 
1081
1081
  :type override_context: typing.Union[dict, bpy.types.Context]
1082
- :type execution_context: str
1082
+ :type execution_context: typing.Union[str, int]
1083
1083
  :type undo: bool
1084
1084
  """
1085
1085
 
@@ -1087,14 +1087,14 @@ def view_center_cursor(
1087
1087
 
1088
1088
  def view_cursor_center(
1089
1089
  override_context: typing.Union[dict, bpy.types.Context] = None,
1090
- execution_context: str = None,
1090
+ execution_context: typing.Union[str, int] = None,
1091
1091
  undo: bool = None,
1092
1092
  fit_view: typing.Union[bool, typing.Any] = False,
1093
1093
  ):
1094
1094
  """Set 2D Cursor To Center View location
1095
1095
 
1096
1096
  :type override_context: typing.Union[dict, bpy.types.Context]
1097
- :type execution_context: str
1097
+ :type execution_context: typing.Union[str, int]
1098
1098
  :type undo: bool
1099
1099
  :param fit_view: Fit View, Fit frame to the viewport
1100
1100
  :type fit_view: typing.Union[bool, typing.Any]
@@ -1104,13 +1104,13 @@ def view_cursor_center(
1104
1104
 
1105
1105
  def view_ndof(
1106
1106
  override_context: typing.Union[dict, bpy.types.Context] = None,
1107
- execution_context: str = None,
1107
+ execution_context: typing.Union[str, int] = None,
1108
1108
  undo: bool = None,
1109
1109
  ):
1110
1110
  """Use a 3D mouse device to pan/zoom the view
1111
1111
 
1112
1112
  :type override_context: typing.Union[dict, bpy.types.Context]
1113
- :type execution_context: str
1113
+ :type execution_context: typing.Union[str, int]
1114
1114
  :type undo: bool
1115
1115
  """
1116
1116
 
@@ -1118,14 +1118,14 @@ def view_ndof(
1118
1118
 
1119
1119
  def view_pan(
1120
1120
  override_context: typing.Union[dict, bpy.types.Context] = None,
1121
- execution_context: str = None,
1121
+ execution_context: typing.Union[str, int] = None,
1122
1122
  undo: bool = None,
1123
1123
  offset: typing.Any = (0.0, 0.0),
1124
1124
  ):
1125
1125
  """Pan the view
1126
1126
 
1127
1127
  :type override_context: typing.Union[dict, bpy.types.Context]
1128
- :type execution_context: str
1128
+ :type execution_context: typing.Union[str, int]
1129
1129
  :type undo: bool
1130
1130
  :param offset: Offset, Offset in floating-point units, 1.0 is the width and height of the image
1131
1131
  :type offset: typing.Any
@@ -1135,13 +1135,13 @@ def view_pan(
1135
1135
 
1136
1136
  def view_selected(
1137
1137
  override_context: typing.Union[dict, bpy.types.Context] = None,
1138
- execution_context: str = None,
1138
+ execution_context: typing.Union[str, int] = None,
1139
1139
  undo: bool = None,
1140
1140
  ):
1141
1141
  """View all selected UVs
1142
1142
 
1143
1143
  :type override_context: typing.Union[dict, bpy.types.Context]
1144
- :type execution_context: str
1144
+ :type execution_context: typing.Union[str, int]
1145
1145
  :type undo: bool
1146
1146
  """
1147
1147
 
@@ -1149,7 +1149,7 @@ def view_selected(
1149
1149
 
1150
1150
  def view_zoom(
1151
1151
  override_context: typing.Union[dict, bpy.types.Context] = None,
1152
- execution_context: str = None,
1152
+ execution_context: typing.Union[str, int] = None,
1153
1153
  undo: bool = None,
1154
1154
  factor: typing.Any = 0.0,
1155
1155
  use_cursor_init: typing.Union[bool, typing.Any] = True,
@@ -1157,7 +1157,7 @@ def view_zoom(
1157
1157
  """Zoom in/out the image
1158
1158
 
1159
1159
  :type override_context: typing.Union[dict, bpy.types.Context]
1160
- :type execution_context: str
1160
+ :type execution_context: typing.Union[str, int]
1161
1161
  :type undo: bool
1162
1162
  :param factor: Factor, Zoom factor, values higher than 1.0 zoom in, lower values zoom out
1163
1163
  :type factor: typing.Any
@@ -1169,7 +1169,7 @@ def view_zoom(
1169
1169
 
1170
1170
  def view_zoom_border(
1171
1171
  override_context: typing.Union[dict, bpy.types.Context] = None,
1172
- execution_context: str = None,
1172
+ execution_context: typing.Union[str, int] = None,
1173
1173
  undo: bool = None,
1174
1174
  xmin: typing.Any = 0,
1175
1175
  xmax: typing.Any = 0,
@@ -1181,7 +1181,7 @@ def view_zoom_border(
1181
1181
  """Zoom in the view to the nearest item contained in the border
1182
1182
 
1183
1183
  :type override_context: typing.Union[dict, bpy.types.Context]
1184
- :type execution_context: str
1184
+ :type execution_context: typing.Union[str, int]
1185
1185
  :type undo: bool
1186
1186
  :param xmin: X Min
1187
1187
  :type xmin: typing.Any
@@ -1201,14 +1201,14 @@ def view_zoom_border(
1201
1201
 
1202
1202
  def view_zoom_in(
1203
1203
  override_context: typing.Union[dict, bpy.types.Context] = None,
1204
- execution_context: str = None,
1204
+ execution_context: typing.Union[str, int] = None,
1205
1205
  undo: bool = None,
1206
1206
  location: typing.Any = (0.0, 0.0),
1207
1207
  ):
1208
1208
  """Zoom in the image (centered around 2D cursor)
1209
1209
 
1210
1210
  :type override_context: typing.Union[dict, bpy.types.Context]
1211
- :type execution_context: str
1211
+ :type execution_context: typing.Union[str, int]
1212
1212
  :type undo: bool
1213
1213
  :param location: Location, Cursor location in screen coordinates
1214
1214
  :type location: typing.Any
@@ -1218,14 +1218,14 @@ def view_zoom_in(
1218
1218
 
1219
1219
  def view_zoom_out(
1220
1220
  override_context: typing.Union[dict, bpy.types.Context] = None,
1221
- execution_context: str = None,
1221
+ execution_context: typing.Union[str, int] = None,
1222
1222
  undo: bool = None,
1223
1223
  location: typing.Any = (0.0, 0.0),
1224
1224
  ):
1225
1225
  """Zoom out the image (centered around 2D cursor)
1226
1226
 
1227
1227
  :type override_context: typing.Union[dict, bpy.types.Context]
1228
- :type execution_context: str
1228
+ :type execution_context: typing.Union[str, int]
1229
1229
  :type undo: bool
1230
1230
  :param location: Location, Cursor location in screen coordinates
1231
1231
  :type location: typing.Any
@@ -1235,14 +1235,14 @@ def view_zoom_out(
1235
1235
 
1236
1236
  def view_zoom_ratio(
1237
1237
  override_context: typing.Union[dict, bpy.types.Context] = None,
1238
- execution_context: str = None,
1238
+ execution_context: typing.Union[str, int] = None,
1239
1239
  undo: bool = None,
1240
1240
  ratio: typing.Any = 0.0,
1241
1241
  ):
1242
1242
  """Set zoom ratio of the view
1243
1243
 
1244
1244
  :type override_context: typing.Union[dict, bpy.types.Context]
1245
- :type execution_context: str
1245
+ :type execution_context: typing.Union[str, int]
1246
1246
  :type undo: bool
1247
1247
  :param ratio: Ratio, Zoom ratio, 1.0 is 1:1, higher is zoomed in, lower is zoomed out
1248
1248
  :type ratio: typing.Any