fake-bpy-module 20240224__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 (293) hide show
  1. addon_utils/__init__.pyi +54 -10
  2. animsys_refactor/__init__.pyi +36 -6
  3. aud/__init__.pyi +132 -125
  4. bgl/__init__.pyi +2545 -546
  5. bl_app_override/__init__.pyi +14 -3
  6. bl_app_override/helpers/__init__.pyi +24 -2
  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 +53 -6
  15. bl_i18n_utils/utils/__init__.pyi +332 -44
  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 +171 -37
  27. bl_operators/anim/__init__.pyi +1065 -226
  28. bl_operators/assets/__init__.pyi +427 -92
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
  30. bl_operators/clip/__init__.pyi +1342 -287
  31. bl_operators/console/__init__.pyi +647 -140
  32. bl_operators/constraint/__init__.pyi +524 -112
  33. bl_operators/file/__init__.pyi +396 -84
  34. bl_operators/freestyle/__init__.pyi +532 -113
  35. bl_operators/geometry_nodes/__init__.pyi +2412 -596
  36. bl_operators/image/__init__.pyi +380 -82
  37. bl_operators/mesh/__init__.pyi +401 -85
  38. bl_operators/node/__init__.pyi +1756 -384
  39. bl_operators/object/__init__.pyi +2022 -552
  40. bl_operators/object_align/__init__.pyi +145 -31
  41. bl_operators/object_quick_effects/__init__.pyi +555 -124
  42. bl_operators/object_randomize_transform/__init__.pyi +136 -32
  43. bl_operators/presets/__init__.pyi +3516 -708
  44. bl_operators/rigidbody/__init__.pyi +401 -85
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
  46. bl_operators/sequencer/__init__.pyi +731 -149
  47. bl_operators/spreadsheet/__init__.pyi +145 -30
  48. bl_operators/userpref/__init__.pyi +3416 -824
  49. bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
  50. bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
  51. bl_operators/uvcalc_transform/__init__.pyi +344 -73
  52. bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
  53. bl_operators/view3d/__init__.pyi +697 -146
  54. bl_operators/wm/__init__.pyi +6287 -1533
  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 +504 -106
  59. bl_ui/anim/__init__.pyi +164 -33
  60. bl_ui/asset_shelf/__init__.pyi +146 -31
  61. bl_ui/generic_ui_list/__init__.pyi +471 -99
  62. bl_ui/node_add_menu/__init__.pyi +196 -40
  63. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
  64. bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
  65. bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
  66. bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
  67. bl_ui/properties_animviz/__init__.pyi +32 -2
  68. bl_ui/properties_collection/__init__.pyi +787 -179
  69. bl_ui/properties_constraint/__init__.pyi +28635 -5523
  70. bl_ui/properties_data_armature/__init__.pyi +1905 -448
  71. bl_ui/properties_data_bone/__init__.pyi +1560 -336
  72. bl_ui/properties_data_camera/__init__.pyi +2269 -494
  73. bl_ui/properties_data_curve/__init__.pyi +2362 -534
  74. bl_ui/properties_data_curves/__init__.pyi +951 -203
  75. bl_ui/properties_data_empty/__init__.pyi +317 -69
  76. bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
  77. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
  78. bl_ui/properties_data_lattice/__init__.pyi +472 -104
  79. bl_ui/properties_data_light/__init__.pyi +1570 -337
  80. bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
  81. bl_ui/properties_data_mesh/__init__.pyi +3205 -767
  82. bl_ui/properties_data_metaball/__init__.pyi +774 -170
  83. bl_ui/properties_data_modifier/__init__.pyi +1554 -328
  84. bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
  85. bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
  86. bl_ui/properties_data_speaker/__init__.pyi +782 -168
  87. bl_ui/properties_data_volume/__init__.pyi +1243 -281
  88. bl_ui/properties_freestyle/__init__.pyi +4071 -1030
  89. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
  90. bl_ui/properties_mask_common/__init__.pyi +1256 -249
  91. bl_ui/properties_material/__init__.pyi +2351 -542
  92. bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
  93. bl_ui/properties_object/__init__.pyi +2179 -512
  94. bl_ui/properties_output/__init__.pyi +2956 -705
  95. bl_ui/properties_paint_common/__init__.pyi +947 -140
  96. bl_ui/properties_particle/__init__.pyi +8322 -1970
  97. bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
  98. bl_ui/properties_physics_common/__init__.pyi +200 -44
  99. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
  100. bl_ui/properties_physics_field/__init__.pyi +1695 -364
  101. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
  102. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
  103. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
  104. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
  105. bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
  106. bl_ui/properties_render/__init__.pyi +8312 -1933
  107. bl_ui/properties_scene/__init__.pyi +2211 -539
  108. bl_ui/properties_texture/__init__.pyi +4185 -1013
  109. bl_ui/properties_view_layer/__init__.pyi +2803 -664
  110. bl_ui/properties_workspace/__init__.pyi +626 -148
  111. bl_ui/properties_world/__init__.pyi +1092 -234
  112. bl_ui/space_clip/__init__.pyi +11475 -2805
  113. bl_ui/space_console/__init__.pyi +967 -202
  114. bl_ui/space_dopesheet/__init__.pyi +4260 -966
  115. bl_ui/space_filebrowser/__init__.pyi +4852 -1187
  116. bl_ui/space_graph/__init__.pyi +3251 -702
  117. bl_ui/space_image/__init__.pyi +12219 -2968
  118. bl_ui/space_info/__init__.pyi +964 -200
  119. bl_ui/space_nla/__init__.pyi +2756 -584
  120. bl_ui/space_node/__init__.pyi +5661 -1265
  121. bl_ui/space_outliner/__init__.pyi +2294 -478
  122. bl_ui/space_properties/__init__.pyi +417 -92
  123. bl_ui/space_sequencer/__init__.pyi +12436 -3009
  124. bl_ui/space_spreadsheet/__init__.pyi +184 -36
  125. bl_ui/space_statusbar/__init__.pyi +135 -30
  126. bl_ui/space_text/__init__.pyi +2556 -542
  127. bl_ui/space_time/__init__.pyi +1151 -243
  128. bl_ui/space_toolsystem_common/__init__.pyi +368 -66
  129. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
  130. bl_ui/space_topbar/__init__.pyi +4214 -887
  131. bl_ui/space_userpref/__init__.pyi +13920 -3468
  132. bl_ui/space_view3d/__init__.pyi +43701 -10599
  133. bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
  134. bl_ui/utils/__init__.pyi +42 -4
  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 +268 -262
  143. bmesh/utils/__init__.pyi +55 -55
  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 +350 -305
  152. bpy/ops/anim/__init__.pyi +464 -426
  153. bpy/ops/armature/__init__.pyi +392 -360
  154. bpy/ops/asset/__init__.pyi +166 -129
  155. bpy/ops/boid/__init__.pyi +64 -37
  156. bpy/ops/brush/__init__.pyi +78 -72
  157. bpy/ops/buttons/__init__.pyi +136 -122
  158. bpy/ops/cachefile/__init__.pyi +128 -123
  159. bpy/ops/camera/__init__.pyi +22 -24
  160. bpy/ops/clip/__init__.pyi +844 -735
  161. bpy/ops/cloth/__init__.pyi +10 -11
  162. bpy/ops/collection/__init__.pyi +38 -38
  163. bpy/ops/console/__init__.pyi +170 -141
  164. bpy/ops/constraint/__init__.pyi +156 -159
  165. bpy/ops/curve/__init__.pyi +518 -461
  166. bpy/ops/curves/__init__.pyi +188 -159
  167. bpy/ops/cycles/__init__.pyi +20 -18
  168. bpy/ops/dpaint/__init__.pyi +40 -30
  169. bpy/ops/ed/__init__.pyi +136 -107
  170. bpy/ops/export_anim/__init__.pyi +18 -19
  171. bpy/ops/export_mesh/__init__.pyi +26 -27
  172. bpy/ops/export_scene/__init__.pyi +313 -334
  173. bpy/ops/file/__init__.pyi +394 -304
  174. bpy/ops/fluid/__init__.pyi +114 -63
  175. bpy/ops/font/__init__.pyi +272 -245
  176. bpy/ops/geometry/__init__.pyi +92 -87
  177. bpy/ops/gizmogroup/__init__.pyi +24 -21
  178. bpy/ops/gpencil/__init__.pyi +1530 -1476
  179. bpy/ops/graph/__init__.pyi +680 -659
  180. bpy/ops/grease_pencil/__init__.pyi +510 -390
  181. bpy/ops/image/__init__.pyi +650 -603
  182. bpy/ops/import_anim/__init__.pyi +26 -27
  183. bpy/ops/import_curve/__init__.pyi +6 -7
  184. bpy/ops/import_mesh/__init__.pyi +18 -21
  185. bpy/ops/import_scene/__init__.pyi +86 -95
  186. bpy/ops/info/__init__.pyi +68 -55
  187. bpy/ops/lattice/__init__.pyi +70 -63
  188. bpy/ops/marker/__init__.pyi +110 -111
  189. bpy/ops/mask/__init__.pyi +352 -308
  190. bpy/ops/material/__init__.pyi +24 -12
  191. bpy/ops/mball/__init__.pyi +72 -75
  192. bpy/ops/mesh/__init__.pyi +2052 -2088
  193. bpy/ops/nla/__init__.pyi +369 -313
  194. bpy/ops/node/__init__.pyi +944 -805
  195. bpy/ops/object/__init__.pyi +2662 -2461
  196. bpy/ops/outliner/__init__.pyi +582 -431
  197. bpy/ops/paint/__init__.pyi +605 -516
  198. bpy/ops/paintcurve/__init__.pyi +72 -60
  199. bpy/ops/palette/__init__.pyi +54 -46
  200. bpy/ops/particle/__init__.pyi +302 -245
  201. bpy/ops/pose/__init__.pyi +366 -330
  202. bpy/ops/poselib/__init__.pyi +78 -64
  203. bpy/ops/preferences/__init__.pyi +361 -341
  204. bpy/ops/ptcache/__init__.pyi +56 -38
  205. bpy/ops/render/__init__.pyi +120 -117
  206. bpy/ops/rigidbody/__init__.pyi +114 -97
  207. bpy/ops/scene/__init__.pyi +302 -240
  208. bpy/ops/screen/__init__.pyi +414 -363
  209. bpy/ops/script/__init__.pyi +20 -18
  210. bpy/ops/sculpt/__init__.pyi +414 -452
  211. bpy/ops/sculpt_curves/__init__.pyi +42 -43
  212. bpy/ops/sequencer/__init__.pyi +1094 -1053
  213. bpy/ops/sound/__init__.pyi +214 -206
  214. bpy/ops/spreadsheet/__init__.pyi +34 -28
  215. bpy/ops/surface/__init__.pyi +108 -114
  216. bpy/ops/text/__init__.pyi +432 -350
  217. bpy/ops/text_editor/__init__.pyi +10 -11
  218. bpy/ops/texture/__init__.pyi +32 -21
  219. bpy/ops/transform/__init__.pyi +801 -854
  220. bpy/ops/ui/__init__.pyi +254 -185
  221. bpy/ops/uilist/__init__.pyi +20 -23
  222. bpy/ops/uv/__init__.pyi +618 -626
  223. bpy/ops/view2d/__init__.pyi +162 -161
  224. bpy/ops/view3d/__init__.pyi +669 -658
  225. bpy/ops/wm/__init__.pyi +2433 -2415
  226. bpy/ops/workspace/__init__.pyi +54 -31
  227. bpy/ops/world/__init__.pyi +8 -4
  228. bpy/path/__init__.pyi +111 -68
  229. bpy/props/__init__.pyi +263 -267
  230. bpy/types/__init__.pyi +86789 -85719
  231. bpy/utils/__init__.pyi +265 -123
  232. bpy/utils/previews/__init__.pyi +103 -17
  233. bpy/utils/units/__init__.pyi +19 -22
  234. bpy_extras/__init__.pyi +0 -4
  235. bpy_extras/anim_utils/__init__.pyi +11 -46
  236. bpy_extras/asset_utils/__init__.pyi +3 -12
  237. bpy_extras/id_map_utils/__init__.pyi +0 -2
  238. bpy_extras/image_utils/__init__.pyi +2 -2
  239. bpy_extras/io_utils/__init__.pyi +30 -27
  240. bpy_extras/keyconfig_utils/__init__.pyi +4 -1
  241. bpy_extras/mesh_utils/__init__.pyi +18 -18
  242. bpy_extras/node_utils/__init__.pyi +4 -3
  243. bpy_extras/object_utils/__init__.pyi +25 -26
  244. bpy_extras/view3d_utils/__init__.pyi +33 -38
  245. bpy_restrict_state/__init__.pyi +14 -1
  246. bpy_types/__init__.pyi +3873 -997
  247. console_python/__init__.pyi +41 -7
  248. console_shell/__init__.pyi +24 -5
  249. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  250. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  251. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  252. freestyle/chainingiterators/__init__.pyi +50 -52
  253. freestyle/functions/__init__.pyi +303 -207
  254. freestyle/predicates/__init__.pyi +299 -115
  255. freestyle/shaders/__init__.pyi +49 -80
  256. freestyle/types/__init__.pyi +465 -472
  257. freestyle/utils/ContextFunctions/__init__.pyi +9 -9
  258. freestyle/utils/__init__.pyi +28 -18
  259. gpu/capabilities/__init__.pyi +27 -19
  260. gpu/matrix/__init__.pyi +14 -16
  261. gpu/platform/__init__.pyi +5 -5
  262. gpu/shader/__init__.pyi +2 -5
  263. gpu/state/__init__.pyi +1 -1
  264. gpu/texture/__init__.pyi +3 -3
  265. gpu/types/__init__.pyi +54 -85
  266. gpu_extras/batch/__init__.pyi +27 -5
  267. gpu_extras/presets/__init__.pyi +52 -14
  268. graphviz_export/__init__.pyi +9 -2
  269. idprop/types/__init__.pyi +36 -12
  270. imbuf/__init__.pyi +8 -9
  271. imbuf/types/__init__.pyi +8 -15
  272. keyingsets_builtins/__init__.pyi +3149 -701
  273. keyingsets_utils/__init__.pyi +69 -14
  274. mathutils/__init__.pyi +502 -427
  275. mathutils/bvhtree/__init__.pyi +28 -32
  276. mathutils/geometry/__init__.pyi +177 -186
  277. mathutils/kdtree/__init__.pyi +16 -18
  278. mathutils/noise/__init__.pyi +47 -48
  279. nodeitems_builtins/__init__.pyi +50 -10
  280. nodeitems_utils/__init__.pyi +58 -10
  281. rna_info/__init__.pyi +230 -26
  282. rna_keymap_ui/__init__.pyi +29 -6
  283. rna_prop_ui/__init__.pyi +69 -12
  284. rna_xml/__init__.pyi +29 -6
  285. sys_info/__init__.pyi +4 -1
  286. bpy_extras/bmesh_utils/__init__.pyi +0 -6
  287. bpy_extras/extensions/__init__.pyi +0 -4
  288. bpy_extras/extensions/junction_module/__init__.pyi +0 -12
  289. bpy_extras/node_shader_utils/__init__.pyi +0 -131
  290. bpy_extras/wm_utils/__init__.pyi +0 -4
  291. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
  292. fake_bpy_module-20240224.dist-info/RECORD +0 -349
  293. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -12,65 +12,63 @@ class KDTree:
