fake-bpy-module 20240210__py3-none-any.whl → 20240326__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.
Files changed (309) hide show
  1. addon_utils/__init__.pyi +54 -11
  2. animsys_refactor/__init__.pyi +36 -7
  3. aud/__init__.pyi +307 -321
  4. bgl/__init__.pyi +2926 -865
  5. bl_app_override/__init__.pyi +14 -4
  6. bl_app_override/helpers/__init__.pyi +24 -3
  7. bl_app_template_utils/__init__.pyi +19 -5
  8. bl_console_utils/__init__.pyi +0 -1
  9. bl_console_utils/autocomplete/__init__.pyi +2 -3
  10. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
  11. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
  12. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
  13. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
  14. bl_i18n_utils/__init__.pyi +2 -3
  15. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
  16. bl_i18n_utils/merge_po/__init__.pyi +4 -2
  17. bl_i18n_utils/settings/__init__.pyi +53 -7
  18. bl_i18n_utils/utils/__init__.pyi +332 -45
  19. bl_i18n_utils/utils_cli/__init__.pyi +29 -7
  20. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
  21. bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
  22. bl_keymap_utils/__init__.pyi +2 -3
  23. bl_keymap_utils/io/__init__.pyi +44 -10
  24. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
  25. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
  26. bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
  27. bl_keymap_utils/versioning/__init__.pyi +4 -2
  28. bl_math/__init__.pyi +21 -22
  29. bl_operators/__init__.pyi +30 -24
  30. bl_operators/add_mesh_torus/__init__.pyi +171 -38
  31. bl_operators/anim/__init__.pyi +1065 -227
  32. bl_operators/assets/__init__.pyi +427 -93
  33. bl_operators/bmesh/__init__.pyi +0 -1
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
  35. bl_operators/clip/__init__.pyi +1342 -288
  36. bl_operators/console/__init__.pyi +647 -141
  37. bl_operators/constraint/__init__.pyi +524 -113
  38. bl_operators/file/__init__.pyi +396 -85
  39. bl_operators/freestyle/__init__.pyi +532 -114
  40. bl_operators/geometry_nodes/__init__.pyi +2412 -597
  41. bl_operators/image/__init__.pyi +380 -83
  42. bl_operators/mesh/__init__.pyi +401 -86
  43. bl_operators/node/__init__.pyi +1756 -385
  44. bl_operators/object/__init__.pyi +2022 -553
  45. bl_operators/object_align/__init__.pyi +145 -32
  46. bl_operators/object_quick_effects/__init__.pyi +555 -125
  47. bl_operators/object_randomize_transform/__init__.pyi +136 -33
  48. bl_operators/presets/__init__.pyi +3516 -709
  49. bl_operators/rigidbody/__init__.pyi +401 -86
  50. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
  51. bl_operators/sequencer/__init__.pyi +731 -150
  52. bl_operators/spreadsheet/__init__.pyi +145 -31
  53. bl_operators/userpref/__init__.pyi +3416 -825
  54. bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
  55. bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
  56. bl_operators/uvcalc_transform/__init__.pyi +344 -74
  57. bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
  58. bl_operators/view3d/__init__.pyi +697 -147
  59. bl_operators/wm/__init__.pyi +6287 -1534
  60. bl_previews_utils/__init__.pyi +0 -1
  61. bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
  62. bl_rna_utils/__init__.pyi +0 -1
  63. bl_rna_utils/data_path/__init__.pyi +12 -3
  64. bl_text_utils/__init__.pyi +0 -1
  65. bl_text_utils/external_editor/__init__.pyi +4 -2
  66. bl_ui/__init__.pyi +567 -170
  67. bl_ui/anim/__init__.pyi +164 -34
  68. bl_ui/asset_shelf/__init__.pyi +146 -32
  69. bl_ui/generic_ui_list/__init__.pyi +471 -100
  70. bl_ui/node_add_menu/__init__.pyi +196 -41
  71. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
  72. bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
  73. bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
  74. bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
  75. bl_ui/properties_animviz/__init__.pyi +32 -3
  76. bl_ui/properties_collection/__init__.pyi +787 -180
  77. bl_ui/properties_constraint/__init__.pyi +28635 -5524
  78. bl_ui/properties_data_armature/__init__.pyi +1905 -449
  79. bl_ui/properties_data_bone/__init__.pyi +1560 -337
  80. bl_ui/properties_data_camera/__init__.pyi +2269 -495
  81. bl_ui/properties_data_curve/__init__.pyi +2362 -535
  82. bl_ui/properties_data_curves/__init__.pyi +951 -204
  83. bl_ui/properties_data_empty/__init__.pyi +317 -70
  84. bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
  85. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
  86. bl_ui/properties_data_lattice/__init__.pyi +472 -105
  87. bl_ui/properties_data_light/__init__.pyi +1570 -338
  88. bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
  89. bl_ui/properties_data_mesh/__init__.pyi +3205 -768
  90. bl_ui/properties_data_metaball/__init__.pyi +774 -171
  91. bl_ui/properties_data_modifier/__init__.pyi +1554 -329
  92. bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
  93. bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
  94. bl_ui/properties_data_speaker/__init__.pyi +782 -169
  95. bl_ui/properties_data_volume/__init__.pyi +1243 -282
  96. bl_ui/properties_freestyle/__init__.pyi +4071 -1031
  97. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
  98. bl_ui/properties_mask_common/__init__.pyi +1256 -250
  99. bl_ui/properties_material/__init__.pyi +2351 -543
  100. bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
  101. bl_ui/properties_object/__init__.pyi +2179 -513
  102. bl_ui/properties_output/__init__.pyi +2956 -706
  103. bl_ui/properties_paint_common/__init__.pyi +947 -141
  104. bl_ui/properties_particle/__init__.pyi +8322 -1971
  105. bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
  106. bl_ui/properties_physics_common/__init__.pyi +200 -45
  107. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
  108. bl_ui/properties_physics_field/__init__.pyi +1695 -365
  109. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
  110. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
  111. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
  112. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
  113. bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
  114. bl_ui/properties_render/__init__.pyi +8312 -1934
  115. bl_ui/properties_scene/__init__.pyi +2211 -540
  116. bl_ui/properties_texture/__init__.pyi +4185 -1014
  117. bl_ui/properties_view_layer/__init__.pyi +2803 -665
  118. bl_ui/properties_workspace/__init__.pyi +626 -149
  119. bl_ui/properties_world/__init__.pyi +1092 -235
  120. bl_ui/space_clip/__init__.pyi +11475 -2806
  121. bl_ui/space_console/__init__.pyi +967 -203
  122. bl_ui/space_dopesheet/__init__.pyi +4260 -967
  123. bl_ui/space_filebrowser/__init__.pyi +4852 -1188
  124. bl_ui/space_graph/__init__.pyi +3251 -703
  125. bl_ui/space_image/__init__.pyi +12218 -2968
  126. bl_ui/space_info/__init__.pyi +964 -201
  127. bl_ui/space_nla/__init__.pyi +2756 -585
  128. bl_ui/space_node/__init__.pyi +5661 -1266
  129. bl_ui/space_outliner/__init__.pyi +2294 -479
  130. bl_ui/space_properties/__init__.pyi +417 -93
  131. bl_ui/space_sequencer/__init__.pyi +12436 -3010
  132. bl_ui/space_spreadsheet/__init__.pyi +184 -37
  133. bl_ui/space_statusbar/__init__.pyi +135 -31
  134. bl_ui/space_text/__init__.pyi +2556 -543
  135. bl_ui/space_time/__init__.pyi +1151 -244
  136. bl_ui/space_toolsystem_common/__init__.pyi +368 -67
  137. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
  138. bl_ui/space_topbar/__init__.pyi +4214 -888
  139. bl_ui/space_userpref/__init__.pyi +13920 -3468
  140. bl_ui/space_view3d/__init__.pyi +42751 -9613
  141. bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
  142. bl_ui/utils/__init__.pyi +42 -5
  143. bl_ui_utils/__init__.pyi +0 -1
  144. bl_ui_utils/bug_report_url/__init__.pyi +4 -2
  145. bl_ui_utils/layout/__init__.pyi +4 -2
  146. blend_render_info/__init__.pyi +13 -4
  147. blf/__init__.pyi +15 -18
  148. bmesh/__init__.pyi +18 -18
  149. bmesh/geometry/__init__.pyi +5 -6
  150. bmesh/ops/__init__.pyi +1337 -1158
  151. bmesh/types/__init__.pyi +464 -374
  152. bmesh/utils/__init__.pyi +64 -70
  153. bpy/__init__.pyi +6 -7
  154. bpy/app/__init__.pyi +36 -38
  155. bpy/app/handlers/__init__.pyi +37 -38
  156. bpy/app/icons/__init__.pyi +8 -11
  157. bpy/app/timers/__init__.pyi +18 -17
  158. bpy/app/translations/__init__.pyi +32 -30
  159. bpy/msgbus/__init__.pyi +25 -20
  160. bpy/ops/__init__.pyi +63 -64
  161. bpy/ops/action/__init__.pyi +408 -436
  162. bpy/ops/anim/__init__.pyi +459 -577
  163. bpy/ops/armature/__init__.pyi +396 -498
  164. bpy/ops/asset/__init__.pyi +187 -213
  165. bpy/ops/boid/__init__.pyi +50 -68
  166. bpy/ops/brush/__init__.pyi +72 -97
  167. bpy/ops/buttons/__init__.pyi +202 -193
  168. bpy/ops/cachefile/__init__.pyi +198 -188
  169. bpy/ops/camera/__init__.pyi +24 -31
  170. bpy/ops/clip/__init__.pyi +1021 -1082
  171. bpy/ops/cloth/__init__.pyi +11 -15
  172. bpy/ops/collection/__init__.pyi +36 -51
  173. bpy/ops/console/__init__.pyi +155 -209
  174. bpy/ops/constraint/__init__.pyi +286 -254
  175. bpy/ops/curve/__init__.pyi +597 -659
  176. bpy/ops/curves/__init__.pyi +191 -225
  177. bpy/ops/cycles/__init__.pyi +21 -30
  178. bpy/ops/dpaint/__init__.pyi +34 -47
  179. bpy/ops/ed/__init__.pyi +160 -176
  180. bpy/ops/export_anim/__init__.pyi +51 -34
  181. bpy/ops/export_mesh/__init__.pyi +47 -45
  182. bpy/ops/export_scene/__init__.pyi +659 -504
  183. bpy/ops/file/__init__.pyi +469 -474
  184. bpy/ops/fluid/__init__.pyi +89 -119
  185. bpy/ops/font/__init__.pyi +325 -361
  186. bpy/ops/geometry/__init__.pyi +86 -114
  187. bpy/ops/gizmogroup/__init__.pyi +22 -28
  188. bpy/ops/gpencil/__init__.pyi +1900 -1976
  189. bpy/ops/graph/__init__.pyi +875 -894
  190. bpy/ops/grease_pencil/__init__.pyi +572 -508
  191. bpy/ops/image/__init__.pyi +805 -855
  192. bpy/ops/import_anim/__init__.pyi +66 -46
  193. bpy/ops/import_curve/__init__.pyi +7 -11
  194. bpy/ops/import_mesh/__init__.pyi +19 -25
  195. bpy/ops/import_scene/__init__.pyi +164 -147
  196. bpy/ops/info/__init__.pyi +88 -85
  197. bpy/ops/lattice/__init__.pyi +86 -90
  198. bpy/ops/marker/__init__.pyi +135 -146
  199. bpy/ops/mask/__init__.pyi +372 -436
  200. bpy/ops/material/__init__.pyi +18 -25
  201. bpy/ops/mball/__init__.pyi +93 -99
  202. bpy/ops/mesh/__init__.pyi +2525 -2664
  203. bpy/ops/nla/__init__.pyi +398 -455
  204. bpy/ops/node/__init__.pyi +1015 -1207
  205. bpy/ops/object/__init__.pyi +3423 -3390
  206. bpy/ops/outliner/__init__.pyi +667 -685
  207. bpy/ops/paint/__init__.pyi +719 -672
  208. bpy/ops/paintcurve/__init__.pyi +64 -85
  209. bpy/ops/palette/__init__.pyi +48 -67
  210. bpy/ops/particle/__init__.pyi +323 -367
  211. bpy/ops/pose/__init__.pyi +569 -474
  212. bpy/ops/poselib/__init__.pyi +77 -100
  213. bpy/ops/preferences/__init__.pyi +460 -512
  214. bpy/ops/ptcache/__init__.pyi +46 -63
  215. bpy/ops/render/__init__.pyi +121 -155
  216. bpy/ops/rigidbody/__init__.pyi +148 -143
  217. bpy/ops/scene/__init__.pyi +336 -380
  218. bpy/ops/screen/__init__.pyi +454 -530
  219. bpy/ops/script/__init__.pyi +19 -28
  220. bpy/ops/sculpt/__init__.pyi +734 -587
  221. bpy/ops/sculpt_curves/__init__.pyi +51 -56
  222. bpy/ops/sequencer/__init__.pyi +1617 -1500
  223. bpy/ops/sound/__init__.pyi +392 -315
  224. bpy/ops/spreadsheet/__init__.pyi +31 -42
  225. bpy/ops/surface/__init__.pyi +198 -163
  226. bpy/ops/text/__init__.pyi +479 -545
  227. bpy/ops/text_editor/__init__.pyi +11 -15
  228. bpy/ops/texture/__init__.pyi +26 -36
  229. bpy/ops/transform/__init__.pyi +825 -941
  230. bpy/ops/ui/__init__.pyi +246 -295
  231. bpy/ops/uilist/__init__.pyi +34 -38
  232. bpy/ops/uv/__init__.pyi +912 -824
  233. bpy/ops/view2d/__init__.pyi +157 -197
  234. bpy/ops/view3d/__init__.pyi +777 -878
  235. bpy/ops/wm/__init__.pyi +4102 -3595
  236. bpy/ops/workspace/__init__.pyi +42 -58
  237. bpy/ops/world/__init__.pyi +6 -9
  238. bpy/path/__init__.pyi +166 -109
  239. bpy/props/__init__.pyi +478 -395
  240. bpy/types/__init__.pyi +87194 -81467
  241. bpy/utils/__init__.pyi +325 -169
  242. bpy/utils/previews/__init__.pyi +108 -21
  243. bpy/utils/units/__init__.pyi +37 -39
  244. bpy_extras/__init__.pyi +4 -9
  245. bpy_extras/anim_utils/__init__.pyi +25 -55
  246. bpy_extras/asset_utils/__init__.pyi +3 -13
  247. bpy_extras/id_map_utils/__init__.pyi +1 -4
  248. bpy_extras/image_utils/__init__.pyi +33 -23
  249. bpy_extras/io_utils/__init__.pyi +116 -66
  250. bpy_extras/keyconfig_utils/__init__.pyi +5 -3
  251. bpy_extras/mesh_utils/__init__.pyi +42 -34
  252. bpy_extras/node_utils/__init__.pyi +4 -4
  253. bpy_extras/object_utils/__init__.pyi +58 -43
  254. bpy_extras/view3d_utils/__init__.pyi +64 -63
  255. bpy_restrict_state/__init__.pyi +14 -2
  256. bpy_types/__init__.pyi +3873 -998
  257. console_python/__init__.pyi +41 -8
  258. console_shell/__init__.pyi +24 -6
  259. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  260. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  261. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  262. freestyle/__init__.pyi +4 -5
  263. freestyle/chainingiterators/__init__.pyi +229 -73
  264. freestyle/functions/__init__.pyi +624 -402
  265. freestyle/predicates/__init__.pyi +381 -169
  266. freestyle/shaders/__init__.pyi +424 -155
  267. freestyle/types/__init__.pyi +1572 -726
  268. freestyle/utils/ContextFunctions/__init__.pyi +54 -43
  269. freestyle/utils/__init__.pyi +67 -31
  270. gpu/__init__.pyi +3 -4
  271. gpu/capabilities/__init__.pyi +57 -37
  272. gpu/matrix/__init__.pyi +14 -17
  273. gpu/platform/__init__.pyi +5 -6
  274. gpu/select/__init__.pyi +2 -5
  275. gpu/shader/__init__.pyi +14 -12
  276. gpu/state/__init__.pyi +48 -62
  277. gpu/texture/__init__.pyi +7 -7
  278. gpu/types/__init__.pyi +670 -229
  279. gpu_extras/__init__.pyi +1 -2
  280. gpu_extras/batch/__init__.pyi +27 -6
  281. gpu_extras/presets/__init__.pyi +67 -27
  282. graphviz_export/__init__.pyi +9 -3
  283. idprop/__init__.pyi +0 -1
  284. idprop/types/__init__.pyi +42 -13
  285. imbuf/__init__.pyi +6 -10
  286. imbuf/types/__init__.pyi +8 -16
  287. keyingsets_builtins/__init__.pyi +3149 -702
  288. keyingsets_utils/__init__.pyi +69 -15
  289. mathutils/__init__.pyi +951 -876
  290. mathutils/bvhtree/__init__.pyi +47 -48
  291. mathutils/geometry/__init__.pyi +237 -242
  292. mathutils/interpolate/__init__.pyi +3 -6
  293. mathutils/kdtree/__init__.pyi +23 -26
  294. mathutils/noise/__init__.pyi +50 -51
  295. nodeitems_builtins/__init__.pyi +50 -11
  296. nodeitems_utils/__init__.pyi +58 -11
  297. rna_info/__init__.pyi +230 -27
  298. rna_keymap_ui/__init__.pyi +29 -7
  299. rna_prop_ui/__init__.pyi +69 -13
  300. rna_xml/__init__.pyi +29 -7
  301. sys_info/__init__.pyi +4 -2
  302. bpy_extras/bmesh_utils/__init__.pyi +0 -7
  303. bpy_extras/extensions/__init__.pyi +0 -5
  304. bpy_extras/extensions/junction_module/__init__.pyi +0 -13
  305. bpy_extras/node_shader_utils/__init__.pyi +0 -132
  306. bpy_extras/wm_utils/__init__.pyi +0 -5
  307. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
  308. fake_bpy_module-20240210.dist-info/RECORD +0 -349
  309. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -1,15 +1,12 @@
