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 brush_stroke(
8
10
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -10,7 +12,7 @@ def brush_stroke(
10
12
  undo: bool | None = None,
11
13
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
12
14
  | None = None,
13
- mode: typing.Any | None = "NORMAL",
15
+ mode: str | None = "NORMAL",
14
16
  ):
15
17
  """Draw a new stroke in the active Grease Pencil object
16
18
 
@@ -29,7 +31,7 @@ def brush_stroke(
29
31
 
30
32
  SMOOTH
31
33
  Smooth -- Switch brush to smooth mode for duration of stroke.
32
- :type mode: typing.Any | None
34
+ :type mode: str | None
33
35
  """
34
36
 
35
37
  ...
@@ -38,7 +40,7 @@ def caps_set(
38
40
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
39
41
  execution_context: str | int | None = None,
40
42
  undo: bool | None = None,
41
- type: typing.Any | None = "ROUND",
43
+ type: str | None = "ROUND",
42
44
  ):
43
45
  """Change curve caps mode (rounded or flat)
44
46
 
@@ -58,7 +60,7 @@ def caps_set(
58
60
 
59
61
  END
60
62
  Toggle End.
61
- :type type: typing.Any | None
63
+ :type type: str | None
62
64
  """
63
65
 
64
66
  ...
@@ -98,7 +100,7 @@ def cyclical_set(
98
100
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
99
101
  execution_context: str | int | None = None,
100
102
  undo: bool | None = None,
101
- type: typing.Any | None = "TOGGLE",
103
+ type: str | None = "TOGGLE",
102
104
  ):
103
105
  """Close or open the selected stroke adding a segment from last to first point
104
106
 
@@ -106,7 +108,7 @@ def cyclical_set(
106
108
  :type execution_context: str | int | None
107
109
  :type undo: bool | None
108
110
  :param type: Type
109
- :type type: typing.Any | None
111
+ :type type: str | None
110
112
  """
111
113
 
112
114
  ...
@@ -129,7 +131,7 @@ def delete_frame(
129
131
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
130
132
  execution_context: str | int | None = None,
131
133
  undo: bool | None = None,
132
- type: typing.Any | None = "ACTIVE_FRAME",
134
+ type: str | None = "ACTIVE_FRAME",
133
135
  ):
134
136
  """Delete Grease Pencil Frame(s)
135
137
 
@@ -143,7 +145,7 @@ def delete_frame(
143
145
 
144
146
  ALL_FRAMES
145
147
  All Active Frames -- Delete active frames for all layers.
146
- :type type: typing.Any | None
148
+ :type type: str | None
147
149
  """
148
150
 
149
151
  ...
@@ -152,7 +154,7 @@ def dissolve(
152
154
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
153
155
  execution_context: str | int | None = None,
154
156
  undo: bool | None = None,
155
- type: typing.Any | None = "POINTS",
157
+ type: str | None = "POINTS",
156
158
  ):
157
159
  """Delete selected points without splitting strokes
158
160
 
@@ -169,7 +171,7 @@ def dissolve(
169
171
 
170
172
  UNSELECT
171
173
  Dissolve Unselect -- Dissolve all unselected points.
172
- :type type: typing.Any | None
174
+ :type type: str | None
173
175
  """
174
176
 
175
177
  ...
@@ -450,7 +452,7 @@ def layer_mask_reorder(
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
- direction: typing.Any | None = "UP",
455
+ direction: str | None = "UP",
454
456
  ):
455
457
  """Reorder the active Grease Pencil mask layer up/down in the list
456
458
 
@@ -458,7 +460,7 @@ def layer_mask_reorder(
458
460
  :type execution_context: str | int | None
459
461
  :type undo: bool | None
460
462
  :param direction: Direction
461
- :type direction: typing.Any | None
463
+ :type direction: str | None
462
464
  """
463
465
 
464
466
  ...
@@ -482,7 +484,7 @@ def layer_reorder(
482
484
  execution_context: str | int | None = None,
483
485
  undo: bool | None = None,
484
486
  target_layer_name: str | typing.Any = "Layer",
485
- location: typing.Any | None = "ABOVE",
487
+ location: str | None = "ABOVE",
486
488
  ):
487
489
  """Reorder the active Grease Pencil layer
488
490
 
@@ -492,7 +494,7 @@ def layer_reorder(
492
494
  :param target_layer_name: Target Name, Name of the target layer
493
495
  :type target_layer_name: str | typing.Any
494
496
  :param location: Location
495
- :type location: typing.Any | None
497
+ :type location: str | None
496
498
  """
497
499
 
498
500
  ...
@@ -674,7 +676,7 @@ def primitive_arc(
674
676
  execution_context: str | int | None = None,
675
677
  undo: bool | None = None,
676
678
  subdivision: typing.Any | None = 62,
677
- type: typing.Any | None = "ARC",
679
+ type: str | None = "ARC",
678
680
  ):
679
681
  """Create predefined grease pencil stroke arcs
680
682
 
@@ -684,7 +686,7 @@ def primitive_arc(
684
686
  :param subdivision: Subdivisions, Number of subdivisions per segment
685
687
  :type subdivision: typing.Any | None
686
688
  :param type: Type, Type of shape
687
- :type type: typing.Any | None
689
+ :type type: str | None
688
690
  """
689
691
 
690
692
  ...
@@ -694,7 +696,7 @@ def primitive_box(
694
696
  execution_context: str | int | None = None,
695
697
  undo: bool | None = None,
696
698
  subdivision: typing.Any | None = 3,
697
- type: typing.Any | None = "BOX",
699
+ type: str | None = "BOX",
698
700
  ):
699
701
  """Create predefined grease pencil stroke boxes
700
702
 
@@ -704,7 +706,7 @@ def primitive_box(
704
706
  :param subdivision: Subdivisions, Number of subdivisions per segment
705
707
  :type subdivision: typing.Any | None
706
708
  :param type: Type, Type of shape
707
- :type type: typing.Any | None
709
+ :type type: str | None
708
710
  """
709
711
 
710
712
  ...
@@ -714,7 +716,7 @@ def primitive_circle(
714
716
  execution_context: str | int | None = None,
715
717
  undo: bool | None = None,
716
718
  subdivision: typing.Any | None = 94,
717
- type: typing.Any | None = "CIRCLE",
719
+ type: str | None = "CIRCLE",
718
720
  ):
719
721
  """Create predefined grease pencil stroke circles
720
722
 
@@ -724,7 +726,7 @@ def primitive_circle(
724
726
  :param subdivision: Subdivisions, Number of subdivisions per segment
725
727
  :type subdivision: typing.Any | None
726
728
  :param type: Type, Type of shape
727
- :type type: typing.Any | None
729
+ :type type: str | None
728
730
  """
729
731
 
730
732
  ...
@@ -734,7 +736,7 @@ def primitive_curve(
734
736
  execution_context: str | int | None = None,
735
737
  undo: bool | None = None,
736
738
  subdivision: typing.Any | None = 62,
737
- type: typing.Any | None = "CURVE",
739
+ type: str | None = "CURVE",
738
740
  ):
739
741
  """Create predefined grease pencil stroke curve shapes
740
742
 
@@ -744,7 +746,7 @@ def primitive_curve(
744
746
  :param subdivision: Subdivisions, Number of subdivisions per segment
745
747
  :type subdivision: typing.Any | None
746
748
  :param type: Type, Type of shape
747
- :type type: typing.Any | None
749
+ :type type: str | None
748
750
  """
749
751
 
750
752
  ...
@@ -754,7 +756,7 @@ def primitive_line(
754
756
  execution_context: str | int | None = None,
755
757
  undo: bool | None = None,
756
758
  subdivision: typing.Any | None = 6,
757
- type: typing.Any | None = "LINE",
759
+ type: str | None = "LINE",
758
760
  ):
759
761
  """Create predefined grease pencil stroke lines
760
762
 
@@ -764,7 +766,7 @@ def primitive_line(
764
766
  :param subdivision: Subdivisions, Number of subdivisions per segment
765
767
  :type subdivision: typing.Any | None
766
768
  :param type: Type, Type of shape
767
- :type type: typing.Any | None
769
+ :type type: str | None
768
770
  """
769
771
 
770
772
  ...
@@ -774,7 +776,7 @@ def primitive_polyline(
774
776
  execution_context: str | int | None = None,
775
777
  undo: bool | None = None,
776
778
  subdivision: typing.Any | None = 6,
777
- type: typing.Any | None = "POLYLINE",
779
+ type: str | None = "POLYLINE",
778
780
  ):
779
781
  """Create predefined grease pencil stroke polylines
780
782
 
@@ -784,7 +786,7 @@ def primitive_polyline(
784
786
  :param subdivision: Subdivisions, Number of subdivisions per segment
785
787
  :type subdivision: typing.Any | None
786
788
  :param type: Type, Type of shape
787
- :type type: typing.Any | None
789
+ :type type: str | None
788
790
  """
789
791
 
790
792
  ...
@@ -793,7 +795,7 @@ def reorder(
793
795
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
794
796
  execution_context: str | int | None = None,
795
797
  undo: bool | None = None,
796
- direction: typing.Any | None = "TOP",
798
+ direction: str | None = "TOP",
797
799
  ):
798
800
  """Change the display order of the selected strokes
799
801
 
@@ -801,7 +803,7 @@ def reorder(
801
803
  :type execution_context: str | int | None
802
804
  :type undo: bool | None
803
805
  :param direction: Direction
804
- :type direction: typing.Any | None
806
+ :type direction: str | None
805
807
  """
806
808
 
807
809
  ...
@@ -812,7 +814,7 @@ def sculpt_paint(
812
814
  undo: bool | None = None,
813
815
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
814
816
  | None = None,
815
- mode: typing.Any | None = "NORMAL",
817
+ mode: str | None = "NORMAL",
816
818
  ):
817
819
  """Draw a new stroke in the active Grease Pencil object
818
820
 
@@ -831,7 +833,7 @@ def sculpt_paint(
831
833
 
832
834
  SMOOTH
833
835
  Smooth -- Switch brush to smooth mode for duration of stroke.
834
- :type mode: typing.Any | None
836
+ :type mode: str | None
835
837
  """
836
838
 
837
839
  ...
@@ -840,7 +842,7 @@ def select_all(
840
842
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
841
843
  execution_context: str | int | None = None,
842
844
  undo: bool | None = None,
843
- action: typing.Any | None = "TOGGLE",
845
+ action: str | None = "TOGGLE",
844
846
  ):
845
847
  """(De)select all visible strokes
846
848
 
@@ -860,7 +862,7 @@ def select_all(
860
862
 
861
863
  INVERT
862
864
  Invert -- Invert selection of all elements.
863
- :type action: typing.Any | None
865
+ :type action: str | None
864
866
  """
865
867
 
866
868
  ...
@@ -950,7 +952,7 @@ def select_random(
950
952
  undo: bool | None = None,
951
953
  ratio: typing.Any | None = 0.5,
952
954
  seed: typing.Any | None = 0,
953
- action: typing.Any | None = "SELECT",
955
+ action: str | None = "SELECT",
954
956
  ):
955
957
  """Selects random points from the current strokes selection
956
958
 
@@ -968,7 +970,7 @@ def select_random(
968
970
 
969
971
  DESELECT
970
972
  Deselect -- Deselect all elements.
971
- :type action: typing.Any | None
973
+ :type action: str | None
972
974
  """
973
975
 
974
976
  ...
@@ -977,7 +979,7 @@ def separate(
977
979
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
978
980
  execution_context: str | int | None = None,
979
981
  undo: bool | None = None,
980
- mode: typing.Any | None = "SELECTED",
982
+ mode: str | None = "SELECTED",
981
983
  ):
982
984
  """Separate the selected geometry into a new grease pencil object
983
985
 
@@ -994,7 +996,7 @@ def separate(
994
996
 
995
997
  LAYER
996
998
  By Layer -- Separate by layer.
997
- :type mode: typing.Any | None
999
+ :type mode: str | None
998
1000
  """
999
1001
 
1000
1002
  ...
@@ -1017,7 +1019,7 @@ def set_material(
1017
1019
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1018
1020
  execution_context: str | int | None = None,
1019
1021
  undo: bool | None = None,
1020
- slot: str | int | typing.Any | None = "DEFAULT",
1022
+ slot: str | None = "DEFAULT",
1021
1023
  ):
1022
1024
  """Set active material
1023
1025
 
@@ -1025,7 +1027,7 @@ def set_material(
1025
1027
  :type execution_context: str | int | None
1026
1028
  :type undo: bool | None
1027
1029
  :param slot: Material Slot
1028
- :type slot: str | int | typing.Any | None
1030
+ :type slot: str | None
1029
1031
  """
1030
1032
 
1031
1033
  ...
@@ -1034,7 +1036,7 @@ def set_selection_mode(
1034
1036
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1035
1037
  execution_context: str | int | None = None,
1036
1038
  undo: bool | None = None,
1037
- mode: str | int | None = "POINT",
1039
+ mode: str | None = "POINT",
1038
1040
  ):
1039
1041
  """Change the selection mode for Grease Pencil strokes
1040
1042
 
@@ -1042,7 +1044,7 @@ def set_selection_mode(
1042
1044
  :type execution_context: str | int | None
1043
1045
  :type undo: bool | None
1044
1046
  :param mode: Mode
1045
- :type mode: str | int | None
1047
+ :type mode: str | None
1046
1048
  """
1047
1049
 
1048
1050
  ...
@@ -1292,7 +1294,7 @@ def weight_brush_stroke(
1292
1294
  undo: bool | None = None,
1293
1295
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1294
1296
  | None = None,
1295
- mode: typing.Any | None = "NORMAL",
1297
+ mode: str | None = "NORMAL",
1296
1298
  ):
1297
1299
  """Draw weight on stroke points in the active Grease Pencil object
1298
1300
 
@@ -1311,7 +1313,7 @@ def weight_brush_stroke(
1311
1313
 
1312
1314
  SMOOTH
1313
1315
  Smooth -- Switch brush to smooth mode for duration of stroke.
1314
- :type mode: typing.Any | None
1316
+ :type mode: str | None
1315
1317
  """
1316
1318
 
1317
1319
  ...
@@ -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 add_render_slot(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -94,7 +96,7 @@ def curves_point_set(
94
96
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
95
97
  execution_context: str | int | None = None,
96
98
  undo: bool | None = None,
97
- point: typing.Any | None = "BLACK_POINT",
99
+ point: str | None = "BLACK_POINT",
98
100
  size: typing.Any | None = 1,
99
101
  ):
100
102
  """Set black point or white point for curves
@@ -103,7 +105,7 @@ def curves_point_set(
103
105
  :type execution_context: str | int | None
104
106
  :type undo: bool | None
105
107
  :param point: Point, Set black point or white point for curves
106
- :type point: typing.Any | None
108
+ :type point: str | None
107
109
  :param size: Sample Size
108
110
  :type size: typing.Any | None
109
111
  """
@@ -172,8 +174,8 @@ def file_browse(
172
174
  relative_path: bool | typing.Any | None = True,
173
175
  show_multiview: bool | typing.Any | None = False,
174
176
  use_multiview: bool | typing.Any | None = False,
175
- display_type: typing.Any | None = "DEFAULT",
176
- sort_method: str | int | typing.Any | None = "",
177
+ display_type: str | None = "DEFAULT",
178
+ sort_method: str | None = "",
177
179
  ):
178
180
  """Open an image file browser, hold Shift to open the file, Alt to browse containing directory
179
181
 
@@ -241,9 +243,9 @@ def file_browse(
241
243
 
242
244
  THUMBNAIL
243
245
  Thumbnails -- Display files as thumbnails.
244
- :type display_type: typing.Any | None
246
+ :type display_type: str | None
245
247
  :param sort_method: File sorting mode
246
- :type sort_method: str | int | typing.Any | None
248
+ :type sort_method: str | None
247
249
  """
248
250
 
249
251
  ...
@@ -317,7 +319,7 @@ def new(
317
319
  height: typing.Any | None = 1024,
318
320
  color: typing.Any | None = (0.0, 0.0, 0.0, 1.0),
319
321
  alpha: bool | typing.Any | None = True,
320
- generated_type: str | int | None = "BLANK",
322
+ generated_type: str | None = "BLANK",
321
323
  float: bool | typing.Any | None = False,
322
324
  use_stereo_3d: bool | typing.Any | None = False,
323
325
  tiled: bool | typing.Any | None = False,
@@ -338,7 +340,7 @@ def new(
338
340
  :param alpha: Alpha, Create an image with an alpha channel
339
341
  :type alpha: bool | typing.Any | None
340
342
  :param generated_type: Generated Type, Fill the image with a grid for UV map testing
341
- :type generated_type: str | int | None
343
+ :type generated_type: str | None
342
344
  :param float: 32-bit Float, Create image with 32-bit floating-point bit depth
343
345
  :type float: bool | typing.Any | None
344
346
  :param use_stereo_3d: Stereo 3D, Create an image with left and right views
@@ -381,8 +383,8 @@ def open(
381
383
  relative_path: bool | typing.Any | None = True,
382
384
  show_multiview: bool | typing.Any | None = False,
383
385
  use_multiview: bool | typing.Any | None = False,
384
- display_type: typing.Any | None = "DEFAULT",
385
- sort_method: str | int | typing.Any | None = "",
386
+ display_type: str | None = "DEFAULT",
387
+ sort_method: str | None = "",
386
388
  use_sequence_detection: bool | typing.Any | None = True,
387
389
  use_udim_detecting: bool | typing.Any | None = True,
388
390
  ):
@@ -458,9 +460,9 @@ def open(
458
460
 
459
461
  THUMBNAIL
460
462
  Thumbnails -- Display files as thumbnails.
461
- :type display_type: typing.Any | None
463
+ :type display_type: str | None
462
464
  :param sort_method: File sorting mode
463
- :type sort_method: str | int | typing.Any | None
465
+ :type sort_method: str | None
464
466
  :param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected images (based on file names)
465
467
  :type use_sequence_detection: bool | typing.Any | None
466
468
  :param use_udim_detecting: Detect UDIMs, Detect selected UDIM files and load all matching tiles
@@ -640,8 +642,8 @@ def replace(
640
642
  relative_path: bool | typing.Any | None = True,
641
643
  show_multiview: bool | typing.Any | None = False,
642
644
  use_multiview: bool | typing.Any | None = False,
643
- display_type: typing.Any | None = "DEFAULT",
644
- sort_method: str | int | typing.Any | None = "",
645
+ display_type: str | None = "DEFAULT",
646
+ sort_method: str | None = "",
645
647
  ):
646
648
  """Replace current image by another one from disk
647
649
 
@@ -709,9 +711,9 @@ def replace(
709
711
 
710
712
  THUMBNAIL
711
713
  Thumbnails -- Display files as thumbnails.
712
- :type display_type: typing.Any | None
714
+ :type display_type: str | None
713
715
  :param sort_method: File sorting mode
714
- :type sort_method: str | int | typing.Any | None
716
+ :type sort_method: str | None
715
717
  """
716
718
 
717
719
  ...
@@ -737,7 +739,7 @@ def rotate_orthogonal(
737
739
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
738
740
  execution_context: str | int | None = None,
739
741
  undo: bool | None = None,
740
- degrees: typing.Any | None = "90",
742
+ degrees: str | None = "90",
741
743
  ):
742
744
  """Rotate the image
743
745
 
@@ -754,7 +756,7 @@ def rotate_orthogonal(
754
756
 
755
757
  270
756
758
  270 Degrees -- Rotate 270 degrees clockwise.
757
- :type degrees: typing.Any | None
759
+ :type degrees: str | None
758
760
  """
759
761
 
760
762
  ...
@@ -866,8 +868,8 @@ def save_as(
866
868
  relative_path: bool | typing.Any | None = True,
867
869
  show_multiview: bool | typing.Any | None = False,
868
870
  use_multiview: bool | typing.Any | None = False,
869
- display_type: typing.Any | None = "DEFAULT",
870
- sort_method: str | int | typing.Any | None = "",
871
+ display_type: str | None = "DEFAULT",
872
+ sort_method: str | None = "",
871
873
  ):
872
874
  """Save the image with another name and/or settings
873
875
 
@@ -939,9 +941,9 @@ def save_as(
939
941
 
940
942
  THUMBNAIL
941
943
  Thumbnails -- Display files as thumbnails.
942
- :type display_type: typing.Any | None
944
+ :type display_type: str | None
943
945
  :param sort_method: File sorting mode
944
- :type sort_method: str | int | typing.Any | None
946
+ :type sort_method: str | None
945
947
  """
946
948
 
947
949
  ...
@@ -969,7 +971,7 @@ def tile_add(
969
971
  label: str | typing.Any = "",
970
972
  fill: bool | typing.Any | None = True,
971
973
  color: typing.Any | None = (0.0, 0.0, 0.0, 1.0),
972
- generated_type: str | int | None = "BLANK",
974
+ generated_type: str | None = "BLANK",
973
975
  width: typing.Any | None = 1024,
974
976
  height: typing.Any | None = 1024,
975
977
  float: bool | typing.Any | None = False,
@@ -991,7 +993,7 @@ def tile_add(
991
993
  :param color: Color, Default fill color
992
994
  :type color: typing.Any | None
993
995
  :param generated_type: Generated Type, Fill the image with a grid for UV map testing
994
- :type generated_type: str | int | None
996
+ :type generated_type: str | None
995
997
  :param width: Width, Image width
996
998
  :type width: typing.Any | None
997
999
  :param height: Height, Image height
@@ -1009,7 +1011,7 @@ def tile_fill(
1009
1011
  execution_context: str | int | None = None,
1010
1012
  undo: bool | None = None,
1011
1013
  color: typing.Any | None = (0.0, 0.0, 0.0, 1.0),
1012
- generated_type: str | int | None = "BLANK",
1014
+ generated_type: str | None = "BLANK",
1013
1015
  width: typing.Any | None = 1024,
1014
1016
  height: typing.Any | None = 1024,
1015
1017
  float: bool | typing.Any | None = False,
@@ -1023,7 +1025,7 @@ def tile_fill(
1023
1025
  :param color: Color, Default fill color
1024
1026
  :type color: typing.Any | None
1025
1027
  :param generated_type: Generated Type, Fill the image with a grid for UV map testing
1026
- :type generated_type: str | int | None
1028
+ :type generated_type: str | None
1027
1029
  :param width: Width, Image width
1028
1030
  :type width: typing.Any | None
1029
1031
  :param height: Height, Image height
@@ -1054,7 +1056,7 @@ def unpack(
1054
1056
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1055
1057
  execution_context: str | int | None = None,
1056
1058
  undo: bool | None = None,
1057
- method: str | int | None = "USE_LOCAL",
1059
+ method: str | None = "USE_LOCAL",
1058
1060
  id: str | typing.Any = "",
1059
1061
  ):
1060
1062
  """Save an image packed in the .blend file to disk
@@ -1063,7 +1065,7 @@ def unpack(
1063
1065
  :type execution_context: str | int | None
1064
1066
  :type undo: bool | None
1065
1067
  :param method: Method, How to unpack
1066
- :type method: str | int | None
1068
+ :type method: str | None
1067
1069
  :param id: Image Name, Image data-block name to unpack
1068
1070
  :type id: str | typing.Any
1069
1071
  """
@@ -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,
@@ -9,16 +11,16 @@ def bvh(
9
11
  undo: bool | None = None,
10
12
  filepath: str | typing.Any = "",
11
13
  filter_glob: str | typing.Any = "*.bvh",
12
- target: typing.Any | None = "ARMATURE",
14
+ target: str | None = "ARMATURE",
13
15
  global_scale: typing.Any | None = 1.0,
14
16
  frame_start: typing.Any | None = 1,
15
17
  use_fps_scale: bool | typing.Any | None = False,
16
18
  update_scene_fps: bool | typing.Any | None = False,
17
19
  update_scene_duration: bool | typing.Any | None = False,
18
20
  use_cyclic: bool | typing.Any | None = False,
19
- rotate_mode: typing.Any | None = "NATIVE",
20
- axis_forward: typing.Any | None = "-Z",
21
- axis_up: typing.Any | None = "Y",
21
+ rotate_mode: str | None = "NATIVE",
22
+ axis_forward: str | None = "-Z",
23
+ axis_up: str | None = "Y",
22
24
  ):
23
25
  """Load a BVH motion capture file
24
26
 
@@ -30,7 +32,7 @@ def bvh(
30
32
  :param filter_glob: filter_glob
31
33
  :type filter_glob: str | typing.Any
32
34
  :param target: Target, Import target type
33
- :type target: typing.Any | None
35
+ :type target: str | None
34
36
  :param global_scale: Scale, Scale the BVH by this value
35
37
  :type global_scale: typing.Any | None
36
38
  :param frame_start: Start Frame, Starting frame for the animation
@@ -68,11 +70,11 @@ def bvh(
68
70
 
69
71
  ZYX
70
72
  Euler (ZYX) -- Convert rotations to euler ZYX.
71
- :type rotate_mode: typing.Any | None
73
+ :type rotate_mode: str | None
72
74
  :param axis_forward: Forward
73
- :type axis_forward: typing.Any | None
75
+ :type axis_forward: str | None
74
76
  :param axis_up: Up
75
- :type axis_up: typing.Any | None
77
+ :type axis_up: str | None
76
78
  """
77
79
 
78
80
  ...
@@ -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 svg(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,