fake-bpy-module 20240411__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 (145) 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/presets/__init__.pyi +7 -0
  9. bl_ui/node_add_menu/__init__.pyi +1 -1
  10. bl_ui/properties_data_lightprobe/__init__.pyi +1134 -0
  11. bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -0
  12. bl_ui/properties_physics_fluid/__init__.pyi +3 -0
  13. bl_ui/space_toolsystem_toolbar/__init__.pyi +17 -0
  14. bl_ui/space_userpref/__init__.pyi +13 -4
  15. bl_ui/space_view3d/__init__.pyi +190 -0
  16. blf/__init__.pyi +63 -13
  17. bmesh/__init__.pyi +13 -0
  18. bmesh/geometry/__init__.pyi +5 -0
  19. bmesh/ops/__init__.pyi +157 -68
  20. bmesh/types/__init__.pyi +109 -62
  21. bmesh/utils/__init__.pyi +11 -2
  22. bpy/__init__.pyi +7 -0
  23. bpy/app/__init__.pyi +13 -0
  24. bpy/app/handlers/__init__.pyi +41 -0
  25. bpy/app/icons/__init__.pyi +4 -2
  26. bpy/app/timers/__init__.pyi +38 -2
  27. bpy/app/translations/__init__.pyi +59 -1
  28. bpy/msgbus/__init__.pyi +46 -0
  29. bpy/ops/__init__.pyi +151 -0
  30. bpy/ops/action/__init__.pyi +76 -76
  31. bpy/ops/anim/__init__.pyi +104 -104
  32. bpy/ops/armature/__init__.pyi +96 -96
  33. bpy/ops/asset/__init__.pyi +32 -32
  34. bpy/ops/boid/__init__.pyi +16 -16
  35. bpy/ops/brush/__init__.pyi +18 -18
  36. bpy/ops/buttons/__init__.pyi +12 -12
  37. bpy/ops/cachefile/__init__.pyi +10 -10
  38. bpy/ops/camera/__init__.pyi +4 -4
  39. bpy/ops/clip/__init__.pyi +184 -184
  40. bpy/ops/cloth/__init__.pyi +2 -2
  41. bpy/ops/collection/__init__.pyi +18 -18
  42. bpy/ops/console/__init__.pyi +42 -42
  43. bpy/ops/constraint/__init__.pyi +36 -36
  44. bpy/ops/curve/__init__.pyi +102 -102
  45. bpy/ops/curves/__init__.pyi +132 -50
  46. bpy/ops/cycles/__init__.pyi +6 -6
  47. bpy/ops/dpaint/__init__.pyi +10 -10
  48. bpy/ops/ed/__init__.pyi +24 -24
  49. bpy/ops/export_anim/__init__.pyi +2 -2
  50. bpy/ops/export_mesh/__init__.pyi +2 -2
  51. bpy/ops/export_scene/__init__.pyi +11 -8
  52. bpy/ops/file/__init__.pyi +80 -80
  53. bpy/ops/fluid/__init__.pyi +28 -28
  54. bpy/ops/font/__init__.pyi +46 -46
  55. bpy/ops/geometry/__init__.pyi +20 -20
  56. bpy/ops/gizmogroup/__init__.pyi +4 -4
  57. bpy/ops/gpencil/__init__.pyi +300 -300
  58. bpy/ops/graph/__init__.pyi +130 -130
  59. bpy/ops/grease_pencil/__init__.pyi +139 -110
  60. bpy/ops/image/__init__.pyi +92 -92
  61. bpy/ops/import_anim/__init__.pyi +2 -2
  62. bpy/ops/import_curve/__init__.pyi +2 -2
  63. bpy/ops/import_mesh/__init__.pyi +2 -2
  64. bpy/ops/import_scene/__init__.pyi +6 -6
  65. bpy/ops/info/__init__.pyi +14 -14
  66. bpy/ops/lattice/__init__.pyi +16 -16
  67. bpy/ops/marker/__init__.pyi +22 -22
  68. bpy/ops/mask/__init__.pyi +78 -78
  69. bpy/ops/material/__init__.pyi +6 -6
  70. bpy/ops/mball/__init__.pyi +16 -16
  71. bpy/ops/mesh/__init__.pyi +327 -327
  72. bpy/ops/nla/__init__.pyi +80 -80
  73. bpy/ops/node/__init__.pyi +203 -203
  74. bpy/ops/object/__init__.pyi +496 -508
  75. bpy/ops/outliner/__init__.pyi +139 -139
  76. bpy/ops/paint/__init__.pyi +104 -104
  77. bpy/ops/paintcurve/__init__.pyi +16 -16
  78. bpy/ops/palette/__init__.pyi +14 -14
  79. bpy/ops/particle/__init__.pyi +72 -72
  80. bpy/ops/pose/__init__.pyi +78 -78
  81. bpy/ops/poselib/__init__.pyi +18 -18
  82. bpy/ops/preferences/__init__.pyi +77 -77
  83. bpy/ops/ptcache/__init__.pyi +14 -14
  84. bpy/ops/render/__init__.pyi +24 -24
  85. bpy/ops/rigidbody/__init__.pyi +26 -26
  86. bpy/ops/scene/__init__.pyi +78 -78
  87. bpy/ops/screen/__init__.pyi +78 -78
  88. bpy/ops/script/__init__.pyi +6 -6
  89. bpy/ops/sculpt/__init__.pyi +68 -62
  90. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  91. bpy/ops/sequencer/__init__.pyi +170 -170
  92. bpy/ops/sound/__init__.pyi +14 -14
  93. bpy/ops/spreadsheet/__init__.pyi +8 -8
  94. bpy/ops/surface/__init__.pyi +12 -12
  95. bpy/ops/text/__init__.pyi +86 -86
  96. bpy/ops/text_editor/__init__.pyi +2 -2
  97. bpy/ops/texture/__init__.pyi +8 -8
  98. bpy/ops/transform/__init__.pyi +54 -54
  99. bpy/ops/ui/__init__.pyi +64 -64
  100. bpy/ops/uilist/__init__.pyi +6 -6
  101. bpy/ops/uv/__init__.pyi +98 -98
  102. bpy/ops/view2d/__init__.pyi +28 -28
  103. bpy/ops/view3d/__init__.pyi +134 -134
  104. bpy/ops/wm/__init__.pyi +225 -225
  105. bpy/ops/workspace/__init__.pyi +14 -14
  106. bpy/ops/world/__init__.pyi +2 -2
  107. bpy/path/__init__.pyi +6 -0
  108. bpy/props/__init__.pyi +141 -29
  109. bpy/types/__init__.pyi +101773 -5222
  110. bpy/utils/__init__.pyi +18 -3
  111. bpy/utils/previews/__init__.pyi +15 -0
  112. bpy/utils/units/__init__.pyi +11 -3
  113. bpy_extras/__init__.pyi +19 -0
  114. bpy_extras/asset_utils/__init__.pyi +5 -0
  115. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/METADATA +1 -1
  116. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/RECORD +145 -141
  117. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/top_level.txt +1 -0
  118. freestyle/__init__.pyi +18 -0
  119. freestyle/chainingiterators/__init__.pyi +20 -5
  120. freestyle/functions/__init__.pyi +151 -155
  121. freestyle/predicates/__init__.pyi +53 -46
  122. freestyle/shaders/__init__.pyi +91 -32
  123. freestyle/types/__init__.pyi +362 -120
  124. freestyle/utils/ContextFunctions/__init__.pyi +32 -7
  125. freestyle/utils/__init__.pyi +13 -1
  126. gpu/__init__.pyi +225 -0
  127. gpu/capabilities/__init__.pyi +37 -15
  128. gpu/matrix/__init__.pyi +7 -1
  129. gpu/platform/__init__.pyi +5 -0
  130. gpu/select/__init__.pyi +5 -0
  131. gpu/shader/__init__.pyi +77 -0
  132. gpu/state/__init__.pyi +15 -4
  133. gpu/texture/__init__.pyi +5 -0
  134. gpu/types/__init__.pyi +91 -33
  135. gpu_extras/__init__.pyi +15 -0
  136. gpu_extras/presets/__init__.pyi +16 -4
  137. imbuf/__init__.pyi +13 -0
  138. imbuf/types/__init__.pyi +20 -5
  139. mathutils/__init__.pyi +349 -227
  140. mathutils/bvhtree/__init__.pyi +21 -8
  141. mathutils/geometry/__init__.pyi +23 -9
  142. mathutils/interpolate/__init__.pyi +5 -0
  143. mathutils/kdtree/__init__.pyi +19 -5
  144. mathutils/noise/__init__.pyi +87 -41
  145. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/WHEEL +0 -0
