fake-bpy-module 20240224__py3-none-any.whl → 20240326__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (293) hide show
  1. addon_utils/__init__.pyi +54 -10
  2. animsys_refactor/__init__.pyi +36 -6
  3. aud/__init__.pyi +132 -125
  4. bgl/__init__.pyi +2545 -546
  5. bl_app_override/__init__.pyi +14 -3
  6. bl_app_override/helpers/__init__.pyi +24 -2
  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 +53 -6
  15. bl_i18n_utils/utils/__init__.pyi +332 -44
  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 +171 -37
  27. bl_operators/anim/__init__.pyi +1065 -226
  28. bl_operators/assets/__init__.pyi +427 -92
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
  30. bl_operators/clip/__init__.pyi +1342 -287
  31. bl_operators/console/__init__.pyi +647 -140
  32. bl_operators/constraint/__init__.pyi +524 -112
  33. bl_operators/file/__init__.pyi +396 -84
  34. bl_operators/freestyle/__init__.pyi +532 -113
  35. bl_operators/geometry_nodes/__init__.pyi +2412 -596
  36. bl_operators/image/__init__.pyi +380 -82
  37. bl_operators/mesh/__init__.pyi +401 -85
  38. bl_operators/node/__init__.pyi +1756 -384
  39. bl_operators/object/__init__.pyi +2022 -552
  40. bl_operators/object_align/__init__.pyi +145 -31
  41. bl_operators/object_quick_effects/__init__.pyi +555 -124
  42. bl_operators/object_randomize_transform/__init__.pyi +136 -32
  43. bl_operators/presets/__init__.pyi +3516 -708
  44. bl_operators/rigidbody/__init__.pyi +401 -85
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
  46. bl_operators/sequencer/__init__.pyi +731 -149
  47. bl_operators/spreadsheet/__init__.pyi +145 -30
  48. bl_operators/userpref/__init__.pyi +3416 -824
  49. bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
  50. bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
  51. bl_operators/uvcalc_transform/__init__.pyi +344 -73
  52. bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
  53. bl_operators/view3d/__init__.pyi +697 -146
  54. bl_operators/wm/__init__.pyi +6287 -1533
  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 +504 -106
  59. bl_ui/anim/__init__.pyi +164 -33
  60. bl_ui/asset_shelf/__init__.pyi +146 -31
  61. bl_ui/generic_ui_list/__init__.pyi +471 -99
  62. bl_ui/node_add_menu/__init__.pyi +196 -40
  63. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
  64. bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
  65. bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
  66. bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
  67. bl_ui/properties_animviz/__init__.pyi +32 -2
  68. bl_ui/properties_collection/__init__.pyi +787 -179
  69. bl_ui/properties_constraint/__init__.pyi +28635 -5523
  70. bl_ui/properties_data_armature/__init__.pyi +1905 -448
  71. bl_ui/properties_data_bone/__init__.pyi +1560 -336
  72. bl_ui/properties_data_camera/__init__.pyi +2269 -494
  73. bl_ui/properties_data_curve/__init__.pyi +2362 -534
  74. bl_ui/properties_data_curves/__init__.pyi +951 -203
  75. bl_ui/properties_data_empty/__init__.pyi +317 -69
  76. bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
  77. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
  78. bl_ui/properties_data_lattice/__init__.pyi +472 -104
  79. bl_ui/properties_data_light/__init__.pyi +1570 -337
  80. bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
  81. bl_ui/properties_data_mesh/__init__.pyi +3205 -767
  82. bl_ui/properties_data_metaball/__init__.pyi +774 -170
  83. bl_ui/properties_data_modifier/__init__.pyi +1554 -328
  84. bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
  85. bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
  86. bl_ui/properties_data_speaker/__init__.pyi +782 -168
  87. bl_ui/properties_data_volume/__init__.pyi +1243 -281
  88. bl_ui/properties_freestyle/__init__.pyi +4071 -1030
  89. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
  90. bl_ui/properties_mask_common/__init__.pyi +1256 -249
  91. bl_ui/properties_material/__init__.pyi +2351 -542
  92. bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
  93. bl_ui/properties_object/__init__.pyi +2179 -512
  94. bl_ui/properties_output/__init__.pyi +2956 -705
  95. bl_ui/properties_paint_common/__init__.pyi +947 -140
  96. bl_ui/properties_particle/__init__.pyi +8322 -1970
  97. bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
  98. bl_ui/properties_physics_common/__init__.pyi +200 -44
  99. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
  100. bl_ui/properties_physics_field/__init__.pyi +1695 -364
  101. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
  102. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
  103. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
  104. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
  105. bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
  106. bl_ui/properties_render/__init__.pyi +8312 -1933
  107. bl_ui/properties_scene/__init__.pyi +2211 -539
  108. bl_ui/properties_texture/__init__.pyi +4185 -1013
  109. bl_ui/properties_view_layer/__init__.pyi +2803 -664
  110. bl_ui/properties_workspace/__init__.pyi +626 -148
  111. bl_ui/properties_world/__init__.pyi +1092 -234
  112. bl_ui/space_clip/__init__.pyi +11475 -2805
  113. bl_ui/space_console/__init__.pyi +967 -202
  114. bl_ui/space_dopesheet/__init__.pyi +4260 -966
  115. bl_ui/space_filebrowser/__init__.pyi +4852 -1187
  116. bl_ui/space_graph/__init__.pyi +3251 -702
  117. bl_ui/space_image/__init__.pyi +12219 -2968
  118. bl_ui/space_info/__init__.pyi +964 -200
  119. bl_ui/space_nla/__init__.pyi +2756 -584
  120. bl_ui/space_node/__init__.pyi +5661 -1265
  121. bl_ui/space_outliner/__init__.pyi +2294 -478
  122. bl_ui/space_properties/__init__.pyi +417 -92
  123. bl_ui/space_sequencer/__init__.pyi +12436 -3009
  124. bl_ui/space_spreadsheet/__init__.pyi +184 -36
  125. bl_ui/space_statusbar/__init__.pyi +135 -30
  126. bl_ui/space_text/__init__.pyi +2556 -542
  127. bl_ui/space_time/__init__.pyi +1151 -243
  128. bl_ui/space_toolsystem_common/__init__.pyi +368 -66
  129. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
  130. bl_ui/space_topbar/__init__.pyi +4214 -887
  131. bl_ui/space_userpref/__init__.pyi +13920 -3468
  132. bl_ui/space_view3d/__init__.pyi +43701 -10599
  133. bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
  134. bl_ui/utils/__init__.pyi +42 -4
  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 +268 -262
  143. bmesh/utils/__init__.pyi +55 -55
  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 +350 -305
  152. bpy/ops/anim/__init__.pyi +464 -426
  153. bpy/ops/armature/__init__.pyi +392 -360
  154. bpy/ops/asset/__init__.pyi +166 -129
  155. bpy/ops/boid/__init__.pyi +64 -37
  156. bpy/ops/brush/__init__.pyi +78 -72
  157. bpy/ops/buttons/__init__.pyi +136 -122
  158. bpy/ops/cachefile/__init__.pyi +128 -123
  159. bpy/ops/camera/__init__.pyi +22 -24
  160. bpy/ops/clip/__init__.pyi +844 -735
  161. bpy/ops/cloth/__init__.pyi +10 -11
  162. bpy/ops/collection/__init__.pyi +38 -38
  163. bpy/ops/console/__init__.pyi +170 -141
  164. bpy/ops/constraint/__init__.pyi +156 -159
  165. bpy/ops/curve/__init__.pyi +518 -461
  166. bpy/ops/curves/__init__.pyi +188 -159
  167. bpy/ops/cycles/__init__.pyi +20 -18
  168. bpy/ops/dpaint/__init__.pyi +40 -30
  169. bpy/ops/ed/__init__.pyi +136 -107
  170. bpy/ops/export_anim/__init__.pyi +18 -19
  171. bpy/ops/export_mesh/__init__.pyi +26 -27
  172. bpy/ops/export_scene/__init__.pyi +313 -334
  173. bpy/ops/file/__init__.pyi +394 -304
  174. bpy/ops/fluid/__init__.pyi +114 -63
  175. bpy/ops/font/__init__.pyi +272 -245
  176. bpy/ops/geometry/__init__.pyi +92 -87
  177. bpy/ops/gizmogroup/__init__.pyi +24 -21
  178. bpy/ops/gpencil/__init__.pyi +1530 -1476
  179. bpy/ops/graph/__init__.pyi +680 -659
  180. bpy/ops/grease_pencil/__init__.pyi +510 -390
  181. bpy/ops/image/__init__.pyi +650 -603
  182. bpy/ops/import_anim/__init__.pyi +26 -27
  183. bpy/ops/import_curve/__init__.pyi +6 -7
  184. bpy/ops/import_mesh/__init__.pyi +18 -21
  185. bpy/ops/import_scene/__init__.pyi +86 -95
  186. bpy/ops/info/__init__.pyi +68 -55
  187. bpy/ops/lattice/__init__.pyi +70 -63
  188. bpy/ops/marker/__init__.pyi +110 -111
  189. bpy/ops/mask/__init__.pyi +352 -308
  190. bpy/ops/material/__init__.pyi +24 -12
  191. bpy/ops/mball/__init__.pyi +72 -75
  192. bpy/ops/mesh/__init__.pyi +2052 -2088
  193. bpy/ops/nla/__init__.pyi +369 -313
  194. bpy/ops/node/__init__.pyi +944 -805
  195. bpy/ops/object/__init__.pyi +2662 -2461
  196. bpy/ops/outliner/__init__.pyi +582 -431
  197. bpy/ops/paint/__init__.pyi +605 -516
  198. bpy/ops/paintcurve/__init__.pyi +72 -60
  199. bpy/ops/palette/__init__.pyi +54 -46
  200. bpy/ops/particle/__init__.pyi +302 -245
  201. bpy/ops/pose/__init__.pyi +366 -330
  202. bpy/ops/poselib/__init__.pyi +78 -64
  203. bpy/ops/preferences/__init__.pyi +361 -341
  204. bpy/ops/ptcache/__init__.pyi +56 -38
  205. bpy/ops/render/__init__.pyi +120 -117
  206. bpy/ops/rigidbody/__init__.pyi +114 -97
  207. bpy/ops/scene/__init__.pyi +302 -240
  208. bpy/ops/screen/__init__.pyi +414 -363
  209. bpy/ops/script/__init__.pyi +20 -18
  210. bpy/ops/sculpt/__init__.pyi +414 -452
  211. bpy/ops/sculpt_curves/__init__.pyi +42 -43
  212. bpy/ops/sequencer/__init__.pyi +1094 -1053
  213. bpy/ops/sound/__init__.pyi +214 -206
  214. bpy/ops/spreadsheet/__init__.pyi +34 -28
  215. bpy/ops/surface/__init__.pyi +108 -114
  216. bpy/ops/text/__init__.pyi +432 -350
  217. bpy/ops/text_editor/__init__.pyi +10 -11
  218. bpy/ops/texture/__init__.pyi +32 -21
  219. bpy/ops/transform/__init__.pyi +801 -854
  220. bpy/ops/ui/__init__.pyi +254 -185
  221. bpy/ops/uilist/__init__.pyi +20 -23
  222. bpy/ops/uv/__init__.pyi +618 -626
  223. bpy/ops/view2d/__init__.pyi +162 -161
  224. bpy/ops/view3d/__init__.pyi +669 -658
  225. bpy/ops/wm/__init__.pyi +2433 -2415
  226. bpy/ops/workspace/__init__.pyi +54 -31
  227. bpy/ops/world/__init__.pyi +8 -4
  228. bpy/path/__init__.pyi +111 -68
  229. bpy/props/__init__.pyi +263 -267
  230. bpy/types/__init__.pyi +86789 -85719
  231. bpy/utils/__init__.pyi +265 -123
  232. bpy/utils/previews/__init__.pyi +103 -17
  233. bpy/utils/units/__init__.pyi +19 -22
  234. bpy_extras/__init__.pyi +0 -4
  235. bpy_extras/anim_utils/__init__.pyi +11 -46
  236. bpy_extras/asset_utils/__init__.pyi +3 -12
  237. bpy_extras/id_map_utils/__init__.pyi +0 -2
  238. bpy_extras/image_utils/__init__.pyi +2 -2
  239. bpy_extras/io_utils/__init__.pyi +30 -27
  240. bpy_extras/keyconfig_utils/__init__.pyi +4 -1
  241. bpy_extras/mesh_utils/__init__.pyi +18 -18
  242. bpy_extras/node_utils/__init__.pyi +4 -3
  243. bpy_extras/object_utils/__init__.pyi +25 -26
  244. bpy_extras/view3d_utils/__init__.pyi +33 -38
  245. bpy_restrict_state/__init__.pyi +14 -1
  246. bpy_types/__init__.pyi +3873 -997
  247. console_python/__init__.pyi +41 -7
  248. console_shell/__init__.pyi +24 -5
  249. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  250. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  251. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  252. freestyle/chainingiterators/__init__.pyi +50 -52
  253. freestyle/functions/__init__.pyi +303 -207
  254. freestyle/predicates/__init__.pyi +299 -115
  255. freestyle/shaders/__init__.pyi +49 -80
  256. freestyle/types/__init__.pyi +465 -472
  257. freestyle/utils/ContextFunctions/__init__.pyi +9 -9
  258. freestyle/utils/__init__.pyi +28 -18
  259. gpu/capabilities/__init__.pyi +27 -19
  260. gpu/matrix/__init__.pyi +14 -16
  261. gpu/platform/__init__.pyi +5 -5
  262. gpu/shader/__init__.pyi +2 -5
  263. gpu/state/__init__.pyi +1 -1
  264. gpu/texture/__init__.pyi +3 -3
  265. gpu/types/__init__.pyi +54 -85
  266. gpu_extras/batch/__init__.pyi +27 -5
  267. gpu_extras/presets/__init__.pyi +52 -14
  268. graphviz_export/__init__.pyi +9 -2
  269. idprop/types/__init__.pyi +36 -12
  270. imbuf/__init__.pyi +8 -9
  271. imbuf/types/__init__.pyi +8 -15
  272. keyingsets_builtins/__init__.pyi +3149 -701
  273. keyingsets_utils/__init__.pyi +69 -14
  274. mathutils/__init__.pyi +502 -427
  275. mathutils/bvhtree/__init__.pyi +28 -32
  276. mathutils/geometry/__init__.pyi +177 -186
  277. mathutils/kdtree/__init__.pyi +16 -18
  278. mathutils/noise/__init__.pyi +47 -48
  279. nodeitems_builtins/__init__.pyi +50 -10
  280. nodeitems_utils/__init__.pyi +58 -10
  281. rna_info/__init__.pyi +230 -26
  282. rna_keymap_ui/__init__.pyi +29 -6
  283. rna_prop_ui/__init__.pyi +69 -12
  284. rna_xml/__init__.pyi +29 -6
  285. sys_info/__init__.pyi +4 -1
  286. bpy_extras/bmesh_utils/__init__.pyi +0 -6
  287. bpy_extras/extensions/__init__.pyi +0 -4
  288. bpy_extras/extensions/junction_module/__init__.pyi +0 -12
  289. bpy_extras/node_shader_utils/__init__.pyi +0 -131
  290. bpy_extras/wm_utils/__init__.pyi +0 -4
  291. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
  292. fake_bpy_module-20240224.dist-info/RECORD +0 -349
  293. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -4,23 +4,20 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def brush_stroke(
7
- override_context=None,
8
- execution_context=None,
9
- undo=None,
10
- *,
11
- stroke: typing.Optional[
12
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
13
- ] = None,
14
- mode: typing.Optional[typing.Any] = "NORMAL",
15
- 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,
16
13
  ):
