fake-bpy-module 20240516__py3-none-any.whl → 20240518__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 (549) hide show
  1. _bpy_internal/freedesktop/__init__.pyi +17 -84
  2. addon_utils/__init__.pyi +44 -38
  3. animsys_refactor/__init__.pyi +7 -27
  4. aud/__init__.pyi +8 -11
  5. bgl/__init__.pyi +121 -1812
  6. bl_app_override/__init__.pyi +8 -19
  7. bl_app_override/helpers/__init__.pyi +5 -23
  8. bl_app_template_utils/__init__.pyi +5 -17
  9. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
  10. bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
  11. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
  12. bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
  13. bl_i18n_utils/bl_extract_messages/__init__.pyi +16 -67
  14. bl_i18n_utils/merge_po/__init__.pyi +1 -4
  15. bl_i18n_utils/settings/__init__.pyi +6 -24
  16. bl_i18n_utils/utils/__init__.pyi +93 -122
  17. bl_i18n_utils/utils_cli/__init__.pyi +6 -29
  18. bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -4
  19. bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
  20. bl_keymap_utils/io/__init__.pyi +9 -40
  21. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
  22. bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -4
  23. bl_keymap_utils/platform_helpers/__init__.pyi +2 -6
  24. bl_keymap_utils/versioning/__init__.pyi +1 -4
  25. bl_operators/__init__.pyi +2 -9
  26. bl_operators/add_mesh_torus/__init__.pyi +128 -59
  27. bl_operators/anim/__init__.pyi +1001 -398
  28. bl_operators/assets/__init__.pyi +376 -152
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +10 -37
  30. bl_operators/clip/__init__.pyi +1264 -532
  31. bl_operators/console/__init__.pyi +626 -242
  32. bl_operators/constraint/__init__.pyi +502 -201
  33. bl_operators/file/__init__.pyi +376 -150
  34. bl_operators/freestyle/__init__.pyi +501 -200
  35. bl_operators/geometry_nodes/__init__.pyi +514 -266
  36. bl_operators/image/__init__.pyi +621 -251
  37. bl_operators/mesh/__init__.pyi +376 -150
  38. bl_operators/node/__init__.pyi +1253 -516
  39. bl_operators/object/__init__.pyi +1879 -755
  40. bl_operators/object_align/__init__.pyi +129 -64
  41. bl_operators/object_quick_effects/__init__.pyi +504 -213
  42. bl_operators/object_randomize_transform/__init__.pyi +129 -54
  43. bl_operators/presets/__init__.pyi +3072 -1403
  44. bl_operators/rigidbody/__init__.pyi +376 -150
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +127 -54
  46. bl_operators/sequencer/__init__.pyi +1010 -434
  47. bl_operators/spreadsheet/__init__.pyi +126 -50
  48. bl_operators/userpref/__init__.pyi +3253 -1267
  49. bl_operators/uvcalc_follow_active/__init__.pyi +128 -59
  50. bl_operators/uvcalc_lightmap/__init__.pyi +139 -80
  51. bl_operators/uvcalc_transform/__init__.pyi +297 -159
  52. bl_operators/vertexpaint_dirt/__init__.pyi +128 -59
  53. bl_operators/view3d/__init__.pyi +868 -342
  54. bl_operators/wm/__init__.pyi +5795 -2388
  55. bl_operators/world/__init__.pyi +126 -50
  56. bl_previews_utils/bl_previews_render/__init__.pyi +7 -34
  57. bl_rna_utils/data_path/__init__.pyi +8 -4
  58. bl_text_utils/external_editor/__init__.pyi +1 -4
  59. bl_ui/__init__.pyi +366 -269
  60. bl_ui/anim/__init__.pyi +164 -74
  61. bl_ui/asset_shelf/__init__.pyi +129 -56
  62. bl_ui/generic_ui_list/__init__.pyi +412 -163
  63. bl_ui/node_add_menu/__init__.pyi +171 -94
  64. bl_ui/node_add_menu_compositor/__init__.pyi +2918 -1353
  65. bl_ui/node_add_menu_geometry/__init__.pyi +7789 -3616
  66. bl_ui/node_add_menu_shader/__init__.pyi +1630 -790
  67. bl_ui/node_add_menu_texture/__init__.pyi +1459 -675
  68. bl_ui/properties_animviz/__init__.pyi +2 -16
  69. bl_ui/properties_collection/__init__.pyi +807 -379
  70. bl_ui/properties_constraint/__init__.pyi +10292 -4941
  71. bl_ui/properties_data_armature/__init__.pyi +1615 -753
  72. bl_ui/properties_data_bone/__init__.pyi +1284 -608
  73. bl_ui/properties_data_camera/__init__.pyi +1854 -927
  74. bl_ui/properties_data_curve/__init__.pyi +1927 -937
  75. bl_ui/properties_data_curves/__init__.pyi +806 -375
  76. bl_ui/properties_data_empty/__init__.pyi +257 -125
  77. bl_ui/properties_data_gpencil/__init__.pyi +2376 -1130
  78. bl_ui/properties_data_grease_pencil/__init__.pyi +1898 -894
  79. bl_ui/properties_data_lattice/__init__.pyi +388 -188
  80. bl_ui/properties_data_light/__init__.pyi +1540 -756
  81. bl_ui/properties_data_lightprobe/__init__.pyi +1666 -810
  82. bl_ui/properties_data_mesh/__init__.pyi +2707 -1235
  83. bl_ui/properties_data_metaball/__init__.pyi +644 -308
  84. bl_ui/properties_data_modifier/__init__.pyi +1353 -671
  85. bl_ui/properties_data_pointcloud/__init__.pyi +679 -316
  86. bl_ui/properties_data_shaderfx/__init__.pyi +129 -67
  87. bl_ui/properties_data_speaker/__init__.pyi +644 -316
  88. bl_ui/properties_data_volume/__init__.pyi +1028 -484
  89. bl_ui/properties_freestyle/__init__.pyi +3112 -1619
  90. bl_ui/properties_grease_pencil_common/__init__.pyi +2454 -1123
  91. bl_ui/properties_mask_common/__init__.pyi +1102 -523
  92. bl_ui/properties_material/__init__.pyi +2089 -1009
  93. bl_ui/properties_material_gpencil/__init__.pyi +1348 -635
  94. bl_ui/properties_object/__init__.pyi +1832 -873
  95. bl_ui/properties_output/__init__.pyi +2405 -1173
  96. bl_ui/properties_paint_common/__init__.pyi +416 -386
  97. bl_ui/properties_particle/__init__.pyi +6740 -3346
  98. bl_ui/properties_physics_cloth/__init__.pyi +1822 -907
  99. bl_ui/properties_physics_common/__init__.pyi +135 -98
  100. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2817 -1391
  101. bl_ui/properties_physics_field/__init__.pyi +1282 -627
  102. bl_ui/properties_physics_fluid/__init__.pyi +3614 -1794
  103. bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -60
  104. bl_ui/properties_physics_rigidbody/__init__.pyi +1026 -515
  105. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1665 -811
  106. bl_ui/properties_physics_softbody/__init__.pyi +1922 -967
  107. bl_ui/properties_render/__init__.pyi +6843 -3367
  108. bl_ui/properties_scene/__init__.pyi +1924 -913
  109. bl_ui/properties_texture/__init__.pyi +3371 -1667
  110. bl_ui/properties_view_layer/__init__.pyi +2344 -1107
  111. bl_ui/properties_workspace/__init__.pyi +516 -244
  112. bl_ui/properties_world/__init__.pyi +1284 -630
  113. bl_ui/space_clip/__init__.pyi +10172 -4695
  114. bl_ui/space_console/__init__.pyi +940 -423
  115. bl_ui/space_dopesheet/__init__.pyi +4325 -2013
  116. bl_ui/space_filebrowser/__init__.pyi +4172 -1903
  117. bl_ui/space_graph/__init__.pyi +3107 -1394
  118. bl_ui/space_image/__init__.pyi +9764 -4614
  119. bl_ui/space_info/__init__.pyi +939 -421
  120. bl_ui/space_nla/__init__.pyi +2623 -1183
  121. bl_ui/space_node/__init__.pyi +3995 -1840
  122. bl_ui/space_outliner/__init__.pyi +2203 -991
  123. bl_ui/space_properties/__init__.pyi +386 -165
  124. bl_ui/space_sequencer/__init__.pyi +10809 -4978
  125. bl_ui/space_spreadsheet/__init__.pyi +130 -53
  126. bl_ui/space_statusbar/__init__.pyi +129 -52
  127. bl_ui/space_text/__init__.pyi +2457 -1100
  128. bl_ui/space_time/__init__.pyi +1034 -481
  129. bl_ui/space_toolsystem_common/__init__.pyi +56 -211
  130. bl_ui/space_toolsystem_toolbar/__init__.pyi +153 -882
  131. bl_ui/space_topbar/__init__.pyi +3982 -1805
  132. bl_ui/space_userpref/__init__.pyi +11383 -5290
  133. bl_ui/space_view3d/__init__.pyi +40873 -18532
  134. bl_ui/space_view3d_toolbar/__init__.pyi +12570 -6502
  135. bl_ui/temp_anim_layers/__init__.pyi +130 -62
  136. bl_ui/utils/__init__.pyi +28 -27
  137. bl_ui_utils/bug_report_url/__init__.pyi +1 -4
  138. bl_ui_utils/layout/__init__.pyi +1 -1
  139. blend_render_info/__init__.pyi +3 -10
  140. blf/__init__.pyi +4 -4
  141. bmesh/geometry/__init__.pyi +2 -3
  142. bmesh/ops/__init__.pyi +372 -419
  143. bmesh/types/__init__.pyi +39 -56
  144. bmesh/utils/__init__.pyi +10 -13
  145. bpy/app/__init__.pyi +4 -4
  146. bpy/app/handlers/__init__.pyi +36 -36
  147. bpy/app/icons/__init__.pyi +8 -8
  148. bpy/app/timers/__init__.pyi +10 -10
  149. bpy/app/translations/__init__.pyi +20 -22
  150. bpy/msgbus/__init__.pyi +2 -4
  151. bpy/ops/action/__init__.pyi +316 -394
  152. bpy/ops/anim/__init__.pyi +442 -548
  153. bpy/ops/armature/__init__.pyi +374 -470
  154. bpy/ops/asset/__init__.pyi +152 -184
  155. bpy/ops/bl_pkg/__init__.pyi +221 -272
  156. bpy/ops/boid/__init__.pyi +50 -66
  157. bpy/ops/brush/__init__.pyi +72 -90
  158. bpy/ops/buttons/__init__.pyi +132 -144
  159. bpy/ops/cachefile/__init__.pyi +128 -138
  160. bpy/ops/camera/__init__.pyi +26 -30
  161. bpy/ops/clip/__init__.pyi +777 -964
  162. bpy/ops/cloth/__init__.pyi +12 -14
  163. bpy/ops/collection/__init__.pyi +68 -86
  164. bpy/ops/console/__init__.pyi +158 -200
  165. bpy/ops/constraint/__init__.pyi +178 -214
  166. bpy/ops/curve/__init__.pyi +473 -576
  167. bpy/ops/curves/__init__.pyi +247 -302
  168. bpy/ops/cycles/__init__.pyi +28 -34
  169. bpy/ops/dpaint/__init__.pyi +34 -44
  170. bpy/ops/ed/__init__.pyi +126 -150
  171. bpy/ops/export_anim/__init__.pyi +22 -24
  172. bpy/ops/export_scene/__init__.pyi +302 -336
  173. bpy/ops/file/__init__.pyi +352 -432
  174. bpy/ops/fluid/__init__.pyi +90 -118
  175. bpy/ops/font/__init__.pyi +258 -304
  176. bpy/ops/geometry/__init__.pyi +100 -120
  177. bpy/ops/gizmogroup/__init__.pyi +22 -26
  178. bpy/ops/gpencil/__init__.pyi +1469 -1778
  179. bpy/ops/graph/__init__.pyi +644 -776
  180. bpy/ops/grease_pencil/__init__.pyi +597 -748
  181. bpy/ops/image/__init__.pyi +648 -744
  182. bpy/ops/import_anim/__init__.pyi +30 -32
  183. bpy/ops/import_curve/__init__.pyi +10 -12
  184. bpy/ops/import_scene/__init__.pyi +88 -96
  185. bpy/ops/info/__init__.pyi +60 -74
  186. bpy/ops/lattice/__init__.pyi +64 -80
  187. bpy/ops/marker/__init__.pyi +108 -130
  188. bpy/ops/mask/__init__.pyi +322 -402
  189. bpy/ops/material/__init__.pyi +18 -24
  190. bpy/ops/mball/__init__.pyi +70 -86
  191. bpy/ops/mesh/__init__.pyi +1986 -2322
  192. bpy/ops/nla/__init__.pyi +333 -411
  193. bpy/ops/node/__init__.pyi +886 -1100
  194. bpy/ops/object/__init__.pyi +2585 -3078
  195. bpy/ops/outliner/__init__.pyi +498 -636
  196. bpy/ops/paint/__init__.pyi +565 -680
  197. bpy/ops/paintcurve/__init__.pyi +64 -80
  198. bpy/ops/palette/__init__.pyi +50 -64
  199. bpy/ops/particle/__init__.pyi +267 -340
  200. bpy/ops/pose/__init__.pyi +336 -414
  201. bpy/ops/poselib/__init__.pyi +72 -90
  202. bpy/ops/preferences/__init__.pyi +386 -463
  203. bpy/ops/ptcache/__init__.pyi +46 -60
  204. bpy/ops/render/__init__.pyi +130 -154
  205. bpy/ops/rigidbody/__init__.pyi +102 -128
  206. bpy/ops/scene/__init__.pyi +280 -358
  207. bpy/ops/screen/__init__.pyi +382 -460
  208. bpy/ops/script/__init__.pyi +24 -30
  209. bpy/ops/sculpt/__init__.pyi +458 -532
  210. bpy/ops/sculpt_curves/__init__.pyi +41 -50
  211. bpy/ops/sequencer/__init__.pyi +1066 -1244
  212. bpy/ops/sound/__init__.pyi +216 -230
  213. bpy/ops/spreadsheet/__init__.pyi +30 -38
  214. bpy/ops/surface/__init__.pyi +108 -120
  215. bpy/ops/text/__init__.pyi +390 -476
  216. bpy/ops/text_editor/__init__.pyi +12 -14
  217. bpy/ops/texture/__init__.pyi +26 -34
  218. bpy/ops/transform/__init__.pyi +792 -878
  219. bpy/ops/ui/__init__.pyi +228 -294
  220. bpy/ops/uilist/__init__.pyi +32 -38
  221. bpy/ops/uv/__init__.pyi +602 -704
  222. bpy/ops/view2d/__init__.pyi +156 -184
  223. bpy/ops/view3d/__init__.pyi +582 -718
  224. bpy/ops/wm/__init__.pyi +2683 -2928
  225. bpy/ops/workspace/__init__.pyi +46 -60
  226. bpy/ops/world/__init__.pyi +12 -16
  227. bpy/path/__init__.pyi +179 -75
  228. bpy/props/__init__.pyi +261 -263
  229. bpy/types/__init__.pyi +17058 -26311
  230. bpy/utils/__init__.pyi +247 -179
  231. bpy/utils/previews/__init__.pyi +58 -28
  232. bpy/utils/units/__init__.pyi +20 -20
  233. bpy_extras/anim_utils/__init__.pyi +68 -29
  234. bpy_extras/asset_utils/__init__.pyi +0 -10
  235. bpy_extras/bmesh_utils/__init__.pyi +9 -6
  236. bpy_extras/extensions/junction_module/__init__.pyi +6 -8
  237. bpy_extras/id_map_utils/__init__.pyi +3 -3
  238. bpy_extras/image_utils/__init__.pyi +44 -11
  239. bpy_extras/io_utils/__init__.pyi +116 -41
  240. bpy_extras/keyconfig_utils/__init__.pyi +4 -11
  241. bpy_extras/mesh_utils/__init__.pyi +71 -19
  242. bpy_extras/node_shader_utils/__init__.pyi +52 -288
  243. bpy_extras/node_utils/__init__.pyi +10 -10
  244. bpy_extras/object_utils/__init__.pyi +71 -14
  245. bpy_extras/view3d_utils/__init__.pyi +80 -10
  246. bpy_extras/wm_utils/progress_report/__init__.pyi +15 -38
  247. bpy_restrict_state/__init__.pyi +1 -14
  248. bpy_types/__init__.pyi +4203 -1605
  249. console_python/__init__.pyi +12 -37
  250. console_shell/__init__.pyi +5 -24
  251. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/METADATA +1 -1
  252. fake_bpy_module-20240518.dist-info/RECORD +353 -0
  253. freestyle/chainingiterators/__init__.pyi +14 -44
  254. freestyle/functions/__init__.pyi +7 -33
  255. freestyle/predicates/__init__.pyi +44 -217
  256. freestyle/shaders/__init__.pyi +2 -12
  257. freestyle/types/__init__.pyi +84 -96
  258. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  259. freestyle/utils/__init__.pyi +6 -18
  260. gpu/matrix/__init__.pyi +6 -8
  261. gpu/state/__init__.pyi +2 -2
  262. gpu/types/__init__.pyi +12 -12
  263. gpu_extras/presets/__init__.pyi +2 -5
  264. graphviz_export/__init__.pyi +4 -9
  265. idprop/types/__init__.pyi +8 -35
  266. imbuf/__init__.pyi +4 -4
  267. imbuf/types/__init__.pyi +0 -2
  268. keyingsets_builtins/__init__.pyi +2692 -997
  269. keyingsets_utils/__init__.pyi +14 -69
  270. mathutils/__init__.pyi +194 -238
  271. mathutils/bvhtree/__init__.pyi +4 -6
  272. mathutils/geometry/__init__.pyi +153 -155
  273. mathutils/kdtree/__init__.pyi +8 -12
  274. mathutils/noise/__init__.pyi +26 -26
  275. nodeitems_builtins/__init__.pyi +5 -30
  276. nodeitems_utils/__init__.pyi +8 -45
  277. rna_info/__init__.pyi +39 -215
  278. rna_keymap_ui/__init__.pyi +6 -29
  279. rna_prop_ui/__init__.pyi +24 -62
  280. rna_xml/__init__.pyi +16 -39
  281. sys_info/__init__.pyi +1 -4
  282. _bpy_internal/freedesktop/py.typed +0 -0
  283. bl_app_override/helpers/py.typed +0 -0
  284. bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
  285. bl_console_utils/autocomplete/complete_import/py.typed +0 -0
  286. bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
  287. bl_console_utils/autocomplete/intellisense/py.typed +0 -0
  288. bl_console_utils/autocomplete/py.typed +0 -0
  289. bl_i18n_utils/bl_extract_messages/py.typed +0 -0
  290. bl_i18n_utils/merge_po/py.typed +0 -0
  291. bl_i18n_utils/settings/py.typed +0 -0
  292. bl_i18n_utils/utils/py.typed +0 -0
  293. bl_i18n_utils/utils_cli/py.typed +0 -0
  294. bl_i18n_utils/utils_languages_menu/py.typed +0 -0
  295. bl_i18n_utils/utils_rtl/py.typed +0 -0
  296. bl_keymap_utils/io/py.typed +0 -0
  297. bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
  298. bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
  299. bl_keymap_utils/platform_helpers/py.typed +0 -0
  300. bl_keymap_utils/versioning/py.typed +0 -0
  301. bl_operators/add_mesh_torus/py.typed +0 -0
  302. bl_operators/anim/py.typed +0 -0
  303. bl_operators/assets/py.typed +0 -0
  304. bl_operators/bmesh/find_adjacent/py.typed +0 -0
  305. bl_operators/bmesh/py.typed +0 -0
  306. bl_operators/clip/py.typed +0 -0
  307. bl_operators/console/py.typed +0 -0
  308. bl_operators/constraint/py.typed +0 -0
  309. bl_operators/file/py.typed +0 -0
  310. bl_operators/freestyle/py.typed +0 -0
  311. bl_operators/geometry_nodes/py.typed +0 -0
  312. bl_operators/image/py.typed +0 -0
  313. bl_operators/mesh/py.typed +0 -0
  314. bl_operators/node/py.typed +0 -0
  315. bl_operators/object/py.typed +0 -0
  316. bl_operators/object_align/py.typed +0 -0
  317. bl_operators/object_quick_effects/py.typed +0 -0
  318. bl_operators/object_randomize_transform/py.typed +0 -0
  319. bl_operators/presets/py.typed +0 -0
  320. bl_operators/rigidbody/py.typed +0 -0
  321. bl_operators/screen_play_rendered_anim/py.typed +0 -0
  322. bl_operators/sequencer/py.typed +0 -0
  323. bl_operators/spreadsheet/py.typed +0 -0
  324. bl_operators/userpref/py.typed +0 -0
  325. bl_operators/uvcalc_follow_active/py.typed +0 -0
  326. bl_operators/uvcalc_lightmap/py.typed +0 -0
  327. bl_operators/uvcalc_transform/py.typed +0 -0
  328. bl_operators/vertexpaint_dirt/py.typed +0 -0
  329. bl_operators/view3d/py.typed +0 -0
  330. bl_operators/wm/py.typed +0 -0
  331. bl_operators/world/py.typed +0 -0
  332. bl_previews_utils/bl_previews_render/py.typed +0 -0
  333. bl_rna_utils/data_path/py.typed +0 -0
  334. bl_text_utils/external_editor/py.typed +0 -0
  335. bl_ui/anim/py.typed +0 -0
  336. bl_ui/asset_shelf/py.typed +0 -0
  337. bl_ui/generic_ui_list/py.typed +0 -0
  338. bl_ui/node_add_menu/py.typed +0 -0
  339. bl_ui/node_add_menu_compositor/py.typed +0 -0
  340. bl_ui/node_add_menu_geometry/py.typed +0 -0
  341. bl_ui/node_add_menu_shader/py.typed +0 -0
  342. bl_ui/node_add_menu_texture/py.typed +0 -0
  343. bl_ui/properties_animviz/py.typed +0 -0
  344. bl_ui/properties_collection/py.typed +0 -0
  345. bl_ui/properties_constraint/py.typed +0 -0
  346. bl_ui/properties_data_armature/py.typed +0 -0
  347. bl_ui/properties_data_bone/py.typed +0 -0
  348. bl_ui/properties_data_camera/py.typed +0 -0
  349. bl_ui/properties_data_curve/py.typed +0 -0
  350. bl_ui/properties_data_curves/py.typed +0 -0
  351. bl_ui/properties_data_empty/py.typed +0 -0
  352. bl_ui/properties_data_gpencil/py.typed +0 -0
  353. bl_ui/properties_data_grease_pencil/py.typed +0 -0
  354. bl_ui/properties_data_lattice/py.typed +0 -0
  355. bl_ui/properties_data_light/py.typed +0 -0
  356. bl_ui/properties_data_lightprobe/py.typed +0 -0
  357. bl_ui/properties_data_mesh/py.typed +0 -0
  358. bl_ui/properties_data_metaball/py.typed +0 -0
  359. bl_ui/properties_data_modifier/py.typed +0 -0
  360. bl_ui/properties_data_pointcloud/py.typed +0 -0
  361. bl_ui/properties_data_shaderfx/py.typed +0 -0
  362. bl_ui/properties_data_speaker/py.typed +0 -0
  363. bl_ui/properties_data_volume/py.typed +0 -0
  364. bl_ui/properties_freestyle/py.typed +0 -0
  365. bl_ui/properties_grease_pencil_common/py.typed +0 -0
  366. bl_ui/properties_mask_common/py.typed +0 -0
  367. bl_ui/properties_material/py.typed +0 -0
  368. bl_ui/properties_material_gpencil/py.typed +0 -0
  369. bl_ui/properties_object/py.typed +0 -0
  370. bl_ui/properties_output/py.typed +0 -0
  371. bl_ui/properties_paint_common/py.typed +0 -0
  372. bl_ui/properties_particle/py.typed +0 -0
  373. bl_ui/properties_physics_cloth/py.typed +0 -0
  374. bl_ui/properties_physics_common/py.typed +0 -0
  375. bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
  376. bl_ui/properties_physics_field/py.typed +0 -0
  377. bl_ui/properties_physics_fluid/py.typed +0 -0
  378. bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
  379. bl_ui/properties_physics_rigidbody/py.typed +0 -0
  380. bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
  381. bl_ui/properties_physics_softbody/py.typed +0 -0
  382. bl_ui/properties_render/py.typed +0 -0
  383. bl_ui/properties_scene/py.typed +0 -0
  384. bl_ui/properties_texture/py.typed +0 -0
  385. bl_ui/properties_view_layer/py.typed +0 -0
  386. bl_ui/properties_workspace/py.typed +0 -0
  387. bl_ui/properties_world/py.typed +0 -0
  388. bl_ui/space_clip/py.typed +0 -0
  389. bl_ui/space_console/py.typed +0 -0
  390. bl_ui/space_dopesheet/py.typed +0 -0
  391. bl_ui/space_filebrowser/py.typed +0 -0
  392. bl_ui/space_graph/py.typed +0 -0
  393. bl_ui/space_image/py.typed +0 -0
  394. bl_ui/space_info/py.typed +0 -0
  395. bl_ui/space_nla/py.typed +0 -0
  396. bl_ui/space_node/py.typed +0 -0
  397. bl_ui/space_outliner/py.typed +0 -0
  398. bl_ui/space_properties/py.typed +0 -0
  399. bl_ui/space_sequencer/py.typed +0 -0
  400. bl_ui/space_spreadsheet/py.typed +0 -0
  401. bl_ui/space_statusbar/py.typed +0 -0
  402. bl_ui/space_text/py.typed +0 -0
  403. bl_ui/space_time/py.typed +0 -0
  404. bl_ui/space_toolsystem_common/py.typed +0 -0
  405. bl_ui/space_toolsystem_toolbar/py.typed +0 -0
  406. bl_ui/space_topbar/py.typed +0 -0
  407. bl_ui/space_userpref/py.typed +0 -0
  408. bl_ui/space_view3d/py.typed +0 -0
  409. bl_ui/space_view3d_toolbar/py.typed +0 -0
  410. bl_ui/temp_anim_layers/py.typed +0 -0
  411. bl_ui/utils/py.typed +0 -0
  412. bl_ui_utils/bug_report_url/py.typed +0 -0
  413. bl_ui_utils/layout/py.typed +0 -0
  414. bmesh/geometry/py.typed +0 -0
  415. bmesh/ops/py.typed +0 -0
  416. bmesh/types/py.typed +0 -0
  417. bmesh/utils/py.typed +0 -0
  418. bpy/app/handlers/py.typed +0 -0
  419. bpy/app/icons/py.typed +0 -0
  420. bpy/app/py.typed +0 -0
  421. bpy/app/timers/py.typed +0 -0
  422. bpy/app/translations/py.typed +0 -0
  423. bpy/msgbus/py.typed +0 -0
  424. bpy/ops/action/py.typed +0 -0
  425. bpy/ops/anim/py.typed +0 -0
  426. bpy/ops/armature/py.typed +0 -0
  427. bpy/ops/asset/py.typed +0 -0
  428. bpy/ops/bl_pkg/py.typed +0 -0
  429. bpy/ops/boid/py.typed +0 -0
  430. bpy/ops/brush/py.typed +0 -0
  431. bpy/ops/buttons/py.typed +0 -0
  432. bpy/ops/cachefile/py.typed +0 -0
  433. bpy/ops/camera/py.typed +0 -0
  434. bpy/ops/clip/py.typed +0 -0
  435. bpy/ops/cloth/py.typed +0 -0
  436. bpy/ops/collection/py.typed +0 -0
  437. bpy/ops/console/py.typed +0 -0
  438. bpy/ops/constraint/py.typed +0 -0
  439. bpy/ops/curve/py.typed +0 -0
  440. bpy/ops/curves/py.typed +0 -0
  441. bpy/ops/cycles/py.typed +0 -0
  442. bpy/ops/dpaint/py.typed +0 -0
  443. bpy/ops/ed/py.typed +0 -0
  444. bpy/ops/export_anim/py.typed +0 -0
  445. bpy/ops/export_scene/py.typed +0 -0
  446. bpy/ops/file/py.typed +0 -0
  447. bpy/ops/fluid/py.typed +0 -0
  448. bpy/ops/font/py.typed +0 -0
  449. bpy/ops/geometry/py.typed +0 -0
  450. bpy/ops/gizmogroup/py.typed +0 -0
  451. bpy/ops/gpencil/py.typed +0 -0
  452. bpy/ops/graph/py.typed +0 -0
  453. bpy/ops/grease_pencil/py.typed +0 -0
  454. bpy/ops/image/py.typed +0 -0
  455. bpy/ops/import_anim/py.typed +0 -0
  456. bpy/ops/import_curve/py.typed +0 -0
  457. bpy/ops/import_scene/py.typed +0 -0
  458. bpy/ops/info/py.typed +0 -0
  459. bpy/ops/lattice/py.typed +0 -0
  460. bpy/ops/marker/py.typed +0 -0
  461. bpy/ops/mask/py.typed +0 -0
  462. bpy/ops/material/py.typed +0 -0
  463. bpy/ops/mball/py.typed +0 -0
  464. bpy/ops/mesh/py.typed +0 -0
  465. bpy/ops/nla/py.typed +0 -0
  466. bpy/ops/node/py.typed +0 -0
  467. bpy/ops/object/py.typed +0 -0
  468. bpy/ops/outliner/py.typed +0 -0
  469. bpy/ops/paint/py.typed +0 -0
  470. bpy/ops/paintcurve/py.typed +0 -0
  471. bpy/ops/palette/py.typed +0 -0
  472. bpy/ops/particle/py.typed +0 -0
  473. bpy/ops/pose/py.typed +0 -0
  474. bpy/ops/poselib/py.typed +0 -0
  475. bpy/ops/preferences/py.typed +0 -0
  476. bpy/ops/ptcache/py.typed +0 -0
  477. bpy/ops/py.typed +0 -0
  478. bpy/ops/render/py.typed +0 -0
  479. bpy/ops/rigidbody/py.typed +0 -0
  480. bpy/ops/scene/py.typed +0 -0
  481. bpy/ops/screen/py.typed +0 -0
  482. bpy/ops/script/py.typed +0 -0
  483. bpy/ops/sculpt/py.typed +0 -0
  484. bpy/ops/sculpt_curves/py.typed +0 -0
  485. bpy/ops/sequencer/py.typed +0 -0
  486. bpy/ops/sound/py.typed +0 -0
  487. bpy/ops/spreadsheet/py.typed +0 -0
  488. bpy/ops/surface/py.typed +0 -0
  489. bpy/ops/text/py.typed +0 -0
  490. bpy/ops/text_editor/py.typed +0 -0
  491. bpy/ops/texture/py.typed +0 -0
  492. bpy/ops/transform/py.typed +0 -0
  493. bpy/ops/ui/py.typed +0 -0
  494. bpy/ops/uilist/py.typed +0 -0
  495. bpy/ops/uv/py.typed +0 -0
  496. bpy/ops/view2d/py.typed +0 -0
  497. bpy/ops/view3d/py.typed +0 -0
  498. bpy/ops/wm/py.typed +0 -0
  499. bpy/ops/workspace/py.typed +0 -0
  500. bpy/ops/world/py.typed +0 -0
  501. bpy/path/py.typed +0 -0
  502. bpy/props/py.typed +0 -0
  503. bpy/types/py.typed +0 -0
  504. bpy/utils/previews/py.typed +0 -0
  505. bpy/utils/py.typed +0 -0
  506. bpy/utils/units/py.typed +0 -0
  507. bpy_extras/anim_utils/py.typed +0 -0
  508. bpy_extras/asset_utils/py.typed +0 -0
  509. bpy_extras/bmesh_utils/py.typed +0 -0
  510. bpy_extras/extensions/junction_module/py.typed +0 -0
  511. bpy_extras/extensions/py.typed +0 -0
  512. bpy_extras/id_map_utils/py.typed +0 -0
  513. bpy_extras/image_utils/py.typed +0 -0
  514. bpy_extras/io_utils/py.typed +0 -0
  515. bpy_extras/keyconfig_utils/py.typed +0 -0
  516. bpy_extras/mesh_utils/py.typed +0 -0
  517. bpy_extras/node_shader_utils/py.typed +0 -0
  518. bpy_extras/node_utils/py.typed +0 -0
  519. bpy_extras/object_utils/py.typed +0 -0
  520. bpy_extras/view3d_utils/py.typed +0 -0
  521. bpy_extras/wm_utils/progress_report/py.typed +0 -0
  522. bpy_extras/wm_utils/py.typed +0 -0
  523. fake_bpy_module-20240516.dist-info/RECORD +0 -618
  524. freestyle/chainingiterators/py.typed +0 -0
  525. freestyle/functions/py.typed +0 -0
  526. freestyle/predicates/py.typed +0 -0
  527. freestyle/shaders/py.typed +0 -0
  528. freestyle/types/py.typed +0 -0
  529. freestyle/utils/ContextFunctions/py.typed +0 -0
  530. freestyle/utils/py.typed +0 -0
  531. gpu/capabilities/py.typed +0 -0
  532. gpu/matrix/py.typed +0 -0
  533. gpu/platform/py.typed +0 -0
  534. gpu/select/py.typed +0 -0
  535. gpu/shader/py.typed +0 -0
  536. gpu/state/py.typed +0 -0
  537. gpu/texture/py.typed +0 -0
  538. gpu/types/py.typed +0 -0
  539. gpu_extras/batch/py.typed +0 -0
  540. gpu_extras/presets/py.typed +0 -0
  541. idprop/types/py.typed +0 -0
  542. imbuf/types/py.typed +0 -0
  543. mathutils/bvhtree/py.typed +0 -0
  544. mathutils/geometry/py.typed +0 -0
  545. mathutils/interpolate/py.typed +0 -0
  546. mathutils/kdtree/py.typed +0 -0
  547. mathutils/noise/py.typed +0 -0
  548. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/WHEEL +0 -0
  549. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/top_level.txt +0 -0