12
12
 
13
13
  def find(
14
14
  self,
15
- co: typing.Union["mathutils.Vector", typing.Sequence[float]],
15
+ co: typing.Union[typing.Sequence[float], mathutils.Vector],
16
16
  filter: typing.Callable = None,
17
- ) -> typing.Tuple:
17
+ ) -> typing.Callable:
18
18
  """Find nearest point to co.
19
19
 
20
20
  :param co: 3d coordinates.
21
- :type co: typing.Union['mathutils.Vector', typing.Sequence[float]]
21
+ :type co: typing.Union[typing.Sequence[float], mathutils.Vector]
22
22
  :param filter: function which takes an index and returns True for indices to include in the search.
23
23
  :type filter: typing.Callable
24
- :rtype: typing.Tuple
25
24
  :return: Returns (`Vector`, index, distance).
25
+ :rtype: tuple
26
26
  """
27
27
  ...
28
28
 
29
29
  def find_n(
30
- self, co: typing.Union["mathutils.Vector", typing.Sequence[float]], n: int
31
- ) -> typing.List:
30
+ self, co: typing.Union[typing.Sequence[float], mathutils.Vector], n: int
31
+ ) -> int:
32
32
  """Find nearest n points to co.
33
33
 
34
34
  :param co: 3d coordinates.
35
- :type co: typing.Union['mathutils.Vector', typing.Sequence[float]]
35
+ :type co: typing.Union[typing.Sequence[float], mathutils.Vector]
36
36
  :param n: Number of points to find.
37
37
  :type n: int
38
- :rtype: typing.List
39
38
  :return: Returns a list of tuples (`Vector`, index, distance).
39
+ :rtype: list
40
40
  """