17
14
  """Sculpt a stroke into the geometry
18
15
 
19
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
20
- :type execution_context: typing.Optional[typing.Union[int, str]]
21
- :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
22
19
  :param stroke: Stroke
23
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
20
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
24
21
  :param mode: Stroke Mode, Action taken when a paint stroke is made
25
22
 
26
23
  NORMAL
@@ -31,47 +28,46 @@ def brush_stroke(
31
28
 
32
29
  SMOOTH
33
30
  Smooth -- Switch brush to smooth mode for duration of stroke.
34
- :type mode: typing.Optional[typing.Any]
31
+ :type mode: typing.Any
35
32
  :param ignore_background_click: Ignore Background Click, Clicks on the background do not start the stroke
36
- :type ignore_background_click: typing.Optional[typing.Union[bool, typing.Any]]
33
+ :type ignore_background_click: typing.Union[bool, typing.Any]
37
34
  """
38
35
 
39
36
  ...
40
37
 
41
38
  def cloth_filter(
42
- override_context=None,
43
- execution_context=None,
44
- undo=None,
45
- *,
46
- start_mouse: typing.Optional[typing.Any] = (0, 0),
47
- area_normal_radius: typing.Optional[typing.Any] = 0.25,
48
- strength: typing.Optional[typing.Any] = 1.0,
49
- iteration_count: typing.Optional[typing.Any] = 1,
50
- event_history: typing.Optional[
51
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
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
52
48
  ] = None,
53
- type: typing.Optional[typing.Any] = "GRAVITY",
54
- force_axis: typing.Optional[typing.Any] = {'"Z"', '"X"', '"Y"'},
55
- orientation: typing.Optional[typing.Any] = "LOCAL",
56
- cloth_mass: typing.Optional[typing.Any] = 1.0,
57
- cloth_damping: typing.Optional[typing.Any] = 0.0,
58
- use_face_sets: typing.Optional[typing.Union[bool, typing.Any]] = False,
59
- use_collisions: typing.Optional[typing.Union[bool, typing.Any]] = False,
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,
60
56
  ):
