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
@@ -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
 
@@ -9,7 +10,7 @@ def cyclic_toggle(
9
10
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
10
11
  execution_context: str | int | None = None,
11
12
  undo: bool | None = None,
12
- direction: str | int | None = "CYCLIC_U",
13
+ direction: str | None = "CYCLIC_U",
13
14
  ):
14
15
  """Make active spline closed/opened loop
15
16
 
@@ -17,7 +18,7 @@ def cyclic_toggle(
17
18
  :type execution_context: str | int | None
18
19
  :type undo: bool | None
19
20
  :param direction: Direction, Direction to make surface cyclic in
20
- :type direction: str | int | None
21
+ :type direction: str | None
21
22
  """
22
23
 
23
24
  ...
@@ -71,7 +72,7 @@ def delete(
71
72
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
72
73
  execution_context: str | int | None = None,
73
74
  undo: bool | None = None,
74
- type: str | int | None = "VERT",
75
+ type: str | None = "VERT",
75
76
  ):
76
77
  """Delete selected control points or segments
77
78
 
@@ -79,7 +80,7 @@ def delete(
79
80
  :type execution_context: str | int | None
80
81
  :type undo: bool | None
81
82
  :param type: Type, Which elements to delete
82
- :type type: str | int | None
83
+ :type type: str | None
83
84
  """
84
85
 
85
86
  ...