@@ -5,23 +5,20 @@ import bpy.types
5
5
  GenericType = typing.TypeVar("GenericType")
6
6
 
7
7
  def brush_stroke(
8
- override_context: typing.Optional[
9
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
10
- ] = None,
11
- execution_context: typing.Optional[typing.Union[str, int]] = None,
12
- undo: typing.Optional[bool] = None,
13
- stroke: typing.Optional[
14
- bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
15
- ] = None,
16
- mode: typing.Optional[typing.Any] = "NORMAL",
8
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
9
+ execution_context: str | int | None = None,
10
+ undo: bool | None = None,
11
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
12
+ | None = None,
13
+ mode: typing.Any | None = "NORMAL",
17
14
  ):
18
15
  """Draw a new stroke in the active Grease Pencil object
19
16
 
20
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
21
- :type execution_context: typing.Optional[typing.Union[str, int]]
22
- :type undo: typing.Optional[bool]
17
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
18
+ :type execution_context: str | int | None
19
+ :type undo: bool | None
23
20
  :param stroke: Stroke
24
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
21
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
25
22
  :param mode: Stroke Mode, Action taken when a paint stroke is made
26
23
 
27
24
  NORMAL
@@ -32,24 +29,22 @@ def brush_stroke(
32
29
 
33
30
  SMOOTH
34
31
  Smooth -- Switch brush to smooth mode for duration of stroke.
35
- :type mode: typing.Optional[typing.Any]
32
+ :type mode: typing.Any | None
36
33
  """