bl_math/__init__.pyi CHANGED
@@ -1,37 +1,53 @@
1
+ """
2
+ Miscellaneous math utilities module
3
+
4
+ """
5
+
1
6
  import typing
2
7
 
3
8
  GenericType = typing.TypeVar("GenericType")
4
9
 
5
- def clamp(value, min=0, max=1):
10
+ def clamp(value: float, min: float = 0, max: float = 1) -> float:
6
11
  """Clamps the float value between minimum and maximum. To avoid
7
12
  confusion, any call must use either one or all three arguments.
8
13
 
9
14
  :param value: The value to clamp.
15
+ :type value: float
10
16
  :param min: The minimum value, defaults to 0.
17
+ :type min: float
11
18
  :param max: The maximum value, defaults to 1.
19
+ :type max: float
12
20
  :return: The clamped value.
21
+ :rtype: float
13
22
  """
14
23
 
15
24
  ...
16
25
 
17
- def lerp(from_value, to_value, factor):
26
+ def lerp(from_value: float, to_value: float, factor: float) -> float:
18
27
  """Linearly interpolate between two float values based on factor.
19
28
 
20
29
  :param from_value: The value to return when factor is 0.
30
+ :type from_value: float
21
31
  :param to_value: The value to return when factor is 1.
32
+ :type to_value: float
22
33
  :param factor: The interpolation value, normally in [0.0, 1.0].
34
+ :type factor: float
23
35
  :return: The interpolated value.
36
+ :rtype: float
24
37
  """
