fake-bpy-module 20240915__py3-none-any.whl → 20240916__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 (325) hide show
  1. _bpy_internal/__init__.pyi +2 -2
  2. _bpy_internal/addons/__init__.pyi +2 -2
  3. _bpy_internal/addons/cli/__init__.pyi +2 -2
  4. _bpy_internal/extensions/__init__.pyi +2 -2
  5. _bpy_internal/extensions/junction_module/__init__.pyi +2 -8
  6. _bpy_internal/extensions/stale_file_manager/__init__.pyi +2 -6
  7. _bpy_internal/extensions/wheel_manager/__init__.pyi +2 -6
  8. _bpy_internal/freedesktop/__init__.pyi +2 -2
  9. _bpy_internal/grease_pencil/__init__.pyi +2 -2
  10. _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -16
  11. _bpy_internal/system_info/__init__.pyi +2 -2
  12. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -2
  13. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -2
  14. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
  15. addon_utils/__init__.pyi +2 -12
  16. animsys_refactor/__init__.pyi +2 -3
  17. aud/__init__.pyi +2 -71
  18. bgl/__init__.pyi +2 -526
  19. bl_app_override/__init__.pyi +2 -2
  20. bl_app_override/helpers/__init__.pyi +2 -2
  21. bl_app_template_utils/__init__.pyi +2 -4
  22. bl_console_utils/__init__.pyi +2 -2
  23. bl_console_utils/autocomplete/__init__.pyi +2 -2
  24. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -12
  25. bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -8
  26. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -12
  27. bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -6
  28. bl_i18n_utils/__init__.pyi +2 -2
  29. bl_i18n_utils/bl_extract_messages/__init__.pyi +2 -6
  30. bl_i18n_utils/merge_po/__init__.pyi +2 -2
  31. bl_i18n_utils/settings/__init__.pyi +2 -6
  32. bl_i18n_utils/utils/__init__.pyi +2 -45
  33. bl_i18n_utils/utils_cli/__init__.pyi +2 -2
  34. bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -2
  35. bl_i18n_utils/utils_rtl/__init__.pyi +2 -6
  36. bl_keymap_utils/__init__.pyi +2 -2
  37. bl_keymap_utils/io/__init__.pyi +2 -4
  38. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -4
  39. bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -2
  40. bl_keymap_utils/platform_helpers/__init__.pyi +2 -4
  41. bl_keymap_utils/versioning/__init__.pyi +2 -2
  42. bl_math/__init__.pyi +2 -8
  43. bl_operators/__init__.pyi +2 -2
  44. bl_operators/add_mesh_torus/__init__.pyi +2 -8
  45. bl_operators/anim/__init__.pyi +2 -48
  46. bl_operators/assets/__init__.pyi +2 -17
  47. bl_operators/bmesh/__init__.pyi +2 -2
  48. bl_operators/bmesh/find_adjacent/__init__.pyi +2 -6
  49. bl_operators/bone_selection_sets/__init__.pyi +2 -46
  50. bl_operators/clip/__init__.pyi +2 -43
  51. bl_operators/connect_to_output/__init__.pyi +2 -18
  52. bl_operators/console/__init__.pyi +2 -22
  53. bl_operators/constraint/__init__.pyi +2 -18
  54. bl_operators/file/__init__.pyi +2 -14
  55. bl_operators/freestyle/__init__.pyi +2 -19
  56. bl_operators/geometry_nodes/__init__.pyi +2 -21
  57. bl_operators/image/__init__.pyi +2 -19
  58. bl_operators/image_as_planes/__init__.pyi +2 -43
  59. bl_operators/mesh/__init__.pyi +2 -15
  60. bl_operators/node/__init__.pyi +2 -41
  61. bl_operators/node_editor/__init__.pyi +2 -2
  62. bl_operators/node_editor/node_functions/__init__.pyi +2 -3
  63. bl_operators/object/__init__.pyi +2 -63
  64. bl_operators/object_align/__init__.pyi +2 -6
  65. bl_operators/object_quick_effects/__init__.pyi +2 -18
  66. bl_operators/object_randomize_transform/__init__.pyi +2 -6
  67. bl_operators/presets/__init__.pyi +2 -70
  68. bl_operators/rigidbody/__init__.pyi +2 -15
  69. bl_operators/screen_play_rendered_anim/__init__.pyi +2 -5
  70. bl_operators/sequencer/__init__.pyi +2 -36
  71. bl_operators/spreadsheet/__init__.pyi +2 -8
  72. bl_operators/userpref/__init__.pyi +2 -93
  73. bl_operators/uvcalc_follow_active/__init__.pyi +2 -7
  74. bl_operators/uvcalc_lightmap/__init__.pyi +2 -11
  75. bl_operators/uvcalc_transform/__init__.pyi +2 -19
  76. bl_operators/vertexpaint_dirt/__init__.pyi +2 -6
  77. bl_operators/view3d/__init__.pyi +2 -37
  78. bl_operators/wm/__init__.pyi +2 -168
  79. bl_operators/world/__init__.pyi +2 -6
  80. bl_previews_utils/__init__.pyi +2 -2
  81. bl_previews_utils/bl_previews_render/__init__.pyi +2 -2
  82. bl_rna_utils/__init__.pyi +2 -2
  83. bl_rna_utils/data_path/__init__.pyi +2 -6
  84. bl_text_utils/__init__.pyi +2 -2
  85. bl_text_utils/external_editor/__init__.pyi +2 -2
  86. bl_ui/__init__.pyi +2 -11
  87. bl_ui/anim/__init__.pyi +2 -5
  88. bl_ui/asset_shelf/__init__.pyi +2 -6
  89. bl_ui/generic_ui_list/__init__.pyi +2 -16
  90. bl_ui/node_add_menu/__init__.pyi +2 -11
  91. bl_ui/node_add_menu_compositor/__init__.pyi +2 -53
  92. bl_ui/node_add_menu_geometry/__init__.pyi +2 -152
  93. bl_ui/node_add_menu_shader/__init__.pyi +2 -31
  94. bl_ui/node_add_menu_texture/__init__.pyi +2 -29
  95. bl_ui/properties_animviz/__init__.pyi +2 -4
  96. bl_ui/properties_collection/__init__.pyi +2 -20
  97. bl_ui/properties_constraint/__init__.pyi +2 -288
  98. bl_ui/properties_data_armature/__init__.pyi +2 -60
  99. bl_ui/properties_data_bone/__init__.pyi +2 -42
  100. bl_ui/properties_data_camera/__init__.pyi +2 -51
  101. bl_ui/properties_data_curve/__init__.pyi +2 -58
  102. bl_ui/properties_data_curves/__init__.pyi +2 -24
  103. bl_ui/properties_data_empty/__init__.pyi +2 -10
  104. bl_ui/properties_data_gpencil/__init__.pyi +2 -57
  105. bl_ui/properties_data_grease_pencil/__init__.pyi +2 -49
  106. bl_ui/properties_data_lattice/__init__.pyi +2 -14
  107. bl_ui/properties_data_light/__init__.pyi +2 -50
  108. bl_ui/properties_data_lightprobe/__init__.pyi +2 -48
  109. bl_ui/properties_data_mesh/__init__.pyi +2 -69
  110. bl_ui/properties_data_metaball/__init__.pyi +2 -20
  111. bl_ui/properties_data_modifier/__init__.pyi +2 -36
  112. bl_ui/properties_data_pointcloud/__init__.pyi +2 -19
  113. bl_ui/properties_data_shaderfx/__init__.pyi +2 -5
  114. bl_ui/properties_data_speaker/__init__.pyi +2 -19
  115. bl_ui/properties_data_volume/__init__.pyi +2 -29
  116. bl_ui/properties_freestyle/__init__.pyi +2 -98
  117. bl_ui/properties_grease_pencil_common/__init__.pyi +2 -74
  118. bl_ui/properties_mask_common/__init__.pyi +2 -37
  119. bl_ui/properties_material/__init__.pyi +2 -59
  120. bl_ui/properties_material_gpencil/__init__.pyi +2 -36
  121. bl_ui/properties_object/__init__.pyi +2 -52
  122. bl_ui/properties_output/__init__.pyi +2 -65
  123. bl_ui/properties_paint_common/__init__.pyi +2 -41
  124. bl_ui/properties_particle/__init__.pyi +2 -205
  125. bl_ui/properties_physics_cloth/__init__.pyi +2 -49
  126. bl_ui/properties_physics_common/__init__.pyi +2 -6
  127. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -103
  128. bl_ui/properties_physics_field/__init__.pyi +2 -44
  129. bl_ui/properties_physics_fluid/__init__.pyi +2 -134
  130. bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -7
  131. bl_ui/properties_physics_rigidbody/__init__.pyi +2 -35
  132. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -57
  133. bl_ui/properties_physics_softbody/__init__.pyi +2 -52
  134. bl_ui/properties_render/__init__.pyi +2 -220
  135. bl_ui/properties_scene/__init__.pyi +2 -55
  136. bl_ui/properties_texture/__init__.pyi +2 -93
  137. bl_ui/properties_view_layer/__init__.pyi +2 -47
  138. bl_ui/properties_workspace/__init__.pyi +2 -15
  139. bl_ui/properties_world/__init__.pyi +2 -42
  140. bl_ui/space_clip/__init__.pyi +2 -224
  141. bl_ui/space_console/__init__.pyi +2 -20
  142. bl_ui/space_dopesheet/__init__.pyi +2 -96
  143. bl_ui/space_filebrowser/__init__.pyi +2 -99
  144. bl_ui/space_graph/__init__.pyi +2 -62
  145. bl_ui/space_image/__init__.pyi +2 -211
  146. bl_ui/space_info/__init__.pyi +2 -20
  147. bl_ui/space_nla/__init__.pyi +2 -54
  148. bl_ui/space_node/__init__.pyi +2 -100
  149. bl_ui/space_outliner/__init__.pyi +2 -48
  150. bl_ui/space_properties/__init__.pyi +2 -14
  151. bl_ui/space_sequencer/__init__.pyi +2 -280
  152. bl_ui/space_spreadsheet/__init__.pyi +2 -11
  153. bl_ui/space_statusbar/__init__.pyi +2 -5
  154. bl_ui/space_text/__init__.pyi +2 -51
  155. bl_ui/space_time/__init__.pyi +2 -27
  156. bl_ui/space_toolsystem_common/__init__.pyi +2 -13
  157. bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -36
  158. bl_ui/space_topbar/__init__.pyi +2 -86
  159. bl_ui/space_userpref/__init__.pyi +2 -313
  160. bl_ui/space_view3d/__init__.pyi +2 -881
  161. bl_ui/space_view3d_toolbar/__init__.pyi +2 -344
  162. bl_ui/utils/__init__.pyi +2 -5
  163. bl_ui_utils/__init__.pyi +2 -2
  164. bl_ui_utils/layout/__init__.pyi +2 -4
  165. blend_render_info/__init__.pyi +2 -4
  166. blf/__init__.pyi +2 -32
  167. bmesh/__init__.pyi +2 -8
  168. bmesh/geometry/__init__.pyi +2 -4
  169. bmesh/ops/__init__.pyi +2 -162
  170. bmesh/types/__init__.pyi +19 -133
  171. bmesh/utils/__init__.pyi +2 -28
  172. bpy/__init__.pyi +2 -2
  173. bpy/app/__init__.pyi +2 -6
  174. bpy/app/handlers/__init__.pyi +2 -2
  175. bpy/app/icons/__init__.pyi +2 -8
  176. bpy/app/timers/__init__.pyi +2 -8
  177. bpy/app/translations/__init__.pyi +2 -20
  178. bpy/msgbus/__init__.pyi +2 -8
  179. bpy/ops/__init__.pyi +2 -2
  180. bpy/ops/action/__init__.pyi +15 -110
  181. bpy/ops/anim/__init__.pyi +2 -118
  182. bpy/ops/armature/__init__.pyi +2 -98
  183. bpy/ops/asset/__init__.pyi +2 -34
  184. bpy/ops/boid/__init__.pyi +5 -30
  185. bpy/ops/brush/__init__.pyi +5 -31
  186. bpy/ops/buttons/__init__.pyi +2 -14
  187. bpy/ops/cachefile/__init__.pyi +2 -12
  188. bpy/ops/camera/__init__.pyi +2 -6
  189. bpy/ops/clip/__init__.pyi +5 -188
  190. bpy/ops/cloth/__init__.pyi +2 -4
  191. bpy/ops/collection/__init__.pyi +2 -20
  192. bpy/ops/console/__init__.pyi +2 -44
  193. bpy/ops/constraint/__init__.pyi +2 -38
  194. bpy/ops/curve/__init__.pyi +7 -143
  195. bpy/ops/curves/__init__.pyi +11 -64
  196. bpy/ops/cycles/__init__.pyi +2 -8
  197. bpy/ops/dpaint/__init__.pyi +5 -14
  198. bpy/ops/ed/__init__.pyi +2 -26
  199. bpy/ops/export_anim/__init__.pyi +2 -4
  200. bpy/ops/export_scene/__init__.pyi +2 -6
  201. bpy/ops/extensions/__init__.pyi +2 -70
  202. bpy/ops/file/__init__.pyi +2 -82
  203. bpy/ops/fluid/__init__.pyi +2 -30
  204. bpy/ops/font/__init__.pyi +2 -48
  205. bpy/ops/geometry/__init__.pyi +21 -75
  206. bpy/ops/gizmogroup/__init__.pyi +2 -6
  207. bpy/ops/gpencil/__init__.pyi +2 -286
  208. bpy/ops/graph/__init__.pyi +19 -213
  209. bpy/ops/grease_pencil/__init__.pyi +9 -196
  210. bpy/ops/image/__init__.pyi +11 -111
  211. bpy/ops/import_anim/__init__.pyi +2 -4
  212. bpy/ops/import_curve/__init__.pyi +2 -4
  213. bpy/ops/import_scene/__init__.pyi +2 -6
  214. bpy/ops/info/__init__.pyi +2 -16
  215. bpy/ops/lattice/__init__.pyi +5 -20
  216. bpy/ops/marker/__init__.pyi +2 -24
  217. bpy/ops/mask/__init__.pyi +2 -80
  218. bpy/ops/material/__init__.pyi +2 -8
  219. bpy/ops/mball/__init__.pyi +2 -18
  220. bpy/ops/mesh/__init__.pyi +45 -467
  221. bpy/ops/nla/__init__.pyi +5 -92
  222. bpy/ops/node/__init__.pyi +5 -215
  223. bpy/ops/object/__init__.pyi +73 -870
  224. bpy/ops/outliner/__init__.pyi +7 -200
  225. bpy/ops/paint/__init__.pyi +9 -116
  226. bpy/ops/paintcurve/__init__.pyi +2 -18
  227. bpy/ops/palette/__init__.pyi +2 -16
  228. bpy/ops/particle/__init__.pyi +2 -74
  229. bpy/ops/pose/__init__.pyi +15 -180
  230. bpy/ops/poselib/__init__.pyi +2 -20
  231. bpy/ops/preferences/__init__.pyi +2 -72
  232. bpy/ops/ptcache/__init__.pyi +2 -16
  233. bpy/ops/render/__init__.pyi +2 -28
  234. bpy/ops/rigidbody/__init__.pyi +11 -56
  235. bpy/ops/scene/__init__.pyi +11 -131
  236. bpy/ops/screen/__init__.pyi +9 -142
  237. bpy/ops/script/__init__.pyi +2 -8
  238. bpy/ops/sculpt/__init__.pyi +2 -74
  239. bpy/ops/sculpt_curves/__init__.pyi +2 -10
  240. bpy/ops/sequencer/__init__.pyi +5 -194
  241. bpy/ops/sound/__init__.pyi +5 -21
  242. bpy/ops/spreadsheet/__init__.pyi +2 -10
  243. bpy/ops/surface/__init__.pyi +2 -14
  244. bpy/ops/text/__init__.pyi +2 -88
  245. bpy/ops/text_editor/__init__.pyi +2 -4
  246. bpy/ops/texture/__init__.pyi +2 -10
  247. bpy/ops/transform/__init__.pyi +75 -400
  248. bpy/ops/ui/__init__.pyi +2 -68
  249. bpy/ops/uilist/__init__.pyi +2 -8
  250. bpy/ops/uv/__init__.pyi +5 -102
  251. bpy/ops/view2d/__init__.pyi +2 -30
  252. bpy/ops/view3d/__init__.pyi +2 -136
  253. bpy/ops/wm/__init__.pyi +17 -259
  254. bpy/ops/workspace/__init__.pyi +2 -16
  255. bpy/ops/world/__init__.pyi +2 -6
  256. bpy/path/__init__.pyi +2 -28
  257. bpy/props/__init__.pyi +2 -24
  258. bpy/types/__init__.pyi +927 -31353
  259. bpy/typing/__init__.pyi +2490 -0
  260. bpy/utils/__init__.pyi +4 -74
  261. bpy/utils/previews/__init__.pyi +2 -10
  262. bpy/utils/units/__init__.pyi +2 -6
  263. bpy_extras/__init__.pyi +2 -2
  264. bpy_extras/anim_utils/__init__.pyi +2 -17
  265. bpy_extras/asset_utils/__init__.pyi +2 -5
  266. bpy_extras/bmesh_utils/__init__.pyi +2 -4
  267. bpy_extras/id_map_utils/__init__.pyi +2 -8
  268. bpy_extras/image_utils/__init__.pyi +2 -4
  269. bpy_extras/io_utils/__init__.pyi +2 -23
  270. bpy_extras/keyconfig_utils/__init__.pyi +2 -6
  271. bpy_extras/mesh_utils/__init__.pyi +2 -16
  272. bpy_extras/node_shader_utils/__init__.pyi +2 -23
  273. bpy_extras/node_utils/__init__.pyi +2 -6
  274. bpy_extras/object_utils/__init__.pyi +2 -15
  275. bpy_extras/view3d_utils/__init__.pyi +2 -10
  276. bpy_extras/wm_utils/__init__.pyi +2 -2
  277. bpy_extras/wm_utils/progress_report/__init__.pyi +2 -10
  278. bpy_restrict_state/__init__.pyi +2 -2
  279. bpy_types/__init__.pyi +2 -5
  280. console_python/__init__.pyi +2 -4
  281. console_shell/__init__.pyi +2 -2
  282. {fake_bpy_module-20240915.dist-info → fake_bpy_module-20240916.dist-info}/METADATA +1 -1
  283. fake_bpy_module-20240916.dist-info/RECORD +365 -0
  284. {fake_bpy_module-20240915.dist-info → fake_bpy_module-20240916.dist-info}/WHEEL +1 -1
  285. freestyle/__init__.pyi +2 -2
  286. freestyle/chainingiterators/__init__.pyi +2 -25
  287. freestyle/functions/__init__.pyi +2 -109
  288. freestyle/predicates/__init__.pyi +2 -30
  289. freestyle/shaders/__init__.pyi +2 -77
  290. freestyle/types/__init__.pyi +2 -192
  291. freestyle/utils/ContextFunctions/__init__.pyi +2 -20
  292. freestyle/utils/__init__.pyi +4 -50
  293. gpu/__init__.pyi +2 -2
  294. gpu/capabilities/__init__.pyi +2 -40
  295. gpu/matrix/__init__.pyi +2 -36
  296. gpu/platform/__init__.pyi +2 -12
  297. gpu/select/__init__.pyi +2 -4
  298. gpu/shader/__init__.pyi +2 -8
  299. gpu/state/__init__.pyi +2 -42
  300. gpu/texture/__init__.pyi +2 -4
  301. gpu/types/__init__.pyi +2 -54
  302. gpu_extras/__init__.pyi +2 -2
  303. gpu_extras/batch/__init__.pyi +2 -4
  304. gpu_extras/presets/__init__.pyi +2 -6
  305. graphviz_export/__init__.pyi +2 -2
  306. idprop/__init__.pyi +2 -2
  307. idprop/types/__init__.pyi +2 -11
  308. imbuf/__init__.pyi +2 -8
  309. imbuf/types/__init__.pyi +2 -6
  310. keyingsets_builtins/__init__.pyi +2 -70
  311. keyingsets_utils/__init__.pyi +2 -2
  312. mathutils/__init__.pyi +38 -228
  313. mathutils/bvhtree/__init__.pyi +2 -10
  314. mathutils/geometry/__init__.pyi +2 -54
  315. mathutils/interpolate/__init__.pyi +2 -4
  316. mathutils/kdtree/__init__.pyi +2 -8
  317. mathutils/noise/__init__.pyi +2 -36
  318. nodeitems_builtins/__init__.pyi +2 -4
  319. nodeitems_utils/__init__.pyi +2 -4
  320. rna_info/__init__.pyi +2 -7
  321. rna_keymap_ui/__init__.pyi +2 -2
  322. rna_prop_ui/__init__.pyi +2 -6
  323. rna_xml/__init__.pyi +2 -2
  324. fake_bpy_module-20240915.dist-info/RECORD +0 -364
  325. {fake_bpy_module-20240915.dist-info → fake_bpy_module-20240916.dist-info}/top_level.txt +0 -0