37
34
 
38
35
  ...
39
36
 
40
37
  def caps_set(
41
- override_context: typing.Optional[
42
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
43
- ] = None,
44
- execution_context: typing.Optional[typing.Union[str, int]] = None,
45
- undo: typing.Optional[bool] = None,
46
- type: typing.Optional[typing.Any] = "ROUND",
38
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
39
+ execution_context: str | int | None = None,
40
+ undo: bool | None = None,
41
+ type: typing.Any | None = "ROUND",
47
42
  ):
48
43
  """Change curve caps mode (rounded or flat)
49
44
 
50
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
51
- :type execution_context: typing.Optional[typing.Union[str, int]]
52
- :type undo: typing.Optional[bool]
45
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
46
+ :type execution_context: str | int | None
47
+ :type undo: bool | None
53
48
  :param type: Type
54
49
 
55
50
  ROUND
@@ -63,94 +58,84 @@ def caps_set(
63
58
 
64
59
  END
65
60
  Toggle End.
66
- :type type: typing.Optional[typing.Any]
61
+ :type type: typing.Any | None
67
62
  """
68
63
 
69
64
  ...
70
65
 
71
66
  def clean_loose(
72
- override_context: typing.Optional[
73
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
74
- ] = None,
75
- execution_context: typing.Optional[typing.Union[str, int]] = None,
76
- undo: typing.Optional[bool] = None,
77
- limit: typing.Optional[typing.Any] = 1,
67
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
68
+ execution_context: str | int | None = None,
69
+ undo: bool | None = None,
70
+ limit: typing.Any | None = 1,
78
71
  ):
79
72
  """Remove loose points
80
73
 
81
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
82
- :type execution_context: typing.Optional[typing.Union[str, int]]
83
- :type undo: typing.Optional[bool]
74
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
75
+ :type execution_context: str | int | None
76
+ :type undo: bool | None
84
77
  :param limit: Limit, Number of points to consider stroke as loose
85
- :type limit: typing.Optional[typing.Any]
78
+ :type limit: typing.Any | None
86
79
  """
87
80
 
88
81
  ...
89
82
 
90
83
  def copy(
91
- override_context: typing.Optional[
92
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
93
- ] = None,
94
- execution_context: typing.Optional[typing.Union[str, int]] = None,
95
- undo: typing.Optional[bool] = None,
84
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
85
+ execution_context: str | int | None = None,
86
+ undo: bool | None = None,
96
87
  ):
97
88
  """Copy the selected Grease Pencil points or strokes to the internal clipboard
98
89
 
99
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
100
- :type execution_context: typing.Optional[typing.Union[str, int]]
101
- :type undo: typing.Optional[bool]
90
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
91
+ :type execution_context: str | int | None
92
+ :type undo: bool | None
102
93
  """
103
94
 
104
95
  ...
105
96
 
106
97
  def cyclical_set(
107
- override_context: typing.Optional[
108
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
109
- ] = None,
110
- execution_context: typing.Optional[typing.Union[str, int]] = None,
111
- undo: typing.Optional[bool] = None,
112
- type: typing.Optional[typing.Any] = "TOGGLE",
98
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
99
+ execution_context: str | int | None = None,
100
+ undo: bool | None = None,
101
+ type: typing.Any | None = "TOGGLE",
113
102
  ):
114
103
  """Close or open the selected stroke adding a segment from last to first point
115
104
 
116
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
117
- :type execution_context: typing.Optional[typing.Union[str, int]]
118
- :type undo: typing.Optional[bool]
105
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
106
+ :type execution_context: str | int | None
107
+ :type undo: bool | None
119
108
  :param type: Type
120
- :type type: typing.Optional[typing.Any]
109
+ :type type: typing.Any | None
121
110
  """
122
111
 
123
112
  ...
124
113
 
125
114
  def delete(
126
- override_context: typing.Optional[
127
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
128
- ] = None,
129
- execution_context: typing.Optional[typing.Union[str, int]] = None,
130
- undo: typing.Optional[bool] = None,
115
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
116
+ execution_context: str | int | None = None,
117
+ undo: bool | None = None,
131
118
  ):
132
119
  """Delete selected strokes or points
133
120
 
134
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
135
- :type execution_context: typing.Optional[typing.Union[str, int]]
136
- :type undo: typing.Optional[bool]
121
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
122
+ :type execution_context: str | int | None
123
+ :type undo: bool | None
137
124
  """
138
125
 
139
126
  ...
140
127
 
141
128
  def delete_frame(
142
- override_context: typing.Optional[
143
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
144
- ] = None,
145
- execution_context: typing.Optional[typing.Union[str, int]] = None,
146
- undo: typing.Optional[bool] = None,
147
- type: typing.Optional[typing.Any] = "ACTIVE_FRAME",
129
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
130
+ execution_context: str | int | None = None,
131
+ undo: bool | None = None,
132
+ type: typing.Any | None = "ACTIVE_FRAME",
148
133
  ):