61
57
  """Applies a cloth simulation deformation to the entire mesh
62
58
 
63
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
64
- :type execution_context: typing.Optional[typing.Union[int, str]]
65
- :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
66
62
  :param start_mouse: Starting Mouse
67
- :type start_mouse: typing.Optional[typing.Any]
63
+ :type start_mouse: typing.Any
68
64
  :param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
69
- :type area_normal_radius: typing.Optional[typing.Any]
65
+ :type area_normal_radius: typing.Any
70
66
  :param strength: Strength, Filter strength
71
- :type strength: typing.Optional[typing.Any]
67
+ :type strength: typing.Any
72
68
  :param iteration_count: Repeat, How many times to repeat the filter
73
- :type iteration_count: typing.Optional[typing.Any]
74
- :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]
75
71
  :param type: Filter Type, Operation that is going to be applied to the mesh
76
72
 
77
73
  GRAVITY
@@ -88,7 +84,7 @@ def cloth_filter(
88
84
 
89
85
  SCALE
90
86
  Scale -- Scales the mesh as a soft body using the origin of the object as scale.
91
- :type type: typing.Optional[typing.Any]
87
+ :type type: typing.Any
92
88
  :param force_axis: Force Axis, Apply the force in the selected axis
93
89
 
94
90
  X
@@ -99,7 +95,7 @@ def cloth_filter(
99
95
 
100
96
  Z
101
97
  Z -- Apply force in the Z axis.
102
- :type force_axis: typing.Optional[typing.Any]
98
+ :type force_axis: typing.Any
103
99
  :param orientation: Orientation, Orientation of the axis to limit the filter force
104
100
 
105
101
  LOCAL
@@ -110,48 +106,47 @@ def cloth_filter(
110
106
 
111
107
  VIEW
112
108
  View -- Use the view axis to limit the force and set the gravity direction.
113
- :type orientation: typing.Optional[typing.Any]
109
+ :type orientation: typing.Any
114
110
  :param cloth_mass: Cloth Mass, Mass of each simulation particle
115
- :type cloth_mass: typing.Optional[typing.Any]
111
+ :type cloth_mass: typing.Any
116
112
  :param cloth_damping: Cloth Damping, How much the applied forces are propagated through the cloth
117
- :type cloth_damping: typing.Optional[typing.Any]
113
+ :type cloth_damping: typing.Any
118
114
  :param use_face_sets: Use Face Sets, Apply the filter only to the Face Set under the cursor
119
- :type use_face_sets: typing.Optional[typing.Union[bool, typing.Any]]
115
+ :type use_face_sets: typing.Union[bool, typing.Any]
120
116
  :param use_collisions: Use Collisions, Collide with other collider objects in the scene
121
- :type use_collisions: typing.Optional[typing.Union[bool, typing.Any]]
117
+ :type use_collisions: typing.Union[bool, typing.Any]
122
118
  """
123
119
 
124
120
  ...
125
121
 
126
122
  def color_filter(
127
- override_context=None,
128
- execution_context=None,
129
- undo=None,
130
- *,
131
- start_mouse: typing.Optional[typing.Any] = (0, 0),
132
- area_normal_radius: typing.Optional[typing.Any] = 0.25,
133
- strength: typing.Optional[typing.Any] = 1.0,
134
- iteration_count: typing.Optional[typing.Any] = 1,
135
- event_history: typing.Optional[
136
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
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
137
132
  ] = None,
138
- type: typing.Optional[typing.Any] = "FILL",
139
- fill_color: typing.Optional[typing.Any] = (1.0, 1.0, 1.0),
133
+ type: typing.Any = "FILL",
134
+ fill_color: typing.Any = (1.0, 1.0, 1.0),
140
135
  ):
