fake-bpy-module 20240519__py3-none-any.whl → 20240521__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 (312) hide show
  1. _bpy_internal/__init__.pyi +1 -0
  2. _bpy_internal/freedesktop/__init__.pyi +1 -0
  3. addon_utils/__init__.pyi +1 -0
  4. animsys_refactor/__init__.pyi +1 -0
  5. aud/__init__.pyi +1 -0
  6. bgl/__init__.pyi +119 -145
  7. bl_app_override/__init__.pyi +1 -0
  8. bl_app_override/helpers/__init__.pyi +1 -0
  9. bl_app_template_utils/__init__.pyi +1 -0
  10. bl_console_utils/__init__.pyi +1 -0
  11. bl_console_utils/autocomplete/__init__.pyi +1 -0
  12. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -0
  13. bl_console_utils/autocomplete/complete_import/__init__.pyi +1 -0
  14. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -0
  15. bl_console_utils/autocomplete/intellisense/__init__.pyi +1 -0
  16. bl_i18n_utils/__init__.pyi +1 -0
  17. bl_i18n_utils/bl_extract_messages/__init__.pyi +1 -0
  18. bl_i18n_utils/merge_po/__init__.pyi +1 -0
  19. bl_i18n_utils/settings/__init__.pyi +1 -0
  20. bl_i18n_utils/utils/__init__.pyi +1 -0
  21. bl_i18n_utils/utils_cli/__init__.pyi +1 -0
  22. bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -0
  23. bl_i18n_utils/utils_rtl/__init__.pyi +1 -0
  24. bl_keymap_utils/__init__.pyi +1 -0
  25. bl_keymap_utils/io/__init__.pyi +1 -0
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -0
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -0
  28. bl_keymap_utils/platform_helpers/__init__.pyi +1 -0
  29. bl_keymap_utils/versioning/__init__.pyi +1 -0
  30. bl_math/__init__.pyi +1 -0
  31. bl_operators/__init__.pyi +1 -0
  32. bl_operators/add_mesh_torus/__init__.pyi +1 -0
  33. bl_operators/anim/__init__.pyi +1 -0
  34. bl_operators/assets/__init__.pyi +1 -0
  35. bl_operators/bmesh/__init__.pyi +1 -0
  36. bl_operators/bmesh/find_adjacent/__init__.pyi +1 -0
  37. bl_operators/clip/__init__.pyi +1 -0
  38. bl_operators/console/__init__.pyi +1 -0
  39. bl_operators/constraint/__init__.pyi +1 -0
  40. bl_operators/file/__init__.pyi +1 -0
  41. bl_operators/freestyle/__init__.pyi +1 -0
  42. bl_operators/geometry_nodes/__init__.pyi +1 -0
  43. bl_operators/image/__init__.pyi +1 -0
  44. bl_operators/mesh/__init__.pyi +1 -0
  45. bl_operators/node/__init__.pyi +1 -0
  46. bl_operators/object/__init__.pyi +1 -0
  47. bl_operators/object_align/__init__.pyi +1 -0
  48. bl_operators/object_quick_effects/__init__.pyi +1 -0
  49. bl_operators/object_randomize_transform/__init__.pyi +1 -0
  50. bl_operators/presets/__init__.pyi +1 -0
  51. bl_operators/rigidbody/__init__.pyi +1 -0
  52. bl_operators/screen_play_rendered_anim/__init__.pyi +1 -0
  53. bl_operators/sequencer/__init__.pyi +1 -0
  54. bl_operators/spreadsheet/__init__.pyi +1 -0
  55. bl_operators/userpref/__init__.pyi +1 -0
  56. bl_operators/uvcalc_follow_active/__init__.pyi +1 -0
  57. bl_operators/uvcalc_lightmap/__init__.pyi +1 -0
  58. bl_operators/uvcalc_transform/__init__.pyi +1 -0
  59. bl_operators/vertexpaint_dirt/__init__.pyi +1 -0
  60. bl_operators/view3d/__init__.pyi +1 -0
  61. bl_operators/wm/__init__.pyi +1 -0
  62. bl_operators/world/__init__.pyi +1 -0
  63. bl_previews_utils/__init__.pyi +1 -0
  64. bl_previews_utils/bl_previews_render/__init__.pyi +1 -0
  65. bl_rna_utils/__init__.pyi +1 -0
  66. bl_rna_utils/data_path/__init__.pyi +1 -0
  67. bl_text_utils/__init__.pyi +1 -0
  68. bl_text_utils/external_editor/__init__.pyi +1 -0
  69. bl_ui/__init__.pyi +1 -0
  70. bl_ui/anim/__init__.pyi +1 -0
  71. bl_ui/asset_shelf/__init__.pyi +1 -0
  72. bl_ui/generic_ui_list/__init__.pyi +3 -2
  73. bl_ui/node_add_menu/__init__.pyi +1 -0
  74. bl_ui/node_add_menu_compositor/__init__.pyi +1 -0
  75. bl_ui/node_add_menu_geometry/__init__.pyi +1 -0
  76. bl_ui/node_add_menu_shader/__init__.pyi +1 -0
  77. bl_ui/node_add_menu_texture/__init__.pyi +1 -0
  78. bl_ui/properties_animviz/__init__.pyi +1 -0
  79. bl_ui/properties_collection/__init__.pyi +1 -0
  80. bl_ui/properties_constraint/__init__.pyi +1 -0
  81. bl_ui/properties_data_armature/__init__.pyi +1 -0
  82. bl_ui/properties_data_bone/__init__.pyi +1 -0
  83. bl_ui/properties_data_camera/__init__.pyi +1 -0
  84. bl_ui/properties_data_curve/__init__.pyi +1 -0
  85. bl_ui/properties_data_curves/__init__.pyi +1 -0
  86. bl_ui/properties_data_empty/__init__.pyi +1 -0
  87. bl_ui/properties_data_gpencil/__init__.pyi +1 -0
  88. bl_ui/properties_data_grease_pencil/__init__.pyi +1 -0
  89. bl_ui/properties_data_lattice/__init__.pyi +1 -0
  90. bl_ui/properties_data_light/__init__.pyi +1 -0
  91. bl_ui/properties_data_lightprobe/__init__.pyi +1 -0
  92. bl_ui/properties_data_mesh/__init__.pyi +1 -0
  93. bl_ui/properties_data_metaball/__init__.pyi +1 -0
  94. bl_ui/properties_data_modifier/__init__.pyi +1 -0
  95. bl_ui/properties_data_pointcloud/__init__.pyi +1 -0
  96. bl_ui/properties_data_shaderfx/__init__.pyi +1 -0
  97. bl_ui/properties_data_speaker/__init__.pyi +1 -0
  98. bl_ui/properties_data_volume/__init__.pyi +1 -0
  99. bl_ui/properties_freestyle/__init__.pyi +1 -0
  100. bl_ui/properties_grease_pencil_common/__init__.pyi +1 -0
  101. bl_ui/properties_mask_common/__init__.pyi +1 -0
  102. bl_ui/properties_material/__init__.pyi +1 -0
  103. bl_ui/properties_material_gpencil/__init__.pyi +1 -0
  104. bl_ui/properties_object/__init__.pyi +1 -0
  105. bl_ui/properties_output/__init__.pyi +1 -0
  106. bl_ui/properties_paint_common/__init__.pyi +1 -0
  107. bl_ui/properties_particle/__init__.pyi +1 -0
  108. bl_ui/properties_physics_cloth/__init__.pyi +1 -0
  109. bl_ui/properties_physics_common/__init__.pyi +1 -0
  110. bl_ui/properties_physics_dynamicpaint/__init__.pyi +1 -0
  111. bl_ui/properties_physics_field/__init__.pyi +1 -0
  112. bl_ui/properties_physics_fluid/__init__.pyi +1 -0
  113. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -0
  114. bl_ui/properties_physics_rigidbody/__init__.pyi +1 -0
  115. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1 -0
  116. bl_ui/properties_physics_softbody/__init__.pyi +1 -0
  117. bl_ui/properties_render/__init__.pyi +1 -0
  118. bl_ui/properties_scene/__init__.pyi +1 -0
  119. bl_ui/properties_texture/__init__.pyi +1 -0
  120. bl_ui/properties_view_layer/__init__.pyi +1 -0
  121. bl_ui/properties_workspace/__init__.pyi +1 -0
  122. bl_ui/properties_world/__init__.pyi +1 -0
  123. bl_ui/space_clip/__init__.pyi +1 -0
  124. bl_ui/space_console/__init__.pyi +1 -0
  125. bl_ui/space_dopesheet/__init__.pyi +1 -0
  126. bl_ui/space_filebrowser/__init__.pyi +1 -0
  127. bl_ui/space_graph/__init__.pyi +1 -0
  128. bl_ui/space_image/__init__.pyi +1 -0
  129. bl_ui/space_info/__init__.pyi +1 -0
  130. bl_ui/space_nla/__init__.pyi +1 -0
  131. bl_ui/space_node/__init__.pyi +1 -0
  132. bl_ui/space_outliner/__init__.pyi +1 -0
  133. bl_ui/space_properties/__init__.pyi +1 -0
  134. bl_ui/space_sequencer/__init__.pyi +1 -0
  135. bl_ui/space_spreadsheet/__init__.pyi +1 -0
  136. bl_ui/space_statusbar/__init__.pyi +1 -0
  137. bl_ui/space_text/__init__.pyi +1 -0
  138. bl_ui/space_time/__init__.pyi +1 -0
  139. bl_ui/space_toolsystem_common/__init__.pyi +1 -0
  140. bl_ui/space_toolsystem_toolbar/__init__.pyi +1 -0
  141. bl_ui/space_topbar/__init__.pyi +1 -0
  142. bl_ui/space_userpref/__init__.pyi +1 -0
  143. bl_ui/space_view3d/__init__.pyi +1 -0
  144. bl_ui/space_view3d_toolbar/__init__.pyi +1 -0
  145. bl_ui/temp_anim_layers/__init__.pyi +1 -0
  146. bl_ui/utils/__init__.pyi +1 -0
  147. bl_ui_utils/__init__.pyi +1 -0
  148. bl_ui_utils/bug_report_url/__init__.pyi +1 -0
  149. bl_ui_utils/layout/__init__.pyi +1 -0
  150. blend_render_info/__init__.pyi +1 -0
  151. blf/__init__.pyi +1 -0
  152. bmesh/__init__.pyi +1 -0
  153. bmesh/geometry/__init__.pyi +1 -0
  154. bmesh/ops/__init__.pyi +37 -36
  155. bmesh/types/__init__.pyi +3 -1
  156. bmesh/utils/__init__.pyi +1 -0
  157. bpy/__init__.pyi +1 -0
  158. bpy/app/__init__.pyi +1 -0
  159. bpy/app/handlers/__init__.pyi +1 -0
  160. bpy/app/icons/__init__.pyi +1 -0
  161. bpy/app/timers/__init__.pyi +1 -0
  162. bpy/app/translations/__init__.pyi +1 -0
  163. bpy/msgbus/__init__.pyi +1 -0
  164. bpy/ops/__init__.pyi +1 -0
  165. bpy/ops/action/__init__.pyi +33 -32
  166. bpy/ops/anim/__init__.pyi +31 -30
  167. bpy/ops/armature/__init__.pyi +21 -20
  168. bpy/ops/asset/__init__.pyi +7 -6
  169. bpy/ops/bl_pkg/__init__.pyi +3 -2
  170. bpy/ops/boid/__init__.pyi +3 -2
  171. bpy/ops/brush/__init__.pyi +9 -8
  172. bpy/ops/buttons/__init__.pyi +9 -8
  173. bpy/ops/cachefile/__init__.pyi +11 -10
  174. bpy/ops/camera/__init__.pyi +1 -0
  175. bpy/ops/clip/__init__.pyi +39 -38
  176. bpy/ops/cloth/__init__.pyi +1 -0
  177. bpy/ops/collection/__init__.pyi +7 -6
  178. bpy/ops/console/__init__.pyi +7 -6
  179. bpy/ops/constraint/__init__.pyi +29 -28
  180. bpy/ops/curve/__init__.pyi +35 -34
  181. bpy/ops/curves/__init__.pyi +17 -16
  182. bpy/ops/cycles/__init__.pyi +1 -0
  183. bpy/ops/dpaint/__init__.pyi +5 -4
  184. bpy/ops/ed/__init__.pyi +5 -4
  185. bpy/ops/export_anim/__init__.pyi +3 -2
  186. bpy/ops/export_scene/__init__.pyi +39 -38
  187. bpy/ops/file/__init__.pyi +19 -18
  188. bpy/ops/fluid/__init__.pyi +1 -0
  189. bpy/ops/font/__init__.pyi +21 -20
  190. bpy/ops/geometry/__init__.pyi +21 -20
  191. bpy/ops/gizmogroup/__init__.pyi +1 -0
  192. bpy/ops/gpencil/__init__.pyi +133 -132
  193. bpy/ops/graph/__init__.pyi +55 -54
  194. bpy/ops/grease_pencil/__init__.pyi +43 -42
  195. bpy/ops/image/__init__.pyi +29 -28
  196. bpy/ops/import_anim/__init__.pyi +9 -8
  197. bpy/ops/import_curve/__init__.pyi +1 -0
  198. bpy/ops/import_scene/__init__.pyi +19 -18
  199. bpy/ops/info/__init__.pyi +5 -4
  200. bpy/ops/lattice/__init__.pyi +7 -6
  201. bpy/ops/marker/__init__.pyi +9 -8
  202. bpy/ops/mask/__init__.pyi +13 -12
  203. bpy/ops/material/__init__.pyi +1 -0
  204. bpy/ops/mball/__init__.pyi +7 -6
  205. bpy/ops/mesh/__init__.pyi +145 -144
  206. bpy/ops/nla/__init__.pyi +17 -16
  207. bpy/ops/node/__init__.pyi +33 -32
  208. bpy/ops/object/__init__.pyi +253 -252
  209. bpy/ops/outliner/__init__.pyi +41 -40
  210. bpy/ops/paint/__init__.pyi +73 -72
  211. bpy/ops/paintcurve/__init__.pyi +1 -0
  212. bpy/ops/palette/__init__.pyi +5 -4
  213. bpy/ops/particle/__init__.pyi +15 -14
  214. bpy/ops/pose/__init__.pyi +43 -42
  215. bpy/ops/poselib/__init__.pyi +1 -0
  216. bpy/ops/preferences/__init__.pyi +13 -12
  217. bpy/ops/ptcache/__init__.pyi +1 -0
  218. bpy/ops/render/__init__.pyi +3 -2
  219. bpy/ops/rigidbody/__init__.pyi +17 -16
  220. bpy/ops/scene/__init__.pyi +25 -24
  221. bpy/ops/screen/__init__.pyi +21 -20
  222. bpy/ops/script/__init__.pyi +1 -0
  223. bpy/ops/sculpt/__init__.pyi +67 -66
  224. bpy/ops/sculpt_curves/__init__.pyi +3 -2
  225. bpy/ops/sequencer/__init__.pyi +75 -74
  226. bpy/ops/sound/__init__.pyi +21 -20
  227. bpy/ops/spreadsheet/__init__.pyi +1 -0
  228. bpy/ops/surface/__init__.pyi +13 -12
  229. bpy/ops/text/__init__.pyi +23 -22
  230. bpy/ops/text_editor/__init__.pyi +1 -0
  231. bpy/ops/texture/__init__.pyi +3 -2
  232. bpy/ops/transform/__init__.pyi +89 -88
  233. bpy/ops/ui/__init__.pyi +7 -6
  234. bpy/ops/uilist/__init__.pyi +3 -2
  235. bpy/ops/uv/__init__.pyi +67 -66
  236. bpy/ops/view2d/__init__.pyi +1 -0
  237. bpy/ops/view3d/__init__.pyi +35 -34
  238. bpy/ops/wm/__init__.pyi +197 -196
  239. bpy/ops/workspace/__init__.pyi +1 -0
  240. bpy/ops/world/__init__.pyi +1 -0
  241. bpy/path/__init__.pyi +1 -0
  242. bpy/props/__init__.pyi +1 -0
  243. bpy/types/__init__.pyi +3523 -3341
  244. bpy/utils/__init__.pyi +1 -0
  245. bpy/utils/previews/__init__.pyi +1 -0
  246. bpy/utils/units/__init__.pyi +1 -0
  247. bpy_extras/__init__.pyi +1 -0
  248. bpy_extras/anim_utils/__init__.pyi +1 -0
  249. bpy_extras/asset_utils/__init__.pyi +1 -0
  250. bpy_extras/bmesh_utils/__init__.pyi +1 -0
  251. bpy_extras/extensions/__init__.pyi +1 -0
  252. bpy_extras/extensions/junction_module/__init__.pyi +1 -0
  253. bpy_extras/id_map_utils/__init__.pyi +1 -0
  254. bpy_extras/image_utils/__init__.pyi +1 -0
  255. bpy_extras/io_utils/__init__.pyi +1 -0
  256. bpy_extras/keyconfig_utils/__init__.pyi +1 -0
  257. bpy_extras/mesh_utils/__init__.pyi +1 -0
  258. bpy_extras/node_shader_utils/__init__.pyi +1 -0
  259. bpy_extras/node_utils/__init__.pyi +1 -0
  260. bpy_extras/object_utils/__init__.pyi +1 -0
  261. bpy_extras/view3d_utils/__init__.pyi +1 -0
  262. bpy_extras/wm_utils/__init__.pyi +1 -0
  263. bpy_extras/wm_utils/progress_report/__init__.pyi +1 -0
  264. bpy_restrict_state/__init__.pyi +1 -0
  265. bpy_types/__init__.pyi +1 -0
  266. console_python/__init__.pyi +1 -0
  267. console_shell/__init__.pyi +1 -0
  268. {fake_bpy_module-20240519.dist-info → fake_bpy_module-20240521.dist-info}/METADATA +1 -1
  269. fake_bpy_module-20240521.dist-info/RECORD +353 -0
  270. freestyle/__init__.pyi +1 -0
  271. freestyle/chainingiterators/__init__.pyi +1 -0
  272. freestyle/functions/__init__.pyi +1 -0
  273. freestyle/predicates/__init__.pyi +1 -0
  274. freestyle/shaders/__init__.pyi +1 -0
  275. freestyle/types/__init__.pyi +1 -0
  276. freestyle/utils/ContextFunctions/__init__.pyi +1 -0
  277. freestyle/utils/__init__.pyi +1 -0
  278. gpu/__init__.pyi +1 -0
  279. gpu/capabilities/__init__.pyi +1 -0
  280. gpu/matrix/__init__.pyi +1 -0
  281. gpu/platform/__init__.pyi +1 -0
  282. gpu/select/__init__.pyi +1 -0
  283. gpu/shader/__init__.pyi +1 -0
  284. gpu/state/__init__.pyi +1 -0
  285. gpu/texture/__init__.pyi +1 -0
  286. gpu/types/__init__.pyi +1 -0
  287. gpu_extras/__init__.pyi +1 -0
  288. gpu_extras/batch/__init__.pyi +1 -0
  289. gpu_extras/presets/__init__.pyi +1 -0
  290. graphviz_export/__init__.pyi +1 -0
  291. idprop/__init__.pyi +1 -0
  292. idprop/types/__init__.pyi +1 -0
  293. imbuf/__init__.pyi +1 -0
  294. imbuf/types/__init__.pyi +1 -0
  295. keyingsets_builtins/__init__.pyi +1 -0
  296. keyingsets_utils/__init__.pyi +1 -0
  297. mathutils/__init__.pyi +3 -1
  298. mathutils/bvhtree/__init__.pyi +1 -0
  299. mathutils/geometry/__init__.pyi +1 -0
  300. mathutils/interpolate/__init__.pyi +1 -0
  301. mathutils/kdtree/__init__.pyi +1 -0
  302. mathutils/noise/__init__.pyi +1 -0
  303. nodeitems_builtins/__init__.pyi +1 -0
  304. nodeitems_utils/__init__.pyi +1 -0
  305. rna_info/__init__.pyi +1 -0
  306. rna_keymap_ui/__init__.pyi +1 -0
  307. rna_prop_ui/__init__.pyi +1 -0
  308. rna_xml/__init__.pyi +1 -0
  309. sys_info/__init__.pyi +1 -0
  310. fake_bpy_module-20240519.dist-info/RECORD +0 -353
  311. {fake_bpy_module-20240519.dist-info → fake_bpy_module-20240521.dist-info}/WHEEL +0 -0
  312. {fake_bpy_module-20240519.dist-info → fake_bpy_module-20240521.dist-info}/top_level.txt +0 -0