41
41
  ...
42
42
 
43
43
  def find_range(
44
- self,
45
- co: typing.Union["mathutils.Vector", typing.Sequence[float]],
46
- radius: float,
47
- ) -> typing.List:
44
+ self, co: typing.Union[typing.Sequence[float], mathutils.Vector], radius: float
45
+ ) -> float:
48
46
  """Find all points within radius of co.
49
47
 
50
48
  :param co: 3d coordinates.
51
- :type co: typing.Union['mathutils.Vector', typing.Sequence[float]]
49
+ :type co: typing.Union[typing.Sequence[float], mathutils.Vector]
52
50
  :param radius: Distance to search for points.
53
51
  :type radius: float
54
- :rtype: typing.List
55
52
  :return: Returns a list of tuples (`Vector`, index, distance).
53
+ :rtype: list
56
54
  """
57
55
  ...
58
56
 
59
57
  def insert(
60
- self, co: typing.Union["mathutils.Vector", typing.Sequence[float]], index: int
58
+ self, co: typing.Union[typing.Sequence[float], mathutils.Vector], index: int
61
59
  ):
62
60
  """Insert a point into the KDTree.
63
61
 
64
62
  :param co: Point 3d position.
65
- :type co: typing.Union['mathutils.Vector', typing.Sequence[float]]
63
+ :type co: typing.Union[typing.Sequence[float], mathutils.Vector]
66
64
  :param index: The index of the point.
67
65
  :type index: int
68
66
  """