141
136
  """Applies a filter to modify the active color attribute
142
137
 
143
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
144
- :type execution_context: typing.Optional[typing.Union[int, str]]
145
- :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
146
141
  :param start_mouse: Starting Mouse
147
- :type start_mouse: typing.Optional[typing.Any]
142
+ :type start_mouse: typing.Any
148
143
  :param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
149
- :type area_normal_radius: typing.Optional[typing.Any]
144
+ :type area_normal_radius: typing.Any
150
145
  :param strength: Strength, Filter strength
151
- :type strength: typing.Optional[typing.Any]
146
+ :type strength: typing.Any
152
147
  :param iteration_count: Repeat, How many times to repeat the filter
153
- :type iteration_count: typing.Optional[typing.Any]
154
- :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]
155
150
  :param type: Filter Type
156
151
 
157
152
  FILL
@@ -183,136 +178,142 @@ def color_filter(
183
178
 
184
179
  BLUE
185
180
  Blue -- Change blue channel.
186
- :type type: typing.Optional[typing.Any]
181
+ :type type: typing.Any
187
182
  :param fill_color: Fill Color
188
- :type fill_color: typing.Optional[typing.Any]
183
+ :type fill_color: typing.Any
189
184
  """
190
185
 
191
186
  ...
192
187
 
193
- def detail_flood_fill(override_context=None, execution_context=None, undo=None):
188
+ def detail_flood_fill(
189
+ override_context: typing.Union[dict, bpy.types.Context] = None,
190
+ execution_context: typing.Union[str, int] = None,
191
+ undo: bool = None,
192
+ ):
194
193
  """Flood fill the mesh with the selected detail setting
195
194
 
196
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
197
- :type execution_context: typing.Optional[typing.Union[int, str]]
198
- :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
199
198
  """
200
199
 
201
200
  ...
202
201
 
203
- def dynamic_topology_toggle(override_context=None, execution_context=None, undo=None):
202
+ def dynamic_topology_toggle(
203
+ override_context: typing.Union[dict, bpy.types.Context] = None,
204
+ execution_context: typing.Union[str, int] = None,
205
+ undo: bool = None,
206
+ ):
204
207
  """Dynamic topology alters the mesh topology while sculpting
205
208
 
206
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
207
- :type execution_context: typing.Optional[typing.Union[int, str]]
208
- :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
209
212
  """
210
213
 
211
214
  ...
212
215
 
213
- def dyntopo_detail_size_edit(override_context=None, execution_context=None, undo=None):
216
+ def dyntopo_detail_size_edit(
217
+ override_context: typing.Union[dict, bpy.types.Context] = None,
218
+ execution_context: typing.Union[str, int] = None,
219
+ undo: bool = None,
220
+ ):
214
221
  """Modify the detail size of dyntopo interactively
215
222
 
216
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
217
- :type execution_context: typing.Optional[typing.Union[int, str]]
218
- :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
219
226
  """
220
227
 
221
228
  ...
222
229
 
223
230
  def expand(
224
- override_context=None,
225
- execution_context=None,
226
- undo=None,
227
- *,
228
- target: typing.Optional[typing.Any] = "MASK",
229
- falloff_type: typing.Optional[typing.Any] = "GEODESIC",
230
- invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
231
- use_mask_preserve: typing.Optional[typing.Union[bool, typing.Any]] = False,
232
- use_falloff_gradient: typing.Optional[typing.Union[bool, typing.Any]] = False,
233
- use_modify_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
234
- use_reposition_pivot: typing.Optional[typing.Union[bool, typing.Any]] = True,
235
- max_geodesic_move_preview: typing.Optional[typing.Any] = 10000,
236
- use_auto_mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
237
- 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,
238
244
  ):
239
245
  """Generic sculpt expand operator
240
246
 
241
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
242
- :type execution_context: typing.Optional[typing.Union[int, str]]
243
- :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
244
250
  :param target: Data Target, Data that is going to be modified in the expand operation
245
- :type target: typing.Optional[typing.Any]
251
+ :type target: typing.Any
246
252
  :param falloff_type: Falloff Type, Initial falloff of the expand operation
247
- :type falloff_type: typing.Optional[typing.Any]
253
+ :type falloff_type: typing.Any
248
254
  :param invert: Invert, Invert the expand active elements
249
- :type invert: typing.Optional[typing.Union[bool, typing.Any]]
255
+ :type invert: typing.Union[bool, typing.Any]
250
256
  :param use_mask_preserve: Preserve Previous, Preserve the previous state of the target data
251
- :type use_mask_preserve: typing.Optional[typing.Union[bool, typing.Any]]
257
+ :type use_mask_preserve: typing.Union[bool, typing.Any]
252
258
  :param use_falloff_gradient: Falloff Gradient, Expand Using a linear falloff
253
- :type use_falloff_gradient: typing.Optional[typing.Union[bool, typing.Any]]
259
+ :type use_falloff_gradient: typing.Union[bool, typing.Any]
254
260
  :param use_modify_active: Modify Active, Modify the active Face Set instead of creating a new one
255
- :type use_modify_active: typing.Optional[typing.Union[bool, typing.Any]]
261
+ :type use_modify_active: typing.Union[bool, typing.Any]
256
262
  :param use_reposition_pivot: Reposition Pivot, Reposition the sculpt transform pivot to the boundary of the expand active area
257
- :type use_reposition_pivot: typing.Optional[typing.Union[bool, typing.Any]]
263
+ :type use_reposition_pivot: typing.Union[bool, typing.Any]
258
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
259
- :type max_geodesic_move_preview: typing.Optional[typing.Any]
265
+ :type max_geodesic_move_preview: typing.Any
260
266
  :param use_auto_mask: Auto Create, Fill in mask if nothing is already masked
261
- :type use_auto_mask: typing.Optional[typing.Union[bool, typing.Any]]
267
+ :type use_auto_mask: typing.Union[bool, typing.Any]
262
268
  :param normal_falloff_smooth: Normal Smooth, Blurring steps for normal falloff
263
- :type normal_falloff_smooth: typing.Optional[typing.Any]
269
+ :type normal_falloff_smooth: typing.Any
264
270
  """
265
271
 
266
272
  ...
267
273
 
268
274
  def face_set_box_gesture(
269
- override_context=None,
270
- execution_context=None,
271
- undo=None,
272
- *,
273
- xmin: typing.Optional[typing.Any] = 0,
274
- xmax: typing.Optional[typing.Any] = 0,
275
- ymin: typing.Optional[typing.Any] = 0,
276
- ymax: typing.Optional[typing.Any] = 0,
277
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
278
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
279
- use_limit_to_segment: 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,
280
284
  ):
281
285
  """Add face set within the box as you move the brush
282
286
 
283
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
284
- :type execution_context: typing.Optional[typing.Union[int, str]]
285
- :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
286
290
  :param xmin: X Min
287
- :type xmin: typing.Optional[typing.Any]
291
+ :type xmin: typing.Any
288
292
  :param xmax: X Max
289
- :type xmax: typing.Optional[typing.Any]
293
+ :type xmax: typing.Any
290
294
  :param ymin: Y Min
291
- :type ymin: typing.Optional[typing.Any]
295
+ :type ymin: typing.Any
292
296
  :param ymax: Y Max
293
- :type ymax: typing.Optional[typing.Any]
297
+ :type ymax: typing.Any
294
298
  :param wait_for_input: Wait for Input
295
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
299
+ :type wait_for_input: typing.Union[bool, typing.Any]
296
300
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
297
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
298
- :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
299
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
301
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
300
302
  """
301
303
 
302
304
  ...
303
305
 
304
306
  def face_set_change_visibility(
305
- override_context=None,
306
- execution_context=None,
307
- undo=None,
308
- *,
309
- 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",
310
311
  ):