149
134
  """Delete Grease Pencil Frame(s)
150
135
 
151
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
152
- :type execution_context: typing.Optional[typing.Union[str, int]]
153
- :type undo: typing.Optional[bool]
136
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
137
+ :type execution_context: str | int | None
138
+ :type undo: bool | None
154
139
  :param type: Type, Method used for deleting Grease Pencil frames
155
140
 
156
141
  ACTIVE_FRAME
@@ -158,24 +143,22 @@ def delete_frame(
158
143
 
159
144
  ALL_FRAMES
160
145
  All Active Frames -- Delete active frames for all layers.
161
- :type type: typing.Optional[typing.Any]
146
+ :type type: typing.Any | None
162
147
  """
163
148
 
164
149
  ...
165
150
 
166
151
  def dissolve(
167
- override_context: typing.Optional[
168
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
169
- ] = None,
170
- execution_context: typing.Optional[typing.Union[str, int]] = None,
171
- undo: typing.Optional[bool] = None,
172
- type: typing.Optional[typing.Any] = "POINTS",
152
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
153
+ execution_context: str | int | None = None,
154
+ undo: bool | None = None,
155
+ type: typing.Any | None = "POINTS",
173
156
  ):
174
157
  """Delete selected points without splitting strokes
175
158
 
176
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
177
- :type execution_context: typing.Optional[typing.Union[str, int]]
178
- :type undo: typing.Optional[bool]
159
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
160
+ :type execution_context: str | int | None
161
+ :type undo: bool | None
179
162
  :param type: Type, Method used for dissolving stroke points
180
163
 
181
164
  POINTS
@@ -186,735 +169,658 @@ def dissolve(
186
169
 
187
170
  UNSELECT
188
171
  Dissolve Unselect -- Dissolve all unselected points.
189
- :type type: typing.Optional[typing.Any]
172
+ :type type: typing.Any | None
190
173
  """
191
174
 
192
175
  ...
193
176
 
194
177
  def duplicate(
195
- override_context: typing.Optional[
196
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
197
- ] = None,
198
- execution_context: typing.Optional[typing.Union[str, int]] = None,
199
- undo: typing.Optional[bool] = None,
178
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
179
+ execution_context: str | int | None = None,
180
+ undo: bool | None = None,
200
181
  ):
201
182
  """Duplicate the selected points
202
183
 
203
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
204
- :type execution_context: typing.Optional[typing.Union[str, int]]
205
- :type undo: typing.Optional[bool]
184
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
185
+ :type execution_context: str | int | None
186
+ :type undo: bool | None
206
187
  """
207
188
 
208
189
  ...
209
190
 
210
191
  def duplicate_move(
211
- override_context: typing.Optional[
212
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
213
- ] = None,
214
- execution_context: typing.Optional[typing.Union[str, int]] = None,
215
- undo: typing.Optional[bool] = None,
216
- GREASE_PENCIL_OT_duplicate: typing.Optional[typing.Any] = None,
217
- TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
192
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
193
+ execution_context: str | int | None = None,
194
+ undo: bool | None = None,
195
+ GREASE_PENCIL_OT_duplicate: typing.Any | None = None,
196
+ TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
218
197
  ):
219
198
  """Make copies of the selected Grease Pencil strokes and move them
220
199
 
221
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
222
- :type execution_context: typing.Optional[typing.Union[str, int]]
223
- :type undo: typing.Optional[bool]
200
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
201
+ :type execution_context: str | int | None
202
+ :type undo: bool | None
224
203
  :param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
225
- :type GREASE_PENCIL_OT_duplicate: typing.Optional[typing.Any]
204
+ :type GREASE_PENCIL_OT_duplicate: typing.Any | None
226
205
  :param TRANSFORM_OT_translate: Move, Move selected items
227
- :type TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate]
206
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
228
207
  """
229
208
 
230
209
  ...
231
210
 
232
211
  def extrude(
233
- override_context: typing.Optional[
234
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
235
- ] = None,
236
- execution_context: typing.Optional[typing.Union[str, int]] = None,
237
- undo: typing.Optional[bool] = None,
212
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
213
+ execution_context: str | int | None = None,
214
+ undo: bool | None = None,
238
215
  ):
239
216
  """Extrude the selected points
240
217
 
241
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
242
- :type execution_context: typing.Optional[typing.Union[str, int]]
243
- :type undo: typing.Optional[bool]
218
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
219
+ :type execution_context: str | int | None
220
+ :type undo: bool | None
244
221
  """
245
222
 
246
223
  ...
247
224
 
248
225
  def extrude_move(
249
- override_context: typing.Optional[
250
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
251
- ] = None,
252
- execution_context: typing.Optional[typing.Union[str, int]] = None,
253
- undo: typing.Optional[bool] = None,
254
- GREASE_PENCIL_OT_extrude: typing.Optional[typing.Any] = None,
255
- TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
226
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
227
+ execution_context: str | int | None = None,
228
+ undo: bool | None = None,
229
+ GREASE_PENCIL_OT_extrude: typing.Any | None = None,
230
+ TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
256
231
  ):
257
232
  """Extrude selected points and move them
258
233
 
259
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
260
- :type execution_context: typing.Optional[typing.Union[str, int]]
261
- :type undo: typing.Optional[bool]
234
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
235
+ :type execution_context: str | int | None
236
+ :type undo: bool | None
262
237
  :param GREASE_PENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected points
263
- :type GREASE_PENCIL_OT_extrude: typing.Optional[typing.Any]
238
+ :type GREASE_PENCIL_OT_extrude: typing.Any | None
264
239
  :param TRANSFORM_OT_translate: Move, Move selected items
265
- :type TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate]
240
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
266
241
  """
267
242
 
268
243
  ...
269
244
 
270
245
  def fill(
271
- override_context: typing.Optional[
272
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
273
- ] = None,
274
- execution_context: typing.Optional[typing.Union[str, int]] = None,
275
- undo: typing.Optional[bool] = None,
276
- on_back: typing.Optional[typing.Union[bool, typing.Any]] = False,
246
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
247
+ execution_context: str | int | None = None,
248
+ undo: bool | None = None,
249
+ on_back: bool | typing.Any | None = False,
277
250
  ):
278
251
  """Fill with color the shape formed by strokes
279
252
 
280
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
281
- :type execution_context: typing.Optional[typing.Union[str, int]]
282
- :type undo: typing.Optional[bool]
253
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
254
+ :type execution_context: str | int | None
255
+ :type undo: bool | None
283
256
  :param on_back: Draw on Back, Send new stroke to back
284
- :type on_back: typing.Optional[typing.Union[bool, typing.Any]]
257
+ :type on_back: bool | typing.Any | None
285
258
  """
286
259
 
287
260
  ...
288
261
 
289
262
  def insert_blank_frame(
290
- override_context: typing.Optional[
291
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
292
- ] = None,
293
- execution_context: typing.Optional[typing.Union[str, int]] = None,
294
- undo: typing.Optional[bool] = None,
295
- all_layers: typing.Optional[typing.Union[bool, typing.Any]] = False,
296
- duration: typing.Optional[typing.Any] = 0,
263
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
264
+ execution_context: str | int | None = None,
265
+ undo: bool | None = None,
266
+ all_layers: bool | typing.Any | None = False,
267
+ duration: typing.Any | None = 0,
297
268
  ):
298
269
  """Insert a blank frame on the current scene frame
299
270
 
300
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
301
- :type execution_context: typing.Optional[typing.Union[str, int]]
302
- :type undo: typing.Optional[bool]
271
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
272
+ :type execution_context: str | int | None
273
+ :type undo: bool | None
303
274
  :param all_layers: All Layers, Insert a blank frame in all editable layers
304
- :type all_layers: typing.Optional[typing.Union[bool, typing.Any]]
275
+ :type all_layers: bool | typing.Any | None
305
276
  :param duration: Duration
306
- :type duration: typing.Optional[typing.Any]
277
+ :type duration: typing.Any | None
307
278
  """
308
279
 
309
280
  ...
310
281
 
311
282
  def layer_active(
312
- override_context: typing.Optional[
313
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
314
- ] = None,
315
- execution_context: typing.Optional[typing.Union[str, int]] = None,
316
- undo: typing.Optional[bool] = None,
317
- layer: typing.Optional[typing.Any] = 0,
283
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
284
+ execution_context: str | int | None = None,
285
+ undo: bool | None = None,
286
+ layer: typing.Any | None = 0,
318
287
  ):
319
288
  """Set the active Grease Pencil layer
320
289
 
321
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
322
- :type execution_context: typing.Optional[typing.Union[str, int]]
323
- :type undo: typing.Optional[bool]
290
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
291
+ :type execution_context: str | int | None
292
+ :type undo: bool | None
324
293
  :param layer: Grease Pencil Layer
325
- :type layer: typing.Optional[typing.Any]
294
+ :type layer: typing.Any | None
326
295
  """
327
296
 
328
297
  ...
329
298
 
330
299
  def layer_add(
331
- override_context: typing.Optional[
332
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
333
- ] = None,
334
- execution_context: typing.Optional[typing.Union[str, int]] = None,
335
- undo: typing.Optional[bool] = None,
336
- new_layer_name: typing.Union[str, typing.Any] = "Layer",
300
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
301
+ execution_context: str | int | None = None,
302
+ undo: bool | None = None,
303
+ new_layer_name: str | typing.Any = "Layer",
337
304
  ):
338
305
  """Add a new Grease Pencil layer in the active object
339
306
 
340
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
341
- :type execution_context: typing.Optional[typing.Union[str, int]]
342
- :type undo: typing.Optional[bool]
307
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
308
+ :type execution_context: str | int | None
309
+ :type undo: bool | None
343
310
  :param new_layer_name: Name, Name of the new layer
344
- :type new_layer_name: typing.Union[str, typing.Any]
311
+ :type new_layer_name: str | typing.Any
345
312
  """
346
313
 
347
314
  ...
348
315
 
349
316
  def layer_duplicate(
350
- override_context: typing.Optional[
351
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
352
- ] = None,
353
- execution_context: typing.Optional[typing.Union[str, int]] = None,
354
- undo: typing.Optional[bool] = None,
355
- empty_keyframes: typing.Optional[typing.Union[bool, typing.Any]] = False,
317
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
318
+ execution_context: str | int | None = None,
319
+ undo: bool | None = None,
320
+ empty_keyframes: bool | typing.Any | None = False,
356
321
  ):
357
322
  """Make a copy of the active Grease Pencil layer
358
323
 
359
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
360
- :type execution_context: typing.Optional[typing.Union[str, int]]
361
- :type undo: typing.Optional[bool]
324
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
325
+ :type execution_context: str | int | None
326
+ :type undo: bool | None
362
327
  :param empty_keyframes: Empty Keyframes, Add Empty Keyframes
363
- :type empty_keyframes: typing.Optional[typing.Union[bool, typing.Any]]
328
+ :type empty_keyframes: bool | typing.Any | None
364
329
  """
365
330
 
366
331
  ...
367
332
 
368
333
  def layer_group_add(
369
- override_context: typing.Optional[
370
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
371
- ] = None,
372
- execution_context: typing.Optional[typing.Union[str, int]] = None,
373
- undo: typing.Optional[bool] = None,
374
- new_layer_group_name: typing.Union[str, typing.Any] = "",
334
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
335
+ execution_context: str | int | None = None,
336
+ undo: bool | None = None,
337
+ new_layer_group_name: str | typing.Any = "",
375
338
  ):
376
339
  """Add a new Grease Pencil layer group in the active object
377
340
 
378
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
379
- :type execution_context: typing.Optional[typing.Union[str, int]]
380
- :type undo: typing.Optional[bool]
341
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
342
+ :type execution_context: str | int | None
343
+ :type undo: bool | None
381
344
  :param new_layer_group_name: Name, Name of the new layer group
382
- :type new_layer_group_name: typing.Union[str, typing.Any]
345
+ :type new_layer_group_name: str | typing.Any
383
346
  """
384
347
 
385
348
  ...
386
349
 
387
350
  def layer_group_remove(
388
- override_context: typing.Optional[
389
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
390
- ] = None,
391
- execution_context: typing.Optional[typing.Union[str, int]] = None,
392
- undo: typing.Optional[bool] = None,
393
- keep_children: typing.Optional[typing.Union[bool, typing.Any]] = False,
351
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
352
+ execution_context: str | int | None = None,
353
+ undo: bool | None = None,
354
+ keep_children: bool | typing.Any | None = False,
394
355
  ):
395
356
  """Remove Grease Pencil layer group in the active object
396
357
 
397
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
398
- :type execution_context: typing.Optional[typing.Union[str, int]]
399
- :type undo: typing.Optional[bool]
358
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
359
+ :type execution_context: str | int | None
360
+ :type undo: bool | None
400
361
  :param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
401
- :type keep_children: typing.Optional[typing.Union[bool, typing.Any]]
362
+ :type keep_children: bool | typing.Any | None
402
363
  """
403
364
 
404
365
  ...
405
366
 
406
367
  def layer_hide(
407
- override_context: typing.Optional[
408
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
409
- ] = None,
410
- execution_context: typing.Optional[typing.Union[str, int]] = None,
411
- undo: typing.Optional[bool] = None,
412
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
368
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
369
+ execution_context: str | int | None = None,
370
+ undo: bool | None = None,
371
+ unselected: bool | typing.Any | None = False,
413
372
  ):
414
373
  """Hide selected/unselected Grease Pencil layers
415
374
 
416
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
417
- :type execution_context: typing.Optional[typing.Union[str, int]]
418
- :type undo: typing.Optional[bool]
375
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
376
+ :type execution_context: str | int | None
377
+ :type undo: bool | None
419
378
  :param unselected: Unselected, Hide unselected rather than selected layers
420
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
379
+ :type unselected: bool | typing.Any | None
421
380
  """
