fake-bpy-module 20240923__py3-none-any.whl → 20240925__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (325) hide show
  1. _bpy_internal/__init__.pyi +0 -3
  2. _bpy_internal/addons/__init__.pyi +0 -3
  3. _bpy_internal/addons/cli/__init__.pyi +0 -3
  4. _bpy_internal/extensions/__init__.pyi +0 -3
  5. _bpy_internal/extensions/junction_module/__init__.pyi +0 -3
  6. _bpy_internal/extensions/stale_file_manager/__init__.pyi +0 -3
  7. _bpy_internal/extensions/wheel_manager/__init__.pyi +0 -3
  8. _bpy_internal/freedesktop/__init__.pyi +0 -3
  9. _bpy_internal/grease_pencil/__init__.pyi +0 -3
  10. _bpy_internal/grease_pencil/stroke/__init__.pyi +0 -3
  11. _bpy_internal/system_info/__init__.pyi +0 -3
  12. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +0 -3
  13. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +0 -3
  14. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +0 -3
  15. addon_utils/__init__.pyi +7 -7
  16. animsys_refactor/__init__.pyi +0 -3
  17. aud/__init__.pyi +0 -3
  18. bgl/__init__.pyi +0 -3
  19. bl_app_override/__init__.pyi +0 -3
  20. bl_app_override/helpers/__init__.pyi +0 -3
  21. bl_app_template_utils/__init__.pyi +0 -3
  22. bl_console_utils/__init__.pyi +0 -3
  23. bl_console_utils/autocomplete/__init__.pyi +0 -3
  24. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +0 -3
  25. bl_console_utils/autocomplete/complete_import/__init__.pyi +0 -3
  26. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -5
  27. bl_console_utils/autocomplete/intellisense/__init__.pyi +0 -3
  28. bl_i18n_utils/__init__.pyi +0 -3
  29. bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -3
  30. bl_i18n_utils/merge_po/__init__.pyi +0 -3
  31. bl_i18n_utils/settings/__init__.pyi +0 -3
  32. bl_i18n_utils/utils/__init__.pyi +0 -3
  33. bl_i18n_utils/utils_cli/__init__.pyi +0 -3
  34. bl_i18n_utils/utils_languages_menu/__init__.pyi +0 -3
  35. bl_i18n_utils/utils_rtl/__init__.pyi +0 -3
  36. bl_keymap_utils/__init__.pyi +0 -3
  37. bl_keymap_utils/io/__init__.pyi +0 -3
  38. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +0 -3
  39. bl_keymap_utils/keymap_hierarchy/__init__.pyi +0 -3
  40. bl_keymap_utils/platform_helpers/__init__.pyi +0 -3
  41. bl_keymap_utils/versioning/__init__.pyi +0 -3
  42. bl_math/__init__.pyi +0 -3
  43. bl_operators/__init__.pyi +0 -3
  44. bl_operators/add_mesh_torus/__init__.pyi +0 -3
  45. bl_operators/anim/__init__.pyi +0 -3
  46. bl_operators/assets/__init__.pyi +0 -3
  47. bl_operators/bmesh/__init__.pyi +0 -3
  48. bl_operators/bmesh/find_adjacent/__init__.pyi +0 -3
  49. bl_operators/bone_selection_sets/__init__.pyi +0 -3
  50. bl_operators/clip/__init__.pyi +0 -3
  51. bl_operators/connect_to_output/__init__.pyi +0 -3
  52. bl_operators/console/__init__.pyi +0 -3
  53. bl_operators/constraint/__init__.pyi +0 -3
  54. bl_operators/file/__init__.pyi +0 -3
  55. bl_operators/freestyle/__init__.pyi +0 -3
  56. bl_operators/geometry_nodes/__init__.pyi +0 -3
  57. bl_operators/image/__init__.pyi +0 -3
  58. bl_operators/image_as_planes/__init__.pyi +0 -3
  59. bl_operators/mesh/__init__.pyi +0 -3
  60. bl_operators/node/__init__.pyi +32 -3
  61. bl_operators/node_editor/__init__.pyi +0 -3
  62. bl_operators/node_editor/node_functions/__init__.pyi +0 -3
  63. bl_operators/object/__init__.pyi +0 -3
  64. bl_operators/object_align/__init__.pyi +0 -3
  65. bl_operators/object_quick_effects/__init__.pyi +0 -3
  66. bl_operators/object_randomize_transform/__init__.pyi +0 -3
  67. bl_operators/presets/__init__.pyi +0 -3
  68. bl_operators/rigidbody/__init__.pyi +0 -3
  69. bl_operators/screen_play_rendered_anim/__init__.pyi +0 -3
  70. bl_operators/sequencer/__init__.pyi +0 -3
  71. bl_operators/spreadsheet/__init__.pyi +0 -3
  72. bl_operators/userpref/__init__.pyi +0 -3
  73. bl_operators/uvcalc_follow_active/__init__.pyi +0 -3
  74. bl_operators/uvcalc_lightmap/__init__.pyi +0 -3
  75. bl_operators/uvcalc_transform/__init__.pyi +0 -3
  76. bl_operators/vertexpaint_dirt/__init__.pyi +0 -3
  77. bl_operators/view3d/__init__.pyi +0 -3
  78. bl_operators/wm/__init__.pyi +0 -3
  79. bl_operators/world/__init__.pyi +0 -3
  80. bl_previews_utils/__init__.pyi +0 -3
  81. bl_previews_utils/bl_previews_render/__init__.pyi +0 -3
  82. bl_rna_utils/__init__.pyi +0 -3
  83. bl_rna_utils/data_path/__init__.pyi +0 -3
  84. bl_text_utils/__init__.pyi +0 -3
  85. bl_text_utils/external_editor/__init__.pyi +0 -3
  86. bl_ui/__init__.pyi +0 -3
  87. bl_ui/anim/__init__.pyi +0 -3
  88. bl_ui/asset_shelf/__init__.pyi +0 -3
  89. bl_ui/generic_ui_list/__init__.pyi +0 -3
  90. bl_ui/node_add_menu/__init__.pyi +1 -3
  91. bl_ui/node_add_menu_compositor/__init__.pyi +0 -3
  92. bl_ui/node_add_menu_geometry/__init__.pyi +0 -3
  93. bl_ui/node_add_menu_shader/__init__.pyi +0 -3
  94. bl_ui/node_add_menu_texture/__init__.pyi +0 -3
  95. bl_ui/properties_animviz/__init__.pyi +0 -3
  96. bl_ui/properties_collection/__init__.pyi +0 -3
  97. bl_ui/properties_constraint/__init__.pyi +0 -3
  98. bl_ui/properties_data_armature/__init__.pyi +0 -3
  99. bl_ui/properties_data_bone/__init__.pyi +0 -3
  100. bl_ui/properties_data_camera/__init__.pyi +0 -3
  101. bl_ui/properties_data_curve/__init__.pyi +0 -3
  102. bl_ui/properties_data_curves/__init__.pyi +0 -3
  103. bl_ui/properties_data_empty/__init__.pyi +0 -3
  104. bl_ui/properties_data_gpencil/__init__.pyi +0 -3
  105. bl_ui/properties_data_grease_pencil/__init__.pyi +0 -3
  106. bl_ui/properties_data_lattice/__init__.pyi +0 -3
  107. bl_ui/properties_data_light/__init__.pyi +0 -3
  108. bl_ui/properties_data_lightprobe/__init__.pyi +0 -3
  109. bl_ui/properties_data_mesh/__init__.pyi +0 -3
  110. bl_ui/properties_data_metaball/__init__.pyi +0 -3
  111. bl_ui/properties_data_modifier/__init__.pyi +0 -3
  112. bl_ui/properties_data_pointcloud/__init__.pyi +0 -3
  113. bl_ui/properties_data_shaderfx/__init__.pyi +0 -3
  114. bl_ui/properties_data_speaker/__init__.pyi +0 -3
  115. bl_ui/properties_data_volume/__init__.pyi +0 -3
  116. bl_ui/properties_freestyle/__init__.pyi +0 -3
  117. bl_ui/properties_grease_pencil_common/__init__.pyi +0 -3
  118. bl_ui/properties_mask_common/__init__.pyi +0 -3
  119. bl_ui/properties_material/__init__.pyi +0 -3
  120. bl_ui/properties_material_gpencil/__init__.pyi +0 -3
  121. bl_ui/properties_object/__init__.pyi +0 -3
  122. bl_ui/properties_output/__init__.pyi +0 -3
  123. bl_ui/properties_paint_common/__init__.pyi +0 -3
  124. bl_ui/properties_particle/__init__.pyi +0 -3
  125. bl_ui/properties_physics_cloth/__init__.pyi +0 -3
  126. bl_ui/properties_physics_common/__init__.pyi +0 -3
  127. bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -3
  128. bl_ui/properties_physics_field/__init__.pyi +0 -3
  129. bl_ui/properties_physics_fluid/__init__.pyi +0 -3
  130. bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -3
  131. bl_ui/properties_physics_rigidbody/__init__.pyi +0 -3
  132. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -3
  133. bl_ui/properties_physics_softbody/__init__.pyi +0 -3
  134. bl_ui/properties_render/__init__.pyi +0 -3
  135. bl_ui/properties_scene/__init__.pyi +0 -3
  136. bl_ui/properties_texture/__init__.pyi +0 -3
  137. bl_ui/properties_view_layer/__init__.pyi +0 -3
  138. bl_ui/properties_workspace/__init__.pyi +0 -3
  139. bl_ui/properties_world/__init__.pyi +0 -3
  140. bl_ui/space_clip/__init__.pyi +0 -3
  141. bl_ui/space_console/__init__.pyi +0 -3
  142. bl_ui/space_dopesheet/__init__.pyi +0 -3
  143. bl_ui/space_filebrowser/__init__.pyi +0 -3
  144. bl_ui/space_graph/__init__.pyi +0 -3
  145. bl_ui/space_image/__init__.pyi +0 -3
  146. bl_ui/space_info/__init__.pyi +0 -3
  147. bl_ui/space_nla/__init__.pyi +0 -3
  148. bl_ui/space_node/__init__.pyi +0 -3
  149. bl_ui/space_outliner/__init__.pyi +0 -3
  150. bl_ui/space_properties/__init__.pyi +0 -3
  151. bl_ui/space_sequencer/__init__.pyi +0 -3
  152. bl_ui/space_spreadsheet/__init__.pyi +0 -3
  153. bl_ui/space_statusbar/__init__.pyi +0 -3
  154. bl_ui/space_text/__init__.pyi +0 -3
  155. bl_ui/space_time/__init__.pyi +0 -3
  156. bl_ui/space_toolsystem_common/__init__.pyi +0 -3
  157. bl_ui/space_toolsystem_toolbar/__init__.pyi +1 -3
  158. bl_ui/space_topbar/__init__.pyi +0 -3
  159. bl_ui/space_userpref/__init__.pyi +0 -3
  160. bl_ui/space_view3d/__init__.pyi +0 -3
  161. bl_ui/space_view3d_toolbar/__init__.pyi +0 -3
  162. bl_ui/utils/__init__.pyi +0 -3
  163. bl_ui_utils/__init__.pyi +0 -3
  164. bl_ui_utils/layout/__init__.pyi +0 -3
  165. blend_render_info/__init__.pyi +0 -3
  166. blf/__init__.pyi +0 -3
  167. bmesh/__init__.pyi +0 -3
  168. bmesh/geometry/__init__.pyi +0 -3
  169. bmesh/ops/__init__.pyi +8 -11
  170. bmesh/types/__init__.pyi +14 -17
  171. bmesh/utils/__init__.pyi +2 -5
  172. bpy/__init__.pyi +0 -2
  173. bpy/app/__init__.pyi +0 -3
  174. bpy/app/handlers/__init__.pyi +0 -2
  175. bpy/app/icons/__init__.pyi +0 -3
  176. bpy/app/timers/__init__.pyi +0 -3
  177. bpy/app/translations/__init__.pyi +0 -3
  178. bpy/msgbus/__init__.pyi +0 -3
  179. bpy/ops/__init__.pyi +0 -3
  180. bpy/ops/action/__init__.pyi +0 -3
  181. bpy/ops/anim/__init__.pyi +0 -3
  182. bpy/ops/armature/__init__.pyi +0 -3
  183. bpy/ops/asset/__init__.pyi +0 -3
  184. bpy/ops/boid/__init__.pyi +0 -3
  185. bpy/ops/brush/__init__.pyi +0 -3
  186. bpy/ops/buttons/__init__.pyi +0 -3
  187. bpy/ops/cachefile/__init__.pyi +0 -3
  188. bpy/ops/camera/__init__.pyi +0 -3
  189. bpy/ops/clip/__init__.pyi +0 -3
  190. bpy/ops/cloth/__init__.pyi +0 -3
  191. bpy/ops/collection/__init__.pyi +0 -3
  192. bpy/ops/console/__init__.pyi +0 -3
  193. bpy/ops/constraint/__init__.pyi +0 -3
  194. bpy/ops/curve/__init__.pyi +0 -3
  195. bpy/ops/curves/__init__.pyi +0 -3
  196. bpy/ops/cycles/__init__.pyi +0 -3
  197. bpy/ops/dpaint/__init__.pyi +0 -3
  198. bpy/ops/ed/__init__.pyi +0 -3
  199. bpy/ops/export_anim/__init__.pyi +0 -3
  200. bpy/ops/export_scene/__init__.pyi +0 -3
  201. bpy/ops/extensions/__init__.pyi +0 -3
  202. bpy/ops/file/__init__.pyi +0 -3
  203. bpy/ops/fluid/__init__.pyi +0 -3
  204. bpy/ops/font/__init__.pyi +0 -3
  205. bpy/ops/geometry/__init__.pyi +0 -3
  206. bpy/ops/gizmogroup/__init__.pyi +0 -3
  207. bpy/ops/gpencil/__init__.pyi +0 -3
  208. bpy/ops/graph/__init__.pyi +0 -3
  209. bpy/ops/grease_pencil/__init__.pyi +50 -3
  210. bpy/ops/image/__init__.pyi +0 -3
  211. bpy/ops/import_anim/__init__.pyi +0 -3
  212. bpy/ops/import_curve/__init__.pyi +0 -3
  213. bpy/ops/import_scene/__init__.pyi +0 -3
  214. bpy/ops/info/__init__.pyi +0 -3
  215. bpy/ops/lattice/__init__.pyi +0 -3
  216. bpy/ops/marker/__init__.pyi +0 -3
  217. bpy/ops/mask/__init__.pyi +0 -3
  218. bpy/ops/material/__init__.pyi +0 -3
  219. bpy/ops/mball/__init__.pyi +0 -3
  220. bpy/ops/mesh/__init__.pyi +0 -3
  221. bpy/ops/nla/__init__.pyi +0 -3
  222. bpy/ops/node/__init__.pyi +143 -3
  223. bpy/ops/object/__init__.pyi +0 -3
  224. bpy/ops/outliner/__init__.pyi +0 -3
  225. bpy/ops/paint/__init__.pyi +0 -3
  226. bpy/ops/paintcurve/__init__.pyi +0 -3
  227. bpy/ops/palette/__init__.pyi +0 -3
  228. bpy/ops/particle/__init__.pyi +0 -3
  229. bpy/ops/pose/__init__.pyi +0 -3
  230. bpy/ops/poselib/__init__.pyi +0 -3
  231. bpy/ops/preferences/__init__.pyi +0 -3
  232. bpy/ops/ptcache/__init__.pyi +0 -3
  233. bpy/ops/render/__init__.pyi +0 -3
  234. bpy/ops/rigidbody/__init__.pyi +0 -3
  235. bpy/ops/scene/__init__.pyi +0 -3
  236. bpy/ops/screen/__init__.pyi +0 -3
  237. bpy/ops/script/__init__.pyi +0 -3
  238. bpy/ops/sculpt/__init__.pyi +44 -3
  239. bpy/ops/sculpt_curves/__init__.pyi +0 -3
  240. bpy/ops/sequencer/__init__.pyi +0 -3
  241. bpy/ops/sound/__init__.pyi +0 -3
  242. bpy/ops/spreadsheet/__init__.pyi +0 -3
  243. bpy/ops/surface/__init__.pyi +0 -3
  244. bpy/ops/text/__init__.pyi +0 -3
  245. bpy/ops/text_editor/__init__.pyi +0 -3
  246. bpy/ops/texture/__init__.pyi +0 -3
  247. bpy/ops/transform/__init__.pyi +0 -3
  248. bpy/ops/ui/__init__.pyi +0 -3
  249. bpy/ops/uilist/__init__.pyi +0 -3
  250. bpy/ops/uv/__init__.pyi +0 -3
  251. bpy/ops/view2d/__init__.pyi +0 -3
  252. bpy/ops/view3d/__init__.pyi +0 -3
  253. bpy/ops/wm/__init__.pyi +0 -3
  254. bpy/ops/workspace/__init__.pyi +0 -3
  255. bpy/ops/world/__init__.pyi +0 -3
  256. bpy/path/__init__.pyi +5 -8
  257. bpy/props/__init__.pyi +0 -3
  258. bpy/types/__init__.pyi +1542 -381
  259. bpy/typing/__init__.pyi +20 -2
  260. bpy/utils/__init__.pyi +0 -3
  261. bpy/utils/previews/__init__.pyi +0 -3
  262. bpy/utils/units/__init__.pyi +0 -3
  263. bpy_extras/__init__.pyi +0 -3
  264. bpy_extras/anim_utils/__init__.pyi +0 -3
  265. bpy_extras/asset_utils/__init__.pyi +0 -3
  266. bpy_extras/bmesh_utils/__init__.pyi +0 -3
  267. bpy_extras/id_map_utils/__init__.pyi +0 -3
  268. bpy_extras/image_utils/__init__.pyi +4 -7
  269. bpy_extras/io_utils/__init__.pyi +4 -7
  270. bpy_extras/keyconfig_utils/__init__.pyi +0 -3
  271. bpy_extras/mesh_utils/__init__.pyi +0 -3
  272. bpy_extras/node_shader_utils/__init__.pyi +0 -3
  273. bpy_extras/node_utils/__init__.pyi +0 -3
  274. bpy_extras/object_utils/__init__.pyi +2 -5
  275. bpy_extras/view3d_utils/__init__.pyi +0 -3
  276. bpy_extras/wm_utils/__init__.pyi +0 -3
  277. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -3
  278. bpy_restrict_state/__init__.pyi +0 -3
  279. bpy_types/__init__.pyi +0 -3
  280. console_python/__init__.pyi +0 -3
  281. console_shell/__init__.pyi +0 -3
  282. {fake_bpy_module-20240923.dist-info → fake_bpy_module-20240925.dist-info}/METADATA +1 -1
  283. fake_bpy_module-20240925.dist-info/RECORD +365 -0
  284. freestyle/__init__.pyi +0 -3
  285. freestyle/chainingiterators/__init__.pyi +0 -3
  286. freestyle/functions/__init__.pyi +0 -3
  287. freestyle/predicates/__init__.pyi +0 -3
  288. freestyle/shaders/__init__.pyi +0 -3
  289. freestyle/types/__init__.pyi +0 -3
  290. freestyle/utils/ContextFunctions/__init__.pyi +0 -3
  291. freestyle/utils/__init__.pyi +0 -3
  292. gpu/__init__.pyi +0 -3
  293. gpu/capabilities/__init__.pyi +0 -3
  294. gpu/matrix/__init__.pyi +0 -3
  295. gpu/platform/__init__.pyi +0 -3
  296. gpu/select/__init__.pyi +0 -3
  297. gpu/shader/__init__.pyi +0 -3
  298. gpu/state/__init__.pyi +0 -3
  299. gpu/texture/__init__.pyi +0 -3
  300. gpu/types/__init__.pyi +5 -8
  301. gpu_extras/__init__.pyi +0 -3
  302. gpu_extras/batch/__init__.pyi +0 -3
  303. gpu_extras/presets/__init__.pyi +0 -3
  304. graphviz_export/__init__.pyi +0 -3
  305. idprop/__init__.pyi +0 -3
  306. idprop/types/__init__.pyi +0 -3
  307. imbuf/__init__.pyi +0 -3
  308. imbuf/types/__init__.pyi +0 -3
  309. keyingsets_builtins/__init__.pyi +0 -3
  310. keyingsets_utils/__init__.pyi +0 -3
  311. mathutils/__init__.pyi +9 -11
  312. mathutils/bvhtree/__init__.pyi +0 -3
  313. mathutils/geometry/__init__.pyi +0 -3
  314. mathutils/interpolate/__init__.pyi +0 -3
  315. mathutils/kdtree/__init__.pyi +2 -5
  316. mathutils/noise/__init__.pyi +0 -3
  317. nodeitems_builtins/__init__.pyi +0 -3
  318. nodeitems_utils/__init__.pyi +0 -3
  319. rna_info/__init__.pyi +2 -5
  320. rna_keymap_ui/__init__.pyi +0 -3
  321. rna_prop_ui/__init__.pyi +0 -3
  322. rna_xml/__init__.pyi +0 -3
  323. fake_bpy_module-20240923.dist-info/RECORD +0 -365
  324. {fake_bpy_module-20240923.dist-info → fake_bpy_module-20240925.dist-info}/WHEEL +0 -0
  325. {fake_bpy_module-20240923.dist-info → fake_bpy_module-20240925.dist-info}/top_level.txt +0 -0