@@ -8,8 +8,8 @@ import collections.abc
8
8
  import typing_extensions
9
9
  import freestyle.types
10
10
 
11
- GenericType1 = typing.TypeVar("GenericType1")
12
- GenericType2 = typing.TypeVar("GenericType2")
11
+ _GenericType1 = typing.TypeVar("_GenericType1")
12
+ _GenericType2 = typing.TypeVar("_GenericType2")
13
13
 
14
14
  def get_border() -> tuple:
15
15
  """Returns the border.
@@ -18,8 +18,6 @@ def get_border() -> tuple:
18
18
  :rtype: tuple
19
19
  """
20
20
 
21
- ...
22
-
23
21
  def get_canvas_height() -> int:
24
22
  """Returns the canvas height.
25
23
 
@@ -27,8 +25,6 @@ def get_canvas_height() -> int:
27
25
  :rtype: int
28
26
  """
29
27
 
30
- ...
31
-
32
28
  def get_canvas_width() -> int:
33
29
  """Returns the canvas width.
34
30
 
@@ -36,8 +32,6 @@ def get_canvas_width() -> int:
36
32
  :rtype: int
37
33
  """
38
34
 
39
- ...
40
-
41
35
  def get_selected_fedge() -> freestyle.types.FEdge:
42
36
  """Returns the selected FEdge.
43
37
 
@@ -45,8 +39,6 @@ def get_selected_fedge() -> freestyle.types.FEdge:
45
39
  :rtype: freestyle.types.FEdge
46
40
  """