422
381
 
423
382
  ...
424
383
 
425
384
  def layer_isolate(
426
- override_context: typing.Optional[
427
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
428
- ] = None,
429
- execution_context: typing.Optional[typing.Union[str, int]] = None,
430
- undo: typing.Optional[bool] = None,
431
- affect_visibility: typing.Optional[typing.Union[bool, typing.Any]] = False,
385
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
386
+ execution_context: str | int | None = None,
387
+ undo: bool | None = None,
388
+ affect_visibility: bool | typing.Any | None = False,
432
389
  ):
433
390
  """Make only active layer visible/editable
434
391
 
435
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
436
- :type execution_context: typing.Optional[typing.Union[str, int]]
437
- :type undo: typing.Optional[bool]
392
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
393
+ :type execution_context: str | int | None
394
+ :type undo: bool | None
438
395
  :param affect_visibility: Affect Visibility, Also affect the visibility
439
- :type affect_visibility: typing.Optional[typing.Union[bool, typing.Any]]
396
+ :type affect_visibility: bool | typing.Any | None
440
397
  """
441
398
 
442
399
  ...
443
400
 
444
401
  def layer_lock_all(
445
- override_context: typing.Optional[
446
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
447
- ] = None,
448
- execution_context: typing.Optional[typing.Union[str, int]] = None,
449
- undo: typing.Optional[bool] = None,
450
- lock: typing.Optional[typing.Union[bool, typing.Any]] = True,
402
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
403
+ execution_context: str | int | None = None,
404
+ undo: bool | None = None,
405
+ lock: bool | typing.Any | None = True,
451
406
  ):
452
407
  """Lock all Grease Pencil layers to prevent them from being accidentally modified
453
408
 
454
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
455
- :type execution_context: typing.Optional[typing.Union[str, int]]
456
- :type undo: typing.Optional[bool]
409
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
410
+ :type execution_context: str | int | None
411
+ :type undo: bool | None
457
412
  :param lock: Lock Value, Lock/Unlock all layers
458
- :type lock: typing.Optional[typing.Union[bool, typing.Any]]
413
+ :type lock: bool | typing.Any | None
459
414
  """
460
415
 
461
416
  ...
462
417
 
463
418
  def layer_mask_add(
464
- override_context: typing.Optional[
465
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
466
- ] = None,
467
- execution_context: typing.Optional[typing.Union[str, int]] = None,
468
- undo: typing.Optional[bool] = None,
469
- name: typing.Union[str, typing.Any] = "",
419
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
420
+ execution_context: str | int | None = None,
421
+ undo: bool | None = None,
422
+ name: str | typing.Any = "",
470
423
  ):
471
424
  """Add new layer as masking
472
425
 
473
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
474
- :type execution_context: typing.Optional[typing.Union[str, int]]
475
- :type undo: typing.Optional[bool]
426
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
427
+ :type execution_context: str | int | None
428
+ :type undo: bool | None
476
429
  :param name: Layer, Name of the layer
477
- :type name: typing.Union[str, typing.Any]
430
+ :type name: str | typing.Any
478
431
  """
479
432
 
480
433
  ...
481
434
 
482
435
  def layer_mask_remove(
483
- override_context: typing.Optional[
484
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
485
- ] = None,
486
- execution_context: typing.Optional[typing.Union[str, int]] = None,
487
- undo: typing.Optional[bool] = None,
436
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
437
+ execution_context: str | int | None = None,
438
+ undo: bool | None = None,
488
439
  ):
489
440
  """Remove Layer Mask
490
441
 
491
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
492
- :type execution_context: typing.Optional[typing.Union[str, int]]
493
- :type undo: typing.Optional[bool]
442
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
443
+ :type execution_context: str | int | None
444
+ :type undo: bool | None
494
445
  """
495
446
 
496
447
  ...
497
448
 
498
449
  def layer_mask_reorder(
499
- override_context: typing.Optional[
500
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
501
- ] = None,
502
- execution_context: typing.Optional[typing.Union[str, int]] = None,
503
- undo: typing.Optional[bool] = None,
504
- direction: typing.Optional[typing.Any] = "UP",
450
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
451
+ execution_context: str | int | None = None,
452
+ undo: bool | None = None,
453
+ direction: typing.Any | None = "UP",
505
454
  ):
506
455
  """Reorder the active Grease Pencil mask layer up/down in the list
507
456
 
508
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
509
- :type execution_context: typing.Optional[typing.Union[str, int]]
510
- :type undo: typing.Optional[bool]
457
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
458
+ :type execution_context: str | int | None
459
+ :type undo: bool | None
511
460
  :param direction: Direction
512
- :type direction: typing.Optional[typing.Any]
461
+ :type direction: typing.Any | None
513
462
  """
514
463
 
515
464
  ...
516
465
 
517
466
  def layer_remove(
518
- override_context: typing.Optional[
519
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
520
- ] = None,
521
- execution_context: typing.Optional[typing.Union[str, int]] = None,
522
- undo: typing.Optional[bool] = None,
467
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
468
+ execution_context: str | int | None = None,
469
+ undo: bool | None = None,
523
470
  ):
524
471
  """Remove the active Grease Pencil layer
525
472
 
526
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
527
- :type execution_context: typing.Optional[typing.Union[str, int]]
528
- :type undo: typing.Optional[bool]
473
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
474
+ :type execution_context: str | int | None
475
+ :type undo: bool | None
529
476
  """
530
477
 
531
478
  ...
532
479
 
533
480
  def layer_reorder(
534
- override_context: typing.Optional[
535
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
536
- ] = None,
537
- execution_context: typing.Optional[typing.Union[str, int]] = None,
538
- undo: typing.Optional[bool] = None,
539
- target_layer_name: typing.Union[str, typing.Any] = "Layer",
540
- location: typing.Optional[typing.Any] = "ABOVE",
481
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
482
+ execution_context: str | int | None = None,
483
+ undo: bool | None = None,
484
+ target_layer_name: str | typing.Any = "Layer",
485
+ location: typing.Any | None = "ABOVE",
541
486
  ):
542
487
  """Reorder the active Grease Pencil layer
543
488
 
544
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
545
- :type execution_context: typing.Optional[typing.Union[str, int]]
546
- :type undo: typing.Optional[bool]
489
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
490
+ :type execution_context: str | int | None
491
+ :type undo: bool | None
547
492
  :param target_layer_name: Target Name, Name of the target layer
548
- :type target_layer_name: typing.Union[str, typing.Any]
493
+ :type target_layer_name: str | typing.Any
549
494
  :param location: Location
550
- :type location: typing.Optional[typing.Any]
495
+ :type location: typing.Any | None
551
496
  """
552
497
 
553
498
  ...
554
499
 
555
500
  def layer_reveal(
556
- override_context: typing.Optional[
557
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
558
- ] = None,
559
- execution_context: typing.Optional[typing.Union[str, int]] = None,
560
- undo: typing.Optional[bool] = None,
501
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
502
+ execution_context: str | int | None = None,
503
+ undo: bool | None = None,
561
504
  ):
562
505
  """Show all Grease Pencil layers
563
506
 
564
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
565
- :type execution_context: typing.Optional[typing.Union[str, int]]
566
- :type undo: typing.Optional[bool]
507
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
508
+ :type execution_context: str | int | None
509
+ :type undo: bool | None
567
510
  """
568
511
 
569
512
  ...
570
513
 
571
514
  def material_copy_to_object(
572
- override_context: typing.Optional[
573
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
574
- ] = None,
575
- execution_context: typing.Optional[typing.Union[str, int]] = None,
576
- undo: typing.Optional[bool] = None,
577
- only_active: typing.Optional[typing.Union[bool, typing.Any]] = True,
515
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
516
+ execution_context: str | int | None = None,
517
+ undo: bool | None = None,
518
+ only_active: bool | typing.Any | None = True,
578
519
  ):
579
520
  """Append Materials of the active Grease Pencil to other object
580
521
 
581
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
582
- :type execution_context: typing.Optional[typing.Union[str, int]]
583
- :type undo: typing.Optional[bool]
522
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
523
+ :type execution_context: str | int | None
524
+ :type undo: bool | None
584
525
  :param only_active: Only Active, Append only active material, uncheck to append all materials
585
- :type only_active: typing.Optional[typing.Union[bool, typing.Any]]
526
+ :type only_active: bool | typing.Any | None
586
527
  """
587
528
 
588
529
  ...
589
530
 
590
531
  def material_hide(
591
- override_context: typing.Optional[
592
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
593
- ] = None,
594
- execution_context: typing.Optional[typing.Union[str, int]] = None,
595
- undo: typing.Optional[bool] = None,
596
- invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
532
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
533
+ execution_context: str | int | None = None,
534
+ undo: bool | None = None,
535
+ invert: bool | typing.Any | None = False,
597
536
  ):
598
537
  """Hide active/inactive Grease Pencil material(s)
599
538
 
600
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
601
- :type execution_context: typing.Optional[typing.Union[str, int]]
602
- :type undo: typing.Optional[bool]
539
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
540
+ :type execution_context: str | int | None
541
+ :type undo: bool | None
603
542
  :param invert: Invert, Hide inactive materials instead of the active one
604
- :type invert: typing.Optional[typing.Union[bool, typing.Any]]
543
+ :type invert: bool | typing.Any | None
605
544
  """
606
545
 
607
546
  ...
608
547
 
609
548
  def material_lock_all(
610
- override_context: typing.Optional[
611
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
612
- ] = None,
613
- execution_context: typing.Optional[typing.Union[str, int]] = None,
614
- undo: typing.Optional[bool] = None,
549
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
550
+ execution_context: str | int | None = None,
551
+ undo: bool | None = None,
615
552
  ):
616
553
  """Lock all Grease Pencil materials to prevent them from being accidentally modified
617
554
 
618
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
619
- :type execution_context: typing.Optional[typing.Union[str, int]]
620
- :type undo: typing.Optional[bool]
555
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
556
+ :type execution_context: str | int | None
557
+ :type undo: bool | None
621
558
  """
622
559
 
623
560
  ...
624
561
 
625
562
  def material_lock_unselected(
626
- override_context: typing.Optional[
627
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
628
- ] = None,
629
- execution_context: typing.Optional[typing.Union[str, int]] = None,
630
- undo: typing.Optional[bool] = None,
563
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
564
+ execution_context: str | int | None = None,
565
+ undo: bool | None = None,
631
566
  ):
632
567
  """Lock any material not used in any selected stroke
633
568
 
634
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
635
- :type execution_context: typing.Optional[typing.Union[str, int]]
636
- :type undo: typing.Optional[bool]
569
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
570
+ :type execution_context: str | int | None
571
+ :type undo: bool | None
637
572
  """
638
573
 
639
574
  ...
640
575
 
641
576
  def material_lock_unused(
642
- override_context: typing.Optional[
643
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
644
- ] = None,
645
- execution_context: typing.Optional[typing.Union[str, int]] = None,
646
- undo: typing.Optional[bool] = None,
577
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
578
+ execution_context: str | int | None = None,
579
+ undo: bool | None = None,
647
580
  ):
648
581
  """Lock and hide any material not used
649
582
 
650
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
651
- :type execution_context: typing.Optional[typing.Union[str, int]]
652
- :type undo: typing.Optional[bool]
583
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
584
+ :type execution_context: str | int | None
585
+ :type undo: bool | None
653
586
  """
654
587
 
655
588
  ...
656
589
 
657
590
  def material_reveal(
658
- override_context: typing.Optional[
659
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
660
- ] = None,
661
- execution_context: typing.Optional[typing.Union[str, int]] = None,
662
- undo: typing.Optional[bool] = None,
591
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
592
+ execution_context: str | int | None = None,
593
+ undo: bool | None = None,
663
594
  ):
664
595
  """Unhide all hidden Grease Pencil materials
665
596
 
666
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
667
- :type execution_context: typing.Optional[typing.Union[str, int]]
668
- :type undo: typing.Optional[bool]
597
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
598
+ :type execution_context: str | int | None
599
+ :type undo: bool | None
669
600
  """
670
601
 
671
602
  ...
672
603
 
673
604
  def material_select(
674
- override_context: typing.Optional[
675
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
676
- ] = None,
677
- execution_context: typing.Optional[typing.Union[str, int]] = None,
678
- undo: typing.Optional[bool] = None,
679
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
605
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
606
+ execution_context: str | int | None = None,
607
+ undo: bool | None = None,
608
+ deselect: bool | typing.Any | None = False,
680
609
  ):
681
610
  """Select/Deselect all Grease Pencil strokes using current material
682
611
 
683
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
684
- :type execution_context: typing.Optional[typing.Union[str, int]]
685
- :type undo: typing.Optional[bool]
612
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
613
+ :type execution_context: str | int | None
614
+ :type undo: bool | None
686
615
  :param deselect: Deselect, Unselect strokes
687
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
616
+ :type deselect: bool | typing.Any | None
688
617
  """
689
618
 
690
619
  ...
691
620
 
692
621
  def material_unlock_all(
693
- override_context: typing.Optional[
694
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
695
- ] = None,
696
- execution_context: typing.Optional[typing.Union[str, int]] = None,
697
- undo: typing.Optional[bool] = None,
622
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
623
+ execution_context: str | int | None = None,
624
+ undo: bool | None = None,
698
625
  ):
