fake-bpy-module 20240321__py3-none-any.whl → 20240324__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 (285) hide show
  1. addon_utils/__init__.pyi +54 -10
  2. animsys_refactor/__init__.pyi +27 -11
  3. aud/__init__.pyi +130 -123
  4. bgl/__init__.pyi +1831 -216
  5. bl_app_override/__init__.pyi +14 -3
  6. bl_app_override/helpers/__init__.pyi +19 -10
  7. bl_app_template_utils/__init__.pyi +19 -4
  8. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
  9. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
  10. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
  11. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
  12. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
  13. bl_i18n_utils/merge_po/__init__.pyi +4 -1
  14. bl_i18n_utils/settings/__init__.pyi +19 -23
  15. bl_i18n_utils/utils/__init__.pyi +81 -143
  16. bl_i18n_utils/utils_cli/__init__.pyi +29 -6
  17. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
  18. bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
  19. bl_keymap_utils/io/__init__.pyi +44 -9
  20. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
  21. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
  22. bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
  23. bl_keymap_utils/versioning/__init__.pyi +4 -1
  24. bl_math/__init__.pyi +3 -3
  25. bl_operators/__init__.pyi +9 -2
  26. bl_operators/add_mesh_torus/__init__.pyi +120 -49
  27. bl_operators/anim/__init__.pyi +903 -297
  28. bl_operators/assets/__init__.pyi +348 -123
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
  30. bl_operators/clip/__init__.pyi +1262 -470
  31. bl_operators/console/__init__.pyi +542 -160
  32. bl_operators/constraint/__init__.pyi +452 -140
  33. bl_operators/file/__init__.pyi +339 -114
  34. bl_operators/freestyle/__init__.pyi +440 -132
  35. bl_operators/geometry_nodes/__init__.pyi +2131 -842
  36. bl_operators/image/__init__.pyi +330 -97
  37. bl_operators/mesh/__init__.pyi +339 -109
  38. bl_operators/node/__init__.pyi +1506 -621
  39. bl_operators/object/__init__.pyi +1828 -668
  40. bl_operators/object_align/__init__.pyi +124 -35
  41. bl_operators/object_quick_effects/__init__.pyi +470 -149
  42. bl_operators/object_randomize_transform/__init__.pyi +114 -35
  43. bl_operators/presets/__init__.pyi +3056 -1374
  44. bl_operators/rigidbody/__init__.pyi +336 -106
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
  46. bl_operators/sequencer/__init__.pyi +579 -204
  47. bl_operators/spreadsheet/__init__.pyi +110 -38
  48. bl_operators/userpref/__init__.pyi +3201 -1236
  49. bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
  50. bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
  51. bl_operators/uvcalc_transform/__init__.pyi +295 -83
  52. bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
  53. bl_operators/view3d/__init__.pyi +542 -184
  54. bl_operators/wm/__init__.pyi +5554 -2159
  55. bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
  56. bl_rna_utils/data_path/__init__.pyi +12 -2
  57. bl_text_utils/external_editor/__init__.pyi +4 -1
  58. bl_ui/__init__.pyi +346 -146
  59. bl_ui/anim/__init__.pyi +107 -47
  60. bl_ui/asset_shelf/__init__.pyi +111 -33
  61. bl_ui/generic_ui_list/__init__.pyi +349 -146
  62. bl_ui/node_add_menu/__init__.pyi +138 -53
  63. bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
  64. bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
  65. bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
  66. bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
  67. bl_ui/properties_animviz/__init__.pyi +14 -12
  68. bl_ui/properties_collection/__init__.pyi +601 -218
  69. bl_ui/properties_constraint/__init__.pyi +10115 -10647
  70. bl_ui/properties_data_armature/__init__.pyi +1550 -648
  71. bl_ui/properties_data_bone/__init__.pyi +1317 -511
  72. bl_ui/properties_data_camera/__init__.pyi +1852 -719
  73. bl_ui/properties_data_curve/__init__.pyi +2015 -781
  74. bl_ui/properties_data_curves/__init__.pyi +713 -262
  75. bl_ui/properties_data_empty/__init__.pyi +252 -84
  76. bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
  77. bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
  78. bl_ui/properties_data_lattice/__init__.pyi +374 -123
  79. bl_ui/properties_data_light/__init__.pyi +1319 -489
  80. bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
  81. bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
  82. bl_ui/properties_data_metaball/__init__.pyi +610 -197
  83. bl_ui/properties_data_modifier/__init__.pyi +1143 -506
  84. bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
  85. bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
  86. bl_ui/properties_data_speaker/__init__.pyi +618 -195
  87. bl_ui/properties_data_volume/__init__.pyi +1052 -408
  88. bl_ui/properties_freestyle/__init__.pyi +3366 -1450
  89. bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
  90. bl_ui/properties_mask_common/__init__.pyi +803 -371
  91. bl_ui/properties_material/__init__.pyi +2038 -831
  92. bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
  93. bl_ui/properties_object/__init__.pyi +1863 -745
  94. bl_ui/properties_output/__init__.pyi +2482 -1071
  95. bl_ui/properties_paint_common/__init__.pyi +317 -424
  96. bl_ui/properties_particle/__init__.pyi +7235 -2942
  97. bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
  98. bl_ui/properties_physics_common/__init__.pyi +164 -51
  99. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
  100. bl_ui/properties_physics_field/__init__.pyi +1294 -486
  101. bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
  102. bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
  103. bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
  104. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
  105. bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
  106. bl_ui/properties_render/__init__.pyi +7177 -2939
  107. bl_ui/properties_scene/__init__.pyi +1881 -760
  108. bl_ui/properties_texture/__init__.pyi +3539 -1399
  109. bl_ui/properties_view_layer/__init__.pyi +2368 -940
  110. bl_ui/properties_workspace/__init__.pyi +517 -202
  111. bl_ui/properties_world/__init__.pyi +862 -269
  112. bl_ui/space_clip/__init__.pyi +9127 -4137
  113. bl_ui/space_console/__init__.pyi +666 -286
  114. bl_ui/space_dopesheet/__init__.pyi +3287 -1504
  115. bl_ui/space_filebrowser/__init__.pyi +3958 -1935
  116. bl_ui/space_graph/__init__.pyi +2406 -1142
  117. bl_ui/space_image/__init__.pyi +9242 -4526
  118. bl_ui/space_info/__init__.pyi +664 -285
  119. bl_ui/space_nla/__init__.pyi +2014 -932
  120. bl_ui/space_node/__init__.pyi +4549 -1949
  121. bl_ui/space_outliner/__init__.pyi +1619 -745
  122. bl_ui/space_properties/__init__.pyi +340 -105
  123. bl_ui/space_sequencer/__init__.pyi +9396 -4264
  124. bl_ui/space_spreadsheet/__init__.pyi +110 -60
  125. bl_ui/space_statusbar/__init__.pyi +107 -32
  126. bl_ui/space_text/__init__.pyi +1907 -872
  127. bl_ui/space_time/__init__.pyi +812 -327
  128. bl_ui/space_toolsystem_common/__init__.pyi +203 -99
  129. bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
  130. bl_ui/space_topbar/__init__.pyi +3131 -1437
  131. bl_ui/space_userpref/__init__.pyi +11510 -4926
  132. bl_ui/space_view3d/__init__.pyi +31358 -14417
  133. bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
  134. bl_ui/utils/__init__.pyi +7 -16
  135. bl_ui_utils/bug_report_url/__init__.pyi +4 -1
  136. bl_ui_utils/layout/__init__.pyi +4 -1
  137. blend_render_info/__init__.pyi +13 -3
  138. blf/__init__.pyi +5 -7
  139. bmesh/__init__.pyi +7 -7
  140. bmesh/geometry/__init__.pyi +5 -5
  141. bmesh/ops/__init__.pyi +490 -504
  142. bmesh/types/__init__.pyi +253 -247
  143. bmesh/utils/__init__.pyi +54 -54
  144. bpy/__init__.pyi +2 -2
  145. bpy/app/__init__.pyi +4 -5
  146. bpy/app/handlers/__init__.pyi +36 -36
  147. bpy/app/icons/__init__.pyi +8 -10
  148. bpy/app/timers/__init__.pyi +9 -11
  149. bpy/app/translations/__init__.pyi +20 -22
  150. bpy/msgbus/__init__.pyi +3 -12
  151. bpy/ops/action/__init__.pyi +316 -415
  152. bpy/ops/anim/__init__.pyi +428 -566
  153. bpy/ops/armature/__init__.pyi +360 -488
  154. bpy/ops/asset/__init__.pyi +146 -183
  155. bpy/ops/boid/__init__.pyi +50 -67
  156. bpy/ops/brush/__init__.pyi +72 -96
  157. bpy/ops/buttons/__init__.pyi +128 -142
  158. bpy/ops/cachefile/__init__.pyi +124 -137
  159. bpy/ops/camera/__init__.pyi +22 -28
  160. bpy/ops/clip/__init__.pyi +768 -1005
  161. bpy/ops/cloth/__init__.pyi +10 -13
  162. bpy/ops/collection/__init__.pyi +36 -50
  163. bpy/ops/console/__init__.pyi +150 -203
  164. bpy/ops/constraint/__init__.pyi +150 -201
  165. bpy/ops/curve/__init__.pyi +474 -607
  166. bpy/ops/curves/__init__.pyi +170 -221
  167. bpy/ops/cycles/__init__.pyi +18 -26
  168. bpy/ops/dpaint/__init__.pyi +34 -46
  169. bpy/ops/ed/__init__.pyi +122 -149
  170. bpy/ops/export_anim/__init__.pyi +18 -21
  171. bpy/ops/export_mesh/__init__.pyi +26 -29
  172. bpy/ops/export_scene/__init__.pyi +307 -342
  173. bpy/ops/file/__init__.pyi +342 -436
  174. bpy/ops/fluid/__init__.pyi +88 -117
  175. bpy/ops/font/__init__.pyi +252 -311
  176. bpy/ops/geometry/__init__.pyi +86 -113
  177. bpy/ops/gizmogroup/__init__.pyi +22 -27
  178. bpy/ops/gpencil/__init__.pyi +1444 -1864
  179. bpy/ops/graph/__init__.pyi +646 -823
  180. bpy/ops/grease_pencil/__init__.pyi +426 -576
  181. bpy/ops/image/__init__.pyi +612 -733
  182. bpy/ops/import_anim/__init__.pyi +26 -29
  183. bpy/ops/import_curve/__init__.pyi +6 -9
  184. bpy/ops/import_mesh/__init__.pyi +18 -23
  185. bpy/ops/import_scene/__init__.pyi +86 -101
  186. bpy/ops/info/__init__.pyi +60 -77
  187. bpy/ops/lattice/__init__.pyi +64 -85
  188. bpy/ops/marker/__init__.pyi +106 -137
  189. bpy/ops/mask/__init__.pyi +318 -420
  190. bpy/ops/material/__init__.pyi +18 -24
  191. bpy/ops/mball/__init__.pyi +70 -93
  192. bpy/ops/mesh/__init__.pyi +1988 -2460
  193. bpy/ops/nla/__init__.pyi +331 -429
  194. bpy/ops/node/__init__.pyi +852 -1115
  195. bpy/ops/object/__init__.pyi +2420 -3081
  196. bpy/ops/outliner/__init__.pyi +498 -661
  197. bpy/ops/paint/__init__.pyi +518 -667
  198. bpy/ops/paintcurve/__init__.pyi +64 -84
  199. bpy/ops/palette/__init__.pyi +48 -66
  200. bpy/ops/particle/__init__.pyi +264 -355
  201. bpy/ops/pose/__init__.pyi +336 -438
  202. bpy/ops/poselib/__init__.pyi +70 -92
  203. bpy/ops/preferences/__init__.pyi +336 -440
  204. bpy/ops/ptcache/__init__.pyi +46 -62
  205. bpy/ops/render/__init__.pyi +114 -147
  206. bpy/ops/rigidbody/__init__.pyi +102 -135
  207. bpy/ops/scene/__init__.pyi +270 -364
  208. bpy/ops/screen/__init__.pyi +378 -477
  209. bpy/ops/script/__init__.pyi +18 -26
  210. bpy/ops/sculpt/__init__.pyi +400 -488
  211. bpy/ops/sculpt_curves/__init__.pyi +40 -53
  212. bpy/ops/sequencer/__init__.pyi +1040 -1279
  213. bpy/ops/sound/__init__.pyi +208 -226
  214. bpy/ops/spreadsheet/__init__.pyi +30 -40
  215. bpy/ops/surface/__init__.pyi +108 -126
  216. bpy/ops/text/__init__.pyi +382 -486
  217. bpy/ops/text_editor/__init__.pyi +10 -13
  218. bpy/ops/texture/__init__.pyi +26 -35
  219. bpy/ops/transform/__init__.pyi +790 -905
  220. bpy/ops/ui/__init__.pyi +216 -291
  221. bpy/ops/uilist/__init__.pyi +20 -29
  222. bpy/ops/uv/__init__.pyi +600 -742
  223. bpy/ops/view2d/__init__.pyi +156 -195
  224. bpy/ops/view3d/__init__.pyi +576 -742
  225. bpy/ops/wm/__init__.pyi +2360 -2702
  226. bpy/ops/workspace/__init__.pyi +42 -57
  227. bpy/ops/world/__init__.pyi +6 -8
  228. bpy/path/__init__.pyi +110 -81
  229. bpy/props/__init__.pyi +263 -267
  230. bpy/types/__init__.pyi +86446 -87424
  231. bpy/utils/__init__.pyi +242 -154
  232. bpy/utils/previews/__init__.pyi +57 -57
  233. bpy/utils/units/__init__.pyi +19 -22
  234. bpy_extras/anim_utils/__init__.pyi +11 -31
  235. bpy_extras/asset_utils/__init__.pyi +4 -1
  236. bpy_extras/image_utils/__init__.pyi +2 -2
  237. bpy_extras/io_utils/__init__.pyi +30 -27
  238. bpy_extras/keyconfig_utils/__init__.pyi +4 -1
  239. bpy_extras/mesh_utils/__init__.pyi +18 -18
  240. bpy_extras/node_utils/__init__.pyi +4 -1
  241. bpy_extras/object_utils/__init__.pyi +25 -26
  242. bpy_extras/view3d_utils/__init__.pyi +33 -38
  243. bpy_restrict_state/__init__.pyi +14 -1
  244. bpy_types/__init__.pyi +3748 -1248
  245. console_python/__init__.pyi +41 -7
  246. console_shell/__init__.pyi +24 -5
  247. {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/METADATA +1 -1
  248. fake_bpy_module-20240324.dist-info/RECORD +343 -0
  249. freestyle/chainingiterators/__init__.pyi +50 -52
  250. freestyle/functions/__init__.pyi +303 -207
  251. freestyle/predicates/__init__.pyi +299 -115
  252. freestyle/shaders/__init__.pyi +49 -80
  253. freestyle/types/__init__.pyi +463 -470
  254. freestyle/utils/ContextFunctions/__init__.pyi +9 -9
  255. freestyle/utils/__init__.pyi +27 -17
  256. gpu/capabilities/__init__.pyi +19 -20
  257. gpu/matrix/__init__.pyi +14 -16
  258. gpu/platform/__init__.pyi +5 -5
  259. gpu/shader/__init__.pyi +2 -5
  260. gpu/state/__init__.pyi +1 -1
  261. gpu/texture/__init__.pyi +3 -3
  262. gpu/types/__init__.pyi +54 -85
  263. gpu_extras/batch/__init__.pyi +26 -6
  264. gpu_extras/presets/__init__.pyi +51 -16
  265. graphviz_export/__init__.pyi +9 -2
  266. idprop/types/__init__.pyi +36 -12
  267. imbuf/__init__.pyi +8 -9
  268. imbuf/types/__init__.pyi +8 -15
  269. keyingsets_builtins/__init__.pyi +2520 -1085
  270. keyingsets_utils/__init__.pyi +69 -14
  271. mathutils/__init__.pyi +491 -423
  272. mathutils/bvhtree/__init__.pyi +26 -31
  273. mathutils/geometry/__init__.pyi +176 -185
  274. mathutils/kdtree/__init__.pyi +14 -17
  275. mathutils/noise/__init__.pyi +47 -48
  276. nodeitems_builtins/__init__.pyi +37 -15
  277. nodeitems_utils/__init__.pyi +45 -13
  278. rna_info/__init__.pyi +177 -76
  279. rna_keymap_ui/__init__.pyi +29 -6
  280. rna_prop_ui/__init__.pyi +56 -14
  281. rna_xml/__init__.pyi +29 -6
  282. sys_info/__init__.pyi +4 -1
  283. fake_bpy_module-20240321.dist-info/RECORD +0 -343
  284. {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/WHEEL +0 -0
  285. {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/top_level.txt +0 -0
@@ -6,8 +6,8 @@ GenericType = typing.TypeVar("GenericType")
6
6
  def get_border() -> typing.Tuple:
7
7
  """Returns the border.
8
8
 
9
- :rtype: typing.Tuple
10
9
  :return: A tuple of 4 numbers (xmin, ymin, xmax, ymax).
10
+ :rtype: typing.Tuple
11
11
  """
12
12
 
13
13
  ...
@@ -15,8 +15,8 @@ def get_border() -> typing.Tuple:
15
15
  def get_canvas_height() -> int:
16
16
  """Returns the canvas height.
17
17
 
18
- :rtype: int
19
18
  :return: The canvas height.
19
+ :rtype: int
20
20
  """
21
21
 
22
22
  ...
@@ -24,17 +24,17 @@ def get_canvas_height() -> int:
24
24
  def get_canvas_width() -> int:
25
25
  """Returns the canvas width.
26
26
 
27
- :rtype: int
28
27
  :return: The canvas width.
28
+ :rtype: int
29
29
  """
30
30
 
31
31
  ...
32
32
 
33
- def get_selected_fedge() -> "freestyle.types.FEdge":
33
+ def get_selected_fedge() -> freestyle.types.FEdge:
34
34
  """Returns the selected FEdge.
35
35
 
36
- :rtype: 'freestyle.types.FEdge'
37
36
  :return: The selected FEdge.
37
+ :rtype: freestyle.types.FEdge
38
38
  """
39
39
 
40
40
  ...
@@ -42,8 +42,8 @@ def get_selected_fedge() -> "freestyle.types.FEdge":
42
42
  def get_time_stamp() -> int:
43
43
  """Returns the system time stamp.
44
44
 
45
- :rtype: int
46
45
  :return: The system time stamp.
46
+ :rtype: int
47
47
  """
48
48
 
49
49
  ...
@@ -77,8 +77,8 @@ def read_complete_view_map_pixel(level: int, x: int, y: int) -> float:
77
77
  :param y: The y coordinate of the pixel we wish to read. The origin
78
78
  is in the lower-left corner.
79
79
  :type y: int
80
- :rtype: float
81
80
  :return: The floating-point value stored for that pixel.
81
+ :rtype: float
82
82
  """
83
83
 
84
84
  ...
@@ -100,8 +100,8 @@ def read_directional_view_map_pixel(
100
100
  :param y: The y coordinate of the pixel we wish to read. The origin
101
101
  is in the lower-left corner.
102
102
  :type y: int
103
- :rtype: float
104
103
  :return: The floating-point value stored for that pixel.
104
+ :rtype: float
105
105
  """
106
106
 
107
107
  ...
@@ -120,8 +120,8 @@ def read_map_pixel(map_name: str, level: int, x: int, y: int) -> float:
120
120
  :param y: The y coordinate of the pixel we wish to read. The origin
121
121
  is in the lower-left corner.
122
122
  :type y: int
123
- :rtype: float
124
123
  :return: The floating-point value stored for that pixel.
124
+ :rtype: float
125
125
  """
126
126
 
127
127
  ...
@@ -13,7 +13,6 @@ class BoundingBox:
13
13
  """True if self inside other, False otherwise
14
14
 
15
15
  :param other:
16
- :type other:
17
16
  """
18
17
  ...
19
18
 
@@ -24,7 +23,6 @@ class StrokeCollector:
24
23
  """
25
24
 
26
25
  :param stroke:
27
- :type stroke:
28
26
  """
29
27
  ...
30
28
 
@@ -33,23 +31,31 @@ def angle_x_normal(it):
33
31
 
34
32
  ...
35
33
 
36
- def bound(lower, x, higher): ...
34
+ def bound(lower, x, higher):
35
+ """ """
36
+
37
+ ...
38
+
37
39
  def bounding_box(stroke):
38
40
  """Returns the maximum and minimum coordinates (the bounding box) of the stroke's vertices"""
39
41
 
40
42
  ...
41
43
 
42
- def curvature_from_stroke_vertex(svert): ...
44
+ def curvature_from_stroke_vertex(svert):
45
+ """ """
46
+
47
+ ...
48
+
43
49
  def find_matching_vertex(id, it):
44
50
  """Finds the matching vertex, or returns None."""
45
51
 
46
52
  ...
47
53
 
48
- def getCurrentScene() -> "bpy.types.Scene":
54
+ def getCurrentScene() -> bpy.types.Scene:
49
55
  """Returns the current scene.
50
56
 
51
- :rtype: 'bpy.types.Scene'
52
57
  :return: The current scene.
58
+ :rtype: bpy.types.Scene
53
59
  """
54
60
 
55
61
  ...
@@ -75,32 +81,32 @@ def get_test_stroke():
75
81
  ...
76
82
 
77
83
  def integrate(
78
- func: "freestyle.types.UnaryFunction0D",
79
- it: "freestyle.types.Interface0DIterator",
80
- it_end: "freestyle.types.Interface0DIterator",
81
- integration_type: "freestyle.types.IntegrationType",
82
- ) -> typing.Union[float, int]:
84
+ func: freestyle.types.UnaryFunction0D,
85
+ it: freestyle.types.Interface0DIterator,
86
+ it_end: freestyle.types.Interface0DIterator,
87
+ integration_type: freestyle.types.IntegrationType,
88
+ ) -> typing.Union[int, float]:
83
89
  """Returns a single value from a set of values evaluated at each 0D
84
90
  element of this 1D element.
85
91
 
86
92
  :param func: The UnaryFunction0D used to compute a value at each
87
93
  Interface0D.
88
- :type func: 'freestyle.types.UnaryFunction0D'
94
+ :type func: freestyle.types.UnaryFunction0D
89
95
  :param it: The Interface0DIterator used to iterate over the 0D
90
96
  elements of this 1D element. The integration will occur over
91
97
  the 0D elements starting from the one pointed by it.
92
- :type it: 'freestyle.types.Interface0DIterator'
98
+ :type it: freestyle.types.Interface0DIterator
93
99
  :param it_end: The Interface0DIterator pointing the end of the 0D
94
100
  elements of the 1D element.
95
- :type it_end: 'freestyle.types.Interface0DIterator'
101
+ :type it_end: freestyle.types.Interface0DIterator
96
102
  :param integration_type: The integration method used to compute a
97
103
  single value from a set of values.
98
- :type integration_type: 'freestyle.types.IntegrationType'
99
- :rtype: typing.Union[float, int]
104
+ :type integration_type: freestyle.types.IntegrationType
100
105
  :return: The single value obtained for the 1D element. The return
101
106
  value type is float if func is of the `UnaryFunction0DDouble`
102
107
  or `UnaryFunction0DFloat` type, and int if func is of the
103
108
  `UnaryFunction0DUnsigned` type.
109
+ :rtype: typing.Union[int, float]
104
110
  """
105
111
 
106
112
  ...
@@ -148,7 +154,11 @@ def material_from_fedge(fe):
148
154
 
149
155
  ...
150
156
 
151
- def normal_at_I0D(it): ...
157
+ def normal_at_I0D(it):
158
+ """ """
159
+
160
+ ...
161
+
152
162
  def pairwise(iterable, types={"None"}):
153
163
  """Yields a tuple containing the previous and current object"""
154
164
 
@@ -5,16 +5,15 @@ GenericType = typing.TypeVar("GenericType")
5
5
  def compute_shader_support_get() -> bool:
6
6
  """Are compute shaders supported.
7
7
 
8
- :rtype: bool
9
8
  :return: True when supported, False when not supported.
9
+ :rtype: bool
10
10
  """
11
11
 
12
12
  ...
13
13
 
14
- def extensions_get() -> typing.Tuple:
14
+ def extensions_get():
15
15
  """Get supported extensions in the current context.
16
16
 
17
- :rtype: typing.Tuple
18
17
  :return: Extensions.
19
18
  """
20
19
 
@@ -23,8 +22,8 @@ def extensions_get() -> typing.Tuple:
23
22
  def hdr_support_get() -> bool:
24
23
  """Return whether GPU backend supports High Dynamic range for viewport.
25
24
 
26
- :rtype: bool
27
25
  :return: HDR support available.
26
+ :rtype: bool
28
27
  """
29
28
 
30
29
  ...
@@ -32,8 +31,8 @@ def hdr_support_get() -> bool:
32
31
  def max_batch_indices_get() -> int:
33
32
  """Get maximum number of vertex array indices.
34
33
 
35
- :rtype: int
36
34
  :return: Number of indices.
35
+ :rtype: int
37
36
  """
38
37
 
39
38
  ...
@@ -41,8 +40,8 @@ def max_batch_indices_get() -> int:
41
40
  def max_batch_vertices_get() -> int:
42
41
  """Get maximum number of vertex array vertices.
43
42
 
44
- :rtype: int
45
43
  :return: Number of vertices.
44
+ :rtype: int
46
45
  """
47
46
 
48
47
  ...
@@ -50,8 +49,8 @@ def max_batch_vertices_get() -> int:
50
49
  def max_images_get() -> int:
51
50
  """Get maximum supported number of image units.
52
51
 
53
- :rtype: int
54
52
  :return: Number of image units.
53
+ :rtype: int
55
54
  """
56
55
 
57
56
  ...
@@ -59,8 +58,8 @@ def max_images_get() -> int:
59
58
  def max_texture_layers_get() -> int:
60
59
  """Get maximum number of layers in texture.
61
60
 
62
- :rtype: int
63
61
  :return: Number of layers.
62
+ :rtype: int
64
63
  """
65
64
 
66
65
  ...
@@ -68,8 +67,8 @@ def max_texture_layers_get() -> int:
68
67
  def max_texture_size_get() -> int:
69
68
  """Get estimated maximum texture size to be able to handle.
70
69
 
71
- :rtype: int
72
70
  :return: Texture size.
71
+ :rtype: int
73
72
  """
74
73
 
75
74
  ...
@@ -78,8 +77,8 @@ def max_textures_frag_get() -> int:
78
77
  """Get maximum supported texture image units used for
79
78
  accessing texture maps from the fragment shader.
80
79
 
81
- :rtype: int
82
80
  :return: Texture image units.
81
+ :rtype: int
83
82
  """
84
83
 
85
84
  ...
@@ -88,8 +87,8 @@ def max_textures_geom_get() -> int:
88
87
  """Get maximum supported texture image units used for
89
88
  accessing texture maps from the geometry shader.
90
89
 
91
- :rtype: int
92
90
  :return: Texture image units.
91
+ :rtype: int
93
92
  """
94
93
 
95
94
  ...
@@ -99,8 +98,8 @@ def max_textures_get() -> int:
99
98
  accessing texture maps from the vertex shader and the
100
99
  fragment processor.
101
100
 
102
- :rtype: int
103
101
  :return: Texture image units.
102
+ :rtype: int
104
103
  """
105
104
 
106
105
  ...
@@ -109,8 +108,8 @@ def max_textures_vert_get() -> int:
109
108
  """Get maximum supported texture image units used for
110
109
  accessing texture maps from the vertex shader.
111
110
 
112
- :rtype: int
113
111
  :return: Texture image units.
112
+ :rtype: int
114
113
  """
115
114
 
116
115
  ...
@@ -119,8 +118,8 @@ def max_uniforms_frag_get() -> int:
119
118
  """Get maximum number of values held in uniform variable
120
119
  storage for a fragment shader.
121
120
 
122
- :rtype: int
123
121
  :return: Number of values.
122
+ :rtype: int
124
123
  """
125
124
 
126
125
  ...
@@ -129,8 +128,8 @@ def max_uniforms_vert_get() -> int:
129
128
  """Get maximum number of values held in uniform variable
130
129
  storage for a vertex shader.
131
130
 
132
- :rtype: int
133
131
  :return: Number of values.
132
+ :rtype: int
134
133
  """
135
134
 
136
135
  ...
@@ -139,8 +138,8 @@ def max_varying_floats_get() -> int:
139
138
  """Get maximum number of varying variables used by
140
139
  vertex and fragment shaders.
141
140
 
142
- :rtype: int
143
141
  :return: Number of variables.
142
+ :rtype: int
144
143
  """
145
144
 
146
145
  ...
@@ -149,8 +148,8 @@ def max_vertex_attribs_get() -> int:
149
148
  """Get maximum number of vertex attributes accessible to
150
149
  a vertex shader.
151
150
 
152
- :rtype: int
153
151
  :return: Number of attributes.
152
+ :rtype: int
154
153
  """
155
154
 
156
155
  ...
@@ -160,8 +159,8 @@ def max_work_group_count_get(index: int) -> int:
160
159
 
161
160
  :param index: Index of the dimension.
162
161
  :type index: int
163
- :rtype: int
164
162
  :return: Maximum number of work groups for the queried dimension.
163
+ :rtype: int
165
164
  """
166
165
 
167
166
  ...
@@ -171,8 +170,8 @@ def max_work_group_size_get(index: int) -> int:
171
170
 
172
171
  :param index: Index of the dimension.
173
172
  :type index: int
174
- :rtype: int
175
173
  :return: Maximum size of a work group for the queried dimension.
174
+ :rtype: int
176
175
  """
177
176
 
178
177
  ...
@@ -180,8 +179,8 @@ def max_work_group_size_get(index: int) -> int:
180
179
  def shader_image_load_store_support_get() -> bool:
181
180
  """Is image load/store supported.
182
181
 
183
- :rtype: bool
184
182
  :return: True when supported, False when not supported.
183
+ :rtype: bool
185
184
  """
186
185
 
187
186
  ...
gpu/matrix/__init__.pyi CHANGED
@@ -3,29 +3,29 @@ import mathutils
3
3
 
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
- def get_model_view_matrix() -> "mathutils.Matrix":
6
+ def get_model_view_matrix() -> mathutils.Matrix:
7
7
  """Return a copy of the model-view matrix.
8
8
 
9
- :rtype: 'mathutils.Matrix'
10
9
  :return: A 4x4 view matrix.
10
+ :rtype: mathutils.Matrix
11
11
  """
12
12
 
13
13
  ...
14
14
 
15
- def get_normal_matrix() -> "mathutils.Matrix":
15
+ def get_normal_matrix() -> mathutils.Matrix:
16
16
  """Return a copy of the normal matrix.
17
17
 
18
- :rtype: 'mathutils.Matrix'
19
18
  :return: A 3x3 normal matrix.
19
+ :rtype: mathutils.Matrix
20
20
  """
21
21
 
22
22
  ...
23
23
 
24
- def get_projection_matrix() -> "mathutils.Matrix":
24
+ def get_projection_matrix() -> mathutils.Matrix:
25
25
  """Return a copy of the projection matrix.
26
26
 
27
- :rtype: 'mathutils.Matrix'
28
27
  :return: A 4x4 projection matrix.
28
+ :rtype: mathutils.Matrix
29
29
  """
30
30
 
31
31
  ...
@@ -35,31 +35,31 @@ def load_identity():
35
35
 
36
36
  ...
37
37
 
38
- def load_matrix(matrix: typing.Union["mathutils.Matrix", typing.Sequence[float]]):
38
+ def load_matrix(matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]):
39
39
  """Load a matrix into the stack.
40
40
 
41
41
  :param matrix: A 4x4 matrix.
42
- :type matrix: typing.Union['mathutils.Matrix', typing.Sequence[float]]
42
+ :type matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]
43
43
  """
44
44
 
45
45
  ...
46
46
 
47
47
  def load_projection_matrix(
48
- matrix: typing.Union["mathutils.Matrix", typing.Sequence[float]],
48
+ matrix: typing.Union[typing.Sequence[float], mathutils.Matrix],
49
49
  ):
50
50
  """Load a projection matrix into the stack.
51
51
 
52
52
  :param matrix: A 4x4 matrix.
53
- :type matrix: typing.Union['mathutils.Matrix', typing.Sequence[float]]
53
+ :type matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]
54
54
  """
55
55
 
56
56
  ...
57
57
 
58
- def multiply_matrix(matrix: typing.Union["mathutils.Matrix", typing.Sequence[float]]):
58
+ def multiply_matrix(matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]):
59
59
  """Multiply the current stack matrix.