69
67
  ...
70
68
 
71
- def __init__(self, size) -> typing.Any:
69
+ def __init__(self, size):
72
70
  """
73
71
 
74
- :rtype: typing.Any
72
+ :param size:
75
73
  """
76
74
  ...
@@ -3,32 +3,32 @@ import mathutils
3
3
 
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
- def cell(position: typing.Union["mathutils.Vector", typing.Sequence[float]]) -> float:
6
+ def cell(position: typing.Union[typing.Sequence[float], mathutils.Vector]) -> float:
7
7
  """Returns cell noise value at the specified position.
8
8
 
9
9
  :param position: The position to evaluate the selected noise function.
10
- :type position: typing.Union['mathutils.Vector', typing.Sequence[float]]
11
- :rtype: float
10
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
12
11
  :return: The cell noise value.
12
+ :rtype: float
13
13
  """
14
14
 
15
15
  ...
16
16
 
17
17
  def cell_vector(
18
- position: typing.Union["mathutils.Vector", typing.Sequence[float]],
19
- ) -> "mathutils.Vector":
18
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
19
+ ) -> mathutils.Vector:
20
20
  """Returns cell noise vector at the specified position.
21
21
 
22
22
  :param position: The position to evaluate the selected noise function.
23
- :type position: typing.Union['mathutils.Vector', typing.Sequence[float]]
24
- :rtype: 'mathutils.Vector'
23
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
25
24
  :return: The cell noise vector.
25
+ :rtype: mathutils.Vector
26
26
  """