47
41
 
48
- ...
49
-
50
42
  def get_time_stamp() -> int:
51
43
  """Returns the system time stamp.
52
44
 
@@ -54,8 +46,6 @@ def get_time_stamp() -> int:
54
46
  :rtype: int
55
47
  """
56
48
 
57
- ...
58
-
59
49
  def load_map(file_name: str, map_name: str, num_levels: int = 4, sigma: float = 1.0):
60
50
  """Loads an image map for further reading.
61
51
 
@@ -71,8 +61,6 @@ def load_map(file_name: str, map_name: str, num_levels: int = 4, sigma: float =
71
61
  :type sigma: float
72
62
  """
73
63
 
74
- ...
75
-
76
64
  def read_complete_view_map_pixel(level: int, x: int, y: int) -> float:
77
65
  """Reads a pixel in the complete view map.
78
66
 
@@ -89,8 +77,6 @@ def read_complete_view_map_pixel(level: int, x: int, y: int) -> float:
89
77
  :rtype: float
90
78
  """
91
79
 
92
- ...
93
-
94
80
  def read_directional_view_map_pixel(
95
81
  orientation: int, level: int, x: int, y: int
96
82
  ) -> float:
@@ -112,8 +98,6 @@ def read_directional_view_map_pixel(
112
98
  :rtype: float
113
99
  """
114
100
 
115
- ...
116
-
117
101
  def read_map_pixel(map_name: str, level: int, x: int, y: int) -> float:
118
102
  """Reads a pixel in a user-defined map.
119
103
 
@@ -131,5 +115,3 @@ def read_map_pixel(map_name: str, level: int, x: int, y: int) -> float:
131
115
  :return: The floating-point value stored for that pixel.
132
116
  :rtype: float
133
117
  """
134
-
135
- ...
@@ -17,8 +17,8 @@ import freestyle.types
17
17
 
18
18
  from . import ContextFunctions as ContextFunctions
19
19
 
20
- GenericType1 = typing.TypeVar("GenericType1")
21
- GenericType2 = typing.TypeVar("GenericType2")
20
+ _GenericType1 = typing.TypeVar("_GenericType1")
21
+ _GenericType2 = typing.TypeVar("_GenericType2")
22
22
 
23
23
  class BoundingBox:
24
24
  """Object representing a bounding box consisting out of 2 2D vectors"""
@@ -28,7 +28,6 @@ class BoundingBox:
28
28
 
29
29
  :param other:
30
30
  """
31
- ...
32
31
 
33
32
  class StrokeCollector:
34
33
  """Collects and Stores stroke objects"""
@@ -38,25 +37,18 @@ class StrokeCollector:
38
37
 
39
38
  :param stroke:
40
39
  """
41
- ...
42
40
 
43
41
  def angle_x_normal(it):
44
42
  """unsigned angle between a Point's normal and the X axis, in radians"""
45
43
 
46
- ...
47
-
48
44
  def bound(lower, x, higher): ...
49
45
  def bounding_box(stroke):
50
46
  """Returns the maximum and minimum coordinates (the bounding box) of the stroke's vertices"""
51
47
 
52
- ...
53
-
54
48
  def curvature_from_stroke_vertex(svert): ...
55
49
  def find_matching_vertex(id, it):
56
50
  """Finds the matching vertex, or returns None."""
57
51
 
58
- ...
59
-
60
52
  def getCurrentScene() -> bpy.types.Scene:
61
53
  """Returns the current scene.
62
54
 
@@ -64,34 +56,24 @@ def getCurrentScene() -> bpy.types.Scene:
64
56
  :rtype: bpy.types.Scene
65
57
  """
66
58
 
67
- ...
68
-
69
59
  def get_chain_length(ve, orientation):
70
60
  """Returns the 2d length of a given ViewEdge."""
71
61
 
72
- ...
73
-
74
62
  def get_object_name(stroke):
75
63
  """Returns the name of the object that this stroke is drawn on."""
76
64
 
77
- ...
78
-
79
65
  def get_strokes():
80
66
  """Get all strokes that are currently available"""
81
67
 
82
- ...
83
-
84
68
  def get_test_stroke():
85
69
  """Returns a static stroke object for testing"""
86
70
 
87
- ...
88
-
89
71
  def integrate(
90
72
  func: freestyle.types.UnaryFunction0D,
91
73
  it: freestyle.types.Interface0DIterator,
92
74
  it_end: freestyle.types.Interface0DIterator,
93
75
  integration_type: freestyle.types.IntegrationType,
94
- ) -> float | int:
76
+ ) -> float:
95
77
  """Returns a single value from a set of values evaluated at each 0D
96
78
  element of this 1D element.
97
79
 
@@ -112,21 +94,15 @@ def integrate(
112
94
  value type is float if func is of the `UnaryFunction0DDouble`
113
95
  or `UnaryFunction0DFloat` type, and int if func is of the
114
96
  `UnaryFunction0DUnsigned` type.
115
- :rtype: float | int
97
+ :rtype: float
116
98
  """