1
- import sys
2
1
  import typing
3
2
 
4
3
  GenericType = typing.TypeVar("GenericType")
5
4
 
6
- def poly_3d_calc(veclist: typing.Any, pt: typing.Any):
5
+ def poly_3d_calc(veclist, pt):
7
6
  """Calculate barycentric weights for a point on a polygon.
8
7
 
9
- :param veclist: list of vectors
10
- :type veclist: typing.Any
11
- :param pt: list of per-vector weights
12
- :type pt: typing.Any
8
+ :param veclist: list of vectors
9
+ :param pt: point :rtype: list of per-vector weights
13
10
  """
14
11
 
15
12
  ...
@@ -1,11 +1,10 @@
1
- import sys
2
1
  import typing
3
2
  import mathutils
4
3
 
5
4
  GenericType = typing.TypeVar("GenericType")
6
5
 
7
6
  class KDTree:
8
- """KdTree(size) -> new kd-tree initialized to hold ``size`` items."""
7
+ """KdTree(size) -> new kd-tree initialized to hold size items."""
9
8
 
10
9
  def balance(self):
11
10
  """Balance the tree."""
@@ -13,65 +12,63 @@ class KDTree:
13
12
 
14
13
  def find(
15
14
  self,
16
- co: typing.Union[typing.Sequence[float], "mathutils.Vector"],
15
+ co: typing.Union[typing.Sequence[float], mathutils.Vector],
17
16
  filter: typing.Callable = None,
18
- ) -> typing.Tuple:
19
- """Find nearest point to ``co``.
17
+ ) -> typing.Callable:
18
+ """Find nearest point to co.
20
19
 