@@ -103,7 +104,7 @@ def draw(
103
104
  execution_context: str | int | None = None,
104
105
  undo: bool | None = None,
105
106
  error_threshold: typing.Any | None = 0.0,
106
- fit_method: str | int | None = "REFIT",
107
+ fit_method: str | None = "REFIT",
107
108
  corner_angle: typing.Any | None = 1.22173,
108
109
  use_cyclic: bool | typing.Any | None = True,
109
110
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
@@ -118,7 +119,7 @@ def draw(
118
119
  :param error_threshold: Error, Error distance threshold (in object units)
119
120
  :type error_threshold: typing.Any | None
120
121
  :param fit_method: Fit Method
121
- :type fit_method: str | int | None
122
+ :type fit_method: str | None
122
123
  :param corner_angle: Corner Angle
123
124
  :type corner_angle: typing.Any | None
124
125
  :param use_cyclic: Cyclic
@@ -169,7 +170,7 @@ def extrude(
169
170
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
170
171
  execution_context: str | int | None = None,
171
172
  undo: bool | None = None,
172
- mode: str | int | None = "TRANSLATION",
173
+ mode: str | None = "TRANSLATION",
173
174
  ):
174
175
  """Extrude selected control point(s)
175
176
 
@@ -177,7 +178,7 @@ def extrude(
177
178
  :type execution_context: str | int | None
178
179
  :type undo: bool | None
179
180
  :param mode: Mode
180
- :type mode: str | int | None
181
+ :type mode: str | None
181
182
  """
182
183
 
183
184
  ...
@@ -206,7 +207,7 @@ def handle_type_set(
206
207
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
207
208
  execution_context: str | int | None = None,
208
209
  undo: bool | None = None,
209
- type: str | int | None = "AUTOMATIC",
210
+ type: str | None = "AUTOMATIC",
210
211
  ):
211
212
  """Set type of handles for selected control points
212
213
 
@@ -214,7 +215,7 @@ def handle_type_set(
214
215
  :type execution_context: str | int | None
215
216
  :type undo: bool | None
216
217
  :param type: Type, Spline type
217
- :type type: str | int | None
218
+ :type type: str | None
218
219
  """
219
220
 
220
221
  ...
@@ -291,14 +292,14 @@ def pen(
291
292
  deselect_all: bool | typing.Any | None = False,
292
293
  select_passthrough: bool | typing.Any | None = False,
293
294
  extrude_point: bool | typing.Any | None = False,
294
- extrude_handle: str | int | None = "VECTOR",
295
+ extrude_handle: str | None = "VECTOR",
295
296
  delete_point: bool | typing.Any | None = False,
296
297
  insert_point: bool | typing.Any | None = False,
297
298
  move_segment: bool | typing.Any | None = False,
298
299
  select_point: bool | typing.Any | None = False,
299
300
  move_point: bool | typing.Any | None = False,
300
301
  close_spline: bool | typing.Any | None = True,
301
- close_spline_method: str | int | None = "OFF",
302
+ close_spline_method: str | None = "OFF",
302
303
  toggle_vector: bool | typing.Any | None = False,
303
304
  cycle_handle_type: bool | typing.Any | None = False,
304
305
  ):
@@ -320,7 +321,7 @@ def pen(
320
321
  :param extrude_point: Extrude Point, Add a point connected to the last selected point
321
322
  :type extrude_point: bool | typing.Any | None
322
323
  :param extrude_handle: Extrude Handle Type, Type of the extruded handle
323
- :type extrude_handle: str | int | None
324
+ :type extrude_handle: str | None
324
325
  :param delete_point: Delete Point, Delete an existing point
325
326
  :type delete_point: bool | typing.Any | None
326
327
  :param insert_point: Insert Point, Insert Point into a curve segment
@@ -343,7 +344,7 @@ def pen(
343
344
 
344
345
  ON_CLICK
345
346
  On Click -- Spline closes on release if not dragged.
346
- :type close_spline_method: str | int | None
347
+ :type close_spline_method: str | None
347
348
  :param toggle_vector: Toggle Vector, Toggle between Vector and Auto handles
348
349
  :type toggle_vector: bool | typing.Any | None
349
350
  :param cycle_handle_type: Cycle Handle Type, Cycle between all four handle types
@@ -358,7 +359,7 @@ def primitive_bezier_circle_add(
358
359
  undo: bool | None = None,
359
360
  radius: typing.Any | None = 1.0,
360
361
  enter_editmode: bool | typing.Any | None = False,
361
- align: str | int | None = "WORLD",
362
+ align: str | None = "WORLD",
362
363
  location: typing.Any | None = (0.0, 0.0, 0.0),
363
364
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
364
365
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -382,7 +383,7 @@ def primitive_bezier_circle_add(
382
383
 
383
384
  CURSOR
384
385
  3D Cursor -- Use the 3D cursor orientation for the new object.
385
- :type align: str | int | None
386
+ :type align: str | None
386
387
  :param location: Location, Location for the newly added object
387
388
  :type location: typing.Any | None
388
389
  :param rotation: Rotation, Rotation for the newly added object
@@ -399,7 +400,7 @@ def primitive_bezier_curve_add(
399
400
  undo: bool | None = None,
400
401
  radius: typing.Any | None = 1.0,
401
402
  enter_editmode: bool | typing.Any | None = False,
402
- align: str | int | None = "WORLD",
403
+ align: str | None = "WORLD",
403
404
  location: typing.Any | None = (0.0, 0.0, 0.0),
404
405
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
405
406
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -423,7 +424,7 @@ def primitive_bezier_curve_add(
423
424
 
424
425
  CURSOR
425
426
  3D Cursor -- Use the 3D cursor orientation for the new object.
426
- :type align: str | int | None
427
+ :type align: str | None
427
428
  :param location: Location, Location for the newly added object
428
429
  :type location: typing.Any | None
429
430
  :param rotation: Rotation, Rotation for the newly added object
@@ -440,7 +441,7 @@ def primitive_nurbs_circle_add(
440
441
  undo: bool | None = None,
441
442
  radius: typing.Any | None = 1.0,
442
443
  enter_editmode: bool | typing.Any | None = False,
443
- align: str | int | None = "WORLD",
444
+ align: str | None = "WORLD",
444
445
  location: typing.Any | None = (0.0, 0.0, 0.0),
445
446
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
446
447
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -464,7 +465,7 @@ def primitive_nurbs_circle_add(
464
465
 
465
466
  CURSOR
466
467
  3D Cursor -- Use the 3D cursor orientation for the new object.
467
- :type align: str | int | None
468
+ :type align: str | None
468
469
  :param location: Location, Location for the newly added object
469
470
  :type location: typing.Any | None
470
471
  :param rotation: Rotation, Rotation for the newly added object
@@ -481,7 +482,7 @@ def primitive_nurbs_curve_add(
481
482
  undo: bool | None = None,
482
483
  radius: typing.Any | None = 1.0,
483
484
  enter_editmode: bool | typing.Any | None = False,
484
- align: str | int | None = "WORLD",
485
+ align: str | None = "WORLD",
485
486
  location: typing.Any | None = (0.0, 0.0, 0.0),
486
487
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
487
488
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -505,7 +506,7 @@ def primitive_nurbs_curve_add(
505
506
 
506
507
  CURSOR
507
508
  3D Cursor -- Use the 3D cursor orientation for the new object.
508
- :type align: str | int | None
509
+ :type align: str | None
509
510
  :param location: Location, Location for the newly added object
510
511
  :type location: typing.Any | None
511
512
  :param rotation: Rotation, Rotation for the newly added object
@@ -522,7 +523,7 @@ def primitive_nurbs_path_add(
522
523
  undo: bool | None = None,
523
524
  radius: typing.Any | None = 1.0,
524
525
  enter_editmode: bool | typing.Any | None = False,
525
- align: str | int | None = "WORLD",
526
+ align: str | None = "WORLD",
526
527
  location: typing.Any | None = (0.0, 0.0, 0.0),
527
528
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
528
529
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -546,7 +547,7 @@ def primitive_nurbs_path_add(
546
547
 
547
548
  CURSOR
548
549
  3D Cursor -- Use the 3D cursor orientation for the new object.
549
- :type align: str | int | None
550
+ :type align: str | None
550
551
  :param location: Location, Location for the newly added object
551
552
  :type location: typing.Any | None
552
553
  :param rotation: Rotation, Rotation for the newly added object
@@ -595,7 +596,7 @@ def select_all(
595
596
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
596
597
  execution_context: str | int | None = None,
597
598
  undo: bool | None = None,
598
- action: str | int | None = "TOGGLE",
599
+ action: str | None = "TOGGLE",
599
600
  ):
600
601
  """(De)select all control points
601
602
 
@@ -615,7 +616,7 @@ def select_all(
615
616
 
616
617
  INVERT
617
618
  Invert -- Invert selection of all elements.
618
- :type action: str | int | None
619
+ :type action: str | None
619
620
  """
620
621
 
621
622
  ...
@@ -736,7 +737,7 @@ def select_random(
736
737
  undo: bool | None = None,
737
738
  ratio: typing.Any | None = 0.5,
738
739
  seed: typing.Any | None = 0,
739
- action: str | int | None = "SELECT",
740
+ action: str | None = "SELECT",
740
741
  ):
741
742
  """Randomly select some control points
742
743
 
@@ -754,7 +755,7 @@ def select_random(
754
755
 
755
756
  DESELECT
756
757
  Deselect -- Deselect all elements.
757
- :type action: str | int | None
758
+ :type action: str | None
758
759
  """
759
760
 
760
761
  ...
@@ -777,8 +778,8 @@ def select_similar(
777
778
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
778
779
  execution_context: str | int | None = None,
779
780
  undo: bool | None = None,
780
- type: str | int | None = "WEIGHT",
781
- compare: str | int | None = "EQUAL",
781
+ type: str | None = "WEIGHT",
782
+ compare: str | None = "EQUAL",
782
783
  threshold: typing.Any | None = 0.1,
783
784
  ):
784
785
  """Select similar curve points by property type
@@ -787,9 +788,9 @@ def select_similar(
787
788
  :type execution_context: str | int | None
788
789
  :type undo: bool | None
789
790
  :param type: Type
790
- :type type: str | int | None
791
+ :type type: str | None
791
792
  :param compare: Compare
792
- :type compare: str | int | None
793
+ :type compare: str | None
793
794
  :param threshold: Threshold
794
795
  :type threshold: typing.Any | None
795
796
  """
@@ -932,7 +933,7 @@ def spline_type_set(
932
933
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
933
934
  execution_context: str | int | None = None,
934
935
  undo: bool | None = None,
935
- type: str | int | None = "POLY",
936
+ type: str | None = "POLY",
936
937
  use_handles: bool | typing.Any | None = False,
937
938
  ):
938
939
  """Set type of active spline
@@ -941,7 +942,7 @@ def spline_type_set(
941
942
  :type execution_context: str | int | None
942
943
  :type undo: bool | None
943
944
  :param type: Type, Spline type
944
- :type type: str | int | None
945
+ :type type: str | None
945
946
  :param use_handles: Handles, Use handles when converting Bézier curves into polygons
946
947
  :type use_handles: bool | typing.Any | None
947
948
  """
@@ -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
 
@@ -11,7 +12,7 @@ def add_bezier(
11
12
  undo: bool | None = None,
12
13
  radius: typing.Any | None = 1.0,
13
14
  enter_editmode: bool | typing.Any | None = False,
14
- align: str | int | None = "WORLD",
15
+ align: str | None = "WORLD",
15
16
  location: typing.Any | None = (0.0, 0.0, 0.0),
16
17
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
17
18
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -35,7 +36,7 @@ def add_bezier(
35
36
 
36
37
  CURSOR
37
38
  3D Cursor -- Use the 3D cursor orientation for the new object.
38
- :type align: str | int | None
39
+ :type align: str | None
39
40
  :param location: Location, Location for the newly added object
40
41
  :type location: typing.Any | None
41
42
  :param rotation: Rotation, Rotation for the newly added object
@@ -52,7 +53,7 @@ def add_circle(
52
53
  undo: bool | None = None,
53
54
  radius: typing.Any | None = 1.0,
54
55
  enter_editmode: bool | typing.Any | None = False,
55
- align: str | int | None = "WORLD",
56
+ align: str | None = "WORLD",
56
57
  location: typing.Any | None = (0.0, 0.0, 0.0),
57
58
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
58
59
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -76,7 +77,7 @@ def add_circle(
76
77
 
77
78
  CURSOR
78
79
  3D Cursor -- Use the 3D cursor orientation for the new object.
79
- :type align: str | int | None
80
+ :type align: str | None
80
81
  :param location: Location, Location for the newly added object
81
82
  :type location: typing.Any | None
82
83
  :param rotation: Rotation, Rotation for the newly added object
@@ -154,7 +155,7 @@ def curve_type_set(
154
155
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
155
156
  execution_context: str | int | None = None,
156
157
  undo: bool | None = None,
157
- type: str | int | None = "POLY",
158
+ type: str | None = "POLY",
158
159
  use_handles: bool | typing.Any | None = False,
159
160
  ):
160
161
  """Set type of selected curves
@@ -163,7 +164,7 @@ def curve_type_set(
163
164
  :type execution_context: str | int | None
164
165
  :type undo: bool | None
165
166
  :param type: Type, Curve type
166
- :type type: str | int | None
167
+ :type type: str | None
167
168
  :param use_handles: Handles, Take handle information into account in the conversion
168
169
  :type use_handles: bool | typing.Any | None
169
170
  """
@@ -203,7 +204,7 @@ def draw(
203
204
  execution_context: str | int | None = None,
204
205
  undo: bool | None = None,
205
206
  error_threshold: typing.Any | None = 0.0,
206
- fit_method: str | int | None = "REFIT",
207
+ fit_method: str | None = "REFIT",
207
208
  corner_angle: typing.Any | None = 1.22173,
208
209
  use_cyclic: bool | typing.Any | None = True,
209
210
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
@@ -220,7 +221,7 @@ def draw(
220
221
  :param error_threshold: Error, Error distance threshold (in object units)
221
222
  :type error_threshold: typing.Any | None
222
223
  :param fit_method: Fit Method
223
- :type fit_method: str | int | None
224
+ :type fit_method: str | None
224
225
  :param corner_angle: Corner Angle
225
226
  :type corner_angle: typing.Any | None
226
227
  :param use_cyclic: Cyclic
@@ -309,7 +310,7 @@ def handle_type_set(
309
310
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
310
311
  execution_context: str | int | None = None,
311
312
  undo: bool | None = None,
312
- type: str | int | None = "AUTO",
313
+ type: str | None = "AUTO",
313
314
  ):
314
315
  """Set the handle type for bezier curves
315
316
 
@@ -317,7 +318,7 @@ def handle_type_set(
317
318
  :type execution_context: str | int | None
318
319
  :type undo: bool | None
319
320
  :param type: Type
320
- :type type: str | int | None
321
+ :type type: str | None
321
322
  """
322
323
 
323
324
  ...
@@ -340,7 +341,7 @@ def select_all(
340
341
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
341
342
  execution_context: str | int | None = None,
342
343
  undo: bool | None = None,
343
- action: str | int | None = "TOGGLE",
344
+ action: str | None = "TOGGLE",
344
345
  ):
345
346
  """(De)select all control points
346
347
 
@@ -360,7 +361,7 @@ def select_all(
360
361
 
361
362
  INVERT
362
363
  Invert -- Invert selection of all elements.
363
- :type action: str | int | None
364
+ :type action: str | None
364
365
  """
365
366
 
366
367
  ...
@@ -451,7 +452,7 @@ def set_selection_domain(
451
452
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
452
453
  execution_context: str | int | None = None,
453
454
  undo: bool | None = None,
454
- domain: str | int | None = "POINT",
455
+ domain: str | None = "POINT",
455
456
  ):
456
457
  """Change the mode used for selection masking in curves sculpt mode
457
458
 
@@ -459,7 +460,7 @@ def set_selection_domain(
459
460
  :type execution_context: str | int | None
460
461
  :type undo: bool | None
461
462
  :param domain: Domain
462
- :type domain: str | int | None
463
+ :type domain: str | None
463
464
  """
464
465
 
465
466
  ...
@@ -468,7 +469,7 @@ def snap_curves_to_surface(
468
469
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
469
470
  execution_context: str | int | None = None,
470
471
  undo: bool | None = None,
471
- attach_mode: str | int | None = "NEAREST",
472
+ attach_mode: str | None = "NEAREST",
472
473
  ):
473
474
  """Move curves so that the first point is exactly on the surface mesh
474
475
 
@@ -482,7 +483,7 @@ def snap_curves_to_surface(
482
483
 
483
484
  DEFORM
484
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.
485
- :type attach_mode: str | int | None
486
+ :type attach_mode: str | None
486
487
  """
487
488
 
488
489
  ...
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
5
  GenericType1 = typing.TypeVar("GenericType1")
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
5
  GenericType1 = typing.TypeVar("GenericType1")
@@ -22,7 +23,7 @@ def output_toggle(
22
23
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
23
24
  execution_context: str | int | None = None,
24
25
  undo: bool | None = None,
25
- output: str | int | None = "A",
26
+ output: str | None = "A",
26
27
  ):
27
28
  """Add or remove Dynamic Paint output data layer
28
29
 
@@ -30,7 +31,7 @@ def output_toggle(
30
31
  :type execution_context: str | int | None
31
32
  :type undo: bool | None
32
33
  :param output: Output Toggle
33
- :type output: str | int | None
34
+ :type output: str | None
34
35
  """
35
36
 
36
37
  ...
@@ -67,7 +68,7 @@ def type_toggle(
67
68
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
68
69
  execution_context: str | int | None = None,
69
70
  undo: bool | None = None,
70
- type: str | int | None = "CANVAS",
71
+ type: str | None = "CANVAS",
71
72
  ):
72
73
  """Toggle whether given type is active or not
73
74
 
@@ -75,7 +76,7 @@ def type_toggle(
75
76
  :type execution_context: str | int | None
76
77
  :type undo: bool | None
77
78
  :param type: Type
78
- :type type: str | int | None
79
+ :type type: str | None
79
80
  """
80
81
 
81
82
  ...
bpy/ops/ed/__init__.pyi CHANGED
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
5
  GenericType1 = typing.TypeVar("GenericType1")
@@ -87,8 +88,8 @@ def lib_id_load_custom_preview(
87
88
  filemode: typing.Any | None = 9,
88
89
  show_multiview: bool | typing.Any | None = False,
89
90
  use_multiview: bool | typing.Any | None = False,
90
- display_type: str | int | None = "DEFAULT",
91
- sort_method: str | int | None = "",
91
+ display_type: str | None = "DEFAULT",
92
+ sort_method: str | None = "",
92
93
  ):
93
94
  """Choose an image to help identify the data-block visually
94
95
 
@@ -154,9 +155,9 @@ def lib_id_load_custom_preview(
154
155
 
155
156
  THUMBNAIL
156
157
  Thumbnails -- Display files as thumbnails.
157
- :type display_type: str | int | None
158
+ :type display_type: str | None
158
159
  :param sort_method: File sorting mode
159
- :type sort_method: str | int | None
160
+ :type sort_method: str | None
160
161
  """
161
162
 
162
163
  ...
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
5
  GenericType1 = typing.TypeVar("GenericType1")
@@ -14,7 +15,7 @@ def bvh(
14
15
  global_scale: typing.Any | None = 1.0,
15
16
  frame_start: typing.Any | None = 0,
16
17
  frame_end: typing.Any | None = 0,
17
- rotate_mode: str | int | None = "NATIVE",
18
+ rotate_mode: str | None = "NATIVE",
18
19
  root_transform_only: bool | typing.Any | None = False,
19
20
  ):
20
21
  """Save a BVH motion capture file from an armature
@@ -56,7 +57,7 @@ def bvh(
56
57
 
57
58
  ZYX
58
59
  Euler (ZYX) -- Convert rotations to euler ZYX.
59
- :type rotate_mode: str | int | None
60
+ :type rotate_mode: str | None
60
61
  :param root_transform_only: Root Translation Only, Only write out translation channels for the root bone
61
62
  :type root_transform_only: bool | typing.Any | None
62
63
  """