117
99
 
118
- ...
119
-
120
100
  def is_poly_clockwise(stroke):
121
101
  """True if the stroke is orientated in a clockwise way, False otherwise"""
122
102
 
123
- ...
124
-
125
103
  def iter_distance_along_stroke(stroke):
126
104
  """Yields the absolute distance along the stroke up to the current vertex."""
127
105
 
128
- ...
129
-
130
106
  def iter_distance_from_camera(stroke, range_min, range_max, normfac):
131
107
  """Yields the distance to the camera relative to the maximum
132
108
  possible distance for every stroke vertex, constrained by
@@ -134,8 +110,6 @@ def iter_distance_from_camera(stroke, range_min, range_max, normfac):
134
110
 
135
111
  """
136
112
 
137
- ...
138
-
139
113
  def iter_distance_from_object(stroke, location, range_min, range_max, normfac):
140
114
  """yields the distance to the given object relative to the maximum
141
115
  possible distance for every stroke vertex, constrained by
@@ -143,39 +117,25 @@ def iter_distance_from_object(stroke, location, range_min, range_max, normfac):
143
117
 
144
118
  """
145
119
 
146
- ...
147
-
148
120
  def iter_material_value(stroke, func, attribute):
149
121
  """Yields a specific material attribute from the vertex' underlying material."""