27
27
 
28
28
  ...
29
29
 
30
30
  def fractal(
31
- position: typing.Union["mathutils.Vector", typing.Sequence[float]],
31
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
32
32
  H: float,
33
33
  lacunarity: float,
34
34
  octaves: int,
@@ -37,7 +37,7 @@ def fractal(
37
37
  """Returns the fractal Brownian motion (fBm) noise value from the noise basis at the specified position.
38
38
 
39
39
  :param position: The position to evaluate the selected noise function.
40
- :type position: typing.Union['mathutils.Vector', typing.Sequence[float]]
40
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
41
41
  :param H: The fractal increment factor.
42
42
  :type H: float
43
43
  :param lacunarity: The gap between successive frequencies.
@@ -46,14 +46,14 @@ def fractal(
46
46
  :type octaves: int
47
47
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
48
48
  :type noise_basis: str
49
- :rtype: float
50
49
  :return: The fractal Brownian motion noise value.
50
+ :rtype: float
51
51
  """
52
52
 
53
53
  ...
54
54
 
55
55
  def hetero_terrain(
56
- position: typing.Union["mathutils.Vector", typing.Sequence[float]],
56
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
57
57
  H: float,
58
58
  lacunarity: float,
59
59
  octaves: int,
@@ -63,7 +63,7 @@ def hetero_terrain(
63
63
  """Returns the heterogeneous terrain value from the noise basis at the specified position.
64
64
 
65
65
  :param position: The position to evaluate the selected noise function.
66
- :type position: typing.Union['mathutils.Vector', typing.Sequence[float]]
66
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
67
67
  :param H: The fractal dimension of the roughest areas.
68
68
  :type H: float
69
69
  :param lacunarity: The gap between successive frequencies.
@@ -74,14 +74,14 @@ def hetero_terrain(
74
74
  :type offset: float
75
75
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
76
76
  :type noise_basis: str
77
- :rtype: float
78
77
  :return: The heterogeneous terrain value.
78
+ :rtype: float
79
79
  """
80
80
 
81
81
  ...
82
82
 
83
83
  def hybrid_multi_fractal(
84
- position: typing.Union["mathutils.Vector", typing.Sequence[float]],
84
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
85
85
  H: float,
86
86
  lacunarity: float,
87
87
  octaves: int,
@@ -92,7 +92,7 @@ def hybrid_multi_fractal(
92
92
  """Returns hybrid multifractal value from the noise basis at the specified position.
93
93
 
94
94
  :param position: The position to evaluate the selected noise function.
95
- :type position: typing.Union['mathutils.Vector', typing.Sequence[float]]
95
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
96
96
  :param H: The fractal dimension of the roughest areas.
97
97
  :type H: float
98
98
  :param lacunarity: The gap between successive frequencies.
@@ -105,14 +105,14 @@ def hybrid_multi_fractal(
105
105
  :type gain: float
106
106
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
107
107
  :type noise_basis: str
108
- :rtype: float
109
108
  :return: The hybrid multifractal value.
109
+ :rtype: float
110
110
  """
111
111
 
112
112
  ...
113
113
 
114
114
  def multi_fractal(
115
- position: typing.Union["mathutils.Vector", typing.Sequence[float]],
115
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
116
116
  H: float,
117
117
  lacunarity: float,
118
118
  octaves: int,
@@ -121,7 +121,7 @@ def multi_fractal(
121
121
  """Returns multifractal noise value from the noise basis at the specified position.
122
122
 
123
123
  :param position: The position to evaluate the selected noise function.
124
- :type position: typing.Union['mathutils.Vector', typing.Sequence[float]]
124
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
125
125
  :param H: The fractal increment factor.
126
126
  :type H: float
127
127
  :param lacunarity: The gap between successive frequencies.
@@ -130,40 +130,40 @@ def multi_fractal(
130
130
  :type octaves: int
131
131
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
132
132
  :type noise_basis: str
133
- :rtype: float
134
133
  :return: The multifractal noise value.
134
+ :rtype: float
135
135
  """
136
136
 
137
137
  ...
138
138
 
139
139
  def noise(
140
- position: typing.Union["mathutils.Vector", typing.Sequence[float]],
140
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
141
141
  noise_basis: str = "PERLIN_ORIGINAL",
142
142
  ) -> float:
143
143
  """Returns noise value from the noise basis at the position specified.
144
144
 
145
145
  :param position: The position to evaluate the selected noise function.
146
- :type position: typing.Union['mathutils.Vector', typing.Sequence[float]]
146
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
147
147
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
148
148
  :type noise_basis: str
149
- :rtype: float
150
149
  :return: The noise value.
150
+ :rtype: float
151
151
  """
152
152
 
153
153
  ...
154
154
 
155
155
  def noise_vector(
156
- position: typing.Union["mathutils.Vector", typing.Sequence[float]],
156
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
157
157
  noise_basis: str = "PERLIN_ORIGINAL",
158
- ) -> "mathutils.Vector":
158
+ ) -> mathutils.Vector:
159
159
  """Returns the noise vector from the noise basis at the specified position.
160
160
 
161
161
  :param position: The position to evaluate the selected noise function.
162
- :type position: typing.Union['mathutils.Vector', typing.Sequence[float]]
162
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
163
163
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
164
164
  :type noise_basis: str
165
- :rtype: 'mathutils.Vector'
166
165
  :return: The noise vector.
166
+ :rtype: mathutils.Vector
167
167
  """
168
168
 
169
169
  ...
@@ -171,36 +171,36 @@ def noise_vector(
171
171
  def random() -> float:
172
172
  """Returns a random number in the range [0, 1).
173
173
 
174
- :rtype: float
175
174
  :return: The random number.
175
+ :rtype: float
176
176
  """
177
177
 
178
178
  ...
179
179
 
180
- def random_unit_vector(size: int = 3) -> "mathutils.Vector":
180
+ def random_unit_vector(size: int = 3) -> mathutils.Vector:
181
181
  """Returns a unit vector with random entries.
182
182
 
183
183
  :param size: The size of the vector to be produced, in the range [2, 4].
184
184
  :type size: int
185
- :rtype: 'mathutils.Vector'
186
185
  :return: The random unit vector.
186
+ :rtype: mathutils.Vector
187
187
  """
188
188
 
189
189
  ...
190
190
 
191
- def random_vector(size: int = 3) -> "mathutils.Vector":
191
+ def random_vector(size: int = 3) -> mathutils.Vector:
192
192
  """Returns a vector with random entries in the range (-1, 1).
193
193
 
194
194
  :param size: The size of the vector to be produced.
195
195
  :type size: int
196
- :rtype: 'mathutils.Vector'
197
196
  :return: The random vector.
197
+ :rtype: mathutils.Vector
198
198
  """
199
199
 
200
200
  ...
201
201
 
202
202
  def ridged_multi_fractal(
203
- position: typing.Union["mathutils.Vector", typing.Sequence[float]],
203
+ position: typing.Union[typing.Sequence[float], mathutils.Vector],
204
204
  H: float,
205
205
  lacunarity: float,
206
206
  octaves: int,
@@ -211,7 +211,7 @@ def ridged_multi_fractal(
211
211
  """Returns ridged multifractal value from the noise basis at the specified position.
212
212
 
213
213
  :param position: The position to evaluate the selected noise function.
214
- :type position: typing.Union['mathutils.Vector', typing.Sequence[float]]
214
+ :type position: typing.Union[typing.Sequence[float], mathutils.Vector]
215
215
  :param H: The fractal dimension of the roughest areas.
216
216
  :type H: float
217
217
  :param lacunarity: The gap between successive frequencies.
@@ -224,8 +224,8 @@ def ridged_multi_fractal(
224
224
  :type gain: float
225
225
  :param noise_basis: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', 'VORONOI_F1', 'VORONOI_F2', 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', 'CELLNOISE'].
226
226
  :type noise_basis: str
227
- :rtype: float
228
227
  :return: The ridged multifractal value.
228
+ :rtype: float
229
229
  """
230
230
 
231
231
  ...
@@ -241,7 +241,7 @@ def seed_set(seed: int):
241
241
  ...
242
242
 
243
243
  def turbulence(
244
- position: typing.Union["mathutils.Vector", typing.Sequence[float]],
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['mathutils.Vector', typing.Sequence[float]]
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["mathutils.Vector", typing.Sequence[float]],
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['mathutils.Vector', typing.Sequence[float]]
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["mathutils.Vector", typing.Sequence[float]],
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['mathutils.Vector', typing.Sequence[float]]
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["mathutils.Vector", typing.Sequence[float]],
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['mathutils.Vector', typing.Sequence[float]]
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
 
@@ -3,17 +3,57 @@ import nodeitems_utils
3
3
 
4
4
  GenericType = typing.TypeVar("GenericType")
5
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
+
6
26
  class SortedNodeCategory(nodeitems_utils.NodeCategory):
7
- 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
+ """ """
8
53
 
9
- class CompositorNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
10
- def poll(self, context): ...
54
+ ...
11
55
 
12
- class ShaderNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
13
- def poll(self, context): ...
56
+ def unregister():
57
+ """ """
14
58
 
15
- def group_input_output_item_poll(context): ...
16
- def group_tools_draw(_self, layout, _context): ...
17
- def node_group_items(context): ...
18
- def register(): ...
19
- def unregister(): ...
59
+ ...
@@ -3,20 +3,68 @@ import typing
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
5
  class NodeCategory:
6
- def poll(self, _context): ...
6
+ """ """
7
+
8
+ def poll(self, _context):
9
+ """
10
+
11
+ :param _context:
12
+ """
13
+ ...
7
14
 
8
15
  class NodeItem:
16
+ """ """
17
+
9
18
  label: typing.Any
19
+ """ """
20
+
10
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
+ """ """
11
64
 
12
- def draw(self, layout, _context): ...
65
+ ...
13
66
 
14
- class NodeItemCustom: ...
67
+ def unregister_node_categories(identifier):
68
+ """ """
15
69
 
16
- def draw_node_categories_menu(context): ...
17
- def has_node_categories(context): ...
18
- def node_categories_iter(context): ...
19
- def node_items_iter(context): ...
20
- def register_node_categories(identifier, cat_list): ...
21
- def unregister_node_cat_types(cats): ...
22
- def unregister_node_categories(identifier): ...
70
+ ...