bmesh/ops/__init__.pyi CHANGED
@@ -14,6 +14,7 @@ This script shows how operators can be used to model a link of a chain.
14
14
  """
15
15
 
16
16
  import typing
17
+ import collections.abc
17
18
  import bmesh.types
18
19
  import bpy.types
19
20
  import mathutils
@@ -39,7 +40,7 @@ def beautify_fill(
39
40
  faces: list[bmesh.types.BMFace] = [],
40
41
  edges: list[bmesh.types.BMEdge] = [],
41
42
  use_restrict_tag: bool = False,
42
- method: str | int = "AREA",
43
+ method: str = "AREA",
43
44
  ) -> dict[str, typing.Any]:
44
45
  """Beautify Fill.Rotate edges to create more evenly spaced triangles.
45
46
 
@@ -52,7 +53,7 @@ def beautify_fill(
52
53
  :param use_restrict_tag: restrict edge rotation to mixed tagged vertices
53
54
  :type use_restrict_tag: bool
54
55
  :param method: method to define what is beautiful
55
- :type method: str | int
56
+ :type method: str
56
57
  :return: geom: new flipped faces and edges
57
58
 
58
59
  type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
@@ -67,23 +68,23 @@ def bevel(
67
68
  | list[bmesh.types.BMEdge]
68
69
  | list[bmesh.types.BMFace] = [],
69
70
  offset: float = 0,
70
- offset_type: str | int = "OFFSET",
71
- profile_type: str | int = "SUPERELLIPSE",
71
+ offset_type: str = "OFFSET",
72
+ profile_type: str = "SUPERELLIPSE",
72
73
  segments: int = 0,
73
74
  profile: float = 0,
74
- affect: str | int = "VERTICES",
75
+ affect: str = "VERTICES",
75
76
  clamp_overlap: bool = False,
76
77
  material: int = 0,
77
78
  loop_slide: bool = False,
78
79
  mark_seam: bool = False,
79
80
  mark_sharp: bool = False,
80
81
  harden_normals: bool = False,
81
- face_strength_mode: str | int = "NONE",
82
- miter_outer: str | int = "SHARP",
83
- miter_inner: str | int = "SHARP",
82
+ face_strength_mode: str = "NONE",
83
+ miter_outer: str = "SHARP",
84
+ miter_inner: str = "SHARP",
84
85
  spread: float = 0,
85
86
  custom_profile: bpy.types.bpy_struct = None,
86
- vmesh_method: str | int = "ADJ",
87
+ vmesh_method: str = "ADJ",
87
88
  ) -> dict[str, typing.Any]:
88
89
  """Bevel.Bevels edges and vertices
89
90
 
@@ -94,15 +95,15 @@ def bevel(
94
95
  :param offset: amount to offset beveled edge
95
96
  :type offset: float
96
97
  :param offset_type: how to measure the offset
97
- :type offset_type: str | int
98
+ :type offset_type: str
98
99
  :param profile_type: The profile type to use for bevel.
99
- :type profile_type: str | int
100
+ :type profile_type: str
100
101
  :param segments: number of segments in bevel
101
102
  :type segments: int
102
103
  :param profile: profile shape, 0->1 (.5=>round)
103
104
  :type profile: float
104
105
  :param affect: Whether to bevel vertices or edges.
105
- :type affect: str | int
106
+ :type affect: str
106
107
  :param clamp_overlap: do not allow beveled edges/vertices to overlap each other
107
108
  :type clamp_overlap: bool
108
109
  :param material: material for bevel faces, -1 means get from adjacent faces
@@ -116,17 +117,17 @@ def bevel(
116
117
  :param harden_normals: harden normals
117
118
  :type harden_normals: bool
118
119
  :param face_strength_mode: whether to set face strength, and which faces to set if so
119
- :type face_strength_mode: str | int
120
+ :type face_strength_mode: str
120
121
  :param miter_outer: outer miter kind
121
- :type miter_outer: str | int
122
+ :type miter_outer: str
122
123
  :param miter_inner: outer miter kind
123
- :type miter_inner: str | int
124
+ :type miter_inner: str
124
125
  :param spread: amount to offset beveled edge
125
126
  :type spread: float
126
127
  :param custom_profile: CurveProfile, if None ignored
127
128
  :type custom_profile: bpy.types.bpy_struct
128
129
  :param vmesh_method: The method to use to create meshes at intersections.
129
- :type vmesh_method: str | int
130
+ :type vmesh_method: str
130
131
  :return: faces: output faces
131
132
 
132
133
  type list of (`bmesh.types.BMFace`)
@@ -680,7 +681,7 @@ def delete(
680
681
  geom: list[bmesh.types.BMVert]
681
682
  | list[bmesh.types.BMEdge]
682
683
  | list[bmesh.types.BMFace] = [],
683
- context: str | int = "VERTS",
684
+ context: str = "VERTS",
684
685
  ):
685
686
  """Delete Geometry.Utility operator to delete geometry.
686
687
 
@@ -689,7 +690,7 @@ def delete(
689
690
  :param geom: input geometry
690
691
  :type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
691
692
  :param context: geometry types to delete
692
- :type context: str | int
693
+ :type context: str
693
694
  """
694
695
 
695
696
  ...
@@ -1288,7 +1289,7 @@ def mirror(
1288
1289
  | list[bmesh.types.BMFace] = [],
1289
1290
  matrix: typing.Sequence[float] | mathutils.Matrix = None(4),
1290
1291
  merge_dist: float = 0,
1291
- axis: str | int = "X",
1292
+ axis: str = "X",
1292
1293
  mirror_u: bool = False,
1293
1294
  mirror_v: bool = False,
1294
1295
  mirror_udim: bool = False,
@@ -1307,7 +1308,7 @@ def mirror(
1307
1308
  :param merge_dist: maximum distance for merging. does no merging if 0.
1308
1309
  :type merge_dist: float
1309
1310
  :param axis: the axis to use.
1310
- :type axis: str | int
1311
+ :type axis: str
1311
1312
  :param mirror_u: mirror UVs across the u axis
1312
1313
  :type mirror_u: bool
1313
1314
  :param mirror_v: mirror UVs across the v axis
@@ -1423,7 +1424,7 @@ def poke(
1423
1424
  bm: bmesh.types.BMesh,
1424
1425
  faces: list[bmesh.types.BMFace] = [],
1425
1426
  offset: float = 0,
1426
- center_mode: str | int = "MEAN_WEIGHTED",
1427
+ center_mode: str = "MEAN_WEIGHTED",
1427
1428
  use_relative_offset: bool = False,
1428
1429
  ) -> dict[str, typing.Any]:
1429
1430
  """Pokes a face.Splits a face into a triangle fan.
@@ -1435,7 +1436,7 @@ def poke(
1435
1436
  :param offset: center vertex offset along normal
1436
1437
  :type offset: float
1437
1438
  :param center_mode: calculation mode for center vertex
1438
- :type center_mode: str | int
1439
+ :type center_mode: str
1439
1440
  :param use_relative_offset: apply offset
1440
1441
  :type use_relative_offset: bool
1441
1442
  :return: verts: output verts
@@ -1861,10 +1862,10 @@ def split_edges(
1861
1862
  def subdivide_edgering(
1862
1863
  bm: bmesh.types.BMesh,
1863
1864
  edges: list[bmesh.types.BMEdge] = [],
1864
- interp_mode: str | int = "LINEAR",
1865
+ interp_mode: str = "LINEAR",
1865
1866
  smooth: float = 0,
1866
1867
  cuts: int = 0,
1867
- profile_shape: str | int = "SMOOTH",
1868
+ profile_shape: str = "SMOOTH",
1868
1869
  profile_shape_factor: float = 0,
1869
1870
  ) -> dict[str, typing.Any]:
1870
1871
  """Subdivide Edge-Ring.Take an edge-ring, and subdivide with interpolation options.
@@ -1874,13 +1875,13 @@ def subdivide_edgering(
1874
1875
  :param edges: input vertices
1875
1876
  :type edges: list[bmesh.types.BMEdge]
1876
1877
  :param interp_mode: interpolation method
1877
- :type interp_mode: str | int
1878
+ :type interp_mode: str
1878
1879
  :param smooth: smoothness factor
1879
1880
  :type smooth: float
1880
1881
  :param cuts: number of cuts
1881
1882
  :type cuts: int
1882
1883
  :param profile_shape: profile shape type
1883
- :type profile_shape: str | int
1884
+ :type profile_shape: str
1884
1885
  :param profile_shape_factor: how much intermediary new edges are shrunk/expanded
1885
1886
  :type profile_shape_factor: float
1886
1887
  :return: faces: output faces
@@ -1895,14 +1896,14 @@ def subdivide_edges(
1895
1896
  bm: bmesh.types.BMesh,
1896
1897
  edges: list[bmesh.types.BMEdge] = [],
1897
1898
  smooth: float = 0,
1898
- smooth_falloff: str | int = "SMOOTH",
1899
+ smooth_falloff: str = "SMOOTH",
1899
1900
  fractal: float = 0,
1900
1901
  along_normal: float = 0,
1901
1902
  cuts: int = 0,
1902
1903
  seed: int = 0,
1903
1904
  custom_patterns={},
1904
1905
  edge_percents={},
1905
- quad_corner_type: str | int = "STRAIGHT_CUT",
1906
+ quad_corner_type: str = "STRAIGHT_CUT",
1906
1907
  use_grid_fill: bool = False,
1907
1908
  use_single_edge: bool = False,
1908
1909
  use_only_quads: bool = False,
@@ -1919,7 +1920,7 @@ def subdivide_edges(
1919
1920
  :param smooth: smoothness factor
1920
1921
  :type smooth: float
1921
1922
  :param smooth_falloff: smooth falloff type
1922
- :type smooth_falloff: str | int
1923
+ :type smooth_falloff: str
1923
1924
  :param fractal: fractal randomness factor
1924
1925
  :type fractal: float
1925
1926
  :param along_normal: apply fractal displacement along normal only
@@ -1931,7 +1932,7 @@ def subdivide_edges(
1931
1932
  :param custom_patterns: uses custom pointers
1932
1933
  :param edge_percents: Undocumented.
1933
1934
  :param quad_corner_type: quad corner type
1934
- :type quad_corner_type: str | int
1935
+ :type quad_corner_type: str
1935
1936
  :param use_grid_fill: fill in fully-selected faces with a grid
1936
1937
  :type use_grid_fill: bool
1937
1938
  :param use_single_edge: tessellate the case of one edge selected in a quad or triangle
@@ -1963,7 +1964,7 @@ def symmetrize(
1963
1964
  input: list[bmesh.types.BMVert]
1964
1965
  | list[bmesh.types.BMEdge]
1965
1966
  | list[bmesh.types.BMFace] = [],
1966
- direction: str | int = "-X",
1967
+ direction: str = "-X",
1967
1968
  dist: float = 0,
1968
1969
  use_shapekey: bool = False,
1969
1970
  ) -> dict[str, typing.Any]:
@@ -1977,7 +1978,7 @@ def symmetrize(
1977
1978
  :param input: input geometry
1978
1979
  :type input: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
1979
1980
  :param direction: axis to use
1980
- :type direction: str | int
1981
+ :type direction: str
1981
1982
  :param dist: minimum distance
1982
1983
  :type dist: float
1983
1984
  :param use_shapekey: Transform shape keys too.
@@ -2067,8 +2068,8 @@ def triangle_fill(
2067
2068
  def triangulate(
2068
2069
  bm: bmesh.types.BMesh,
2069
2070
  faces: list[bmesh.types.BMFace] = [],
2070
- quad_method: str | int = "BEAUTY",
2071
- ngon_method: str | int = "BEAUTY",
2071
+ quad_method: str = "BEAUTY",
2072
+ ngon_method: str = "BEAUTY",
2072
2073
  ) -> dict[str, typing.Any]:
2073
2074
  """Triangulate.
2074
2075
 
@@ -2077,9 +2078,9 @@ def triangulate(
2077
2078
  :param faces: input faces
2078
2079
  :type faces: list[bmesh.types.BMFace]
2079
2080
  :param quad_method: method for splitting the quads into triangles
2080
- :type quad_method: str | int
2081
+ :type quad_method: str
2081
2082
  :param ngon_method: method for splitting the polygons into triangles
2082
- :type ngon_method: str | int
2083
+ :type ngon_method: str
2083
2084
  :return: edges:
2084
2085
 
2085
2086
  type list of (`bmesh.types.BMEdge`)
bmesh/types/__init__.pyi CHANGED
@@ -20,6 +20,7 @@
20
20
  """
21
21
 
22
22
  import typing
23
+ import collections.abc
23
24
  import bpy.types
24
25
  import mathutils
25
26
 
@@ -1584,10 +1585,11 @@ class BMesh:
1584
1585
  """
1585
1586
  ...
1586
1587
 
1587
- def transform(self, matrix, filter: set = None):
1588
+ def transform(self, matrix: mathutils.Matrix, filter: set = None):
1588
1589
  """Transform the mesh (optionally filtering flagged data only).
1589
1590
 
1590
1591
  :param matrix: transform matrix.
1592
+ :type matrix: mathutils.Matrix
1591
1593
  :param filter: set of values in ('SELECT', 'HIDE', 'SEAM', 'SMOOTH', 'TAG').
1592
1594
  :type filter: set
1593
1595
  """
bmesh/utils/__init__.pyi CHANGED
@@ -4,6 +4,7 @@ This module provides access to blenders bmesh data structures.
4
4
  """
5
5
 
6
6
  import typing
7
+ import collections.abc
7
8
  import bmesh.types
8
9
 
9
10
  GenericType1 = typing.TypeVar("GenericType1")
bpy/__init__.pyi CHANGED
@@ -6,6 +6,7 @@ This module is used for all Blender/Python access.
6
6
  """
7
7
 
8
8
  import typing
9
+ import collections.abc
9
10
  import bpy.types
10
11
 
11
12
  from . import app
bpy/app/__init__.pyi CHANGED
@@ -12,6 +12,7 @@ bpy.app.timers.rst
12
12
  """
13
13
 
14
14
  import typing
15
+ import collections.abc
15
16
  from . import handlers
16
17
  from . import icons
17
18
  from . import timers
@@ -40,6 +40,7 @@ Below is an example of a mesh that is altered from a handler:
40
40
  """
41
41
 
42
42
  import typing
43
+ import collections.abc
43
44
  import bpy.types
44
45
 
45
46
  GenericType1 = typing.TypeVar("GenericType1")
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import collections.abc
2
3
 
3
4
  GenericType1 = typing.TypeVar("GenericType1")
4
5
  GenericType2 = typing.TypeVar("GenericType2")
@@ -31,6 +31,7 @@ Pythons queue.Queue can be used here, because it implements the required locking
31
31
  """
32
32
 
33
33
  import typing
34
+ import collections.abc
34
35
 
35
36
  GenericType1 = typing.TypeVar("GenericType1")
36
37
  GenericType2 = typing.TypeVar("GenericType2")
@@ -57,6 +57,7 @@ for more info.
57
57
  """
58
58
 
59
59
  import typing
60
+ import collections.abc
60
61
 
61
62
  GenericType1 = typing.TypeVar("GenericType1")
62
63
  GenericType2 = typing.TypeVar("GenericType2")
bpy/msgbus/__init__.pyi CHANGED
@@ -45,6 +45,7 @@ see bpy.app.handlers.load_post.
45
45
  """
46
46
 
47
47
  import typing
48
+ import collections.abc
48
49
 
49
50
  GenericType1 = typing.TypeVar("GenericType1")
50
51
  GenericType2 = typing.TypeVar("GenericType2")
bpy/ops/__init__.pyi CHANGED
@@ -150,6 +150,7 @@ bpy.ops.*
150
150
  """
151
151
 
152
152
  import typing
153
+ import collections.abc
153
154
  from . import action
154
155
  from . import anim
155
156
  from . import armature
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.ops.transform
3
4
  import bpy.types
4
5
 
@@ -143,7 +144,7 @@ def easing_type(
143
144
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
144
145
  execution_context: str | int | None = None,
145
146
  undo: bool | None = None,
146
- type: str | int | None = "AUTO",
147
+ type: str | None = "AUTO",
147
148
  ):
148
149
  """Set easing type for the F-Curve segments starting from the selected keyframes
149
150
 
@@ -151,7 +152,7 @@ def easing_type(
151
152
  :type execution_context: str | int | None
152
153
  :type undo: bool | None
153
154
  :param type: Type
154
- :type type: str | int | None
155
+ :type type: str | None
155
156
  """
156
157
 
157
158
  ...
@@ -160,7 +161,7 @@ def extrapolation_type(
160
161
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
161
162
  execution_context: str | int | None = None,
162
163
  undo: bool | None = None,
163
- type: str | int | None = "CONSTANT",
164
+ type: str | None = "CONSTANT",
164
165
  ):
165
166
  """Set extrapolation mode for selected F-Curves
166
167
 
@@ -180,7 +181,7 @@ def extrapolation_type(
180
181
 
181
182
  CLEAR_CYCLIC
182
183
  Clear Cyclic (F-Modifier) -- Remove Cycles F-Modifier if not needed anymore.
183
- :type type: str | int | None
184
+ :type type: str | None
184
185
  """
185
186
 
186
187
  ...
@@ -203,7 +204,7 @@ def handle_type(
203
204
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
204
205
  execution_context: str | int | None = None,
205
206
  undo: bool | None = None,
206
- type: str | int | None = "FREE",
207
+ type: str | None = "FREE",
207
208
  ):
208
209
  """Set type of handle for selected keyframes
209
210
 
@@ -211,7 +212,7 @@ def handle_type(
211
212
  :type execution_context: str | int | None
212
213
  :type undo: bool | None
213
214
  :param type: Type
214
- :type type: str | int | None
215
+ :type type: str | None
215
216
  """
216
217
 
217
218
  ...
@@ -220,7 +221,7 @@ def interpolation_type(
220
221
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
221
222
  execution_context: str | int | None = None,
222
223
  undo: bool | None = None,
223
- type: str | int | None = "CONSTANT",
224
+ type: str | None = "CONSTANT",
224
225
  ):
225
226
  """Set interpolation mode for the F-Curve segments starting from the selected keyframes
226
227
 
@@ -228,7 +229,7 @@ def interpolation_type(
228
229
  :type execution_context: str | int | None
229
230
  :type undo: bool | None
230
231
  :param type: Type
231
- :type type: str | int | None
232
+ :type type: str | None
232
233
  """
233
234
 
234
235
  ...
@@ -237,7 +238,7 @@ def keyframe_insert(
237
238
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
238
239
  execution_context: str | int | None = None,
239
240
  undo: bool | None = None,
240
- type: str | int | None = "ALL",
241
+ type: str | None = "ALL",
241
242
  ):
242
243
  """Insert keyframes for the specified channels
243
244
 
@@ -245,7 +246,7 @@ def keyframe_insert(
245
246
  :type execution_context: str | int | None
246
247
  :type undo: bool | None
247
248
  :param type: Type
248
- :type type: str | int | None
249
+ :type type: str | None
249
250
  """
250
251
 
251
252
  ...
@@ -254,7 +255,7 @@ def keyframe_type(
254
255
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
255
256
  execution_context: str | int | None = None,
256
257
  undo: bool | None = None,
257
- type: str | int | None = "KEYFRAME",
258
+ type: str | None = "KEYFRAME",
258
259
  ):
259
260
  """Set type of keyframe for the selected keyframes
260
261
 
@@ -262,7 +263,7 @@ def keyframe_type(
262
263
  :type execution_context: str | int | None
263
264
  :type undo: bool | None
264
265
  :param type: Type
265
- :type type: str | int | None
266
+ :type type: str | None
266
267
  """
267
268
 
268
269
  ...
@@ -313,7 +314,7 @@ def mirror(
313
314
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
314
315
  execution_context: str | int | None = None,
315
316
  undo: bool | None = None,
316
- type: str | int | None = "CFRA",
317
+ type: str | None = "CFRA",
317
318
  ):
318
319
  """Flip selected keyframes over the selected mirror line
319
320
 
@@ -330,7 +331,7 @@ def mirror(
330
331
 
331
332
  MARKER
332
333
  By Times Over First Selected Marker -- Flip times of selected keyframes using the first selected marker as the reference point.
333
- :type type: str | int | None
334
+ :type type: str | None
334
335
  """
335
336
 
336
337
  ...
@@ -353,8 +354,8 @@ def paste(
353
354
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
354
355
  execution_context: str | int | None = None,
355
356
  undo: bool | None = None,
356
- offset: str | int | None = "START",
357
- merge: str | int | None = "MIX",
357
+ offset: str | None = "START",
358
+ merge: str | None = "MIX",
358
359
  flipped: bool | typing.Any | None = False,
359
360
  ):
360
361
  """Paste keyframes from the internal clipboard for the selected channels, starting on the current frame
@@ -363,9 +364,9 @@ def paste(
363
364
  :type execution_context: str | int | None
364
365
  :type undo: bool | None
365
366
  :param offset: Offset, Paste time offset of keys
366
- :type offset: str | int | None
367
+ :type offset: str | None
367
368
  :param merge: Type, Method of merging pasted keys and existing
368
- :type merge: str | int | None
369
+ :type merge: str | None
369
370
  :param flipped: Flipped, Paste keyframes from mirrored bones if they exist
370
371
  :type flipped: bool | typing.Any | None
371
372
  """
@@ -404,7 +405,7 @@ def select_all(
404
405
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
405
406
  execution_context: str | int | None = None,
406
407
  undo: bool | None = None,
407
- action: str | int | None = "TOGGLE",
408
+ action: str | None = "TOGGLE",
408
409
  ):
409
410
  """Toggle selection of all keyframes
410
411
 
@@ -424,7 +425,7 @@ def select_all(
424
425
 
425
426
  INVERT
426
427
  Invert -- Invert selection of all elements.
427
- :type action: str | int | None
428
+ :type action: str | None
428
429
  """
429
430
 
430
431
  ...
@@ -439,7 +440,7 @@ def select_box(
439
440
  ymin: typing.Any | None = 0,
440
441
  ymax: typing.Any | None = 0,
441
442
  wait_for_input: bool | typing.Any | None = True,
442
- mode: str | int | None = "SET",
443
+ mode: str | None = "SET",
443
444
  tweak: bool | typing.Any | None = False,
444
445
  ):
445
446
  """Select all keyframes within the specified region
@@ -469,7 +470,7 @@ def select_box(
469
470
 
470
471
  SUB
471
472
  Subtract -- Subtract existing selection.
472
- :type mode: str | int | None
473
+ :type mode: str | None
473
474
  :param tweak: Tweak, Operator has been activated using a click-drag event
474
475
  :type tweak: bool | typing.Any | None
475
476
  """
@@ -484,7 +485,7 @@ def select_circle(
484
485
  y: typing.Any | None = 0,
485
486
  radius: typing.Any | None = 25,
486
487
  wait_for_input: bool | typing.Any | None = True,
487
- mode: str | int | None = "SET",
488
+ mode: str | None = "SET",
488
489
  ):
489
490
  """Select keyframe points using circle selection
490
491
 
@@ -509,7 +510,7 @@ def select_circle(
509
510
 
510
511
  SUB
511
512
  Subtract -- Subtract existing selection.
512
- :type mode: str | int | None
513
+ :type mode: str | None
513
514
  """
514
515
 
515
516
  ...
@@ -518,7 +519,7 @@ def select_column(
518
519
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
519
520
  execution_context: str | int | None = None,
520
521
  undo: bool | None = None,
521
- mode: str | int | None = "KEYS",
522
+ mode: str | None = "KEYS",
522
523
  ):
523
524
  """Select all keyframes on the specified frame(s)
524
525
 
@@ -526,7 +527,7 @@ def select_column(
526
527
  :type execution_context: str | int | None
527
528
  :type undo: bool | None
528
529
  :param mode: Mode
529
- :type mode: str | int | None
530
+ :type mode: str | None
530
531
  """
531
532
 
532
533
  ...
@@ -536,7 +537,7 @@ def select_lasso(
536
537
  execution_context: str | int | None = None,
537
538
  undo: bool | None = None,
538
539
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
539
- mode: str | int | None = "SET",
540
+ mode: str | None = "SET",
540
541
  ):
541
542
  """Select keyframe points using lasso selection
542
543
 
@@ -555,7 +556,7 @@ def select_lasso(
555
556
 
556
557
  SUB
557
558
  Subtract -- Subtract existing selection.
558
- :type mode: str | int | None
559
+ :type mode: str | None
559
560
  """
560
561
 
561
562
  ...
@@ -564,7 +565,7 @@ def select_leftright(
564
565
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
565
566
  execution_context: str | int | None = None,
566
567
  undo: bool | None = None,
567
- mode: str | int | None = "CHECK",
568
+ mode: str | None = "CHECK",
568
569
  extend: bool | typing.Any | None = False,
569
570
  ):
570
571
  """Select keyframes to the left or the right of the current frame
@@ -573,7 +574,7 @@ def select_leftright(
573
574
  :type execution_context: str | int | None
574
575
  :type undo: bool | None
575
576
  :param mode: Mode
576
- :type mode: str | int | None
577
+ :type mode: str | None
577
578
  :param extend: Extend Select
578
579
  :type extend: bool | typing.Any | None
579
580
  """
@@ -626,7 +627,7 @@ def snap(
626
627
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
627
628
  execution_context: str | int | None = None,
628
629
  undo: bool | None = None,
629
- type: str | int | None = "CFRA",
630
+ type: str | None = "CFRA",
630
631
  ):
631
632
  """Snap selected keyframes to the times specified
632
633
 
@@ -646,7 +647,7 @@ def snap(
646
647
 
647
648
  NEAREST_MARKER
648
649
  Selection to Nearest Marker -- Snap selected keyframes to the nearest marker.
649
- :type type: str | int | None
650
+ :type type: str | None
650
651
  """
651
652
 
652
653
  ...