311
312
  """Change the visibility of the Face Sets of the sculpt
312
313
 
313
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
314
- :type execution_context: typing.Optional[typing.Union[int, str]]
315
- :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
316
317
  :param mode: Mode
317
318
 
318
319
  TOGGLE
@@ -323,28 +324,27 @@ def face_set_change_visibility(
323
324
 
324
325
  HIDE_ACTIVE
325
326
  Hide Active Face Sets -- Hide Active Face Sets.
326
- :type mode: typing.Optional[typing.Any]
327
+ :type mode: typing.Any
327
328
  """
328
329
 
329
330
  ...
330
331
 
331
332
  def face_set_edit(
332
- override_context=None,
333
- execution_context=None,
334
- undo=None,
335
- *,
336
- active_face_set: typing.Optional[typing.Any] = 1,
337
- mode: typing.Optional[typing.Any] = "GROW",
338
- strength: typing.Optional[typing.Any] = 1.0,
339
- 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,
340
340
  ):
341
341
  """Edits the current active Face Set
342
342
 
343
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
344
- :type execution_context: typing.Optional[typing.Union[int, str]]
345
- :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
346
346
  :param active_face_set: Active Face Set
347
- :type active_face_set: typing.Optional[typing.Any]
347
+ :type active_face_set: typing.Any
348
348
  :param mode: Mode
349
349
 
350
350
  GROW
@@ -361,53 +361,46 @@ def face_set_edit(
361
361
 
362
362
  FAIR_TANGENCY
363
363
  Fair Tangency -- Creates a smooth as possible geometry patch from the Face Set minimizing changes in vertex tangents.
364
- :type mode: typing.Optional[typing.Any]
364
+ :type mode: typing.Any
365
365
  :param strength: Strength
366
- :type strength: typing.Optional[typing.Any]
366
+ :type strength: typing.Any
367
367
  :param modify_hidden: Modify Hidden, Apply the edit operation to hidden geometry
368
- :type modify_hidden: typing.Optional[typing.Union[bool, typing.Any]]
368
+ :type modify_hidden: typing.Union[bool, typing.Any]
369
369
  """
370
370
 
371
371
  ...
372
372
 
373
373
  def face_set_lasso_gesture(
374
- override_context=None,
375
- execution_context=None,
376
- undo=None,
377
- *,
378
- path: typing.Optional[
379
- bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
380
- ] = None,
381
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
382
- use_limit_to_segment: 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,
383
379
  ):
384
380
  """Add face set within the lasso as you move the brush
385
381
 
386
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
387
- :type execution_context: typing.Optional[typing.Union[int, str]]
388
- :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
389
385
  :param path: Path
390
- :type path: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorMousePath']]
386
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
391
387
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
392
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
393
- :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
394
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
388
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
395
389
  """
396
390
 
397
391
  ...
398
392
 
399
393
  def face_sets_create(
400
- override_context=None,
401
- execution_context=None,
402
- undo=None,
403
- *,
404
- 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",
405
398
  ):
406
399
  """Create a new Face Set
407
400
 
408
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
409
- :type execution_context: typing.Optional[typing.Union[int, str]]
410
- :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
411
404
  :param mode: Mode
412
405
 
413
406
  MASKED
@@ -421,24 +414,23 @@ def face_sets_create(
421
414
 
422
415
  SELECTION
423
416
  Face Set from Edit Mode Selection -- Create an Face Set corresponding to the Edit Mode face selection.
424
- :type mode: typing.Optional[typing.Any]
417
+ :type mode: typing.Any
425
418
  """
426
419
 
427
420
  ...
428
421
 
429
422
  def face_sets_init(
430
- override_context=None,
431
- execution_context=None,
432
- undo=None,
433
- *,
434
- mode: typing.Optional[typing.Any] = "LOOSE_PARTS",
435
- 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,
436
428
  ):
437
429
  """Initializes all Face Sets in the mesh
438
430
 
439
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
440
- :type execution_context: typing.Optional[typing.Union[int, str]]
441
- :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
442
434
  :param mode: Mode
443
435
 
444
436
  LOOSE_PARTS
@@ -464,116 +456,97 @@ def face_sets_init(
464
456
 
465
457
  FACE_SET_BOUNDARIES
466
458
  Face Sets from Face Set Boundaries -- Create a Face Set per isolated Face Set.
467
- :type mode: typing.Optional[typing.Any]
459
+ :type mode: typing.Any
468
460
  :param threshold: Threshold, Minimum value to consider a certain attribute a boundary when creating the Face Sets
469
- :type threshold: typing.Optional[typing.Any]
461
+ :type threshold: typing.Any
470
462
  """
471
463
 
472
464
  ...
473
465
 
474
466
  def face_sets_randomize_colors(
475
- override_context=None, execution_context=None, undo=None
467
+ override_context: typing.Union[dict, bpy.types.Context] = None,
468
+ execution_context: typing.Union[str, int] = None,
469
+ undo: bool = None,
476
470
  ):
477
471
  """Generates a new set of random colors to render the Face Sets in the viewport
478
472
 
479
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
480
- :type execution_context: typing.Optional[typing.Union[int, str]]
481
- :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
482
476
  """
483
477
 
484
478
  ...
485
479
 
486
480
  def mask_by_color(
487
- override_context=None,
488
- execution_context=None,
489
- undo=None,
490
- *,
491
- contiguous: typing.Optional[typing.Union[bool, typing.Any]] = False,
492
- invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
493
- preserve_previous_mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
494
- 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,
495
488
  ):
496
489
  """Creates a mask based on the active color attribute
497
490
 
498
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
499
- :type execution_context: typing.Optional[typing.Union[int, str]]
500
- :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
501
494
  :param contiguous: Contiguous, Mask only contiguous color areas
502
- :type contiguous: typing.Optional[typing.Union[bool, typing.Any]]
495
+ :type contiguous: typing.Union[bool, typing.Any]
503
496
  :param invert: Invert, Invert the generated mask
504
- :type invert: typing.Optional[typing.Union[bool, typing.Any]]
497
+ :type invert: typing.Union[bool, typing.Any]
505
498
  :param preserve_previous_mask: Preserve Previous Mask, Preserve the previous mask and add or subtract the new one generated by the colors
506
- :type preserve_previous_mask: typing.Optional[typing.Union[bool, typing.Any]]
499
+ :type preserve_previous_mask: typing.Union[bool, typing.Any]
507
500
  :param threshold: Threshold, How much changes in color affect the mask generation
508
- :type threshold: typing.Optional[typing.Any]
501
+ :type threshold: typing.Any
509
502
  """
510
503
 
511
504
  ...
512
505
 
513
506
  def mask_filter(
514
- override_context=None,
515
- execution_context=None,
516
- undo=None,
517
- *,
518
- filter_type: typing.Optional[typing.Any] = "SMOOTH",
519
- iterations: typing.Optional[typing.Any] = 1,
520
- 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,
521
513
  ):