25
38
 
26
39
  ...
27
40
 
28
- def smoothstep(from_value, to_value, value):
41
+ def smoothstep(from_value: float, to_value: float, value) -> float:
29
42
  """Performs smooth interpolation between 0 and 1 as value changes between from and to values.
30
43
  Outside the range the function returns the same value as the nearest edge.
31
44
 
32
45
  :param from_value: The edge value where the result is 0.
46
+ :type from_value: float
33
47
  :param to_value: The edge value where the result is 1.
48
+ :type to_value: float
34
49
  :return: The interpolated value in [0.0, 1.0].
50
+ :rtype: float
35
51
  """
36
52
 
37
53
  ...
@@ -3143,6 +3143,13 @@ class RemovePresetInterfaceTheme(bpy_types.Operator):
3143
3143
  """ """
3144
3144
  ...
3145
3145
 
3146
+ def post_cb(self, context):
3147
+ """
3148
+
3149
+ :param context:
3150
+ """
3151
+ ...
3152
+
3146
3153
  def property_overridable_library_set(self):
3147
3154
  """ """
3148
3155
  ...
@@ -187,7 +187,7 @@ class NODE_MT_category_layout(bpy_types._GenericUI):
187
187
  """ """
188
188
  ...
189
189
 
190
- def add_node_type(layout, node_type, label, poll):
190
+ def add_node_type(layout, node_type, label, poll, search_weight):
191
191
  """ """
192
192
 
193
193
  ...