fake-bpy-module 20240210__py3-none-any.whl → 20240326__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 (309) hide show
  1. addon_utils/__init__.pyi +54 -11
  2. animsys_refactor/__init__.pyi +36 -7
  3. aud/__init__.pyi +307 -321
  4. bgl/__init__.pyi +2926 -865
  5. bl_app_override/__init__.pyi +14 -4
  6. bl_app_override/helpers/__init__.pyi +24 -3
  7. bl_app_template_utils/__init__.pyi +19 -5
  8. bl_console_utils/__init__.pyi +0 -1
  9. bl_console_utils/autocomplete/__init__.pyi +2 -3
  10. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
  11. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
  12. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
  13. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
  14. bl_i18n_utils/__init__.pyi +2 -3
  15. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
  16. bl_i18n_utils/merge_po/__init__.pyi +4 -2
  17. bl_i18n_utils/settings/__init__.pyi +53 -7
  18. bl_i18n_utils/utils/__init__.pyi +332 -45
  19. bl_i18n_utils/utils_cli/__init__.pyi +29 -7
  20. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
  21. bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
  22. bl_keymap_utils/__init__.pyi +2 -3
  23. bl_keymap_utils/io/__init__.pyi +44 -10
  24. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
  25. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
  26. bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
  27. bl_keymap_utils/versioning/__init__.pyi +4 -2
  28. bl_math/__init__.pyi +21 -22
  29. bl_operators/__init__.pyi +30 -24
  30. bl_operators/add_mesh_torus/__init__.pyi +171 -38
  31. bl_operators/anim/__init__.pyi +1065 -227
  32. bl_operators/assets/__init__.pyi +427 -93
  33. bl_operators/bmesh/__init__.pyi +0 -1
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
  35. bl_operators/clip/__init__.pyi +1342 -288
  36. bl_operators/console/__init__.pyi +647 -141
  37. bl_operators/constraint/__init__.pyi +524 -113
  38. bl_operators/file/__init__.pyi +396 -85
  39. bl_operators/freestyle/__init__.pyi +532 -114
  40. bl_operators/geometry_nodes/__init__.pyi +2412 -597
  41. bl_operators/image/__init__.pyi +380 -83
  42. bl_operators/mesh/__init__.pyi +401 -86
  43. bl_operators/node/__init__.pyi +1756 -385
  44. bl_operators/object/__init__.pyi +2022 -553
  45. bl_operators/object_align/__init__.pyi +145 -32
  46. bl_operators/object_quick_effects/__init__.pyi +555 -125
  47. bl_operators/object_randomize_transform/__init__.pyi +136 -33
  48. bl_operators/presets/__init__.pyi +3516 -709
  49. bl_operators/rigidbody/__init__.pyi +401 -86
  50. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
  51. bl_operators/sequencer/__init__.pyi +731 -150
  52. bl_operators/spreadsheet/__init__.pyi +145 -31
  53. bl_operators/userpref/__init__.pyi +3416 -825
  54. bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
  55. bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
  56. bl_operators/uvcalc_transform/__init__.pyi +344 -74
  57. bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
  58. bl_operators/view3d/__init__.pyi +697 -147
  59. bl_operators/wm/__init__.pyi +6287 -1534
  60. bl_previews_utils/__init__.pyi +0 -1
  61. bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
  62. bl_rna_utils/__init__.pyi +0 -1
  63. bl_rna_utils/data_path/__init__.pyi +12 -3
  64. bl_text_utils/__init__.pyi +0 -1
  65. bl_text_utils/external_editor/__init__.pyi +4 -2
  66. bl_ui/__init__.pyi +567 -170
  67. bl_ui/anim/__init__.pyi +164 -34
  68. bl_ui/asset_shelf/__init__.pyi +146 -32
  69. bl_ui/generic_ui_list/__init__.pyi +471 -100
  70. bl_ui/node_add_menu/__init__.pyi +196 -41
  71. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
  72. bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
  73. bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
  74. bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
  75. bl_ui/properties_animviz/__init__.pyi +32 -3
  76. bl_ui/properties_collection/__init__.pyi +787 -180
  77. bl_ui/properties_constraint/__init__.pyi +28635 -5524
  78. bl_ui/properties_data_armature/__init__.pyi +1905 -449
  79. bl_ui/properties_data_bone/__init__.pyi +1560 -337
  80. bl_ui/properties_data_camera/__init__.pyi +2269 -495
  81. bl_ui/properties_data_curve/__init__.pyi +2362 -535
  82. bl_ui/properties_data_curves/__init__.pyi +951 -204
  83. bl_ui/properties_data_empty/__init__.pyi +317 -70
  84. bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
  85. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
  86. bl_ui/properties_data_lattice/__init__.pyi +472 -105
  87. bl_ui/properties_data_light/__init__.pyi +1570 -338
  88. bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
  89. bl_ui/properties_data_mesh/__init__.pyi +3205 -768
  90. bl_ui/properties_data_metaball/__init__.pyi +774 -171
  91. bl_ui/properties_data_modifier/__init__.pyi +1554 -329
  92. bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
  93. bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
  94. bl_ui/properties_data_speaker/__init__.pyi +782 -169
  95. bl_ui/properties_data_volume/__init__.pyi +1243 -282
  96. bl_ui/properties_freestyle/__init__.pyi +4071 -1031
  97. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
  98. bl_ui/properties_mask_common/__init__.pyi +1256 -250
  99. bl_ui/properties_material/__init__.pyi +2351 -543
  100. bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
  101. bl_ui/properties_object/__init__.pyi +2179 -513
  102. bl_ui/properties_output/__init__.pyi +2956 -706
  103. bl_ui/properties_paint_common/__init__.pyi +947 -141
  104. bl_ui/properties_particle/__init__.pyi +8322 -1971
  105. bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
  106. bl_ui/properties_physics_common/__init__.pyi +200 -45
  107. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
  108. bl_ui/properties_physics_field/__init__.pyi +1695 -365
  109. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
  110. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
  111. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
  112. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
  113. bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
  114. bl_ui/properties_render/__init__.pyi +8312 -1934
  115. bl_ui/properties_scene/__init__.pyi +2211 -540
  116. bl_ui/properties_texture/__init__.pyi +4185 -1014
  117. bl_ui/properties_view_layer/__init__.pyi +2803 -665
  118. bl_ui/properties_workspace/__init__.pyi +626 -149
  119. bl_ui/properties_world/__init__.pyi +1092 -235
  120. bl_ui/space_clip/__init__.pyi +11475 -2806
  121. bl_ui/space_console/__init__.pyi +967 -203
  122. bl_ui/space_dopesheet/__init__.pyi +4260 -967
  123. bl_ui/space_filebrowser/__init__.pyi +4852 -1188
  124. bl_ui/space_graph/__init__.pyi +3251 -703
  125. bl_ui/space_image/__init__.pyi +12218 -2968
  126. bl_ui/space_info/__init__.pyi +964 -201
  127. bl_ui/space_nla/__init__.pyi +2756 -585
  128. bl_ui/space_node/__init__.pyi +5661 -1266
  129. bl_ui/space_outliner/__init__.pyi +2294 -479
  130. bl_ui/space_properties/__init__.pyi +417 -93
  131. bl_ui/space_sequencer/__init__.pyi +12436 -3010
  132. bl_ui/space_spreadsheet/__init__.pyi +184 -37
  133. bl_ui/space_statusbar/__init__.pyi +135 -31
  134. bl_ui/space_text/__init__.pyi +2556 -543
  135. bl_ui/space_time/__init__.pyi +1151 -244
  136. bl_ui/space_toolsystem_common/__init__.pyi +368 -67
  137. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
  138. bl_ui/space_topbar/__init__.pyi +4214 -888
  139. bl_ui/space_userpref/__init__.pyi +13920 -3468
  140. bl_ui/space_view3d/__init__.pyi +42751 -9613
  141. bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
  142. bl_ui/utils/__init__.pyi +42 -5
  143. bl_ui_utils/__init__.pyi +0 -1
  144. bl_ui_utils/bug_report_url/__init__.pyi +4 -2
  145. bl_ui_utils/layout/__init__.pyi +4 -2
  146. blend_render_info/__init__.pyi +13 -4
  147. blf/__init__.pyi +15 -18
  148. bmesh/__init__.pyi +18 -18
  149. bmesh/geometry/__init__.pyi +5 -6
  150. bmesh/ops/__init__.pyi +1337 -1158
  151. bmesh/types/__init__.pyi +464 -374
  152. bmesh/utils/__init__.pyi +64 -70
  153. bpy/__init__.pyi +6 -7
  154. bpy/app/__init__.pyi +36 -38
  155. bpy/app/handlers/__init__.pyi +37 -38
  156. bpy/app/icons/__init__.pyi +8 -11
  157. bpy/app/timers/__init__.pyi +18 -17
  158. bpy/app/translations/__init__.pyi +32 -30
  159. bpy/msgbus/__init__.pyi +25 -20
  160. bpy/ops/__init__.pyi +63 -64
  161. bpy/ops/action/__init__.pyi +408 -436
  162. bpy/ops/anim/__init__.pyi +459 -577
  163. bpy/ops/armature/__init__.pyi +396 -498
  164. bpy/ops/asset/__init__.pyi +187 -213
  165. bpy/ops/boid/__init__.pyi +50 -68
  166. bpy/ops/brush/__init__.pyi +72 -97
  167. bpy/ops/buttons/__init__.pyi +202 -193
  168. bpy/ops/cachefile/__init__.pyi +198 -188
  169. bpy/ops/camera/__init__.pyi +24 -31
  170. bpy/ops/clip/__init__.pyi +1021 -1082
  171. bpy/ops/cloth/__init__.pyi +11 -15
  172. bpy/ops/collection/__init__.pyi +36 -51
  173. bpy/ops/console/__init__.pyi +155 -209
  174. bpy/ops/constraint/__init__.pyi +286 -254
  175. bpy/ops/curve/__init__.pyi +597 -659
  176. bpy/ops/curves/__init__.pyi +191 -225
  177. bpy/ops/cycles/__init__.pyi +21 -30
  178. bpy/ops/dpaint/__init__.pyi +34 -47
  179. bpy/ops/ed/__init__.pyi +160 -176
  180. bpy/ops/export_anim/__init__.pyi +51 -34
  181. bpy/ops/export_mesh/__init__.pyi +47 -45
  182. bpy/ops/export_scene/__init__.pyi +659 -504
  183. bpy/ops/file/__init__.pyi +469 -474
  184. bpy/ops/fluid/__init__.pyi +89 -119
  185. bpy/ops/font/__init__.pyi +325 -361
  186. bpy/ops/geometry/__init__.pyi +86 -114
  187. bpy/ops/gizmogroup/__init__.pyi +22 -28
  188. bpy/ops/gpencil/__init__.pyi +1900 -1976
  189. bpy/ops/graph/__init__.pyi +875 -894
  190. bpy/ops/grease_pencil/__init__.pyi +572 -508
  191. bpy/ops/image/__init__.pyi +805 -855
  192. bpy/ops/import_anim/__init__.pyi +66 -46
  193. bpy/ops/import_curve/__init__.pyi +7 -11
  194. bpy/ops/import_mesh/__init__.pyi +19 -25
  195. bpy/ops/import_scene/__init__.pyi +164 -147
  196. bpy/ops/info/__init__.pyi +88 -85
  197. bpy/ops/lattice/__init__.pyi +86 -90
  198. bpy/ops/marker/__init__.pyi +135 -146
  199. bpy/ops/mask/__init__.pyi +372 -436
  200. bpy/ops/material/__init__.pyi +18 -25
  201. bpy/ops/mball/__init__.pyi +93 -99
  202. bpy/ops/mesh/__init__.pyi +2525 -2664
  203. bpy/ops/nla/__init__.pyi +398 -455
  204. bpy/ops/node/__init__.pyi +1015 -1207
  205. bpy/ops/object/__init__.pyi +3423 -3390
  206. bpy/ops/outliner/__init__.pyi +667 -685
  207. bpy/ops/paint/__init__.pyi +719 -672
  208. bpy/ops/paintcurve/__init__.pyi +64 -85
  209. bpy/ops/palette/__init__.pyi +48 -67
  210. bpy/ops/particle/__init__.pyi +323 -367
  211. bpy/ops/pose/__init__.pyi +569 -474
  212. bpy/ops/poselib/__init__.pyi +77 -100
  213. bpy/ops/preferences/__init__.pyi +460 -512
  214. bpy/ops/ptcache/__init__.pyi +46 -63
  215. bpy/ops/render/__init__.pyi +121 -155
  216. bpy/ops/rigidbody/__init__.pyi +148 -143
  217. bpy/ops/scene/__init__.pyi +336 -380
  218. bpy/ops/screen/__init__.pyi +454 -530
  219. bpy/ops/script/__init__.pyi +19 -28
  220. bpy/ops/sculpt/__init__.pyi +734 -587
  221. bpy/ops/sculpt_curves/__init__.pyi +51 -56
  222. bpy/ops/sequencer/__init__.pyi +1617 -1500
  223. bpy/ops/sound/__init__.pyi +392 -315
  224. bpy/ops/spreadsheet/__init__.pyi +31 -42
  225. bpy/ops/surface/__init__.pyi +198 -163
  226. bpy/ops/text/__init__.pyi +479 -545
  227. bpy/ops/text_editor/__init__.pyi +11 -15
  228. bpy/ops/texture/__init__.pyi +26 -36
  229. bpy/ops/transform/__init__.pyi +825 -941
  230. bpy/ops/ui/__init__.pyi +246 -295
  231. bpy/ops/uilist/__init__.pyi +34 -38
  232. bpy/ops/uv/__init__.pyi +912 -824
  233. bpy/ops/view2d/__init__.pyi +157 -197
  234. bpy/ops/view3d/__init__.pyi +777 -878
  235. bpy/ops/wm/__init__.pyi +4102 -3595
  236. bpy/ops/workspace/__init__.pyi +42 -58
  237. bpy/ops/world/__init__.pyi +6 -9
  238. bpy/path/__init__.pyi +166 -109
  239. bpy/props/__init__.pyi +478 -395
  240. bpy/types/__init__.pyi +87194 -81467
  241. bpy/utils/__init__.pyi +325 -169
  242. bpy/utils/previews/__init__.pyi +108 -21
  243. bpy/utils/units/__init__.pyi +37 -39
  244. bpy_extras/__init__.pyi +4 -9
  245. bpy_extras/anim_utils/__init__.pyi +25 -55
  246. bpy_extras/asset_utils/__init__.pyi +3 -13
  247. bpy_extras/id_map_utils/__init__.pyi +1 -4
  248. bpy_extras/image_utils/__init__.pyi +33 -23
  249. bpy_extras/io_utils/__init__.pyi +116 -66
  250. bpy_extras/keyconfig_utils/__init__.pyi +5 -3
  251. bpy_extras/mesh_utils/__init__.pyi +42 -34
  252. bpy_extras/node_utils/__init__.pyi +4 -4
  253. bpy_extras/object_utils/__init__.pyi +58 -43
  254. bpy_extras/view3d_utils/__init__.pyi +64 -63
  255. bpy_restrict_state/__init__.pyi +14 -2
  256. bpy_types/__init__.pyi +3873 -998
  257. console_python/__init__.pyi +41 -8
  258. console_shell/__init__.pyi +24 -6
  259. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  260. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  261. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  262. freestyle/__init__.pyi +4 -5
  263. freestyle/chainingiterators/__init__.pyi +229 -73
  264. freestyle/functions/__init__.pyi +624 -402
  265. freestyle/predicates/__init__.pyi +381 -169
  266. freestyle/shaders/__init__.pyi +424 -155
  267. freestyle/types/__init__.pyi +1572 -726
  268. freestyle/utils/ContextFunctions/__init__.pyi +54 -43
  269. freestyle/utils/__init__.pyi +67 -31
  270. gpu/__init__.pyi +3 -4
  271. gpu/capabilities/__init__.pyi +57 -37
  272. gpu/matrix/__init__.pyi +14 -17
  273. gpu/platform/__init__.pyi +5 -6
  274. gpu/select/__init__.pyi +2 -5
  275. gpu/shader/__init__.pyi +14 -12
  276. gpu/state/__init__.pyi +48 -62
  277. gpu/texture/__init__.pyi +7 -7
  278. gpu/types/__init__.pyi +670 -229
  279. gpu_extras/__init__.pyi +1 -2
  280. gpu_extras/batch/__init__.pyi +27 -6
  281. gpu_extras/presets/__init__.pyi +67 -27
  282. graphviz_export/__init__.pyi +9 -3
  283. idprop/__init__.pyi +0 -1
  284. idprop/types/__init__.pyi +42 -13
  285. imbuf/__init__.pyi +6 -10
  286. imbuf/types/__init__.pyi +8 -16
  287. keyingsets_builtins/__init__.pyi +3149 -702
  288. keyingsets_utils/__init__.pyi +69 -15
  289. mathutils/__init__.pyi +951 -876
  290. mathutils/bvhtree/__init__.pyi +47 -48
  291. mathutils/geometry/__init__.pyi +237 -242
  292. mathutils/interpolate/__init__.pyi +3 -6
  293. mathutils/kdtree/__init__.pyi +23 -26
  294. mathutils/noise/__init__.pyi +50 -51
  295. nodeitems_builtins/__init__.pyi +50 -11
  296. nodeitems_utils/__init__.pyi +58 -11
  297. rna_info/__init__.pyi +230 -27
  298. rna_keymap_ui/__init__.pyi +29 -7
  299. rna_prop_ui/__init__.pyi +69 -13
  300. rna_xml/__init__.pyi +29 -7
  301. sys_info/__init__.pyi +4 -2
  302. bpy_extras/bmesh_utils/__init__.pyi +0 -7
  303. bpy_extras/extensions/__init__.pyi +0 -5
  304. bpy_extras/extensions/junction_module/__init__.pyi +0 -13
  305. bpy_extras/node_shader_utils/__init__.pyi +0 -132
  306. bpy_extras/wm_utils/__init__.pyi +0 -5
  307. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
  308. fake_bpy_module-20240210.dist-info/RECORD +0 -349
  309. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -1,372 +1,440 @@