21
20
  :param co: 3d coordinates.
22
- :type co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
21
+ :type co: typing.Union[typing.Sequence[float], mathutils.Vector]
23
22
  :param filter: function which takes an index and returns True for indices to include in the search.
24
23
  :type filter: typing.Callable
25
- :rtype: typing.Tuple
26
- :return: `Vector`, index, distance).
24
+ :return: Returns (`Vector`, index, distance).
25
+ :rtype: tuple
27
26
  """
28
27
  ...
29
28
 
30
29
  def find_n(
31
- self, co: typing.Union[typing.Sequence[float], "mathutils.Vector"], n: int
32
- ) -> typing.List:
33
- """Find nearest ``n`` points to ``co``.
30
+ self, co: typing.Union[typing.Sequence[float], mathutils.Vector], n: int
31
+ ) -> int:
32
+ """Find nearest n points to co.
34
33
 
35
34
  :param co: 3d coordinates.
36
- :type co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
35
+ :type co: typing.Union[typing.Sequence[float], mathutils.Vector]
37
36
  :param n: Number of points to find.
38
37
  :type n: int
39
- :rtype: typing.List
40
- :return: `Vector`, index, distance).
38
+ :return: Returns a list of tuples (`Vector`, index, distance).
39
+ :rtype: list
41
40
  """