150
122
 
151
- ...
152
-
153
123
  def iter_t2d_along_stroke(stroke):
154
124
  """Yields the progress along the stroke."""
155
125
 
156
- ...
157
-
158
126
  def material_from_fedge(fe):
159
127
  """get the diffuse RGBA color from an FEdge"""
160
128
 
161
- ...
162
-
163
129
  def normal_at_I0D(it): ...
164
130
  def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
165
131
  """Yields a tuple containing the previous and current object"""
166
132
 
167
- ...
168
-
169
133
  def rgb_to_bw(r, g, b):
170
134
  """Method to convert rgb to a bw intensity value."""
171
135
 
172
- ...
173
-
174
136
  def simplify(points, tolerance):
175
137
  """Simplifies a set of points"""
176
138
 
177
- ...
178
-
179
139
  def stroke_curvature(it):
180
140
  """Compute the 2D curvature at the stroke vertex pointed by the iterator 'it'.
181
141
  K = 1 / R
@@ -183,8 +143,6 @@ def stroke_curvature(it):
183
143
 
184
144
  """
185
145
 
186
- ...
187
-
188
146
  def stroke_normal(stroke):
189
147
  """Compute the 2D normal at the stroke vertex pointed by the iterator
190
148
  'it'. It is noted that Normal2DF0D computes normals based on
@@ -196,9 +154,5 @@ def stroke_normal(stroke):
196
154
 
197
155
  """