60
60
 
61
61
  :param matrix: A 4x4 matrix.
62
- :type matrix: typing.Union['mathutils.Matrix', typing.Sequence[float]]
62
+ :type matrix: typing.Union[typing.Sequence[float], mathutils.Matrix]
63
63
  """
64
64
 
65
65
  ...
@@ -99,11 +99,10 @@ def reset():
99
99
 
100
100
  ...
101
101
 
102
- def scale(scale: typing.List):
102
+ def scale(scale):
103
103
  """Scale the current stack matrix.
104
104
 
105
105
  :param scale: Scale the current stack matrix.
106
- :type scale: typing.List
107
106
  """
108
107
 
109
108
  ...
@@ -117,11 +116,10 @@ def scale_uniform(scale: float):
117
116
 
118
117
  ...
119
118
 
120
- def translate(offset: typing.List):
119
+ def translate(offset):
121
120
  """Scale the current stack matrix.
122
121
 
123
122
  :param offset: Translate the current stack matrix.
124
- :type offset: typing.List
125
123
  """
126
124
 
127
125
  ...
gpu/platform/__init__.pyi CHANGED
@@ -5,8 +5,8 @@ GenericType = typing.TypeVar("GenericType")
5
5
  def backend_type_get() -> str:
6
6
  """Get actuve GPU backend.
