fake-bpy-module 20240321__py3-none-any.whl → 20240322__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (285) hide show
  1. addon_utils/__init__.pyi +54 -10
  2. animsys_refactor/__init__.pyi +27 -11
  3. aud/__init__.pyi +130 -123
  4. bgl/__init__.pyi +1831 -216
  5. bl_app_override/__init__.pyi +14 -3
  6. bl_app_override/helpers/__init__.pyi +19 -10
  7. bl_app_template_utils/__init__.pyi +19 -4
  8. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
  9. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
  10. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
  11. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
  12. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
  13. bl_i18n_utils/merge_po/__init__.pyi +4 -1
  14. bl_i18n_utils/settings/__init__.pyi +19 -23
  15. bl_i18n_utils/utils/__init__.pyi +81 -143
  16. bl_i18n_utils/utils_cli/__init__.pyi +29 -6
  17. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
  18. bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
  19. bl_keymap_utils/io/__init__.pyi +44 -9
  20. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
  21. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
  22. bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
  23. bl_keymap_utils/versioning/__init__.pyi +4 -1
  24. bl_math/__init__.pyi +3 -3
  25. bl_operators/__init__.pyi +9 -2
  26. bl_operators/add_mesh_torus/__init__.pyi +120 -49
  27. bl_operators/anim/__init__.pyi +903 -297
  28. bl_operators/assets/__init__.pyi +348 -123
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
  30. bl_operators/clip/__init__.pyi +1262 -470
  31. bl_operators/console/__init__.pyi +542 -160
  32. bl_operators/constraint/__init__.pyi +452 -140
  33. bl_operators/file/__init__.pyi +339 -114
  34. bl_operators/freestyle/__init__.pyi +440 -132
  35. bl_operators/geometry_nodes/__init__.pyi +2131 -842
  36. bl_operators/image/__init__.pyi +330 -97
  37. bl_operators/mesh/__init__.pyi +339 -109
  38. bl_operators/node/__init__.pyi +1506 -621
  39. bl_operators/object/__init__.pyi +1828 -668
  40. bl_operators/object_align/__init__.pyi +124 -35
  41. bl_operators/object_quick_effects/__init__.pyi +470 -149
  42. bl_operators/object_randomize_transform/__init__.pyi +114 -35
  43. bl_operators/presets/__init__.pyi +3056 -1374
  44. bl_operators/rigidbody/__init__.pyi +336 -106
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
  46. bl_operators/sequencer/__init__.pyi +579 -204
  47. bl_operators/spreadsheet/__init__.pyi +110 -38
  48. bl_operators/userpref/__init__.pyi +3201 -1236
  49. bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
  50. bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
  51. bl_operators/uvcalc_transform/__init__.pyi +295 -83
  52. bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
  53. bl_operators/view3d/__init__.pyi +542 -184
  54. bl_operators/wm/__init__.pyi +5554 -2159
  55. bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
  56. bl_rna_utils/data_path/__init__.pyi +12 -2
  57. bl_text_utils/external_editor/__init__.pyi +4 -1
  58. bl_ui/__init__.pyi +346 -146
  59. bl_ui/anim/__init__.pyi +107 -47
  60. bl_ui/asset_shelf/__init__.pyi +111 -33
  61. bl_ui/generic_ui_list/__init__.pyi +349 -146
  62. bl_ui/node_add_menu/__init__.pyi +138 -53
  63. bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
  64. bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
  65. bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
  66. bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
  67. bl_ui/properties_animviz/__init__.pyi +14 -12
  68. bl_ui/properties_collection/__init__.pyi +601 -218
  69. bl_ui/properties_constraint/__init__.pyi +10115 -10647
  70. bl_ui/properties_data_armature/__init__.pyi +1550 -648
  71. bl_ui/properties_data_bone/__init__.pyi +1317 -511
  72. bl_ui/properties_data_camera/__init__.pyi +1852 -719
  73. bl_ui/properties_data_curve/__init__.pyi +2015 -781
  74. bl_ui/properties_data_curves/__init__.pyi +713 -262
  75. bl_ui/properties_data_empty/__init__.pyi +252 -84
  76. bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
  77. bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
  78. bl_ui/properties_data_lattice/__init__.pyi +374 -123
  79. bl_ui/properties_data_light/__init__.pyi +1319 -489
  80. bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
  81. bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
  82. bl_ui/properties_data_metaball/__init__.pyi +610 -197
  83. bl_ui/properties_data_modifier/__init__.pyi +1143 -506
  84. bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
  85. bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
  86. bl_ui/properties_data_speaker/__init__.pyi +618 -195
  87. bl_ui/properties_data_volume/__init__.pyi +1052 -408
  88. bl_ui/properties_freestyle/__init__.pyi +3366 -1450
  89. bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
  90. bl_ui/properties_mask_common/__init__.pyi +803 -371
  91. bl_ui/properties_material/__init__.pyi +2038 -831
  92. bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
  93. bl_ui/properties_object/__init__.pyi +1863 -745
  94. bl_ui/properties_output/__init__.pyi +2482 -1071
  95. bl_ui/properties_paint_common/__init__.pyi +317 -424
  96. bl_ui/properties_particle/__init__.pyi +7235 -2942
  97. bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
  98. bl_ui/properties_physics_common/__init__.pyi +164 -51
  99. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
  100. bl_ui/properties_physics_field/__init__.pyi +1294 -486
  101. bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
  102. bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
  103. bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
  104. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
  105. bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
  106. bl_ui/properties_render/__init__.pyi +7177 -2939
  107. bl_ui/properties_scene/__init__.pyi +1881 -760
  108. bl_ui/properties_texture/__init__.pyi +3539 -1399
  109. bl_ui/properties_view_layer/__init__.pyi +2368 -940
  110. bl_ui/properties_workspace/__init__.pyi +517 -202
  111. bl_ui/properties_world/__init__.pyi +862 -269
  112. bl_ui/space_clip/__init__.pyi +9127 -4137
  113. bl_ui/space_console/__init__.pyi +666 -286
  114. bl_ui/space_dopesheet/__init__.pyi +3287 -1504
  115. bl_ui/space_filebrowser/__init__.pyi +3958 -1935
  116. bl_ui/space_graph/__init__.pyi +2406 -1142
  117. bl_ui/space_image/__init__.pyi +9242 -4526
  118. bl_ui/space_info/__init__.pyi +664 -285
  119. bl_ui/space_nla/__init__.pyi +2014 -932
  120. bl_ui/space_node/__init__.pyi +4549 -1949
  121. bl_ui/space_outliner/__init__.pyi +1619 -745
  122. bl_ui/space_properties/__init__.pyi +340 -105
  123. bl_ui/space_sequencer/__init__.pyi +9396 -4264
  124. bl_ui/space_spreadsheet/__init__.pyi +110 -60
  125. bl_ui/space_statusbar/__init__.pyi +107 -32
  126. bl_ui/space_text/__init__.pyi +1907 -872
  127. bl_ui/space_time/__init__.pyi +812 -327
  128. bl_ui/space_toolsystem_common/__init__.pyi +203 -99
  129. bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
  130. bl_ui/space_topbar/__init__.pyi +3131 -1437
  131. bl_ui/space_userpref/__init__.pyi +11510 -4926
  132. bl_ui/space_view3d/__init__.pyi +31358 -14417
  133. bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
  134. bl_ui/utils/__init__.pyi +7 -16
  135. bl_ui_utils/bug_report_url/__init__.pyi +4 -1
  136. bl_ui_utils/layout/__init__.pyi +4 -1
  137. blend_render_info/__init__.pyi +13 -3
  138. blf/__init__.pyi +5 -7
  139. bmesh/__init__.pyi +7 -7
  140. bmesh/geometry/__init__.pyi +5 -5
  141. bmesh/ops/__init__.pyi +490 -504
  142. bmesh/types/__init__.pyi +253 -247
  143. bmesh/utils/__init__.pyi +54 -54
  144. bpy/__init__.pyi +2 -2
  145. bpy/app/__init__.pyi +4 -5
  146. bpy/app/handlers/__init__.pyi +36 -36
  147. bpy/app/icons/__init__.pyi +8 -10
  148. bpy/app/timers/__init__.pyi +9 -11
  149. bpy/app/translations/__init__.pyi +20 -22
  150. bpy/msgbus/__init__.pyi +3 -12
  151. bpy/ops/action/__init__.pyi +316 -415
  152. bpy/ops/anim/__init__.pyi +428 -566
  153. bpy/ops/armature/__init__.pyi +360 -488
  154. bpy/ops/asset/__init__.pyi +146 -183
  155. bpy/ops/boid/__init__.pyi +50 -67
  156. bpy/ops/brush/__init__.pyi +72 -96
  157. bpy/ops/buttons/__init__.pyi +128 -142
  158. bpy/ops/cachefile/__init__.pyi +124 -137
  159. bpy/ops/camera/__init__.pyi +22 -28
  160. bpy/ops/clip/__init__.pyi +768 -1005
  161. bpy/ops/cloth/__init__.pyi +10 -13
  162. bpy/ops/collection/__init__.pyi +36 -50
  163. bpy/ops/console/__init__.pyi +150 -203
  164. bpy/ops/constraint/__init__.pyi +150 -201
  165. bpy/ops/curve/__init__.pyi +474 -607
  166. bpy/ops/curves/__init__.pyi +170 -221
  167. bpy/ops/cycles/__init__.pyi +18 -26
  168. bpy/ops/dpaint/__init__.pyi +34 -46
  169. bpy/ops/ed/__init__.pyi +122 -149
  170. bpy/ops/export_anim/__init__.pyi +18 -21
  171. bpy/ops/export_mesh/__init__.pyi +26 -29
  172. bpy/ops/export_scene/__init__.pyi +307 -342
  173. bpy/ops/file/__init__.pyi +342 -436
  174. bpy/ops/fluid/__init__.pyi +88 -117
  175. bpy/ops/font/__init__.pyi +252 -311
  176. bpy/ops/geometry/__init__.pyi +86 -113
  177. bpy/ops/gizmogroup/__init__.pyi +22 -27
  178. bpy/ops/gpencil/__init__.pyi +1444 -1864
  179. bpy/ops/graph/__init__.pyi +642 -822
  180. bpy/ops/grease_pencil/__init__.pyi +426 -576
  181. bpy/ops/image/__init__.pyi +612 -733
  182. bpy/ops/import_anim/__init__.pyi +26 -29
  183. bpy/ops/import_curve/__init__.pyi +6 -9
  184. bpy/ops/import_mesh/__init__.pyi +18 -23
  185. bpy/ops/import_scene/__init__.pyi +86 -101
  186. bpy/ops/info/__init__.pyi +60 -77
  187. bpy/ops/lattice/__init__.pyi +64 -85
  188. bpy/ops/marker/__init__.pyi +106 -137
  189. bpy/ops/mask/__init__.pyi +318 -420
  190. bpy/ops/material/__init__.pyi +18 -24
  191. bpy/ops/mball/__init__.pyi +70 -93
  192. bpy/ops/mesh/__init__.pyi +1988 -2460
  193. bpy/ops/nla/__init__.pyi +330 -428
  194. bpy/ops/node/__init__.pyi +852 -1115
  195. bpy/ops/object/__init__.pyi +2420 -3081
  196. bpy/ops/outliner/__init__.pyi +498 -661
  197. bpy/ops/paint/__init__.pyi +518 -667
  198. bpy/ops/paintcurve/__init__.pyi +64 -84
  199. bpy/ops/palette/__init__.pyi +48 -66
  200. bpy/ops/particle/__init__.pyi +264 -355
  201. bpy/ops/pose/__init__.pyi +336 -438
  202. bpy/ops/poselib/__init__.pyi +70 -92
  203. bpy/ops/preferences/__init__.pyi +336 -440
  204. bpy/ops/ptcache/__init__.pyi +46 -62
  205. bpy/ops/render/__init__.pyi +114 -147
  206. bpy/ops/rigidbody/__init__.pyi +102 -135
  207. bpy/ops/scene/__init__.pyi +270 -364
  208. bpy/ops/screen/__init__.pyi +378 -477
  209. bpy/ops/script/__init__.pyi +18 -26
  210. bpy/ops/sculpt/__init__.pyi +400 -488
  211. bpy/ops/sculpt_curves/__init__.pyi +40 -53
  212. bpy/ops/sequencer/__init__.pyi +1040 -1279
  213. bpy/ops/sound/__init__.pyi +208 -226
  214. bpy/ops/spreadsheet/__init__.pyi +30 -40
  215. bpy/ops/surface/__init__.pyi +108 -126
  216. bpy/ops/text/__init__.pyi +382 -486
  217. bpy/ops/text_editor/__init__.pyi +10 -13
  218. bpy/ops/texture/__init__.pyi +26 -35
  219. bpy/ops/transform/__init__.pyi +790 -905
  220. bpy/ops/ui/__init__.pyi +216 -291
  221. bpy/ops/uilist/__init__.pyi +20 -29
  222. bpy/ops/uv/__init__.pyi +600 -742
  223. bpy/ops/view2d/__init__.pyi +156 -195
  224. bpy/ops/view3d/__init__.pyi +576 -742
  225. bpy/ops/wm/__init__.pyi +2360 -2702
  226. bpy/ops/workspace/__init__.pyi +42 -57
  227. bpy/ops/world/__init__.pyi +6 -8
  228. bpy/path/__init__.pyi +110 -81
  229. bpy/props/__init__.pyi +263 -267
  230. bpy/types/__init__.pyi +86353 -87337
  231. bpy/utils/__init__.pyi +242 -154
  232. bpy/utils/previews/__init__.pyi +57 -57
  233. bpy/utils/units/__init__.pyi +19 -22
  234. bpy_extras/anim_utils/__init__.pyi +11 -31
  235. bpy_extras/asset_utils/__init__.pyi +4 -1
  236. bpy_extras/image_utils/__init__.pyi +2 -2
  237. bpy_extras/io_utils/__init__.pyi +30 -27
  238. bpy_extras/keyconfig_utils/__init__.pyi +4 -1
  239. bpy_extras/mesh_utils/__init__.pyi +18 -18
  240. bpy_extras/node_utils/__init__.pyi +4 -1
  241. bpy_extras/object_utils/__init__.pyi +25 -26
  242. bpy_extras/view3d_utils/__init__.pyi +33 -38
  243. bpy_restrict_state/__init__.pyi +14 -1
  244. bpy_types/__init__.pyi +3748 -1248
  245. console_python/__init__.pyi +41 -7
  246. console_shell/__init__.pyi +24 -5
  247. {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
  248. fake_bpy_module-20240322.dist-info/RECORD +343 -0
  249. freestyle/chainingiterators/__init__.pyi +50 -52
  250. freestyle/functions/__init__.pyi +303 -207
  251. freestyle/predicates/__init__.pyi +299 -115
  252. freestyle/shaders/__init__.pyi +49 -80
  253. freestyle/types/__init__.pyi +463 -470
  254. freestyle/utils/ContextFunctions/__init__.pyi +9 -9
  255. freestyle/utils/__init__.pyi +27 -17
  256. gpu/capabilities/__init__.pyi +19 -20
  257. gpu/matrix/__init__.pyi +14 -16
  258. gpu/platform/__init__.pyi +5 -5
  259. gpu/shader/__init__.pyi +2 -5
  260. gpu/state/__init__.pyi +1 -1
  261. gpu/texture/__init__.pyi +3 -3
  262. gpu/types/__init__.pyi +54 -85
  263. gpu_extras/batch/__init__.pyi +26 -6
  264. gpu_extras/presets/__init__.pyi +51 -16
  265. graphviz_export/__init__.pyi +9 -2
  266. idprop/types/__init__.pyi +36 -12
  267. imbuf/__init__.pyi +8 -9
  268. imbuf/types/__init__.pyi +8 -15
  269. keyingsets_builtins/__init__.pyi +2520 -1085
  270. keyingsets_utils/__init__.pyi +69 -14
  271. mathutils/__init__.pyi +491 -423
  272. mathutils/bvhtree/__init__.pyi +26 -31
  273. mathutils/geometry/__init__.pyi +176 -185
  274. mathutils/kdtree/__init__.pyi +14 -17
  275. mathutils/noise/__init__.pyi +47 -48
  276. nodeitems_builtins/__init__.pyi +37 -15
  277. nodeitems_utils/__init__.pyi +45 -13
  278. rna_info/__init__.pyi +177 -76
  279. rna_keymap_ui/__init__.pyi +29 -6
  280. rna_prop_ui/__init__.pyi +56 -14
  281. rna_xml/__init__.pyi +29 -6
  282. sys_info/__init__.pyi +4 -1
  283. fake_bpy_module-20240321.dist-info/RECORD +0 -343
  284. {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
  285. {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
@@ -12,57 +12,55 @@ 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
  """
@@ -72,6 +70,5 @@ class KDTree:
72
70
  """
73
71
 
74
72
  :param size:
75
- :type size:
76
73
  """
77
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,35 +3,57 @@ import nodeitems_utils
3
3
 
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
- class SortedNodeCategory(nodeitems_utils.NodeCategory):
7
- def poll(self, _context):
6
+ class CompositorNodeCategory(nodeitems_utils.NodeCategory):
7
+ """ """
8
+
9
+ def poll(self, context):
8
10
  """
9
11
 
10
- :param _context:
11
- :type _context:
12
+ :param context:
12
13
  """
13
14
  ...
14
15
 
15
- class CompositorNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
16
+ class ShaderNodeCategory(nodeitems_utils.NodeCategory):
17
+ """ """
18
+
16
19
  def poll(self, context):
17
20
  """
18
21
 
19
22
  :param context:
20
- :type context:
21
23
  """
22
24
  ...
23
25
 
24
- class ShaderNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
25
- def poll(self, context):
26
+ class SortedNodeCategory(nodeitems_utils.NodeCategory):
27
+ """ """
28
+
29
+ def poll(self, _context):
26
30
  """
27
31
 
28
- :param context:
29
- :type context:
32
+ :param _context:
30
33
  """
31
34
  ...
32
35
 
33
- def group_input_output_item_poll(context): ...
34
- def group_tools_draw(_self, layout, _context): ...
35
- def node_group_items(context): ...
36
- def register(): ...
37
- def unregister(): ...
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
+ """ """
53
+
54
+ ...
55
+
56
+ def unregister():
57
+ """ """
58
+
59
+ ...
@@ -3,36 +3,68 @@ import typing
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
5
  class NodeCategory:
6
+ """ """
7
+
6
8
  def poll(self, _context):
7
9
  """
8
10
 
9
11
  :param _context:
10
- :type _context:
11
12
  """
12
13
  ...
13
14
 
14
15
  class NodeItem:
16
+ """ """
17
+
15
18
  label: typing.Any
19
+ """ """
20
+
16
21
  translation_context: typing.Any
22
+ """ """
17
23
 
18
24
  def draw(self, layout, _context):
19
25
  """
20
26
 
21
- :param self:
22
- :type self:
23
27
  :param layout:
24
- :type layout:
25
28
  :param _context:
26
- :type _context:
27
29
  """
28
30
  ...
29
31
 
30
- class NodeItemCustom: ...
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
+ """ """
64
+
65
+ ...
66
+
67
+ def unregister_node_categories(identifier):
68
+ """ """
31
69
 
32
- def draw_node_categories_menu(context): ...
33
- def has_node_categories(context): ...
34
- def node_categories_iter(context): ...
35
- def node_items_iter(context): ...
36
- def register_node_categories(identifier, cat_list): ...
37
- def unregister_node_cat_types(cats): ...
38
- def unregister_node_categories(identifier): ...
70
+ ...