699
626
  """Unlock all Grease Pencil materials so that they can be edited
700
627
 
701
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
702
- :type execution_context: typing.Optional[typing.Union[str, int]]
703
- :type undo: typing.Optional[bool]
628
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
629
+ :type execution_context: str | int | None
630
+ :type undo: bool | None
704
631
  """
705
632
 
706
633
  ...
707
634
 
708
635
  def move_to_layer(
709
- override_context: typing.Optional[
710
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
711
- ] = None,
712
- execution_context: typing.Optional[typing.Union[str, int]] = None,
713
- undo: typing.Optional[bool] = None,
714
- target_layer_name: typing.Union[str, typing.Any] = "Layer",
715
- add_new_layer: typing.Optional[typing.Union[bool, typing.Any]] = False,
636
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
637
+ execution_context: str | int | None = None,
638
+ undo: bool | None = None,
639
+ target_layer_name: str | typing.Any = "Layer",
640
+ add_new_layer: bool | typing.Any | None = False,
716
641
  ):
717
642
  """Move selected strokes to another layer
718
643
 
719
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
720
- :type execution_context: typing.Optional[typing.Union[str, int]]
721
- :type undo: typing.Optional[bool]
644
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
645
+ :type execution_context: str | int | None
646
+ :type undo: bool | None
722
647
  :param target_layer_name: Name, Target Grease Pencil Layer
723
- :type target_layer_name: typing.Union[str, typing.Any]
648
+ :type target_layer_name: str | typing.Any
724
649
  :param add_new_layer: New Layer, Move selection to a new layer
725
- :type add_new_layer: typing.Optional[typing.Union[bool, typing.Any]]
650
+ :type add_new_layer: bool | typing.Any | None
726
651
  """
727
652
 
728
653
  ...
729
654
 
730
655
  def paste(
731
- override_context: typing.Optional[
732
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
733
- ] = None,
734
- execution_context: typing.Optional[typing.Union[str, int]] = None,
735
- undo: typing.Optional[bool] = None,
736
- paste_back: typing.Optional[typing.Union[bool, typing.Any]] = False,
656
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
657
+ execution_context: str | int | None = None,
658
+ undo: bool | None = None,
659
+ paste_back: bool | typing.Any | None = False,
737
660
  ):
738
661
  """Paste Grease Pencil points or strokes from the internal clipboard to the active layer
739
662
 
740
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
741
- :type execution_context: typing.Optional[typing.Union[str, int]]
742
- :type undo: typing.Optional[bool]
663
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
664
+ :type execution_context: str | int | None
665
+ :type undo: bool | None
743
666
  :param paste_back: Paste on Back, Add pasted strokes behind all strokes
744
- :type paste_back: typing.Optional[typing.Union[bool, typing.Any]]
667
+ :type paste_back: bool | typing.Any | None
745
668
  """
746
669
 
747
670
  ...
748
671
 
749
672
  def primitive_arc(
750
- override_context: typing.Optional[
751
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
752
- ] = None,
753
- execution_context: typing.Optional[typing.Union[str, int]] = None,
754
- undo: typing.Optional[bool] = None,
755
- subdivision: typing.Optional[typing.Any] = 62,
756
- type: typing.Optional[typing.Any] = "ARC",
673
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
674
+ execution_context: str | int | None = None,
675
+ undo: bool | None = None,
676
+ subdivision: typing.Any | None = 62,
677
+ type: typing.Any | None = "ARC",
757
678
  ):
758
679
  """Create predefined grease pencil stroke arcs
759
680
 
760
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
761
- :type execution_context: typing.Optional[typing.Union[str, int]]
762
- :type undo: typing.Optional[bool]
681
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
682
+ :type execution_context: str | int | None
683
+ :type undo: bool | None
763
684
  :param subdivision: Subdivisions, Number of subdivisions per segment
764
- :type subdivision: typing.Optional[typing.Any]
685
+ :type subdivision: typing.Any | None
765
686
  :param type: Type, Type of shape
766
- :type type: typing.Optional[typing.Any]
687
+ :type type: typing.Any | None
767
688
  """
768
689
 
769
690
  ...
770
691
 
771
692
  def primitive_box(
772
- override_context: typing.Optional[
773
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
774
- ] = None,
775
- execution_context: typing.Optional[typing.Union[str, int]] = None,
776
- undo: typing.Optional[bool] = None,
777
- subdivision: typing.Optional[typing.Any] = 3,
778
- type: typing.Optional[typing.Any] = "BOX",
693
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
694
+ execution_context: str | int | None = None,
695
+ undo: bool | None = None,
696
+ subdivision: typing.Any | None = 3,
697
+ type: typing.Any | None = "BOX",
779
698
  ):
780
699
  """Create predefined grease pencil stroke boxes
781
700
 
782
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
783
- :type execution_context: typing.Optional[typing.Union[str, int]]
784
- :type undo: typing.Optional[bool]
701
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
702
+ :type execution_context: str | int | None
703
+ :type undo: bool | None
785
704
  :param subdivision: Subdivisions, Number of subdivisions per segment
786
- :type subdivision: typing.Optional[typing.Any]
705
+ :type subdivision: typing.Any | None
787
706
  :param type: Type, Type of shape
788
- :type type: typing.Optional[typing.Any]
707
+ :type type: typing.Any | None
789
708
  """
790
709
 
791
710
  ...
792
711
 
793
712
  def primitive_circle(
794
- override_context: typing.Optional[
795
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
796
- ] = None,
797
- execution_context: typing.Optional[typing.Union[str, int]] = None,
798
- undo: typing.Optional[bool] = None,
799
- subdivision: typing.Optional[typing.Any] = 94,
800
- type: typing.Optional[typing.Any] = "CIRCLE",
713
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
714
+ execution_context: str | int | None = None,
715
+ undo: bool | None = None,
716
+ subdivision: typing.Any | None = 94,
717
+ type: typing.Any | None = "CIRCLE",
801
718
  ):
802
719
  """Create predefined grease pencil stroke circles
803
720
 
804
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
805
- :type execution_context: typing.Optional[typing.Union[str, int]]
806
- :type undo: typing.Optional[bool]
721
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
722
+ :type execution_context: str | int | None
723
+ :type undo: bool | None
807
724
  :param subdivision: Subdivisions, Number of subdivisions per segment
808
- :type subdivision: typing.Optional[typing.Any]
725
+ :type subdivision: typing.Any | None
809
726
  :param type: Type, Type of shape
810
- :type type: typing.Optional[typing.Any]
727
+ :type type: typing.Any | None
811
728
  """
812
729
 
813
730
  ...
814
731
 
815
732
  def primitive_curve(
816
- override_context: typing.Optional[
817
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
818
- ] = None,
819
- execution_context: typing.Optional[typing.Union[str, int]] = None,
820
- undo: typing.Optional[bool] = None,
821
- subdivision: typing.Optional[typing.Any] = 62,
822
- type: typing.Optional[typing.Any] = "CURVE",
733
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
734
+ execution_context: str | int | None = None,
735
+ undo: bool | None = None,
736
+ subdivision: typing.Any | None = 62,
737
+ type: typing.Any | None = "CURVE",
823
738
  ):
824
739
  """Create predefined grease pencil stroke curve shapes
825
740
 
826
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
827
- :type execution_context: typing.Optional[typing.Union[str, int]]
828
- :type undo: typing.Optional[bool]
741
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
742
+ :type execution_context: str | int | None
743
+ :type undo: bool | None
829
744
  :param subdivision: Subdivisions, Number of subdivisions per segment
830
- :type subdivision: typing.Optional[typing.Any]
745
+ :type subdivision: typing.Any | None
831
746
  :param type: Type, Type of shape
832
- :type type: typing.Optional[typing.Any]
747
+ :type type: typing.Any | None
833
748
  """
834
749
 
835
750
  ...
836
751
 
837
752
  def primitive_line(
838
- override_context: typing.Optional[
839
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
840
- ] = None,
841
- execution_context: typing.Optional[typing.Union[str, int]] = None,
842
- undo: typing.Optional[bool] = None,
843
- subdivision: typing.Optional[typing.Any] = 6,
844
- type: typing.Optional[typing.Any] = "LINE",
753
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
754
+ execution_context: str | int | None = None,
755
+ undo: bool | None = None,
756
+ subdivision: typing.Any | None = 6,
757
+ type: typing.Any | None = "LINE",
845
758
  ):
846
759
  """Create predefined grease pencil stroke lines
847
760
 
848
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
849
- :type execution_context: typing.Optional[typing.Union[str, int]]
850
- :type undo: typing.Optional[bool]
761
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
762
+ :type execution_context: str | int | None
763
+ :type undo: bool | None
851
764
  :param subdivision: Subdivisions, Number of subdivisions per segment
852
- :type subdivision: typing.Optional[typing.Any]
765
+ :type subdivision: typing.Any | None
853
766
  :param type: Type, Type of shape
854
- :type type: typing.Optional[typing.Any]
767
+ :type type: typing.Any | None
855
768
  """
856
769
 
857
770
  ...
858
771
 
859
772
  def primitive_polyline(
860
- override_context: typing.Optional[
861
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
862
- ] = None,
863
- execution_context: typing.Optional[typing.Union[str, int]] = None,
864
- undo: typing.Optional[bool] = None,
865
- subdivision: typing.Optional[typing.Any] = 6,
866
- type: typing.Optional[typing.Any] = "POLYLINE",
773
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
774
+ execution_context: str | int | None = None,
775
+ undo: bool | None = None,
776
+ subdivision: typing.Any | None = 6,
777
+ type: typing.Any | None = "POLYLINE",
867
778
  ):
868
779
  """Create predefined grease pencil stroke polylines
869
780
 
870
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
871
- :type execution_context: typing.Optional[typing.Union[str, int]]
872
- :type undo: typing.Optional[bool]
781
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
782
+ :type execution_context: str | int | None
783
+ :type undo: bool | None
873
784
  :param subdivision: Subdivisions, Number of subdivisions per segment
874
- :type subdivision: typing.Optional[typing.Any]
785
+ :type subdivision: typing.Any | None
875
786
  :param type: Type, Type of shape
876
- :type type: typing.Optional[typing.Any]
787
+ :type type: typing.Any | None
877
788
  """
878
789
 
879
790
  ...
880
791
 
881
792
  def reorder(
882
- override_context: typing.Optional[
883
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
884
- ] = None,
885
- execution_context: typing.Optional[typing.Union[str, int]] = None,
886
- undo: typing.Optional[bool] = None,
887
- direction: typing.Optional[typing.Any] = "TOP",
793
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
794
+ execution_context: str | int | None = None,
795
+ undo: bool | None = None,
796
+ direction: typing.Any | None = "TOP",
888
797
  ):
889
798
  """Change the display order of the selected strokes
890
799
 
891
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
892
- :type execution_context: typing.Optional[typing.Union[str, int]]
893
- :type undo: typing.Optional[bool]
800
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
801
+ :type execution_context: str | int | None
802
+ :type undo: bool | None
894
803
  :param direction: Direction
895
- :type direction: typing.Optional[typing.Any]
804
+ :type direction: typing.Any | None
896
805
  """
897
806
 
898
807
  ...
899
808
 
900
809
  def sculpt_paint(
901
- override_context: typing.Optional[
902
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
903
- ] = None,
904
- execution_context: typing.Optional[typing.Union[str, int]] = None,
905
- undo: typing.Optional[bool] = None,
906
- stroke: typing.Optional[
907
- bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
908
- ] = None,
909
- mode: typing.Optional[typing.Any] = "NORMAL",
810
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
811
+ execution_context: str | int | None = None,
812
+ undo: bool | None = None,
813
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
814
+ | None = None,
815
+ mode: typing.Any | None = "NORMAL",
910
816
  ):
911
817
  """Draw a new stroke in the active Grease Pencil object
912
818
 
913
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
914
- :type execution_context: typing.Optional[typing.Union[str, int]]
915
- :type undo: typing.Optional[bool]
819
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
820
+ :type execution_context: str | int | None
821
+ :type undo: bool | None
916
822
  :param stroke: Stroke
917
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
823
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
918
824
  :param mode: Stroke Mode, Action taken when a paint stroke is made
919
825
 
920
826
  NORMAL
@@ -925,24 +831,22 @@ def sculpt_paint(
925
831
 
926
832
  SMOOTH
927
833
  Smooth -- Switch brush to smooth mode for duration of stroke.
928
- :type mode: typing.Optional[typing.Any]
834
+ :type mode: typing.Any | None
929
835
  """
930
836
 
931
837
  ...
932
838
 
933
839
  def select_all(
934
- override_context: typing.Optional[
935
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
936
- ] = None,
937
- execution_context: typing.Optional[typing.Union[str, int]] = None,
938
- undo: typing.Optional[bool] = None,
939
- action: typing.Optional[typing.Any] = "TOGGLE",
840
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
841
+ execution_context: str | int | None = None,
842
+ undo: bool | None = None,
843
+ action: typing.Any | None = "TOGGLE",
940
844
  ):
941
845
  """(De)select all visible strokes
942
846
 
943
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
944
- :type execution_context: typing.Optional[typing.Union[str, int]]
945
- :type undo: typing.Optional[bool]
847
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
848
+ :type execution_context: str | int | None
849
+ :type undo: bool | None
946
850
  :param action: Action, Selection action to execute
947
851
 
948
852
  TOGGLE
@@ -956,119 +860,107 @@ def select_all(
956
860
 
957
861
  INVERT
958
862
  Invert -- Invert selection of all elements.
959
- :type action: typing.Optional[typing.Any]
863
+ :type action: typing.Any | None
960
864
  """
961
865
 
962
866
  ...
963
867
 