7
7
 
8
- :rtype: str
9
8
  :return: Backend type ('OPENGL', 'VULKAN', 'METAL', 'NONE', 'UNKNOWN').
9
+ :rtype: str
10
10
  """
11
11
 
12
12
  ...
@@ -14,8 +14,8 @@ def backend_type_get() -> str:
14
14
  def device_type_get() -> str:
15
15
  """Get GPU device type.
16
16
 
17
- :rtype: str
18
17
  :return: Device type ('APPLE', 'NVIDIA', 'AMD', 'INTEL', 'SOFTWARE', 'QUALCOMM', 'UNKNOWN').
18
+ :rtype: str
19
19
  """
20
20
 
21
21
  ...
@@ -23,8 +23,8 @@ def device_type_get() -> str:
23
23
  def renderer_get() -> str:
24
24
  """Get GPU to be used for rendering.
25
25
 
26
- :rtype: str
27
26
  :return: GPU name.
27
+ :rtype: str
28
28
  """
29
29
 
30
30
  ...
@@ -32,8 +32,8 @@ def renderer_get() -> str:
32
32
  def vendor_get() -> str:
33
33
  """Get GPU vendor.
34
34
 
35
- :rtype: str
36
35
  :return: Vendor name.
36
+ :rtype: str
37
37
  """
38
38
 
39
39
  ...
@@ -41,8 +41,8 @@ def vendor_get() -> str:
41
41
  def version_get() -> str:
42
42
  """Get GPU driver version.