bpy/typing/__init__.pyi CHANGED
@@ -2,8 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
5
  type AssetLibraryTypeItems = typing.Literal[
8
6
  "ALL", # All Libraries.Show assets from all of the listed asset libraries.
9
7
  "LOCAL", # Current File.Show the assets currently available in this Blender session.
@@ -2068,6 +2066,26 @@ type NodeGeometryMeshCircleFillTypeItems = typing.Literal[
2068
2066
  "NGON", # N-Gon.
2069
2067
  "TRIANGLE_FAN", # Triangles.
2070
2068
  ]
2069
+ type NodeIntegerMathItems = typing.Literal[
2070
+ "ADD", # Add.A + B.
2071
+ "SUBTRACT", # Subtract.A - B.
2072
+ "MULTIPLY", # Multiply.A * B.
2073
+ "DIVIDE", # Divide.A / B.
2074
+ "MULTIPLY_ADD", # Multiply Add.A * B + C.
2075
+ "ABSOLUTE", # Absolute.Non-negative value of A, abs(A).
2076
+ "NEGATE", # Negate.-A.
2077
+ "POWER", # Power.A power B, pow(A,B).
2078
+ "MINIMUM", # Minimum.The minimum value from A and B, min(A,B).
2079
+ "MAXIMUM", # Maximum.The maximum value from A and B, max(A,B).
2080
+ "SIGN", # Sign.Return the sign of A, sign(A).
2081
+ "DIVIDE_ROUND", # Divide Round.Divide and round result toward zero.
2082
+ "DIVIDE_FLOOR", # Divide Floor.Divide and floor result, the largest integer smaller than or equal A.
2083
+ "DIVIDE_CEIL", # Divide Ceiling.Divide and ceil result, the smallest integer greater than or equal A.
2084
+ "FLOORED_MODULO", # Floored Modulo.Modulo that is periodic for both negative and positive operands.
2085
+ "MODULO", # Modulo.Modulo which is the remainder of A / B.
2086
+ "GCD", # Greatest Common Divisor.The largest positive integer that divides into each of the values A and B, e.g. GCD(8,12) = 4.
2087
+ "LCM", # Least Common Multiple.The smallest positive integer that is divisible by both A and B, e.g. LCM(6,10) = 30.
2088
+ ]
2071
2089
  type NodeMapRangeItems = typing.Literal[
2072
2090
  "LINEAR", # Linear.Linear interpolation between From Min and From Max values.
2073
2091
  "STEPPED", # Stepped Linear.Stepped linear interpolation between From Min and From Max values.
bpy/utils/__init__.pyi CHANGED
@@ -16,9 +16,6 @@ import typing_extensions
16
16
  from . import previews as previews
17
17
  from . import units as units
18
18
 
19
- _GenericType1 = typing.TypeVar("_GenericType1")
20
- _GenericType2 = typing.TypeVar("_GenericType2")
21
-
22
19
  def app_template_paths(*, path: str | None = None):
23
20
  """Returns valid application template paths.
24
21
 
@@ -18,9 +18,6 @@ import collections.abc
18
18
  import typing_extensions
19
19
  import bpy.types
20
20
 
21
- _GenericType1 = typing.TypeVar("_GenericType1")
22
- _GenericType2 = typing.TypeVar("_GenericType2")
23
-
24
21
  class ImagePreviewCollection:
25
22
  """Dictionary-like class of previews.This is a subclass of Python's built-in dict type,
26
23
  used to store multiple image previews.
@@ -7,9 +7,6 @@ import typing
7
7
  import collections.abc
8
8
  import typing_extensions
9
9
 
10
- _GenericType1 = typing.TypeVar("_GenericType1")
11
- _GenericType2 = typing.TypeVar("_GenericType2")
12
-
13
10
  def to_string(
14
11
  unit_system: str | None,
15
12
  unit_category: str | None,
bpy_extras/__init__.pyi CHANGED
@@ -33,6 +33,3 @@ from . import node_utils as node_utils
33
33
  from . import object_utils as object_utils
34
34
  from . import view3d_utils as view3d_utils
35
35
  from . import wm_utils as wm_utils
36
-
37
- _GenericType1 = typing.TypeVar("_GenericType1")
38
- _GenericType2 = typing.TypeVar("_GenericType2")
@@ -3,9 +3,6 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import bpy.types
5
5
 
6
- _GenericType1 = typing.TypeVar("_GenericType1")
7
- _GenericType2 = typing.TypeVar("_GenericType2")
8
-
9
6
  class BakeOptions:
10
7
  """BakeOptions(only_selected: bool, do_pose: bool, do_object: bool, do_visual_keying: bool, do_constraint_clear: bool, do_parents_clear: bool, do_clean: bool, do_location: bool, do_rotation: bool, do_scale: bool, do_bbone: bool, do_custom_props: bool)"""
11
8
 
@@ -7,9 +7,6 @@ import typing
7
7
  import collections.abc
8
8
  import typing_extensions
9
9
 
10
- _GenericType1 = typing.TypeVar("_GenericType1")
11
- _GenericType2 = typing.TypeVar("_GenericType2")
12
-
13
10
  class AssetBrowserPanel:
14
11
  bl_space_type: typing.Any
15
12
 
@@ -2,9 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
-
8
5
  def bmesh_linked_uv_islands(bm, uv_layer) -> list:
9
6
  """Returns lists of faces connected by UV islands.For meshes use `bpy.types.Mesh.mesh_linked_uv_islands` instead.
10
7
 
@@ -2,9 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
-
8
5
  def get_all_referenced_ids(id, ref_map):
9
6
  """Return a set of IDs directly or indirectly referenced by id."""
10
7
 
@@ -3,18 +3,15 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import bpy.types
5
5
 
6
- _GenericType1 = typing.TypeVar("_GenericType1")
7
- _GenericType2 = typing.TypeVar("_GenericType2")
8
-
9
6
  def load_image(
10
7
  imagepath,
11
8
  dirname: str = "",
12
9
  place_holder: bool = False,
13
10
  recursive: bool = False,
14
11
  ncase_cmp: bool = True,
15
- convert_callback: typing.Any = None,
12
+ convert_callback: typing.Any | None = None,
16
13
  verbose=False,
17
- relpath: str = None,
14
+ relpath: str | None = None,
18
15
  check_existing: bool = False,
19
16
  force_reload: bool = False,
20
17
  ) -> bpy.types.Image:
@@ -38,9 +35,9 @@ def load_image(
38
35
  the CONVERT_CALLBACK can take the path for a GIF (for example),
39
36
  convert it to a PNG and return the PNG's path.
40
37
  For formats blender can read, simply return the path that is given.
41
- :type convert_callback: typing.Any
38
+ :type convert_callback: typing.Any | None
42
39
  :param relpath: If not None, make the file relative to this path.
43
- :type relpath: str
40
+ :type relpath: str | None
44
41
  :param check_existing: If true,
45
42
  returns already loaded image datablock if possible
46
43
  (based on file path).
@@ -3,9 +3,6 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import bpy.types
5
5
 
6
- _GenericType1 = typing.TypeVar("_GenericType1")
7
- _GenericType2 = typing.TypeVar("_GenericType2")
8
-
9
6
  class ExportHelper:
10
7
  def check(self, _context):
11
8
  """
@@ -89,7 +86,7 @@ def path_reference(
89
86
  base_dst: str,
90
87
  mode: str = "AUTO",
91
88
  copy_subdir: str = "",
92
- copy_set: set = None,
89
+ copy_set: set | None = None,
93
90
  library: bpy.types.Library | None = None,
94
91
  ) -> str:
95
92
  """Return a filepath relative to a destination directory, for use with
@@ -111,7 +108,7 @@ def path_reference(
111
108
  :type copy_subdir: str
112
109
  :param copy_set: collect from/to pairs when mode='COPY',
113
110
  pass to path_reference_copy when exporting is done.
114
- :type copy_set: set
111
+ :type copy_set: set | None
115
112
  :param library: The library this path is relative to.
116
113
  :type library: bpy.types.Library | None
117
114
  :return: the new filepath.
@@ -138,7 +135,7 @@ def unique_name(
138
135
  name: str,
139
136
  name_dict: dict,
140
137
  name_max=-1,
141
- clean_func: typing.Any = None,
138
+ clean_func: typing.Any | None = None,
142
139
  sep: str = ".",
143
140
  ):
144
141
  """Helper function for storing unique names which may have special characters
@@ -154,7 +151,7 @@ def unique_name(
154
151
  function.
155
152
  :type name_dict: dict
156
153
  :param clean_func: Function to call on name before creating a unique value.
157
- :type clean_func: typing.Any
154
+ :type clean_func: typing.Any | None
158
155
  :param sep: Separator to use when between the name and a number when a
159
156
  duplicate name is found.
160
157
  :type sep: str
@@ -2,9 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
-
8
5
  def addon_keymap_register(keymap_data):
9
6
  """Register a set of keymaps for addons using a list of keymaps.See 'blender_defaults.py' for examples of the format this takes."""
10
7
 
@@ -3,9 +3,6 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import bpy.types
5
5
 
6
- _GenericType1 = typing.TypeVar("_GenericType1")
7
- _GenericType2 = typing.TypeVar("_GenericType2")
8
-
9
6
  def edge_face_count(mesh) -> list:
10
7
  """
11
8
 
@@ -2,9 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
-
8
5
  class ShaderWrapper:
9
6
  """Base class with minimal common ground for all types of shader interfaces we may want/need to implement."""
10
7
 
@@ -2,9 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
-
8
5
  def connect_sockets(input, output):
9
6
  """Connect sockets in a node tree.This is useful because the links created through the normal Python API are
10
7
  invalid when one of the sockets is a virtual socket (grayed out sockets in
@@ -4,9 +4,6 @@ import typing_extensions
4
4
  import bpy.types
5
5
  import mathutils
6
6
 
7
- _GenericType1 = typing.TypeVar("_GenericType1")
8
- _GenericType2 = typing.TypeVar("_GenericType2")
9
-
10
7
  class AddObjectHelper:
11
8
  def align_update_callback(self, _context):
12
9
  """
@@ -39,7 +36,7 @@ def object_add_grid_scale_apply_operator(operator, context):
39
36
  def object_data_add(
40
37
  context: bpy.types.Context,
41
38
  obdata,
42
- operator: bpy.types.Operator = None,
39
+ operator: bpy.types.Operator | None = None,
43
40
  name: str | None = None,
44
41
  ) -> bpy.types.Object:
45
42
  """Add an object using the view context and preference to initialize the
@@ -49,7 +46,7 @@ def object_data_add(
49
46
  :type context: bpy.types.Context
50
47
  :param obdata: the data used for the new object.
51
48
  :param operator: The operator, checked for location and rotation properties.
52
- :type operator: bpy.types.Operator
49
+ :type operator: bpy.types.Operator | None
53
50
  :param name: Optional name
54
51
  :type name: str | None
55
52
  :return: the newly created object in the scene.
@@ -4,9 +4,6 @@ import typing_extensions
4
4
  import bpy.types
5
5
  import mathutils
6
6
 
7
- _GenericType1 = typing.TypeVar("_GenericType1")
8
- _GenericType2 = typing.TypeVar("_GenericType2")
9
-
10
7
  def location_3d_to_region_2d(
11
8
  region: bpy.types.Region,
12
9
  rv3d: bpy.types.RegionView3D,
@@ -2,6 +2,3 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
  from . import progress_report as progress_report
5
-
6
- _GenericType1 = typing.TypeVar("_GenericType1")
7
- _GenericType2 = typing.TypeVar("_GenericType2")
@@ -2,9 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
-
8
5
  class ProgressReport:
9
6
  curr_step: typing.Any
10
7
  running: typing.Any
@@ -2,9 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
-
8
5
  class RestrictBlend:
9
6
  context: typing.Any
10
7
  data: typing.Any
bpy_types/__init__.pyi CHANGED
@@ -2,9 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
-
8
5
  class _GenericUI:
9
6
  @classmethod
10
7
  def append(cls, draw_func):
@@ -2,9 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
-
8
5
  class _TempModuleOverride:
9
6
  module: typing.Any
10
7
  module_name: typing.Any
@@ -2,9 +2,6 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
 
5
- _GenericType1 = typing.TypeVar("_GenericType1")
6
- _GenericType2 = typing.TypeVar("_GenericType2")
7
-
8
5
  def add_scrollback(text, text_type): ...
9
6
  def autocomplete(_context): ...
10
7
  def banner(context): ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20240923
3
+ Version: 20240925
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com