1
- import sys
2
1
  import typing
3
2
  import bpy.types
4
3
 
5
4
  GenericType = typing.TypeVar("GenericType")
6
5
 
7
6
  def add_simple_uvs(
8
- override_context: typing.Optional[
9
- typing.Union[typing.Dict, "bpy.types.Context"]
10
- ] = None,
11
- execution_context: typing.Optional[typing.Union[str, int]] = None,
12
- undo: typing.Optional[bool] = None,
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
13
10
  ):
14
11
  """Add cube map UVs on mesh
15
12
 
16
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
17
- :type execution_context: typing.Optional[typing.Union[str, int]]
18
- :type undo: typing.Optional[bool]
13
+ :type override_context: typing.Union[dict, bpy.types.Context]
14
+ :type execution_context: typing.Union[str, int]
15
+ :type undo: bool
19
16
  """
20
17
 
21
18
  ...
22
19
 
23
20
  def add_texture_paint_slot(
24
- override_context: typing.Optional[
25
- typing.Union[typing.Dict, "bpy.types.Context"]
26
- ] = None,
27
- execution_context: typing.Optional[typing.Union[str, int]] = None,
28
- undo: typing.Optional[bool] = None,
29
- *,
30
- type: typing.Optional[typing.Any] = "BASE_COLOR",
31
- slot_type: typing.Optional[typing.Any] = "IMAGE",
21
+ override_context: typing.Union[dict, bpy.types.Context] = None,
22
+ execution_context: typing.Union[str, int] = None,
23
+ undo: bool = None,
24
+ type: typing.Any = "BASE_COLOR",
25
+ slot_type: typing.Any = "IMAGE",
32
26
  name: typing.Union[str, typing.Any] = "Untitled",
33
- color: typing.Optional[typing.Any] = (0.0, 0.0, 0.0, 1.0),
34
- width: typing.Optional[typing.Any] = 1024,
35
- height: typing.Optional[typing.Any] = 1024,
36
- alpha: typing.Optional[typing.Union[bool, typing.Any]] = True,
37
- generated_type: typing.Optional[typing.Union[str, int]] = "BLANK",
38
- float: typing.Optional[typing.Union[bool, typing.Any]] = False,
39
- domain: typing.Optional[typing.Union[str, int]] = "POINT",
40
- data_type: typing.Optional[typing.Union[str, int]] = "FLOAT_COLOR",
27
+ color: typing.Any = (0.0, 0.0, 0.0, 1.0),
28
+ width: typing.Any = 1024,
29
+ height: typing.Any = 1024,
30
+ alpha: typing.Union[bool, typing.Any] = True,
31
+ generated_type: typing.Any = "BLANK",
32
+ float: typing.Union[bool, typing.Any] = False,
33
+ domain: typing.Any = "POINT",
34
+ data_type: typing.Any = "FLOAT_COLOR",
41
35
  ):
42
36
  """Add a paint slot
43
37
 
44
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
45
- :type execution_context: typing.Optional[typing.Union[str, int]]
46
- :type undo: typing.Optional[bool]
38
+ :type override_context: typing.Union[dict, bpy.types.Context]
39
+ :type execution_context: typing.Union[str, int]
40
+ :type undo: bool
47
41
  :param type: Material Layer Type, Material layer type of new paint slot
48
- :type type: typing.Optional[typing.Any]
42
+ :type type: typing.Any
49
43
  :param slot_type: Slot Type, Type of new paint slot
50
- :type slot_type: typing.Optional[typing.Any]
44
+ :type slot_type: typing.Any
51
45
  :param name: Name, Name for new paint slot source
52
46
  :type name: typing.Union[str, typing.Any]
53
47
  :param color: Color, Default fill color
54
- :type color: typing.Optional[typing.Any]
48
+ :type color: typing.Any
55
49
  :param width: Width, Image width
56
- :type width: typing.Optional[typing.Any]
50
+ :type width: typing.Any
57
51
  :param height: Height, Image height
58
- :type height: typing.Optional[typing.Any]
52
+ :type height: typing.Any
59
53
  :param alpha: Alpha, Create an image with an alpha channel
60
- :type alpha: typing.Optional[typing.Union[bool, typing.Any]]
54
+ :type alpha: typing.Union[bool, typing.Any]
61
55
  :param generated_type: Generated Type, Fill the image with a grid for UV map testing
62
- :type generated_type: typing.Optional[typing.Union[str, int]]
56
+ :type generated_type: typing.Any
63
57
  :param float: 32-bit Float, Create image with 32-bit floating-point bit depth
64
- :type float: typing.Optional[typing.Union[bool, typing.Any]]
58
+ :type float: typing.Union[bool, typing.Any]
65
59
  :param domain: Domain, Type of element that attribute is stored on
66
- :type domain: typing.Optional[typing.Union[str, int]]
60
+ :type domain: typing.Any
67
61
  :param data_type: Data Type, Type of data stored in attribute
68
- :type data_type: typing.Optional[typing.Union[str, int]]
62
+ :type data_type: typing.Any
69
63
  """
70
64
 
71
65
  ...
72
66
 
73
67
  def brush_colors_flip(
74
- override_context: typing.Optional[
75
- typing.Union[typing.Dict, "bpy.types.Context"]
76
- ] = None,
77
- execution_context: typing.Optional[typing.Union[str, int]] = None,
78
- undo: typing.Optional[bool] = None,
68
+ override_context: typing.Union[dict, bpy.types.Context] = None,
69
+ execution_context: typing.Union[str, int] = None,
70
+ undo: bool = None,
79
71
  ):
80
72
  """Swap primary and secondary brush colors
81
73
 
82
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
83
- :type execution_context: typing.Optional[typing.Union[str, int]]
84
- :type undo: typing.Optional[bool]
74
+ :type override_context: typing.Union[dict, bpy.types.Context]
75
+ :type execution_context: typing.Union[str, int]
76
+ :type undo: bool
85
77
  """
86
78
 
87
79
  ...
88
80
 