43
43
 
44
- :rtype: str
45
44
  :return: Driver version.
45
+ :rtype: str
46
46
  """
47
47
 
48
48
  ...
gpu/shader/__init__.pyi CHANGED
@@ -2,18 +2,16 @@ import typing
2
2
 
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
- def create_from_info(shader_info: typing.Any) -> typing.Any:
5
+ def create_from_info(shader_info):
6
6
  """Create shader from a GPUShaderCreateInfo.
7
7
 
8
8
  :param shader_info: GPUShaderCreateInfo
9
- :type shader_info: typing.Any
10
- :rtype: typing.Any
11
9
  :return: Shader object corresponding to the given name.
12
10
  """
13
11
 
14
12
  ...
15
13
 
16
- def from_builtin(shader_name: str, config: str = "DEFAULT") -> typing.Any:
14
+ def from_builtin(shader_name: str, config: str = "DEFAULT"):
17
15
  """Shaders that are embedded in the blender internal code (see `built-in-shaders`).
18
16
  They all read the uniform mat4 ModelViewProjectionMatrix,
19
17
  which can be edited by the `gpu.matrix` module.You can also choose a shader configuration that uses clip_planes by setting the CLIPPED value to the config parameter. Note that in this case you also need to manually set the value of mat4 ModelMatrix.
