fake-bpy-module 20240518__py3-none-any.whl → 20240520__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 +3 -1
  2. _bpy_internal/freedesktop/__init__.pyi +3 -1
  3. addon_utils/__init__.pyi +3 -1
  4. animsys_refactor/__init__.pyi +3 -1
  5. aud/__init__.pyi +3 -1
  6. bgl/__init__.pyi +121 -146
  7. bl_app_override/__init__.pyi +3 -1
  8. bl_app_override/helpers/__init__.pyi +3 -1
  9. bl_app_template_utils/__init__.pyi +3 -1
  10. bl_console_utils/__init__.pyi +3 -1
  11. bl_console_utils/autocomplete/__init__.pyi +3 -1
  12. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -1
  13. bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -1
  14. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +3 -1
  15. bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
  16. bl_i18n_utils/__init__.pyi +3 -1
  17. bl_i18n_utils/bl_extract_messages/__init__.pyi +3 -1
  18. bl_i18n_utils/merge_po/__init__.pyi +3 -1
  19. bl_i18n_utils/settings/__init__.pyi +3 -1
  20. bl_i18n_utils/utils/__init__.pyi +3 -1
  21. bl_i18n_utils/utils_cli/__init__.pyi +3 -1
  22. bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -1
  23. bl_i18n_utils/utils_rtl/__init__.pyi +3 -1
  24. bl_keymap_utils/__init__.pyi +3 -1
  25. bl_keymap_utils/io/__init__.pyi +3 -1
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +3 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -1
  28. bl_keymap_utils/platform_helpers/__init__.pyi +3 -1
  29. bl_keymap_utils/versioning/__init__.pyi +3 -1
  30. bl_math/__init__.pyi +3 -1
  31. bl_operators/__init__.pyi +3 -1
  32. bl_operators/add_mesh_torus/__init__.pyi +3 -1
  33. bl_operators/anim/__init__.pyi +3 -1
  34. bl_operators/assets/__init__.pyi +3 -1
  35. bl_operators/bmesh/__init__.pyi +3 -1
  36. bl_operators/bmesh/find_adjacent/__init__.pyi +3 -1
  37. bl_operators/clip/__init__.pyi +3 -1
  38. bl_operators/console/__init__.pyi +3 -1
  39. bl_operators/constraint/__init__.pyi +3 -1
  40. bl_operators/file/__init__.pyi +3 -1
  41. bl_operators/freestyle/__init__.pyi +3 -1
  42. bl_operators/geometry_nodes/__init__.pyi +3 -1
  43. bl_operators/image/__init__.pyi +3 -1
  44. bl_operators/mesh/__init__.pyi +3 -1
  45. bl_operators/node/__init__.pyi +3 -1
  46. bl_operators/object/__init__.pyi +3 -1
  47. bl_operators/object_align/__init__.pyi +3 -1
  48. bl_operators/object_quick_effects/__init__.pyi +3 -1
  49. bl_operators/object_randomize_transform/__init__.pyi +3 -1
  50. bl_operators/presets/__init__.pyi +3 -1
  51. bl_operators/rigidbody/__init__.pyi +3 -1
  52. bl_operators/screen_play_rendered_anim/__init__.pyi +3 -1
  53. bl_operators/sequencer/__init__.pyi +3 -1
  54. bl_operators/spreadsheet/__init__.pyi +3 -1
  55. bl_operators/userpref/__init__.pyi +3 -1
  56. bl_operators/uvcalc_follow_active/__init__.pyi +3 -1
  57. bl_operators/uvcalc_lightmap/__init__.pyi +3 -1
  58. bl_operators/uvcalc_transform/__init__.pyi +3 -1
  59. bl_operators/vertexpaint_dirt/__init__.pyi +3 -1
  60. bl_operators/view3d/__init__.pyi +3 -1
  61. bl_operators/wm/__init__.pyi +3 -1
  62. bl_operators/world/__init__.pyi +3 -1
  63. bl_previews_utils/__init__.pyi +3 -1
  64. bl_previews_utils/bl_previews_render/__init__.pyi +3 -1
  65. bl_rna_utils/__init__.pyi +3 -1
  66. bl_rna_utils/data_path/__init__.pyi +3 -1
  67. bl_text_utils/__init__.pyi +3 -1
  68. bl_text_utils/external_editor/__init__.pyi +3 -1
  69. bl_ui/__init__.pyi +3 -1
  70. bl_ui/anim/__init__.pyi +3 -1
  71. bl_ui/asset_shelf/__init__.pyi +3 -1
  72. bl_ui/generic_ui_list/__init__.pyi +3 -1
  73. bl_ui/node_add_menu/__init__.pyi +3 -1
  74. bl_ui/node_add_menu_compositor/__init__.pyi +3 -1
  75. bl_ui/node_add_menu_geometry/__init__.pyi +3 -1
  76. bl_ui/node_add_menu_shader/__init__.pyi +3 -1
  77. bl_ui/node_add_menu_texture/__init__.pyi +3 -1
  78. bl_ui/properties_animviz/__init__.pyi +3 -1
  79. bl_ui/properties_collection/__init__.pyi +3 -1
  80. bl_ui/properties_constraint/__init__.pyi +3 -1
  81. bl_ui/properties_data_armature/__init__.pyi +3 -1
  82. bl_ui/properties_data_bone/__init__.pyi +3 -1
  83. bl_ui/properties_data_camera/__init__.pyi +3 -1
  84. bl_ui/properties_data_curve/__init__.pyi +3 -1
  85. bl_ui/properties_data_curves/__init__.pyi +3 -1
  86. bl_ui/properties_data_empty/__init__.pyi +3 -1
  87. bl_ui/properties_data_gpencil/__init__.pyi +3 -1
  88. bl_ui/properties_data_grease_pencil/__init__.pyi +3 -1
  89. bl_ui/properties_data_lattice/__init__.pyi +3 -1
  90. bl_ui/properties_data_light/__init__.pyi +3 -1
  91. bl_ui/properties_data_lightprobe/__init__.pyi +3 -1
  92. bl_ui/properties_data_mesh/__init__.pyi +3 -1
  93. bl_ui/properties_data_metaball/__init__.pyi +3 -1
  94. bl_ui/properties_data_modifier/__init__.pyi +3 -1
  95. bl_ui/properties_data_pointcloud/__init__.pyi +3 -1
  96. bl_ui/properties_data_shaderfx/__init__.pyi +3 -1
  97. bl_ui/properties_data_speaker/__init__.pyi +3 -1
  98. bl_ui/properties_data_volume/__init__.pyi +3 -1
  99. bl_ui/properties_freestyle/__init__.pyi +3 -1
  100. bl_ui/properties_grease_pencil_common/__init__.pyi +3 -1
  101. bl_ui/properties_mask_common/__init__.pyi +3 -1
  102. bl_ui/properties_material/__init__.pyi +3 -1
  103. bl_ui/properties_material_gpencil/__init__.pyi +3 -1
  104. bl_ui/properties_object/__init__.pyi +3 -1
  105. bl_ui/properties_output/__init__.pyi +3 -1
  106. bl_ui/properties_paint_common/__init__.pyi +3 -1
  107. bl_ui/properties_particle/__init__.pyi +3 -1
  108. bl_ui/properties_physics_cloth/__init__.pyi +3 -1
  109. bl_ui/properties_physics_common/__init__.pyi +3 -1
  110. bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -1
  111. bl_ui/properties_physics_field/__init__.pyi +3 -1
  112. bl_ui/properties_physics_fluid/__init__.pyi +3 -1
  113. bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -1
  114. bl_ui/properties_physics_rigidbody/__init__.pyi +3 -1
  115. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +3 -1
  116. bl_ui/properties_physics_softbody/__init__.pyi +3 -1
  117. bl_ui/properties_render/__init__.pyi +3 -1
  118. bl_ui/properties_scene/__init__.pyi +3 -1
  119. bl_ui/properties_texture/__init__.pyi +3 -1
  120. bl_ui/properties_view_layer/__init__.pyi +3 -1
  121. bl_ui/properties_workspace/__init__.pyi +3 -1
  122. bl_ui/properties_world/__init__.pyi +3 -1
  123. bl_ui/space_clip/__init__.pyi +3 -1
  124. bl_ui/space_console/__init__.pyi +3 -1
  125. bl_ui/space_dopesheet/__init__.pyi +3 -1
  126. bl_ui/space_filebrowser/__init__.pyi +3 -1
  127. bl_ui/space_graph/__init__.pyi +3 -1
  128. bl_ui/space_image/__init__.pyi +3 -1
  129. bl_ui/space_info/__init__.pyi +3 -1
  130. bl_ui/space_nla/__init__.pyi +3 -1
  131. bl_ui/space_node/__init__.pyi +3 -1
  132. bl_ui/space_outliner/__init__.pyi +3 -1
  133. bl_ui/space_properties/__init__.pyi +3 -1
  134. bl_ui/space_sequencer/__init__.pyi +3 -1
  135. bl_ui/space_spreadsheet/__init__.pyi +3 -1
  136. bl_ui/space_statusbar/__init__.pyi +3 -1
  137. bl_ui/space_text/__init__.pyi +3 -1
  138. bl_ui/space_time/__init__.pyi +3 -1
  139. bl_ui/space_toolsystem_common/__init__.pyi +3 -1
  140. bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -1
  141. bl_ui/space_topbar/__init__.pyi +3 -1
  142. bl_ui/space_userpref/__init__.pyi +3 -1
  143. bl_ui/space_view3d/__init__.pyi +3 -1
  144. bl_ui/space_view3d_toolbar/__init__.pyi +3 -1
  145. bl_ui/temp_anim_layers/__init__.pyi +3 -1
  146. bl_ui/utils/__init__.pyi +3 -1
  147. bl_ui_utils/__init__.pyi +3 -1
  148. bl_ui_utils/bug_report_url/__init__.pyi +3 -1
  149. bl_ui_utils/layout/__init__.pyi +3 -1
  150. blend_render_info/__init__.pyi +3 -1
  151. blf/__init__.pyi +3 -1
  152. bmesh/__init__.pyi +3 -1
  153. bmesh/geometry/__init__.pyi +3 -1
  154. bmesh/ops/__init__.pyi +39 -37
  155. bmesh/types/__init__.pyi +31 -28
  156. bmesh/utils/__init__.pyi +3 -1
  157. bpy/__init__.pyi +3 -1
  158. bpy/app/__init__.pyi +3 -1
  159. bpy/app/handlers/__init__.pyi +3 -1
  160. bpy/app/icons/__init__.pyi +3 -1
  161. bpy/app/timers/__init__.pyi +9 -15
  162. bpy/app/translations/__init__.pyi +3 -1
  163. bpy/msgbus/__init__.pyi +3 -1
  164. bpy/ops/__init__.pyi +3 -1
  165. bpy/ops/action/__init__.pyi +35 -33
  166. bpy/ops/anim/__init__.pyi +33 -31
  167. bpy/ops/armature/__init__.pyi +23 -21
  168. bpy/ops/asset/__init__.pyi +9 -7
  169. bpy/ops/bl_pkg/__init__.pyi +5 -3
  170. bpy/ops/boid/__init__.pyi +5 -3
  171. bpy/ops/brush/__init__.pyi +11 -9
  172. bpy/ops/buttons/__init__.pyi +11 -9
  173. bpy/ops/cachefile/__init__.pyi +13 -11
  174. bpy/ops/camera/__init__.pyi +3 -1
  175. bpy/ops/clip/__init__.pyi +41 -39
  176. bpy/ops/cloth/__init__.pyi +3 -1
  177. bpy/ops/collection/__init__.pyi +9 -7
  178. bpy/ops/console/__init__.pyi +9 -7
  179. bpy/ops/constraint/__init__.pyi +31 -29
  180. bpy/ops/curve/__init__.pyi +37 -35
  181. bpy/ops/curves/__init__.pyi +19 -17
  182. bpy/ops/cycles/__init__.pyi +3 -1
  183. bpy/ops/dpaint/__init__.pyi +7 -5
  184. bpy/ops/ed/__init__.pyi +7 -5
  185. bpy/ops/export_anim/__init__.pyi +5 -3
  186. bpy/ops/export_scene/__init__.pyi +41 -39
  187. bpy/ops/file/__init__.pyi +21 -19
  188. bpy/ops/fluid/__init__.pyi +3 -1
  189. bpy/ops/font/__init__.pyi +23 -21
  190. bpy/ops/geometry/__init__.pyi +23 -21
  191. bpy/ops/gizmogroup/__init__.pyi +3 -1
  192. bpy/ops/gpencil/__init__.pyi +135 -133
  193. bpy/ops/graph/__init__.pyi +57 -55
  194. bpy/ops/grease_pencil/__init__.pyi +45 -43
  195. bpy/ops/image/__init__.pyi +31 -29
  196. bpy/ops/import_anim/__init__.pyi +11 -9
  197. bpy/ops/import_curve/__init__.pyi +3 -1
  198. bpy/ops/import_scene/__init__.pyi +21 -19
  199. bpy/ops/info/__init__.pyi +7 -5
  200. bpy/ops/lattice/__init__.pyi +9 -7
  201. bpy/ops/marker/__init__.pyi +11 -9
  202. bpy/ops/mask/__init__.pyi +15 -13
  203. bpy/ops/material/__init__.pyi +3 -1
  204. bpy/ops/mball/__init__.pyi +9 -7
  205. bpy/ops/mesh/__init__.pyi +147 -145
  206. bpy/ops/nla/__init__.pyi +19 -17
  207. bpy/ops/node/__init__.pyi +35 -33
  208. bpy/ops/object/__init__.pyi +255 -253
  209. bpy/ops/outliner/__init__.pyi +43 -41
  210. bpy/ops/paint/__init__.pyi +75 -73
  211. bpy/ops/paintcurve/__init__.pyi +3 -1
  212. bpy/ops/palette/__init__.pyi +7 -5
  213. bpy/ops/particle/__init__.pyi +17 -15
  214. bpy/ops/pose/__init__.pyi +45 -43
  215. bpy/ops/poselib/__init__.pyi +3 -1
  216. bpy/ops/preferences/__init__.pyi +15 -13
  217. bpy/ops/ptcache/__init__.pyi +3 -1
  218. bpy/ops/render/__init__.pyi +5 -3
  219. bpy/ops/rigidbody/__init__.pyi +19 -17
  220. bpy/ops/scene/__init__.pyi +27 -25
  221. bpy/ops/screen/__init__.pyi +23 -21
  222. bpy/ops/script/__init__.pyi +3 -1
  223. bpy/ops/sculpt/__init__.pyi +69 -67
  224. bpy/ops/sculpt_curves/__init__.pyi +5 -3
  225. bpy/ops/sequencer/__init__.pyi +77 -75
  226. bpy/ops/sound/__init__.pyi +23 -21
  227. bpy/ops/spreadsheet/__init__.pyi +3 -1
  228. bpy/ops/surface/__init__.pyi +15 -13
  229. bpy/ops/text/__init__.pyi +25 -23
  230. bpy/ops/text_editor/__init__.pyi +3 -1
  231. bpy/ops/texture/__init__.pyi +5 -3
  232. bpy/ops/transform/__init__.pyi +91 -89
  233. bpy/ops/ui/__init__.pyi +9 -7
  234. bpy/ops/uilist/__init__.pyi +5 -3
  235. bpy/ops/uv/__init__.pyi +69 -67
  236. bpy/ops/view2d/__init__.pyi +3 -1
  237. bpy/ops/view3d/__init__.pyi +37 -35
  238. bpy/ops/wm/__init__.pyi +199 -197
  239. bpy/ops/workspace/__init__.pyi +3 -1
  240. bpy/ops/world/__init__.pyi +3 -1
  241. bpy/path/__init__.pyi +3 -1
  242. bpy/props/__init__.pyi +3 -1
  243. bpy/types/__init__.pyi +3448 -3370
  244. bpy/utils/__init__.pyi +3 -1
  245. bpy/utils/previews/__init__.pyi +3 -1
  246. bpy/utils/units/__init__.pyi +3 -1
  247. bpy_extras/__init__.pyi +3 -1
  248. bpy_extras/anim_utils/__init__.pyi +3 -1
  249. bpy_extras/asset_utils/__init__.pyi +3 -1
  250. bpy_extras/bmesh_utils/__init__.pyi +3 -1
  251. bpy_extras/extensions/__init__.pyi +3 -1
  252. bpy_extras/extensions/junction_module/__init__.pyi +3 -1
  253. bpy_extras/id_map_utils/__init__.pyi +3 -1
  254. bpy_extras/image_utils/__init__.pyi +3 -1
  255. bpy_extras/io_utils/__init__.pyi +3 -1
  256. bpy_extras/keyconfig_utils/__init__.pyi +3 -1
  257. bpy_extras/mesh_utils/__init__.pyi +3 -1
  258. bpy_extras/node_shader_utils/__init__.pyi +3 -1
  259. bpy_extras/node_utils/__init__.pyi +3 -1
  260. bpy_extras/object_utils/__init__.pyi +3 -1
  261. bpy_extras/view3d_utils/__init__.pyi +3 -1
  262. bpy_extras/wm_utils/__init__.pyi +3 -1
  263. bpy_extras/wm_utils/progress_report/__init__.pyi +3 -1
  264. bpy_restrict_state/__init__.pyi +3 -1
  265. bpy_types/__init__.pyi +3 -1
  266. console_python/__init__.pyi +3 -1
  267. console_shell/__init__.pyi +3 -1
  268. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
  269. fake_bpy_module-20240520.dist-info/RECORD +353 -0
  270. freestyle/__init__.pyi +3 -1
  271. freestyle/chainingiterators/__init__.pyi +3 -1
  272. freestyle/functions/__init__.pyi +3 -1
  273. freestyle/predicates/__init__.pyi +3 -1
  274. freestyle/shaders/__init__.pyi +3 -1
  275. freestyle/types/__init__.pyi +3 -1
  276. freestyle/utils/ContextFunctions/__init__.pyi +3 -1
  277. freestyle/utils/__init__.pyi +3 -1
  278. gpu/__init__.pyi +3 -1
  279. gpu/capabilities/__init__.pyi +3 -1
  280. gpu/matrix/__init__.pyi +3 -1
  281. gpu/platform/__init__.pyi +3 -1
  282. gpu/select/__init__.pyi +3 -1
  283. gpu/shader/__init__.pyi +3 -1
  284. gpu/state/__init__.pyi +3 -1
  285. gpu/texture/__init__.pyi +3 -1
  286. gpu/types/__init__.pyi +3 -1
  287. gpu_extras/__init__.pyi +3 -1
  288. gpu_extras/batch/__init__.pyi +3 -1
  289. gpu_extras/presets/__init__.pyi +3 -1
  290. graphviz_export/__init__.pyi +3 -1
  291. idprop/__init__.pyi +3 -1
  292. idprop/types/__init__.pyi +3 -1
  293. imbuf/__init__.pyi +3 -1
  294. imbuf/types/__init__.pyi +3 -1
  295. keyingsets_builtins/__init__.pyi +3 -1
  296. keyingsets_utils/__init__.pyi +3 -1
  297. mathutils/__init__.pyi +5 -2
  298. mathutils/bvhtree/__init__.pyi +3 -1
  299. mathutils/geometry/__init__.pyi +3 -1
  300. mathutils/interpolate/__init__.pyi +3 -1
  301. mathutils/kdtree/__init__.pyi +3 -1
  302. mathutils/noise/__init__.pyi +3 -1
  303. nodeitems_builtins/__init__.pyi +3 -1
  304. nodeitems_utils/__init__.pyi +3 -1
  305. rna_info/__init__.pyi +3 -1
  306. rna_keymap_ui/__init__.pyi +3 -1
  307. rna_prop_ui/__init__.pyi +3 -1
  308. rna_xml/__init__.pyi +3 -1
  309. sys_info/__init__.pyi +3 -1
  310. fake_bpy_module-20240518.dist-info/RECORD +0 -353
  311. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
  312. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,10 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.ops.transform