964
868
  def select_alternate(
965
- override_context: typing.Optional[
966
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
967
- ] = None,
968
- execution_context: typing.Optional[typing.Union[str, int]] = None,
969
- undo: typing.Optional[bool] = None,
970
- deselect_ends: typing.Optional[typing.Union[bool, typing.Any]] = False,
869
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
870
+ execution_context: str | int | None = None,
871
+ undo: bool | None = None,
872
+ deselect_ends: bool | typing.Any | None = False,
971
873
  ):
972
874
  """Select alternated points in strokes with already selected points
973
875
 
974
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
975
- :type execution_context: typing.Optional[typing.Union[str, int]]
976
- :type undo: typing.Optional[bool]
876
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
877
+ :type execution_context: str | int | None
878
+ :type undo: bool | None
977
879
  :param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
978
- :type deselect_ends: typing.Optional[typing.Union[bool, typing.Any]]
880
+ :type deselect_ends: bool | typing.Any | None
979
881
  """
980
882
 
981
883
  ...
982
884
 
983
885
  def select_ends(
984
- override_context: typing.Optional[
985
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
986
- ] = None,
987
- execution_context: typing.Optional[typing.Union[str, int]] = None,
988
- undo: typing.Optional[bool] = None,
989
- amount_start: typing.Optional[typing.Any] = 0,
990
- amount_end: typing.Optional[typing.Any] = 1,
886
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
887
+ execution_context: str | int | None = None,
888
+ undo: bool | None = None,
889
+ amount_start: typing.Any | None = 0,
890
+ amount_end: typing.Any | None = 1,
991
891
  ):
992
892
  """Select end points of strokes
993
893
 
994
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
995
- :type execution_context: typing.Optional[typing.Union[str, int]]
996
- :type undo: typing.Optional[bool]
894
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
895
+ :type execution_context: str | int | None
896
+ :type undo: bool | None
997
897
  :param amount_start: Amount Start, Number of points to select from the start
998
- :type amount_start: typing.Optional[typing.Any]
898
+ :type amount_start: typing.Any | None
999
899
  :param amount_end: Amount End, Number of points to select from the end
1000
- :type amount_end: typing.Optional[typing.Any]
900
+ :type amount_end: typing.Any | None
1001
901
  """
1002
902
 
1003
903
  ...
1004
904
 
1005
905
  def select_less(
1006
- override_context: typing.Optional[
1007
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1008
- ] = None,
1009
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1010
- undo: typing.Optional[bool] = None,
906
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
907
+ execution_context: str | int | None = None,
908
+ undo: bool | None = None,
1011
909
  ):
1012
910
  """Shrink the selection by one point
1013
911
 
1014
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1015
- :type execution_context: typing.Optional[typing.Union[str, int]]
1016
- :type undo: typing.Optional[bool]
912
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
913
+ :type execution_context: str | int | None
914
+ :type undo: bool | None
1017
915
  """
1018
916
 
1019
917
  ...
1020
918
 
1021
919
  def select_linked(
1022
- override_context: typing.Optional[
1023
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1024
- ] = None,
1025
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1026
- undo: typing.Optional[bool] = None,
920
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
921
+ execution_context: str | int | None = None,
922
+ undo: bool | None = None,
1027
923
  ):
1028
924
  """Select all points in curves with any point selection
1029
925
 
1030
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1031
- :type execution_context: typing.Optional[typing.Union[str, int]]
1032
- :type undo: typing.Optional[bool]
926
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
927
+ :type execution_context: str | int | None
928
+ :type undo: bool | None
1033
929
  """
1034
930
 
1035
931
  ...
1036
932
 
1037
933
  def select_more(
1038
- override_context: typing.Optional[
1039
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1040
- ] = None,
1041
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1042
- undo: typing.Optional[bool] = None,
934
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
935
+ execution_context: str | int | None = None,
936
+ undo: bool | None = None,
1043
937
  ):
1044
938
  """Grow the selection by one point
1045
939
 
1046
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1047
- :type execution_context: typing.Optional[typing.Union[str, int]]
1048
- :type undo: typing.Optional[bool]
940
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
941
+ :type execution_context: str | int | None
942
+ :type undo: bool | None
1049
943
  """
1050
944
 
1051
945
  ...
1052
946
 
1053
947
  def select_random(
1054
- override_context: typing.Optional[
1055
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1056
- ] = None,
1057
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1058
- undo: typing.Optional[bool] = None,
1059
- ratio: typing.Optional[typing.Any] = 0.5,
1060
- seed: typing.Optional[typing.Any] = 0,
1061
- action: typing.Optional[typing.Any] = "SELECT",
948
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
949
+ execution_context: str | int | None = None,
950
+ undo: bool | None = None,
951
+ ratio: typing.Any | None = 0.5,
952
+ seed: typing.Any | None = 0,
953
+ action: typing.Any | None = "SELECT",
1062
954
  ):
1063
955
  """Selects random points from the current strokes selection
1064
956
 
1065
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1066
- :type execution_context: typing.Optional[typing.Union[str, int]]
1067
- :type undo: typing.Optional[bool]
957
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
958
+ :type execution_context: str | int | None
959
+ :type undo: bool | None
1068
960
  :param ratio: Ratio, Portion of items to select randomly
1069
- :type ratio: typing.Optional[typing.Any]
961
+ :type ratio: typing.Any | None
1070
962
  :param seed: Random Seed, Seed for the random number generator
1071
- :type seed: typing.Optional[typing.Any]
963
+ :type seed: typing.Any | None
1072
964
  :param action: Action, Selection action to execute
1073
965
 
1074
966
  SELECT
@@ -1076,24 +968,22 @@ def select_random(
1076
968
 
1077
969
  DESELECT
1078
970
  Deselect -- Deselect all elements.
1079
- :type action: typing.Optional[typing.Any]
971
+ :type action: typing.Any | None
1080
972
  """
1081
973
 
1082
974
  ...
1083
975
 
1084
976
  def separate(
1085
- override_context: typing.Optional[
1086
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1087
- ] = None,
1088
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1089
- undo: typing.Optional[bool] = None,
1090
- mode: typing.Optional[typing.Any] = "SELECTED",
977
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
978
+ execution_context: str | int | None = None,
979
+ undo: bool | None = None,
980
+ mode: typing.Any | None = "SELECTED",
1091
981
  ):
1092
982
  """Separate the selected geometry into a new grease pencil object
1093
983
 
1094
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1095
- :type execution_context: typing.Optional[typing.Union[str, int]]
1096
- :type undo: typing.Optional[bool]
984
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
985
+ :type execution_context: str | int | None
986
+ :type undo: bool | None
1097
987
  :param mode: Mode
1098
988
 
1099
989
  SELECTED
@@ -1104,350 +994,313 @@ def separate(
1104
994
 
1105
995
  LAYER
1106
996
  By Layer -- Separate by layer.
1107
- :type mode: typing.Optional[typing.Any]
997
+ :type mode: typing.Any | None
1108
998
  """
1109
999
 
1110
1000
  ...
1111
1001
 
1112
1002
  def set_active_material(
1113
- override_context: typing.Optional[
1114
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1115
- ] = None,
1116
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1117
- undo: typing.Optional[bool] = None,
1003
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1004
+ execution_context: str | int | None = None,
1005
+ undo: bool | None = None,
1118
1006
  ):
1119
1007
  """Set the selected stroke material as the active material
1120
1008
 
1121
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1122
- :type execution_context: typing.Optional[typing.Union[str, int]]
1123
- :type undo: typing.Optional[bool]
1009
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1010
+ :type execution_context: str | int | None
1011
+ :type undo: bool | None
1124
1012
  """
1125
1013
 
1126
1014
  ...
1127
1015
 
1128
1016
  def set_material(
1129
- override_context: typing.Optional[
1130
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1131
- ] = None,
1132
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1133
- undo: typing.Optional[bool] = None,
1134
- slot: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
1017
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1018
+ execution_context: str | int | None = None,
1019
+ undo: bool | None = None,
1020
+ slot: str | int | typing.Any | None = "DEFAULT",
1135
1021
  ):
1136
1022
  """Set active material
1137
1023
 
1138
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1139
- :type execution_context: typing.Optional[typing.Union[str, int]]
1140
- :type undo: typing.Optional[bool]
1024
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1025
+ :type execution_context: str | int | None
1026
+ :type undo: bool | None
1141
1027
  :param slot: Material Slot
1142
- :type slot: typing.Optional[typing.Union[str, int, typing.Any]]
1028
+ :type slot: str | int | typing.Any | None
1143
1029
  """
1144
1030
 
1145
1031
  ...
1146
1032
 
1147
1033
  def set_selection_mode(
1148
- override_context: typing.Optional[
1149
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1150
- ] = None,
1151
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1152
- undo: typing.Optional[bool] = None,
1153
- mode: typing.Optional[typing.Union[str, int]] = "POINT",
1034
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1035
+ execution_context: str | int | None = None,
1036
+ undo: bool | None = None,
1037
+ mode: str | int | None = "POINT",
1154
1038
  ):
1155
1039
  """Change the selection mode for Grease Pencil strokes
1156
1040
 
1157
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1158
- :type execution_context: typing.Optional[typing.Union[str, int]]
1159
- :type undo: typing.Optional[bool]
1041
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1042
+ :type execution_context: str | int | None
1043
+ :type undo: bool | None
1160
1044
  :param mode: Mode
1161
- :type mode: typing.Optional[typing.Union[str, int]]
1045
+ :type mode: str | int | None
1162
1046
  """
1163
1047
 
1164
1048
  ...
1165
1049
 
1166
1050
  def set_uniform_opacity(
1167
- override_context: typing.Optional[
1168
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1169
- ] = None,
1170
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1171
- undo: typing.Optional[bool] = None,
1172
- opacity: typing.Optional[typing.Any] = 1.0,
1051
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1052
+ execution_context: str | int | None = None,
1053
+ undo: bool | None = None,
1054
+ opacity: typing.Any | None = 1.0,
1173
1055
  ):
1174
1056
  """Set all stroke points to same opacity
1175
1057
 
1176
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1177
- :type execution_context: typing.Optional[typing.Union[str, int]]
1178
- :type undo: typing.Optional[bool]
1058
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1059
+ :type execution_context: str | int | None
1060
+ :type undo: bool | None
1179
1061
  :param opacity: Opacity
1180
- :type opacity: typing.Optional[typing.Any]
1062
+ :type opacity: typing.Any | None
1181
1063
  """
1182
1064
 
1183
1065
  ...
1184
1066
 
1185
1067
  def set_uniform_thickness(
1186
- override_context: typing.Optional[
1187
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1188
- ] = None,
1189
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1190
- undo: typing.Optional[bool] = None,
1191
- thickness: typing.Optional[typing.Any] = 0.1,
1068
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1069
+ execution_context: str | int | None = None,
1070
+ undo: bool | None = None,
1071
+ thickness: typing.Any | None = 0.1,
1192
1072
  ):
1193
1073
  """Set all stroke points to same thickness
1194
1074
 
1195
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1196
- :type execution_context: typing.Optional[typing.Union[str, int]]
1197
- :type undo: typing.Optional[bool]
1075
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1076
+ :type execution_context: str | int | None
1077
+ :type undo: bool | None
1198
1078
  :param thickness: Thickness, Thickness
1199
- :type thickness: typing.Optional[typing.Any]
1079
+ :type thickness: typing.Any | None
1200
1080
  """
1201
1081
 
1202
1082
  ...
1203
1083
 
1204
1084
  def snap_cursor_to_selected(
1205
- override_context: typing.Optional[
1206
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1207
- ] = None,
1208
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1209
- undo: typing.Optional[bool] = None,
1085
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1086
+ execution_context: str | int | None = None,
1087
+ undo: bool | None = None,
1210
1088
  ):
1211
1089
  """Snap cursor to center of selected points
1212
1090
 
1213
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1214
- :type execution_context: typing.Optional[typing.Union[str, int]]
1215
- :type undo: typing.Optional[bool]
1091
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1092
+ :type execution_context: str | int | None
1093
+ :type undo: bool | None
1216
1094
  """
1217
1095
 
1218
1096
  ...
1219
1097
 
1220
1098
  def snap_to_cursor(
1221
- override_context: typing.Optional[
1222
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1223
- ] = None,
1224
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1225
- undo: typing.Optional[bool] = None,
1226
- use_offset: typing.Optional[typing.Union[bool, typing.Any]] = True,
1099
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1100
+ execution_context: str | int | None = None,
1101
+ undo: bool | None = None,
1102
+ use_offset: bool | typing.Any | None = True,
1227
1103
  ):
1228
1104
  """Snap selected points/strokes to the cursor
1229
1105
 
1230
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1231
- :type execution_context: typing.Optional[typing.Union[str, int]]
1232
- :type undo: typing.Optional[bool]
1106
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1107
+ :type execution_context: str | int | None
1108
+ :type undo: bool | None
1233
1109
  :param use_offset: With Offset, Offset the entire stroke instead of selected points only
1234
- :type use_offset: typing.Optional[typing.Union[bool, typing.Any]]
1110
+ :type use_offset: bool | typing.Any | None
1235
1111
  """
1236
1112
 
1237
1113
  ...
1238
1114
 
1239
1115
  def snap_to_grid(
1240
- override_context: typing.Optional[
1241
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1242
- ] = None,
1243
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1244
- undo: typing.Optional[bool] = None,
1116
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1117
+ execution_context: str | int | None = None,
1118
+ undo: bool | None = None,
1245
1119
  ):
