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