42
41
  ...
43
42
 
44
43
  def find_range(
45
- self,
46
- co: typing.Union[typing.Sequence[float], "mathutils.Vector"],
47
- radius: float,
48
- ) -> typing.List:
49
- """Find all points within ``radius`` of ``co``.
44
+ self, co: typing.Union[typing.Sequence[float], mathutils.Vector], radius: float
45
+ ) -> float:
46
+ """Find all points within radius of co.
50
47
 
51
48
  :param co: 3d coordinates.
52
- :type co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
49
+ :type co: typing.Union[typing.Sequence[float], mathutils.Vector]
53
50
  :param radius: Distance to search for points.
54
51
  :type radius: float
55
- :rtype: typing.List
56
- :return: `Vector`, index, distance).
52
+ :return: Returns a list of tuples (`Vector`, index, distance).
53
+ :rtype: list
57
54
  """
58
55
  ...
59
56
 
60
57
  def insert(
61
- self, co: typing.Union[typing.Sequence[float], "mathutils.Vector"], index: int
58
+ self, co: typing.Union[typing.Sequence[float], mathutils.Vector], index: int
62
59
  ):
63
60
  """Insert a point into the KDTree.
64
61
 
65
62
  :param co: Point 3d position.
66
- :type co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
63
+ :type co: typing.Union[typing.Sequence[float], mathutils.Vector]
67
64
  :param index: The index of the point.
