fake-bpy-module 20240518__py3-none-any.whl → 20240519__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 +2 -1
  2. _bpy_internal/freedesktop/__init__.pyi +2 -1
  3. addon_utils/__init__.pyi +2 -1
  4. animsys_refactor/__init__.pyi +2 -1
  5. aud/__init__.pyi +2 -1
  6. bgl/__init__.pyi +2 -1
  7. bl_app_override/__init__.pyi +2 -1
  8. bl_app_override/helpers/__init__.pyi +2 -1
  9. bl_app_template_utils/__init__.pyi +2 -1
  10. bl_console_utils/__init__.pyi +2 -1
  11. bl_console_utils/autocomplete/__init__.pyi +2 -1
  12. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
  13. bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
  14. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
  15. bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
  16. bl_i18n_utils/__init__.pyi +2 -1
  17. bl_i18n_utils/bl_extract_messages/__init__.pyi +2 -1
  18. bl_i18n_utils/merge_po/__init__.pyi +2 -1
  19. bl_i18n_utils/settings/__init__.pyi +2 -1
  20. bl_i18n_utils/utils/__init__.pyi +2 -1
  21. bl_i18n_utils/utils_cli/__init__.pyi +2 -1
  22. bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -1
  23. bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
  24. bl_keymap_utils/__init__.pyi +2 -1
  25. bl_keymap_utils/io/__init__.pyi +2 -1
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
  28. bl_keymap_utils/platform_helpers/__init__.pyi +2 -1
  29. bl_keymap_utils/versioning/__init__.pyi +2 -1
  30. bl_math/__init__.pyi +2 -1
  31. bl_operators/__init__.pyi +2 -1
  32. bl_operators/add_mesh_torus/__init__.pyi +2 -1
  33. bl_operators/anim/__init__.pyi +2 -1
  34. bl_operators/assets/__init__.pyi +2 -1
  35. bl_operators/bmesh/__init__.pyi +2 -1
  36. bl_operators/bmesh/find_adjacent/__init__.pyi +2 -1
  37. bl_operators/clip/__init__.pyi +2 -1
  38. bl_operators/console/__init__.pyi +2 -1
  39. bl_operators/constraint/__init__.pyi +2 -1
  40. bl_operators/file/__init__.pyi +2 -1
  41. bl_operators/freestyle/__init__.pyi +2 -1
  42. bl_operators/geometry_nodes/__init__.pyi +2 -1
  43. bl_operators/image/__init__.pyi +2 -1
  44. bl_operators/mesh/__init__.pyi +2 -1
  45. bl_operators/node/__init__.pyi +2 -1
  46. bl_operators/object/__init__.pyi +2 -1
  47. bl_operators/object_align/__init__.pyi +2 -1
  48. bl_operators/object_quick_effects/__init__.pyi +2 -1
  49. bl_operators/object_randomize_transform/__init__.pyi +2 -1
  50. bl_operators/presets/__init__.pyi +2 -1
  51. bl_operators/rigidbody/__init__.pyi +2 -1
  52. bl_operators/screen_play_rendered_anim/__init__.pyi +2 -1
  53. bl_operators/sequencer/__init__.pyi +2 -1
  54. bl_operators/spreadsheet/__init__.pyi +2 -1
  55. bl_operators/userpref/__init__.pyi +2 -1
  56. bl_operators/uvcalc_follow_active/__init__.pyi +2 -1
  57. bl_operators/uvcalc_lightmap/__init__.pyi +2 -1
  58. bl_operators/uvcalc_transform/__init__.pyi +2 -1
  59. bl_operators/vertexpaint_dirt/__init__.pyi +2 -1
  60. bl_operators/view3d/__init__.pyi +2 -1
  61. bl_operators/wm/__init__.pyi +2 -1
  62. bl_operators/world/__init__.pyi +2 -1
  63. bl_previews_utils/__init__.pyi +2 -1
  64. bl_previews_utils/bl_previews_render/__init__.pyi +2 -1
  65. bl_rna_utils/__init__.pyi +2 -1
  66. bl_rna_utils/data_path/__init__.pyi +2 -1
  67. bl_text_utils/__init__.pyi +2 -1
  68. bl_text_utils/external_editor/__init__.pyi +2 -1
  69. bl_ui/__init__.pyi +2 -1
  70. bl_ui/anim/__init__.pyi +2 -1
  71. bl_ui/asset_shelf/__init__.pyi +2 -1
  72. bl_ui/generic_ui_list/__init__.pyi +2 -1
  73. bl_ui/node_add_menu/__init__.pyi +2 -1
  74. bl_ui/node_add_menu_compositor/__init__.pyi +2 -1
  75. bl_ui/node_add_menu_geometry/__init__.pyi +2 -1
  76. bl_ui/node_add_menu_shader/__init__.pyi +2 -1
  77. bl_ui/node_add_menu_texture/__init__.pyi +2 -1
  78. bl_ui/properties_animviz/__init__.pyi +2 -1
  79. bl_ui/properties_collection/__init__.pyi +2 -1
  80. bl_ui/properties_constraint/__init__.pyi +2 -1
  81. bl_ui/properties_data_armature/__init__.pyi +2 -1
  82. bl_ui/properties_data_bone/__init__.pyi +2 -1
  83. bl_ui/properties_data_camera/__init__.pyi +2 -1
  84. bl_ui/properties_data_curve/__init__.pyi +2 -1
  85. bl_ui/properties_data_curves/__init__.pyi +2 -1
  86. bl_ui/properties_data_empty/__init__.pyi +2 -1
  87. bl_ui/properties_data_gpencil/__init__.pyi +2 -1
  88. bl_ui/properties_data_grease_pencil/__init__.pyi +2 -1
  89. bl_ui/properties_data_lattice/__init__.pyi +2 -1
  90. bl_ui/properties_data_light/__init__.pyi +2 -1
  91. bl_ui/properties_data_lightprobe/__init__.pyi +2 -1
  92. bl_ui/properties_data_mesh/__init__.pyi +2 -1
  93. bl_ui/properties_data_metaball/__init__.pyi +2 -1
  94. bl_ui/properties_data_modifier/__init__.pyi +2 -1
  95. bl_ui/properties_data_pointcloud/__init__.pyi +2 -1
  96. bl_ui/properties_data_shaderfx/__init__.pyi +2 -1
  97. bl_ui/properties_data_speaker/__init__.pyi +2 -1
  98. bl_ui/properties_data_volume/__init__.pyi +2 -1
  99. bl_ui/properties_freestyle/__init__.pyi +2 -1
  100. bl_ui/properties_grease_pencil_common/__init__.pyi +2 -1
  101. bl_ui/properties_mask_common/__init__.pyi +2 -1
  102. bl_ui/properties_material/__init__.pyi +2 -1
  103. bl_ui/properties_material_gpencil/__init__.pyi +2 -1
  104. bl_ui/properties_object/__init__.pyi +2 -1
  105. bl_ui/properties_output/__init__.pyi +2 -1
  106. bl_ui/properties_paint_common/__init__.pyi +2 -1
  107. bl_ui/properties_particle/__init__.pyi +2 -1
  108. bl_ui/properties_physics_cloth/__init__.pyi +2 -1
  109. bl_ui/properties_physics_common/__init__.pyi +2 -1
  110. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -1
  111. bl_ui/properties_physics_field/__init__.pyi +2 -1
  112. bl_ui/properties_physics_fluid/__init__.pyi +2 -1
  113. bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -1
  114. bl_ui/properties_physics_rigidbody/__init__.pyi +2 -1
  115. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -1
  116. bl_ui/properties_physics_softbody/__init__.pyi +2 -1
  117. bl_ui/properties_render/__init__.pyi +2 -1
  118. bl_ui/properties_scene/__init__.pyi +2 -1
  119. bl_ui/properties_texture/__init__.pyi +2 -1
  120. bl_ui/properties_view_layer/__init__.pyi +2 -1
  121. bl_ui/properties_workspace/__init__.pyi +2 -1
  122. bl_ui/properties_world/__init__.pyi +2 -1
  123. bl_ui/space_clip/__init__.pyi +2 -1
  124. bl_ui/space_console/__init__.pyi +2 -1
  125. bl_ui/space_dopesheet/__init__.pyi +2 -1
  126. bl_ui/space_filebrowser/__init__.pyi +2 -1
  127. bl_ui/space_graph/__init__.pyi +2 -1
  128. bl_ui/space_image/__init__.pyi +2 -1
  129. bl_ui/space_info/__init__.pyi +2 -1
  130. bl_ui/space_nla/__init__.pyi +2 -1
  131. bl_ui/space_node/__init__.pyi +2 -1
  132. bl_ui/space_outliner/__init__.pyi +2 -1
  133. bl_ui/space_properties/__init__.pyi +2 -1
  134. bl_ui/space_sequencer/__init__.pyi +2 -1
  135. bl_ui/space_spreadsheet/__init__.pyi +2 -1
  136. bl_ui/space_statusbar/__init__.pyi +2 -1
  137. bl_ui/space_text/__init__.pyi +2 -1
  138. bl_ui/space_time/__init__.pyi +2 -1
  139. bl_ui/space_toolsystem_common/__init__.pyi +2 -1
  140. bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -1
  141. bl_ui/space_topbar/__init__.pyi +2 -1
  142. bl_ui/space_userpref/__init__.pyi +2 -1
  143. bl_ui/space_view3d/__init__.pyi +2 -1
  144. bl_ui/space_view3d_toolbar/__init__.pyi +2 -1
  145. bl_ui/temp_anim_layers/__init__.pyi +2 -1
  146. bl_ui/utils/__init__.pyi +2 -1
  147. bl_ui_utils/__init__.pyi +2 -1
  148. bl_ui_utils/bug_report_url/__init__.pyi +2 -1
  149. bl_ui_utils/layout/__init__.pyi +2 -1
  150. blend_render_info/__init__.pyi +2 -1
  151. blf/__init__.pyi +2 -1
  152. bmesh/__init__.pyi +2 -1
  153. bmesh/geometry/__init__.pyi +2 -1
  154. bmesh/ops/__init__.pyi +2 -1
  155. bmesh/types/__init__.pyi +28 -27
  156. bmesh/utils/__init__.pyi +2 -1
  157. bpy/__init__.pyi +2 -1
  158. bpy/app/__init__.pyi +2 -1
  159. bpy/app/handlers/__init__.pyi +2 -1
  160. bpy/app/icons/__init__.pyi +2 -1
  161. bpy/app/timers/__init__.pyi +8 -15
  162. bpy/app/translations/__init__.pyi +2 -1
  163. bpy/msgbus/__init__.pyi +2 -1
  164. bpy/ops/__init__.pyi +2 -1
  165. bpy/ops/action/__init__.pyi +22 -21
  166. bpy/ops/anim/__init__.pyi +32 -31
  167. bpy/ops/armature/__init__.pyi +22 -21
  168. bpy/ops/asset/__init__.pyi +8 -7
  169. bpy/ops/bl_pkg/__init__.pyi +4 -3
  170. bpy/ops/boid/__init__.pyi +2 -1
  171. bpy/ops/brush/__init__.pyi +10 -9
  172. bpy/ops/buttons/__init__.pyi +10 -9
  173. bpy/ops/cachefile/__init__.pyi +12 -11
  174. bpy/ops/camera/__init__.pyi +2 -1
  175. bpy/ops/clip/__init__.pyi +38 -37
  176. bpy/ops/cloth/__init__.pyi +2 -1
  177. bpy/ops/collection/__init__.pyi +8 -7
  178. bpy/ops/console/__init__.pyi +8 -7
  179. bpy/ops/constraint/__init__.pyi +30 -29
  180. bpy/ops/curve/__init__.pyi +32 -31
  181. bpy/ops/curves/__init__.pyi +10 -9
  182. bpy/ops/cycles/__init__.pyi +2 -1
  183. bpy/ops/dpaint/__init__.pyi +4 -3
  184. bpy/ops/ed/__init__.pyi +6 -5
  185. bpy/ops/export_anim/__init__.pyi +4 -3
  186. bpy/ops/export_scene/__init__.pyi +40 -39
  187. bpy/ops/file/__init__.pyi +20 -19
  188. bpy/ops/fluid/__init__.pyi +2 -1
  189. bpy/ops/font/__init__.pyi +22 -21
  190. bpy/ops/geometry/__init__.pyi +4 -3
  191. bpy/ops/gizmogroup/__init__.pyi +2 -1
  192. bpy/ops/gpencil/__init__.pyi +134 -133
  193. bpy/ops/graph/__init__.pyi +40 -39
  194. bpy/ops/grease_pencil/__init__.pyi +42 -41
  195. bpy/ops/image/__init__.pyi +22 -21
  196. bpy/ops/import_anim/__init__.pyi +10 -9
  197. bpy/ops/import_curve/__init__.pyi +2 -1
  198. bpy/ops/import_scene/__init__.pyi +20 -19
  199. bpy/ops/info/__init__.pyi +6 -5
  200. bpy/ops/lattice/__init__.pyi +8 -7
  201. bpy/ops/marker/__init__.pyi +10 -9
  202. bpy/ops/mask/__init__.pyi +14 -13
  203. bpy/ops/material/__init__.pyi +2 -1
  204. bpy/ops/mball/__init__.pyi +8 -7
  205. bpy/ops/mesh/__init__.pyi +112 -111
  206. bpy/ops/nla/__init__.pyi +16 -15
  207. bpy/ops/node/__init__.pyi +32 -31
  208. bpy/ops/object/__init__.pyi +186 -185
  209. bpy/ops/outliner/__init__.pyi +38 -37
  210. bpy/ops/paint/__init__.pyi +50 -49
  211. bpy/ops/paintcurve/__init__.pyi +2 -1
  212. bpy/ops/palette/__init__.pyi +6 -5
  213. bpy/ops/particle/__init__.pyi +16 -15
  214. bpy/ops/pose/__init__.pyi +32 -31
  215. bpy/ops/poselib/__init__.pyi +2 -1
  216. bpy/ops/preferences/__init__.pyi +14 -13
  217. bpy/ops/ptcache/__init__.pyi +2 -1
  218. bpy/ops/render/__init__.pyi +4 -3
  219. bpy/ops/rigidbody/__init__.pyi +10 -9
  220. bpy/ops/scene/__init__.pyi +18 -17
  221. bpy/ops/screen/__init__.pyi +16 -15
  222. bpy/ops/script/__init__.pyi +2 -1
  223. bpy/ops/sculpt/__init__.pyi +68 -67
  224. bpy/ops/sculpt_curves/__init__.pyi +4 -3
  225. bpy/ops/sequencer/__init__.pyi +74 -73
  226. bpy/ops/sound/__init__.pyi +20 -19
  227. bpy/ops/spreadsheet/__init__.pyi +2 -1
  228. bpy/ops/surface/__init__.pyi +14 -13
  229. bpy/ops/text/__init__.pyi +24 -23
  230. bpy/ops/text_editor/__init__.pyi +2 -1
  231. bpy/ops/texture/__init__.pyi +4 -3
  232. bpy/ops/transform/__init__.pyi +32 -31
  233. bpy/ops/ui/__init__.pyi +8 -7
  234. bpy/ops/uilist/__init__.pyi +4 -3
  235. bpy/ops/uv/__init__.pyi +66 -65
  236. bpy/ops/view2d/__init__.pyi +2 -1
  237. bpy/ops/view3d/__init__.pyi +36 -35
  238. bpy/ops/wm/__init__.pyi +188 -187
  239. bpy/ops/workspace/__init__.pyi +2 -1
  240. bpy/ops/world/__init__.pyi +2 -1
  241. bpy/path/__init__.pyi +2 -1
  242. bpy/props/__init__.pyi +2 -1
  243. bpy/types/__init__.pyi +131 -79
  244. bpy/utils/__init__.pyi +2 -1
  245. bpy/utils/previews/__init__.pyi +2 -1
  246. bpy/utils/units/__init__.pyi +2 -1
  247. bpy_extras/__init__.pyi +2 -1
  248. bpy_extras/anim_utils/__init__.pyi +2 -1
  249. bpy_extras/asset_utils/__init__.pyi +2 -1
  250. bpy_extras/bmesh_utils/__init__.pyi +2 -1
  251. bpy_extras/extensions/__init__.pyi +2 -1
  252. bpy_extras/extensions/junction_module/__init__.pyi +2 -1
  253. bpy_extras/id_map_utils/__init__.pyi +2 -1
  254. bpy_extras/image_utils/__init__.pyi +2 -1
  255. bpy_extras/io_utils/__init__.pyi +2 -1
  256. bpy_extras/keyconfig_utils/__init__.pyi +2 -1
  257. bpy_extras/mesh_utils/__init__.pyi +2 -1
  258. bpy_extras/node_shader_utils/__init__.pyi +2 -1
  259. bpy_extras/node_utils/__init__.pyi +2 -1
  260. bpy_extras/object_utils/__init__.pyi +2 -1
  261. bpy_extras/view3d_utils/__init__.pyi +2 -1
  262. bpy_extras/wm_utils/__init__.pyi +2 -1
  263. bpy_extras/wm_utils/progress_report/__init__.pyi +2 -1
  264. bpy_restrict_state/__init__.pyi +2 -1
  265. bpy_types/__init__.pyi +2 -1
  266. console_python/__init__.pyi +2 -1
  267. console_shell/__init__.pyi +2 -1
  268. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
  269. fake_bpy_module-20240519.dist-info/RECORD +353 -0
  270. freestyle/__init__.pyi +2 -1
  271. freestyle/chainingiterators/__init__.pyi +2 -1
  272. freestyle/functions/__init__.pyi +2 -1
  273. freestyle/predicates/__init__.pyi +2 -1
  274. freestyle/shaders/__init__.pyi +2 -1
  275. freestyle/types/__init__.pyi +2 -1
  276. freestyle/utils/ContextFunctions/__init__.pyi +2 -1
  277. freestyle/utils/__init__.pyi +2 -1
  278. gpu/__init__.pyi +2 -1
  279. gpu/capabilities/__init__.pyi +2 -1
  280. gpu/matrix/__init__.pyi +2 -1
  281. gpu/platform/__init__.pyi +2 -1
  282. gpu/select/__init__.pyi +2 -1
  283. gpu/shader/__init__.pyi +2 -1
  284. gpu/state/__init__.pyi +2 -1
  285. gpu/texture/__init__.pyi +2 -1
  286. gpu/types/__init__.pyi +2 -1
  287. gpu_extras/__init__.pyi +2 -1
  288. gpu_extras/batch/__init__.pyi +2 -1
  289. gpu_extras/presets/__init__.pyi +2 -1
  290. graphviz_export/__init__.pyi +2 -1
  291. idprop/__init__.pyi +2 -1
  292. idprop/types/__init__.pyi +2 -1
  293. imbuf/__init__.pyi +2 -1
  294. imbuf/types/__init__.pyi +2 -1
  295. keyingsets_builtins/__init__.pyi +2 -1
  296. keyingsets_utils/__init__.pyi +2 -1
  297. mathutils/__init__.pyi +2 -1
  298. mathutils/bvhtree/__init__.pyi +2 -1
  299. mathutils/geometry/__init__.pyi +2 -1
  300. mathutils/interpolate/__init__.pyi +2 -1
  301. mathutils/kdtree/__init__.pyi +2 -1
  302. mathutils/noise/__init__.pyi +2 -1
  303. nodeitems_builtins/__init__.pyi +2 -1
  304. nodeitems_utils/__init__.pyi +2 -1
  305. rna_info/__init__.pyi +2 -1
  306. rna_keymap_ui/__init__.pyi +2 -1
  307. rna_prop_ui/__init__.pyi +2 -1
  308. rna_xml/__init__.pyi +2 -1
  309. sys_info/__init__.pyi +2 -1
  310. fake_bpy_module-20240518.dist-info/RECORD +0 -353
  311. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
  312. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def brush_stroke(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -9,7 +10,7 @@ def brush_stroke(
9
10
  undo: bool | None = None,
10
11
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
11
12
  | None = None,
12
- mode: typing.Any | None = "NORMAL",
13
+ mode: str | int | None = "NORMAL",
13
14
  ignore_background_click: bool | typing.Any | None = False,
14
15
  ):
15
16
  """Sculpt a stroke into the geometry
@@ -29,7 +30,7 @@ def brush_stroke(
29
30
 
30
31
  SMOOTH
31
32
  Smooth -- Switch brush to smooth mode for duration of stroke.
32
- :type mode: typing.Any | None
33
+ :type mode: str | int | None
33
34
  :param ignore_background_click: Ignore Background Click, Clicks on the background do not start the stroke
34
35
  :type ignore_background_click: bool | typing.Any | None
35
36
  """
@@ -46,9 +47,9 @@ def cloth_filter(
46
47
  iteration_count: typing.Any | None = 1,
47
48
  event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
48
49
  | None = None,
49
- type: typing.Any | None = "GRAVITY",
50
- force_axis: typing.Any | None = {"X", "Y", "Z"},
51
- orientation: typing.Any | None = "LOCAL",
50
+ type: str | int | None = "GRAVITY",
51
+ force_axis: set[str] | set[int] | None = {"X", "Y", "Z"},
52
+ orientation: str | int | None = "LOCAL",
52
53
  cloth_mass: typing.Any | None = 1.0,
53
54
  cloth_damping: typing.Any | None = 0.0,
54
55
  use_face_sets: bool | typing.Any | None = False,
@@ -84,7 +85,7 @@ def cloth_filter(
84
85
 
85
86
  SCALE
86
87
  Scale -- Scales the mesh as a soft body using the origin of the object as scale.
87
- :type type: typing.Any | None
88
+ :type type: str | int | None
88
89
  :param force_axis: Force Axis, Apply the force in the selected axis
89
90
 
90
91
  X
@@ -95,7 +96,7 @@ def cloth_filter(
95
96
 
96
97
  Z
97
98
  Z -- Apply force in the Z axis.
98
- :type force_axis: typing.Any | None
99
+ :type force_axis: set[str] | set[int] | None
99
100
  :param orientation: Orientation, Orientation of the axis to limit the filter force
100
101
 
101
102
  LOCAL
@@ -106,7 +107,7 @@ def cloth_filter(
106
107
 
107
108
  VIEW
108
109
  View -- Use the view axis to limit the force and set the gravity direction.
109
- :type orientation: typing.Any | None
110
+ :type orientation: str | int | None
110
111
  :param cloth_mass: Cloth Mass, Mass of each simulation particle
111
112
  :type cloth_mass: typing.Any | None
112
113
  :param cloth_damping: Cloth Damping, How much the applied forces are propagated through the cloth
@@ -129,7 +130,7 @@ def color_filter(
129
130
  iteration_count: typing.Any | None = 1,
130
131
  event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
131
132
  | None = None,
132
- type: typing.Any | None = "FILL",
133
+ type: str | int | None = "FILL",
133
134
  fill_color: typing.Any | None = (1.0, 1.0, 1.0),
134
135
  ):
135
136
  """Applies a filter to modify the active color attribute
@@ -177,7 +178,7 @@ def color_filter(
177
178
 
178
179
  BLUE
179
180
  Blue -- Change blue channel.
180
- :type type: typing.Any | None
181
+ :type type: str | int | None
181
182
  :param fill_color: Fill Color
182
183
  :type fill_color: typing.Any | None
183
184
  """
@@ -230,8 +231,8 @@ def expand(
230
231
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
231
232
  execution_context: str | int | None = None,
232
233
  undo: bool | None = None,
233
- target: typing.Any | None = "MASK",
234
- falloff_type: typing.Any | None = "GEODESIC",
234
+ target: str | int | None = "MASK",
235
+ falloff_type: str | int | None = "GEODESIC",
235
236
  invert: bool | typing.Any | None = False,
236
237
  use_mask_preserve: bool | typing.Any | None = False,
237
238
  use_falloff_gradient: bool | typing.Any | None = False,
@@ -247,9 +248,9 @@ def expand(
247
248
  :type execution_context: str | int | None
248
249
  :type undo: bool | None
249
250
  :param target: Data Target, Data that is going to be modified in the expand operation
250
- :type target: typing.Any | None
251
+ :type target: str | int | None
251
252
  :param falloff_type: Falloff Type, Initial falloff of the expand operation
252
- :type falloff_type: typing.Any | None
253
+ :type falloff_type: str | int | None
253
254
  :param invert: Invert, Invert the expand active elements
254
255
  :type invert: bool | typing.Any | None
255
256
  :param use_mask_preserve: Preserve Previous, Preserve the previous state of the target data
@@ -306,7 +307,7 @@ def face_set_change_visibility(
306
307
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
307
308
  execution_context: str | int | None = None,
308
309
  undo: bool | None = None,
309
- mode: typing.Any | None = "TOGGLE",
310
+ mode: str | int | None = "TOGGLE",
310
311
  ):
311
312
  """Change the visibility of the Face Sets of the sculpt
312
313
 
@@ -323,7 +324,7 @@ def face_set_change_visibility(
323
324
 
324
325
  HIDE_ACTIVE
325
326
  Hide Active Face Sets -- Hide Active Face Sets.
326
- :type mode: typing.Any | None
327
+ :type mode: str | int | None
327
328
  """
328
329
 
329
330
  ...
@@ -333,7 +334,7 @@ def face_set_edit(
333
334
  execution_context: str | int | None = None,
334
335
  undo: bool | None = None,
335
336
  active_face_set: typing.Any | None = 1,
336
- mode: typing.Any | None = "GROW",
337
+ mode: str | int | None = "GROW",
337
338
  strength: typing.Any | None = 1.0,
338
339
  modify_hidden: bool | typing.Any | None = True,
339
340
  ):
@@ -360,7 +361,7 @@ def face_set_edit(
360
361
 
361
362
  FAIR_TANGENCY
362
363
  Fair Tangency -- Creates a smooth as possible geometry patch from the Face Set minimizing changes in vertex tangents.
363
- :type mode: typing.Any | None
364
+ :type mode: str | int | None
364
365
  :param strength: Strength
365
366
  :type strength: typing.Any | None
366
367
  :param modify_hidden: Modify Hidden, Apply the edit operation to hidden geometry
@@ -393,7 +394,7 @@ def face_sets_create(
393
394
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
394
395
  execution_context: str | int | None = None,
395
396
  undo: bool | None = None,
396
- mode: typing.Any | None = "MASKED",
397
+ mode: str | int | None = "MASKED",
397
398
  ):
398
399
  """Create a new Face Set
399
400
 
@@ -413,7 +414,7 @@ def face_sets_create(
413
414
 
414
415
  SELECTION
415
416
  Face Set from Edit Mode Selection -- Create an Face Set corresponding to the Edit Mode face selection.
416
- :type mode: typing.Any | None
417
+ :type mode: str | int | None
417
418
  """
418
419
 
419
420
  ...
@@ -422,7 +423,7 @@ def face_sets_init(
422
423
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
423
424
  execution_context: str | int | None = None,
424
425
  undo: bool | None = None,
425
- mode: typing.Any | None = "LOOSE_PARTS",
426
+ mode: str | int | None = "LOOSE_PARTS",
426
427
  threshold: typing.Any | None = 0.5,
427
428
  ):
428
429
  """Initializes all Face Sets in the mesh
@@ -455,7 +456,7 @@ def face_sets_init(
455
456
 
456
457
  FACE_SET_BOUNDARIES
457
458
  Face Sets from Face Set Boundaries -- Create a Face Set per isolated Face Set.
458
- :type mode: typing.Any | None
459
+ :type mode: str | int | None
459
460
  :param threshold: Threshold, Minimum value to consider a certain attribute a boundary when creating the Face Sets
460
461
  :type threshold: typing.Any | None
461
462
  """
@@ -506,7 +507,7 @@ def mask_filter(
506
507
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
507
508
  execution_context: str | int | None = None,
508
509
  undo: bool | None = None,
509
- filter_type: typing.Any | None = "SMOOTH",
510
+ filter_type: str | int | None = "SMOOTH",
510
511
  iterations: typing.Any | None = 1,
511
512
  auto_iteration_count: bool | typing.Any | None = True,
512
513
  ):
@@ -516,7 +517,7 @@ def mask_filter(
516
517
  :type execution_context: str | int | None
517
518
  :type undo: bool | None
518
519
  :param filter_type: Type, Filter that is going to be applied to the mask
519
- :type filter_type: typing.Any | None
520
+ :type filter_type: str | int | None
520
521
  :param iterations: Iterations, Number of times that the filter is going to be applied
521
522
  :type iterations: typing.Any | None
522
523
  :param auto_iteration_count: Auto Iteration Count, Use a automatic number of iterations based on the number of vertices of the sculpt
@@ -529,9 +530,9 @@ def mask_from_cavity(
529
530
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
530
531
  execution_context: str | int | None = None,
531
532
  undo: bool | None = None,
532
- mix_mode: typing.Any | None = "MIX",
533
+ mix_mode: str | int | None = "MIX",
533
534
  mix_factor: typing.Any | None = 1.0,
534
- settings_source: typing.Any | None = "OPERATOR",
535
+ settings_source: str | int | None = "OPERATOR",
535
536
  factor: typing.Any | None = 0.5,
536
537
  blur_steps: typing.Any | None = 2,
537
538
  use_curve: bool | typing.Any | None = False,
@@ -543,7 +544,7 @@ def mask_from_cavity(
543
544
  :type execution_context: str | int | None
544
545
  :type undo: bool | None
545
546
  :param mix_mode: Mode, Mix mode
546
- :type mix_mode: typing.Any | None
547
+ :type mix_mode: str | int | None
547
548
  :param mix_factor: Mix Factor
548
549
  :type mix_factor: typing.Any | None
549
550
  :param settings_source: Settings, Use settings from here
@@ -556,7 +557,7 @@ def mask_from_cavity(
556
557
 
557
558
  SCENE
558
559
  Scene -- Use settings from scene.
559
- :type settings_source: typing.Any | None
560
+ :type settings_source: str | int | None
560
561
  :param factor: Factor, The contrast of the cavity mask
561
562
  :type factor: typing.Any | None
562
563
  :param blur_steps: Blur, The number of times the cavity mask is blurred
@@ -573,7 +574,7 @@ def mask_init(
573
574
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
574
575
  execution_context: str | int | None = None,
575
576
  undo: bool | None = None,
576
- mode: typing.Any | None = "RANDOM_PER_VERTEX",
577
+ mode: str | int | None = "RANDOM_PER_VERTEX",
577
578
  ):
578
579
  """Creates a new mask for the entire mesh
579
580
 
@@ -581,7 +582,7 @@ def mask_init(
581
582
  :type execution_context: str | int | None
582
583
  :type undo: bool | None
583
584
  :param mode: Mode
584
- :type mode: typing.Any | None
585
+ :type mode: str | int | None
585
586
  """
586
587
 
587
588
  ...
@@ -596,9 +597,9 @@ def mesh_filter(
596
597
  iteration_count: typing.Any | None = 1,
597
598
  event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
598
599
  | None = None,
599
- type: typing.Any | None = "INFLATE",
600
- deform_axis: typing.Any | None = {"X", "Y", "Z"},
601
- orientation: typing.Any | None = "LOCAL",
600
+ type: str | int | None = "INFLATE",
601
+ deform_axis: set[str] | set[int] | None = {"X", "Y", "Z"},
602
+ orientation: str | int | None = "LOCAL",
602
603
  surface_smooth_shape_preservation: typing.Any | None = 0.5,
603
604
  surface_smooth_current_vertex: typing.Any | None = 0.5,
604
605
  sharpen_smooth_ratio: typing.Any | None = 0.35,
@@ -653,7 +654,7 @@ def mesh_filter(
653
654
 
654
655
  ERASE_DISCPLACEMENT
655
656
  Erase Displacement -- Deletes the displacement of the Multires Modifier.
656
- :type type: typing.Any | None
657
+ :type type: str | int | None
657
658
  :param deform_axis: Deform Axis, Apply the deformation in the selected axis
658
659
 
659
660
  X
@@ -664,7 +665,7 @@ def mesh_filter(
664
665
 
665
666
  Z
666
667
  Z -- Deform in the Z axis.
667
- :type deform_axis: typing.Any | None
668
+ :type deform_axis: set[str] | set[int] | None
668
669
  :param orientation: Orientation, Orientation of the axis to limit the filter displacement
669
670
 
670
671
  LOCAL
@@ -675,7 +676,7 @@ def mesh_filter(
675
676
 
676
677
  VIEW
677
678
  View -- Use the view axis to limit the displacement.
678
- :type orientation: typing.Any | None
679
+ :type orientation: str | int | None
679
680
  :param surface_smooth_shape_preservation: Shape Preservation, How much of the original shape is preserved when smoothing
680
681
  :type surface_smooth_shape_preservation: typing.Any | None
681
682
  :param surface_smooth_current_vertex: Per Vertex Displacement, How much the position of each individual vertex influences the final result
@@ -761,7 +762,7 @@ def sample_detail_size(
761
762
  execution_context: str | int | None = None,
762
763
  undo: bool | None = None,
763
764
  location: typing.Any | None = (0, 0),
764
- mode: typing.Any | None = "DYNTOPO",
765
+ mode: str | int | None = "DYNTOPO",
765
766
  ):
766
767
  """Sample the mesh detail on clicked point
767
768
 
@@ -777,7 +778,7 @@ def sample_detail_size(
777
778
 
778
779
  VOXEL
779
780
  Voxel -- Sample mesh voxel size.
780
- :type mode: typing.Any | None
781
+ :type mode: str | int | None
781
782
  """
782
783
 
783
784
  ...
@@ -814,7 +815,7 @@ def set_pivot_position(
814
815
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
815
816
  execution_context: str | int | None = None,
816
817
  undo: bool | None = None,
817
- mode: typing.Any | None = "UNMASKED",
818
+ mode: str | int | None = "UNMASKED",
818
819
  mouse_x: typing.Any | None = 0.0,
819
820
  mouse_y: typing.Any | None = 0.0,
820
821
  ):
@@ -839,7 +840,7 @@ def set_pivot_position(
839
840
 
840
841
  SURFACE
841
842
  Surface -- Sets the pivot position to the surface under the cursor.
842
- :type mode: typing.Any | None
843
+ :type mode: str | int | None
843
844
  :param mouse_x: Mouse Position X, Position of the mouse used for "Surface" mode
844
845
  :type mouse_x: typing.Any | None
845
846
  :param mouse_y: Mouse Position Y, Position of the mouse used for "Surface" mode
@@ -876,11 +877,11 @@ def trim_box_gesture(
876
877
  wait_for_input: bool | typing.Any | None = True,
877
878
  use_front_faces_only: bool | typing.Any | None = False,
878
879
  location: typing.Any | None = (0, 0),
879
- trim_mode: typing.Any | None = "DIFFERENCE",
880
+ trim_mode: str | int | None = "DIFFERENCE",
880
881
  use_cursor_depth: bool | typing.Any | None = False,
881
- trim_orientation: typing.Any | None = "VIEW",
882
- trim_extrude_mode: typing.Any | None = "FIXED",
883
- trim_solver: typing.Any | None = "FAST",
882
+ trim_orientation: str | int | None = "VIEW",
883
+ trim_extrude_mode: str | int | None = "FIXED",
884
+ trim_solver: str | int | None = "FAST",
884
885
  ):
885
886
  """Execute a boolean operation on the mesh and a rectangle defined by the cursor
886
887
 
@@ -911,7 +912,7 @@ def trim_box_gesture(
911
912
 
912
913
  JOIN
913
914
  Join -- Join the new mesh as separate geometry, without performing any boolean operation.
914
- :type trim_mode: typing.Any | None
915
+ :type trim_mode: str | int | None
915
916
  :param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
916
917
  :type use_cursor_depth: bool | typing.Any | None
917
918
  :param trim_orientation: Shape Orientation
@@ -921,7 +922,7 @@ def trim_box_gesture(
921
922
 
922
923
  SURFACE
923
924
  Surface -- Use the surface normal to orientate the trimming shape.
924
- :type trim_orientation: typing.Any | None
925
+ :type trim_orientation: str | int | None
925
926
  :param trim_extrude_mode: Extrude Mode
926
927
 
927
928
  PROJECT
@@ -929,7 +930,7 @@ def trim_box_gesture(
929
930
 
930
931
  FIXED
931
932
  Fixed -- Extrude back faces by fixed amount.
932
- :type trim_extrude_mode: typing.Any | None
933
+ :type trim_extrude_mode: str | int | None
933
934
  :param trim_solver: Solver
934
935
 
935
936
  EXACT
@@ -937,7 +938,7 @@ def trim_box_gesture(
937
938
 
938
939
  FAST
939
940
  Fast -- Use the fast float boolean solver.
940
- :type trim_solver: typing.Any | None
941
+ :type trim_solver: str | int | None
941
942
  """
942
943
 
943
944
  ...
@@ -949,11 +950,11 @@ def trim_lasso_gesture(
949
950
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
950
951
  use_front_faces_only: bool | typing.Any | None = False,
951
952
  location: typing.Any | None = (0, 0),
952
- trim_mode: typing.Any | None = "DIFFERENCE",
953
+ trim_mode: str | int | None = "DIFFERENCE",
953
954
  use_cursor_depth: bool | typing.Any | None = False,
954
- trim_orientation: typing.Any | None = "VIEW",
955
- trim_extrude_mode: typing.Any | None = "FIXED",
956
- trim_solver: typing.Any | None = "FAST",
955
+ trim_orientation: str | int | None = "VIEW",
956
+ trim_extrude_mode: str | int | None = "FIXED",
957
+ trim_solver: str | int | None = "FAST",
957
958
  ):
958
959
  """Execute a boolean operation on the mesh and a shape defined by the cursor
959
960
 
@@ -976,7 +977,7 @@ def trim_lasso_gesture(
976
977
 
977
978
  JOIN
978
979
  Join -- Join the new mesh as separate geometry, without performing any boolean operation.
979
- :type trim_mode: typing.Any | None
980
+ :type trim_mode: str | int | None
980
981
  :param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
981
982
  :type use_cursor_depth: bool | typing.Any | None
982
983
  :param trim_orientation: Shape Orientation
@@ -986,7 +987,7 @@ def trim_lasso_gesture(
986
987
 
987
988
  SURFACE
988
989
  Surface -- Use the surface normal to orientate the trimming shape.
989
- :type trim_orientation: typing.Any | None
990
+ :type trim_orientation: str | int | None
990
991
  :param trim_extrude_mode: Extrude Mode
991
992
 
992
993
  PROJECT
@@ -994,7 +995,7 @@ def trim_lasso_gesture(
994
995
 
995
996
  FIXED
996
997
  Fixed -- Extrude back faces by fixed amount.
997
- :type trim_extrude_mode: typing.Any | None
998
+ :type trim_extrude_mode: str | int | None
998
999
  :param trim_solver: Solver
999
1000
 
1000
1001
  EXACT
@@ -1002,7 +1003,7 @@ def trim_lasso_gesture(
1002
1003
 
1003
1004
  FAST
1004
1005
  Fast -- Use the fast float boolean solver.
1005
- :type trim_solver: typing.Any | None
1006
+ :type trim_solver: str | int | None
1006
1007
  """
1007
1008
 
1008
1009
  ...
@@ -1020,11 +1021,11 @@ def trim_line_gesture(
1020
1021
  use_front_faces_only: bool | typing.Any | None = False,
1021
1022
  use_limit_to_segment: bool | typing.Any | None = False,
1022
1023
  location: typing.Any | None = (0, 0),
1023
- trim_mode: typing.Any | None = "DIFFERENCE",
1024
+ trim_mode: str | int | None = "DIFFERENCE",
1024
1025
  use_cursor_depth: bool | typing.Any | None = False,
1025
- trim_orientation: typing.Any | None = "VIEW",
1026
- trim_extrude_mode: typing.Any | None = "FIXED",
1027
- trim_solver: typing.Any | None = "FAST",
1026
+ trim_orientation: str | int | None = "VIEW",
1027
+ trim_extrude_mode: str | int | None = "FIXED",
1028
+ trim_solver: str | int | None = "FAST",
1028
1029
  ):
1029
1030
  """Remove a portion of the mesh on one side of a line
1030
1031
 
@@ -1059,7 +1060,7 @@ def trim_line_gesture(
1059
1060
 
1060
1061
  JOIN
1061
1062
  Join -- Join the new mesh as separate geometry, without performing any boolean operation.
1062
- :type trim_mode: typing.Any | None
1063
+ :type trim_mode: str | int | None
1063
1064
  :param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
1064
1065
  :type use_cursor_depth: bool | typing.Any | None
1065
1066
  :param trim_orientation: Shape Orientation
@@ -1069,7 +1070,7 @@ def trim_line_gesture(
1069
1070
 
1070
1071
  SURFACE
1071
1072
  Surface -- Use the surface normal to orientate the trimming shape.
1072
- :type trim_orientation: typing.Any | None
1073
+ :type trim_orientation: str | int | None
1073
1074
  :param trim_extrude_mode: Extrude Mode
1074
1075
 
1075
1076
  PROJECT
@@ -1077,7 +1078,7 @@ def trim_line_gesture(
1077
1078
 
1078
1079
  FIXED
1079
1080
  Fixed -- Extrude back faces by fixed amount.
1080
- :type trim_extrude_mode: typing.Any | None
1081
+ :type trim_extrude_mode: str | int | None
1081
1082
  :param trim_solver: Solver
1082
1083
 
1083
1084
  EXACT
@@ -1085,7 +1086,7 @@ def trim_line_gesture(
1085
1086
 
1086
1087
  FAST
1087
1088
  Fast -- Use the fast float boolean solver.
1088
- :type trim_solver: typing.Any | None
1089
+ :type trim_solver: str | int | None
1089
1090
  """
1090
1091
 
1091
1092
  ...
@@ -1129,7 +1130,7 @@ def uv_sculpt_relax(
1129
1130
  execution_context: str | int | None = None,
1130
1131
  undo: bool | None = None,
1131
1132
  use_invert: bool | typing.Any | None = False,
1132
- relax_method: typing.Any | None = "COTAN",
1133
+ relax_method: str | int | None = "COTAN",
1133
1134
  ):
1134
1135
  """Relax UVs
1135
1136
 
@@ -1148,7 +1149,7 @@ def uv_sculpt_relax(
1148
1149
 
1149
1150
  COTAN
1150
1151
  Geometry -- Use Geometry (cotangent) relaxation, making UVs follow the underlying 3D geometry.
1151
- :type relax_method: typing.Any | None
1152
+ :type relax_method: str | int | None
1152
1153
  """
1153
1154
 
1154
1155
  ...
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def brush_stroke(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -9,7 +10,7 @@ def brush_stroke(
9
10
  undo: bool | None = None,
10
11
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
11
12
  | None = None,
12
- mode: typing.Any | None = "NORMAL",
13
+ mode: str | int | None = "NORMAL",
13
14
  ):
14
15
  """Sculpt curves using a brush
15
16
 
@@ -28,7 +29,7 @@ def brush_stroke(
28
29
 
29
30
  SMOOTH
30
31
  Smooth -- Switch brush to smooth mode for duration of stroke.
31
- :type mode: typing.Any | None
32
+ :type mode: str | int | None
32
33
  """
33
34
 
34
35
  ...