fake-bpy-module 20240320__py3-none-any.whl → 20240322__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 +642 -822
  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 +86358 -87091
  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-20240320.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
  248. fake_bpy_module-20240322.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-20240320.dist-info/RECORD +0 -343
  284. {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
  285. {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
@@ -4,25 +4,20 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def brush_stroke(
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,
12
- *,
13
- stroke: typing.Optional[
14
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
15
- ] = None,
16
- mode: typing.Optional[typing.Any] = "NORMAL",
17
- ignore_background_click: typing.Optional[typing.Union[bool, typing.Any]] = False,
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
10
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
11
+ mode: typing.Any = "NORMAL",
12
+ ignore_background_click: typing.Union[bool, typing.Any] = False,
18
13
  ):
19
14
  """Sculpt a stroke into the geometry
20
15
 
21
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
22
- :type execution_context: typing.Optional[typing.Union[int, str]]
23
- :type undo: typing.Optional[bool]
16
+ :type override_context: typing.Union[dict, bpy.types.Context]
17
+ :type execution_context: typing.Union[str, int]
18
+ :type undo: bool
24
19
  :param stroke: Stroke
25
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
20
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
26
21
  :param mode: Stroke Mode, Action taken when a paint stroke is made
27
22
 
28
23
  NORMAL
@@ -33,49 +28,46 @@ def brush_stroke(
33
28
 
34
29
  SMOOTH
35
30
  Smooth -- Switch brush to smooth mode for duration of stroke.
36
- :type mode: typing.Optional[typing.Any]
31
+ :type mode: typing.Any
37
32
  :param ignore_background_click: Ignore Background Click, Clicks on the background do not start the stroke
38
- :type ignore_background_click: typing.Optional[typing.Union[bool, typing.Any]]
33
+ :type ignore_background_click: typing.Union[bool, typing.Any]
39
34
  """
40
35
 
41
36
  ...
42
37
 
43
38
  def cloth_filter(
44
- override_context: typing.Optional[
45
- typing.Union["bpy.types.Context", typing.Dict]
46
- ] = None,
47
- execution_context: typing.Optional[typing.Union[int, str]] = None,
48
- undo: typing.Optional[bool] = None,
49
- *,
50
- start_mouse: typing.Optional[typing.Any] = (0, 0),
51
- area_normal_radius: typing.Optional[typing.Any] = 0.25,
52
- strength: typing.Optional[typing.Any] = 1.0,
53
- iteration_count: typing.Optional[typing.Any] = 1,
54
- event_history: typing.Optional[
55
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
56
- ] = None,
57
- type: typing.Optional[typing.Any] = "GRAVITY",
58
- force_axis: typing.Optional[typing.Any] = {'"Z"', '"X"', '"Y"'},
59
- orientation: typing.Optional[typing.Any] = "LOCAL",
60
- cloth_mass: typing.Optional[typing.Any] = 1.0,
61
- cloth_damping: typing.Optional[typing.Any] = 0.0,
62
- use_face_sets: typing.Optional[typing.Union[bool, typing.Any]] = False,
63
- use_collisions: typing.Optional[typing.Union[bool, typing.Any]] = False,
39
+ override_context: typing.Union[dict, bpy.types.Context] = None,
40
+ execution_context: typing.Union[str, int] = None,
41
+ undo: bool = None,
42
+ start_mouse: typing.Any = (0, 0),
43
+ area_normal_radius: typing.Any = 0.25,
44
+ strength: typing.Any = 1.0,
45
+ iteration_count: typing.Any = 1,
46
+ event_history: bpy.types.bpy_prop_collection[
47
+ bpy.types.OperatorStrokeElement
48
+ ] = None,
49
+ type: typing.Any = "GRAVITY",
50
+ force_axis: typing.Any = {'"X"', '"Z"', '"Y"'},
51
+ orientation: typing.Any = "LOCAL",
52
+ cloth_mass: typing.Any = 1.0,
53
+ cloth_damping: typing.Any = 0.0,
54
+ use_face_sets: typing.Union[bool, typing.Any] = False,
55
+ use_collisions: typing.Union[bool, typing.Any] = False,
64
56
  ):
65
57
  """Applies a cloth simulation deformation to the entire mesh
66
58
 
67
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
68
- :type execution_context: typing.Optional[typing.Union[int, str]]
69
- :type undo: typing.Optional[bool]
59
+ :type override_context: typing.Union[dict, bpy.types.Context]
60
+ :type execution_context: typing.Union[str, int]
61
+ :type undo: bool
70
62
  :param start_mouse: Starting Mouse
71
- :type start_mouse: typing.Optional[typing.Any]
63
+ :type start_mouse: typing.Any
72
64
  :param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
73
- :type area_normal_radius: typing.Optional[typing.Any]
65
+ :type area_normal_radius: typing.Any
74
66
  :param strength: Strength, Filter strength
75
- :type strength: typing.Optional[typing.Any]
67
+ :type strength: typing.Any
76
68
  :param iteration_count: Repeat, How many times to repeat the filter
77
- :type iteration_count: typing.Optional[typing.Any]
78
- :type event_history: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
69
+ :type iteration_count: typing.Any
70
+ :type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
79
71
  :param type: Filter Type, Operation that is going to be applied to the mesh
80
72
 
81
73
  GRAVITY
@@ -92,7 +84,7 @@ def cloth_filter(
92
84
 
93
85
  SCALE
94
86
  Scale -- Scales the mesh as a soft body using the origin of the object as scale.
95
- :type type: typing.Optional[typing.Any]
87
+ :type type: typing.Any
96
88
  :param force_axis: Force Axis, Apply the force in the selected axis
97
89
 
98
90
  X
@@ -103,7 +95,7 @@ def cloth_filter(
103
95
 
104
96
  Z
105
97
  Z -- Apply force in the Z axis.
106
- :type force_axis: typing.Optional[typing.Any]
98
+ :type force_axis: typing.Any
107
99
  :param orientation: Orientation, Orientation of the axis to limit the filter force
108
100
 
109
101
  LOCAL
@@ -114,50 +106,47 @@ def cloth_filter(
114
106
 
115
107
  VIEW
116
108
  View -- Use the view axis to limit the force and set the gravity direction.
117
- :type orientation: typing.Optional[typing.Any]
109
+ :type orientation: typing.Any
118
110
  :param cloth_mass: Cloth Mass, Mass of each simulation particle
119
- :type cloth_mass: typing.Optional[typing.Any]
111
+ :type cloth_mass: typing.Any
120
112
  :param cloth_damping: Cloth Damping, How much the applied forces are propagated through the cloth
121
- :type cloth_damping: typing.Optional[typing.Any]
113
+ :type cloth_damping: typing.Any
122
114
  :param use_face_sets: Use Face Sets, Apply the filter only to the Face Set under the cursor
123
- :type use_face_sets: typing.Optional[typing.Union[bool, typing.Any]]
115
+ :type use_face_sets: typing.Union[bool, typing.Any]
124
116
  :param use_collisions: Use Collisions, Collide with other collider objects in the scene
125
- :type use_collisions: typing.Optional[typing.Union[bool, typing.Any]]
117
+ :type use_collisions: typing.Union[bool, typing.Any]
126
118
  """
127
119
 
128
120
  ...
129
121
 
130
122
  def color_filter(
131
- override_context: typing.Optional[
132
- typing.Union["bpy.types.Context", typing.Dict]
133
- ] = None,
134
- execution_context: typing.Optional[typing.Union[int, str]] = None,
135
- undo: typing.Optional[bool] = None,
136
- *,
137
- start_mouse: typing.Optional[typing.Any] = (0, 0),
138
- area_normal_radius: typing.Optional[typing.Any] = 0.25,
139
- strength: typing.Optional[typing.Any] = 1.0,
140
- iteration_count: typing.Optional[typing.Any] = 1,
141
- event_history: typing.Optional[
142
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
143
- ] = None,
144
- type: typing.Optional[typing.Any] = "FILL",
145
- fill_color: typing.Optional[typing.Any] = (1.0, 1.0, 1.0),
123
+ override_context: typing.Union[dict, bpy.types.Context] = None,
124
+ execution_context: typing.Union[str, int] = None,
125
+ undo: bool = None,
126
+ start_mouse: typing.Any = (0, 0),
127
+ area_normal_radius: typing.Any = 0.25,
128
+ strength: typing.Any = 1.0,
129
+ iteration_count: typing.Any = 1,
130
+ event_history: bpy.types.bpy_prop_collection[
131
+ bpy.types.OperatorStrokeElement
132
+ ] = None,
133
+ type: typing.Any = "FILL",
134
+ fill_color: typing.Any = (1.0, 1.0, 1.0),
146
135
  ):
147
136
  """Applies a filter to modify the active color attribute
148
137
 
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]
138
+ :type override_context: typing.Union[dict, bpy.types.Context]
139
+ :type execution_context: typing.Union[str, int]
140
+ :type undo: bool
152
141
  :param start_mouse: Starting Mouse
153
- :type start_mouse: typing.Optional[typing.Any]
142
+ :type start_mouse: typing.Any
154
143
  :param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
155
- :type area_normal_radius: typing.Optional[typing.Any]
144
+ :type area_normal_radius: typing.Any
156
145
  :param strength: Strength, Filter strength
157
- :type strength: typing.Optional[typing.Any]
146
+ :type strength: typing.Any
158
147
  :param iteration_count: Repeat, How many times to repeat the filter
159
- :type iteration_count: typing.Optional[typing.Any]
160
- :type event_history: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
148
+ :type iteration_count: typing.Any
149
+ :type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
161
150
  :param type: Filter Type
162
151
 
163
152
  FILL
@@ -189,157 +178,142 @@ def color_filter(
189
178
 
190
179
  BLUE
191
180
  Blue -- Change blue channel.
192
- :type type: typing.Optional[typing.Any]
181
+ :type type: typing.Any
193
182
  :param fill_color: Fill Color
194
- :type fill_color: typing.Optional[typing.Any]
183
+ :type fill_color: typing.Any
195
184
  """
196
185
 
197
186
  ...
198
187
 
199
188
  def detail_flood_fill(
200
- override_context: typing.Optional[
201
- typing.Union["bpy.types.Context", typing.Dict]
202
- ] = None,
203
- execution_context: typing.Optional[typing.Union[int, str]] = None,
204
- undo: typing.Optional[bool] = None,
189
+ override_context: typing.Union[dict, bpy.types.Context] = None,
190
+ execution_context: typing.Union[str, int] = None,
191
+ undo: bool = None,
205
192
  ):
206
193
  """Flood fill the mesh with the selected detail setting
207
194
 
208
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
209
- :type execution_context: typing.Optional[typing.Union[int, str]]
210
- :type undo: typing.Optional[bool]
195
+ :type override_context: typing.Union[dict, bpy.types.Context]
196
+ :type execution_context: typing.Union[str, int]
197
+ :type undo: bool
211
198
  """
212
199
 
213
200
  ...
214
201
 
215
202
  def dynamic_topology_toggle(
216
- override_context: typing.Optional[
217
- typing.Union["bpy.types.Context", typing.Dict]
218
- ] = None,
219
- execution_context: typing.Optional[typing.Union[int, str]] = None,
220
- undo: typing.Optional[bool] = None,
203
+ override_context: typing.Union[dict, bpy.types.Context] = None,
204
+ execution_context: typing.Union[str, int] = None,
205
+ undo: bool = None,
221
206
  ):
222
207
  """Dynamic topology alters the mesh topology while sculpting
223
208
 
224
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
225
- :type execution_context: typing.Optional[typing.Union[int, str]]
226
- :type undo: typing.Optional[bool]
209
+ :type override_context: typing.Union[dict, bpy.types.Context]
210
+ :type execution_context: typing.Union[str, int]
211
+ :type undo: bool
227
212
  """
228
213
 
229
214
  ...
230
215
 
231
216
  def dyntopo_detail_size_edit(
232
- override_context: typing.Optional[
233
- typing.Union["bpy.types.Context", typing.Dict]
234
- ] = None,
235
- execution_context: typing.Optional[typing.Union[int, str]] = None,
236
- undo: typing.Optional[bool] = None,
217
+ override_context: typing.Union[dict, bpy.types.Context] = None,
218
+ execution_context: typing.Union[str, int] = None,
219
+ undo: bool = None,
237
220
  ):
238
221
  """Modify the detail size of dyntopo interactively
239
222
 
240
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
241
- :type execution_context: typing.Optional[typing.Union[int, str]]
242
- :type undo: typing.Optional[bool]
223
+ :type override_context: typing.Union[dict, bpy.types.Context]
224
+ :type execution_context: typing.Union[str, int]
225
+ :type undo: bool
243
226
  """
244
227
 
245
228
  ...
246
229
 
247
230
  def expand(
248
- override_context: typing.Optional[
249
- typing.Union["bpy.types.Context", typing.Dict]
250
- ] = None,
251
- execution_context: typing.Optional[typing.Union[int, str]] = None,
252
- undo: typing.Optional[bool] = None,
253
- *,
254
- target: typing.Optional[typing.Any] = "MASK",
255
- falloff_type: typing.Optional[typing.Any] = "GEODESIC",
256
- invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
257
- use_mask_preserve: typing.Optional[typing.Union[bool, typing.Any]] = False,
258
- use_falloff_gradient: typing.Optional[typing.Union[bool, typing.Any]] = False,
259
- use_modify_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
260
- use_reposition_pivot: typing.Optional[typing.Union[bool, typing.Any]] = True,
261
- max_geodesic_move_preview: typing.Optional[typing.Any] = 10000,
262
- use_auto_mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
263
- normal_falloff_smooth: typing.Optional[typing.Any] = 2,
231
+ override_context: typing.Union[dict, bpy.types.Context] = None,
232
+ execution_context: typing.Union[str, int] = None,
233
+ undo: bool = None,
234
+ target: typing.Any = "MASK",
235
+ falloff_type: typing.Any = "GEODESIC",
236
+ invert: typing.Union[bool, typing.Any] = False,
237
+ use_mask_preserve: typing.Union[bool, typing.Any] = False,
238
+ use_falloff_gradient: typing.Union[bool, typing.Any] = False,
239
+ use_modify_active: typing.Union[bool, typing.Any] = False,
240
+ use_reposition_pivot: typing.Union[bool, typing.Any] = True,
241
+ max_geodesic_move_preview: typing.Any = 10000,
242
+ use_auto_mask: typing.Union[bool, typing.Any] = False,
243
+ normal_falloff_smooth: typing.Any = 2,
264
244
  ):
265
245
  """Generic sculpt expand operator
266
246
 
267
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
268
- :type execution_context: typing.Optional[typing.Union[int, str]]
269
- :type undo: typing.Optional[bool]
247
+ :type override_context: typing.Union[dict, bpy.types.Context]
248
+ :type execution_context: typing.Union[str, int]
249
+ :type undo: bool
270
250
  :param target: Data Target, Data that is going to be modified in the expand operation
271
- :type target: typing.Optional[typing.Any]
251
+ :type target: typing.Any
272
252
  :param falloff_type: Falloff Type, Initial falloff of the expand operation
273
- :type falloff_type: typing.Optional[typing.Any]
253
+ :type falloff_type: typing.Any
274
254
  :param invert: Invert, Invert the expand active elements
275
- :type invert: typing.Optional[typing.Union[bool, typing.Any]]
255
+ :type invert: typing.Union[bool, typing.Any]
276
256
  :param use_mask_preserve: Preserve Previous, Preserve the previous state of the target data
277
- :type use_mask_preserve: typing.Optional[typing.Union[bool, typing.Any]]
257
+ :type use_mask_preserve: typing.Union[bool, typing.Any]
278
258
  :param use_falloff_gradient: Falloff Gradient, Expand Using a linear falloff
279
- :type use_falloff_gradient: typing.Optional[typing.Union[bool, typing.Any]]
259
+ :type use_falloff_gradient: typing.Union[bool, typing.Any]
280
260
  :param use_modify_active: Modify Active, Modify the active Face Set instead of creating a new one
281
- :type use_modify_active: typing.Optional[typing.Union[bool, typing.Any]]
261
+ :type use_modify_active: typing.Union[bool, typing.Any]
282
262
  :param use_reposition_pivot: Reposition Pivot, Reposition the sculpt transform pivot to the boundary of the expand active area
283
- :type use_reposition_pivot: typing.Optional[typing.Union[bool, typing.Any]]
263
+ :type use_reposition_pivot: typing.Union[bool, typing.Any]
284
264
  :param max_geodesic_move_preview: Max Vertex Count for Geodesic Move Preview, Maximum number of vertices in the mesh for using geodesic falloff when moving the origin of expand. If the total number of vertices is greater than this value, the falloff will be set to spherical when moving
285
- :type max_geodesic_move_preview: typing.Optional[typing.Any]
265
+ :type max_geodesic_move_preview: typing.Any
286
266
  :param use_auto_mask: Auto Create, Fill in mask if nothing is already masked
287
- :type use_auto_mask: typing.Optional[typing.Union[bool, typing.Any]]
267
+ :type use_auto_mask: typing.Union[bool, typing.Any]
288
268
  :param normal_falloff_smooth: Normal Smooth, Blurring steps for normal falloff
289
- :type normal_falloff_smooth: typing.Optional[typing.Any]
269
+ :type normal_falloff_smooth: typing.Any
290
270
  """
291
271
 
292
272
  ...
293
273
 
294
274
  def face_set_box_gesture(
295
- override_context: typing.Optional[
296
- typing.Union["bpy.types.Context", typing.Dict]
297
- ] = None,
298
- execution_context: typing.Optional[typing.Union[int, str]] = None,
299
- undo: typing.Optional[bool] = None,
300
- *,
301
- xmin: typing.Optional[typing.Any] = 0,
302
- xmax: typing.Optional[typing.Any] = 0,
303
- ymin: typing.Optional[typing.Any] = 0,
304
- ymax: typing.Optional[typing.Any] = 0,
305
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
306
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
275
+ override_context: typing.Union[dict, bpy.types.Context] = None,
276
+ execution_context: typing.Union[str, int] = None,
277
+ undo: bool = None,
278
+ xmin: typing.Any = 0,
279
+ xmax: typing.Any = 0,
280
+ ymin: typing.Any = 0,
281
+ ymax: typing.Any = 0,
282
+ wait_for_input: typing.Union[bool, typing.Any] = True,
283
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
307
284
  ):
308
285
  """Add face set within the box as you move the brush
309
286
 
310
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
311
- :type execution_context: typing.Optional[typing.Union[int, str]]
312
- :type undo: typing.Optional[bool]
287
+ :type override_context: typing.Union[dict, bpy.types.Context]
288
+ :type execution_context: typing.Union[str, int]
289
+ :type undo: bool
313
290
  :param xmin: X Min
314
- :type xmin: typing.Optional[typing.Any]
291
+ :type xmin: typing.Any
315
292
  :param xmax: X Max
316
- :type xmax: typing.Optional[typing.Any]
293
+ :type xmax: typing.Any
317
294
  :param ymin: Y Min
318
- :type ymin: typing.Optional[typing.Any]
295
+ :type ymin: typing.Any
319
296
  :param ymax: Y Max
320
- :type ymax: typing.Optional[typing.Any]
297
+ :type ymax: typing.Any
321
298
  :param wait_for_input: Wait for Input
322
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
299
+ :type wait_for_input: typing.Union[bool, typing.Any]
323
300
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
324
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
301
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
325
302
  """
326
303
 
327
304
  ...
328
305
 
329
306
  def face_set_change_visibility(
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
- mode: typing.Optional[typing.Any] = "TOGGLE",
307
+ override_context: typing.Union[dict, bpy.types.Context] = None,
308
+ execution_context: typing.Union[str, int] = None,
309
+ undo: bool = None,
310
+ mode: typing.Any = "TOGGLE",
337
311
  ):
338
312
  """Change the visibility of the Face Sets of the sculpt
339
313
 
340
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
341
- :type execution_context: typing.Optional[typing.Union[int, str]]
342
- :type undo: typing.Optional[bool]
314
+ :type override_context: typing.Union[dict, bpy.types.Context]
315
+ :type execution_context: typing.Union[str, int]
316
+ :type undo: bool
343
317
  :param mode: Mode
344
318
 
345
319
  TOGGLE
@@ -350,30 +324,27 @@ def face_set_change_visibility(
350
324
 
351
325
  HIDE_ACTIVE
352
326
  Hide Active Face Sets -- Hide Active Face Sets.
353
- :type mode: typing.Optional[typing.Any]
327
+ :type mode: typing.Any
354
328
  """
355
329
 
356
330
  ...
357
331
 
358
332
  def face_set_edit(
359
- override_context: typing.Optional[
360
- typing.Union["bpy.types.Context", typing.Dict]
361
- ] = None,
362
- execution_context: typing.Optional[typing.Union[int, str]] = None,
363
- undo: typing.Optional[bool] = None,
364
- *,
365
- active_face_set: typing.Optional[typing.Any] = 1,
366
- mode: typing.Optional[typing.Any] = "GROW",
367
- strength: typing.Optional[typing.Any] = 1.0,
368
- modify_hidden: typing.Optional[typing.Union[bool, typing.Any]] = True,
333
+ override_context: typing.Union[dict, bpy.types.Context] = None,
334
+ execution_context: typing.Union[str, int] = None,
335
+ undo: bool = None,
336
+ active_face_set: typing.Any = 1,
337
+ mode: typing.Any = "GROW",
338
+ strength: typing.Any = 1.0,
339
+ modify_hidden: typing.Union[bool, typing.Any] = True,
369
340
  ):
370
341
  """Edits the current active Face Set
371
342
 
372
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
373
- :type execution_context: typing.Optional[typing.Union[int, str]]
374
- :type undo: typing.Optional[bool]
343
+ :type override_context: typing.Union[dict, bpy.types.Context]
344
+ :type execution_context: typing.Union[str, int]
345
+ :type undo: bool
375
346
  :param active_face_set: Active Face Set
376
- :type active_face_set: typing.Optional[typing.Any]
347
+ :type active_face_set: typing.Any
377
348
  :param mode: Mode
378
349
 
379
350
  GROW
@@ -390,54 +361,46 @@ def face_set_edit(
390
361
 
391
362
  FAIR_TANGENCY
392
363
  Fair Tangency -- Creates a smooth as possible geometry patch from the Face Set minimizing changes in vertex tangents.
393
- :type mode: typing.Optional[typing.Any]
364
+ :type mode: typing.Any
394
365
  :param strength: Strength
395
- :type strength: typing.Optional[typing.Any]
366
+ :type strength: typing.Any
396
367
  :param modify_hidden: Modify Hidden, Apply the edit operation to hidden geometry
397
- :type modify_hidden: typing.Optional[typing.Union[bool, typing.Any]]
368
+ :type modify_hidden: typing.Union[bool, typing.Any]
398
369
  """
399
370
 
400
371
  ...
401
372
 
402
373
  def face_set_lasso_gesture(
403
- override_context: typing.Optional[
404
- typing.Union["bpy.types.Context", typing.Dict]
405
- ] = None,
406
- execution_context: typing.Optional[typing.Union[int, str]] = None,
407
- undo: typing.Optional[bool] = None,
408
- *,
409
- path: typing.Optional[
410
- bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
411
- ] = None,
412
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
374
+ override_context: typing.Union[dict, bpy.types.Context] = None,
375
+ execution_context: typing.Union[str, int] = None,
376
+ undo: bool = None,
377
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
378
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
413
379
  ):
414
380
  """Add face set within the lasso as you move the brush
415
381
 
416
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
417
- :type execution_context: typing.Optional[typing.Union[int, str]]
418
- :type undo: typing.Optional[bool]
382
+ :type override_context: typing.Union[dict, bpy.types.Context]
383
+ :type execution_context: typing.Union[str, int]
384
+ :type undo: bool
419
385
  :param path: Path
420
- :type path: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorMousePath']]
386
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
421
387
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
422
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
388
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
423
389
  """
424
390
 
425
391
  ...
426
392
 
427
393
  def face_sets_create(
428
- override_context: typing.Optional[
429
- typing.Union["bpy.types.Context", typing.Dict]
430
- ] = None,
431
- execution_context: typing.Optional[typing.Union[int, str]] = None,
432
- undo: typing.Optional[bool] = None,
433
- *,
434
- mode: typing.Optional[typing.Any] = "MASKED",
394
+ override_context: typing.Union[dict, bpy.types.Context] = None,
395
+ execution_context: typing.Union[str, int] = None,
396
+ undo: bool = None,
397
+ mode: typing.Any = "MASKED",
435
398
  ):
436
399
  """Create a new Face Set
437
400
 
438
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
439
- :type execution_context: typing.Optional[typing.Union[int, str]]
440
- :type undo: typing.Optional[bool]
401
+ :type override_context: typing.Union[dict, bpy.types.Context]
402
+ :type execution_context: typing.Union[str, int]
403
+ :type undo: bool
441
404
  :param mode: Mode
442
405
 
443
406
  MASKED
@@ -451,26 +414,23 @@ def face_sets_create(
451
414
 
452
415
  SELECTION
453
416
  Face Set from Edit Mode Selection -- Create an Face Set corresponding to the Edit Mode face selection.
454
- :type mode: typing.Optional[typing.Any]
417
+ :type mode: typing.Any
455
418
  """
456
419
 
457
420
  ...
458
421
 
459
422
  def face_sets_init(
460
- override_context: typing.Optional[
461
- typing.Union["bpy.types.Context", typing.Dict]
462
- ] = None,
463
- execution_context: typing.Optional[typing.Union[int, str]] = None,
464
- undo: typing.Optional[bool] = None,
465
- *,
466
- mode: typing.Optional[typing.Any] = "LOOSE_PARTS",
467
- threshold: typing.Optional[typing.Any] = 0.5,
423
+ override_context: typing.Union[dict, bpy.types.Context] = None,
424
+ execution_context: typing.Union[str, int] = None,
425
+ undo: bool = None,
426
+ mode: typing.Any = "LOOSE_PARTS",
427
+ threshold: typing.Any = 0.5,
468
428
  ):
469
429
  """Initializes all Face Sets in the mesh
470
430
 
471
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
472
- :type execution_context: typing.Optional[typing.Union[int, str]]
473
- :type undo: typing.Optional[bool]
431
+ :type override_context: typing.Union[dict, bpy.types.Context]
432
+ :type execution_context: typing.Union[str, int]
433
+ :type undo: bool
474
434
  :param mode: Mode
475
435
 
476
436
  LOOSE_PARTS
@@ -496,108 +456,97 @@ def face_sets_init(
496
456
 
497
457
  FACE_SET_BOUNDARIES
498
458
  Face Sets from Face Set Boundaries -- Create a Face Set per isolated Face Set.
499
- :type mode: typing.Optional[typing.Any]
459
+ :type mode: typing.Any
500
460
  :param threshold: Threshold, Minimum value to consider a certain attribute a boundary when creating the Face Sets
501
- :type threshold: typing.Optional[typing.Any]
461
+ :type threshold: typing.Any
502
462
  """
503
463
 
504
464
  ...
505
465
 
506
466
  def face_sets_randomize_colors(
507
- override_context: typing.Optional[
508
- typing.Union["bpy.types.Context", typing.Dict]
509
- ] = None,
510
- execution_context: typing.Optional[typing.Union[int, str]] = None,
511
- undo: typing.Optional[bool] = None,
467
+ override_context: typing.Union[dict, bpy.types.Context] = None,
468
+ execution_context: typing.Union[str, int] = None,
469
+ undo: bool = None,
512
470
  ):
513
471
  """Generates a new set of random colors to render the Face Sets in the viewport
514
472
 
515
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
516
- :type execution_context: typing.Optional[typing.Union[int, str]]
517
- :type undo: typing.Optional[bool]
473
+ :type override_context: typing.Union[dict, bpy.types.Context]
474
+ :type execution_context: typing.Union[str, int]
475
+ :type undo: bool
518
476
  """
519
477
 
520
478
  ...
521
479
 
522
480
  def mask_by_color(
523
- override_context: typing.Optional[
524
- typing.Union["bpy.types.Context", typing.Dict]
525
- ] = None,
526
- execution_context: typing.Optional[typing.Union[int, str]] = None,
527
- undo: typing.Optional[bool] = None,
528
- *,
529
- contiguous: typing.Optional[typing.Union[bool, typing.Any]] = False,
530
- invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
531
- preserve_previous_mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
532
- threshold: typing.Optional[typing.Any] = 0.35,
481
+ override_context: typing.Union[dict, bpy.types.Context] = None,
482
+ execution_context: typing.Union[str, int] = None,
483
+ undo: bool = None,
484
+ contiguous: typing.Union[bool, typing.Any] = False,
485
+ invert: typing.Union[bool, typing.Any] = False,
486
+ preserve_previous_mask: typing.Union[bool, typing.Any] = False,
487
+ threshold: typing.Any = 0.35,
533
488
  ):
534
489
  """Creates a mask based on the active color attribute
535
490
 
536
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
537
- :type execution_context: typing.Optional[typing.Union[int, str]]
538
- :type undo: typing.Optional[bool]
491
+ :type override_context: typing.Union[dict, bpy.types.Context]
492
+ :type execution_context: typing.Union[str, int]
493
+ :type undo: bool
539
494
  :param contiguous: Contiguous, Mask only contiguous color areas
540
- :type contiguous: typing.Optional[typing.Union[bool, typing.Any]]
495
+ :type contiguous: typing.Union[bool, typing.Any]
541
496
  :param invert: Invert, Invert the generated mask
542
- :type invert: typing.Optional[typing.Union[bool, typing.Any]]
497
+ :type invert: typing.Union[bool, typing.Any]
543
498
  :param preserve_previous_mask: Preserve Previous Mask, Preserve the previous mask and add or subtract the new one generated by the colors
544
- :type preserve_previous_mask: typing.Optional[typing.Union[bool, typing.Any]]
499
+ :type preserve_previous_mask: typing.Union[bool, typing.Any]
545
500
  :param threshold: Threshold, How much changes in color affect the mask generation
546
- :type threshold: typing.Optional[typing.Any]
501
+ :type threshold: typing.Any
547
502
  """
548
503
 
549
504
  ...
550
505
 
551
506
  def mask_filter(
552
- override_context: typing.Optional[
553
- typing.Union["bpy.types.Context", typing.Dict]
554
- ] = None,
555
- execution_context: typing.Optional[typing.Union[int, str]] = None,
556
- undo: typing.Optional[bool] = None,
557
- *,
558
- filter_type: typing.Optional[typing.Any] = "SMOOTH",
559
- iterations: typing.Optional[typing.Any] = 1,
560
- auto_iteration_count: typing.Optional[typing.Union[bool, typing.Any]] = True,
507
+ override_context: typing.Union[dict, bpy.types.Context] = None,
508
+ execution_context: typing.Union[str, int] = None,
509
+ undo: bool = None,
510
+ filter_type: typing.Any = "SMOOTH",
511
+ iterations: typing.Any = 1,
512
+ auto_iteration_count: typing.Union[bool, typing.Any] = True,
561
513
  ):
562
514
  """Applies a filter to modify the current mask
563
515
 
564
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
565
- :type execution_context: typing.Optional[typing.Union[int, str]]
566
- :type undo: typing.Optional[bool]
516
+ :type override_context: typing.Union[dict, bpy.types.Context]
517
+ :type execution_context: typing.Union[str, int]
518
+ :type undo: bool
567
519
  :param filter_type: Type, Filter that is going to be applied to the mask
568
- :type filter_type: typing.Optional[typing.Any]
520
+ :type filter_type: typing.Any
569
521
  :param iterations: Iterations, Number of times that the filter is going to be applied
570
- :type iterations: typing.Optional[typing.Any]
522
+ :type iterations: typing.Any
571
523
  :param auto_iteration_count: Auto Iteration Count, Use a automatic number of iterations based on the number of vertices of the sculpt
572
- :type auto_iteration_count: typing.Optional[typing.Union[bool, typing.Any]]
524
+ :type auto_iteration_count: typing.Union[bool, typing.Any]
573
525
  """
574
526
 
575
527
  ...
576
528
 
577
529
  def mask_from_cavity(
578
- override_context: typing.Optional[
579
- typing.Union["bpy.types.Context", typing.Dict]
580
- ] = None,
581
- execution_context: typing.Optional[typing.Union[int, str]] = None,
582
- undo: typing.Optional[bool] = None,
583
- *,
584
- mix_mode: typing.Optional[typing.Any] = "MIX",
585
- mix_factor: typing.Optional[typing.Any] = 1.0,
586
- settings_source: typing.Optional[typing.Any] = "OPERATOR",
587
- factor: typing.Optional[typing.Any] = 0.5,
588
- blur_steps: typing.Optional[typing.Any] = 2,
589
- use_curve: typing.Optional[typing.Union[bool, typing.Any]] = False,
590
- invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
530
+ override_context: typing.Union[dict, bpy.types.Context] = None,
531
+ execution_context: typing.Union[str, int] = None,
532
+ undo: bool = None,
533
+ mix_mode: typing.Any = "MIX",
534
+ mix_factor: typing.Any = 1.0,
535
+ settings_source: typing.Any = "OPERATOR",
536
+ factor: typing.Any = 0.5,
537
+ blur_steps: typing.Any = 2,
538
+ use_curve: typing.Union[bool, typing.Any] = False,
539
+ invert: typing.Union[bool, typing.Any] = False,
591
540
  ):
592
541
  """Creates a mask based on the curvature of the surface
593
542
 
594
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
595
- :type execution_context: typing.Optional[typing.Union[int, str]]
596
- :type undo: typing.Optional[bool]
543
+ :type override_context: typing.Union[dict, bpy.types.Context]
544
+ :type execution_context: typing.Union[str, int]
545
+ :type undo: bool
597
546
  :param mix_mode: Mode, Mix mode
598
- :type mix_mode: typing.Optional[typing.Any]
547
+ :type mix_mode: typing.Any
599
548
  :param mix_factor: Mix Factor
600
- :type mix_factor: typing.Optional[typing.Any]
549
+ :type mix_factor: typing.Any
601
550
  :param settings_source: Settings, Use settings from here
602
551
 
603
552
  OPERATOR
@@ -608,76 +557,70 @@ def mask_from_cavity(
608
557
 
609
558
  SCENE
610
559
  Scene -- Use settings from scene.
611
- :type settings_source: typing.Optional[typing.Any]
560
+ :type settings_source: typing.Any
612
561
  :param factor: Factor, The contrast of the cavity mask
613
- :type factor: typing.Optional[typing.Any]
562
+ :type factor: typing.Any
614
563
  :param blur_steps: Blur, The number of times the cavity mask is blurred
615
- :type blur_steps: typing.Optional[typing.Any]
564
+ :type blur_steps: typing.Any
616
565
  :param use_curve: Custom Curve
617
- :type use_curve: typing.Optional[typing.Union[bool, typing.Any]]
566
+ :type use_curve: typing.Union[bool, typing.Any]
618
567
  :param invert: Cavity (Inverted)
619
- :type invert: typing.Optional[typing.Union[bool, typing.Any]]
568
+ :type invert: typing.Union[bool, typing.Any]
620
569
  """
621
570
 
622
571
  ...
623
572
 
624
573
  def mask_init(
625
- override_context: typing.Optional[
626
- typing.Union["bpy.types.Context", typing.Dict]
627
- ] = None,
628
- execution_context: typing.Optional[typing.Union[int, str]] = None,
629
- undo: typing.Optional[bool] = None,
630
- *,
631
- mode: typing.Optional[typing.Any] = "RANDOM_PER_VERTEX",
574
+ override_context: typing.Union[dict, bpy.types.Context] = None,
575
+ execution_context: typing.Union[str, int] = None,
576
+ undo: bool = None,
577
+ mode: typing.Any = "RANDOM_PER_VERTEX",
632
578
  ):
633
579
  """Creates a new mask for the entire mesh
634
580
 
635
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
636
- :type execution_context: typing.Optional[typing.Union[int, str]]
637
- :type undo: typing.Optional[bool]
581
+ :type override_context: typing.Union[dict, bpy.types.Context]
582
+ :type execution_context: typing.Union[str, int]
583
+ :type undo: bool
638
584
  :param mode: Mode
639
- :type mode: typing.Optional[typing.Any]
585
+ :type mode: typing.Any
640
586
  """
641
587
 
642
588
  ...
643
589
 
644
590
  def mesh_filter(
645
- override_context: typing.Optional[
646
- typing.Union["bpy.types.Context", typing.Dict]
647
- ] = None,
648
- execution_context: typing.Optional[typing.Union[int, str]] = None,
649
- undo: typing.Optional[bool] = None,
650
- *,
651
- start_mouse: typing.Optional[typing.Any] = (0, 0),
652
- area_normal_radius: typing.Optional[typing.Any] = 0.25,
653
- strength: typing.Optional[typing.Any] = 1.0,
654
- iteration_count: typing.Optional[typing.Any] = 1,
655
- event_history: typing.Optional[
656
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
657
- ] = None,
658
- type: typing.Optional[typing.Any] = "INFLATE",
659
- deform_axis: typing.Optional[typing.Any] = {'"Z"', '"X"', '"Y"'},
660
- orientation: typing.Optional[typing.Any] = "LOCAL",
661
- surface_smooth_shape_preservation: typing.Optional[typing.Any] = 0.5,
662
- surface_smooth_current_vertex: typing.Optional[typing.Any] = 0.5,
663
- sharpen_smooth_ratio: typing.Optional[typing.Any] = 0.35,
664
- sharpen_intensify_detail_strength: typing.Optional[typing.Any] = 0.0,
665
- sharpen_curvature_smooth_iterations: typing.Optional[typing.Any] = 0,
591
+ override_context: typing.Union[dict, bpy.types.Context] = None,
592
+ execution_context: typing.Union[str, int] = None,
593
+ undo: bool = None,
594
+ start_mouse: typing.Any = (0, 0),
595
+ area_normal_radius: typing.Any = 0.25,
596
+ strength: typing.Any = 1.0,
597
+ iteration_count: typing.Any = 1,
598
+ event_history: bpy.types.bpy_prop_collection[
599
+ bpy.types.OperatorStrokeElement
600
+ ] = None,
601
+ type: typing.Any = "INFLATE",
602
+ deform_axis: typing.Any = {'"X"', '"Z"', '"Y"'},
603
+ orientation: typing.Any = "LOCAL",
604
+ surface_smooth_shape_preservation: typing.Any = 0.5,
605
+ surface_smooth_current_vertex: typing.Any = 0.5,
606
+ sharpen_smooth_ratio: typing.Any = 0.35,
607
+ sharpen_intensify_detail_strength: typing.Any = 0.0,
608
+ sharpen_curvature_smooth_iterations: typing.Any = 0,
666
609
  ):
667
610
  """Applies a filter to modify the current mesh
668
611
 
669
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
670
- :type execution_context: typing.Optional[typing.Union[int, str]]
671
- :type undo: typing.Optional[bool]
612
+ :type override_context: typing.Union[dict, bpy.types.Context]
613
+ :type execution_context: typing.Union[str, int]
614
+ :type undo: bool
672
615
  :param start_mouse: Starting Mouse
673
- :type start_mouse: typing.Optional[typing.Any]
616
+ :type start_mouse: typing.Any
674
617
  :param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
675
- :type area_normal_radius: typing.Optional[typing.Any]
618
+ :type area_normal_radius: typing.Any
676
619
  :param strength: Strength, Filter strength
677
- :type strength: typing.Optional[typing.Any]
620
+ :type strength: typing.Any
678
621
  :param iteration_count: Repeat, How many times to repeat the filter
679
- :type iteration_count: typing.Optional[typing.Any]
680
- :type event_history: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
622
+ :type iteration_count: typing.Any
623
+ :type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
681
624
  :param type: Filter Type, Operation that is going to be applied to the mesh
682
625
 
683
626
  SMOOTH
@@ -712,7 +655,7 @@ def mesh_filter(
712
655
 
713
656
  ERASE_DISCPLACEMENT
714
657
  Erase Displacement -- Deletes the displacement of the Multires Modifier.
715
- :type type: typing.Optional[typing.Any]
658
+ :type type: typing.Any
716
659
  :param deform_axis: Deform Axis, Apply the deformation in the selected axis
717
660
 
718
661
  X
@@ -723,7 +666,7 @@ def mesh_filter(
723
666
 
724
667
  Z
725
668
  Z -- Deform in the Z axis.
726
- :type deform_axis: typing.Optional[typing.Any]
669
+ :type deform_axis: typing.Any
727
670
  :param orientation: Orientation, Orientation of the axis to limit the filter displacement
728
671
 
729
672
  LOCAL
@@ -734,111 +677,101 @@ def mesh_filter(
734
677
 
735
678
  VIEW
736
679
  View -- Use the view axis to limit the displacement.
737
- :type orientation: typing.Optional[typing.Any]
680
+ :type orientation: typing.Any
738
681
  :param surface_smooth_shape_preservation: Shape Preservation, How much of the original shape is preserved when smoothing
739
- :type surface_smooth_shape_preservation: typing.Optional[typing.Any]
682
+ :type surface_smooth_shape_preservation: typing.Any
740
683
  :param surface_smooth_current_vertex: Per Vertex Displacement, How much the position of each individual vertex influences the final result
741
- :type surface_smooth_current_vertex: typing.Optional[typing.Any]
684
+ :type surface_smooth_current_vertex: typing.Any
742
685
  :param sharpen_smooth_ratio: Smooth Ratio, How much smoothing is applied to polished surfaces
743
- :type sharpen_smooth_ratio: typing.Optional[typing.Any]
686
+ :type sharpen_smooth_ratio: typing.Any
744
687
  :param sharpen_intensify_detail_strength: Intensify Details, How much creases and valleys are intensified
745
- :type sharpen_intensify_detail_strength: typing.Optional[typing.Any]
688
+ :type sharpen_intensify_detail_strength: typing.Any
746
689
  :param sharpen_curvature_smooth_iterations: Curvature Smooth Iterations, How much smooth the resulting shape is, ignoring high frequency details
747
- :type sharpen_curvature_smooth_iterations: typing.Optional[typing.Any]
690
+ :type sharpen_curvature_smooth_iterations: typing.Any
748
691
  """
749
692
 
750
693
  ...
751
694
 
752
695
  def optimize(
753
- override_context: typing.Optional[
754
- typing.Union["bpy.types.Context", typing.Dict]
755
- ] = None,
756
- execution_context: typing.Optional[typing.Union[int, str]] = None,
757
- undo: typing.Optional[bool] = None,
696
+ override_context: typing.Union[dict, bpy.types.Context] = None,
697
+ execution_context: typing.Union[str, int] = None,
698
+ undo: bool = None,
758
699
  ):
759
700
  """Recalculate the sculpt BVH to improve performance
760
701
 
761
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
762
- :type execution_context: typing.Optional[typing.Union[int, str]]
763
- :type undo: typing.Optional[bool]
702
+ :type override_context: typing.Union[dict, bpy.types.Context]
703
+ :type execution_context: typing.Union[str, int]
704
+ :type undo: bool
764
705
  """
765
706
 
766
707
  ...
767
708
 
768
709
  def project_line_gesture(
769
- override_context: typing.Optional[
770
- typing.Union["bpy.types.Context", typing.Dict]
771
- ] = None,
772
- execution_context: typing.Optional[typing.Union[int, str]] = None,
773
- undo: typing.Optional[bool] = None,
774
- *,
775
- xstart: typing.Optional[typing.Any] = 0,
776
- xend: typing.Optional[typing.Any] = 0,
777
- ystart: typing.Optional[typing.Any] = 0,
778
- yend: typing.Optional[typing.Any] = 0,
779
- flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
780
- cursor: typing.Optional[typing.Any] = 5,
781
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
782
- use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
710
+ override_context: typing.Union[dict, bpy.types.Context] = None,
711
+ execution_context: typing.Union[str, int] = None,
712
+ undo: bool = None,
713
+ xstart: typing.Any = 0,
714
+ xend: typing.Any = 0,
715
+ ystart: typing.Any = 0,
716
+ yend: typing.Any = 0,
717
+ flip: typing.Union[bool, typing.Any] = False,
718
+ cursor: typing.Any = 5,
719
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
720
+ use_limit_to_segment: typing.Union[bool, typing.Any] = False,
783
721
  ):
784
722
  """Project the geometry onto a plane defined by a line
785
723
 
786
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
787
- :type execution_context: typing.Optional[typing.Union[int, str]]
788
- :type undo: typing.Optional[bool]
724
+ :type override_context: typing.Union[dict, bpy.types.Context]
725
+ :type execution_context: typing.Union[str, int]
726
+ :type undo: bool
789
727
  :param xstart: X Start
790
- :type xstart: typing.Optional[typing.Any]
728
+ :type xstart: typing.Any
791
729
  :param xend: X End
792
- :type xend: typing.Optional[typing.Any]
730
+ :type xend: typing.Any
793
731
  :param ystart: Y Start
794
- :type ystart: typing.Optional[typing.Any]
732
+ :type ystart: typing.Any
795
733
  :param yend: Y End
796
- :type yend: typing.Optional[typing.Any]
734
+ :type yend: typing.Any
797
735
  :param flip: Flip
798
- :type flip: typing.Optional[typing.Union[bool, typing.Any]]
736
+ :type flip: typing.Union[bool, typing.Any]
799
737
  :param cursor: Cursor, Mouse cursor style to use during the modal operator
800
- :type cursor: typing.Optional[typing.Any]
738
+ :type cursor: typing.Any
801
739
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
802
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
740
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
803
741
  :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
804
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
742
+ :type use_limit_to_segment: typing.Union[bool, typing.Any]
805
743
  """
806
744
 
807
745
  ...
808
746
 
809
747
  def sample_color(
810
- override_context: typing.Optional[
811
- typing.Union["bpy.types.Context", typing.Dict]
812
- ] = None,
813
- execution_context: typing.Optional[typing.Union[int, str]] = None,
814
- undo: typing.Optional[bool] = None,
748
+ override_context: typing.Union[dict, bpy.types.Context] = None,
749
+ execution_context: typing.Union[str, int] = None,
750
+ undo: bool = None,
815
751
  ):
816
752
  """Sample the vertex color of the active vertex
817
753
 
818
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
819
- :type execution_context: typing.Optional[typing.Union[int, str]]
820
- :type undo: typing.Optional[bool]
754
+ :type override_context: typing.Union[dict, bpy.types.Context]
755
+ :type execution_context: typing.Union[str, int]
756
+ :type undo: bool
821
757
  """
822
758
 
823
759
  ...
824
760
 
825
761
  def sample_detail_size(
826
- override_context: typing.Optional[
827
- typing.Union["bpy.types.Context", typing.Dict]
828
- ] = None,
829
- execution_context: typing.Optional[typing.Union[int, str]] = None,
830
- undo: typing.Optional[bool] = None,
831
- *,
832
- location: typing.Optional[typing.Any] = (0, 0),
833
- mode: typing.Optional[typing.Any] = "DYNTOPO",
762
+ override_context: typing.Union[dict, bpy.types.Context] = None,
763
+ execution_context: typing.Union[str, int] = None,
764
+ undo: bool = None,
765
+ location: typing.Any = (0, 0),
766
+ mode: typing.Any = "DYNTOPO",
834
767
  ):
835
768
  """Sample the mesh detail on clicked point
836
769
 
837
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
838
- :type execution_context: typing.Optional[typing.Union[int, str]]
839
- :type undo: typing.Optional[bool]
770
+ :type override_context: typing.Union[dict, bpy.types.Context]
771
+ :type execution_context: typing.Union[str, int]
772
+ :type undo: bool
840
773
  :param location: Location, Screen coordinates of sampling
841
- :type location: typing.Optional[typing.Any]
774
+ :type location: typing.Any
842
775
  :param mode: Detail Mode, Target sculpting workflow that is going to use the sampled size
843
776
 
844
777
  DYNTOPO
@@ -846,59 +779,52 @@ def sample_detail_size(
846
779
 
847
780
  VOXEL
848
781
  Voxel -- Sample mesh voxel size.
849
- :type mode: typing.Optional[typing.Any]
782
+ :type mode: typing.Any
850
783
  """
851
784
 
852
785
  ...
853
786
 
854
787
  def sculptmode_toggle(
855
- override_context: typing.Optional[
856
- typing.Union["bpy.types.Context", typing.Dict]
857
- ] = None,
858
- execution_context: typing.Optional[typing.Union[int, str]] = None,
859
- undo: typing.Optional[bool] = None,
788
+ override_context: typing.Union[dict, bpy.types.Context] = None,
789
+ execution_context: typing.Union[str, int] = None,
790
+ undo: bool = None,
860
791
  ):
861
792
  """Toggle sculpt mode in 3D view
862
793
 
863
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
864
- :type execution_context: typing.Optional[typing.Union[int, str]]
865
- :type undo: typing.Optional[bool]
794
+ :type override_context: typing.Union[dict, bpy.types.Context]
795
+ :type execution_context: typing.Union[str, int]
796
+ :type undo: bool
866
797
  """
867
798
 
868
799
  ...
869
800
 
870
801
  def set_persistent_base(
871
- override_context: typing.Optional[
872
- typing.Union["bpy.types.Context", typing.Dict]
873
- ] = None,
874
- execution_context: typing.Optional[typing.Union[int, str]] = None,
875
- undo: typing.Optional[bool] = None,
802
+ override_context: typing.Union[dict, bpy.types.Context] = None,
803
+ execution_context: typing.Union[str, int] = None,
804
+ undo: bool = None,
876
805
  ):
877
806
  """Reset the copy of the mesh that is being sculpted on
878
807
 
879
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
880
- :type execution_context: typing.Optional[typing.Union[int, str]]
881
- :type undo: typing.Optional[bool]
808
+ :type override_context: typing.Union[dict, bpy.types.Context]
809
+ :type execution_context: typing.Union[str, int]
810
+ :type undo: bool
882
811
  """
883
812
 
884
813
  ...
885
814
 
886
815
  def set_pivot_position(
887
- override_context: typing.Optional[
888
- typing.Union["bpy.types.Context", typing.Dict]
889
- ] = None,
890
- execution_context: typing.Optional[typing.Union[int, str]] = None,
891
- undo: typing.Optional[bool] = None,
892
- *,
893
- mode: typing.Optional[typing.Any] = "UNMASKED",
894
- mouse_x: typing.Optional[typing.Any] = 0.0,
895
- mouse_y: typing.Optional[typing.Any] = 0.0,
816
+ override_context: typing.Union[dict, bpy.types.Context] = None,
817
+ execution_context: typing.Union[str, int] = None,
818
+ undo: bool = None,
819
+ mode: typing.Any = "UNMASKED",
820
+ mouse_x: typing.Any = 0.0,
821
+ mouse_y: typing.Any = 0.0,
896
822
  ):
897
823
  """Sets the sculpt transform pivot position
898
824
 
899
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
900
- :type execution_context: typing.Optional[typing.Union[int, str]]
901
- :type undo: typing.Optional[bool]
825
+ :type override_context: typing.Union[dict, bpy.types.Context]
826
+ :type execution_context: typing.Union[str, int]
827
+ :type undo: bool
902
828
  :param mode: Mode
903
829
 
904
830
  ORIGIN
@@ -915,70 +841,64 @@ def set_pivot_position(
915
841
 
916
842
  SURFACE
917
843
  Surface -- Sets the pivot position to the surface under the cursor.
918
- :type mode: typing.Optional[typing.Any]
844
+ :type mode: typing.Any
919
845
  :param mouse_x: Mouse Position X, Position of the mouse used for "Surface" mode
920
- :type mouse_x: typing.Optional[typing.Any]
846
+ :type mouse_x: typing.Any
921
847
  :param mouse_y: Mouse Position Y, Position of the mouse used for "Surface" mode
922
- :type mouse_y: typing.Optional[typing.Any]
848
+ :type mouse_y: typing.Any
923
849
  """
924
850
 
925
851
  ...
926
852
 
927
853
  def symmetrize(
928
- override_context: typing.Optional[
929
- typing.Union["bpy.types.Context", typing.Dict]
930
- ] = None,
931
- execution_context: typing.Optional[typing.Union[int, str]] = None,
932
- undo: typing.Optional[bool] = None,
933
- *,
934
- merge_tolerance: typing.Optional[typing.Any] = 0.0005,
854
+ override_context: typing.Union[dict, bpy.types.Context] = None,
855
+ execution_context: typing.Union[str, int] = None,
856
+ undo: bool = None,
857
+ merge_tolerance: typing.Any = 0.0005,
935
858
  ):
936
859
  """Symmetrize the topology modifications
937
860
 
938
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
939
- :type execution_context: typing.Optional[typing.Union[int, str]]
940
- :type undo: typing.Optional[bool]
861
+ :type override_context: typing.Union[dict, bpy.types.Context]
862
+ :type execution_context: typing.Union[str, int]
863
+ :type undo: bool
941
864
  :param merge_tolerance: Merge Distance, Distance within which symmetrical vertices are merged
942
- :type merge_tolerance: typing.Optional[typing.Any]
865
+ :type merge_tolerance: typing.Any
943
866
  """
944
867
 
945
868
  ...
946
869
 
947
870
  def trim_box_gesture(
948
- override_context: typing.Optional[
949
- typing.Union["bpy.types.Context", typing.Dict]
950
- ] = None,
951
- execution_context: typing.Optional[typing.Union[int, str]] = None,
952
- undo: typing.Optional[bool] = None,
953
- *,
954
- xmin: typing.Optional[typing.Any] = 0,
955
- xmax: typing.Optional[typing.Any] = 0,
956
- ymin: typing.Optional[typing.Any] = 0,
957
- ymax: typing.Optional[typing.Any] = 0,
958
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
959
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
960
- trim_mode: typing.Optional[typing.Any] = "DIFFERENCE",
961
- use_cursor_depth: typing.Optional[typing.Union[bool, typing.Any]] = False,
962
- trim_orientation: typing.Optional[typing.Any] = "VIEW",
963
- trim_extrude_mode: typing.Optional[typing.Any] = "FIXED",
871
+ override_context: typing.Union[dict, bpy.types.Context] = None,
872
+ execution_context: typing.Union[str, int] = None,
873
+ undo: bool = None,
874
+ xmin: typing.Any = 0,
875
+ xmax: typing.Any = 0,
876
+ ymin: typing.Any = 0,
877
+ ymax: typing.Any = 0,
878
+ wait_for_input: typing.Union[bool, typing.Any] = True,
879
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
880
+ trim_mode: typing.Any = "DIFFERENCE",
881
+ use_cursor_depth: typing.Union[bool, typing.Any] = False,
882
+ trim_orientation: typing.Any = "VIEW",
883
+ trim_extrude_mode: typing.Any = "FIXED",
964
884
  ):
965
885
  """Trims the mesh within the box as you move the brush
966
886
 
967
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
968
- :type execution_context: typing.Optional[typing.Union[int, str]]
969
- :type undo: typing.Optional[bool]
887
+ :type override_context: typing.Union[dict, bpy.types.Context]
888
+ :type execution_context: typing.Union[str, int]
889
+ :type undo: bool
970
890
  :param xmin: X Min
971
- :type xmin: typing.Optional[typing.Any]
891
+ :type xmin: typing.Any
972
892
  :param xmax: X Max
973
- :type xmax: typing.Optional[typing.Any]
893
+ :type xmax: typing.Any
974
894
  :param ymin: Y Min
975
- :type ymin: typing.Optional[typing.Any]
895
+ :type ymin: typing.Any
976
896
  :param ymax: Y Max
977
- :type ymax: typing.Optional[typing.Any]
897
+ :type ymax: typing.Any
978
898
  :param wait_for_input: Wait for Input
979
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
899
+ :type wait_for_input: typing.Union[bool, typing.Any]
980
900
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
981
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
901
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
982
902
  :param trim_mode: Trim Mode
983
903
 
984
904
  DIFFERENCE
@@ -989,9 +909,9 @@ def trim_box_gesture(
989
909
 
990
910
  JOIN
991
911
  Join -- Join the new mesh as separate geometry, without performing any boolean operation.
992
- :type trim_mode: typing.Optional[typing.Any]
912
+ :type trim_mode: typing.Any
993
913
  :param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
994
- :type use_cursor_depth: typing.Optional[typing.Union[bool, typing.Any]]
914
+ :type use_cursor_depth: typing.Union[bool, typing.Any]
995
915
  :param trim_orientation: Shape Orientation
996
916
 
997
917
  VIEW
@@ -999,7 +919,7 @@ def trim_box_gesture(
999
919
 
1000
920
  SURFACE
1001
921
  Surface -- Use the surface normal to orientate the trimming shape.
1002
- :type trim_orientation: typing.Optional[typing.Any]
922
+ :type trim_orientation: typing.Any
1003
923
  :param trim_extrude_mode: Extrude Mode
1004
924
 
1005
925
  PROJECT
@@ -1007,36 +927,31 @@ def trim_box_gesture(
1007
927
 
1008
928
  FIXED
1009
929
  Fixed -- Extrude back faces by fixed amount.
1010
- :type trim_extrude_mode: typing.Optional[typing.Any]
930
+ :type trim_extrude_mode: typing.Any
1011
931
  """
1012
932
 
1013
933
  ...
1014
934
 
1015
935
  def trim_lasso_gesture(
1016
- override_context: typing.Optional[
1017
- typing.Union["bpy.types.Context", typing.Dict]
1018
- ] = None,
1019
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1020
- undo: typing.Optional[bool] = None,
1021
- *,
1022
- path: typing.Optional[
1023
- bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
1024
- ] = None,
1025
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
1026
- trim_mode: typing.Optional[typing.Any] = "DIFFERENCE",
1027
- use_cursor_depth: typing.Optional[typing.Union[bool, typing.Any]] = False,
1028
- trim_orientation: typing.Optional[typing.Any] = "VIEW",
1029
- trim_extrude_mode: typing.Optional[typing.Any] = "FIXED",
936
+ override_context: typing.Union[dict, bpy.types.Context] = None,
937
+ execution_context: typing.Union[str, int] = None,
938
+ undo: bool = None,
939
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
940
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
941
+ trim_mode: typing.Any = "DIFFERENCE",
942
+ use_cursor_depth: typing.Union[bool, typing.Any] = False,
943
+ trim_orientation: typing.Any = "VIEW",
944
+ trim_extrude_mode: typing.Any = "FIXED",
1030
945
  ):
1031
946
  """Trims the mesh within the lasso as you move the brush
1032
947
 
1033
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1034
- :type execution_context: typing.Optional[typing.Union[int, str]]
1035
- :type undo: typing.Optional[bool]
948
+ :type override_context: typing.Union[dict, bpy.types.Context]
949
+ :type execution_context: typing.Union[str, int]
950
+ :type undo: bool
1036
951
  :param path: Path
1037
- :type path: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorMousePath']]
952
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
1038
953
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
1039
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
954
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
1040
955
  :param trim_mode: Trim Mode
1041
956
 
1042
957
  DIFFERENCE
@@ -1047,9 +962,9 @@ def trim_lasso_gesture(
1047
962
 
1048
963
  JOIN
1049
964
  Join -- Join the new mesh as separate geometry, without performing any boolean operation.
1050
- :type trim_mode: typing.Optional[typing.Any]
965
+ :type trim_mode: typing.Any
1051
966
  :param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
1052
- :type use_cursor_depth: typing.Optional[typing.Union[bool, typing.Any]]
967
+ :type use_cursor_depth: typing.Union[bool, typing.Any]
1053
968
  :param trim_orientation: Shape Orientation
1054
969
 
1055
970
  VIEW
@@ -1057,7 +972,7 @@ def trim_lasso_gesture(
1057
972
 
1058
973
  SURFACE
1059
974
  Surface -- Use the surface normal to orientate the trimming shape.
1060
- :type trim_orientation: typing.Optional[typing.Any]
975
+ :type trim_orientation: typing.Any
1061
976
  :param trim_extrude_mode: Extrude Mode
1062
977
 
1063
978
  PROJECT
@@ -1065,25 +980,22 @@ def trim_lasso_gesture(
1065
980
 
1066
981
  FIXED
1067
982
  Fixed -- Extrude back faces by fixed amount.
1068
- :type trim_extrude_mode: typing.Optional[typing.Any]
983
+ :type trim_extrude_mode: typing.Any
1069
984
  """
1070
985
 
1071
986
  ...
1072
987
 
1073
988
  def uv_sculpt_stroke(
1074
- override_context: typing.Optional[
1075
- typing.Union["bpy.types.Context", typing.Dict]
1076
- ] = None,
1077
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1078
- undo: typing.Optional[bool] = None,
1079
- *,
1080
- mode: typing.Optional[typing.Any] = "NORMAL",
989
+ override_context: typing.Union[dict, bpy.types.Context] = None,
990
+ execution_context: typing.Union[str, int] = None,
991
+ undo: bool = None,
992
+ mode: typing.Any = "NORMAL",
1081
993
  ):
1082
994
  """Sculpt UVs using a brush
1083
995
 
1084
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1085
- :type execution_context: typing.Optional[typing.Union[int, str]]
1086
- :type undo: typing.Optional[bool]
996
+ :type override_context: typing.Union[dict, bpy.types.Context]
997
+ :type execution_context: typing.Union[str, int]
998
+ :type undo: bool
1087
999
  :param mode: Mode, Stroke Mode
1088
1000
 
1089
1001
  NORMAL
@@ -1094,7 +1006,7 @@ def uv_sculpt_stroke(
1094
1006
 
1095
1007
  RELAX
1096
1008
  Relax -- Switch brush to relax mode for duration of stroke.
1097
- :type mode: typing.Optional[typing.Any]
1009
+ :type mode: typing.Any
1098
1010
  """
1099
1011
 
1100
1012
  ...