89
81
  def brush_select(
90
- override_context: typing.Optional[
91
- typing.Union[typing.Dict, "bpy.types.Context"]
92
- ] = None,
93
- execution_context: typing.Optional[typing.Union[str, int]] = None,
94
- undo: typing.Optional[bool] = None,
95
- *,
96
- sculpt_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
97
- vertex_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
98
- weight_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
99
- image_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
100
- gpencil_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
101
- gpencil_vertex_tool: typing.Optional[typing.Union[str, int]] = "DRAW",
102
- gpencil_sculpt_tool: typing.Optional[typing.Union[str, int]] = "SMOOTH",
103
- gpencil_weight_tool: typing.Optional[typing.Union[str, int]] = "WEIGHT",
104
- curves_sculpt_tool: typing.Optional[typing.Union[str, int]] = "COMB",
105
- toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
106
- create_missing: typing.Optional[typing.Union[bool, typing.Any]] = False,
82
+ override_context: typing.Union[dict, bpy.types.Context] = None,
83
+ execution_context: typing.Union[str, int] = None,
84
+ undo: bool = None,
85
+ sculpt_tool: typing.Any = "DRAW",
86
+ vertex_tool: typing.Any = "DRAW",
87
+ weight_tool: typing.Any = "DRAW",
88
+ image_tool: typing.Any = "DRAW",
89
+ gpencil_tool: typing.Any = "DRAW",
90
+ gpencil_vertex_tool: typing.Any = "DRAW",
91
+ gpencil_sculpt_tool: typing.Any = "SMOOTH",
92
+ gpencil_weight_tool: typing.Any = "WEIGHT",
93
+ curves_sculpt_tool: typing.Any = "COMB",
94
+ toggle: typing.Union[bool, typing.Any] = False,
95
+ create_missing: typing.Union[bool, typing.Any] = False,
107
96
  ):
108
97
  """Select a paint mode's brush by tool type
109
98
 
110
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
111
- :type execution_context: typing.Optional[typing.Union[str, int]]
112
- :type undo: typing.Optional[bool]
99
+ :type override_context: typing.Union[dict, bpy.types.Context]
100
+ :type execution_context: typing.Union[str, int]
101
+ :type undo: bool
113
102
  :param sculpt_tool: sculpt_tool
114
- :type sculpt_tool: typing.Optional[typing.Union[str, int]]
103
+ :type sculpt_tool: typing.Any
115
104
  :param vertex_tool: vertex_tool
116
- :type vertex_tool: typing.Optional[typing.Union[str, int]]
105
+ :type vertex_tool: typing.Any
117
106
  :param weight_tool: weight_tool
118
- :type weight_tool: typing.Optional[typing.Union[str, int]]
107
+ :type weight_tool: typing.Any
119
108
  :param image_tool: image_tool
120
- :type image_tool: typing.Optional[typing.Union[str, int]]
109
+ :type image_tool: typing.Any
121
110
  :param gpencil_tool: gpencil_tool
122
- :type gpencil_tool: typing.Optional[typing.Union[str, int]]
111
+ :type gpencil_tool: typing.Any
123
112
  :param gpencil_vertex_tool: gpencil_vertex_tool
124
- :type gpencil_vertex_tool: typing.Optional[typing.Union[str, int]]
113
+ :type gpencil_vertex_tool: typing.Any
125
114
  :param gpencil_sculpt_tool: gpencil_sculpt_tool
126
- :type gpencil_sculpt_tool: typing.Optional[typing.Union[str, int]]
115
+ :type gpencil_sculpt_tool: typing.Any
127
116
  :param gpencil_weight_tool: gpencil_weight_tool
128
- :type gpencil_weight_tool: typing.Optional[typing.Union[str, int]]
117
+ :type gpencil_weight_tool: typing.Any
129
118
  :param curves_sculpt_tool: curves_sculpt_tool
130
- :type curves_sculpt_tool: typing.Optional[typing.Union[str, int]]
119
+ :type curves_sculpt_tool: typing.Any
131
120
  :param toggle: Toggle, Toggle between two brushes rather than cycling
132
- :type toggle: typing.Optional[typing.Union[bool, typing.Any]]
121
+ :type toggle: typing.Union[bool, typing.Any]
133
122
  :param create_missing: Create Missing, If the requested brush type does not exist, create a new brush
134
- :type create_missing: typing.Optional[typing.Union[bool, typing.Any]]
123
+ :type create_missing: typing.Union[bool, typing.Any]
135
124
  """
136
125
 
137
126
  ...
138
127
 
139
128
  def face_select_all(
140
- override_context: typing.Optional[
141
- typing.Union[typing.Dict, "bpy.types.Context"]
142
- ] = None,
143
- execution_context: typing.Optional[typing.Union[str, int]] = None,
144
- undo: typing.Optional[bool] = None,
145
- *,
146
- action: typing.Optional[typing.Any] = "TOGGLE",
129
+ override_context: typing.Union[dict, bpy.types.Context] = None,
130
+ execution_context: typing.Union[str, int] = None,
131
+ undo: bool = None,
132
+ action: typing.Any = "TOGGLE",
147
133
  ):
148
134
  """Change selection for all faces
149
135
 
150
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
151
- :type execution_context: typing.Optional[typing.Union[str, int]]
152
- :type undo: typing.Optional[bool]
153
- :param action: Action, Selection action to execute * ``TOGGLE`` Toggle -- Toggle selection for all elements. * ``SELECT`` Select -- Select all elements. * ``DESELECT`` Deselect -- Deselect all elements. * ``INVERT`` Invert -- Invert selection of all elements.
154
- :type action: typing.Optional[typing.Any]
136
+ :type override_context: typing.Union[dict, bpy.types.Context]
137
+ :type execution_context: typing.Union[str, int]
138
+ :type undo: bool
139
+ :param action: Action, Selection action to execute
140
+
141
+ TOGGLE
142
+ Toggle -- Toggle selection for all elements.
143
+
144
+ SELECT
145
+ Select -- Select all elements.
146
+
147
+ DESELECT
148
+ Deselect -- Deselect all elements.
149
+
150
+ INVERT
151
+ Invert -- Invert selection of all elements.
152
+ :type action: typing.Any
155
153
  """
156
154
 
157
155
  ...
158
156
 
159
157
  def face_select_hide(
160
- override_context: typing.Optional[
161
- typing.Union[typing.Dict, "bpy.types.Context"]
162
- ] = None,
163
- execution_context: typing.Optional[typing.Union[str, int]] = None,
164
- undo: typing.Optional[bool] = None,
165
- *,
166
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
158
+ override_context: typing.Union[dict, bpy.types.Context] = None,
159
+ execution_context: typing.Union[str, int] = None,
160
+ undo: bool = None,
161
+ unselected: typing.Union[bool, typing.Any] = False,
167
162
  ):
168
163
  """Hide selected faces
169
164
 
170
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
171
- :type execution_context: typing.Optional[typing.Union[str, int]]
172
- :type undo: typing.Optional[bool]
165
+ :type override_context: typing.Union[dict, bpy.types.Context]
166
+ :type execution_context: typing.Union[str, int]
167
+ :type undo: bool
173
168
  :param unselected: Unselected, Hide unselected rather than selected objects
174
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
169
+ :type unselected: typing.Union[bool, typing.Any]
175
170
  """
176
171
 
177
172
  ...
178
173
 
179
174
  def face_select_less(
180
- override_context: typing.Optional[
181
- typing.Union[typing.Dict, "bpy.types.Context"]
182
- ] = None,
183
- execution_context: typing.Optional[typing.Union[str, int]] = None,
184
- undo: typing.Optional[bool] = None,
185
- *,
186
- face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
175
+ override_context: typing.Union[dict, bpy.types.Context] = None,
176
+ execution_context: typing.Union[str, int] = None,
177
+ undo: bool = None,
178
+ face_step: typing.Union[bool, typing.Any] = True,
187
179
  ):
188
180
  """Deselect Faces connected to existing selection
189
181
 
190
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
191
- :type execution_context: typing.Optional[typing.Union[str, int]]
192
- :type undo: typing.Optional[bool]
182
+ :type override_context: typing.Union[dict, bpy.types.Context]
183
+ :type execution_context: typing.Union[str, int]
184
+ :type undo: bool
193
185
  :param face_step: Face Step, Also deselect faces that only touch on a corner
194
- :type face_step: typing.Optional[typing.Union[bool, typing.Any]]
186
+ :type face_step: typing.Union[bool, typing.Any]
195
187
  """
196
188
 
197
189
  ...
198
190
 
199
191
  def face_select_linked(
200
- override_context: typing.Optional[
201
- typing.Union[typing.Dict, "bpy.types.Context"]
202
- ] = None,
203
- execution_context: typing.Optional[typing.Union[str, int]] = None,
204
- undo: typing.Optional[bool] = None,
192
+ override_context: typing.Union[dict, bpy.types.Context] = None,
193
+ execution_context: typing.Union[str, int] = None,
194
+ undo: bool = None,
205
195
  ):
206
196
  """Select linked faces
207
197
 
208
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
209
- :type execution_context: typing.Optional[typing.Union[str, int]]
210
- :type undo: typing.Optional[bool]
198
+ :type override_context: typing.Union[dict, bpy.types.Context]
199
+ :type execution_context: typing.Union[str, int]
200
+ :type undo: bool
211
201
  """
212
202
 
213
203
  ...
214
204
 
215
205
  def face_select_linked_pick(
216
- override_context: typing.Optional[
217
- typing.Union[typing.Dict, "bpy.types.Context"]
218
- ] = None,
219
- execution_context: typing.Optional[typing.Union[str, int]] = None,
220
- undo: typing.Optional[bool] = None,
221
- *,
222
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
206
+ override_context: typing.Union[dict, bpy.types.Context] = None,
207
+ execution_context: typing.Union[str, int] = None,
208
+ undo: bool = None,
209
+ deselect: typing.Union[bool, typing.Any] = False,
223
210
  ):
224
211
  """Select linked faces under the cursor
225
212
 
226
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
227
- :type execution_context: typing.Optional[typing.Union[str, int]]
228
- :type undo: typing.Optional[bool]
213
+ :type override_context: typing.Union[dict, bpy.types.Context]
214
+ :type execution_context: typing.Union[str, int]
215
+ :type undo: bool
229
216
  :param deselect: Deselect, Deselect rather than select items
230
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
217
+ :type deselect: typing.Union[bool, typing.Any]
231
218
  """
232
219
 
233
220
  ...
234
221
 
235
222
  def face_select_loop(
236
- override_context: typing.Optional[
237
- typing.Union[typing.Dict, "bpy.types.Context"]
238
- ] = None,
239
- execution_context: typing.Optional[typing.Union[str, int]] = None,
240
- undo: typing.Optional[bool] = None,
241
- *,
242
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
243
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
223
+ override_context: typing.Union[dict, bpy.types.Context] = None,
224
+ execution_context: typing.Union[str, int] = None,
225
+ undo: bool = None,
226
+ select: typing.Union[bool, typing.Any] = True,
227
+ extend: typing.Union[bool, typing.Any] = False,
244
228
  ):
245
229
  """Select face loop under the cursor
246
230
 
247
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
248
- :type execution_context: typing.Optional[typing.Union[str, int]]
249
- :type undo: typing.Optional[bool]
231
+ :type override_context: typing.Union[dict, bpy.types.Context]
232
+ :type execution_context: typing.Union[str, int]
233
+ :type undo: bool
250
234
  :param select: Select, If false, faces will be deselected
251
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
235
+ :type select: typing.Union[bool, typing.Any]
252
236
  :param extend: Extend, Extend the selection
253
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
237
+ :type extend: typing.Union[bool, typing.Any]
254
238
  """
255
239
 
256
240
  ...
257
241
 
258
242
  def face_select_more(
259
- override_context: typing.Optional[
260
- typing.Union[typing.Dict, "bpy.types.Context"]
261
- ] = None,
262
- execution_context: typing.Optional[typing.Union[str, int]] = None,
263
- undo: typing.Optional[bool] = None,
264
- *,
265
- face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
243
+ override_context: typing.Union[dict, bpy.types.Context] = None,
244
+ execution_context: typing.Union[str, int] = None,
245
+ undo: bool = None,
246
+ face_step: typing.Union[bool, typing.Any] = True,
266
247
  ):