522
514
  """Applies a filter to modify the current mask
523
515
 
524
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
525
- :type execution_context: typing.Optional[typing.Union[int, str]]
526
- :type undo: typing.Optional[bool]
527
- :param filter_type: Type, Filter that is going to be applied to the mask
528
-
529
- SMOOTH
530
- Smooth Mask -- Smooth mask.
531
-
532
- SHARPEN
533
- Sharpen Mask -- Sharpen mask.
534
-
535
- GROW
536
- Grow Mask -- Grow mask.
537
-
538
- SHRINK
539
- Shrink Mask -- Shrink mask.
540
-
541
- CONTRAST_INCREASE
542
- Increase Contrast -- Increase the contrast of the paint mask.
543
-
544
- CONTRAST_DECREASE
545
- Decrease Contrast -- Decrease the contrast of the paint mask.
546
- :type filter_type: typing.Optional[typing.Any]
547
- :param iterations: Iterations, Number of times that the filter is going to be applied
548
- :type iterations: typing.Optional[typing.Any]
549
- :param auto_iteration_count: Auto Iteration Count, Use a automatic number of iterations based on the number of vertices of the sculpt
550
- :type auto_iteration_count: typing.Optional[typing.Union[bool, typing.Any]]
516
+ :type override_context: typing.Union[dict, bpy.types.Context]
517
+ :type execution_context: typing.Union[str, int]
518
+ :type undo: bool
519
+ :param filter_type: Type, Filter that is going to be applied to the mask
520
+ :type filter_type: typing.Any
521
+ :param iterations: Iterations, Number of times that the filter is going to be applied
522
+ :type iterations: typing.Any
523
+ :param auto_iteration_count: Auto Iteration Count, Use a automatic number of iterations based on the number of vertices of the sculpt
524
+ :type auto_iteration_count: typing.Union[bool, typing.Any]
551
525
  """
552
526
 
553
527
  ...
554
528
 
555
529
  def mask_from_cavity(
556
- override_context=None,
557
- execution_context=None,
558
- undo=None,
559
- *,
560
- mix_mode: typing.Optional[typing.Any] = "MIX",
561
- mix_factor: typing.Optional[typing.Any] = 1.0,
562
- settings_source: typing.Optional[typing.Any] = "OPERATOR",
563
- factor: typing.Optional[typing.Any] = 0.5,
564
- blur_steps: typing.Optional[typing.Any] = 2,
565
- use_curve: typing.Optional[typing.Union[bool, typing.Any]] = False,
566
- 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,
567
540
  ):
568
541
  """Creates a mask based on the curvature of the surface
569
542
 
570
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
571
- :type execution_context: typing.Optional[typing.Union[int, str]]
572
- :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
573
546
  :param mix_mode: Mode, Mix mode
574
- :type mix_mode: typing.Optional[typing.Any]
547
+ :type mix_mode: typing.Any
575
548
  :param mix_factor: Mix Factor
576
- :type mix_factor: typing.Optional[typing.Any]
549
+ :type mix_factor: typing.Any
577
550
  :param settings_source: Settings, Use settings from here
578
551
 
579
552
  OPERATOR
@@ -584,72 +557,70 @@ def mask_from_cavity(
584
557
 
585
558
  SCENE
586
559
  Scene -- Use settings from scene.
587
- :type settings_source: typing.Optional[typing.Any]
560
+ :type settings_source: typing.Any
588
561
  :param factor: Factor, The contrast of the cavity mask
589
- :type factor: typing.Optional[typing.Any]
562
+ :type factor: typing.Any
590
563
  :param blur_steps: Blur, The number of times the cavity mask is blurred
591
- :type blur_steps: typing.Optional[typing.Any]
564
+ :type blur_steps: typing.Any
592
565
  :param use_curve: Custom Curve
593
- :type use_curve: typing.Optional[typing.Union[bool, typing.Any]]
566
+ :type use_curve: typing.Union[bool, typing.Any]
594
567
  :param invert: Cavity (Inverted)
595
- :type invert: typing.Optional[typing.Union[bool, typing.Any]]
568
+ :type invert: typing.Union[bool, typing.Any]
596
569
  """
597
570
 
598
571
  ...
599
572
 
600
573
  def mask_init(
601
- override_context=None,
602
- execution_context=None,
603
- undo=None,
604
- *,
605
- 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",
606
578
  ):
607
579
  """Creates a new mask for the entire mesh
608
580
 
609
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
610
- :type execution_context: typing.Optional[typing.Union[int, str]]
611
- :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
612
584
  :param mode: Mode
613
- :type mode: typing.Optional[typing.Any]
585
+ :type mode: typing.Any
614
586
  """
615
587
 
616
588
  ...
617
589
 
618
590
  def mesh_filter(
619
- override_context=None,
620
- execution_context=None,
621
- undo=None,
622
- *,
623
- start_mouse: typing.Optional[typing.Any] = (0, 0),
624
- area_normal_radius: typing.Optional[typing.Any] = 0.25,
625
- strength: typing.Optional[typing.Any] = 1.0,
626
- iteration_count: typing.Optional[typing.Any] = 1,
627
- event_history: typing.Optional[
628
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
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
629
600
  ] = None,
630
- type: typing.Optional[typing.Any] = "INFLATE",
631
- deform_axis: typing.Optional[typing.Any] = {'"Z"', '"X"', '"Y"'},
632
- orientation: typing.Optional[typing.Any] = "LOCAL",
633
- surface_smooth_shape_preservation: typing.Optional[typing.Any] = 0.5,
634
- surface_smooth_current_vertex: typing.Optional[typing.Any] = 0.5,
635
- sharpen_smooth_ratio: typing.Optional[typing.Any] = 0.35,
636
- sharpen_intensify_detail_strength: typing.Optional[typing.Any] = 0.0,
637
- sharpen_curvature_smooth_iterations: typing.Optional[typing.Any] = 0,
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,
638
609
  ):
639
610
  """Applies a filter to modify the current mesh
640
611
 
641
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
642
- :type execution_context: typing.Optional[typing.Union[int, str]]
643
- :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
644
615
  :param start_mouse: Starting Mouse
645
- :type start_mouse: typing.Optional[typing.Any]
616
+ :type start_mouse: typing.Any
646
617
  :param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
647
- :type area_normal_radius: typing.Optional[typing.Any]
618
+ :type area_normal_radius: typing.Any
648
619
  :param strength: Strength, Filter strength
649
- :type strength: typing.Optional[typing.Any]
620
+ :type strength: typing.Any
650
621
  :param iteration_count: Repeat, How many times to repeat the filter
651
- :type iteration_count: typing.Optional[typing.Any]
652
- :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]
653
624
  :param type: Filter Type, Operation that is going to be applied to the mesh
654
625
 
655
626
  SMOOTH
@@ -684,7 +655,7 @@ def mesh_filter(
684
655
 
685
656
  ERASE_DISCPLACEMENT
686
657
  Erase Displacement -- Deletes the displacement of the Multires Modifier.
687
- :type type: typing.Optional[typing.Any]
658
+ :type type: typing.Any
688
659
  :param deform_axis: Deform Axis, Apply the deformation in the selected axis
689
660
 
690
661
  X
@@ -695,7 +666,7 @@ def mesh_filter(
695
666
 
696
667
  Z
697
668
  Z -- Deform in the Z axis.
698
- :type deform_axis: typing.Optional[typing.Any]
669
+ :type deform_axis: typing.Any
699
670
  :param orientation: Orientation, Orientation of the axis to limit the filter displacement
700
671
 
701
672
  LOCAL
@@ -706,95 +677,101 @@ def mesh_filter(
706
677
 
707
678
  VIEW
708
679
  View -- Use the view axis to limit the displacement.
709
- :type orientation: typing.Optional[typing.Any]
680
+ :type orientation: typing.Any
710
681
  :param surface_smooth_shape_preservation: Shape Preservation, How much of the original shape is preserved when smoothing
711
- :type surface_smooth_shape_preservation: typing.Optional[typing.Any]
682
+ :type surface_smooth_shape_preservation: typing.Any
712
683
  :param surface_smooth_current_vertex: Per Vertex Displacement, How much the position of each individual vertex influences the final result
713
- :type surface_smooth_current_vertex: typing.Optional[typing.Any]
684
+ :type surface_smooth_current_vertex: typing.Any
714
685
  :param sharpen_smooth_ratio: Smooth Ratio, How much smoothing is applied to polished surfaces
715
- :type sharpen_smooth_ratio: typing.Optional[typing.Any]
686
+ :type sharpen_smooth_ratio: typing.Any
716
687
  :param sharpen_intensify_detail_strength: Intensify Details, How much creases and valleys are intensified
717
- :type sharpen_intensify_detail_strength: typing.Optional[typing.Any]
688
+ :type sharpen_intensify_detail_strength: typing.Any
718
689
  :param sharpen_curvature_smooth_iterations: Curvature Smooth Iterations, How much smooth the resulting shape is, ignoring high frequency details
719
- :type sharpen_curvature_smooth_iterations: typing.Optional[typing.Any]
690
+ :type sharpen_curvature_smooth_iterations: typing.Any
720
691
  """