198
156
 
199
- ...
200
-
201
157
  def tripplewise(iterable):
202
158
  """Yields a tuple containing the current object and its immediate neighbors"""
203
-
204
- ...
gpu/__init__.pyi CHANGED
@@ -235,5 +235,5 @@ from . import state as state
235
235
  from . import texture as texture
236
236
  from . import types as types
237
237
 
238
- GenericType1 = typing.TypeVar("GenericType1")
239
- GenericType2 = typing.TypeVar("GenericType2")
238
+ _GenericType1 = typing.TypeVar("_GenericType1")
239
+ _GenericType2 = typing.TypeVar("_GenericType2")
@@ -7,8 +7,8 @@ import typing
7
7
  import collections.abc
8
8
  import typing_extensions
9
9
 
10
- GenericType1 = typing.TypeVar("GenericType1")
11
- GenericType2 = typing.TypeVar("GenericType2")
10
+ _GenericType1 = typing.TypeVar("_GenericType1")
11
+ _GenericType2 = typing.TypeVar("_GenericType2")
12
12
 
13
13
  def compute_shader_support_get() -> bool:
14
14
  """Are compute shaders supported.
@@ -17,16 +17,12 @@ def compute_shader_support_get() -> bool:
17
17
  :rtype: bool
18
18
  """
19
19
 
20
- ...
21
-
22
20
  def extensions_get():
23
21
  """Get supported extensions in the current context.
24
22
 
25
23
  :return: Extensions.
26
24
  """
27
25
 
28
- ...
29
-
30
26
  def hdr_support_get() -> bool:
31
27
  """Return whether GPU backend supports High Dynamic range for viewport.
32
28
 
@@ -34,8 +30,6 @@ def hdr_support_get() -> bool:
34
30
  :rtype: bool
35
31
  """
36
32
 
37
- ...
38
-
39
33
  def max_batch_indices_get() -> int:
40
34
  """Get maximum number of vertex array indices.
41
35
 
@@ -43,8 +37,6 @@ def max_batch_indices_get() -> int:
43
37
  :rtype: int
44
38
  """
45
39
 
46
- ...
47
-
48
40
  def max_batch_vertices_get() -> int:
49
41
  """Get maximum number of vertex array vertices.
50
42
 
@@ -52,8 +44,6 @@ def max_batch_vertices_get() -> int:
52
44
  :rtype: int
53
45
  """
54
46
 
55
- ...
56
-
57
47
  def max_images_get() -> int:
58
48
  """Get maximum supported number of image units.
59
49
 
@@ -61,8 +51,6 @@ def max_images_get() -> int:
61
51
  :rtype: int
62
52
  """
63
53
 
64
- ...
65
-
66
54
  def max_texture_layers_get() -> int:
67
55
  """Get maximum number of layers in texture.
68
56
 
@@ -70,8 +58,6 @@ def max_texture_layers_get() -> int:
70
58
  :rtype: int
71
59
  """
72
60
 
73
- ...
74
-
75
61
  def max_texture_size_get() -> int:
76
62
  """Get estimated maximum texture size to be able to handle.
77
63
 
@@ -79,8 +65,6 @@ def max_texture_size_get() -> int:
79
65
  :rtype: int
80
66
  """
81
67
 
82
- ...
83
-
84
68
  def max_textures_frag_get() -> int:
85
69
  """Get maximum supported texture image units used for
86
70
  accessing texture maps from the fragment shader.
@@ -89,8 +73,6 @@ def max_textures_frag_get() -> int:
89
73
  :rtype: int
90
74
  """
91
75
 
92
- ...
93
-
94
76
  def max_textures_geom_get() -> int:
95
77
  """Get maximum supported texture image units used for
96
78
  accessing texture maps from the geometry shader.
@@ -99,8 +81,6 @@ def max_textures_geom_get() -> int:
99
81
  :rtype: int
100
82
  """
101
83
 
102
- ...
103
-
104
84
  def max_textures_get() -> int:
105
85
  """Get maximum supported texture image units used for
106
86
  accessing texture maps from the vertex shader and the
@@ -110,8 +90,6 @@ def max_textures_get() -> int:
110
90
  :rtype: int
111
91
  """
112
92
 
113
- ...
114
-
115
93
  def max_textures_vert_get() -> int:
116
94
  """Get maximum supported texture image units used for
117
95
  accessing texture maps from the vertex shader.
@@ -120,8 +98,6 @@ def max_textures_vert_get() -> int:
120
98
  :rtype: int
121
99
  """
122
100
 
123
- ...
124
-
125
101
  def max_uniforms_frag_get() -> int:
126
102
  """Get maximum number of values held in uniform variable
127
103
  storage for a fragment shader.
@@ -130,8 +106,6 @@ def max_uniforms_frag_get() -> int:
130
106
  :rtype: int
131
107
  """
132
108
 
133
- ...
134
-
135
109
  def max_uniforms_vert_get() -> int:
136
110
  """Get maximum number of values held in uniform variable
137
111
  storage for a vertex shader.
@@ -140,8 +114,6 @@ def max_uniforms_vert_get() -> int:
140
114
  :rtype: int
141
115
  """
142
116
 
143
- ...
144
-
145
117
  def max_varying_floats_get() -> int:
146
118
  """Get maximum number of varying variables used by
147
119
  vertex and fragment shaders.
@@ -150,8 +122,6 @@ def max_varying_floats_get() -> int:
150
122
  :rtype: int
151
123
  """
152
124
 
153
- ...
154
-
155
125
  def max_vertex_attribs_get() -> int:
156
126
  """Get maximum number of vertex attributes accessible to
157
127
  a vertex shader.
@@ -160,8 +130,6 @@ def max_vertex_attribs_get() -> int:
160
130
  :rtype: int
161
131
  """
162
132
 
163
- ...
164
-
165
133
  def max_work_group_count_get(index: int) -> int:
166
134
  """Get maximum number of work groups that may be dispatched to a compute shader.
167
135
 
@@ -171,8 +139,6 @@ def max_work_group_count_get(index: int) -> int:
171
139
  :rtype: int
172
140
  """
173
141
 
174
- ...
175
-
176
142
  def max_work_group_size_get(index: int) -> int:
177
143
  """Get maximum size of a work group that may be dispatched to a compute shader.
178
144
 
@@ -182,13 +148,9 @@ def max_work_group_size_get(index: int) -> int:
182
148
  :rtype: int
183
149
  """
184
150
 
185
- ...
186
-
187
151
  def shader_image_load_store_support_get() -> bool:
188
152
  """Is image load/store supported.
189
153
 
190
154
  :return: True when supported, False when not supported.
191
155
  :rtype: bool
192
156
  """
193
-
194
- ...
gpu/matrix/__init__.pyi CHANGED
@@ -8,8 +8,8 @@ import collections.abc
8
8
  import typing_extensions
9
9
  import mathutils
10
10
 
11
- GenericType1 = typing.TypeVar("GenericType1")
12
- GenericType2 = typing.TypeVar("GenericType2")
11
+ _GenericType1 = typing.TypeVar("_GenericType1")
12
+ _GenericType2 = typing.TypeVar("_GenericType2")
13
13
 
14
14
  def get_model_view_matrix() -> mathutils.Matrix:
15
15
  """Return a copy of the model-view matrix.
@@ -18,8 +18,6 @@ def get_model_view_matrix() -> mathutils.Matrix:
18
18
  :rtype: mathutils.Matrix
19
19
  """
20
20
 
21
- ...
22
-
23
21
  def get_normal_matrix() -> mathutils.Matrix:
24
22
  """Return a copy of the normal matrix.
25
23
 
@@ -27,8 +25,6 @@ def get_normal_matrix() -> mathutils.Matrix:
27
25
  :rtype: mathutils.Matrix
28
26
  """
29
27
 
30
- ...
31
-
32
28
  def get_projection_matrix() -> mathutils.Matrix:
33
29
  """Return a copy of the projection matrix.
34
30
 
@@ -36,13 +32,9 @@ def get_projection_matrix() -> mathutils.Matrix:
36
32
  :rtype: mathutils.Matrix
37
33
  """
38
34
 
39
- ...
40
-
41
35
  def load_identity():
42
36
  """Load an identity matrix into the stack."""
43
37
 