@@ -26,7 +24,6 @@ def from_builtin(shader_name: str, config: str = "DEFAULT") -> typing.Any:
26
24
 
27
25
  CLIPPED
28
26
  :type config: str
29
- :rtype: typing.Any
30
27
  :return: Shader object corresponding to the given name.
31
28
  """
32
29
 
gpu/state/__init__.pyi CHANGED
@@ -119,11 +119,11 @@ def scissor_get() -> typing.Union[int, int]:
119
119
  """Retrieve the scissors of the active framebuffer.
120
120
  Note: Only valid between 'scissor_set' and a framebuffer rebind.
121
121
 
122
- :rtype: typing.Union[int, int]
123
122
  :return: The scissor of the active framebuffer as a tuple
124
123
  (x, y, xsize, ysize).
125
124
  x, y: lower left corner of the scissor rectangle, in pixels.
126
125
  xsize, ysize: width and height of the scissor rectangle.
126
+ :rtype: typing.Union[int, int]
127
127
  """
128
128
 
129
129
  ...
gpu/texture/__init__.pyi CHANGED
@@ -4,14 +4,14 @@ import gpu.types
4
4
 
5
5
  GenericType = typing.TypeVar("GenericType")
6
6
 
7
- def from_image(image: "bpy.types.Image") -> "gpu.types.GPUTexture":
7
+ def from_image(image: bpy.types.Image) -> gpu.types.GPUTexture:
8
8
  """Get GPUTexture corresponding to an Image datablock. The GPUTexture memory is shared with Blender.
9
9
  Note: Colors read from the texture will be in scene linear color space and have premultiplied or straight alpha matching the image alpha mode.
10
10
 
11
11
  :param image: The Image datablock.
12
- :type image: 'bpy.types.Image'
13
- :rtype: 'gpu.types.GPUTexture'
12
+ :type image: bpy.types.Image
14
13
  :return: The GPUTexture used by the image.
14
+ :rtype: gpu.types.GPUTexture
15
15
  """
16
16
 
17
17
  ...