68
65
  :type index: int
69
66
  """
70
67
  ...
71
68
 
72
- def __init__(self, size) -> typing.Any:
69
+ def __init__(self, size):
73
70
  """
74
71
 
75
- :rtype: typing.Any
72
+ :param size:
76
73
  """
77
74
  ...
@@ -1,35 +1,34 @@
1
- import sys
2
1
  import typing
3
2
  import mathutils
4
3
 
5
4
  GenericType = typing.TypeVar("GenericType")
6
5
 
7
- def cell(position: typing.Union[typing.Sequence[float], "mathutils.Vector"]) -> float:
6
+ def cell(position: typing.Union[typing.Sequence[float], mathutils.Vector]) -> float:
8
7
  """Returns cell noise value at the specified position.
9
8
 
10
9
  :param position: The position to evaluate the selected noise function.
11
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
12
- :rtype: float
10
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
13
11
  :return: The cell noise value.
12
+ :rtype: float
14
13
  """
15
14
 
16
15
  ...
17
16
 
18
17
  def cell_vector(
19
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
20
- ) -> "mathutils.Vector":
18
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
19
+ ) -> mathutils.Vector:
21
20
  """Returns cell noise vector at the specified position.
22
21
 
23
22
  :param position: The position to evaluate the selected noise function.
24
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
25
- :rtype: 'mathutils.Vector'
23
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
26
24
  :return: The cell noise vector.
25
+ :rtype: mathutils.Vector
27
26
  """
28
27
 
29
28
  ...
30
29
 
31
30
  def fractal(
32
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
31
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
33
32
  H: float,
34
33
  lacunarity: float,
35
34
  octaves: int,
@@ -38,7 +37,7 @@ def fractal(
38
37
  """Returns the fractal Brownian motion (fBm) noise value from the noise basis at the specified position.
39
38
 
40
39
  :param position: The position to evaluate the selected noise function.