44
- ...
45
-
46
38
  def load_matrix(
47
39
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
48
40
  | mathutils.Matrix,
@@ -53,8 +45,6 @@ def load_matrix(
53
45
  :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
54
46
  """
55
47
 
56
- ...
57
-
58
48
  def load_projection_matrix(
59
49
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
60
50
  | mathutils.Matrix,
@@ -65,8 +55,6 @@ def load_projection_matrix(
65
55
  :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
66
56
  """
67
57
 
68
- ...
69
-
70
58
  def multiply_matrix(
71
59
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
72
60
  | mathutils.Matrix,
@@ -77,51 +65,33 @@ def multiply_matrix(
77
65
  :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
78
66
  """
79
67
 
80
- ...
81
-
82
68
  def pop():
83
69
  """Remove the last model-view matrix from the stack."""
84
70
 
85
- ...
86
-
87
71
  def pop_projection():
88
72
  """Remove the last projection matrix from the stack."""
89
73
 
90
- ...
91
-
92
74
  def push():
93
75
  """Add to the model-view matrix stack."""
94
76
 
95
- ...
96
-
97
77
  def push_pop():
98
78
  """Context manager to ensure balanced push/pop calls, even in the case of an error."""
99
79
 
100
- ...
101
-
102
80
  def push_pop_projection():
103
81
  """Context manager to ensure balanced push/pop calls, even in the case of an error."""
104
82
 
105
- ...
106
-
107
83
  def push_projection():
108
84
  """Add to the projection matrix stack."""
109
85
 
110
- ...
111
-
112
86
  def reset():
113
87
  """Empty stack and set to identity."""
114
88
 
115
- ...
116
-
117
89
  def scale(scale):
118
90
  """Scale the current stack matrix.
119
91
 
120
92
  :param scale: Scale the current stack matrix.
121
93
  """
122
94
 
123
- ...
124
-
125
95
  def scale_uniform(scale: float):
126
96
  """
127
97
 
@@ -129,12 +99,8 @@ def scale_uniform(scale: float):
129
99
  :type scale: float
130
100
  """
131
101
 
132
- ...
133
-
134
102
  def translate(offset):
135
103
  """Scale the current stack matrix.
136
104
 
137
105
  :param offset: Translate the current stack matrix.
138
106
  """
139
-
140
- ...
gpu/platform/__init__.pyi CHANGED
@@ -7,8 +7,8 @@ import typing
7
7
  import collections.abc
8
8
  import typing_extensions
9
9
 
10
- GenericType1 = typing.TypeVar("GenericType1")
11
- GenericType2 = typing.TypeVar("GenericType2")
10
+ _GenericType1 = typing.TypeVar("_GenericType1")
11
+ _GenericType2 = typing.TypeVar("_GenericType2")
12
12
 
13
13
  def backend_type_get() -> str:
14
14
  """Get actuve GPU backend.
@@ -17,8 +17,6 @@ def backend_type_get() -> str:
17
17
  :rtype: str
18
18
  """
19
19
 
20
- ...
21
-
22
20
  def device_type_get() -> str:
23
21
  """Get GPU device type.
24
22
 
@@ -26,8 +24,6 @@ def device_type_get() -> str:
26
24
  :rtype: str
27
25
  """
28
26
 
29
- ...
30
-
31
27
  def renderer_get() -> str:
32
28
  """Get GPU to be used for rendering.
33
29
 
@@ -35,8 +31,6 @@ def renderer_get() -> str:
35
31
  :rtype: str
36
32
  """
37
33
 
38
- ...
39
-
40
34
  def vendor_get() -> str:
41
35
  """Get GPU vendor.
42
36
 
@@ -44,13 +38,9 @@ def vendor_get() -> str:
44
38
  :rtype: str
45
39
  """
46
40
 
47
- ...
48
-
49
41
  def version_get() -> str:
50
42
  """Get GPU driver version.
51
43
 
52
44
  :return: Driver version.
53
45
  :rtype: str
54
46
  """
55
-
56
- ...
gpu/select/__init__.pyi CHANGED
@@ -7,13 +7,11 @@ import typing
7
7
  import collections.abc
8
8
  import typing_extensions
9
9
 
10
- GenericType1 = typing.TypeVar("GenericType1")
11
- GenericType2 = typing.TypeVar("GenericType2")
10
+ _GenericType1 = typing.TypeVar("_GenericType1")
11
+ _GenericType2 = typing.TypeVar("_GenericType2")
12
12
 
13
13
  def load_id(id):
14
14
  """Set the selection ID.
15
15
 
16
16
  :param id: Number (32-bit uint).
17
17
  """
18
-
19
- ...
gpu/shader/__init__.pyi CHANGED
@@ -79,8 +79,8 @@ import typing
79
79
  import collections.abc
80
80
  import typing_extensions
81
81
 
82
- GenericType1 = typing.TypeVar("GenericType1")
83
- GenericType2 = typing.TypeVar("GenericType2")
82
+ _GenericType1 = typing.TypeVar("_GenericType1")
83
+ _GenericType2 = typing.TypeVar("_GenericType2")
84
84
 
85
85
  def create_from_info(shader_info):
86
86
  """Create shader from a GPUShaderCreateInfo.
@@ -89,8 +89,6 @@ def create_from_info(shader_info):
89
89
  :return: Shader object corresponding to the given name.
90
90
  """
91
91
 
92
- ...
93
-
94
92
  def from_builtin(shader_name: str, config: str = "DEFAULT"):
95
93
  """Shaders that are embedded in the blender internal code (see `built-in-shaders`).
96
94
  They all read the uniform mat4 ModelViewProjectionMatrix,
@@ -107,9 +105,5 @@ def from_builtin(shader_name: str, config: str = "DEFAULT"):
107
105
  :return: Shader object corresponding to the given name.
108
106
  """
109
107
 
110
- ...
111
-
112
108
  def unbind():
113
109
  """Unbind the bound shader object."""
114
-
115
- ...