721
692
 
722
693
  ...
723
694
 
724
- def optimize(override_context=None, execution_context=None, undo=None):
695
+ def optimize(
696
+ override_context: typing.Union[dict, bpy.types.Context] = None,
697
+ execution_context: typing.Union[str, int] = None,
698
+ undo: bool = None,
699
+ ):
725
700
  """Recalculate the sculpt BVH to improve performance
726
701
 
727
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
728
- :type execution_context: typing.Optional[typing.Union[int, str]]
729
- :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
730
705
  """
731
706
 
732
707
  ...
733
708
 
734
709
  def project_line_gesture(
735
- override_context=None,
736
- execution_context=None,
737
- undo=None,
738
- *,
739
- xstart: typing.Optional[typing.Any] = 0,
740
- xend: typing.Optional[typing.Any] = 0,
741
- ystart: typing.Optional[typing.Any] = 0,
742
- yend: typing.Optional[typing.Any] = 0,
743
- flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
744
- cursor: typing.Optional[typing.Any] = 5,
745
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
746
- 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,
747
721
  ):
748
722
  """Project the geometry onto a plane defined by a line
749
723
 
750
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
751
- :type execution_context: typing.Optional[typing.Union[int, str]]
752
- :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
753
727
  :param xstart: X Start
754
- :type xstart: typing.Optional[typing.Any]
728
+ :type xstart: typing.Any
755
729
  :param xend: X End
756
- :type xend: typing.Optional[typing.Any]
730
+ :type xend: typing.Any
757
731
  :param ystart: Y Start
758
- :type ystart: typing.Optional[typing.Any]
732
+ :type ystart: typing.Any
759
733
  :param yend: Y End
760
- :type yend: typing.Optional[typing.Any]
734
+ :type yend: typing.Any
761
735
  :param flip: Flip
762
- :type flip: typing.Optional[typing.Union[bool, typing.Any]]
736
+ :type flip: typing.Union[bool, typing.Any]
763
737
  :param cursor: Cursor, Mouse cursor style to use during the modal operator
764
- :type cursor: typing.Optional[typing.Any]
738
+ :type cursor: typing.Any
765
739
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
766
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
740
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
767
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
768
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
742
+ :type use_limit_to_segment: typing.Union[bool, typing.Any]
769
743
  """
770
744
 
771
745
  ...
772
746
 
773
- def sample_color(override_context=None, execution_context=None, undo=None):
747
+ def sample_color(
748
+ override_context: typing.Union[dict, bpy.types.Context] = None,
749
+ execution_context: typing.Union[str, int] = None,
750
+ undo: bool = None,
751
+ ):
774
752
  """Sample the vertex color of the active vertex
775
753
 
776
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
777
- :type execution_context: typing.Optional[typing.Union[int, str]]
778
- :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
779
757
  """
780
758
 
781
759
  ...
782
760
 
783
761
  def sample_detail_size(
784
- override_context=None,
785
- execution_context=None,
786
- undo=None,
787
- *,
788
- location: typing.Optional[typing.Any] = (0, 0),
789
- 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",
790
767
  ):
791
768
  """Sample the mesh detail on clicked point
792
769
 
793
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
794
- :type execution_context: typing.Optional[typing.Union[int, str]]
795
- :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
796
773
  :param location: Location, Screen coordinates of sampling
797
- :type location: typing.Optional[typing.Any]
774
+ :type location: typing.Any
798
775
  :param mode: Detail Mode, Target sculpting workflow that is going to use the sampled size
799
776
 
800
777
  DYNTOPO
@@ -802,55 +779,52 @@ def sample_detail_size(
802
779
 
803
780
  VOXEL
804
781
  Voxel -- Sample mesh voxel size.
805
- :type mode: typing.Optional[typing.Any]
782
+ :type mode: typing.Any
806
783
  """
807
784
 
808
785
  ...
809
786
 
810
- def sculptmode_toggle(override_context=None, execution_context=None, undo=None):
787
+ def sculptmode_toggle(
788
+ override_context: typing.Union[dict, bpy.types.Context] = None,
789
+ execution_context: typing.Union[str, int] = None,
790
+ undo: bool = None,
791
+ ):
811
792
  """Toggle sculpt mode in 3D view
812
793
 
813
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
814
- :type execution_context: typing.Optional[typing.Union[int, str]]
815
- :type undo: typing.Optional[bool]
816
- """
817
-
818
- ...
819
-
820
- def set_detail_size(override_context=None, execution_context=None, undo=None):
821
- """Set the mesh detail (either relative or constant one, depending on current dyntopo mode)
822
-
823
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
824
- :type execution_context: typing.Optional[typing.Union[int, str]]
825
- :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
826
797
  """
827
798
 
828
799
  ...
829
800
 
830
- def set_persistent_base(override_context=None, execution_context=None, undo=None):
801
+ def set_persistent_base(
802
+ override_context: typing.Union[dict, bpy.types.Context] = None,
803
+ execution_context: typing.Union[str, int] = None,
804
+ undo: bool = None,
805
+ ):
831
806
  """Reset the copy of the mesh that is being sculpted on
832
807
 
833
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
834
- :type execution_context: typing.Optional[typing.Union[int, str]]
835
- :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
836
811
  """
837
812
 
838
813
  ...
839
814
 
840
815
  def set_pivot_position(
841
- override_context=None,
842
- execution_context=None,
843
- undo=None,
844
- *,
845
- mode: typing.Optional[typing.Any] = "UNMASKED",
846
- mouse_x: typing.Optional[typing.Any] = 0.0,
847
- 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,
848
822
  ):
849
823
  """Sets the sculpt transform pivot position
850
824
 
851
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
852
- :type execution_context: typing.Optional[typing.Union[int, str]]
853
- :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
854
828
  :param mode: Mode
855
829
 
856
830
  ORIGIN
@@ -867,69 +841,64 @@ def set_pivot_position(
867
841
 
868
842
  SURFACE
869
843
  Surface -- Sets the pivot position to the surface under the cursor.
870
- :type mode: typing.Optional[typing.Any]
844
+ :type mode: typing.Any
871
845
  :param mouse_x: Mouse Position X, Position of the mouse used for "Surface" mode
872
- :type mouse_x: typing.Optional[typing.Any]
846
+ :type mouse_x: typing.Any
873
847
  :param mouse_y: Mouse Position Y, Position of the mouse used for "Surface" mode
874
- :type mouse_y: typing.Optional[typing.Any]
848
+ :type mouse_y: typing.Any
875
849
  """