267
248
  """Select Faces connected to existing selection
268
249
 
269
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
270
- :type execution_context: typing.Optional[typing.Union[str, int]]
271
- :type undo: typing.Optional[bool]
250
+ :type override_context: typing.Union[dict, bpy.types.Context]
251
+ :type execution_context: typing.Union[str, int]
252
+ :type undo: bool
272
253
  :param face_step: Face Step, Also select faces that only touch on a corner
273
- :type face_step: typing.Optional[typing.Union[bool, typing.Any]]
254
+ :type face_step: typing.Union[bool, typing.Any]
274
255
  """
275
256
 
276
257
  ...
277
258
 
278
259
  def face_vert_reveal(
279
- override_context: typing.Optional[
280
- typing.Union[typing.Dict, "bpy.types.Context"]
281
- ] = None,
282
- execution_context: typing.Optional[typing.Union[str, int]] = None,
283
- undo: typing.Optional[bool] = None,
284
- *,
285
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
260
+ override_context: typing.Union[dict, bpy.types.Context] = None,
261
+ execution_context: typing.Union[str, int] = None,
262
+ undo: bool = None,
263
+ select: typing.Union[bool, typing.Any] = True,
286
264
  ):
287
265
  """Reveal hidden faces and vertices
288
266
 
289
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
290
- :type execution_context: typing.Optional[typing.Union[str, int]]
291
- :type undo: typing.Optional[bool]
267
+ :type override_context: typing.Union[dict, bpy.types.Context]
268
+ :type execution_context: typing.Union[str, int]
269
+ :type undo: bool
292
270
  :param select: Select, Specifies whether the newly revealed geometry should be selected
293
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
271
+ :type select: typing.Union[bool, typing.Any]
294
272
  """
295
273
 
296
274
  ...
297
275
 
298
276
  def grab_clone(
299
- override_context: typing.Optional[
300
- typing.Union[typing.Dict, "bpy.types.Context"]
301
- ] = None,
302
- execution_context: typing.Optional[typing.Union[str, int]] = None,
303
- undo: typing.Optional[bool] = None,
304
- *,
305
- delta: typing.Optional[typing.Any] = (0.0, 0.0),
277
+ override_context: typing.Union[dict, bpy.types.Context] = None,
278
+ execution_context: typing.Union[str, int] = None,
279
+ undo: bool = None,
280
+ delta: typing.Any = (0.0, 0.0),
306
281
  ):
307
282
  """Move the clone source image
308
283
 
309
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
310
- :type execution_context: typing.Optional[typing.Union[str, int]]
311
- :type undo: typing.Optional[bool]
284
+ :type override_context: typing.Union[dict, bpy.types.Context]
285
+ :type execution_context: typing.Union[str, int]
286
+ :type undo: bool
312
287
  :param delta: Delta, Delta offset of clone image in 0.0 to 1.0 coordinates
313
- :type delta: typing.Optional[typing.Any]
288
+ :type delta: typing.Any
314
289
  """
315
290
 
316
291
  ...
317
292
 
318
293
  def hide_show(
319
- override_context: typing.Optional[
320
- typing.Union[typing.Dict, "bpy.types.Context"]
321
- ] = None,
322
- execution_context: typing.Optional[typing.Union[str, int]] = None,
323
- undo: typing.Optional[bool] = None,
324
- *,
325
- action: typing.Optional[typing.Any] = "HIDE",
326
- area: typing.Optional[typing.Any] = "INSIDE",
327
- xmin: typing.Optional[typing.Any] = 0,
328
- xmax: typing.Optional[typing.Any] = 0,
329
- ymin: typing.Optional[typing.Any] = 0,
330
- ymax: typing.Optional[typing.Any] = 0,
331
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
294
+ override_context: typing.Union[dict, bpy.types.Context] = None,
295
+ execution_context: typing.Union[str, int] = None,
296
+ undo: bool = None,
297
+ xmin: typing.Any = 0,
298
+ xmax: typing.Any = 0,
299
+ ymin: typing.Any = 0,
300
+ ymax: typing.Any = 0,
301
+ wait_for_input: typing.Union[bool, typing.Any] = True,
302
+ action: typing.Any = "HIDE",
303
+ area: typing.Any = "Inside",
304
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
305
+ ):
306
+ """Hide/show some vertices
307
+
308
+ :type override_context: typing.Union[dict, bpy.types.Context]
309
+ :type execution_context: typing.Union[str, int]
310
+ :type undo: bool
311
+ :param xmin: X Min
312
+ :type xmin: typing.Any
313
+ :param xmax: X Max
314
+ :type xmax: typing.Any
315
+ :param ymin: Y Min
316
+ :type ymin: typing.Any
317
+ :param ymax: Y Max
318
+ :type ymax: typing.Any
319
+ :param wait_for_input: Wait for Input
320
+ :type wait_for_input: typing.Union[bool, typing.Any]
321
+ :param action: Visibility Action, Whether to hide or show vertices
322
+
323
+ HIDE
324
+ Hide -- Hide vertices.
325
+
326
+ SHOW
327
+ Show -- Show vertices.
328
+ :type action: typing.Any
329
+ :param area: Visibility Area, Which vertices to hide or show
330
+
331
+ OUTSIDE
332
+ Outside -- Hide or show vertices outside the selection.
333
+
334
+ Inside
335
+ Inside -- Hide or show vertices inside the selection.
336
+ :type area: typing.Any
337
+ :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
338
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
339
+ """
340
+
341
+ ...
342
+
343
+ def hide_show_all(
344
+ override_context: typing.Union[dict, bpy.types.Context] = None,
345
+ execution_context: typing.Union[str, int] = None,
346
+ undo: bool = None,
347
+ action: typing.Any = "HIDE",
348
+ ):
349
+ """Hide/show all vertices
350
+
351
+ :type override_context: typing.Union[dict, bpy.types.Context]
352
+ :type execution_context: typing.Union[str, int]
353
+ :type undo: bool
354
+ :param action: Visibility Action, Whether to hide or show vertices
355
+
356
+ HIDE
357
+ Hide -- Hide vertices.
358
+
359
+ SHOW
360
+ Show -- Show vertices.
361
+ :type action: typing.Any
362
+ """
363
+
364
+ ...
365
+
366
+ def hide_show_lasso_gesture(
367
+ override_context: typing.Union[dict, bpy.types.Context] = None,
368
+ execution_context: typing.Union[str, int] = None,
369
+ undo: bool = None,
370
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
371
+ action: typing.Any = "HIDE",
372
+ area: typing.Any = "Inside",
373
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
332
374
  ):
333
375
  """Hide/show some vertices
334
376
 
335
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
336
- :type execution_context: typing.Optional[typing.Union[str, int]]
337
- :type undo: typing.Optional[bool]
338
- :param action: Visibility Action, Whether to hide or show vertices * ``HIDE`` Hide -- Hide vertices. * ``SHOW`` Show -- Show vertices.
339
- :type action: typing.Optional[typing.Any]
340
- :param area: Visibility Area, Which vertices to hide or show * ``OUTSIDE`` Outside -- Hide or show vertices outside the selection. * ``INSIDE`` Inside -- Hide or show vertices inside the selection. * ``ALL`` All -- Hide or show all vertices. * ``MASKED`` Masked -- Hide or show vertices that are masked (minimum mask value of 0.5).
341
- :type area: typing.Optional[typing.Any]
342
- :param xmin: X Min
343
- :type xmin: typing.Optional[typing.Any]
344
- :param xmax: X Max
345
- :type xmax: typing.Optional[typing.Any]
346
- :param ymin: Y Min
347
- :type ymin: typing.Optional[typing.Any]
348
- :param ymax: Y Max
349
- :type ymax: typing.Optional[typing.Any]
350
- :param wait_for_input: Wait for Input
351
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
377
+ :type override_context: typing.Union[dict, bpy.types.Context]
378
+ :type execution_context: typing.Union[str, int]
379
+ :type undo: bool
380
+ :param path: Path
381
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
382
+ :param action: Visibility Action, Whether to hide or show vertices
383
+
384
+ HIDE
385
+ Hide -- Hide vertices.
386
+
387
+ SHOW
388
+ Show -- Show vertices.
389
+ :type action: typing.Any
390
+ :param area: Visibility Area, Which vertices to hide or show
391
+
392
+ OUTSIDE
393
+ Outside -- Hide or show vertices outside the selection.
394
+
395
+ Inside
396
+ Inside -- Hide or show vertices inside the selection.
397
+ :type area: typing.Any
398
+ :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
399
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
400
+ """
401
+
402
+ ...
403
+
404
+ def hide_show_masked(
405
+ override_context: typing.Union[dict, bpy.types.Context] = None,
406
+ execution_context: typing.Union[str, int] = None,
407
+ undo: bool = None,
408
+ action: typing.Any = "HIDE",
409
+ ):
410
+ """Hide/show all masked vertices above a threshold
411
+
412
+ :type override_context: typing.Union[dict, bpy.types.Context]
413
+ :type execution_context: typing.Union[str, int]
414
+ :type undo: bool
415
+ :param action: Visibility Action, Whether to hide or show vertices
416
+
417
+ HIDE
418
+ Hide -- Hide vertices.
419
+
420
+ SHOW
421
+ Show -- Show vertices.
422
+ :type action: typing.Any
352
423
  """
353
424
 
354
425
  ...
355
426
 
356
427
  def image_from_view(
357
- override_context: typing.Optional[
358
- typing.Union[typing.Dict, "bpy.types.Context"]
359
- ] = None,
360
- execution_context: typing.Optional[typing.Union[str, int]] = None,
361
- undo: typing.Optional[bool] = None,
362
- *,
428
+ override_context: typing.Union[dict, bpy.types.Context] = None,
429
+ execution_context: typing.Union[str, int] = None,
430
+ undo: bool = None,
363
431
  filepath: typing.Union[str, typing.Any] = "",
364
432
  ):
365
433
  """Make an image from biggest 3D view for reprojection
366
434
 
367
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
368
- :type execution_context: typing.Optional[typing.Union[str, int]]
369
- :type undo: typing.Optional[bool]
435
+ :type override_context: typing.Union[dict, bpy.types.Context]
436
+ :type execution_context: typing.Union[str, int]
437
+ :type undo: bool
370
438
  :param filepath: File Path, Name of the file
371
439
  :type filepath: typing.Union[str, typing.Any]
372
440
  """