41
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
40
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
42
41
  :param H: The fractal increment factor.
43
42
  :type H: float
44
43
  :param lacunarity: The gap between successive frequencies.
@@ -47,14 +46,14 @@ def fractal(
47
46
  :type octaves: int
48
47
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
49
48
  :type noise_basis: str
50
- :rtype: float
51
49
  :return: The fractal Brownian motion noise value.
50
+ :rtype: float
52
51
  """
53
52
 
54
53
  ...
55
54
 
56
55
  def hetero_terrain(
57
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
56
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
58
57
  H: float,
59
58
  lacunarity: float,
60
59
  octaves: int,
@@ -64,7 +63,7 @@ def hetero_terrain(
64
63
  """Returns the heterogeneous terrain value from the noise basis at the specified position.
65
64
 
66
65
  :param position: The position to evaluate the selected noise function.
67
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
66
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
68
67
  :param H: The fractal dimension of the roughest areas.
69
68
  :type H: float
70
69
  :param lacunarity: The gap between successive frequencies.
@@ -75,14 +74,14 @@ def hetero_terrain(
75
74
  :type offset: float
76
75
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
77
76
  :type noise_basis: str
78
- :rtype: float
79
77
  :return: The heterogeneous terrain value.
78
+ :rtype: float
80
79
  """
81
80
 
82
81
  ...
83
82
 
84
83
  def hybrid_multi_fractal(
85
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
84
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
86
85
  H: float,
87
86
  lacunarity: float,
88
87
  octaves: int,
@@ -93,7 +92,7 @@ def hybrid_multi_fractal(
93
92
  """Returns hybrid multifractal value from the noise basis at the specified position.
94
93
 
95
94
  :param position: The position to evaluate the selected noise function.
96
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
95
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
97
96
  :param H: The fractal dimension of the roughest areas.
98
97
  :type H: float
99
98
  :param lacunarity: The gap between successive frequencies.
@@ -106,14 +105,14 @@ def hybrid_multi_fractal(
106
105
  :type gain: float
107
106
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
108
107
  :type noise_basis: str
109
- :rtype: float
110
108
  :return: The hybrid multifractal value.
109
+ :rtype: float
111
110
  """
112
111
 
113
112
  ...
114
113
 
115
114
  def multi_fractal(
116
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
115
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
117
116
  H: float,
118
117
  lacunarity: float,
119
118
  octaves: int,
@@ -122,7 +121,7 @@ def multi_fractal(
122
121
  """Returns multifractal noise value from the noise basis at the specified position.
123
122
 
124
123
  :param position: The position to evaluate the selected noise function.
125
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
124
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
126
125
  :param H: The fractal increment factor.
127
126
  :type H: float
128
127
  :param lacunarity: The gap between successive frequencies.
@@ -131,40 +130,40 @@ def multi_fractal(
131
130
  :type octaves: int
132
131
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
133
132
  :type noise_basis: str
134
- :rtype: float
135
133
  :return: The multifractal noise value.
134
+ :rtype: float
136
135
  """
137
136
 
138
137
  ...
139
138
 
140
139
  def noise(
141
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
140
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
142
141
  noise_basis: str = "PERLIN_ORIGINAL",
143
142
  ) -> float:
144
143
  """Returns noise value from the noise basis at the position specified.
145
144
 
146
145
  :param position: The position to evaluate the selected noise function.
147
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
146
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
148
147
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
149
148
  :type noise_basis: str
150
- :rtype: float
151
149
  :return: The noise value.
150
+ :rtype: float
152
151
  """
153
152
 
154
153
  ...
155
154
 
156
155
  def noise_vector(
157
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
156
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
158
157
  noise_basis: str = "PERLIN_ORIGINAL",
159
- ) -> "mathutils.Vector":
158
+ ) -> mathutils.Vector:
160
159
  """Returns the noise vector from the noise basis at the specified position.
161
160
 
162
161
  :param position: The position to evaluate the selected noise function.
163
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
162
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
164
163
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
165
164
  :type noise_basis: str
166
- :rtype: 'mathutils.Vector'
167
165
  :return: The noise vector.
166
+ :rtype: mathutils.Vector
168
167
  """
169
168
 
170
169
  ...
@@ -172,36 +171,36 @@ def noise_vector(
172
171
  def random() -> float:
173
172
  """Returns a random number in the range [0, 1).
174
173
 
175
- :rtype: float
176
174
  :return: The random number.
175
+ :rtype: float
177
176
  """
178
177
 
179
178
  ...
180
179
 
181
- def random_unit_vector(size: int = 3) -> "mathutils.Vector":
180
+ def random_unit_vector(size: int = 3) -> mathutils.Vector:
182
181
  """Returns a unit vector with random entries.
183
182
 
184
183
  :param size: The size of the vector to be produced, in the range [2, 4].
185
184
  :type size: int
186
- :rtype: 'mathutils.Vector'
187
185
  :return: The random unit vector.
186
+ :rtype: mathutils.Vector
188
187
  """
189
188
 
190
189
  ...
191
190
 
192
- def random_vector(size: int = 3) -> "mathutils.Vector":
191
+ def random_vector(size: int = 3) -> mathutils.Vector:
193
192
  """Returns a vector with random entries in the range (-1, 1).
194
193
 
195
194
  :param size: The size of the vector to be produced.
196
195
  :type size: int
197
- :rtype: 'mathutils.Vector'
198
196
  :return: The random vector.
197
+ :rtype: mathutils.Vector
199
198
  """
200
199
 
201
200
  ...
202
201
 
203
202
  def ridged_multi_fractal(
204
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
203
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
205
204
  H: float,
206
205
  lacunarity: float,
207
206
  octaves: int,
@@ -212,7 +211,7 @@ def ridged_multi_fractal(
212
211
  """Returns ridged multifractal value from the noise basis at the specified position.
213
212
 
214
213
  :param position: The position to evaluate the selected noise function.
215
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
214
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
216
215
  :param H: The fractal dimension of the roughest areas.
217
216
  :type H: float
218
217
  :param lacunarity: The gap between successive frequencies.
@@ -225,8 +224,8 @@ def ridged_multi_fractal(
225
224
  :type gain: float
226
225
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
227
226
  :type noise_basis: str
228
- :rtype: float
229
227
  :return: The ridged multifractal value.
228
+ :rtype: float
230
229
  """
231
230
 
232
231
  ...
@@ -234,14 +233,15 @@ def ridged_multi_fractal(
234
233
  def seed_set(seed: int):
235
234
  """Sets the random seed used for random_unit_vector, and random.
236
235
 
237
- :param seed: Seed used for the random generator. When seed is zero, the current time will be used instead.
238
- :type seed: int
236
+ :param seed: Seed used for the random generator.
237
+ When seed is zero, the current time will be used instead.
238
+ :type seed: int
239
239
  """
240
240
 
241
241
  ...
242
242
 
243
243
  def turbulence(
244
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
244
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
245
245
  octaves: int,
246
246
  hard: bool,
247
247
  noise_basis: str = "PERLIN_ORIGINAL",
@@ -251,7 +251,7 @@ def turbulence(
251
251
  """Returns the turbulence value from the noise basis at the specified position.
252
252
 
253
253
  :param position: The position to evaluate the selected noise function.
254
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
254
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
255
255
  :param octaves: The number of different noise frequencies used.
256
256
  :type octaves: int
257
257
  :param hard: Specifies whether returned turbulence is hard (sharp transitions) or soft (smooth transitions).
@@ -262,24 +262,24 @@ def turbulence(
262
262
  :type amplitude_scale: float
263
263
  :param frequency_scale: The frequency scaling factor
264
264
  :type frequency_scale: float
265
- :rtype: float
266
265
  :return: The turbulence value.
266
+ :rtype: float
267
267
  """
268
268
 
269
269
  ...
270
270
 
271
271
  def turbulence_vector(
272
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
272
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
273
273
  octaves: int,
274
274
  hard: bool,
275
275
  noise_basis: str = "PERLIN_ORIGINAL",
276
276
  amplitude_scale: float = 0.5,
277
277
  frequency_scale: float = 2.0,
278
- ) -> "mathutils.Vector":
278
+ ) -> mathutils.Vector:
279
279
  """Returns the turbulence vector from the noise basis at the specified position.
280
280
 
281
281
  :param position: The position to evaluate the selected noise function.
282
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
282
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
283
283
  :param octaves: The number of different noise frequencies used.
284
284
  :type octaves: int
285
285
  :param hard: Specifies whether returned turbulence is hard (sharp transitions) or soft (smooth transitions).
@@ -290,14 +290,14 @@ def turbulence_vector(
290
290
  :type amplitude_scale: float
291
291
  :param frequency_scale: The frequency scaling factor
292
292
  :type frequency_scale: float
293
- :rtype: 'mathutils.Vector'
294
293
  :return: The turbulence vector.
294
+ :rtype: mathutils.Vector
295
295
  """
296
296
 
297
297
  ...
298
298
 
299
299
  def variable_lacunarity(
300
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
300
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
301
301
  distortion: float,
302
302
  noise_type1: str = "PERLIN_ORIGINAL",
303
303
  noise_type2: str = "PERLIN_ORIGINAL",
@@ -305,33 +305,32 @@ def variable_lacunarity(
305
305
  """Returns variable lacunarity noise value, a distorted variety of noise, from noise type 1 distorted by noise type 2 at the specified position.
306
306
 
307
307
  :param position: The position to evaluate the selected noise function.
308
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
308
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
309
309
  :param distortion: The amount of distortion.
310
310
  :type distortion: float
311
311
  :param noise_type1: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
312
312
  :type noise_type1: str
313
313
  :param noise_type2: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
314
314
  :type noise_type2: str
315
- :rtype: float
316
315
  :return: The variable lacunarity noise value.
316
+ :rtype: float
317
317
  """
318
318
 
319
319
  ...
320
320
 
321
321
  def voronoi(
322
- position: typing.Union[typing.Sequence[float], "mathutils.Vector"],
322
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
323
323
  distance_metric: str = "DISTANCE",
324
324
  exponent: float = 2.5,
325
- ) -> typing.List["mathutils.Vector"]:
325
+ ):
326
326
  """Returns a list of distances to the four closest features and their locations.
327
327
 
328
328
  :param position: The position to evaluate the selected noise function.
329
- :type position: typing.Union[typing.Sequence[float], 'mathutils.Vector']
329
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
330
330
  :param distance_metric: Enumerator in ['DISTANCE', 'DISTANCE_SQUARED', 'MANHATTAN', 'CHEBYCHEV', 'MINKOVSKY', 'MINKOVSKY_HALF', 'MINKOVSKY_FOUR'].
331
331
  :type distance_metric: str
332
332
  :param exponent: The exponent for Minkowski distance metric.
333
333
  :type exponent: float
334
- :rtype: typing.List['mathutils.Vector']
335
334
  :return: A list of distances to the four closest features and their locations.
336
335
  """
337
336
 
@@ -1,20 +1,59 @@
1
- import sys
2
1
  import typing
3
2
  import nodeitems_utils
4
3
 
5
4
  GenericType = typing.TypeVar("GenericType")
6
5
 
6
+ class CompositorNodeCategory(nodeitems_utils.NodeCategory):
7
+ """ """
8
+
9
+ def poll(self, context):
10
+ """
11
+
12
+ :param context:
13
+ """
14
+ ...
15
+
16
+ class ShaderNodeCategory(nodeitems_utils.NodeCategory):
17
+ """ """
18
+
19
+ def poll(self, context):
20
+ """
21
+
22
+ :param context:
23
+ """
24
+ ...
25
+
7
26
  class SortedNodeCategory(nodeitems_utils.NodeCategory):
8
- def poll(self, _context): ...
27
+ """ """
28
+
29
+ def poll(self, _context):
30
+ """
31
+
32
+ :param _context:
33
+ """
34
+ ...
35
+
36
+ def group_input_output_item_poll(context):
37
+ """ """
38
+
39
+ ...
40
+
41
+ def group_tools_draw(_self, layout, _context):
42
+ """ """
43
+
44
+ ...
45
+
46
+ def node_group_items(context):
47
+ """ """
48
+
49
+ ...
50
+
51
+ def register():
52
+ """ """
9
53
 
10
- class CompositorNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
11
- def poll(self, context): ...
54
+ ...
12
55
 
13
- class ShaderNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
14
- def poll(self, context): ...
56
+ def unregister():
57
+ """ """
15
58
 
16
- def group_input_output_item_poll(context): ...
17
- def group_tools_draw(_self, layout, _context): ...
18
- def node_group_items(context): ...
19
- def register(): ...
20
- def unregister(): ...
59
+ ...
@@ -1,23 +1,70 @@
1
- import sys
2
1
  import typing
3
2
 
4
3
  GenericType = typing.TypeVar("GenericType")
5
4
 
6
5
  class NodeCategory:
7
- def poll(self, _context): ...
6
+ """ """
7
+
8
+ def poll(self, _context):
9
+ """
10
+
11
+ :param _context:
12
+ """
13
+ ...
8
14
 
9
15
  class NodeItem:
16
+ """ """
17
+
10
18
  label: typing.Any
19
+ """ """
20
+
11
21
  translation_context: typing.Any
22
+ """ """
23
+
24
+ def draw(self, layout, _context):
25
+ """
26
+
27
+ :param layout:
28
+ :param _context:
29
+ """
30
+ ...
31
+
32
+ class NodeItemCustom:
33
+ """ """
34
+
35
+ ...
36
+
37
+ def draw_node_categories_menu(context):
38
+ """ """
39
+
40
+ ...
41
+
42
+ def has_node_categories(context):
43
+ """ """
44
+
45
+ ...
46
+
47
+ def node_categories_iter(context):
48
+ """ """
49
+
50
+ ...
51
+
52
+ def node_items_iter(context):
53
+ """ """
54
+
55
+ ...
56
+
57
+ def register_node_categories(identifier, cat_list):
58
+ """ """
59
+
60
+ ...
61
+
62
+ def unregister_node_cat_types(cats):
63
+ """ """
12
64
 
13
- def draw(self, layout, _context): ...
65
+ ...
14
66
 
15
- class NodeItemCustom: ...
67
+ def unregister_node_categories(identifier):
68
+ """ """
16
69
 
17
- def draw_node_categories_menu(context): ...
18
- def has_node_categories(context): ...
19
- def node_categories_iter(context): ...
20
- def node_items_iter(context): ...
21
- def register_node_categories(identifier, cat_list): ...
22
- def unregister_node_cat_types(cats): ...
23
- def unregister_node_categories(identifier): ...
70
+ ...