876
850
 
877
851
  ...
878
852
 
879
853
  def symmetrize(
880
- override_context=None,
881
- execution_context=None,
882
- undo=None,
883
- *,
884
- 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,
885
858
  ):
886
859
  """Symmetrize the topology modifications
887
860
 
888
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
889
- :type execution_context: typing.Optional[typing.Union[int, str]]
890
- :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
891
864
  :param merge_tolerance: Merge Distance, Distance within which symmetrical vertices are merged
892
- :type merge_tolerance: typing.Optional[typing.Any]
865
+ :type merge_tolerance: typing.Any
893
866
  """
894
867
 
895
868
  ...
896
869
 
897
870
  def trim_box_gesture(
898
- override_context=None,
899
- execution_context=None,
900
- undo=None,
901
- *,
902
- xmin: typing.Optional[typing.Any] = 0,
903
- xmax: typing.Optional[typing.Any] = 0,
904
- ymin: typing.Optional[typing.Any] = 0,
905
- ymax: typing.Optional[typing.Any] = 0,
906
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
907
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
908
- use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
909
- trim_mode: typing.Optional[typing.Any] = "DIFFERENCE",
910
- use_cursor_depth: typing.Optional[typing.Union[bool, typing.Any]] = False,
911
- trim_orientation: typing.Optional[typing.Any] = "VIEW",
912
- 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",
913
884
  ):
914
885
  """Trims the mesh within the box as you move the brush
915
886
 
916
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
917
- :type execution_context: typing.Optional[typing.Union[int, str]]
918
- :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
919
890
  :param xmin: X Min
920
- :type xmin: typing.Optional[typing.Any]
891
+ :type xmin: typing.Any
921
892
  :param xmax: X Max
922
- :type xmax: typing.Optional[typing.Any]
893
+ :type xmax: typing.Any
923
894
  :param ymin: Y Min
924
- :type ymin: typing.Optional[typing.Any]
895
+ :type ymin: typing.Any
925
896
  :param ymax: Y Max
926
- :type ymax: typing.Optional[typing.Any]
897
+ :type ymax: typing.Any
927
898
  :param wait_for_input: Wait for Input
928
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
899
+ :type wait_for_input: typing.Union[bool, typing.Any]
929
900
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
930
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
931
- :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
932
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
901
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
933
902
  :param trim_mode: Trim Mode
934
903
 
935
904
  DIFFERENCE
@@ -940,9 +909,9 @@ def trim_box_gesture(
940
909
 
941
910
  JOIN
942
911
  Join -- Join the new mesh as separate geometry, without performing any boolean operation.
943
- :type trim_mode: typing.Optional[typing.Any]
912
+ :type trim_mode: typing.Any
944
913
  :param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
945
- :type use_cursor_depth: typing.Optional[typing.Union[bool, typing.Any]]
914
+ :type use_cursor_depth: typing.Union[bool, typing.Any]
946
915
  :param trim_orientation: Shape Orientation
947
916
 
948
917
  VIEW
@@ -950,7 +919,7 @@ def trim_box_gesture(
950
919
 
951
920
  SURFACE
952
921
  Surface -- Use the surface normal to orientate the trimming shape.
953
- :type trim_orientation: typing.Optional[typing.Any]
922
+ :type trim_orientation: typing.Any
954
923
  :param trim_extrude_mode: Extrude Mode
955
924
 
956
925
  PROJECT
@@ -958,37 +927,31 @@ def trim_box_gesture(
958
927
 
959
928
  FIXED
960
929
  Fixed -- Extrude back faces by fixed amount.
961
- :type trim_extrude_mode: typing.Optional[typing.Any]
930
+ :type trim_extrude_mode: typing.Any
962
931
  """
963
932
 
964
933
  ...
965
934
 
966
935
  def trim_lasso_gesture(
967
- override_context=None,
968
- execution_context=None,
969
- undo=None,
970
- *,
971
- path: typing.Optional[
972
- bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
973
- ] = None,
974
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
975
- use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
976
- trim_mode: typing.Optional[typing.Any] = "DIFFERENCE",
977
- use_cursor_depth: typing.Optional[typing.Union[bool, typing.Any]] = False,
978
- trim_orientation: typing.Optional[typing.Any] = "VIEW",
979
- 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",
980
945
  ):
981
946
  """Trims the mesh within the lasso as you move the brush
982
947
 
983
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
984
- :type execution_context: typing.Optional[typing.Union[int, str]]
985
- :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
986
951
  :param path: Path
987
- :type path: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorMousePath']]
952
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
988
953
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
989
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
990
- :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
991
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
954
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
992
955
  :param trim_mode: Trim Mode
993
956
 
994
957
  DIFFERENCE
@@ -999,9 +962,9 @@ def trim_lasso_gesture(
999
962
 
1000
963
  JOIN
1001
964
  Join -- Join the new mesh as separate geometry, without performing any boolean operation.
1002
- :type trim_mode: typing.Optional[typing.Any]
965
+ :type trim_mode: typing.Any
1003
966
  :param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
1004
- :type use_cursor_depth: typing.Optional[typing.Union[bool, typing.Any]]
967
+ :type use_cursor_depth: typing.Union[bool, typing.Any]
1005
968
  :param trim_orientation: Shape Orientation
1006
969
 
1007
970
  VIEW
@@ -1009,7 +972,7 @@ def trim_lasso_gesture(
1009
972
 
1010
973
  SURFACE
1011
974
  Surface -- Use the surface normal to orientate the trimming shape.
1012
- :type trim_orientation: typing.Optional[typing.Any]
975
+ :type trim_orientation: typing.Any
1013
976
  :param trim_extrude_mode: Extrude Mode
1014
977
 
1015
978
  PROJECT
@@ -1017,23 +980,22 @@ def trim_lasso_gesture(
1017
980
 
1018
981
  FIXED
1019
982
  Fixed -- Extrude back faces by fixed amount.
1020
- :type trim_extrude_mode: typing.Optional[typing.Any]
983
+ :type trim_extrude_mode: typing.Any
1021
984
  """
1022
985
 
1023
986
  ...
1024
987
 
1025
988
  def uv_sculpt_stroke(
1026
- override_context=None,
1027
- execution_context=None,
1028
- undo=None,
1029
- *,
1030
- 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",
1031
993
  ):
1032
994
  """Sculpt UVs using a brush
1033
995
 
1034
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1035
- :type execution_context: typing.Optional[typing.Union[int, str]]
1036
- :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
1037
999
  :param mode: Mode, Stroke Mode
1038
1000
 
1039
1001
  NORMAL
@@ -1044,7 +1006,7 @@ def uv_sculpt_stroke(
1044
1006
 
1045
1007
  RELAX
1046
1008
  Relax -- Switch brush to relax mode for duration of stroke.
1047
- :type mode: typing.Optional[typing.Any]
1009
+ :type mode: typing.Any
1048
1010
  """
1049
1011
 
1050
1012
  ...