@@ -374,751 +442,730 @@ def image_from_view(
374
442
  ...
375
443
 
376
444
  def image_paint(
377
- override_context: typing.Optional[
378
- typing.Union[typing.Dict, "bpy.types.Context"]
379
- ] = None,
380
- execution_context: typing.Optional[typing.Union[str, int]] = None,
381
- undo: typing.Optional[bool] = None,
382
- *,
383
- stroke: typing.Optional[
384
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
385
- ] = None,
386
- mode: typing.Optional[typing.Any] = "NORMAL",
445
+ override_context: typing.Union[dict, bpy.types.Context] = None,
446
+ execution_context: typing.Union[str, int] = None,
447
+ undo: bool = None,
448
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
449
+ mode: typing.Any = "NORMAL",
387
450
  ):
388
451
  """Paint a stroke into the image
389
452
 
390
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
391
- :type execution_context: typing.Optional[typing.Union[str, int]]
392
- :type undo: typing.Optional[bool]
393
- :param stroke: Stroke
394
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
395
- :param mode: Stroke Mode, Action taken when a paint stroke is made * ``NORMAL`` Regular -- Apply brush normally. * ``INVERT`` Invert -- Invert action of brush for duration of stroke. * ``SMOOTH`` Smooth -- Switch brush to smooth mode for duration of stroke.
396
- :type mode: typing.Optional[typing.Any]
453
+ :type override_context: typing.Union[dict, bpy.types.Context]
454
+ :type execution_context: typing.Union[str, int]
455
+ :type undo: bool
456
+ :param stroke: Stroke
457
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
458
+ :param mode: Stroke Mode, Action taken when a paint stroke is made
459
+
460
+ NORMAL
461
+ Regular -- Apply brush normally.
462
+
463
+ INVERT
464
+ Invert -- Invert action of brush for duration of stroke.
465
+
466
+ SMOOTH
467
+ Smooth -- Switch brush to smooth mode for duration of stroke.
468
+ :type mode: typing.Any
397
469
  """
398
470
 
399
471
  ...
400
472
 
401
473
  def mask_box_gesture(
402
- override_context: typing.Optional[
403
- typing.Union[typing.Dict, "bpy.types.Context"]
404
- ] = None,
405
- execution_context: typing.Optional[typing.Union[str, int]] = None,
406
- undo: typing.Optional[bool] = None,
407
- *,
408
- xmin: typing.Optional[typing.Any] = 0,
409
- xmax: typing.Optional[typing.Any] = 0,
410
- ymin: typing.Optional[typing.Any] = 0,
411
- ymax: typing.Optional[typing.Any] = 0,
412
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
413
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
414
- use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
415
- mode: typing.Optional[typing.Any] = "VALUE",
416
- value: typing.Optional[typing.Any] = 1.0,
474
+ override_context: typing.Union[dict, bpy.types.Context] = None,
475
+ execution_context: typing.Union[str, int] = None,
476
+ undo: bool = None,
477
+ xmin: typing.Any = 0,
478
+ xmax: typing.Any = 0,
479
+ ymin: typing.Any = 0,
480
+ ymax: typing.Any = 0,
481
+ wait_for_input: typing.Union[bool, typing.Any] = True,
482
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
483
+ mode: typing.Any = "VALUE",
484
+ value: typing.Any = 1.0,
417
485
  ):
418
486
  """Add mask within the box as you move the brush
419
487
 
420
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
421
- :type execution_context: typing.Optional[typing.Union[str, int]]
422
- :type undo: typing.Optional[bool]
423
- :param xmin: X Min
424
- :type xmin: typing.Optional[typing.Any]
425
- :param xmax: X Max
426
- :type xmax: typing.Optional[typing.Any]
427
- :param ymin: Y Min
428
- :type ymin: typing.Optional[typing.Any]
429
- :param ymax: Y Max
430
- :type ymax: typing.Optional[typing.Any]
431
- :param wait_for_input: Wait for Input
432
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
433
- :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
434
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
435
- :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
436
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
437
- :param mode: Mode * ``VALUE`` Value -- Set mask to the level specified by the 'value' property. * ``VALUE_INVERSE`` Value Inverted -- Set mask to the level specified by the inverted 'value' property. * ``INVERT`` Invert -- Invert the mask.
438
- :type mode: typing.Optional[typing.Any]
439
- :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
440
- :type value: typing.Optional[typing.Any]
488
+ :type override_context: typing.Union[dict, bpy.types.Context]
489
+ :type execution_context: typing.Union[str, int]
490
+ :type undo: bool
491
+ :param xmin: X Min
492
+ :type xmin: typing.Any
493
+ :param xmax: X Max
494
+ :type xmax: typing.Any
495
+ :param ymin: Y Min
496
+ :type ymin: typing.Any
497
+ :param ymax: Y Max
498
+ :type ymax: typing.Any
499
+ :param wait_for_input: Wait for Input
500
+ :type wait_for_input: typing.Union[bool, typing.Any]
501
+ :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
502
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
503
+ :param mode: Mode
504
+
505
+ VALUE
506
+ Value -- Set mask to the level specified by the 'value' property.
507
+
508
+ VALUE_INVERSE
509
+ Value Inverted -- Set mask to the level specified by the inverted 'value' property.
510
+
511
+ INVERT
512
+ Invert -- Invert the mask.
513
+ :type mode: typing.Any
514
+ :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
515
+ :type value: typing.Any
441
516
  """
442
517
 
443
518
  ...
444
519
 
445
520
  def mask_flood_fill(
446
- override_context: typing.Optional[
447
- typing.Union[typing.Dict, "bpy.types.Context"]
448
- ] = None,
449
- execution_context: typing.Optional[typing.Union[str, int]] = None,
450
- undo: typing.Optional[bool] = None,
451
- *,
452
- mode: typing.Optional[typing.Any] = "VALUE",
453
- value: typing.Optional[typing.Any] = 0.0,
521
+ override_context: typing.Union[dict, bpy.types.Context] = None,
522
+ execution_context: typing.Union[str, int] = None,
523
+ undo: bool = None,
524
+ mode: typing.Any = "VALUE",
525
+ value: typing.Any = 0.0,
454
526
  ):
455
527
  """Fill the whole mask with a given value, or invert its values
456
528
 
457
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
458
- :type execution_context: typing.Optional[typing.Union[str, int]]
459
- :type undo: typing.Optional[bool]
460
- :param mode: Mode * ``VALUE`` Value -- Set mask to the level specified by the 'value' property. * ``VALUE_INVERSE`` Value Inverted -- Set mask to the level specified by the inverted 'value' property. * ``INVERT`` Invert -- Invert the mask.
461
- :type mode: typing.Optional[typing.Any]
462
- :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
463
- :type value: typing.Optional[typing.Any]
529
+ :type override_context: typing.Union[dict, bpy.types.Context]
530
+ :type execution_context: typing.Union[str, int]
531
+ :type undo: bool
532
+ :param mode: Mode
533
+
534
+ VALUE
535
+ Value -- Set mask to the level specified by the 'value' property.
536
+
537
+ VALUE_INVERSE
538
+ Value Inverted -- Set mask to the level specified by the inverted 'value' property.
539
+
540
+ INVERT
541
+ Invert -- Invert the mask.
542
+ :type mode: typing.Any
543
+ :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
544
+ :type value: typing.Any
464
545
  """
465
546
 
466
547
  ...
467
548
 
468
549
  def mask_lasso_gesture(
469
- override_context: typing.Optional[
470
- typing.Union[typing.Dict, "bpy.types.Context"]
471
- ] = None,
472
- execution_context: typing.Optional[typing.Union[str, int]] = None,
473
- undo: typing.Optional[bool] = None,
474
- *,
475
- path: typing.Optional[
476
- bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
477
- ] = None,
478
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
479
- use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
480
- mode: typing.Optional[typing.Any] = "VALUE",
481
- value: typing.Optional[typing.Any] = 1.0,
550
+ override_context: typing.Union[dict, bpy.types.Context] = None,
551
+ execution_context: typing.Union[str, int] = None,
552
+ undo: bool = None,
553
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
554
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
555
+ mode: typing.Any = "VALUE",
556
+ value: typing.Any = 1.0,
482
557
  ):
483
558
  """Add mask within the lasso as you move the brush
484
559
 
485
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
486
- :type execution_context: typing.Optional[typing.Union[str, int]]
487
- :type undo: typing.Optional[bool]
488
- :param path: Path
489
- :type path: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorMousePath']]
490
- :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
491
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
492
- :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
493
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
494
- :param mode: Mode * ``VALUE`` Value -- Set mask to the level specified by the 'value' property. * ``VALUE_INVERSE`` Value Inverted -- Set mask to the level specified by the inverted 'value' property. * ``INVERT`` Invert -- Invert the mask.
495
- :type mode: typing.Optional[typing.Any]
496
- :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
497
- :type value: typing.Optional[typing.Any]
560
+ :type override_context: typing.Union[dict, bpy.types.Context]
561
+ :type execution_context: typing.Union[str, int]
562
+ :type undo: bool
563
+ :param path: Path
564
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
565
+ :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
566
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
567
+ :param mode: Mode
568
+
569
+ VALUE
570
+ Value -- Set mask to the level specified by the 'value' property.
571
+
572
+ VALUE_INVERSE
573
+ Value Inverted -- Set mask to the level specified by the inverted 'value' property.
574
+
575
+ INVERT
576
+ Invert -- Invert the mask.
577
+ :type mode: typing.Any
578
+ :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
579
+ :type value: typing.Any
498
580
  """
499
581
 
500
582
  ...
501
583
 
502
584
  def mask_line_gesture(
503
- override_context: typing.Optional[
504
- typing.Union[typing.Dict, "bpy.types.Context"]
505
- ] = None,
506
- execution_context: typing.Optional[typing.Union[str, int]] = None,
507
- undo: typing.Optional[bool] = None,
508
- *,
509
- xstart: typing.Optional[typing.Any] = 0,
510
- xend: typing.Optional[typing.Any] = 0,
511
- ystart: typing.Optional[typing.Any] = 0,
512
- yend: typing.Optional[typing.Any] = 0,
513
- flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
514
- cursor: typing.Optional[typing.Any] = 5,
515
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
516
- use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
517
- mode: typing.Optional[typing.Any] = "VALUE",
518
- value: typing.Optional[typing.Any] = 1.0,
585
+ override_context: typing.Union[dict, bpy.types.Context] = None,
586
+ execution_context: typing.Union[str, int] = None,
587
+ undo: bool = None,
588
+ xstart: typing.Any = 0,
589
+ xend: typing.Any = 0,
590
+ ystart: typing.Any = 0,
591
+ yend: typing.Any = 0,
592
+ flip: typing.Union[bool, typing.Any] = False,
593
+ cursor: typing.Any = 5,
594
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
595
+ use_limit_to_segment: typing.Union[bool, typing.Any] = False,
596
+ mode: typing.Any = "VALUE",
597
+ value: typing.Any = 1.0,
519
598
  ):
520
599
  """Add mask to the right of a line as you move the brush
521
600
 
522
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
523
- :type execution_context: typing.Optional[typing.Union[str, int]]
524
- :type undo: typing.Optional[bool]
525
- :param xstart: X Start
526
- :type xstart: typing.Optional[typing.Any]
527
- :param xend: X End
528
- :type xend: typing.Optional[typing.Any]
529
- :param ystart: Y Start
530
- :type ystart: typing.Optional[typing.Any]
531
- :param yend: Y End
532
- :type yend: typing.Optional[typing.Any]
533
- :param flip: Flip
534
- :type flip: typing.Optional[typing.Union[bool, typing.Any]]
535
- :param cursor: Cursor, Mouse cursor style to use during the modal operator
536
- :type cursor: typing.Optional[typing.Any]
537
- :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
538
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
539
- :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
540
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
541
- :param mode: Mode * ``VALUE`` Value -- Set mask to the level specified by the 'value' property. * ``VALUE_INVERSE`` Value Inverted -- Set mask to the level specified by the inverted 'value' property. * ``INVERT`` Invert -- Invert the mask.
542
- :type mode: typing.Optional[typing.Any]
543
- :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
544
- :type value: typing.Optional[typing.Any]
601
+ :type override_context: typing.Union[dict, bpy.types.Context]
602
+ :type execution_context: typing.Union[str, int]
603
+ :type undo: bool
604
+ :param xstart: X Start
605
+ :type xstart: typing.Any
606
+ :param xend: X End
607
+ :type xend: typing.Any
608
+ :param ystart: Y Start
609
+ :type ystart: typing.Any
610
+ :param yend: Y End
611
+ :type yend: typing.Any
612
+ :param flip: Flip
613
+ :type flip: typing.Union[bool, typing.Any]
614
+ :param cursor: Cursor, Mouse cursor style to use during the modal operator
615
+ :type cursor: typing.Any
616
+ :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
617
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
618
+ :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
619
+ :type use_limit_to_segment: typing.Union[bool, typing.Any]
620
+ :param mode: Mode
621
+
622
+ VALUE
623
+ Value -- Set mask to the level specified by the 'value' property.
624
+
625
+ VALUE_INVERSE
626
+ Value Inverted -- Set mask to the level specified by the inverted 'value' property.
627
+
628
+ INVERT
629
+ Invert -- Invert the mask.
630
+ :type mode: typing.Any
631
+ :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
632
+ :type value: typing.Any
545
633
  """
546
634
 
547
635
  ...
548
636
 
549
637
  def project_image(
550
- override_context: typing.Optional[
551
- typing.Union[typing.Dict, "bpy.types.Context"]
552
- ] = None,
553
- execution_context: typing.Optional[typing.Union[str, int]] = None,
554
- undo: typing.Optional[bool] = None,
555
- *,
556
- image: typing.Optional[typing.Union[str, int, typing.Any]] = "",
638
+ override_context: typing.Union[dict, bpy.types.Context] = None,
639
+ execution_context: typing.Union[str, int] = None,
640
+ undo: bool = None,
641
+ image: typing.Union[str, int, typing.Any] = "",
557
642
  ):
558
643
  """Project an edited render from the active camera back onto the object
559
644
 
560
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
561
- :type execution_context: typing.Optional[typing.Union[str, int]]
562
- :type undo: typing.Optional[bool]
645
+ :type override_context: typing.Union[dict, bpy.types.Context]
646
+ :type execution_context: typing.Union[str, int]
647
+ :type undo: bool
563
648
  :param image: Image
564
- :type image: typing.Optional[typing.Union[str, int, typing.Any]]
649
+ :type image: typing.Union[str, int, typing.Any]
565
650
  """
566
651
 
567
652
  ...
568
653
 
569
654
  def sample_color(
570
- override_context: typing.Optional[
571
- typing.Union[typing.Dict, "bpy.types.Context"]
572
- ] = None,
573
- execution_context: typing.Optional[typing.Union[str, int]] = None,
574
- undo: typing.Optional[bool] = None,
575
- *,
576
- location: typing.Optional[typing.Any] = (0, 0),
577
- merged: typing.Optional[typing.Union[bool, typing.Any]] = False,
578
- palette: typing.Optional[typing.Union[bool, typing.Any]] = False,
655
+ override_context: typing.Union[dict, bpy.types.Context] = None,
656
+ execution_context: typing.Union[str, int] = None,
657
+ undo: bool = None,
658
+ location: typing.Any = (0, 0),
659
+ merged: typing.Union[bool, typing.Any] = False,
660
+ palette: typing.Union[bool, typing.Any] = False,
579
661
  ):
580
662
  """Use the mouse to sample a color in the image
581
663
 
582
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
583
- :type execution_context: typing.Optional[typing.Union[str, int]]
584
- :type undo: typing.Optional[bool]
664
+ :type override_context: typing.Union[dict, bpy.types.Context]
665
+ :type execution_context: typing.Union[str, int]
666
+ :type undo: bool
585
667
  :param location: Location
586
- :type location: typing.Optional[typing.Any]
668
+ :type location: typing.Any
587
669
  :param merged: Sample Merged, Sample the output display color
588
- :type merged: typing.Optional[typing.Union[bool, typing.Any]]
670
+ :type merged: typing.Union[bool, typing.Any]
589
671
  :param palette: Add to Palette
590
- :type palette: typing.Optional[typing.Union[bool, typing.Any]]
672
+ :type palette: typing.Union[bool, typing.Any]
591
673
  """
592
674
 
593
675
  ...
594
676
 
595
677
  def texture_paint_toggle(
596
- override_context: typing.Optional[
597
- typing.Union[typing.Dict, "bpy.types.Context"]
598
- ] = None,
599
- execution_context: typing.Optional[typing.Union[str, int]] = None,
600
- undo: typing.Optional[bool] = None,
678
+ override_context: typing.Union[dict, bpy.types.Context] = None,
679
+ execution_context: typing.Union[str, int] = None,
680
+ undo: bool = None,
601
681
  ):
602
682
  """Toggle texture paint mode in 3D view
603
683
 
604
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
605
- :type execution_context: typing.Optional[typing.Union[str, int]]
606
- :type undo: typing.Optional[bool]
684
+ :type override_context: typing.Union[dict, bpy.types.Context]
685
+ :type execution_context: typing.Union[str, int]
686
+ :type undo: bool
607
687
  """
608
688
 
609
689
  ...
610
690
 
611
691
  def vert_select_all(
612
- override_context: typing.Optional[
613
- typing.Union[typing.Dict, "bpy.types.Context"]
614
- ] = None,
615
- execution_context: typing.Optional[typing.Union[str, int]] = None,
616
- undo: typing.Optional[bool] = None,
617
- *,
618
- action: typing.Optional[typing.Any] = "TOGGLE",
692
+ override_context: typing.Union[dict, bpy.types.Context] = None,
693
+ execution_context: typing.Union[str, int] = None,
694
+ undo: bool = None,
695
+ action: typing.Any = "TOGGLE",
619
696
  ):
620
697
  """Change selection for all vertices
621
698
 
622
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
623
- :type execution_context: typing.Optional[typing.Union[str, int]]
624
- :type undo: typing.Optional[bool]
625
- :param action: Action, Selection action to execute * ``TOGGLE`` Toggle -- Toggle selection for all elements. * ``SELECT`` Select -- Select all elements. * ``DESELECT`` Deselect -- Deselect all elements. * ``INVERT`` Invert -- Invert selection of all elements.
626
- :type action: typing.Optional[typing.Any]
699
+ :type override_context: typing.Union[dict, bpy.types.Context]
700
+ :type execution_context: typing.Union[str, int]
701
+ :type undo: bool
702
+ :param action: Action, Selection action to execute
703
+
704
+ TOGGLE
705
+ Toggle -- Toggle selection for all elements.
706
+
707
+ SELECT
708
+ Select -- Select all elements.
709
+
710
+ DESELECT
711
+ Deselect -- Deselect all elements.
712
+
713
+ INVERT
714
+ Invert -- Invert selection of all elements.
715
+ :type action: typing.Any
627
716
  """
628
717
 
629
718
  ...
630
719
 
631
720
  def vert_select_hide(
632
- override_context: typing.Optional[
633
- typing.Union[typing.Dict, "bpy.types.Context"]
634
- ] = None,
635
- execution_context: typing.Optional[typing.Union[str, int]] = None,
636
- undo: typing.Optional[bool] = None,
637
- *,
638
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
721
+ override_context: typing.Union[dict, bpy.types.Context] = None,
722
+ execution_context: typing.Union[str, int] = None,
723
+ undo: bool = None,
724
+ unselected: typing.Union[bool, typing.Any] = False,
639
725
  ):
640
726
  """Hide selected vertices
641
727
 
642
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
643
- :type execution_context: typing.Optional[typing.Union[str, int]]
644
- :type undo: typing.Optional[bool]
728
+ :type override_context: typing.Union[dict, bpy.types.Context]
729
+ :type execution_context: typing.Union[str, int]
730
+ :type undo: bool
645
731
  :param unselected: Unselected, Hide unselected rather than selected vertices
646
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
732
+ :type unselected: typing.Union[bool, typing.Any]
647
733
  """
648
734
 
649
735
  ...
650
736
 
651
737
  def vert_select_less(
652
- override_context: typing.Optional[
653
- typing.Union[typing.Dict, "bpy.types.Context"]
654
- ] = None,
655
- execution_context: typing.Optional[typing.Union[str, int]] = None,
656
- undo: typing.Optional[bool] = None,
657
- *,
658
- face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
738
+ override_context: typing.Union[dict, bpy.types.Context] = None,
739
+ execution_context: typing.Union[str, int] = None,
740
+ undo: bool = None,
741
+ face_step: typing.Union[bool, typing.Any] = True,
659
742
  ):
660
743
  """Deselect Vertices connected to existing selection
661
744
 
662
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
663
- :type execution_context: typing.Optional[typing.Union[str, int]]
664
- :type undo: typing.Optional[bool]
745
+ :type override_context: typing.Union[dict, bpy.types.Context]
746
+ :type execution_context: typing.Union[str, int]
747
+ :type undo: bool
665
748
  :param face_step: Face Step, Also deselect faces that only touch on a corner
666
- :type face_step: typing.Optional[typing.Union[bool, typing.Any]]
749
+ :type face_step: typing.Union[bool, typing.Any]
667
750
  """
668
751
 
669
752
  ...
670
753
 
671
754
  def vert_select_linked(
672
- override_context: typing.Optional[
673
- typing.Union[typing.Dict, "bpy.types.Context"]
674
- ] = None,
675
- execution_context: typing.Optional[typing.Union[str, int]] = None,
676
- undo: typing.Optional[bool] = None,
755
+ override_context: typing.Union[dict, bpy.types.Context] = None,
756
+ execution_context: typing.Union[str, int] = None,
757
+ undo: bool = None,
677
758
  ):
678
759
  """Select linked vertices
679
760
 
680
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
681
- :type execution_context: typing.Optional[typing.Union[str, int]]
682
- :type undo: typing.Optional[bool]
761
+ :type override_context: typing.Union[dict, bpy.types.Context]
762
+ :type execution_context: typing.Union[str, int]
763
+ :type undo: bool
683
764
  """
684
765
 
685
766
  ...
686
767
 
687
768
  def vert_select_linked_pick(
688
- override_context: typing.Optional[
689
- typing.Union[typing.Dict, "bpy.types.Context"]
690
- ] = None,
691
- execution_context: typing.Optional[typing.Union[str, int]] = None,
692
- undo: typing.Optional[bool] = None,
693
- *,
694
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
769
+ override_context: typing.Union[dict, bpy.types.Context] = None,
770
+ execution_context: typing.Union[str, int] = None,
771
+ undo: bool = None,
772
+ select: typing.Union[bool, typing.Any] = True,
695
773
  ):
696
774
  """Select linked vertices under the cursor
697
775
 
698
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
699
- :type execution_context: typing.Optional[typing.Union[str, int]]
700
- :type undo: typing.Optional[bool]
776
+ :type override_context: typing.Union[dict, bpy.types.Context]
777
+ :type execution_context: typing.Union[str, int]
778
+ :type undo: bool
701
779
  :param select: Select, Whether to select or deselect linked vertices under the cursor
702
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
780
+ :type select: typing.Union[bool, typing.Any]
703
781
  """
704
782
 
705
783
  ...
706
784
 
707
785
  def vert_select_more(
708
- override_context: typing.Optional[
709
- typing.Union[typing.Dict, "bpy.types.Context"]
710
- ] = None,
711
- execution_context: typing.Optional[typing.Union[str, int]] = None,
712
- undo: typing.Optional[bool] = None,
713
- *,
714
- face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
786
+ override_context: typing.Union[dict, bpy.types.Context] = None,
787
+ execution_context: typing.Union[str, int] = None,
788
+ undo: bool = None,
789
+ face_step: typing.Union[bool, typing.Any] = True,
715
790
  ):
716
791
  """Select Vertices connected to existing selection
717
792
 
718
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
719
- :type execution_context: typing.Optional[typing.Union[str, int]]
720
- :type undo: typing.Optional[bool]
793
+ :type override_context: typing.Union[dict, bpy.types.Context]
794
+ :type execution_context: typing.Union[str, int]
795
+ :type undo: bool
721
796
  :param face_step: Face Step, Also select faces that only touch on a corner
722
- :type face_step: typing.Optional[typing.Union[bool, typing.Any]]
797
+ :type face_step: typing.Union[bool, typing.Any]
723
798
  """
724
799
 
725
800
  ...
726
801
 
727
802
  def vert_select_ungrouped(
728
- override_context: typing.Optional[
729
- typing.Union[typing.Dict, "bpy.types.Context"]
730
- ] = None,
731
- execution_context: typing.Optional[typing.Union[str, int]] = None,
732
- undo: typing.Optional[bool] = None,
733
- *,
734
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
803
+ override_context: typing.Union[dict, bpy.types.Context] = None,
804
+ execution_context: typing.Union[str, int] = None,
805
+ undo: bool = None,
806
+ extend: typing.Union[bool, typing.Any] = False,
735
807
  ):
736
808
  """Select vertices without a group
737
809
 
738
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
739
- :type execution_context: typing.Optional[typing.Union[str, int]]
740
- :type undo: typing.Optional[bool]
810
+ :type override_context: typing.Union[dict, bpy.types.Context]
811
+ :type execution_context: typing.Union[str, int]
812
+ :type undo: bool
741
813
  :param extend: Extend, Extend the selection
742
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
814
+ :type extend: typing.Union[bool, typing.Any]
743
815
  """
744
816
 
745
817
  ...
746
818
 
747
819
  def vertex_color_brightness_contrast(
748
- override_context: typing.Optional[
749
- typing.Union[typing.Dict, "bpy.types.Context"]
750
- ] = None,
751
- execution_context: typing.Optional[typing.Union[str, int]] = None,
752
- undo: typing.Optional[bool] = None,
753
- *,
754
- brightness: typing.Optional[typing.Any] = 0.0,
755
- contrast: typing.Optional[typing.Any] = 0.0,
820
+ override_context: typing.Union[dict, bpy.types.Context] = None,
821
+ execution_context: typing.Union[str, int] = None,
822
+ undo: bool = None,
823
+ brightness: typing.Any = 0.0,
824
+ contrast: typing.Any = 0.0,
756
825
  ):
757
826
  """Adjust vertex color brightness/contrast
758
827
 
759
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
760
- :type execution_context: typing.Optional[typing.Union[str, int]]
761
- :type undo: typing.Optional[bool]
828
+ :type override_context: typing.Union[dict, bpy.types.Context]
829
+ :type execution_context: typing.Union[str, int]
830
+ :type undo: bool
762
831
  :param brightness: Brightness
763
- :type brightness: typing.Optional[typing.Any]
832
+ :type brightness: typing.Any
764
833
  :param contrast: Contrast
765
- :type contrast: typing.Optional[typing.Any]
834
+ :type contrast: typing.Any
766
835
  """
767
836
 
768
837
  ...
769
838
 
770
839
  def vertex_color_dirt(
771
- override_context: typing.Optional[
772
- typing.Union[typing.Dict, "bpy.types.Context"]
773
- ] = None,
774
- execution_context: typing.Optional[typing.Union[str, int]] = None,
775
- undo: typing.Optional[bool] = None,
776
- *,
777
- blur_strength: typing.Optional[typing.Any] = 1.0,
778
- blur_iterations: typing.Optional[typing.Any] = 1,
779
- clean_angle: typing.Optional[typing.Any] = 3.14159,
780
- dirt_angle: typing.Optional[typing.Any] = 0.0,
781
- dirt_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
782
- normalize: typing.Optional[typing.Union[bool, typing.Any]] = True,
840
+ override_context: typing.Union[dict, bpy.types.Context] = None,
841
+ execution_context: typing.Union[str, int] = None,
842
+ undo: bool = None,
843
+ blur_strength: typing.Any = 1.0,
844
+ blur_iterations: typing.Any = 1,
845
+ clean_angle: typing.Any = 3.14159,
846
+ dirt_angle: typing.Any = 0.0,
847
+ dirt_only: typing.Union[bool, typing.Any] = False,
848
+ normalize: typing.Union[bool, typing.Any] = True,
783
849
  ):
784
- """Generate a dirt map gradient based on cavity :File: `startup/bl_operators/vertexpaint_dirt.py\:179 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/vertexpaint_dirt.py#L179>`__
850
+ """Generate a dirt map gradient based on cavity
785
851
 
786
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
787
- :type execution_context: typing.Optional[typing.Union[str, int]]
788
- :type undo: typing.Optional[bool]
852
+ :type override_context: typing.Union[dict, bpy.types.Context]
853
+ :type execution_context: typing.Union[str, int]
854
+ :type undo: bool
789
855
  :param blur_strength: Blur Strength, Blur strength per iteration
790
- :type blur_strength: typing.Optional[typing.Any]
856
+ :type blur_strength: typing.Any
791
857
  :param blur_iterations: Blur Iterations, Number of times to blur the colors (higher blurs more)
792
- :type blur_iterations: typing.Optional[typing.Any]
858
+ :type blur_iterations: typing.Any
793
859
  :param clean_angle: Highlight Angle, Less than 90 limits the angle used in the tonal range
794
- :type clean_angle: typing.Optional[typing.Any]
860
+ :type clean_angle: typing.Any
795
861
  :param dirt_angle: Dirt Angle, Less than 90 limits the angle used in the tonal range
796
- :type dirt_angle: typing.Optional[typing.Any]
862
+ :type dirt_angle: typing.Any
797
863
  :param dirt_only: Dirt Only, Don't calculate cleans for convex areas
798
- :type dirt_only: typing.Optional[typing.Union[bool, typing.Any]]
864
+ :type dirt_only: typing.Union[bool, typing.Any]
799
865
  :param normalize: Normalize, Normalize the colors, increasing the contrast
800
- :type normalize: typing.Optional[typing.Union[bool, typing.Any]]
866
+ :type normalize: typing.Union[bool, typing.Any]
801
867
  """
802
868
 
803
869
  ...
804
870
 
805
871
  def vertex_color_from_weight(
806
- override_context: typing.Optional[
807
- typing.Union[typing.Dict, "bpy.types.Context"]
808
- ] = None,
809
- execution_context: typing.Optional[typing.Union[str, int]] = None,
810
- undo: typing.Optional[bool] = None,
872
+ override_context: typing.Union[dict, bpy.types.Context] = None,
873
+ execution_context: typing.Union[str, int] = None,
874
+ undo: bool = None,
811
875
  ):
812
876
  """Convert active weight into gray scale vertex colors
813
877
 
814
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
815
- :type execution_context: typing.Optional[typing.Union[str, int]]
816
- :type undo: typing.Optional[bool]
878
+ :type override_context: typing.Union[dict, bpy.types.Context]
879
+ :type execution_context: typing.Union[str, int]
880
+ :type undo: bool
817
881
  """
818
882
 
819
883
  ...
820
884
 
821
885
  def vertex_color_hsv(
822
- override_context: typing.Optional[
823
- typing.Union[typing.Dict, "bpy.types.Context"]
824
- ] = None,
825
- execution_context: typing.Optional[typing.Union[str, int]] = None,
826
- undo: typing.Optional[bool] = None,
827
- *,
828
- h: typing.Optional[typing.Any] = 0.5,
829
- s: typing.Optional[typing.Any] = 1.0,
830
- v: typing.Optional[typing.Any] = 1.0,
886
+ override_context: typing.Union[dict, bpy.types.Context] = None,
887
+ execution_context: typing.Union[str, int] = None,
888
+ undo: bool = None,
889
+ h: typing.Any = 0.5,
890
+ s: typing.Any = 1.0,
891
+ v: typing.Any = 1.0,
831
892
  ):
832
893
  """Adjust vertex color Hue/Saturation/Value
833
894
 
834
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
835
- :type execution_context: typing.Optional[typing.Union[str, int]]
836
- :type undo: typing.Optional[bool]
895
+ :type override_context: typing.Union[dict, bpy.types.Context]
896
+ :type execution_context: typing.Union[str, int]
897
+ :type undo: bool
837
898
  :param h: Hue
838
- :type h: typing.Optional[typing.Any]
899
+ :type h: typing.Any
839
900
  :param s: Saturation
840
- :type s: typing.Optional[typing.Any]
901
+ :type s: typing.Any
841
902
  :param v: Value
842
- :type v: typing.Optional[typing.Any]
903
+ :type v: typing.Any
843
904
  """
844
905
 
845
906
  ...
846
907
 
847
908
  def vertex_color_invert(
848
- override_context: typing.Optional[
849
- typing.Union[typing.Dict, "bpy.types.Context"]
850
- ] = None,
851
- execution_context: typing.Optional[typing.Union[str, int]] = None,
852
- undo: typing.Optional[bool] = None,
909
+ override_context: typing.Union[dict, bpy.types.Context] = None,
910
+ execution_context: typing.Union[str, int] = None,
911
+ undo: bool = None,
853
912
  ):
854
913
  """Invert RGB values
855
914
 
856
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
857
- :type execution_context: typing.Optional[typing.Union[str, int]]
858
- :type undo: typing.Optional[bool]
915
+ :type override_context: typing.Union[dict, bpy.types.Context]
916
+ :type execution_context: typing.Union[str, int]
917
+ :type undo: bool
859
918
  """
860
919
 
861
920
  ...
862
921
 
863
922
  def vertex_color_levels(
864
- override_context: typing.Optional[
865
- typing.Union[typing.Dict, "bpy.types.Context"]
866
- ] = None,
867
- execution_context: typing.Optional[typing.Union[str, int]] = None,
868
- undo: typing.Optional[bool] = None,
869
- *,
870
- offset: typing.Optional[typing.Any] = 0.0,
871
- gain: typing.Optional[typing.Any] = 1.0,
923
+ override_context: typing.Union[dict, bpy.types.Context] = None,
924
+ execution_context: typing.Union[str, int] = None,
925
+ undo: bool = None,
926
+ offset: typing.Any = 0.0,
927
+ gain: typing.Any = 1.0,
872
928
  ):
873
929
  """Adjust levels of vertex colors
874
930
 
875
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
876
- :type execution_context: typing.Optional[typing.Union[str, int]]
877
- :type undo: typing.Optional[bool]
931
+ :type override_context: typing.Union[dict, bpy.types.Context]
932
+ :type execution_context: typing.Union[str, int]
933
+ :type undo: bool
878
934
  :param offset: Offset, Value to add to colors
879
- :type offset: typing.Optional[typing.Any]
935
+ :type offset: typing.Any
880
936
  :param gain: Gain, Value to multiply colors by
881
- :type gain: typing.Optional[typing.Any]
937
+ :type gain: typing.Any
882
938
  """
883
939
 
884
940
  ...
885
941
 
886
942
  def vertex_color_set(
887
- override_context: typing.Optional[
888
- typing.Union[typing.Dict, "bpy.types.Context"]
889
- ] = None,
890
- execution_context: typing.Optional[typing.Union[str, int]] = None,
891
- undo: typing.Optional[bool] = None,
892
- *,
893
- use_alpha: typing.Optional[typing.Union[bool, typing.Any]] = True,
943
+ override_context: typing.Union[dict, bpy.types.Context] = None,
944
+ execution_context: typing.Union[str, int] = None,
945
+ undo: bool = None,
946
+ use_alpha: typing.Union[bool, typing.Any] = True,
894
947
  ):
895
948
  """Fill the active vertex color layer with the current paint color
896
949
 
897
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
898
- :type execution_context: typing.Optional[typing.Union[str, int]]
899
- :type undo: typing.Optional[bool]
950
+ :type override_context: typing.Union[dict, bpy.types.Context]
951
+ :type execution_context: typing.Union[str, int]
952
+ :type undo: bool
900
953
  :param use_alpha: Affect Alpha, Set color completely opaque instead of reusing existing alpha
901
- :type use_alpha: typing.Optional[typing.Union[bool, typing.Any]]
954
+ :type use_alpha: typing.Union[bool, typing.Any]
902
955
  """
903
956
 
904
957
  ...
905
958
 
906
959
  def vertex_color_smooth(
907
- override_context: typing.Optional[
908
- typing.Union[typing.Dict, "bpy.types.Context"]
909
- ] = None,
910
- execution_context: typing.Optional[typing.Union[str, int]] = None,
911
- undo: typing.Optional[bool] = None,
960
+ override_context: typing.Union[dict, bpy.types.Context] = None,
961
+ execution_context: typing.Union[str, int] = None,
962
+ undo: bool = None,
912
963
  ):
913
964
  """Smooth colors across vertices
914
965
 
915
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
916
- :type execution_context: typing.Optional[typing.Union[str, int]]
917
- :type undo: typing.Optional[bool]
966
+ :type override_context: typing.Union[dict, bpy.types.Context]
967
+ :type execution_context: typing.Union[str, int]
968
+ :type undo: bool
918
969
  """
919
970
 
920
971
  ...
921
972
 
922
973
  def vertex_paint(
923
- override_context: typing.Optional[
924
- typing.Union[typing.Dict, "bpy.types.Context"]
925
- ] = None,
926
- execution_context: typing.Optional[typing.Union[str, int]] = None,
927
- undo: typing.Optional[bool] = None,
928
- *,
929
- stroke: typing.Optional[
930
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
931
- ] = None,
932
- mode: typing.Optional[typing.Any] = "NORMAL",
974
+ override_context: typing.Union[dict, bpy.types.Context] = None,
975
+ execution_context: typing.Union[str, int] = None,
976
+ undo: bool = None,
977
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
978
+ mode: typing.Any = "NORMAL",
933
979
  ):
934
980
  """Paint a stroke in the active color attribute layer
935
981
 
936
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
937
- :type execution_context: typing.Optional[typing.Union[str, int]]
938
- :type undo: typing.Optional[bool]
939
- :param stroke: Stroke
940
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
941
- :param mode: Stroke Mode, Action taken when a paint stroke is made * ``NORMAL`` Regular -- Apply brush normally. * ``INVERT`` Invert -- Invert action of brush for duration of stroke. * ``SMOOTH`` Smooth -- Switch brush to smooth mode for duration of stroke.
942
- :type mode: typing.Optional[typing.Any]
982
+ :type override_context: typing.Union[dict, bpy.types.Context]
983
+ :type execution_context: typing.Union[str, int]
984
+ :type undo: bool
985
+ :param stroke: Stroke
986
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
987
+ :param mode: Stroke Mode, Action taken when a paint stroke is made
988
+
989
+ NORMAL
990
+ Regular -- Apply brush normally.
991
+
992
+ INVERT
993
+ Invert -- Invert action of brush for duration of stroke.
994
+
995
+ SMOOTH
996
+ Smooth -- Switch brush to smooth mode for duration of stroke.
997
+ :type mode: typing.Any
943
998
  """
944
999
 
945
1000
  ...
946
1001
 
947
1002
  def vertex_paint_toggle(
948
- override_context: typing.Optional[
949
- typing.Union[typing.Dict, "bpy.types.Context"]
950
- ] = None,
951
- execution_context: typing.Optional[typing.Union[str, int]] = None,
952
- undo: typing.Optional[bool] = None,
1003
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1004
+ execution_context: typing.Union[str, int] = None,
1005
+ undo: bool = None,
953
1006
  ):
954
1007
  """Toggle the vertex paint mode in 3D view
955
1008
 
956
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
957
- :type execution_context: typing.Optional[typing.Union[str, int]]
958
- :type undo: typing.Optional[bool]
1009
+ :type override_context: typing.Union[dict, bpy.types.Context]
1010
+ :type execution_context: typing.Union[str, int]
1011
+ :type undo: bool
959
1012
  """
960
1013
 
961
1014
  ...
962
1015
 
963
1016
  def visibility_invert(
964
- override_context: typing.Optional[
965
- typing.Union[typing.Dict, "bpy.types.Context"]
966
- ] = None,
967
- execution_context: typing.Optional[typing.Union[str, int]] = None,
968
- undo: typing.Optional[bool] = None,
1017
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1018
+ execution_context: typing.Union[str, int] = None,
1019
+ undo: bool = None,
969
1020
  ):
970
1021
  """Invert the visibility of all vertices
971
1022
 
972
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
973
- :type execution_context: typing.Optional[typing.Union[str, int]]
974
- :type undo: typing.Optional[bool]
1023
+ :type override_context: typing.Union[dict, bpy.types.Context]
1024
+ :type execution_context: typing.Union[str, int]
1025
+ :type undo: bool
975
1026
  """
976
1027
 
977
1028
  ...
978
1029
 
979
1030
  def weight_from_bones(
980
- override_context: typing.Optional[
981
- typing.Union[typing.Dict, "bpy.types.Context"]
982
- ] = None,
983
- execution_context: typing.Optional[typing.Union[str, int]] = None,
984
- undo: typing.Optional[bool] = None,
985
- *,
986
- type: typing.Optional[typing.Any] = "AUTOMATIC",
1031
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1032
+ execution_context: typing.Union[str, int] = None,
1033
+ undo: bool = None,
1034
+ type: typing.Any = "AUTOMATIC",
987
1035
  ):
988
1036
  """Set the weights of the groups matching the attached armature's selected bones, using the distance between the vertices and the bones
989
1037
 
990
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
991
- :type execution_context: typing.Optional[typing.Union[str, int]]
992
- :type undo: typing.Optional[bool]
993
- :param type: Type, Method to use for assigning weights * ``AUTOMATIC`` Automatic -- Automatic weights from bones. * ``ENVELOPES`` From Envelopes -- Weights from envelopes with user defined radius.
994
- :type type: typing.Optional[typing.Any]
1038
+ :type override_context: typing.Union[dict, bpy.types.Context]
1039
+ :type execution_context: typing.Union[str, int]
1040
+ :type undo: bool
1041
+ :param type: Type, Method to use for assigning weights
1042
+
1043
+ AUTOMATIC
1044
+ Automatic -- Automatic weights from bones.
1045
+
1046
+ ENVELOPES
1047
+ From Envelopes -- Weights from envelopes with user defined radius.
1048
+ :type type: typing.Any
995
1049
  """
996
1050
 
997
1051
  ...
998
1052
 
999
1053
  def weight_gradient(
1000
- override_context: typing.Optional[
1001
- typing.Union[typing.Dict, "bpy.types.Context"]
1002
- ] = None,
1003
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1004
- undo: typing.Optional[bool] = None,
1005
- *,
1006
- type: typing.Optional[typing.Any] = "LINEAR",
1007
- xstart: typing.Optional[typing.Any] = 0,
1008
- xend: typing.Optional[typing.Any] = 0,
1009
- ystart: typing.Optional[typing.Any] = 0,
1010
- yend: typing.Optional[typing.Any] = 0,
1011
- flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
1012
- cursor: typing.Optional[typing.Any] = 5,
1054
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1055
+ execution_context: typing.Union[str, int] = None,
1056
+ undo: bool = None,
1057
+ type: typing.Any = "LINEAR",
1058
+ xstart: typing.Any = 0,
1059
+ xend: typing.Any = 0,
1060
+ ystart: typing.Any = 0,
1061
+ yend: typing.Any = 0,
1062
+ flip: typing.Union[bool, typing.Any] = False,
1063
+ cursor: typing.Any = 5,
1013
1064
  ):
1014
1065
  """Draw a line to apply a weight gradient to selected vertices
1015
1066
 
1016
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
1017
- :type execution_context: typing.Optional[typing.Union[str, int]]
1018
- :type undo: typing.Optional[bool]
1067
+ :type override_context: typing.Union[dict, bpy.types.Context]
1068
+ :type execution_context: typing.Union[str, int]
1069
+ :type undo: bool
1019
1070
  :param type: Type
1020
- :type type: typing.Optional[typing.Any]
1071
+ :type type: typing.Any
1021
1072
  :param xstart: X Start
1022
- :type xstart: typing.Optional[typing.Any]
1073
+ :type xstart: typing.Any
1023
1074
  :param xend: X End
1024
- :type xend: typing.Optional[typing.Any]
1075
+ :type xend: typing.Any
1025
1076
  :param ystart: Y Start
1026
- :type ystart: typing.Optional[typing.Any]
1077
+ :type ystart: typing.Any
1027
1078
  :param yend: Y End
1028
- :type yend: typing.Optional[typing.Any]
1079
+ :type yend: typing.Any
1029
1080
  :param flip: Flip
1030
- :type flip: typing.Optional[typing.Union[bool, typing.Any]]
1081
+ :type flip: typing.Union[bool, typing.Any]
1031
1082
  :param cursor: Cursor, Mouse cursor style to use during the modal operator
1032
- :type cursor: typing.Optional[typing.Any]
1083
+ :type cursor: typing.Any
1033
1084
  """
1034
1085
 
1035
1086
  ...
1036
1087
 
1037
1088
  def weight_paint(
1038
- override_context: typing.Optional[
1039
- typing.Union[typing.Dict, "bpy.types.Context"]
1040
- ] = None,
1041
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1042
- undo: typing.Optional[bool] = None,
1043
- *,
1044
- stroke: typing.Optional[
1045
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
1046
- ] = None,
1047
- mode: typing.Optional[typing.Any] = "NORMAL",
1089
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1090
+ execution_context: typing.Union[str, int] = None,
1091
+ undo: bool = None,
1092
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
1093
+ mode: typing.Any = "NORMAL",
1048
1094
  ):
1049
1095
  """Paint a stroke in the current vertex group's weights
1050
1096
 
1051
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
1052
- :type execution_context: typing.Optional[typing.Union[str, int]]
1053
- :type undo: typing.Optional[bool]
1054
- :param stroke: Stroke
1055
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
1056
- :param mode: Stroke Mode, Action taken when a paint stroke is made * ``NORMAL`` Regular -- Apply brush normally. * ``INVERT`` Invert -- Invert action of brush for duration of stroke. * ``SMOOTH`` Smooth -- Switch brush to smooth mode for duration of stroke.
1057
- :type mode: typing.Optional[typing.Any]
1097
+ :type override_context: typing.Union[dict, bpy.types.Context]
1098
+ :type execution_context: typing.Union[str, int]
1099
+ :type undo: bool
1100
+ :param stroke: Stroke
1101
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1102
+ :param mode: Stroke Mode, Action taken when a paint stroke is made
1103
+
1104
+ NORMAL
1105
+ Regular -- Apply brush normally.
1106
+
1107
+ INVERT
1108
+ Invert -- Invert action of brush for duration of stroke.
1109
+
1110
+ SMOOTH
1111
+ Smooth -- Switch brush to smooth mode for duration of stroke.
1112
+ :type mode: typing.Any
1058
1113
  """
1059
1114
 
1060
1115
  ...
1061
1116
 
1062
1117
  def weight_paint_toggle(
1063
- override_context: typing.Optional[
1064
- typing.Union[typing.Dict, "bpy.types.Context"]
1065
- ] = None,
1066
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1067
- undo: typing.Optional[bool] = None,
1118
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1119
+ execution_context: typing.Union[str, int] = None,
1120
+ undo: bool = None,
1068
1121
  ):
1069
1122
  """Toggle weight paint mode in 3D view
1070
1123
 
1071
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
1072
- :type execution_context: typing.Optional[typing.Union[str, int]]
1073
- :type undo: typing.Optional[bool]
1124
+ :type override_context: typing.Union[dict, bpy.types.Context]
1125
+ :type execution_context: typing.Union[str, int]
1126
+ :type undo: bool
1074
1127
  """
1075
1128
 
1076
1129
  ...
1077
1130
 
1078
1131
  def weight_sample(
1079
- override_context: typing.Optional[
1080
- typing.Union[typing.Dict, "bpy.types.Context"]
1081
- ] = None,
1082
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1083
- undo: typing.Optional[bool] = None,
1132
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1133
+ execution_context: typing.Union[str, int] = None,
1134
+ undo: bool = None,
1084
1135
  ):
1085
1136
  """Use the mouse to sample a weight in the 3D view
1086
1137
 
1087
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
1088
- :type execution_context: typing.Optional[typing.Union[str, int]]
1089
- :type undo: typing.Optional[bool]
1138
+ :type override_context: typing.Union[dict, bpy.types.Context]
1139
+ :type execution_context: typing.Union[str, int]
1140
+ :type undo: bool
1090
1141
  """
1091
1142
 
1092
1143
  ...
1093
1144
 
1094
1145
  def weight_sample_group(
1095
- override_context: typing.Optional[
1096
- typing.Union[typing.Dict, "bpy.types.Context"]
1097
- ] = None,
1098
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1099
- undo: typing.Optional[bool] = None,
1146
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1147
+ execution_context: typing.Union[str, int] = None,
1148
+ undo: bool = None,
1100
1149
  ):
1101
1150
  """Select one of the vertex groups available under current mouse position
1102
1151
 
1103
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
1104
- :type execution_context: typing.Optional[typing.Union[str, int]]
1105
- :type undo: typing.Optional[bool]
1152
+ :type override_context: typing.Union[dict, bpy.types.Context]
1153
+ :type execution_context: typing.Union[str, int]
1154
+ :type undo: bool
1106
1155
  """
1107
1156
 
1108
1157
  ...
1109
1158
 
1110
1159
  def weight_set(
1111
- override_context: typing.Optional[
1112
- typing.Union[typing.Dict, "bpy.types.Context"]
1113
- ] = None,
1114
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1115
- undo: typing.Optional[bool] = None,
1160
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1161
+ execution_context: typing.Union[str, int] = None,
1162
+ undo: bool = None,
1116
1163
  ):
1117
1164
  """Fill the active vertex group with the current paint weight
1118
1165
 
1119
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
1120
- :type execution_context: typing.Optional[typing.Union[str, int]]
1121
- :type undo: typing.Optional[bool]
1166
+ :type override_context: typing.Union[dict, bpy.types.Context]
1167
+ :type execution_context: typing.Union[str, int]
1168
+ :type undo: bool
1122
1169
  """
1123
1170
 
1124
1171
  ...