1246
1120
  """Snap selected points to the nearest grid points
1247
1121
 
1248
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1249
- :type execution_context: typing.Optional[typing.Union[str, int]]
1250
- :type undo: typing.Optional[bool]
1122
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1123
+ :type execution_context: str | int | None
1124
+ :type undo: bool | None
1251
1125
  """
1252
1126
 
1253
1127
  ...
1254
1128
 
1255
1129
  def stroke_cutter(
1256
- override_context: typing.Optional[
1257
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1258
- ] = None,
1259
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1260
- undo: typing.Optional[bool] = None,
1261
- path: typing.Optional[
1262
- bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
1263
- ] = None,
1130
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1131
+ execution_context: str | int | None = None,
1132
+ undo: bool | None = None,
1133
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
1264
1134
  ):
1265
1135
  """Delete stroke points in between intersecting strokes
1266
1136
 
1267
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1268
- :type execution_context: typing.Optional[typing.Union[str, int]]
1269
- :type undo: typing.Optional[bool]
1137
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1138
+ :type execution_context: str | int | None
1139
+ :type undo: bool | None
1270
1140
  :param path: Path
1271
- :type path: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]]
1141
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
1272
1142
  """
1273
1143
 
1274
1144
  ...
1275
1145
 
1276
1146
  def stroke_material_set(
1277
- override_context: typing.Optional[
1278
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1279
- ] = None,
1280
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1281
- undo: typing.Optional[bool] = None,
1282
- material: typing.Union[str, typing.Any] = "",
1147
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1148
+ execution_context: str | int | None = None,
1149
+ undo: bool | None = None,
1150
+ material: str | typing.Any = "",
1283
1151
  ):
1284
1152
  """Assign the active material slot to the selected strokes
1285
1153
 
1286
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1287
- :type execution_context: typing.Optional[typing.Union[str, int]]
1288
- :type undo: typing.Optional[bool]
1154
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1155
+ :type execution_context: str | int | None
1156
+ :type undo: bool | None
1289
1157
  :param material: Material, Name of the material
1290
- :type material: typing.Union[str, typing.Any]
1158
+ :type material: str | typing.Any
1291
1159
  """
1292
1160
 
1293
1161
  ...
1294
1162
 
1295
1163
  def stroke_merge_by_distance(
1296
- override_context: typing.Optional[
1297
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1298
- ] = None,
1299
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1300
- undo: typing.Optional[bool] = None,
1301
- threshold: typing.Optional[typing.Any] = 0.001,
1302
- use_unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
1164
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1165
+ execution_context: str | int | None = None,
1166
+ undo: bool | None = None,
1167
+ threshold: typing.Any | None = 0.001,
1168
+ use_unselected: bool | typing.Any | None = False,
1303
1169
  ):
1304
1170
  """Merge points by distance
1305
1171
 
1306
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1307
- :type execution_context: typing.Optional[typing.Union[str, int]]
1308
- :type undo: typing.Optional[bool]
1172
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1173
+ :type execution_context: str | int | None
1174
+ :type undo: bool | None
1309
1175
  :param threshold: Threshold
1310
- :type threshold: typing.Optional[typing.Any]
1176
+ :type threshold: typing.Any | None
1311
1177
  :param use_unselected: Unselected, Use whole stroke, not only selected points
1312
- :type use_unselected: typing.Optional[typing.Union[bool, typing.Any]]
1178
+ :type use_unselected: bool | typing.Any | None
1313
1179
  """
1314
1180
 
1315
1181
  ...
1316
1182
 
1317
1183
  def stroke_simplify(
1318
- override_context: typing.Optional[
1319
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1320
- ] = None,
1321
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1322
- undo: typing.Optional[bool] = None,
1323
- factor: typing.Optional[typing.Any] = 0.01,
1184
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1185
+ execution_context: str | int | None = None,
1186
+ undo: bool | None = None,
1187
+ factor: typing.Any | None = 0.01,
1324
1188
  ):
1325
1189
  """Simplify selected strokes
1326
1190
 
1327
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1328
- :type execution_context: typing.Optional[typing.Union[str, int]]
1329
- :type undo: typing.Optional[bool]
1191
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1192
+ :type execution_context: str | int | None
1193
+ :type undo: bool | None
1330
1194
  :param factor: Factor
1331
- :type factor: typing.Optional[typing.Any]
1195
+ :type factor: typing.Any | None
1332
1196
  """
1333
1197
 
1334
1198
  ...
1335
1199
 
1336
1200
  def stroke_smooth(
1337
- override_context: typing.Optional[
1338
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1339
- ] = None,
1340
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1341
- undo: typing.Optional[bool] = None,
1342
- iterations: typing.Optional[typing.Any] = 10,
1343
- factor: typing.Optional[typing.Any] = 1.0,
1344
- smooth_ends: typing.Optional[typing.Union[bool, typing.Any]] = False,
1345
- keep_shape: typing.Optional[typing.Union[bool, typing.Any]] = False,
1346
- smooth_position: typing.Optional[typing.Union[bool, typing.Any]] = True,
1347
- smooth_radius: typing.Optional[typing.Union[bool, typing.Any]] = True,
1348
- smooth_opacity: typing.Optional[typing.Union[bool, typing.Any]] = False,
1201
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1202
+ execution_context: str | int | None = None,
1203
+ undo: bool | None = None,
1204
+ iterations: typing.Any | None = 10,
1205
+ factor: typing.Any | None = 1.0,
1206
+ smooth_ends: bool | typing.Any | None = False,
1207
+ keep_shape: bool | typing.Any | None = False,
1208
+ smooth_position: bool | typing.Any | None = True,
1209
+ smooth_radius: bool | typing.Any | None = True,
1210
+ smooth_opacity: bool | typing.Any | None = False,
1349
1211
  ):
1350
1212
  """Smooth selected strokes
1351
1213
 
1352
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1353
- :type execution_context: typing.Optional[typing.Union[str, int]]
1354
- :type undo: typing.Optional[bool]
1214
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1215
+ :type execution_context: str | int | None
1216
+ :type undo: bool | None
1355
1217
  :param iterations: Iterations
1356
- :type iterations: typing.Optional[typing.Any]
1218
+ :type iterations: typing.Any | None
1357
1219
  :param factor: Factor
1358
- :type factor: typing.Optional[typing.Any]
1220
+ :type factor: typing.Any | None
1359
1221
  :param smooth_ends: Smooth Endpoints
1360
- :type smooth_ends: typing.Optional[typing.Union[bool, typing.Any]]
1222
+ :type smooth_ends: bool | typing.Any | None
1361
1223
  :param keep_shape: Keep Shape
1362
- :type keep_shape: typing.Optional[typing.Union[bool, typing.Any]]
1224
+ :type keep_shape: bool | typing.Any | None
1363
1225
  :param smooth_position: Position
1364
- :type smooth_position: typing.Optional[typing.Union[bool, typing.Any]]
1226
+ :type smooth_position: bool | typing.Any | None
1365
1227
  :param smooth_radius: Radius
1366
- :type smooth_radius: typing.Optional[typing.Union[bool, typing.Any]]
1228
+ :type smooth_radius: bool | typing.Any | None
1367
1229
  :param smooth_opacity: Opacity
1368
- :type smooth_opacity: typing.Optional[typing.Union[bool, typing.Any]]
1230
+ :type smooth_opacity: bool | typing.Any | None
1369
1231
  """
1370
1232
 
1371
1233
  ...
1372
1234
 
1373
1235
  def stroke_subdivide(
1374
- override_context: typing.Optional[
1375
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1376
- ] = None,
1377
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1378
- undo: typing.Optional[bool] = None,
1379
- number_cuts: typing.Optional[typing.Any] = 1,
1380
- only_selected: typing.Optional[typing.Union[bool, typing.Any]] = True,
1236
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1237
+ execution_context: str | int | None = None,
1238
+ undo: bool | None = None,
1239
+ number_cuts: typing.Any | None = 1,
1240
+ only_selected: bool | typing.Any | None = True,
1381
1241
  ):
1382
1242
  """Subdivide between continuous selected points of the stroke adding a point half way between them
1383
1243
 
1384
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1385
- :type execution_context: typing.Optional[typing.Union[str, int]]
1386
- :type undo: typing.Optional[bool]
1244
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1245
+ :type execution_context: str | int | None
1246
+ :type undo: bool | None
1387
1247
  :param number_cuts: Number of Cuts
1388
- :type number_cuts: typing.Optional[typing.Any]
1248
+ :type number_cuts: typing.Any | None
1389
1249
  :param only_selected: Selected Points, Smooth only selected points in the stroke
1390
- :type only_selected: typing.Optional[typing.Union[bool, typing.Any]]
1250
+ :type only_selected: bool | typing.Any | None
1391
1251
  """
1392
1252
 
1393
1253
  ...
1394
1254
 
1395
1255
  def stroke_subdivide_smooth(
1396
- override_context: typing.Optional[
1397
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1398
- ] = None,
1399
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1400
- undo: typing.Optional[bool] = None,
1401
- GREASE_PENCIL_OT_stroke_subdivide: typing.Optional[typing.Any] = None,
1402
- GREASE_PENCIL_OT_stroke_smooth: typing.Optional[typing.Any] = None,
1256
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1257
+ execution_context: str | int | None = None,
1258
+ undo: bool | None = None,
1259
+ GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None = None,
1260
+ GREASE_PENCIL_OT_stroke_smooth: typing.Any | None = None,
1403
1261
  ):
1404
1262
  """Subdivide strokes and smooth them
1405
1263
 
1406
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1407
- :type execution_context: typing.Optional[typing.Union[str, int]]
1408
- :type undo: typing.Optional[bool]
1264
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1265
+ :type execution_context: str | int | None
1266
+ :type undo: bool | None
1409
1267
  :param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
1410
- :type GREASE_PENCIL_OT_stroke_subdivide: typing.Optional[typing.Any]
1268
+ :type GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None
1411
1269
  :param GREASE_PENCIL_OT_stroke_smooth: Smooth Stroke, Smooth selected strokes
1412
- :type GREASE_PENCIL_OT_stroke_smooth: typing.Optional[typing.Any]
1270
+ :type GREASE_PENCIL_OT_stroke_smooth: typing.Any | None
1413
1271
  """
1414
1272
 
1415
1273
  ...
1416
1274
 
1417
1275
  def stroke_switch_direction(
1418
- override_context: typing.Optional[
1419
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1420
- ] = None,
1421
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1422
- undo: typing.Optional[bool] = None,
1276
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1277
+ execution_context: str | int | None = None,
1278
+ undo: bool | None = None,
1423
1279
  ):
1424
1280
  """Change direction of the points of the selected strokes
1425
1281
 
1426
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1427
- :type execution_context: typing.Optional[typing.Union[str, int]]
1428
- :type undo: typing.Optional[bool]
1282
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1283
+ :type execution_context: str | int | None
1284
+ :type undo: bool | None
1429
1285
  """
1430
1286
 
1431
1287
  ...
1432
1288
 
1433
1289
  def weight_brush_stroke(
1434
- override_context: typing.Optional[
1435
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1436
- ] = None,
1437
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1438
- undo: typing.Optional[bool] = None,
1439
- stroke: typing.Optional[
1440
- bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1441
- ] = None,
1442
- mode: typing.Optional[typing.Any] = "NORMAL",
1290
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1291
+ execution_context: str | int | None = None,
1292
+ undo: bool | None = None,
1293
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1294
+ | None = None,
1295
+ mode: typing.Any | None = "NORMAL",
1443
1296
  ):
1444
1297
  """Draw weight on stroke points in the active Grease Pencil object
1445
1298
 
1446
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1447
- :type execution_context: typing.Optional[typing.Union[str, int]]
1448
- :type undo: typing.Optional[bool]
1299
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1300
+ :type execution_context: str | int | None
1301
+ :type undo: bool | None
1449
1302
  :param stroke: Stroke
1450
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
1303
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
1451
1304
  :param mode: Stroke Mode, Action taken when a paint stroke is made
1452
1305
 
1453
1306
  NORMAL
@@ -1458,39 +1311,35 @@ def weight_brush_stroke(
1458
1311
 
1459
1312
  SMOOTH
1460
1313
  Smooth -- Switch brush to smooth mode for duration of stroke.
1461
- :type mode: typing.Optional[typing.Any]
1314
+ :type mode: typing.Any | None
1462
1315
  """
1463
1316
 
1464
1317
  ...
1465
1318
 
1466
1319
  def weight_sample(
1467
- override_context: typing.Optional[
1468
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1469
- ] = None,
1470
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1471
- undo: typing.Optional[bool] = None,
1320
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1321
+ execution_context: str | int | None = None,
1322
+ undo: bool | None = None,
1472
1323
  ):
1473
1324
  """Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
1474
1325
 
1475
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1476
- :type execution_context: typing.Optional[typing.Union[str, int]]
1477
- :type undo: typing.Optional[bool]
1326
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1327
+ :type execution_context: str | int | None
1328
+ :type undo: bool | None
1478
1329
  """
1479
1330
 
1480
1331
  ...
1481
1332
 
1482
1333
  def weight_toggle_direction(
1483
- override_context: typing.Optional[
1484
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1485
- ] = None,
1486
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1487
- undo: typing.Optional[bool] = None,
1334
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1335
+ execution_context: str | int | None = None,
1336
+ undo: bool | None = None,
1488
1337
  ):
1489
1338
  """Toggle Add/Subtract for the weight paint draw tool
1490
1339
 
1491
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1492
- :type execution_context: typing.Optional[typing.Union[str, int]]
1493
- :type undo: typing.Optional[bool]
1340
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1341
+ :type execution_context: str | int | None
1342
+ :type undo: bool | None
1494
1343
  """
1495
1344
 
1496
1345
  ...