3
4
  import bpy.types
4
5
 
5
- GenericType = typing.TypeVar("GenericType")
6
+ GenericType1 = typing.TypeVar("GenericType1")
7
+ GenericType2 = typing.TypeVar("GenericType2")
6
8
 
7
9
  def add_bezier(
8
10
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -10,7 +12,7 @@ def add_bezier(
10
12
  undo: bool | None = None,
11
13
  radius: typing.Any | None = 1.0,
12
14
  enter_editmode: bool | typing.Any | None = False,
13
- align: typing.Any | None = "WORLD",
15
+ align: str | None = "WORLD",
14
16
  location: typing.Any | None = (0.0, 0.0, 0.0),
15
17
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
16
18
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -34,7 +36,7 @@ def add_bezier(
34
36
 
35
37
  CURSOR
36
38
  3D Cursor -- Use the 3D cursor orientation for the new object.
37
- :type align: typing.Any | None
39
+ :type align: str | None
38
40
  :param location: Location, Location for the newly added object
39
41
  :type location: typing.Any | None
40
42
  :param rotation: Rotation, Rotation for the newly added object
@@ -51,7 +53,7 @@ def add_circle(
51
53
  undo: bool | None = None,
52
54
  radius: typing.Any | None = 1.0,
53
55
  enter_editmode: bool | typing.Any | None = False,
54
- align: typing.Any | None = "WORLD",
56
+ align: str | None = "WORLD",
55
57
  location: typing.Any | None = (0.0, 0.0, 0.0),
56
58
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
57
59
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -75,7 +77,7 @@ def add_circle(
75
77
 
76
78
  CURSOR
77
79
  3D Cursor -- Use the 3D cursor orientation for the new object.
78
- :type align: typing.Any | None
80
+ :type align: str | None
79
81
  :param location: Location, Location for the newly added object
80
82
  :type location: typing.Any | None
81
83
  :param rotation: Rotation, Rotation for the newly added object
@@ -153,7 +155,7 @@ def curve_type_set(
153
155
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
154
156
  execution_context: str | int | None = None,
155
157
  undo: bool | None = None,
156
- type: str | int | None = "POLY",
158
+ type: str | None = "POLY",
157
159
  use_handles: bool | typing.Any | None = False,
158
160
  ):
159
161
  """Set type of selected curves
@@ -162,7 +164,7 @@ def curve_type_set(
162
164
  :type execution_context: str | int | None
163
165
  :type undo: bool | None
164
166
  :param type: Type, Curve type
165
- :type type: str | int | None
167
+ :type type: str | None
166
168
  :param use_handles: Handles, Take handle information into account in the conversion
167
169
  :type use_handles: bool | typing.Any | None
168
170
  """
@@ -202,7 +204,7 @@ def draw(
202
204
  execution_context: str | int | None = None,
203
205
  undo: bool | None = None,
204
206
  error_threshold: typing.Any | None = 0.0,
205
- fit_method: str | int | None = "REFIT",
207
+ fit_method: str | None = "REFIT",
206
208
  corner_angle: typing.Any | None = 1.22173,
207
209
  use_cyclic: bool | typing.Any | None = True,
208
210
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
@@ -219,7 +221,7 @@ def draw(
219
221
  :param error_threshold: Error, Error distance threshold (in object units)
220
222
  :type error_threshold: typing.Any | None
221
223
  :param fit_method: Fit Method
222
- :type fit_method: str | int | None
224
+ :type fit_method: str | None
223
225
  :param corner_angle: Corner Angle
224
226
  :type corner_angle: typing.Any | None
225
227
  :param use_cyclic: Cyclic
@@ -308,7 +310,7 @@ def handle_type_set(
308
310
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
309
311
  execution_context: str | int | None = None,
310
312
  undo: bool | None = None,
311
- type: str | int | None = "AUTO",
313
+ type: str | None = "AUTO",
312
314
  ):
313
315
  """Set the handle type for bezier curves
314
316
 
@@ -316,7 +318,7 @@ def handle_type_set(
316
318
  :type execution_context: str | int | None
317
319
  :type undo: bool | None
318
320
  :param type: Type
319
- :type type: str | int | None
321
+ :type type: str | None
320
322
  """
321
323
 
322
324
  ...
@@ -339,7 +341,7 @@ def select_all(
339
341
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
340
342
  execution_context: str | int | None = None,
341
343
  undo: bool | None = None,
342
- action: typing.Any | None = "TOGGLE",
344
+ action: str | None = "TOGGLE",
343
345
  ):
344
346
  """(De)select all control points
345
347
 
@@ -359,7 +361,7 @@ def select_all(
359
361
 
360
362
  INVERT
361
363
  Invert -- Invert selection of all elements.
362
- :type action: typing.Any | None
364
+ :type action: str | None
363
365
  """
364
366
 
365
367
  ...
@@ -450,7 +452,7 @@ def set_selection_domain(
450
452
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
451
453
  execution_context: str | int | None = None,
452
454
  undo: bool | None = None,
453
- domain: str | int | None = "POINT",
455
+ domain: str | None = "POINT",
454
456
  ):
455
457
  """Change the mode used for selection masking in curves sculpt mode
456
458
 
@@ -458,7 +460,7 @@ def set_selection_domain(
458
460
  :type execution_context: str | int | None
459
461
  :type undo: bool | None
460
462
  :param domain: Domain
461
- :type domain: str | int | None
463
+ :type domain: str | None
462
464
  """
463
465
 
464
466
  ...
@@ -467,7 +469,7 @@ def snap_curves_to_surface(
467
469
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
468
470
  execution_context: str | int | None = None,
469
471
  undo: bool | None = None,
470
- attach_mode: typing.Any | None = "NEAREST",
472
+ attach_mode: str | None = "NEAREST",
471
473
  ):
472
474
  """Move curves so that the first point is exactly on the surface mesh
473
475
 
@@ -481,7 +483,7 @@ def snap_curves_to_surface(
481
483
 
482
484
  DEFORM
483
485
  Deform -- Re-attach curves to a deformed surface using the existing attachment information. This only works when the topology of the surface mesh has not changed.
484
- :type attach_mode: typing.Any | None
486
+ :type attach_mode: str | None
485
487
  """
486
488
 
487
489
  ...
@@ -1,7 +1,9 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
5
7
 
6
8
  def denoise_animation(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -1,7 +1,9 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
5
7
 
6
8
  def bake(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -21,7 +23,7 @@ def output_toggle(
21
23
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
22
24
  execution_context: str | int | None = None,
23
25
  undo: bool | None = None,
24
- output: typing.Any | None = "A",
26
+ output: str | None = "A",
25
27
  ):
26
28
  """Add or remove Dynamic Paint output data layer
27
29
 
@@ -29,7 +31,7 @@ def output_toggle(
29
31
  :type execution_context: str | int | None
30
32
  :type undo: bool | None
31
33
  :param output: Output Toggle
32
- :type output: typing.Any | None
34
+ :type output: str | None
33
35
  """
34
36
 
35
37
  ...
@@ -66,7 +68,7 @@ def type_toggle(
66
68
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
67
69
  execution_context: str | int | None = None,
68
70
  undo: bool | None = None,
69
- type: str | int | None = "CANVAS",
71
+ type: str | None = "CANVAS",
70
72
  ):
71
73
  """Toggle whether given type is active or not
72
74
 
@@ -74,7 +76,7 @@ def type_toggle(
74
76
  :type execution_context: str | int | None
75
77
  :type undo: bool | None
76
78
  :param type: Type
77
- :type type: str | int | None
79
+ :type type: str | None
78
80
  """
79
81
 
80
82
  ...
bpy/ops/ed/__init__.pyi CHANGED
@@ -1,7 +1,9 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
5
7
 
6
8
  def flush_edits(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -86,8 +88,8 @@ def lib_id_load_custom_preview(
86
88
  filemode: typing.Any | None = 9,
87
89
  show_multiview: bool | typing.Any | None = False,
88
90
  use_multiview: bool | typing.Any | None = False,
89
- display_type: typing.Any | None = "DEFAULT",
90
- sort_method: str | int | typing.Any | None = "",
91
+ display_type: str | None = "DEFAULT",
92
+ sort_method: str | None = "",
91
93
  ):
92
94
  """Choose an image to help identify the data-block visually
93
95
 
@@ -153,9 +155,9 @@ def lib_id_load_custom_preview(
153
155
 
154
156
  THUMBNAIL
155
157
  Thumbnails -- Display files as thumbnails.
156
- :type display_type: typing.Any | None
158
+ :type display_type: str | None
157
159
  :param sort_method: File sorting mode
158
- :type sort_method: str | int | typing.Any | None
160
+ :type sort_method: str | None
159
161
  """
160
162
 
161
163
  ...
@@ -1,7 +1,9 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
5
7
 
6
8
  def bvh(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -13,7 +15,7 @@ def bvh(
13
15
  global_scale: typing.Any | None = 1.0,
14
16
  frame_start: typing.Any | None = 0,
15
17
  frame_end: typing.Any | None = 0,
16
- rotate_mode: typing.Any | None = "NATIVE",
18
+ rotate_mode: str | None = "NATIVE",
17
19
  root_transform_only: bool | typing.Any | None = False,
18
20
  ):
19
21
  """Save a BVH motion capture file from an armature
@@ -55,7 +57,7 @@ def bvh(
55
57
 
56
58
  ZYX
57
59
  Euler (ZYX) -- Convert rotations to euler ZYX.
58
- :type rotate_mode: typing.Any | None
60
+ :type rotate_mode: str | None
59
61
  :param root_transform_only: Root Translation Only, Only write out translation channels for the root bone
60
62
  :type root_transform_only: bool | typing.Any | None
61
63
  """
@@ -1,7 +1,9 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
5
7
 
6
8
  def fbx(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -16,10 +18,10 @@ def fbx(
16
18
  collection: str | typing.Any = "",
17
19
  global_scale: typing.Any | None = 1.0,
18
20
  apply_unit_scale: bool | typing.Any | None = True,
19
- apply_scale_options: typing.Any | None = "FBX_SCALE_NONE",
21
+ apply_scale_options: str | None = "FBX_SCALE_NONE",
20
22
  use_space_transform: bool | typing.Any | None = True,
21
23
  bake_space_transform: bool | typing.Any | None = False,
22
- object_types: typing.Any | None = {
24
+ object_types: set[str] | None = {
23
25
  "ARMATURE",
24
26
  "CAMERA",
25
27
  "EMPTY",
@@ -29,8 +31,8 @@ def fbx(
29
31
  },
30
32
  use_mesh_modifiers: bool | typing.Any | None = True,
31
33
  use_mesh_modifiers_render: bool | typing.Any | None = True,
32
- mesh_smooth_type: typing.Any | None = "OFF",
33
- colors_type: typing.Any | None = "SRGB",
34
+ mesh_smooth_type: str | None = "OFF",
35
+ colors_type: str | None = "SRGB",
34
36
  prioritize_active_color: bool | typing.Any | None = False,
35
37
  use_subsurf: bool | typing.Any | None = False,
36
38
  use_mesh_edges: bool | typing.Any | None = False,
@@ -38,10 +40,10 @@ def fbx(
38
40
  use_triangles: bool | typing.Any | None = False,
39
41
  use_custom_props: bool | typing.Any | None = False,
40
42
  add_leaf_bones: bool | typing.Any | None = True,
41
- primary_bone_axis: typing.Any | None = "Y",
42
- secondary_bone_axis: typing.Any | None = "X",
43
+ primary_bone_axis: str | None = "Y",
44
+ secondary_bone_axis: str | None = "X",
43
45
  use_armature_deform_only: bool | typing.Any | None = False,
44
- armature_nodetype: typing.Any | None = "NULL",
46
+ armature_nodetype: str | None = "NULL",
45
47
  bake_anim: bool | typing.Any | None = True,
46
48
  bake_anim_use_all_bones: bool | typing.Any | None = True,
47
49
  bake_anim_use_nla_strips: bool | typing.Any | None = True,
@@ -49,13 +51,13 @@ def fbx(
49
51
  bake_anim_force_startend_keying: bool | typing.Any | None = True,
50
52
  bake_anim_step: typing.Any | None = 1.0,
51
53
  bake_anim_simplify_factor: typing.Any | None = 1.0,
52
- path_mode: typing.Any | None = "AUTO",
54
+ path_mode: str | None = "AUTO",
53
55
  embed_textures: bool | typing.Any | None = False,
54
- batch_mode: typing.Any | None = "OFF",
56
+ batch_mode: str | None = "OFF",
55
57
  use_batch_own_dir: bool | typing.Any | None = True,
56
58
  use_metadata: bool | typing.Any | None = True,
57
- axis_forward: typing.Any | None = "-Z",
58
- axis_up: typing.Any | None = "Y",
59
+ axis_forward: str | None = "-Z",
60
+ axis_up: str | None = "Y",
59
61
  ):
60
62
  """Write a FBX file
61
63
 
@@ -93,7 +95,7 @@ def fbx(
93
95
 
94
96
  FBX_SCALE_ALL
95
97
  FBX All -- Apply custom scaling and units scaling to FBX scale.
96
- :type apply_scale_options: typing.Any | None
98
+ :type apply_scale_options: str | None
97
99
  :param use_space_transform: Use Space Transform, Apply global space transform to the object rotations. When disabled only the axis space is written to the file and all object transforms are left as-is
98
100
  :type use_space_transform: bool | typing.Any | None
99
101
  :param bake_space_transform: Apply Transform, Bake space transform into object data, avoids getting unwanted rotations to objects when target space is not aligned with Blender's space (WARNING! experimental option, use at own risk, known to be broken with armatures/animations)
@@ -117,7 +119,7 @@ def fbx(
117
119
 
118
120
  OTHER
119
121
  Other -- Other geometry types, like curve, metaball, etc. (converted to meshes).
120
- :type object_types: typing.Any | None
122
+ :type object_types: set[str] | None
121
123
  :param use_mesh_modifiers: Apply Modifiers, Apply modifiers to mesh objects (except Armature ones) - WARNING: prevents exporting shape keys
122
124
  :type use_mesh_modifiers: bool | typing.Any | None
123
125
  :param use_mesh_modifiers_render: Use Modifiers Render Setting, Use render settings when applying modifiers to mesh objects (DISABLED in Blender 2.8)
@@ -132,7 +134,7 @@ def fbx(
132
134
 
133
135
  EDGE
134
136
  Edge -- Write edge smoothing.
135
- :type mesh_smooth_type: typing.Any | None
137
+ :type mesh_smooth_type: str | None
136
138
  :param colors_type: Vertex Colors, Export vertex color attributes
137
139
 
138
140
  NONE
@@ -143,7 +145,7 @@ def fbx(
143
145
 
144
146
  LINEAR
145
147
  Linear -- Export colors in linear color space.
146
- :type colors_type: typing.Any | None
148
+ :type colors_type: str | None
147
149
  :param prioritize_active_color: Prioritize Active Color, Make sure active color will be exported first. Could be important since some other software can discard other color attributes besides the first one
148
150
  :type prioritize_active_color: bool | typing.Any | None
149
151
  :param use_subsurf: Export Subdivision Surface, Export the last Catmull-Rom subdivision modifier as FBX subdivision (does not apply the modifier even if 'Apply Modifiers' is enabled)
@@ -159,9 +161,9 @@ def fbx(
159
161
  :param add_leaf_bones: Add Leaf Bones, Append a final bone to the end of each chain to specify last bone length (use this when you intend to edit the armature from exported data)
160
162
  :type add_leaf_bones: bool | typing.Any | None
161
163
  :param primary_bone_axis: Primary Bone Axis
162
- :type primary_bone_axis: typing.Any | None
164
+ :type primary_bone_axis: str | None
163
165
  :param secondary_bone_axis: Secondary Bone Axis
164
- :type secondary_bone_axis: typing.Any | None
166
+ :type secondary_bone_axis: str | None
165
167
  :param use_armature_deform_only: Only Deform Bones, Only write deforming bones (and non-deforming ones when they have deforming children)
166
168
  :type use_armature_deform_only: bool | typing.Any | None
167
169
  :param armature_nodetype: Armature FBXNode Type, FBX type of node (object) used to represent Blender's armatures (use the Null type unless you experience issues with the other app, as other choices may not import back perfectly into Blender...)
@@ -174,7 +176,7 @@ def fbx(
174
176
 
175
177
  LIMBNODE
176
178
  LimbNode -- 'LimbNode' FBX node, a regular joint between two bones....
177
- :type armature_nodetype: typing.Any | None
179
+ :type armature_nodetype: str | None
178
180
  :param bake_anim: Baked Animation, Export baked keyframe animation
179
181
  :type bake_anim: bool | typing.Any | None
180
182
  :param bake_anim_use_all_bones: Key All Bones, Force exporting at least one key of animation for all bones (needed with some target applications, like UE4)
@@ -208,7 +210,7 @@ def fbx(
208
210
 
209
211
  COPY
210
212
  Copy -- Copy the file to the destination path (or subdirectory).
211
- :type path_mode: typing.Any | None
213
+ :type path_mode: str | None
212
214
  :param embed_textures: Embed Textures, Embed textures in FBX binary file (only for "Copy" path mode!)
213
215
  :type embed_textures: bool | typing.Any | None
214
216
  :param batch_mode: Batch Mode
@@ -227,15 +229,15 @@ def fbx(
227
229
 
228
230
  ACTIVE_SCENE_COLLECTION
229
231
  Active Scene Collections -- Each collection (including master, non-data-block one) of the active scene as a file, including content from children collections.
230
- :type batch_mode: typing.Any | None
232
+ :type batch_mode: str | None
231
233
  :param use_batch_own_dir: Batch Own Dir, Create a dir for each exported file
232
234
  :type use_batch_own_dir: bool | typing.Any | None
233
235
  :param use_metadata: Use Metadata
234
236
  :type use_metadata: bool | typing.Any | None
235
237
  :param axis_forward: Forward
236
- :type axis_forward: typing.Any | None
238
+ :type axis_forward: str | None
237
239
  :param axis_up: Up
238
- :type axis_up: typing.Any | None
240
+ :type axis_up: str | None
239
241
  """
240
242
 
241
243
  ...
@@ -246,7 +248,7 @@ def gltf(
246
248
  undo: bool | None = None,
247
249
  filepath: str | typing.Any = "",
248
250
  check_existing: bool | typing.Any | None = True,
249
- export_import_convert_lighting_mode: typing.Any | None = "SPEC",
251
+ export_import_convert_lighting_mode: str | None = "SPEC",
250
252
  gltf_export_id: str | typing.Any = "",
251
253
  export_use_gltfpack: bool | typing.Any | None = False,
252
254
  export_gltfpack_tc: bool | typing.Any | None = True,
@@ -258,12 +260,12 @@ def gltf(
258
260
  export_gltfpack_vt: typing.Any | None = 12,
259
261
  export_gltfpack_vn: typing.Any | None = 8,
260
262
  export_gltfpack_vc: typing.Any | None = 8,
261
- export_gltfpack_vpi: typing.Any | None = "Integer",
263
+ export_gltfpack_vpi: str | None = "Integer",
262
264
  export_gltfpack_noq: bool | typing.Any | None = True,
263
- export_format: str | int | typing.Any | None = "",
264
- ui_tab: typing.Any | None = "GENERAL",
265
+ export_format: str | None = "",
266
+ ui_tab: str | None = "GENERAL",
265
267
  export_copyright: str | typing.Any = "",
266
- export_image_format: typing.Any | None = "AUTO",
268
+ export_image_format: str | None = "AUTO",
267
269
  export_image_add_webp: bool | typing.Any | None = False,
268
270
  export_image_webp_fallback: bool | typing.Any | None = False,
269
271
  export_texture_dir: str | typing.Any = "",
@@ -281,7 +283,7 @@ def gltf(
281
283
  export_draco_color_quantization: typing.Any | None = 10,
282
284
  export_draco_generic_quantization: typing.Any | None = 12,
283
285
  export_tangents: bool | typing.Any | None = False,
284
- export_materials: typing.Any | None = "EXPORT",
286
+ export_materials: str | None = "EXPORT",
285
287
  export_unused_images: bool | typing.Any | None = False,
286
288
  export_unused_textures: bool | typing.Any | None = False,
287
289
  export_colors: bool | typing.Any | None = True,
@@ -305,7 +307,7 @@ def gltf(
305
307
  export_frame_step: typing.Any | None = 1,
306
308
  export_force_sampling: bool | typing.Any | None = True,
307
309
  export_pointer_animation: bool | typing.Any | None = False,
308
- export_animation_mode: typing.Any | None = "ACTIONS",
310
+ export_animation_mode: str | None = "ACTIONS",
309
311
  export_nla_strips_merged_animation_name: str | typing.Any = "Animation",
310
312
  export_def_bones: bool | typing.Any | None = False,
311
313
  export_hierarchy_flatten_bones: bool | typing.Any | None = False,
@@ -316,7 +318,7 @@ def gltf(
316
318
  export_optimize_animation_keep_anim_armature: bool | typing.Any | None = True,
317
319
  export_optimize_animation_keep_anim_object: bool | typing.Any | None = False,
318
320
  export_optimize_armature_disable_viewport: bool | typing.Any | None = False,
319
- export_negative_frame: typing.Any | None = "SLIDE",
321
+ export_negative_frame: str | None = "SLIDE",
320
322
  export_anim_slide_to_zero: bool | typing.Any | None = False,
321
323
  export_bake_animation: bool | typing.Any | None = False,
322
324
  export_anim_single_armature: bool | typing.Any | None = True,
@@ -364,7 +366,7 @@ def gltf(
364
366
 
365
367
  RAW
366
368
  Raw (Deprecated) -- Blender lighting strengths with no conversion.
367
- :type export_import_convert_lighting_mode: typing.Any | None
369
+ :type export_import_convert_lighting_mode: str | None
368
370
  :param gltf_export_id: Identifier, Identifier of caller (in case of add-on calling this exporter). Can be useful in case of Extension added by other add-ons
369
371
  :type gltf_export_id: str | typing.Any
370
372
  :param export_use_gltfpack: Use Gltfpack, Use gltfpack to simplify the mesh and/or compress its textures
@@ -397,11 +399,11 @@ def gltf(
397
399
 
398
400
  Floating-point
399
401
  Floating-point -- Use floating-point attributes for positions.
400
- :type export_gltfpack_vpi: typing.Any | None
402
+ :type export_gltfpack_vpi: str | None
401
403
  :param export_gltfpack_noq: Disable Quantization, Disable quantization; produces much larger glTF files with no extensions
402
404
  :type export_gltfpack_noq: bool | typing.Any | None
403
405
  :param export_format: Format, Output format. Binary is most efficient, but JSON may be easier to edit later
404
- :type export_format: str | int | typing.Any | None
406
+ :type export_format: str | None
405
407
  :param ui_tab: ui_tab, Export setting categories
406
408
 
407
409
  GENERAL
@@ -415,7 +417,7 @@ def gltf(
415
417
 
416
418
  ANIMATION
417
419
  Animation -- Animation settings.
418
- :type ui_tab: typing.Any | None
420
+ :type ui_tab: str | None
419
421
  :param export_copyright: Copyright, Legal rights and conditions for the model
420
422
  :type export_copyright: str | typing.Any
421
423
  :param export_image_format: Images, Output format for images. PNG is lossless and generally preferred, but JPEG might be preferable for web applications due to the smaller file size. Alternatively they can be omitted if they are not needed
@@ -431,7 +433,7 @@ def gltf(
431
433
 
432
434
  NONE
433
435
  None -- Don't export images.
434
- :type export_image_format: typing.Any | None
436
+ :type export_image_format: str | None
435
437
  :param export_image_add_webp: Create WebP, Creates WebP textures for every texture. For already WebP textures, nothing happens
436
438
  :type export_image_add_webp: bool | typing.Any | None
437
439
  :param export_image_webp_fallback: WebP fallback, For all WebP textures, create a PNG fallback texture
@@ -476,7 +478,7 @@ def gltf(
476
478
 
477
479
  NONE
478
480
  No export -- Do not export materials, and combine mesh primitive groups, losing material slot information.
479
- :type export_materials: typing.Any | None
481
+ :type export_materials: str | None
480
482
  :param export_unused_images: Unused images, Export images not assigned to any material
481
483
  :type export_unused_images: bool | typing.Any | None
482
484
  :param export_unused_textures: Prepare Unused textures, Export image texture nodes not assigned to any material. This feature is not standard and needs an external extension to be included in the glTF file
@@ -539,7 +541,7 @@ def gltf(
539
541
 
540
542
  SCENE
541
543
  Scene -- Export baked scene as a single animation.
542
- :type export_animation_mode: typing.Any | None
544
+ :type export_animation_mode: str | None
543
545
  :param export_nla_strips_merged_animation_name: Merged Animation Name, Name of single glTF animation to be exported
544
546
  :type export_nla_strips_merged_animation_name: str | typing.Any
545
547
  :param export_def_bones: Export Deformation Bones Only, Export Deformation bones only
@@ -567,7 +569,7 @@ def gltf(
567
569
 
568
570
  CROP
569
571
  Crop -- Keep only frames above frame 0.
570
- :type export_negative_frame: typing.Any | None
572
+ :type export_negative_frame: str | None
571
573
  :param export_anim_slide_to_zero: Set all glTF Animation starting at 0, Set all glTF animation starting at 0.0s. Can be useful for looping animations
572
574
  :type export_anim_slide_to_zero: bool | typing.Any | None
573
575
  :param export_bake_animation: Bake All Objects Animations, Force exporting animation on every object. Can be useful when using constraints or driver. Also useful when exporting only selection