fake-bpy-module 20240516__py3-none-any.whl → 20240517__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 (533) hide show
  1. _bpy_internal/freedesktop/__init__.pyi +2 -2
  2. addon_utils/__init__.pyi +43 -12
  3. animsys_refactor/__init__.pyi +4 -4
  4. aud/__init__.pyi +7 -7
  5. bgl/__init__.pyi +121 -183
  6. bl_app_override/__init__.pyi +5 -5
  7. bl_app_override/helpers/__init__.pyi +3 -1
  8. bl_app_template_utils/__init__.pyi +5 -5
  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 +5 -5
  14. bl_i18n_utils/settings/__init__.pyi +4 -2
  15. bl_i18n_utils/utils/__init__.pyi +86 -58
  16. bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
  17. bl_keymap_utils/io/__init__.pyi +4 -4
  18. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
  19. bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
  20. bl_operators/add_mesh_torus/__init__.pyi +126 -41
  21. bl_operators/anim/__init__.pyi +1001 -328
  22. bl_operators/assets/__init__.pyi +376 -123
  23. bl_operators/bmesh/find_adjacent/__init__.pyi +3 -3
  24. bl_operators/clip/__init__.pyi +1250 -409
  25. bl_operators/console/__init__.pyi +626 -205
  26. bl_operators/constraint/__init__.pyi +502 -165
  27. bl_operators/file/__init__.pyi +376 -123
  28. bl_operators/freestyle/__init__.pyi +501 -164
  29. bl_operators/geometry_nodes/__init__.pyi +501 -164
  30. bl_operators/image/__init__.pyi +621 -200
  31. bl_operators/mesh/__init__.pyi +376 -123
  32. bl_operators/node/__init__.pyi +1243 -402
  33. bl_operators/object/__init__.pyi +1876 -615
  34. bl_operators/object_align/__init__.pyi +126 -41
  35. bl_operators/object_quick_effects/__init__.pyi +502 -165
  36. bl_operators/object_randomize_transform/__init__.pyi +126 -41
  37. bl_operators/presets/__init__.pyi +3069 -1027
  38. bl_operators/rigidbody/__init__.pyi +376 -123
  39. bl_operators/screen_play_rendered_anim/__init__.pyi +126 -41
  40. bl_operators/sequencer/__init__.pyi +1009 -331
  41. bl_operators/spreadsheet/__init__.pyi +126 -41
  42. bl_operators/userpref/__init__.pyi +3263 -1078
  43. bl_operators/uvcalc_follow_active/__init__.pyi +126 -41
  44. bl_operators/uvcalc_lightmap/__init__.pyi +137 -47
  45. bl_operators/uvcalc_transform/__init__.pyi +289 -90
  46. bl_operators/vertexpaint_dirt/__init__.pyi +126 -41
  47. bl_operators/view3d/__init__.pyi +868 -279
  48. bl_operators/wm/__init__.pyi +5777 -1934
  49. bl_operators/world/__init__.pyi +126 -41
  50. bl_previews_utils/bl_previews_render/__init__.pyi +1 -1
  51. bl_rna_utils/data_path/__init__.pyi +8 -3
  52. bl_ui/__init__.pyi +338 -131
  53. bl_ui/anim/__init__.pyi +164 -64
  54. bl_ui/asset_shelf/__init__.pyi +129 -42
  55. bl_ui/generic_ui_list/__init__.pyi +412 -135
  56. bl_ui/node_add_menu/__init__.pyi +168 -68
  57. bl_ui/node_add_menu_compositor/__init__.pyi +2921 -1138
  58. bl_ui/node_add_menu_geometry/__init__.pyi +7785 -3032
  59. bl_ui/node_add_menu_shader/__init__.pyi +1621 -630
  60. bl_ui/node_add_menu_texture/__init__.pyi +1459 -567
  61. bl_ui/properties_animviz/__init__.pyi +2 -2
  62. bl_ui/properties_collection/__init__.pyi +806 -274
  63. bl_ui/properties_constraint/__init__.pyi +10253 -3458
  64. bl_ui/properties_data_armature/__init__.pyi +1615 -552
  65. bl_ui/properties_data_bone/__init__.pyi +1288 -425
  66. bl_ui/properties_data_camera/__init__.pyi +1854 -631
  67. bl_ui/properties_data_curve/__init__.pyi +1929 -636
  68. bl_ui/properties_data_curves/__init__.pyi +806 -274
  69. bl_ui/properties_data_empty/__init__.pyi +257 -84
  70. bl_ui/properties_data_gpencil/__init__.pyi +2380 -803
  71. bl_ui/properties_data_grease_pencil/__init__.pyi +1902 -656
  72. bl_ui/properties_data_lattice/__init__.pyi +388 -127
  73. bl_ui/properties_data_light/__init__.pyi +1541 -506
  74. bl_ui/properties_data_lightprobe/__init__.pyi +1667 -548
  75. bl_ui/properties_data_mesh/__init__.pyi +2704 -929
  76. bl_ui/properties_data_metaball/__init__.pyi +644 -211
  77. bl_ui/properties_data_modifier/__init__.pyi +1353 -502
  78. bl_ui/properties_data_pointcloud/__init__.pyi +679 -233
  79. bl_ui/properties_data_shaderfx/__init__.pyi +129 -42
  80. bl_ui/properties_data_speaker/__init__.pyi +644 -211
  81. bl_ui/properties_data_volume/__init__.pyi +1030 -339
  82. bl_ui/properties_freestyle/__init__.pyi +3113 -1035
  83. bl_ui/properties_grease_pencil_common/__init__.pyi +2464 -933
  84. bl_ui/properties_mask_common/__init__.pyi +1101 -420
  85. bl_ui/properties_material/__init__.pyi +2091 -699
  86. bl_ui/properties_material_gpencil/__init__.pyi +1350 -466
  87. bl_ui/properties_object/__init__.pyi +1838 -618
  88. bl_ui/properties_output/__init__.pyi +2414 -831
  89. bl_ui/properties_paint_common/__init__.pyi +412 -289
  90. bl_ui/properties_particle/__init__.pyi +6737 -2241
  91. bl_ui/properties_physics_cloth/__init__.pyi +1825 -612
  92. bl_ui/properties_physics_common/__init__.pyi +129 -42
  93. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2821 -928
  94. bl_ui/properties_physics_field/__init__.pyi +1283 -422
  95. bl_ui/properties_physics_fluid/__init__.pyi +3620 -1203
  96. bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -42
  97. bl_ui/properties_physics_rigidbody/__init__.pyi +1027 -338
  98. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1667 -548
  99. bl_ui/properties_physics_softbody/__init__.pyi +1924 -633
  100. bl_ui/properties_render/__init__.pyi +6830 -2263
  101. bl_ui/properties_scene/__init__.pyi +1929 -636
  102. bl_ui/properties_texture/__init__.pyi +3370 -1118
  103. bl_ui/properties_view_layer/__init__.pyi +2346 -782
  104. bl_ui/properties_workspace/__init__.pyi +516 -169
  105. bl_ui/properties_world/__init__.pyi +1284 -421
  106. bl_ui/space_clip/__init__.pyi +10134 -3639
  107. bl_ui/space_console/__init__.pyi +939 -357
  108. bl_ui/space_dopesheet/__init__.pyi +4327 -1562
  109. bl_ui/space_filebrowser/__init__.pyi +4164 -1499
  110. bl_ui/space_graph/__init__.pyi +3108 -1179
  111. bl_ui/space_image/__init__.pyi +9766 -3596
  112. bl_ui/space_info/__init__.pyi +939 -357
  113. bl_ui/space_nla/__init__.pyi +2620 -988
  114. bl_ui/space_node/__init__.pyi +3994 -1434
  115. bl_ui/space_outliner/__init__.pyi +2203 -842
  116. bl_ui/space_properties/__init__.pyi +386 -127
  117. bl_ui/space_sequencer/__init__.pyi +10773 -3878
  118. bl_ui/space_spreadsheet/__init__.pyi +130 -43
  119. bl_ui/space_statusbar/__init__.pyi +129 -42
  120. bl_ui/space_text/__init__.pyi +2458 -925
  121. bl_ui/space_time/__init__.pyi +1033 -378
  122. bl_ui/space_toolsystem_common/__init__.pyi +20 -16
  123. bl_ui/space_toolsystem_toolbar/__init__.pyi +37 -21
  124. bl_ui/space_topbar/__init__.pyi +3980 -1496
  125. bl_ui/space_userpref/__init__.pyi +11373 -3797
  126. bl_ui/space_view3d/__init__.pyi +40865 -15356
  127. bl_ui/space_view3d_toolbar/__init__.pyi +12520 -4647
  128. bl_ui/temp_anim_layers/__init__.pyi +129 -42
  129. bl_ui/utils/__init__.pyi +28 -20
  130. bl_ui_utils/bug_report_url/__init__.pyi +1 -1
  131. bl_ui_utils/layout/__init__.pyi +1 -1
  132. blend_render_info/__init__.pyi +1 -1
  133. blf/__init__.pyi +4 -4
  134. bmesh/geometry/__init__.pyi +2 -3
  135. bmesh/ops/__init__.pyi +372 -419
  136. bmesh/types/__init__.pyi +38 -38
  137. bmesh/utils/__init__.pyi +10 -13
  138. bpy/app/__init__.pyi +4 -4
  139. bpy/app/handlers/__init__.pyi +36 -36
  140. bpy/app/icons/__init__.pyi +8 -8
  141. bpy/app/timers/__init__.pyi +10 -10
  142. bpy/app/translations/__init__.pyi +20 -22
  143. bpy/msgbus/__init__.pyi +2 -4
  144. bpy/ops/action/__init__.pyi +316 -394
  145. bpy/ops/anim/__init__.pyi +442 -548
  146. bpy/ops/armature/__init__.pyi +374 -470
  147. bpy/ops/asset/__init__.pyi +152 -184
  148. bpy/ops/bl_pkg/__init__.pyi +221 -272
  149. bpy/ops/boid/__init__.pyi +50 -66
  150. bpy/ops/brush/__init__.pyi +72 -90
  151. bpy/ops/buttons/__init__.pyi +132 -144
  152. bpy/ops/cachefile/__init__.pyi +128 -138
  153. bpy/ops/camera/__init__.pyi +26 -30
  154. bpy/ops/clip/__init__.pyi +777 -964
  155. bpy/ops/cloth/__init__.pyi +12 -14
  156. bpy/ops/collection/__init__.pyi +68 -86
  157. bpy/ops/console/__init__.pyi +158 -200
  158. bpy/ops/constraint/__init__.pyi +178 -214
  159. bpy/ops/curve/__init__.pyi +473 -576
  160. bpy/ops/curves/__init__.pyi +247 -302
  161. bpy/ops/cycles/__init__.pyi +28 -34
  162. bpy/ops/dpaint/__init__.pyi +34 -44
  163. bpy/ops/ed/__init__.pyi +126 -150
  164. bpy/ops/export_anim/__init__.pyi +22 -24
  165. bpy/ops/export_scene/__init__.pyi +302 -336
  166. bpy/ops/file/__init__.pyi +352 -432
  167. bpy/ops/fluid/__init__.pyi +90 -118
  168. bpy/ops/font/__init__.pyi +258 -304
  169. bpy/ops/geometry/__init__.pyi +100 -120
  170. bpy/ops/gizmogroup/__init__.pyi +22 -26
  171. bpy/ops/gpencil/__init__.pyi +1469 -1778
  172. bpy/ops/graph/__init__.pyi +644 -776
  173. bpy/ops/grease_pencil/__init__.pyi +597 -748
  174. bpy/ops/image/__init__.pyi +648 -744
  175. bpy/ops/import_anim/__init__.pyi +30 -32
  176. bpy/ops/import_curve/__init__.pyi +10 -12
  177. bpy/ops/import_scene/__init__.pyi +88 -96
  178. bpy/ops/info/__init__.pyi +60 -74
  179. bpy/ops/lattice/__init__.pyi +64 -80
  180. bpy/ops/marker/__init__.pyi +108 -130
  181. bpy/ops/mask/__init__.pyi +322 -402
  182. bpy/ops/material/__init__.pyi +18 -24
  183. bpy/ops/mball/__init__.pyi +70 -86
  184. bpy/ops/mesh/__init__.pyi +1986 -2322
  185. bpy/ops/nla/__init__.pyi +333 -411
  186. bpy/ops/node/__init__.pyi +886 -1100
  187. bpy/ops/object/__init__.pyi +2585 -3078
  188. bpy/ops/outliner/__init__.pyi +498 -636
  189. bpy/ops/paint/__init__.pyi +565 -680
  190. bpy/ops/paintcurve/__init__.pyi +64 -80
  191. bpy/ops/palette/__init__.pyi +50 -64
  192. bpy/ops/particle/__init__.pyi +267 -340
  193. bpy/ops/pose/__init__.pyi +336 -414
  194. bpy/ops/poselib/__init__.pyi +72 -90
  195. bpy/ops/preferences/__init__.pyi +386 -463
  196. bpy/ops/ptcache/__init__.pyi +46 -60
  197. bpy/ops/render/__init__.pyi +130 -154
  198. bpy/ops/rigidbody/__init__.pyi +102 -128
  199. bpy/ops/scene/__init__.pyi +280 -358
  200. bpy/ops/screen/__init__.pyi +382 -460
  201. bpy/ops/script/__init__.pyi +24 -30
  202. bpy/ops/sculpt/__init__.pyi +458 -532
  203. bpy/ops/sculpt_curves/__init__.pyi +41 -50
  204. bpy/ops/sequencer/__init__.pyi +1066 -1244
  205. bpy/ops/sound/__init__.pyi +216 -230
  206. bpy/ops/spreadsheet/__init__.pyi +30 -38
  207. bpy/ops/surface/__init__.pyi +108 -120
  208. bpy/ops/text/__init__.pyi +390 -476
  209. bpy/ops/text_editor/__init__.pyi +12 -14
  210. bpy/ops/texture/__init__.pyi +26 -34
  211. bpy/ops/transform/__init__.pyi +792 -878
  212. bpy/ops/ui/__init__.pyi +228 -294
  213. bpy/ops/uilist/__init__.pyi +32 -38
  214. bpy/ops/uv/__init__.pyi +602 -704
  215. bpy/ops/view2d/__init__.pyi +156 -184
  216. bpy/ops/view3d/__init__.pyi +582 -718
  217. bpy/ops/wm/__init__.pyi +2680 -2928
  218. bpy/ops/workspace/__init__.pyi +46 -60
  219. bpy/ops/world/__init__.pyi +12 -16
  220. bpy/path/__init__.pyi +179 -75
  221. bpy/props/__init__.pyi +261 -263
  222. bpy/types/__init__.pyi +17056 -21951
  223. bpy/utils/__init__.pyi +242 -118
  224. bpy/utils/previews/__init__.pyi +58 -28
  225. bpy/utils/units/__init__.pyi +20 -20
  226. bpy_extras/anim_utils/__init__.pyi +68 -28
  227. bpy_extras/bmesh_utils/__init__.pyi +8 -2
  228. bpy_extras/extensions/junction_module/__init__.pyi +5 -2
  229. bpy_extras/id_map_utils/__init__.pyi +3 -3
  230. bpy_extras/image_utils/__init__.pyi +44 -11
  231. bpy_extras/io_utils/__init__.pyi +113 -18
  232. bpy_extras/keyconfig_utils/__init__.pyi +2 -2
  233. bpy_extras/mesh_utils/__init__.pyi +71 -19
  234. bpy_extras/node_shader_utils/__init__.pyi +9 -4
  235. bpy_extras/node_utils/__init__.pyi +9 -2
  236. bpy_extras/object_utils/__init__.pyi +71 -12
  237. bpy_extras/view3d_utils/__init__.pyi +80 -10
  238. bpy_extras/wm_utils/progress_report/__init__.pyi +13 -10
  239. bpy_types/__init__.pyi +4197 -1333
  240. console_python/__init__.pyi +6 -1
  241. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/METADATA +1 -1
  242. fake_bpy_module-20240517.dist-info/RECORD +353 -0
  243. freestyle/chainingiterators/__init__.pyi +4 -4
  244. freestyle/shaders/__init__.pyi +2 -2
  245. freestyle/types/__init__.pyi +84 -96
  246. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  247. freestyle/utils/__init__.pyi +3 -3
  248. gpu/matrix/__init__.pyi +6 -8
  249. gpu/state/__init__.pyi +2 -2
  250. gpu/types/__init__.pyi +12 -12
  251. gpu_extras/presets/__init__.pyi +2 -5
  252. graphviz_export/__init__.pyi +4 -2
  253. idprop/types/__init__.pyi +2 -2
  254. imbuf/__init__.pyi +4 -4
  255. keyingsets_builtins/__init__.pyi +2688 -839
  256. mathutils/__init__.pyi +194 -238
  257. mathutils/bvhtree/__init__.pyi +4 -4
  258. mathutils/geometry/__init__.pyi +153 -155
  259. mathutils/kdtree/__init__.pyi +8 -12
  260. mathutils/noise/__init__.pyi +26 -26
  261. nodeitems_utils/__init__.pyi +1 -1
  262. rna_info/__init__.pyi +17 -15
  263. rna_keymap_ui/__init__.pyi +1 -1
  264. rna_prop_ui/__init__.pyi +16 -14
  265. rna_xml/__init__.pyi +12 -12
  266. _bpy_internal/freedesktop/py.typed +0 -0
  267. bl_app_override/helpers/py.typed +0 -0
  268. bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
  269. bl_console_utils/autocomplete/complete_import/py.typed +0 -0
  270. bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
  271. bl_console_utils/autocomplete/intellisense/py.typed +0 -0
  272. bl_console_utils/autocomplete/py.typed +0 -0
  273. bl_i18n_utils/bl_extract_messages/py.typed +0 -0
  274. bl_i18n_utils/merge_po/py.typed +0 -0
  275. bl_i18n_utils/settings/py.typed +0 -0
  276. bl_i18n_utils/utils/py.typed +0 -0
  277. bl_i18n_utils/utils_cli/py.typed +0 -0
  278. bl_i18n_utils/utils_languages_menu/py.typed +0 -0
  279. bl_i18n_utils/utils_rtl/py.typed +0 -0
  280. bl_keymap_utils/io/py.typed +0 -0
  281. bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
  282. bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
  283. bl_keymap_utils/platform_helpers/py.typed +0 -0
  284. bl_keymap_utils/versioning/py.typed +0 -0
  285. bl_operators/add_mesh_torus/py.typed +0 -0
  286. bl_operators/anim/py.typed +0 -0
  287. bl_operators/assets/py.typed +0 -0
  288. bl_operators/bmesh/find_adjacent/py.typed +0 -0
  289. bl_operators/bmesh/py.typed +0 -0
  290. bl_operators/clip/py.typed +0 -0
  291. bl_operators/console/py.typed +0 -0
  292. bl_operators/constraint/py.typed +0 -0
  293. bl_operators/file/py.typed +0 -0
  294. bl_operators/freestyle/py.typed +0 -0
  295. bl_operators/geometry_nodes/py.typed +0 -0
  296. bl_operators/image/py.typed +0 -0
  297. bl_operators/mesh/py.typed +0 -0
  298. bl_operators/node/py.typed +0 -0
  299. bl_operators/object/py.typed +0 -0
  300. bl_operators/object_align/py.typed +0 -0
  301. bl_operators/object_quick_effects/py.typed +0 -0
  302. bl_operators/object_randomize_transform/py.typed +0 -0
  303. bl_operators/presets/py.typed +0 -0
  304. bl_operators/rigidbody/py.typed +0 -0
  305. bl_operators/screen_play_rendered_anim/py.typed +0 -0
  306. bl_operators/sequencer/py.typed +0 -0
  307. bl_operators/spreadsheet/py.typed +0 -0
  308. bl_operators/userpref/py.typed +0 -0
  309. bl_operators/uvcalc_follow_active/py.typed +0 -0
  310. bl_operators/uvcalc_lightmap/py.typed +0 -0
  311. bl_operators/uvcalc_transform/py.typed +0 -0
  312. bl_operators/vertexpaint_dirt/py.typed +0 -0
  313. bl_operators/view3d/py.typed +0 -0
  314. bl_operators/wm/py.typed +0 -0
  315. bl_operators/world/py.typed +0 -0
  316. bl_previews_utils/bl_previews_render/py.typed +0 -0
  317. bl_rna_utils/data_path/py.typed +0 -0
  318. bl_text_utils/external_editor/py.typed +0 -0
  319. bl_ui/anim/py.typed +0 -0
  320. bl_ui/asset_shelf/py.typed +0 -0
  321. bl_ui/generic_ui_list/py.typed +0 -0
  322. bl_ui/node_add_menu/py.typed +0 -0
  323. bl_ui/node_add_menu_compositor/py.typed +0 -0
  324. bl_ui/node_add_menu_geometry/py.typed +0 -0
  325. bl_ui/node_add_menu_shader/py.typed +0 -0
  326. bl_ui/node_add_menu_texture/py.typed +0 -0
  327. bl_ui/properties_animviz/py.typed +0 -0
  328. bl_ui/properties_collection/py.typed +0 -0
  329. bl_ui/properties_constraint/py.typed +0 -0
  330. bl_ui/properties_data_armature/py.typed +0 -0
  331. bl_ui/properties_data_bone/py.typed +0 -0
  332. bl_ui/properties_data_camera/py.typed +0 -0
  333. bl_ui/properties_data_curve/py.typed +0 -0
  334. bl_ui/properties_data_curves/py.typed +0 -0
  335. bl_ui/properties_data_empty/py.typed +0 -0
  336. bl_ui/properties_data_gpencil/py.typed +0 -0
  337. bl_ui/properties_data_grease_pencil/py.typed +0 -0
  338. bl_ui/properties_data_lattice/py.typed +0 -0
  339. bl_ui/properties_data_light/py.typed +0 -0
  340. bl_ui/properties_data_lightprobe/py.typed +0 -0
  341. bl_ui/properties_data_mesh/py.typed +0 -0
  342. bl_ui/properties_data_metaball/py.typed +0 -0
  343. bl_ui/properties_data_modifier/py.typed +0 -0
  344. bl_ui/properties_data_pointcloud/py.typed +0 -0
  345. bl_ui/properties_data_shaderfx/py.typed +0 -0
  346. bl_ui/properties_data_speaker/py.typed +0 -0
  347. bl_ui/properties_data_volume/py.typed +0 -0
  348. bl_ui/properties_freestyle/py.typed +0 -0
  349. bl_ui/properties_grease_pencil_common/py.typed +0 -0
  350. bl_ui/properties_mask_common/py.typed +0 -0
  351. bl_ui/properties_material/py.typed +0 -0
  352. bl_ui/properties_material_gpencil/py.typed +0 -0
  353. bl_ui/properties_object/py.typed +0 -0
  354. bl_ui/properties_output/py.typed +0 -0
  355. bl_ui/properties_paint_common/py.typed +0 -0
  356. bl_ui/properties_particle/py.typed +0 -0
  357. bl_ui/properties_physics_cloth/py.typed +0 -0
  358. bl_ui/properties_physics_common/py.typed +0 -0
  359. bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
  360. bl_ui/properties_physics_field/py.typed +0 -0
  361. bl_ui/properties_physics_fluid/py.typed +0 -0
  362. bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
  363. bl_ui/properties_physics_rigidbody/py.typed +0 -0
  364. bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
  365. bl_ui/properties_physics_softbody/py.typed +0 -0
  366. bl_ui/properties_render/py.typed +0 -0
  367. bl_ui/properties_scene/py.typed +0 -0
  368. bl_ui/properties_texture/py.typed +0 -0
  369. bl_ui/properties_view_layer/py.typed +0 -0
  370. bl_ui/properties_workspace/py.typed +0 -0
  371. bl_ui/properties_world/py.typed +0 -0
  372. bl_ui/space_clip/py.typed +0 -0
  373. bl_ui/space_console/py.typed +0 -0
  374. bl_ui/space_dopesheet/py.typed +0 -0
  375. bl_ui/space_filebrowser/py.typed +0 -0
  376. bl_ui/space_graph/py.typed +0 -0
  377. bl_ui/space_image/py.typed +0 -0
  378. bl_ui/space_info/py.typed +0 -0
  379. bl_ui/space_nla/py.typed +0 -0
  380. bl_ui/space_node/py.typed +0 -0
  381. bl_ui/space_outliner/py.typed +0 -0
  382. bl_ui/space_properties/py.typed +0 -0
  383. bl_ui/space_sequencer/py.typed +0 -0
  384. bl_ui/space_spreadsheet/py.typed +0 -0
  385. bl_ui/space_statusbar/py.typed +0 -0
  386. bl_ui/space_text/py.typed +0 -0
  387. bl_ui/space_time/py.typed +0 -0
  388. bl_ui/space_toolsystem_common/py.typed +0 -0
  389. bl_ui/space_toolsystem_toolbar/py.typed +0 -0
  390. bl_ui/space_topbar/py.typed +0 -0
  391. bl_ui/space_userpref/py.typed +0 -0
  392. bl_ui/space_view3d/py.typed +0 -0
  393. bl_ui/space_view3d_toolbar/py.typed +0 -0
  394. bl_ui/temp_anim_layers/py.typed +0 -0
  395. bl_ui/utils/py.typed +0 -0
  396. bl_ui_utils/bug_report_url/py.typed +0 -0
  397. bl_ui_utils/layout/py.typed +0 -0
  398. bmesh/geometry/py.typed +0 -0
  399. bmesh/ops/py.typed +0 -0
  400. bmesh/types/py.typed +0 -0
  401. bmesh/utils/py.typed +0 -0
  402. bpy/app/handlers/py.typed +0 -0
  403. bpy/app/icons/py.typed +0 -0
  404. bpy/app/py.typed +0 -0
  405. bpy/app/timers/py.typed +0 -0
  406. bpy/app/translations/py.typed +0 -0
  407. bpy/msgbus/py.typed +0 -0
  408. bpy/ops/action/py.typed +0 -0
  409. bpy/ops/anim/py.typed +0 -0
  410. bpy/ops/armature/py.typed +0 -0
  411. bpy/ops/asset/py.typed +0 -0
  412. bpy/ops/bl_pkg/py.typed +0 -0
  413. bpy/ops/boid/py.typed +0 -0
  414. bpy/ops/brush/py.typed +0 -0
  415. bpy/ops/buttons/py.typed +0 -0
  416. bpy/ops/cachefile/py.typed +0 -0
  417. bpy/ops/camera/py.typed +0 -0
  418. bpy/ops/clip/py.typed +0 -0
  419. bpy/ops/cloth/py.typed +0 -0
  420. bpy/ops/collection/py.typed +0 -0
  421. bpy/ops/console/py.typed +0 -0
  422. bpy/ops/constraint/py.typed +0 -0
  423. bpy/ops/curve/py.typed +0 -0
  424. bpy/ops/curves/py.typed +0 -0
  425. bpy/ops/cycles/py.typed +0 -0
  426. bpy/ops/dpaint/py.typed +0 -0
  427. bpy/ops/ed/py.typed +0 -0
  428. bpy/ops/export_anim/py.typed +0 -0
  429. bpy/ops/export_scene/py.typed +0 -0
  430. bpy/ops/file/py.typed +0 -0
  431. bpy/ops/fluid/py.typed +0 -0
  432. bpy/ops/font/py.typed +0 -0
  433. bpy/ops/geometry/py.typed +0 -0
  434. bpy/ops/gizmogroup/py.typed +0 -0
  435. bpy/ops/gpencil/py.typed +0 -0
  436. bpy/ops/graph/py.typed +0 -0
  437. bpy/ops/grease_pencil/py.typed +0 -0
  438. bpy/ops/image/py.typed +0 -0
  439. bpy/ops/import_anim/py.typed +0 -0
  440. bpy/ops/import_curve/py.typed +0 -0
  441. bpy/ops/import_scene/py.typed +0 -0
  442. bpy/ops/info/py.typed +0 -0
  443. bpy/ops/lattice/py.typed +0 -0
  444. bpy/ops/marker/py.typed +0 -0
  445. bpy/ops/mask/py.typed +0 -0
  446. bpy/ops/material/py.typed +0 -0
  447. bpy/ops/mball/py.typed +0 -0
  448. bpy/ops/mesh/py.typed +0 -0
  449. bpy/ops/nla/py.typed +0 -0
  450. bpy/ops/node/py.typed +0 -0
  451. bpy/ops/object/py.typed +0 -0
  452. bpy/ops/outliner/py.typed +0 -0
  453. bpy/ops/paint/py.typed +0 -0
  454. bpy/ops/paintcurve/py.typed +0 -0
  455. bpy/ops/palette/py.typed +0 -0
  456. bpy/ops/particle/py.typed +0 -0
  457. bpy/ops/pose/py.typed +0 -0
  458. bpy/ops/poselib/py.typed +0 -0
  459. bpy/ops/preferences/py.typed +0 -0
  460. bpy/ops/ptcache/py.typed +0 -0
  461. bpy/ops/py.typed +0 -0
  462. bpy/ops/render/py.typed +0 -0
  463. bpy/ops/rigidbody/py.typed +0 -0
  464. bpy/ops/scene/py.typed +0 -0
  465. bpy/ops/screen/py.typed +0 -0
  466. bpy/ops/script/py.typed +0 -0
  467. bpy/ops/sculpt/py.typed +0 -0
  468. bpy/ops/sculpt_curves/py.typed +0 -0
  469. bpy/ops/sequencer/py.typed +0 -0
  470. bpy/ops/sound/py.typed +0 -0
  471. bpy/ops/spreadsheet/py.typed +0 -0
  472. bpy/ops/surface/py.typed +0 -0
  473. bpy/ops/text/py.typed +0 -0
  474. bpy/ops/text_editor/py.typed +0 -0
  475. bpy/ops/texture/py.typed +0 -0
  476. bpy/ops/transform/py.typed +0 -0
  477. bpy/ops/ui/py.typed +0 -0
  478. bpy/ops/uilist/py.typed +0 -0
  479. bpy/ops/uv/py.typed +0 -0
  480. bpy/ops/view2d/py.typed +0 -0
  481. bpy/ops/view3d/py.typed +0 -0
  482. bpy/ops/wm/py.typed +0 -0
  483. bpy/ops/workspace/py.typed +0 -0
  484. bpy/ops/world/py.typed +0 -0
  485. bpy/path/py.typed +0 -0
  486. bpy/props/py.typed +0 -0
  487. bpy/types/py.typed +0 -0
  488. bpy/utils/previews/py.typed +0 -0
  489. bpy/utils/py.typed +0 -0
  490. bpy/utils/units/py.typed +0 -0
  491. bpy_extras/anim_utils/py.typed +0 -0
  492. bpy_extras/asset_utils/py.typed +0 -0
  493. bpy_extras/bmesh_utils/py.typed +0 -0
  494. bpy_extras/extensions/junction_module/py.typed +0 -0
  495. bpy_extras/extensions/py.typed +0 -0
  496. bpy_extras/id_map_utils/py.typed +0 -0
  497. bpy_extras/image_utils/py.typed +0 -0
  498. bpy_extras/io_utils/py.typed +0 -0
  499. bpy_extras/keyconfig_utils/py.typed +0 -0
  500. bpy_extras/mesh_utils/py.typed +0 -0
  501. bpy_extras/node_shader_utils/py.typed +0 -0
  502. bpy_extras/node_utils/py.typed +0 -0
  503. bpy_extras/object_utils/py.typed +0 -0
  504. bpy_extras/view3d_utils/py.typed +0 -0
  505. bpy_extras/wm_utils/progress_report/py.typed +0 -0
  506. bpy_extras/wm_utils/py.typed +0 -0
  507. fake_bpy_module-20240516.dist-info/RECORD +0 -618
  508. freestyle/chainingiterators/py.typed +0 -0
  509. freestyle/functions/py.typed +0 -0
  510. freestyle/predicates/py.typed +0 -0
  511. freestyle/shaders/py.typed +0 -0
  512. freestyle/types/py.typed +0 -0
  513. freestyle/utils/ContextFunctions/py.typed +0 -0
  514. freestyle/utils/py.typed +0 -0
  515. gpu/capabilities/py.typed +0 -0
  516. gpu/matrix/py.typed +0 -0
  517. gpu/platform/py.typed +0 -0
  518. gpu/select/py.typed +0 -0
  519. gpu/shader/py.typed +0 -0
  520. gpu/state/py.typed +0 -0
  521. gpu/texture/py.typed +0 -0
  522. gpu/types/py.typed +0 -0
  523. gpu_extras/batch/py.typed +0 -0
  524. gpu_extras/presets/py.typed +0 -0
  525. idprop/types/py.typed +0 -0
  526. imbuf/types/py.typed +0 -0
  527. mathutils/bvhtree/py.typed +0 -0
  528. mathutils/geometry/py.typed +0 -0
  529. mathutils/interpolate/py.typed +0 -0
  530. mathutils/kdtree/py.typed +0 -0
  531. mathutils/noise/py.typed +0 -0
  532. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/WHEEL +0 -0
  533. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/top_level.txt +0 -0
@@ -5,59 +5,52 @@ import bpy.types
5
5
  GenericType = typing.TypeVar("GenericType")
6
6
 
7
7
  def active_frame_delete(
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,
8
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
9
+ execution_context: str | int | None = None,
10
+ undo: bool | None = None,
13
11
  ):
14
12
  """Delete the active frame for the active Grease Pencil Layer
15
13
 
16
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
17
- :type execution_context: typing.Optional[typing.Union[str, int]]
18
- :type undo: typing.Optional[bool]
14
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
15
+ :type execution_context: str | int | None
16
+ :type undo: bool | None
19
17
  """
20
18
 
21
19
  ...
22
20
 
23
21
  def active_frames_delete_all(
24
- override_context: typing.Optional[
25
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
26
- ] = None,
27
- execution_context: typing.Optional[typing.Union[str, int]] = None,
28
- undo: typing.Optional[bool] = None,
22
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
23
+ execution_context: str | int | None = None,
24
+ undo: bool | None = None,
29
25
  ):
30
26
  """Delete the active frame(s) of all editable Grease Pencil layers
31
27
 
32
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
33
- :type execution_context: typing.Optional[typing.Union[str, int]]
34
- :type undo: typing.Optional[bool]
28
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
29
+ :type execution_context: str | int | None
30
+ :type undo: bool | None
35
31
  """
36
32
 
37
33
  ...
38
34
 
39
35
  def annotate(
40
- override_context: typing.Optional[
41
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
42
- ] = None,
43
- execution_context: typing.Optional[typing.Union[str, int]] = None,
44
- undo: typing.Optional[bool] = None,
45
- mode: typing.Optional[typing.Any] = "DRAW",
46
- arrowstyle_start: typing.Optional[typing.Any] = "NONE",
47
- arrowstyle_end: typing.Optional[typing.Any] = "NONE",
48
- use_stabilizer: typing.Optional[typing.Union[bool, typing.Any]] = False,
49
- stabilizer_factor: typing.Optional[typing.Any] = 0.75,
50
- stabilizer_radius: typing.Optional[typing.Any] = 35,
51
- stroke: typing.Optional[
52
- bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
53
- ] = None,
54
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
36
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
37
+ execution_context: str | int | None = None,
38
+ undo: bool | None = None,
39
+ mode: typing.Any | None = "DRAW",
40
+ arrowstyle_start: typing.Any | None = "NONE",
41
+ arrowstyle_end: typing.Any | None = "NONE",
42
+ use_stabilizer: bool | typing.Any | None = False,
43
+ stabilizer_factor: typing.Any | None = 0.75,
44
+ stabilizer_radius: typing.Any | None = 35,
45
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
46
+ | None = None,
47
+ wait_for_input: bool | typing.Any | None = True,
55
48
  ):
56
49
  """Make annotations on the active data
57
50
 
58
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
59
- :type execution_context: typing.Optional[typing.Union[str, int]]
60
- :type undo: typing.Optional[bool]
51
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
52
+ :type execution_context: str | int | None
53
+ :type undo: bool | None
61
54
  :param mode: Mode, Way to interpret mouse movements
62
55
 
63
56
  DRAW
@@ -71,7 +64,7 @@ def annotate(
71
64
 
72
65
  ERASER
73
66
  Eraser -- Erase Annotation strokes.
74
- :type mode: typing.Optional[typing.Any]
67
+ :type mode: typing.Any | None
75
68
  :param arrowstyle_start: Start Arrow Style, Stroke start style
76
69
 
77
70
  NONE
@@ -88,7 +81,7 @@ def annotate(
88
81
 
89
82
  DIAMOND
90
83
  Square -- Use square style.
91
- :type arrowstyle_start: typing.Optional[typing.Any]
84
+ :type arrowstyle_start: typing.Any | None
92
85
  :param arrowstyle_end: End Arrow Style, Stroke end style
93
86
 
94
87
  NONE
@@ -105,81 +98,75 @@ def annotate(
105
98
 
106
99
  DIAMOND
107
100
  Square -- Use square style.
108
- :type arrowstyle_end: typing.Optional[typing.Any]
101
+ :type arrowstyle_end: typing.Any | None
109
102
  :param use_stabilizer: Stabilize Stroke, Helper to draw smooth and clean lines. Press Shift for an invert effect (even if this option is not active)
110
- :type use_stabilizer: typing.Optional[typing.Union[bool, typing.Any]]
103
+ :type use_stabilizer: bool | typing.Any | None
111
104
  :param stabilizer_factor: Stabilizer Stroke Factor, Higher values gives a smoother stroke
112
- :type stabilizer_factor: typing.Optional[typing.Any]
105
+ :type stabilizer_factor: typing.Any | None
113
106
  :param stabilizer_radius: Stabilizer Stroke Radius, Minimum distance from last point before stroke continues
114
- :type stabilizer_radius: typing.Optional[typing.Any]
107
+ :type stabilizer_radius: typing.Any | None
115
108
  :param stroke: Stroke
116
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
109
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
117
110
  :param wait_for_input: Wait for Input, Wait for first click instead of painting immediately
118
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
111
+ :type wait_for_input: bool | typing.Any | None
119
112
  """
120
113
 
121
114
  ...
122
115
 
123
116
  def annotation_active_frame_delete(
124
- override_context: typing.Optional[
125
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
126
- ] = None,
127
- execution_context: typing.Optional[typing.Union[str, int]] = None,
128
- undo: typing.Optional[bool] = None,
117
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
118
+ execution_context: str | int | None = None,
119
+ undo: bool | None = None,
129
120
  ):
130
121
  """Delete the active frame for the active Annotation Layer
131
122
 
132
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
133
- :type execution_context: typing.Optional[typing.Union[str, int]]
134
- :type undo: typing.Optional[bool]
123
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
124
+ :type execution_context: str | int | None
125
+ :type undo: bool | None
135
126
  """
136
127
 
137
128
  ...
138
129
 
139
130
  def annotation_add(
140
- override_context: typing.Optional[
141
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
142
- ] = None,
143
- execution_context: typing.Optional[typing.Union[str, int]] = None,
144
- undo: typing.Optional[bool] = None,
131
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
132
+ execution_context: str | int | None = None,
133
+ undo: bool | None = None,
145
134
  ):
146
135
  """Add new Annotation data-block
147
136
 
148
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
149
- :type execution_context: typing.Optional[typing.Union[str, int]]
150
- :type undo: typing.Optional[bool]
137
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
138
+ :type execution_context: str | int | None
139
+ :type undo: bool | None
151
140
  """
152
141
 
153
142
  ...
154
143
 
155
144
  def bake_grease_pencil_animation(
156
- override_context: typing.Optional[
157
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
158
- ] = None,
159
- execution_context: typing.Optional[typing.Union[str, int]] = None,
160
- undo: typing.Optional[bool] = None,
161
- frame_start: typing.Optional[typing.Any] = 1,
162
- frame_end: typing.Optional[typing.Any] = 250,
163
- step: typing.Optional[typing.Any] = 1,
164
- only_selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
165
- frame_target: typing.Optional[typing.Any] = 1,
166
- project_type: typing.Optional[typing.Any] = "KEEP",
145
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
146
+ execution_context: str | int | None = None,
147
+ undo: bool | None = None,
148
+ frame_start: typing.Any | None = 1,
149
+ frame_end: typing.Any | None = 250,
150
+ step: typing.Any | None = 1,
151
+ only_selected: bool | typing.Any | None = False,
152
+ frame_target: typing.Any | None = 1,
153
+ project_type: typing.Any | None = "KEEP",
167
154
  ):
168
155
  """Bake grease pencil object transform to grease pencil keyframes
169
156
 
170
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
171
- :type execution_context: typing.Optional[typing.Union[str, int]]
172
- :type undo: typing.Optional[bool]
157
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
158
+ :type execution_context: str | int | None
159
+ :type undo: bool | None
173
160
  :param frame_start: Start Frame, The start frame
174
- :type frame_start: typing.Optional[typing.Any]
161
+ :type frame_start: typing.Any | None
175
162
  :param frame_end: End Frame, The end frame of animation
176
- :type frame_end: typing.Optional[typing.Any]
163
+ :type frame_end: typing.Any | None
177
164
  :param step: Step, Step between generated frames
178
- :type step: typing.Optional[typing.Any]
165
+ :type step: typing.Any | None
179
166
  :param only_selected: Only Selected Keyframes, Convert only selected keyframes
180
- :type only_selected: typing.Optional[typing.Union[bool, typing.Any]]
167
+ :type only_selected: bool | typing.Any | None
181
168
  :param frame_target: Target Frame, Destination frame
182
- :type frame_target: typing.Optional[typing.Any]
169
+ :type frame_target: typing.Any | None
183
170
  :param project_type: Projection Type
184
171
 
185
172
  KEEP
@@ -199,57 +186,55 @@ def bake_grease_pencil_animation(
199
186
 
200
187
  CURSOR
201
188
  Cursor -- Reproject the strokes using the orientation of 3D cursor.
202
- :type project_type: typing.Optional[typing.Any]
189
+ :type project_type: typing.Any | None
203
190
  """
204
191
 
205
192
  ...
206
193
 
207
194
  def bake_mesh_animation(
208
- override_context: typing.Optional[
209
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
210
- ] = None,
211
- execution_context: typing.Optional[typing.Union[str, int]] = None,
212
- undo: typing.Optional[bool] = None,
213
- target: typing.Optional[typing.Any] = "NEW",
214
- frame_start: typing.Optional[typing.Any] = 1,
215
- frame_end: typing.Optional[typing.Any] = 250,
216
- step: typing.Optional[typing.Any] = 1,
217
- thickness: typing.Optional[typing.Any] = 1,
218
- angle: typing.Optional[typing.Any] = 1.22173,
219
- offset: typing.Optional[typing.Any] = 0.001,
220
- seams: typing.Optional[typing.Union[bool, typing.Any]] = False,
221
- faces: typing.Optional[typing.Union[bool, typing.Any]] = True,
222
- only_selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
223
- frame_target: typing.Optional[typing.Any] = 1,
224
- project_type: typing.Optional[typing.Any] = "VIEW",
195
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
196
+ execution_context: str | int | None = None,
197
+ undo: bool | None = None,
198
+ target: typing.Any | None = "NEW",
199
+ frame_start: typing.Any | None = 1,
200
+ frame_end: typing.Any | None = 250,
201
+ step: typing.Any | None = 1,
202
+ thickness: typing.Any | None = 1,
203
+ angle: typing.Any | None = 1.22173,
204
+ offset: typing.Any | None = 0.001,
205
+ seams: bool | typing.Any | None = False,
206
+ faces: bool | typing.Any | None = True,
207
+ only_selected: bool | typing.Any | None = False,
208
+ frame_target: typing.Any | None = 1,
209
+ project_type: typing.Any | None = "VIEW",
225
210
  ):
226
211
  """Bake mesh animation to grease pencil strokes
227
212
 
228
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
229
- :type execution_context: typing.Optional[typing.Union[str, int]]
230
- :type undo: typing.Optional[bool]
213
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
214
+ :type execution_context: str | int | None
215
+ :type undo: bool | None
231
216
  :param target: Target Object, Target grease pencil
232
- :type target: typing.Optional[typing.Any]
217
+ :type target: typing.Any | None
233
218
  :param frame_start: Start Frame, The start frame
234
- :type frame_start: typing.Optional[typing.Any]
219
+ :type frame_start: typing.Any | None
235
220
  :param frame_end: End Frame, The end frame of animation
236
- :type frame_end: typing.Optional[typing.Any]
221
+ :type frame_end: typing.Any | None
237
222
  :param step: Step, Step between generated frames
238
- :type step: typing.Optional[typing.Any]
223
+ :type step: typing.Any | None
239
224
  :param thickness: Thickness
240
- :type thickness: typing.Optional[typing.Any]
225
+ :type thickness: typing.Any | None
241
226
  :param angle: Threshold Angle, Threshold to determine ends of the strokes
242
- :type angle: typing.Optional[typing.Any]
227
+ :type angle: typing.Any | None
243
228
  :param offset: Stroke Offset, Offset strokes from fill
244
- :type offset: typing.Optional[typing.Any]
229
+ :type offset: typing.Any | None
245
230
  :param seams: Only Seam Edges, Convert only seam edges
246
- :type seams: typing.Optional[typing.Union[bool, typing.Any]]
231
+ :type seams: bool | typing.Any | None
247
232
  :param faces: Export Faces, Export faces as filled strokes
248
- :type faces: typing.Optional[typing.Union[bool, typing.Any]]
233
+ :type faces: bool | typing.Any | None
249
234
  :param only_selected: Only Selected Keyframes, Convert only selected keyframes
250
- :type only_selected: typing.Optional[typing.Union[bool, typing.Any]]
235
+ :type only_selected: bool | typing.Any | None
251
236
  :param frame_target: Target Frame, Destination frame
252
- :type frame_target: typing.Optional[typing.Any]
237
+ :type frame_target: typing.Any | None
253
238
  :param project_type: Projection Type
254
239
 
255
240
  KEEP
@@ -269,89 +254,81 @@ def bake_mesh_animation(
269
254
 
270
255
  CURSOR
271
256
  Cursor -- Reproject the strokes using the orientation of 3D cursor.
272
- :type project_type: typing.Optional[typing.Any]
257
+ :type project_type: typing.Any | None
273
258
  """
274
259
 
275
260
  ...
276
261
 
277
262
  def blank_frame_add(
278
- override_context: typing.Optional[
279
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
280
- ] = None,
281
- execution_context: typing.Optional[typing.Union[str, int]] = None,
282
- undo: typing.Optional[bool] = None,
283
- all_layers: typing.Optional[typing.Union[bool, typing.Any]] = False,
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,
284
267
  ):
285
268
  """Insert a blank frame on the current frame (all subsequently existing frames, if any, are shifted right by one frame)
286
269
 
287
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
288
- :type execution_context: typing.Optional[typing.Union[str, int]]
289
- :type undo: typing.Optional[bool]
270
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
271
+ :type execution_context: str | int | None
272
+ :type undo: bool | None
290
273
  :param all_layers: All Layers, Create blank frame in all layers, not only active
291
- :type all_layers: typing.Optional[typing.Union[bool, typing.Any]]
274
+ :type all_layers: bool | typing.Any | None
292
275
  """
293
276
 
294
277
  ...
295
278
 
296
279
  def brush_reset(
297
- override_context: typing.Optional[
298
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
299
- ] = None,
300
- execution_context: typing.Optional[typing.Union[str, int]] = None,
301
- undo: typing.Optional[bool] = None,
280
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
281
+ execution_context: str | int | None = None,
282
+ undo: bool | None = None,
302
283
  ):
303
284
  """Reset brush to default parameters
304
285
 
305
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
306
- :type execution_context: typing.Optional[typing.Union[str, int]]
307
- :type undo: typing.Optional[bool]
286
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
287
+ :type execution_context: str | int | None
288
+ :type undo: bool | None
308
289
  """
309
290
 
310
291
  ...
311
292
 
312
293
  def brush_reset_all(
313
- override_context: typing.Optional[
314
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
315
- ] = None,
316
- execution_context: typing.Optional[typing.Union[str, int]] = None,
317
- undo: typing.Optional[bool] = None,
294
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
295
+ execution_context: str | int | None = None,
296
+ undo: bool | None = None,
318
297
  ):
319
298
  """Delete all mode brushes and recreate a default set
320
299
 
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]
300
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
301
+ :type execution_context: str | int | None
302
+ :type undo: bool | None
324
303
  """
325
304
 
326
305
  ...
327
306
 
328
307
  def convert(
329
- override_context: typing.Optional[
330
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
331
- ] = None,
332
- execution_context: typing.Optional[typing.Union[str, int]] = None,
333
- undo: typing.Optional[bool] = None,
334
- type: typing.Optional[typing.Any] = "PATH",
335
- bevel_depth: typing.Optional[typing.Any] = 0.0,
336
- bevel_resolution: typing.Optional[typing.Any] = 0,
337
- use_normalize_weights: typing.Optional[typing.Union[bool, typing.Any]] = True,
338
- radius_multiplier: typing.Optional[typing.Any] = 1.0,
339
- use_link_strokes: typing.Optional[typing.Union[bool, typing.Any]] = False,
340
- timing_mode: typing.Optional[typing.Any] = "FULL",
341
- frame_range: typing.Optional[typing.Any] = 100,
342
- start_frame: typing.Optional[typing.Any] = 1,
343
- use_realtime: typing.Optional[typing.Union[bool, typing.Any]] = False,
344
- end_frame: typing.Optional[typing.Any] = 250,
345
- gap_duration: typing.Optional[typing.Any] = 0.0,
346
- gap_randomness: typing.Optional[typing.Any] = 0.0,
347
- seed: typing.Optional[typing.Any] = 0,
348
- use_timing_data: typing.Optional[typing.Union[bool, typing.Any]] = False,
308
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
309
+ execution_context: str | int | None = None,
310
+ undo: bool | None = None,
311
+ type: typing.Any | None = "PATH",
312
+ bevel_depth: typing.Any | None = 0.0,
313
+ bevel_resolution: typing.Any | None = 0,
314
+ use_normalize_weights: bool | typing.Any | None = True,
315
+ radius_multiplier: typing.Any | None = 1.0,
316
+ use_link_strokes: bool | typing.Any | None = False,
317
+ timing_mode: typing.Any | None = "FULL",
318
+ frame_range: typing.Any | None = 100,
319
+ start_frame: typing.Any | None = 1,
320
+ use_realtime: bool | typing.Any | None = False,
321
+ end_frame: typing.Any | None = 250,
322
+ gap_duration: typing.Any | None = 0.0,
323
+ gap_randomness: typing.Any | None = 0.0,
324
+ seed: typing.Any | None = 0,
325
+ use_timing_data: bool | typing.Any | None = False,
349
326
  ):
350
327
  """Convert the active Grease Pencil layer to a new Curve Object
351
328
 
352
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
353
- :type execution_context: typing.Optional[typing.Union[str, int]]
354
- :type undo: typing.Optional[bool]
329
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
330
+ :type execution_context: str | int | None
331
+ :type undo: bool | None
355
332
  :param type: Type, Which type of curve to convert to
356
333
 
357
334
  PATH
@@ -362,17 +339,17 @@ def convert(
362
339
 
363
340
  POLY
364
341
  Polygon Curve -- Bézier curve with straight-line segments (vector handles).
365
- :type type: typing.Optional[typing.Any]
342
+ :type type: typing.Any | None
366
343
  :param bevel_depth: Bevel Depth
367
- :type bevel_depth: typing.Optional[typing.Any]
344
+ :type bevel_depth: typing.Any | None
368
345
  :param bevel_resolution: Bevel Resolution, Bevel resolution when depth is non-zero
369
- :type bevel_resolution: typing.Optional[typing.Any]
346
+ :type bevel_resolution: typing.Any | None
370
347
  :param use_normalize_weights: Normalize Weight, Normalize weight (set from stroke width)
371
- :type use_normalize_weights: typing.Optional[typing.Union[bool, typing.Any]]
348
+ :type use_normalize_weights: bool | typing.Any | None
372
349
  :param radius_multiplier: Radius Factor, Multiplier for the points' radii (set from stroke width)
373
- :type radius_multiplier: typing.Optional[typing.Any]
350
+ :type radius_multiplier: typing.Any | None
374
351
  :param use_link_strokes: Link Strokes, Whether to link strokes with zero-radius sections of curves
375
- :type use_link_strokes: typing.Optional[typing.Union[bool, typing.Any]]
352
+ :type use_link_strokes: bool | typing.Any | None
376
353
  :param timing_mode: Timing Mode, How to use timing data stored in strokes
377
354
 
378
355
  NONE
@@ -386,91 +363,83 @@ def convert(
386
363
 
387
364
  CUSTOMGAP
388
365
  Custom Gaps -- Use the original timing, but with custom gap lengths (in frames).
389
- :type timing_mode: typing.Optional[typing.Any]
366
+ :type timing_mode: typing.Any | None
390
367
  :param frame_range: Frame Range, The duration of evaluation of the path control curve
391
- :type frame_range: typing.Optional[typing.Any]
368
+ :type frame_range: typing.Any | None
392
369
  :param start_frame: Start Frame, The start frame of the path control curve
393
- :type start_frame: typing.Optional[typing.Any]
370
+ :type start_frame: typing.Any | None
394
371
  :param use_realtime: Realtime, Whether the path control curve reproduces the drawing in realtime, starting from Start Frame
395
- :type use_realtime: typing.Optional[typing.Union[bool, typing.Any]]
372
+ :type use_realtime: bool | typing.Any | None
396
373
  :param end_frame: End Frame, The end frame of the path control curve (if Realtime is not set)
397
- :type end_frame: typing.Optional[typing.Any]
374
+ :type end_frame: typing.Any | None
398
375
  :param gap_duration: Gap Duration, Custom Gap mode: (Average) length of gaps, in frames (Note: Realtime value, will be scaled if Realtime is not set)
399
- :type gap_duration: typing.Optional[typing.Any]
376
+ :type gap_duration: typing.Any | None
400
377
  :param gap_randomness: Gap Randomness, Custom Gap mode: Number of frames that gap lengths can vary
401
- :type gap_randomness: typing.Optional[typing.Any]
378
+ :type gap_randomness: typing.Any | None
402
379
  :param seed: Random Seed, Custom Gap mode: Random generator seed
403
- :type seed: typing.Optional[typing.Any]
380
+ :type seed: typing.Any | None
404
381
  :param use_timing_data: Has Valid Timing, Whether the converted Grease Pencil layer has valid timing data (internal use)
405
- :type use_timing_data: typing.Optional[typing.Union[bool, typing.Any]]
382
+ :type use_timing_data: bool | typing.Any | None
406
383
  """
407
384
 
408
385
  ...
409
386
 
410
387
  def convert_old_files(
411
- override_context: typing.Optional[
412
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
413
- ] = None,
414
- execution_context: typing.Optional[typing.Union[str, int]] = None,
415
- undo: typing.Optional[bool] = None,
416
- annotation: typing.Optional[typing.Union[bool, typing.Any]] = False,
388
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
389
+ execution_context: str | int | None = None,
390
+ undo: bool | None = None,
391
+ annotation: bool | typing.Any | None = False,
417
392
  ):
418
393
  """Convert 2.7x grease pencil files to 2.80
419
394
 
420
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
421
- :type execution_context: typing.Optional[typing.Union[str, int]]
422
- :type undo: typing.Optional[bool]
395
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
396
+ :type execution_context: str | int | None
397
+ :type undo: bool | None
423
398
  :param annotation: Annotation, Convert to Annotations
424
- :type annotation: typing.Optional[typing.Union[bool, typing.Any]]
399
+ :type annotation: bool | typing.Any | None
425
400
  """
426
401
 
427
402
  ...
428
403
 
429
404
  def copy(
430
- override_context: typing.Optional[
431
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
432
- ] = None,
433
- execution_context: typing.Optional[typing.Union[str, int]] = None,
434
- undo: typing.Optional[bool] = None,
405
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
406
+ execution_context: str | int | None = None,
407
+ undo: bool | None = None,
435
408
  ):
436
409
  """Copy selected Grease Pencil points and strokes
437
410
 
438
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
439
- :type execution_context: typing.Optional[typing.Union[str, int]]
440
- :type undo: typing.Optional[bool]
411
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
412
+ :type execution_context: str | int | None
413
+ :type undo: bool | None
441
414
  """
442
415
 
443
416
  ...
444
417
 
445
418
  def data_unlink(
446
- override_context: typing.Optional[
447
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
448
- ] = None,
449
- execution_context: typing.Optional[typing.Union[str, int]] = None,
450
- undo: typing.Optional[bool] = None,
419
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
420
+ execution_context: str | int | None = None,
421
+ undo: bool | None = None,
451
422
  ):
452
423
  """Unlink active Annotation data-block
453
424
 
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]
425
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
426
+ :type execution_context: str | int | None
427
+ :type undo: bool | None
457
428
  """
458
429
 
459
430
  ...
460
431
 
461
432
  def delete(
462
- override_context: typing.Optional[
463
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
464
- ] = None,
465
- execution_context: typing.Optional[typing.Union[str, int]] = None,
466
- undo: typing.Optional[bool] = None,
467
- type: typing.Optional[typing.Any] = "POINTS",
433
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
434
+ execution_context: str | int | None = None,
435
+ undo: bool | None = None,
436
+ type: typing.Any | None = "POINTS",
468
437
  ):
469
438
  """Delete selected Grease Pencil strokes, vertices, or frames
470
439
 
471
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
472
- :type execution_context: typing.Optional[typing.Union[str, int]]
473
- :type undo: typing.Optional[bool]
440
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
441
+ :type execution_context: str | int | None
442
+ :type undo: bool | None
474
443
  :param type: Type, Method used for deleting Grease Pencil data
475
444
 
476
445
  POINTS
@@ -481,24 +450,22 @@ def delete(
481
450
 
482
451
  FRAME
483
452
  Frame -- Delete active frame.
484
- :type type: typing.Optional[typing.Any]
453
+ :type type: typing.Any | None
485
454
  """
486
455
 
487
456
  ...
488
457
 
489
458
  def dissolve(
490
- override_context: typing.Optional[
491
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
492
- ] = None,
493
- execution_context: typing.Optional[typing.Union[str, int]] = None,
494
- undo: typing.Optional[bool] = None,
495
- type: typing.Optional[typing.Any] = "POINTS",
459
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
460
+ execution_context: str | int | None = None,
461
+ undo: bool | None = None,
462
+ type: typing.Any | None = "POINTS",
496
463
  ):
497
464
  """Delete selected points without splitting strokes
498
465
 
499
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
500
- :type execution_context: typing.Optional[typing.Union[str, int]]
501
- :type undo: typing.Optional[bool]
466
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
467
+ :type execution_context: str | int | None
468
+ :type undo: bool | None
502
469
  :param type: Type, Method used for dissolving stroke points
503
470
 
504
471
  POINTS
@@ -509,32 +476,29 @@ def dissolve(
509
476
 
510
477
  UNSELECT
511
478
  Dissolve Unselect -- Dissolve all unselected points.
512
- :type type: typing.Optional[typing.Any]
479
+ :type type: typing.Any | None
513
480
  """
514
481
 
515
482
  ...
516
483
 
517
484
  def draw(
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,
523
- mode: typing.Optional[typing.Any] = "DRAW",
524
- stroke: typing.Optional[
525
- bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
526
- ] = None,
527
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
528
- disable_straight: typing.Optional[typing.Union[bool, typing.Any]] = False,
529
- disable_fill: typing.Optional[typing.Union[bool, typing.Any]] = False,
530
- disable_stabilizer: typing.Optional[typing.Union[bool, typing.Any]] = False,
531
- guide_last_angle: typing.Optional[typing.Any] = 0.0,
485
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
486
+ execution_context: str | int | None = None,
487
+ undo: bool | None = None,
488
+ mode: typing.Any | None = "DRAW",
489
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
490
+ | None = None,
491
+ wait_for_input: bool | typing.Any | None = True,
492
+ disable_straight: bool | typing.Any | None = False,
493
+ disable_fill: bool | typing.Any | None = False,
494
+ disable_stabilizer: bool | typing.Any | None = False,
495
+ guide_last_angle: typing.Any | None = 0.0,
532
496
  ):
533
497
  """Draw a new stroke in the active Grease Pencil object
534
498
 
535
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
536
- :type execution_context: typing.Optional[typing.Union[str, int]]
537
- :type undo: typing.Optional[bool]
499
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
500
+ :type execution_context: str | int | None
501
+ :type undo: bool | None
538
502
  :param mode: Mode, Way to interpret mouse movements
539
503
 
540
504
  DRAW
@@ -545,191 +509,173 @@ def draw(
545
509
 
546
510
  ERASER
547
511
  Eraser -- Erase Grease Pencil strokes.
548
- :type mode: typing.Optional[typing.Any]
512
+ :type mode: typing.Any | None
549
513
  :param stroke: Stroke
550
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
514
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
551
515
  :param wait_for_input: Wait for Input, Wait for first click instead of painting immediately
552
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
516
+ :type wait_for_input: bool | typing.Any | None
553
517
  :param disable_straight: No Straight lines, Disable key for straight lines
554
- :type disable_straight: typing.Optional[typing.Union[bool, typing.Any]]
518
+ :type disable_straight: bool | typing.Any | None
555
519
  :param disable_fill: No Fill Areas, Disable fill to use stroke as fill boundary
556
- :type disable_fill: typing.Optional[typing.Union[bool, typing.Any]]
520
+ :type disable_fill: bool | typing.Any | None
557
521
  :param disable_stabilizer: No Stabilizer
558
- :type disable_stabilizer: typing.Optional[typing.Union[bool, typing.Any]]
522
+ :type disable_stabilizer: bool | typing.Any | None
559
523
  :param guide_last_angle: Angle, Speed guide angle
560
- :type guide_last_angle: typing.Optional[typing.Any]
524
+ :type guide_last_angle: typing.Any | None
561
525
  """
562
526
 
563
527
  ...
564
528
 
565
529
  def duplicate(
566
- override_context: typing.Optional[
567
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
568
- ] = None,
569
- execution_context: typing.Optional[typing.Union[str, int]] = None,
570
- undo: typing.Optional[bool] = None,
530
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
531
+ execution_context: str | int | None = None,
532
+ undo: bool | None = None,
571
533
  ):
572
534
  """Duplicate the selected Grease Pencil strokes
573
535
 
574
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
575
- :type execution_context: typing.Optional[typing.Union[str, int]]
576
- :type undo: typing.Optional[bool]
536
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
537
+ :type execution_context: str | int | None
538
+ :type undo: bool | None
577
539
  """
578
540
 
579
541
  ...
580
542
 
581
543
  def duplicate_move(
582
- override_context: typing.Optional[
583
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
584
- ] = None,
585
- execution_context: typing.Optional[typing.Union[str, int]] = None,
586
- undo: typing.Optional[bool] = None,
587
- GPENCIL_OT_duplicate: typing.Optional[duplicate] = None,
588
- TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
544
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
545
+ execution_context: str | int | None = None,
546
+ undo: bool | None = None,
547
+ GPENCIL_OT_duplicate: duplicate | None = None,
548
+ TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
589
549
  ):
590
550
  """Make copies of the selected Grease Pencil strokes and move them
591
551
 
592
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
593
- :type execution_context: typing.Optional[typing.Union[str, int]]
594
- :type undo: typing.Optional[bool]
552
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
553
+ :type execution_context: str | int | None
554
+ :type undo: bool | None
595
555
  :param GPENCIL_OT_duplicate: Duplicate Strokes, Duplicate the selected Grease Pencil strokes
596
- :type GPENCIL_OT_duplicate: typing.Optional[duplicate]
556
+ :type GPENCIL_OT_duplicate: duplicate | None
597
557
  :param TRANSFORM_OT_translate: Move, Move selected items
598
- :type TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate]
558
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
599
559
  """
600
560
 
601
561
  ...
602
562
 
603
563
  def editmode_toggle(
604
- override_context: typing.Optional[
605
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
606
- ] = None,
607
- execution_context: typing.Optional[typing.Union[str, int]] = None,
608
- undo: typing.Optional[bool] = None,
609
- back: typing.Optional[typing.Union[bool, typing.Any]] = False,
564
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
565
+ execution_context: str | int | None = None,
566
+ undo: bool | None = None,
567
+ back: bool | typing.Any | None = False,
610
568
  ):
611
569
  """Enter/Exit edit mode for Grease Pencil strokes
612
570
 
613
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
614
- :type execution_context: typing.Optional[typing.Union[str, int]]
615
- :type undo: typing.Optional[bool]
571
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
572
+ :type execution_context: str | int | None
573
+ :type undo: bool | None
616
574
  :param back: Return to Previous Mode, Return to previous mode
617
- :type back: typing.Optional[typing.Union[bool, typing.Any]]
575
+ :type back: bool | typing.Any | None
618
576
  """
619
577
 
620
578
  ...
621
579
 
622
580
  def extract_palette_vertex(
623
- override_context: typing.Optional[
624
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
625
- ] = None,
626
- execution_context: typing.Optional[typing.Union[str, int]] = None,
627
- undo: typing.Optional[bool] = None,
628
- selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
629
- threshold: typing.Optional[typing.Any] = 1,
581
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
582
+ execution_context: str | int | None = None,
583
+ undo: bool | None = None,
584
+ selected: bool | typing.Any | None = False,
585
+ threshold: typing.Any | None = 1,
630
586
  ):
631
587
  """Extract all colors used in Grease Pencil Vertex and create a Palette
632
588
 
633
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
634
- :type execution_context: typing.Optional[typing.Union[str, int]]
635
- :type undo: typing.Optional[bool]
589
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
590
+ :type execution_context: str | int | None
591
+ :type undo: bool | None
636
592
  :param selected: Only Selected, Convert only selected strokes
637
- :type selected: typing.Optional[typing.Union[bool, typing.Any]]
593
+ :type selected: bool | typing.Any | None
638
594
  :param threshold: Threshold
639
- :type threshold: typing.Optional[typing.Any]
595
+ :type threshold: typing.Any | None
640
596
  """
641
597
 
642
598
  ...
643
599
 
644
600
  def extrude(
645
- override_context: typing.Optional[
646
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
647
- ] = None,
648
- execution_context: typing.Optional[typing.Union[str, int]] = None,
649
- undo: typing.Optional[bool] = None,
601
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
602
+ execution_context: str | int | None = None,
603
+ undo: bool | None = None,
650
604
  ):
651
605
  """Extrude the selected Grease Pencil points
652
606
 
653
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
654
- :type execution_context: typing.Optional[typing.Union[str, int]]
655
- :type undo: typing.Optional[bool]
607
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
608
+ :type execution_context: str | int | None
609
+ :type undo: bool | None
656
610
  """
657
611
 
658
612
  ...
659
613
 
660
614
  def extrude_move(
661
- override_context: typing.Optional[
662
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
663
- ] = None,
664
- execution_context: typing.Optional[typing.Union[str, int]] = None,
665
- undo: typing.Optional[bool] = None,
666
- GPENCIL_OT_extrude: typing.Optional[extrude] = None,
667
- TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
615
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
616
+ execution_context: str | int | None = None,
617
+ undo: bool | None = None,
618
+ GPENCIL_OT_extrude: extrude | None = None,
619
+ TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
668
620
  ):
669
621
  """Extrude selected points and move them
670
622
 
671
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
672
- :type execution_context: typing.Optional[typing.Union[str, int]]
673
- :type undo: typing.Optional[bool]
623
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
624
+ :type execution_context: str | int | None
625
+ :type undo: bool | None
674
626
  :param GPENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected Grease Pencil points
675
- :type GPENCIL_OT_extrude: typing.Optional[extrude]
627
+ :type GPENCIL_OT_extrude: extrude | None
676
628
  :param TRANSFORM_OT_translate: Move, Move selected items
677
- :type TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate]
629
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
678
630
  """
679
631
 
680
632
  ...
681
633
 
682
634
  def fill(
683
- override_context: typing.Optional[
684
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
685
- ] = None,
686
- execution_context: typing.Optional[typing.Union[str, int]] = None,
687
- undo: typing.Optional[bool] = None,
688
- on_back: typing.Optional[typing.Union[bool, typing.Any]] = False,
635
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
636
+ execution_context: str | int | None = None,
637
+ undo: bool | None = None,
638
+ on_back: bool | typing.Any | None = False,
689
639
  ):
690
640
  """Fill with color the shape formed by strokes
691
641
 
692
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
693
- :type execution_context: typing.Optional[typing.Union[str, int]]
694
- :type undo: typing.Optional[bool]
642
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
643
+ :type execution_context: str | int | None
644
+ :type undo: bool | None
695
645
  :param on_back: Draw on Back, Send new stroke to back
696
- :type on_back: typing.Optional[typing.Union[bool, typing.Any]]
646
+ :type on_back: bool | typing.Any | None
697
647
  """
698
648
 
699
649
  ...
700
650
 
701
651
  def frame_clean_duplicate(
702
- override_context: typing.Optional[
703
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
704
- ] = None,
705
- execution_context: typing.Optional[typing.Union[str, int]] = None,
706
- undo: typing.Optional[bool] = None,
707
- type: typing.Optional[typing.Any] = "ALL",
652
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
653
+ execution_context: str | int | None = None,
654
+ undo: bool | None = None,
655
+ type: typing.Any | None = "ALL",
708
656
  ):
709
657
  """Remove duplicate keyframes
710
658
 
711
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
712
- :type execution_context: typing.Optional[typing.Union[str, int]]
713
- :type undo: typing.Optional[bool]
659
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
660
+ :type execution_context: str | int | None
661
+ :type undo: bool | None
714
662
  :param type: Type
715
- :type type: typing.Optional[typing.Any]
663
+ :type type: typing.Any | None
716
664
  """
717
665
 
718
666
  ...
719
667
 
720
668
  def frame_clean_fill(
721
- override_context: typing.Optional[
722
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
723
- ] = None,
724
- execution_context: typing.Optional[typing.Union[str, int]] = None,
725
- undo: typing.Optional[bool] = None,
726
- mode: typing.Optional[typing.Any] = "ACTIVE",
669
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
670
+ execution_context: str | int | None = None,
671
+ undo: bool | None = None,
672
+ mode: typing.Any | None = "ACTIVE",
727
673
  ):
728
674
  """Remove 'no fill' boundary strokes
729
675
 
730
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
731
- :type execution_context: typing.Optional[typing.Union[str, int]]
732
- :type undo: typing.Optional[bool]
676
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
677
+ :type execution_context: str | int | None
678
+ :type undo: bool | None
733
679
  :param mode: Mode
734
680
 
735
681
  ACTIVE
@@ -737,43 +683,39 @@ def frame_clean_fill(
737
683
 
738
684
  ALL
739
685
  All Frames -- Clean all frames in all layers.
740
- :type mode: typing.Optional[typing.Any]
686
+ :type mode: typing.Any | None
741
687
  """
742
688
 
743
689
  ...
744
690
 
745
691
  def frame_clean_loose(
746
- override_context: typing.Optional[
747
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
748
- ] = None,
749
- execution_context: typing.Optional[typing.Union[str, int]] = None,
750
- undo: typing.Optional[bool] = None,
751
- limit: typing.Optional[typing.Any] = 1,
692
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
693
+ execution_context: str | int | None = None,
694
+ undo: bool | None = None,
695
+ limit: typing.Any | None = 1,
752
696
  ):
753
697
  """Remove loose points
754
698
 
755
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
756
- :type execution_context: typing.Optional[typing.Union[str, int]]
757
- :type undo: typing.Optional[bool]
699
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
700
+ :type execution_context: str | int | None
701
+ :type undo: bool | None
758
702
  :param limit: Limit, Number of points to consider stroke as loose
759
- :type limit: typing.Optional[typing.Any]
703
+ :type limit: typing.Any | None
760
704
  """
761
705
 
762
706
  ...
763
707
 
764
708
  def frame_duplicate(
765
- override_context: typing.Optional[
766
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
767
- ] = None,
768
- execution_context: typing.Optional[typing.Union[str, int]] = None,
769
- undo: typing.Optional[bool] = None,
770
- mode: typing.Optional[typing.Any] = "ACTIVE",
709
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
710
+ execution_context: str | int | None = None,
711
+ undo: bool | None = None,
712
+ mode: typing.Any | None = "ACTIVE",
771
713
  ):
772
714
  """Make a copy of the active Grease Pencil Frame
773
715
 
774
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
775
- :type execution_context: typing.Optional[typing.Union[str, int]]
776
- :type undo: typing.Optional[bool]
716
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
717
+ :type execution_context: str | int | None
718
+ :type undo: bool | None
777
719
  :param mode: Mode
778
720
 
779
721
  ACTIVE
@@ -781,196 +723,182 @@ def frame_duplicate(
781
723
 
782
724
  ALL
783
725
  All -- Duplicate active frames in all layers.
784
- :type mode: typing.Optional[typing.Any]
726
+ :type mode: typing.Any | None
785
727
  """
786
728
 
787
729
  ...
788
730
 
789
731
  def generate_weights(
790
- override_context: typing.Optional[
791
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
792
- ] = None,
793
- execution_context: typing.Optional[typing.Union[str, int]] = None,
794
- undo: typing.Optional[bool] = None,
795
- mode: typing.Optional[typing.Any] = "NAME",
796
- armature: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
797
- ratio: typing.Optional[typing.Any] = 0.1,
798
- decay: typing.Optional[typing.Any] = 0.8,
732
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
733
+ execution_context: str | int | None = None,
734
+ undo: bool | None = None,
735
+ mode: typing.Any | None = "NAME",
736
+ armature: str | int | typing.Any | None = "DEFAULT",
737
+ ratio: typing.Any | None = 0.1,
738
+ decay: typing.Any | None = 0.8,
799
739
  ):
800
740
  """Generate automatic weights for armatures (requires armature modifier)
801
741
 
802
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
803
- :type execution_context: typing.Optional[typing.Union[str, int]]
804
- :type undo: typing.Optional[bool]
742
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
743
+ :type execution_context: str | int | None
744
+ :type undo: bool | None
805
745
  :param mode: Mode
806
- :type mode: typing.Optional[typing.Any]
746
+ :type mode: typing.Any | None
807
747
  :param armature: Armature, Armature to use
808
- :type armature: typing.Optional[typing.Union[str, int, typing.Any]]
748
+ :type armature: str | int | typing.Any | None
809
749
  :param ratio: Ratio, Ratio between bone length and influence radius
810
- :type ratio: typing.Optional[typing.Any]
750
+ :type ratio: typing.Any | None
811
751
  :param decay: Decay, Factor to reduce influence depending of distance to bone axis
812
- :type decay: typing.Optional[typing.Any]
752
+ :type decay: typing.Any | None
813
753
  """
814
754
 
815
755
  ...
816
756
 
817
757
  def guide_rotate(
818
- override_context: typing.Optional[
819
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
820
- ] = None,
821
- execution_context: typing.Optional[typing.Union[str, int]] = None,
822
- undo: typing.Optional[bool] = None,
823
- increment: typing.Optional[typing.Union[bool, typing.Any]] = True,
824
- angle: typing.Optional[typing.Any] = 0.0,
758
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
759
+ execution_context: str | int | None = None,
760
+ undo: bool | None = None,
761
+ increment: bool | typing.Any | None = True,
762
+ angle: typing.Any | None = 0.0,
825
763
  ):
826
764
  """Rotate guide angle
827
765
 
828
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
829
- :type execution_context: typing.Optional[typing.Union[str, int]]
830
- :type undo: typing.Optional[bool]
766
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
767
+ :type execution_context: str | int | None
768
+ :type undo: bool | None
831
769
  :param increment: Increment, Increment angle
832
- :type increment: typing.Optional[typing.Union[bool, typing.Any]]
770
+ :type increment: bool | typing.Any | None
833
771
  :param angle: Angle, Guide angle
834
- :type angle: typing.Optional[typing.Any]
772
+ :type angle: typing.Any | None
835
773
  """
836
774
 
837
775
  ...
838
776
 
839
777
  def hide(
840
- override_context: typing.Optional[
841
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
842
- ] = None,
843
- execution_context: typing.Optional[typing.Union[str, int]] = None,
844
- undo: typing.Optional[bool] = None,
845
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
778
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
779
+ execution_context: str | int | None = None,
780
+ undo: bool | None = None,
781
+ unselected: bool | typing.Any | None = False,
846
782
  ):
847
783
  """Hide selected/unselected Grease Pencil layers
848
784
 
849
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
850
- :type execution_context: typing.Optional[typing.Union[str, int]]
851
- :type undo: typing.Optional[bool]
785
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
786
+ :type execution_context: str | int | None
787
+ :type undo: bool | None
852
788
  :param unselected: Unselected, Hide unselected rather than selected layers
853
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
789
+ :type unselected: bool | typing.Any | None
854
790
  """
855
791
 
856
792
  ...
857
793
 
858
794
  def image_to_grease_pencil(
859
- override_context: typing.Optional[
860
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
861
- ] = None,
862
- execution_context: typing.Optional[typing.Union[str, int]] = None,
863
- undo: typing.Optional[bool] = None,
864
- size: typing.Optional[typing.Any] = 0.005,
865
- mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
795
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
796
+ execution_context: str | int | None = None,
797
+ undo: bool | None = None,
798
+ size: typing.Any | None = 0.005,
799
+ mask: bool | typing.Any | None = False,
866
800
  ):
867
801
  """Generate a Grease Pencil Object using Image as source
868
802
 
869
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
870
- :type execution_context: typing.Optional[typing.Union[str, int]]
871
- :type undo: typing.Optional[bool]
803
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
804
+ :type execution_context: str | int | None
805
+ :type undo: bool | None
872
806
  :param size: Point Size, Size used for grease pencil points
873
- :type size: typing.Optional[typing.Any]
807
+ :type size: typing.Any | None
874
808
  :param mask: Generate Mask, Create an inverted image for masking using alpha channel
875
- :type mask: typing.Optional[typing.Union[bool, typing.Any]]
809
+ :type mask: bool | typing.Any | None
876
810
  """
877
811
 
878
812
  ...
879
813
 
880
814
  def interpolate(
881
- override_context: typing.Optional[
882
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
883
- ] = None,
884
- execution_context: typing.Optional[typing.Union[str, int]] = None,
885
- undo: typing.Optional[bool] = None,
886
- shift: typing.Optional[typing.Any] = 0.0,
887
- layers: typing.Optional[typing.Any] = "ACTIVE",
888
- interpolate_selected_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
889
- exclude_breakdowns: typing.Optional[typing.Union[bool, typing.Any]] = False,
890
- flip: typing.Optional[typing.Any] = "AUTO",
891
- smooth_steps: typing.Optional[typing.Any] = 1,
892
- smooth_factor: typing.Optional[typing.Any] = 0.0,
893
- release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
815
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
816
+ execution_context: str | int | None = None,
817
+ undo: bool | None = None,
818
+ shift: typing.Any | None = 0.0,
819
+ layers: typing.Any | None = "ACTIVE",
820
+ interpolate_selected_only: bool | typing.Any | None = False,
821
+ exclude_breakdowns: bool | typing.Any | None = False,
822
+ flip: typing.Any | None = "AUTO",
823
+ smooth_steps: typing.Any | None = 1,
824
+ smooth_factor: typing.Any | None = 0.0,
825
+ release_confirm: bool | typing.Any | None = False,
894
826
  ):
895
827
  """Interpolate grease pencil strokes between frames
896
828
 
897
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
898
- :type execution_context: typing.Optional[typing.Union[str, int]]
899
- :type undo: typing.Optional[bool]
829
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
830
+ :type execution_context: str | int | None
831
+ :type undo: bool | None
900
832
  :param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
901
- :type shift: typing.Optional[typing.Any]
833
+ :type shift: typing.Any | None
902
834
  :param layers: Layer, Layers included in the interpolation
903
- :type layers: typing.Optional[typing.Any]
835
+ :type layers: typing.Any | None
904
836
  :param interpolate_selected_only: Only Selected, Interpolate only selected strokes
905
- :type interpolate_selected_only: typing.Optional[typing.Union[bool, typing.Any]]
837
+ :type interpolate_selected_only: bool | typing.Any | None
906
838
  :param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
907
- :type exclude_breakdowns: typing.Optional[typing.Union[bool, typing.Any]]
839
+ :type exclude_breakdowns: bool | typing.Any | None
908
840
  :param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
909
- :type flip: typing.Optional[typing.Any]
841
+ :type flip: typing.Any | None
910
842
  :param smooth_steps: Iterations, Number of times to smooth newly created strokes
911
- :type smooth_steps: typing.Optional[typing.Any]
843
+ :type smooth_steps: typing.Any | None
912
844
  :param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
913
- :type smooth_factor: typing.Optional[typing.Any]
845
+ :type smooth_factor: typing.Any | None
914
846
  :param release_confirm: Confirm on Release
915
- :type release_confirm: typing.Optional[typing.Union[bool, typing.Any]]
847
+ :type release_confirm: bool | typing.Any | None
916
848
  """
917
849
 
918
850
  ...
919
851
 
920
852
  def interpolate_reverse(
921
- override_context: typing.Optional[
922
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
923
- ] = None,
924
- execution_context: typing.Optional[typing.Union[str, int]] = None,
925
- undo: typing.Optional[bool] = None,
853
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
854
+ execution_context: str | int | None = None,
855
+ undo: bool | None = None,
926
856
  ):
927
857
  """Remove breakdown frames generated by interpolating between two Grease Pencil frames
928
858
 
929
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
930
- :type execution_context: typing.Optional[typing.Union[str, int]]
931
- :type undo: typing.Optional[bool]
859
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
860
+ :type execution_context: str | int | None
861
+ :type undo: bool | None
932
862
  """
933
863
 
934
864
  ...
935
865
 
936
866
  def interpolate_sequence(
937
- override_context: typing.Optional[
938
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
939
- ] = None,
940
- execution_context: typing.Optional[typing.Union[str, int]] = None,
941
- undo: typing.Optional[bool] = None,
942
- step: typing.Optional[typing.Any] = 1,
943
- layers: typing.Optional[typing.Any] = "ACTIVE",
944
- interpolate_selected_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
945
- exclude_breakdowns: typing.Optional[typing.Union[bool, typing.Any]] = False,
946
- flip: typing.Optional[typing.Any] = "AUTO",
947
- smooth_steps: typing.Optional[typing.Any] = 1,
948
- smooth_factor: typing.Optional[typing.Any] = 0.0,
949
- type: typing.Optional[typing.Any] = "LINEAR",
950
- easing: typing.Optional[typing.Any] = "AUTO",
951
- back: typing.Optional[typing.Any] = 1.702,
952
- amplitude: typing.Optional[typing.Any] = 0.15,
953
- period: typing.Optional[typing.Any] = 0.15,
867
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
868
+ execution_context: str | int | None = None,
869
+ undo: bool | None = None,
870
+ step: typing.Any | None = 1,
871
+ layers: typing.Any | None = "ACTIVE",
872
+ interpolate_selected_only: bool | typing.Any | None = False,
873
+ exclude_breakdowns: bool | typing.Any | None = False,
874
+ flip: typing.Any | None = "AUTO",
875
+ smooth_steps: typing.Any | None = 1,
876
+ smooth_factor: typing.Any | None = 0.0,
877
+ type: typing.Any | None = "LINEAR",
878
+ easing: typing.Any | None = "AUTO",
879
+ back: typing.Any | None = 1.702,
880
+ amplitude: typing.Any | None = 0.15,
881
+ period: typing.Any | None = 0.15,
954
882
  ):
955
883
  """Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
956
884
 
957
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
958
- :type execution_context: typing.Optional[typing.Union[str, int]]
959
- :type undo: typing.Optional[bool]
885
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
886
+ :type execution_context: str | int | None
887
+ :type undo: bool | None
960
888
  :param step: Step, Number of frames between generated interpolated frames
961
- :type step: typing.Optional[typing.Any]
889
+ :type step: typing.Any | None
962
890
  :param layers: Layer, Layers included in the interpolation
963
- :type layers: typing.Optional[typing.Any]
891
+ :type layers: typing.Any | None
964
892
  :param interpolate_selected_only: Only Selected, Interpolate only selected strokes
965
- :type interpolate_selected_only: typing.Optional[typing.Union[bool, typing.Any]]
893
+ :type interpolate_selected_only: bool | typing.Any | None
966
894
  :param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
967
- :type exclude_breakdowns: typing.Optional[typing.Union[bool, typing.Any]]
895
+ :type exclude_breakdowns: bool | typing.Any | None
968
896
  :param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
969
- :type flip: typing.Optional[typing.Any]
897
+ :type flip: typing.Any | None
970
898
  :param smooth_steps: Iterations, Number of times to smooth newly created strokes
971
- :type smooth_steps: typing.Optional[typing.Any]
899
+ :type smooth_steps: typing.Any | None
972
900
  :param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
973
- :type smooth_factor: typing.Optional[typing.Any]
901
+ :type smooth_factor: typing.Any | None
974
902
  :param type: Type, Interpolation method to use the next time 'Interpolate Sequence' is run
975
903
 
976
904
  LINEAR
@@ -1008,7 +936,7 @@ def interpolate_sequence(
1008
936
 
1009
937
  ELASTIC
1010
938
  Elastic -- Exponentially decaying sine wave, like an elastic band.
1011
- :type type: typing.Optional[typing.Any]
939
+ :type type: typing.Any | None
1012
940
  :param easing: Easing, Which ends of the segment between the preceding and following grease pencil frames easing interpolation is applied to
1013
941
 
1014
942
  AUTO
@@ -1022,255 +950,229 @@ def interpolate_sequence(
1022
950
 
1023
951
  EASE_IN_OUT
1024
952
  Ease In and Out -- Segment between both keyframes.
1025
- :type easing: typing.Optional[typing.Any]
953
+ :type easing: typing.Any | None
1026
954
  :param back: Back, Amount of overshoot for 'back' easing
1027
- :type back: typing.Optional[typing.Any]
955
+ :type back: typing.Any | None
1028
956
  :param amplitude: Amplitude, Amount to boost elastic bounces for 'elastic' easing
1029
- :type amplitude: typing.Optional[typing.Any]
957
+ :type amplitude: typing.Any | None
1030
958
  :param period: Period, Time between bounces for elastic easing
1031
- :type period: typing.Optional[typing.Any]
959
+ :type period: typing.Any | None
1032
960
  """
1033
961
 
1034
962
  ...
1035
963
 
1036
964
  def layer_active(
1037
- override_context: typing.Optional[
1038
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1039
- ] = None,
1040
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1041
- undo: typing.Optional[bool] = None,
1042
- layer: typing.Optional[typing.Any] = 0,
965
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
966
+ execution_context: str | int | None = None,
967
+ undo: bool | None = None,
968
+ layer: typing.Any | None = 0,
1043
969
  ):
1044
970
  """Active Grease Pencil layer
1045
971
 
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]
972
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
973
+ :type execution_context: str | int | None
974
+ :type undo: bool | None
1049
975
  :param layer: Grease Pencil Layer
1050
- :type layer: typing.Optional[typing.Any]
976
+ :type layer: typing.Any | None
1051
977
  """
1052
978
 
1053
979
  ...
1054
980
 
1055
981
  def layer_add(
1056
- override_context: typing.Optional[
1057
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1058
- ] = None,
1059
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1060
- undo: typing.Optional[bool] = None,
1061
- layer: typing.Optional[typing.Any] = 0,
1062
- new_layer_name: typing.Union[str, typing.Any] = "",
982
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
983
+ execution_context: str | int | None = None,
984
+ undo: bool | None = None,
985
+ layer: typing.Any | None = 0,
986
+ new_layer_name: str | typing.Any = "",
1063
987
  ):
1064
988
  """Add new layer or note for the active data-block
1065
989
 
1066
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1067
- :type execution_context: typing.Optional[typing.Union[str, int]]
1068
- :type undo: typing.Optional[bool]
990
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
991
+ :type execution_context: str | int | None
992
+ :type undo: bool | None
1069
993
  :param layer: Grease Pencil Layer
1070
- :type layer: typing.Optional[typing.Any]
994
+ :type layer: typing.Any | None
1071
995
  :param new_layer_name: Name, Name of the newly added layer
1072
- :type new_layer_name: typing.Union[str, typing.Any]
996
+ :type new_layer_name: str | typing.Any
1073
997
  """
1074
998
 
1075
999
  ...
1076
1000
 
1077
1001
  def layer_annotation_add(
1078
- override_context: typing.Optional[
1079
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1080
- ] = None,
1081
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1082
- undo: typing.Optional[bool] = None,
1002
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1003
+ execution_context: str | int | None = None,
1004
+ undo: bool | None = None,
1083
1005
  ):
1084
1006
  """Add new Annotation layer or note for the active data-block
1085
1007
 
1086
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1087
- :type execution_context: typing.Optional[typing.Union[str, int]]
1088
- :type undo: typing.Optional[bool]
1008
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1009
+ :type execution_context: str | int | None
1010
+ :type undo: bool | None
1089
1011
  """
1090
1012
 
1091
1013
  ...
1092
1014
 
1093
1015
  def layer_annotation_move(
1094
- override_context: typing.Optional[
1095
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1096
- ] = None,
1097
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1098
- undo: typing.Optional[bool] = None,
1099
- type: typing.Optional[typing.Any] = "UP",
1016
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1017
+ execution_context: str | int | None = None,
1018
+ undo: bool | None = None,
1019
+ type: typing.Any | None = "UP",
1100
1020
  ):
1101
1021
  """Move the active Annotation layer up/down in the list
1102
1022
 
1103
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1104
- :type execution_context: typing.Optional[typing.Union[str, int]]
1105
- :type undo: typing.Optional[bool]
1023
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1024
+ :type execution_context: str | int | None
1025
+ :type undo: bool | None
1106
1026
  :param type: Type
1107
- :type type: typing.Optional[typing.Any]
1027
+ :type type: typing.Any | None
1108
1028
  """
1109
1029
 
1110
1030
  ...
1111
1031
 
1112
1032
  def layer_annotation_remove(
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,
1033
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1034
+ execution_context: str | int | None = None,
1035
+ undo: bool | None = None,
1118
1036
  ):
1119
1037
  """Remove active Annotation layer
1120
1038
 
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]
1039
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1040
+ :type execution_context: str | int | None
1041
+ :type undo: bool | None
1124
1042
  """
1125
1043
 
1126
1044
  ...
1127
1045
 
1128
1046
  def layer_change(
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
- layer: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
1047
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1048
+ execution_context: str | int | None = None,
1049
+ undo: bool | None = None,
1050
+ layer: str | int | typing.Any | None = "DEFAULT",
1135
1051
  ):
1136
1052
  """Change active Grease Pencil layer
1137
1053
 
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]
1054
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1055
+ :type execution_context: str | int | None
1056
+ :type undo: bool | None
1141
1057
  :param layer: Grease Pencil Layer
1142
- :type layer: typing.Optional[typing.Union[str, int, typing.Any]]
1058
+ :type layer: str | int | typing.Any | None
1143
1059
  """
1144
1060
 
1145
1061
  ...
1146
1062
 
1147
1063
  def layer_duplicate(
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.Any] = "ALL",
1064
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1065
+ execution_context: str | int | None = None,
1066
+ undo: bool | None = None,
1067
+ mode: typing.Any | None = "ALL",
1154
1068
  ):
1155
1069
  """Make a copy of the active Grease Pencil layer
1156
1070
 
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]
1071
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1072
+ :type execution_context: str | int | None
1073
+ :type undo: bool | None
1160
1074
  :param mode: Mode
1161
- :type mode: typing.Optional[typing.Any]
1075
+ :type mode: typing.Any | None
1162
1076
  """
1163
1077
 
1164
1078
  ...
1165
1079
 
1166
1080
  def layer_duplicate_object(
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
- mode: typing.Optional[typing.Any] = "ALL",
1173
- only_active: typing.Optional[typing.Union[bool, typing.Any]] = True,
1081
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1082
+ execution_context: str | int | None = None,
1083
+ undo: bool | None = None,
1084
+ mode: typing.Any | None = "ALL",
1085
+ only_active: bool | typing.Any | None = True,
1174
1086
  ):
1175
1087
  """Make a copy of the active Grease Pencil layer to selected object
1176
1088
 
1177
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1178
- :type execution_context: typing.Optional[typing.Union[str, int]]
1179
- :type undo: typing.Optional[bool]
1089
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1090
+ :type execution_context: str | int | None
1091
+ :type undo: bool | None
1180
1092
  :param mode: Mode
1181
- :type mode: typing.Optional[typing.Any]
1093
+ :type mode: typing.Any | None
1182
1094
  :param only_active: Only Active, Copy only active Layer, uncheck to append all layers
1183
- :type only_active: typing.Optional[typing.Union[bool, typing.Any]]
1095
+ :type only_active: bool | typing.Any | None
1184
1096
  """
1185
1097
 
1186
1098
  ...
1187
1099
 
1188
1100
  def layer_isolate(
1189
- override_context: typing.Optional[
1190
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1191
- ] = None,
1192
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1193
- undo: typing.Optional[bool] = None,
1194
- affect_visibility: typing.Optional[typing.Union[bool, typing.Any]] = False,
1101
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1102
+ execution_context: str | int | None = None,
1103
+ undo: bool | None = None,
1104
+ affect_visibility: bool | typing.Any | None = False,
1195
1105
  ):
1196
1106
  """Toggle whether the active layer is the only one that can be edited and/or visible
1197
1107
 
1198
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1199
- :type execution_context: typing.Optional[typing.Union[str, int]]
1200
- :type undo: typing.Optional[bool]
1108
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1109
+ :type execution_context: str | int | None
1110
+ :type undo: bool | None
1201
1111
  :param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
1202
- :type affect_visibility: typing.Optional[typing.Union[bool, typing.Any]]
1112
+ :type affect_visibility: bool | typing.Any | None
1203
1113
  """
1204
1114
 
1205
1115
  ...
1206
1116
 
1207
1117
  def layer_mask_add(
1208
- override_context: typing.Optional[
1209
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1210
- ] = None,
1211
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1212
- undo: typing.Optional[bool] = None,
1213
- name: typing.Union[str, typing.Any] = "",
1118
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1119
+ execution_context: str | int | None = None,
1120
+ undo: bool | None = None,
1121
+ name: str | typing.Any = "",
1214
1122
  ):
1215
1123
  """Add new layer as masking
1216
1124
 
1217
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1218
- :type execution_context: typing.Optional[typing.Union[str, int]]
1219
- :type undo: typing.Optional[bool]
1125
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1126
+ :type execution_context: str | int | None
1127
+ :type undo: bool | None
1220
1128
  :param name: Layer, Name of the layer
1221
- :type name: typing.Union[str, typing.Any]
1129
+ :type name: str | typing.Any
1222
1130
  """
1223
1131
 
1224
1132
  ...
1225
1133
 
1226
1134
  def layer_mask_move(
1227
- override_context: typing.Optional[
1228
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1229
- ] = None,
1230
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1231
- undo: typing.Optional[bool] = None,
1232
- type: typing.Optional[typing.Any] = "UP",
1135
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1136
+ execution_context: str | int | None = None,
1137
+ undo: bool | None = None,
1138
+ type: typing.Any | None = "UP",
1233
1139
  ):
1234
1140
  """Move the active Grease Pencil mask layer up/down in the list
1235
1141
 
1236
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1237
- :type execution_context: typing.Optional[typing.Union[str, int]]
1238
- :type undo: typing.Optional[bool]
1142
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1143
+ :type execution_context: str | int | None
1144
+ :type undo: bool | None
1239
1145
  :param type: Type
1240
- :type type: typing.Optional[typing.Any]
1146
+ :type type: typing.Any | None
1241
1147
  """
1242
1148
 
1243
1149
  ...
1244
1150
 
1245
1151
  def layer_mask_remove(
1246
- override_context: typing.Optional[
1247
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1248
- ] = None,
1249
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1250
- undo: typing.Optional[bool] = None,
1152
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1153
+ execution_context: str | int | None = None,
1154
+ undo: bool | None = None,
1251
1155
  ):
1252
1156
  """Remove Layer Mask
1253
1157
 
1254
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1255
- :type execution_context: typing.Optional[typing.Union[str, int]]
1256
- :type undo: typing.Optional[bool]
1158
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1159
+ :type execution_context: str | int | None
1160
+ :type undo: bool | None
1257
1161
  """
1258
1162
 
1259
1163
  ...
1260
1164
 
1261
1165
  def layer_merge(
1262
- override_context: typing.Optional[
1263
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1264
- ] = None,
1265
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1266
- undo: typing.Optional[bool] = None,
1267
- mode: typing.Optional[typing.Any] = "ACTIVE",
1166
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1167
+ execution_context: str | int | None = None,
1168
+ undo: bool | None = None,
1169
+ mode: typing.Any | None = "ACTIVE",
1268
1170
  ):
1269
1171
  """Combine Layers
1270
1172
 
1271
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1272
- :type execution_context: typing.Optional[typing.Union[str, int]]
1273
- :type undo: typing.Optional[bool]
1173
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1174
+ :type execution_context: str | int | None
1175
+ :type undo: bool | None
1274
1176
  :param mode: Mode
1275
1177
 
1276
1178
  ACTIVE
@@ -1278,499 +1180,451 @@ def layer_merge(
1278
1180
 
1279
1181
  ALL
1280
1182
  All -- Combine all layers into the active layer.
1281
- :type mode: typing.Optional[typing.Any]
1183
+ :type mode: typing.Any | None
1282
1184
  """
1283
1185
 
1284
1186
  ...
1285
1187
 
1286
1188
  def layer_move(
1287
- override_context: typing.Optional[
1288
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1289
- ] = None,
1290
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1291
- undo: typing.Optional[bool] = None,
1292
- type: typing.Optional[typing.Any] = "UP",
1189
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1190
+ execution_context: str | int | None = None,
1191
+ undo: bool | None = None,
1192
+ type: typing.Any | None = "UP",
1293
1193
  ):
1294
1194
  """Move the active Grease Pencil layer up/down in the list
1295
1195
 
1296
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1297
- :type execution_context: typing.Optional[typing.Union[str, int]]
1298
- :type undo: typing.Optional[bool]
1196
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1197
+ :type execution_context: str | int | None
1198
+ :type undo: bool | None
1299
1199
  :param type: Type
1300
- :type type: typing.Optional[typing.Any]
1200
+ :type type: typing.Any | None
1301
1201
  """
1302
1202
 
1303
1203
  ...
1304
1204
 
1305
1205
  def layer_remove(
1306
- override_context: typing.Optional[
1307
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1308
- ] = None,
1309
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1310
- undo: typing.Optional[bool] = None,
1206
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1207
+ execution_context: str | int | None = None,
1208
+ undo: bool | None = None,
1311
1209
  ):
1312
1210
  """Remove active Grease Pencil layer
1313
1211
 
1314
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1315
- :type execution_context: typing.Optional[typing.Union[str, int]]
1316
- :type undo: typing.Optional[bool]
1212
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1213
+ :type execution_context: str | int | None
1214
+ :type undo: bool | None
1317
1215
  """
1318
1216
 
1319
1217
  ...
1320
1218
 
1321
1219
  def lock_all(
1322
- override_context: typing.Optional[
1323
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1324
- ] = None,
1325
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1326
- undo: typing.Optional[bool] = None,
1220
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1221
+ execution_context: str | int | None = None,
1222
+ undo: bool | None = None,
1327
1223
  ):
1328
1224
  """Lock all Grease Pencil layers to prevent them from being accidentally modified
1329
1225
 
1330
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1331
- :type execution_context: typing.Optional[typing.Union[str, int]]
1332
- :type undo: typing.Optional[bool]
1226
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1227
+ :type execution_context: str | int | None
1228
+ :type undo: bool | None
1333
1229
  """
1334
1230
 
1335
1231
  ...
1336
1232
 
1337
1233
  def lock_layer(
1338
- override_context: typing.Optional[
1339
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1340
- ] = None,
1341
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1342
- undo: typing.Optional[bool] = None,
1234
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1235
+ execution_context: str | int | None = None,
1236
+ undo: bool | None = None,
1343
1237
  ):
1344
1238
  """Lock and hide any color not used in any layer
1345
1239
 
1346
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1347
- :type execution_context: typing.Optional[typing.Union[str, int]]
1348
- :type undo: typing.Optional[bool]
1240
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1241
+ :type execution_context: str | int | None
1242
+ :type undo: bool | None
1349
1243
  """
1350
1244
 
1351
1245
  ...
1352
1246
 
1353
1247
  def material_hide(
1354
- override_context: typing.Optional[
1355
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1356
- ] = None,
1357
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1358
- undo: typing.Optional[bool] = None,
1359
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
1248
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1249
+ execution_context: str | int | None = None,
1250
+ undo: bool | None = None,
1251
+ unselected: bool | typing.Any | None = False,
1360
1252
  ):
1361
1253
  """Hide selected/unselected Grease Pencil materials
1362
1254
 
1363
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1364
- :type execution_context: typing.Optional[typing.Union[str, int]]
1365
- :type undo: typing.Optional[bool]
1255
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1256
+ :type execution_context: str | int | None
1257
+ :type undo: bool | None
1366
1258
  :param unselected: Unselected, Hide unselected rather than selected colors
1367
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
1259
+ :type unselected: bool | typing.Any | None
1368
1260
  """
1369
1261
 
1370
1262
  ...
1371
1263
 
1372
1264
  def material_isolate(
1373
- override_context: typing.Optional[
1374
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1375
- ] = None,
1376
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1377
- undo: typing.Optional[bool] = None,
1378
- affect_visibility: typing.Optional[typing.Union[bool, typing.Any]] = False,
1265
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1266
+ execution_context: str | int | None = None,
1267
+ undo: bool | None = None,
1268
+ affect_visibility: bool | typing.Any | None = False,
1379
1269
  ):
1380
1270
  """Toggle whether the active material is the only one that is editable and/or visible
1381
1271
 
1382
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1383
- :type execution_context: typing.Optional[typing.Union[str, int]]
1384
- :type undo: typing.Optional[bool]
1272
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1273
+ :type execution_context: str | int | None
1274
+ :type undo: bool | None
1385
1275
  :param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
1386
- :type affect_visibility: typing.Optional[typing.Union[bool, typing.Any]]
1276
+ :type affect_visibility: bool | typing.Any | None
1387
1277
  """
1388
1278
 
1389
1279
  ...
1390
1280
 
1391
1281
  def material_lock_all(
1392
- override_context: typing.Optional[
1393
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1394
- ] = None,
1395
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1396
- undo: typing.Optional[bool] = None,
1282
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1283
+ execution_context: str | int | None = None,
1284
+ undo: bool | None = None,
1397
1285
  ):
1398
1286
  """Lock all Grease Pencil materials to prevent them from being accidentally modified
1399
1287
 
1400
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1401
- :type execution_context: typing.Optional[typing.Union[str, int]]
1402
- :type undo: typing.Optional[bool]
1288
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1289
+ :type execution_context: str | int | None
1290
+ :type undo: bool | None
1403
1291
  """
1404
1292
 
1405
1293
  ...
1406
1294
 
1407
1295
  def material_lock_unused(
1408
- override_context: typing.Optional[
1409
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1410
- ] = None,
1411
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1412
- undo: typing.Optional[bool] = None,
1296
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1297
+ execution_context: str | int | None = None,
1298
+ undo: bool | None = None,
1413
1299
  ):
1414
1300
  """Lock any material not used in any selected stroke
1415
1301
 
1416
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1417
- :type execution_context: typing.Optional[typing.Union[str, int]]
1418
- :type undo: typing.Optional[bool]
1302
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1303
+ :type execution_context: str | int | None
1304
+ :type undo: bool | None
1419
1305
  """
1420
1306
 
1421
1307
  ...
1422
1308
 
1423
1309
  def material_reveal(
1424
- override_context: typing.Optional[
1425
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1426
- ] = None,
1427
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1428
- undo: typing.Optional[bool] = None,
1310
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1311
+ execution_context: str | int | None = None,
1312
+ undo: bool | None = None,
1429
1313
  ):
1430
1314
  """Unhide all hidden Grease Pencil materials
1431
1315
 
1432
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1433
- :type execution_context: typing.Optional[typing.Union[str, int]]
1434
- :type undo: typing.Optional[bool]
1316
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1317
+ :type execution_context: str | int | None
1318
+ :type undo: bool | None
1435
1319
  """
1436
1320
 
1437
1321
  ...
1438
1322
 
1439
1323
  def material_select(
1440
- override_context: typing.Optional[
1441
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1442
- ] = None,
1443
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1444
- undo: typing.Optional[bool] = None,
1445
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
1324
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1325
+ execution_context: str | int | None = None,
1326
+ undo: bool | None = None,
1327
+ deselect: bool | typing.Any | None = False,
1446
1328
  ):
1447
1329
  """Select/Deselect all Grease Pencil strokes using current material
1448
1330
 
1449
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1450
- :type execution_context: typing.Optional[typing.Union[str, int]]
1451
- :type undo: typing.Optional[bool]
1331
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1332
+ :type execution_context: str | int | None
1333
+ :type undo: bool | None
1452
1334
  :param deselect: Deselect, Unselect strokes
1453
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
1335
+ :type deselect: bool | typing.Any | None
1454
1336
  """
1455
1337
 
1456
1338
  ...
1457
1339
 
1458
1340
  def material_set(
1459
- override_context: typing.Optional[
1460
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1461
- ] = None,
1462
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1463
- undo: typing.Optional[bool] = None,
1464
- slot: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
1341
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1342
+ execution_context: str | int | None = None,
1343
+ undo: bool | None = None,
1344
+ slot: str | int | typing.Any | None = "DEFAULT",
1465
1345
  ):
1466
1346
  """Set active material
1467
1347
 
1468
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1469
- :type execution_context: typing.Optional[typing.Union[str, int]]
1470
- :type undo: typing.Optional[bool]
1348
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1349
+ :type execution_context: str | int | None
1350
+ :type undo: bool | None
1471
1351
  :param slot: Material Slot
1472
- :type slot: typing.Optional[typing.Union[str, int, typing.Any]]
1352
+ :type slot: str | int | typing.Any | None
1473
1353
  """
1474
1354
 
1475
1355
  ...
1476
1356
 
1477
1357
  def material_to_vertex_color(
1478
- override_context: typing.Optional[
1479
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1480
- ] = None,
1481
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1482
- undo: typing.Optional[bool] = None,
1483
- remove: typing.Optional[typing.Union[bool, typing.Any]] = True,
1484
- palette: typing.Optional[typing.Union[bool, typing.Any]] = True,
1485
- selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
1486
- threshold: typing.Optional[typing.Any] = 3,
1358
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1359
+ execution_context: str | int | None = None,
1360
+ undo: bool | None = None,
1361
+ remove: bool | typing.Any | None = True,
1362
+ palette: bool | typing.Any | None = True,
1363
+ selected: bool | typing.Any | None = False,
1364
+ threshold: typing.Any | None = 3,
1487
1365
  ):
1488
1366
  """Replace materials in strokes with Vertex Color
1489
1367
 
1490
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1491
- :type execution_context: typing.Optional[typing.Union[str, int]]
1492
- :type undo: typing.Optional[bool]
1368
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1369
+ :type execution_context: str | int | None
1370
+ :type undo: bool | None
1493
1371
  :param remove: Remove Unused Materials, Remove any unused material after the conversion
1494
- :type remove: typing.Optional[typing.Union[bool, typing.Any]]
1372
+ :type remove: bool | typing.Any | None
1495
1373
  :param palette: Create Palette, Create a new palette with colors
1496
- :type palette: typing.Optional[typing.Union[bool, typing.Any]]
1374
+ :type palette: bool | typing.Any | None
1497
1375
  :param selected: Only Selected, Convert only selected strokes
1498
- :type selected: typing.Optional[typing.Union[bool, typing.Any]]
1376
+ :type selected: bool | typing.Any | None
1499
1377
  :param threshold: Threshold
1500
- :type threshold: typing.Optional[typing.Any]
1378
+ :type threshold: typing.Any | None
1501
1379
  """
1502
1380
 
1503
1381
  ...
1504
1382
 
1505
1383
  def material_unlock_all(
1506
- override_context: typing.Optional[
1507
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1508
- ] = None,
1509
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1510
- undo: typing.Optional[bool] = None,
1384
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1385
+ execution_context: str | int | None = None,
1386
+ undo: bool | None = None,
1511
1387
  ):
1512
1388
  """Unlock all Grease Pencil materials so that they can be edited
1513
1389
 
1514
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1515
- :type execution_context: typing.Optional[typing.Union[str, int]]
1516
- :type undo: typing.Optional[bool]
1390
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1391
+ :type execution_context: str | int | None
1392
+ :type undo: bool | None
1517
1393
  """
1518
1394
 
1519
1395
  ...
1520
1396
 
1521
1397
  def materials_copy_to_object(
1522
- override_context: typing.Optional[
1523
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1524
- ] = None,
1525
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1526
- undo: typing.Optional[bool] = None,
1527
- only_active: typing.Optional[typing.Union[bool, typing.Any]] = True,
1398
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1399
+ execution_context: str | int | None = None,
1400
+ undo: bool | None = None,
1401
+ only_active: bool | typing.Any | None = True,
1528
1402
  ):
1529
1403
  """Append Materials of the active Grease Pencil to other object
1530
1404
 
1531
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1532
- :type execution_context: typing.Optional[typing.Union[str, int]]
1533
- :type undo: typing.Optional[bool]
1405
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1406
+ :type execution_context: str | int | None
1407
+ :type undo: bool | None
1534
1408
  :param only_active: Only Active, Append only active material, uncheck to append all materials
1535
- :type only_active: typing.Optional[typing.Union[bool, typing.Any]]
1409
+ :type only_active: bool | typing.Any | None
1536
1410
  """
1537
1411
 
1538
1412
  ...
1539
1413
 
1540
1414
  def move_to_layer(
1541
- override_context: typing.Optional[
1542
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1543
- ] = None,
1544
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1545
- undo: typing.Optional[bool] = None,
1546
- layer: typing.Optional[typing.Any] = 0,
1547
- new_layer_name: typing.Union[str, typing.Any] = "",
1415
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1416
+ execution_context: str | int | None = None,
1417
+ undo: bool | None = None,
1418
+ layer: typing.Any | None = 0,
1419
+ new_layer_name: str | typing.Any = "",
1548
1420
  ):
1549
1421
  """Move selected strokes to another layer
1550
1422
 
1551
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1552
- :type execution_context: typing.Optional[typing.Union[str, int]]
1553
- :type undo: typing.Optional[bool]
1423
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1424
+ :type execution_context: str | int | None
1425
+ :type undo: bool | None
1554
1426
  :param layer: Grease Pencil Layer
1555
- :type layer: typing.Optional[typing.Any]
1427
+ :type layer: typing.Any | None
1556
1428
  :param new_layer_name: Name, Name of the newly added layer
1557
- :type new_layer_name: typing.Union[str, typing.Any]
1429
+ :type new_layer_name: str | typing.Any
1558
1430
  """
1559
1431
 
1560
1432
  ...
1561
1433
 
1562
1434
  def paintmode_toggle(
1563
- override_context: typing.Optional[
1564
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1565
- ] = None,
1566
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1567
- undo: typing.Optional[bool] = None,
1568
- back: typing.Optional[typing.Union[bool, typing.Any]] = False,
1435
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1436
+ execution_context: str | int | None = None,
1437
+ undo: bool | None = None,
1438
+ back: bool | typing.Any | None = False,
1569
1439
  ):
1570
1440
  """Enter/Exit paint mode for Grease Pencil strokes
1571
1441
 
1572
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1573
- :type execution_context: typing.Optional[typing.Union[str, int]]
1574
- :type undo: typing.Optional[bool]
1442
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1443
+ :type execution_context: str | int | None
1444
+ :type undo: bool | None
1575
1445
  :param back: Return to Previous Mode, Return to previous mode
1576
- :type back: typing.Optional[typing.Union[bool, typing.Any]]
1446
+ :type back: bool | typing.Any | None
1577
1447
  """
1578
1448
 
1579
1449
  ...
1580
1450
 
1581
1451
  def paste(
1582
- override_context: typing.Optional[
1583
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1584
- ] = None,
1585
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1586
- undo: typing.Optional[bool] = None,
1587
- type: typing.Optional[typing.Any] = "ACTIVE",
1588
- paste_back: typing.Optional[typing.Union[bool, typing.Any]] = False,
1452
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1453
+ execution_context: str | int | None = None,
1454
+ undo: bool | None = None,
1455
+ type: typing.Any | None = "ACTIVE",
1456
+ paste_back: bool | typing.Any | None = False,
1589
1457
  ):
1590
1458
  """Paste previously copied strokes to active layer or to original layer
1591
1459
 
1592
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1593
- :type execution_context: typing.Optional[typing.Union[str, int]]
1594
- :type undo: typing.Optional[bool]
1460
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1461
+ :type execution_context: str | int | None
1462
+ :type undo: bool | None
1595
1463
  :param type: Type
1596
- :type type: typing.Optional[typing.Any]
1464
+ :type type: typing.Any | None
1597
1465
  :param paste_back: Paste on Back, Add pasted strokes behind all strokes
1598
- :type paste_back: typing.Optional[typing.Union[bool, typing.Any]]
1466
+ :type paste_back: bool | typing.Any | None
1599
1467
  """
1600
1468
 
1601
1469
  ...
1602
1470
 
1603
1471
  def primitive_box(
1604
- override_context: typing.Optional[
1605
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1606
- ] = None,
1607
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1608
- undo: typing.Optional[bool] = None,
1609
- subdivision: typing.Optional[typing.Any] = 3,
1610
- edges: typing.Optional[typing.Any] = 1,
1611
- type: typing.Optional[typing.Any] = "BOX",
1612
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
1472
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1473
+ execution_context: str | int | None = None,
1474
+ undo: bool | None = None,
1475
+ subdivision: typing.Any | None = 3,
1476
+ edges: typing.Any | None = 1,
1477
+ type: typing.Any | None = "BOX",
1478
+ wait_for_input: bool | typing.Any | None = True,
1613
1479
  ):
1614
1480
  """Create predefined grease pencil stroke box shapes
1615
1481
 
1616
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1617
- :type execution_context: typing.Optional[typing.Union[str, int]]
1618
- :type undo: typing.Optional[bool]
1482
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1483
+ :type execution_context: str | int | None
1484
+ :type undo: bool | None
1619
1485
  :param subdivision: Subdivisions, Number of subdivisions per segment
1620
- :type subdivision: typing.Optional[typing.Any]
1486
+ :type subdivision: typing.Any | None
1621
1487
  :param edges: Edges, Number of points per segment
1622
- :type edges: typing.Optional[typing.Any]
1488
+ :type edges: typing.Any | None
1623
1489
  :param type: Type, Type of shape
1624
- :type type: typing.Optional[typing.Any]
1490
+ :type type: typing.Any | None
1625
1491
  :param wait_for_input: Wait for Input
1626
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
1492
+ :type wait_for_input: bool | typing.Any | None
1627
1493
  """
1628
1494
 
1629
1495
  ...
1630
1496
 
1631
1497
  def primitive_circle(
1632
- override_context: typing.Optional[
1633
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1634
- ] = None,
1635
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1636
- undo: typing.Optional[bool] = None,
1637
- subdivision: typing.Optional[typing.Any] = 94,
1638
- edges: typing.Optional[typing.Any] = 1,
1639
- type: typing.Optional[typing.Any] = "CIRCLE",
1640
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
1498
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1499
+ execution_context: str | int | None = None,
1500
+ undo: bool | None = None,
1501
+ subdivision: typing.Any | None = 94,
1502
+ edges: typing.Any | None = 1,
1503
+ type: typing.Any | None = "CIRCLE",
1504
+ wait_for_input: bool | typing.Any | None = True,
1641
1505
  ):
1642
1506
  """Create predefined grease pencil stroke circle shapes
1643
1507
 
1644
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1645
- :type execution_context: typing.Optional[typing.Union[str, int]]
1646
- :type undo: typing.Optional[bool]
1508
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1509
+ :type execution_context: str | int | None
1510
+ :type undo: bool | None
1647
1511
  :param subdivision: Subdivisions, Number of subdivisions per segment
1648
- :type subdivision: typing.Optional[typing.Any]
1512
+ :type subdivision: typing.Any | None
1649
1513
  :param edges: Edges, Number of points per segment
1650
- :type edges: typing.Optional[typing.Any]
1514
+ :type edges: typing.Any | None
1651
1515
  :param type: Type, Type of shape
1652
- :type type: typing.Optional[typing.Any]
1516
+ :type type: typing.Any | None
1653
1517
  :param wait_for_input: Wait for Input
1654
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
1518
+ :type wait_for_input: bool | typing.Any | None
1655
1519
  """
1656
1520
 
1657
1521
  ...
1658
1522
 
1659
1523
  def primitive_curve(
1660
- override_context: typing.Optional[
1661
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1662
- ] = None,
1663
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1664
- undo: typing.Optional[bool] = None,
1665
- subdivision: typing.Optional[typing.Any] = 62,
1666
- edges: typing.Optional[typing.Any] = 1,
1667
- type: typing.Optional[typing.Any] = "CURVE",
1668
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
1524
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1525
+ execution_context: str | int | None = None,
1526
+ undo: bool | None = None,
1527
+ subdivision: typing.Any | None = 62,
1528
+ edges: typing.Any | None = 1,
1529
+ type: typing.Any | None = "CURVE",
1530
+ wait_for_input: bool | typing.Any | None = True,
1669
1531
  ):
1670
1532
  """Create predefined grease pencil stroke curve shapes
1671
1533
 
1672
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1673
- :type execution_context: typing.Optional[typing.Union[str, int]]
1674
- :type undo: typing.Optional[bool]
1534
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1535
+ :type execution_context: str | int | None
1536
+ :type undo: bool | None
1675
1537
  :param subdivision: Subdivisions, Number of subdivisions per segment
1676
- :type subdivision: typing.Optional[typing.Any]
1538
+ :type subdivision: typing.Any | None
1677
1539
  :param edges: Edges, Number of points per segment
1678
- :type edges: typing.Optional[typing.Any]
1540
+ :type edges: typing.Any | None
1679
1541
  :param type: Type, Type of shape
1680
- :type type: typing.Optional[typing.Any]
1542
+ :type type: typing.Any | None
1681
1543
  :param wait_for_input: Wait for Input
1682
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
1544
+ :type wait_for_input: bool | typing.Any | None
1683
1545
  """
1684
1546
 
1685
1547
  ...
1686
1548
 
1687
1549
  def primitive_line(
1688
- override_context: typing.Optional[
1689
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1690
- ] = None,
1691
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1692
- undo: typing.Optional[bool] = None,
1693
- subdivision: typing.Optional[typing.Any] = 6,
1694
- edges: typing.Optional[typing.Any] = 1,
1695
- type: typing.Optional[typing.Any] = "LINE",
1696
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
1550
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1551
+ execution_context: str | int | None = None,
1552
+ undo: bool | None = None,
1553
+ subdivision: typing.Any | None = 6,
1554
+ edges: typing.Any | None = 1,
1555
+ type: typing.Any | None = "LINE",
1556
+ wait_for_input: bool | typing.Any | None = True,
1697
1557
  ):
1698
1558
  """Create predefined grease pencil stroke lines
1699
1559
 
1700
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1701
- :type execution_context: typing.Optional[typing.Union[str, int]]
1702
- :type undo: typing.Optional[bool]
1560
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1561
+ :type execution_context: str | int | None
1562
+ :type undo: bool | None
1703
1563
  :param subdivision: Subdivisions, Number of subdivisions per segment
1704
- :type subdivision: typing.Optional[typing.Any]
1564
+ :type subdivision: typing.Any | None
1705
1565
  :param edges: Edges, Number of points per segment
1706
- :type edges: typing.Optional[typing.Any]
1566
+ :type edges: typing.Any | None
1707
1567
  :param type: Type, Type of shape
1708
- :type type: typing.Optional[typing.Any]
1568
+ :type type: typing.Any | None
1709
1569
  :param wait_for_input: Wait for Input
1710
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
1570
+ :type wait_for_input: bool | typing.Any | None
1711
1571
  """
1712
1572
 
1713
1573
  ...
1714
1574
 
1715
1575
  def primitive_polyline(
1716
- override_context: typing.Optional[
1717
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1718
- ] = None,
1719
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1720
- undo: typing.Optional[bool] = None,
1721
- subdivision: typing.Optional[typing.Any] = 6,
1722
- edges: typing.Optional[typing.Any] = 1,
1723
- type: typing.Optional[typing.Any] = "POLYLINE",
1724
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
1576
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1577
+ execution_context: str | int | None = None,
1578
+ undo: bool | None = None,
1579
+ subdivision: typing.Any | None = 6,
1580
+ edges: typing.Any | None = 1,
1581
+ type: typing.Any | None = "POLYLINE",
1582
+ wait_for_input: bool | typing.Any | None = True,
1725
1583
  ):
1726
1584
  """Create predefined grease pencil stroke polylines
1727
1585
 
1728
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1729
- :type execution_context: typing.Optional[typing.Union[str, int]]
1730
- :type undo: typing.Optional[bool]
1586
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1587
+ :type execution_context: str | int | None
1588
+ :type undo: bool | None
1731
1589
  :param subdivision: Subdivisions, Number of subdivisions per segment
1732
- :type subdivision: typing.Optional[typing.Any]
1590
+ :type subdivision: typing.Any | None
1733
1591
  :param edges: Edges, Number of points per segment
1734
- :type edges: typing.Optional[typing.Any]
1592
+ :type edges: typing.Any | None
1735
1593
  :param type: Type, Type of shape
1736
- :type type: typing.Optional[typing.Any]
1594
+ :type type: typing.Any | None
1737
1595
  :param wait_for_input: Wait for Input
1738
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
1596
+ :type wait_for_input: bool | typing.Any | None
1739
1597
  """
1740
1598
 
1741
1599
  ...
1742
1600
 
1743
1601
  def recalc_geometry(
1744
- override_context: typing.Optional[
1745
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1746
- ] = None,
1747
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1748
- undo: typing.Optional[bool] = None,
1602
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1603
+ execution_context: str | int | None = None,
1604
+ undo: bool | None = None,
1749
1605
  ):
1750
1606
  """Update all internal geometry data
1751
1607
 
1752
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1753
- :type execution_context: typing.Optional[typing.Union[str, int]]
1754
- :type undo: typing.Optional[bool]
1608
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1609
+ :type execution_context: str | int | None
1610
+ :type undo: bool | None
1755
1611
  """
1756
1612
 
1757
1613
  ...
1758
1614
 
1759
1615
  def reproject(
1760
- override_context: typing.Optional[
1761
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1762
- ] = None,
1763
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1764
- undo: typing.Optional[bool] = None,
1765
- type: typing.Optional[typing.Any] = "VIEW",
1766
- keep_original: typing.Optional[typing.Union[bool, typing.Any]] = False,
1767
- offset: typing.Optional[typing.Any] = 0.0,
1616
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1617
+ execution_context: str | int | None = None,
1618
+ undo: bool | None = None,
1619
+ type: typing.Any | None = "VIEW",
1620
+ keep_original: bool | typing.Any | None = False,
1621
+ offset: typing.Any | None = 0.0,
1768
1622
  ):
1769
1623
  """Reproject the selected strokes from the current viewpoint as if they had been newly drawn (e.g. to fix problems from accidental 3D cursor movement or accidental viewport changes, or for matching deforming geometry)
1770
1624
 
1771
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1772
- :type execution_context: typing.Optional[typing.Union[str, int]]
1773
- :type undo: typing.Optional[bool]
1625
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1626
+ :type execution_context: str | int | None
1627
+ :type undo: bool | None
1774
1628
  :param type: Projection Type
1775
1629
 
1776
1630
  FRONT
@@ -1790,212 +1644,193 @@ def reproject(
1790
1644
 
1791
1645
  CURSOR
1792
1646
  Cursor -- Reproject the strokes using the orientation of 3D cursor.
1793
- :type type: typing.Optional[typing.Any]
1647
+ :type type: typing.Any | None
1794
1648
  :param keep_original: Keep Original, Keep original strokes and create a copy before reprojecting
1795
- :type keep_original: typing.Optional[typing.Union[bool, typing.Any]]
1649
+ :type keep_original: bool | typing.Any | None
1796
1650
  :param offset: Surface Offset
1797
- :type offset: typing.Optional[typing.Any]
1651
+ :type offset: typing.Any | None
1798
1652
  """
1799
1653
 
1800
1654
  ...
1801
1655
 
1802
1656
  def reset_transform_fill(
1803
- override_context: typing.Optional[
1804
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1805
- ] = None,
1806
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1807
- undo: typing.Optional[bool] = None,
1808
- mode: typing.Optional[typing.Any] = "ALL",
1657
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1658
+ execution_context: str | int | None = None,
1659
+ undo: bool | None = None,
1660
+ mode: typing.Any | None = "ALL",
1809
1661
  ):
1810
1662
  """Reset any UV transformation and back to default values
1811
1663
 
1812
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1813
- :type execution_context: typing.Optional[typing.Union[str, int]]
1814
- :type undo: typing.Optional[bool]
1664
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1665
+ :type execution_context: str | int | None
1666
+ :type undo: bool | None
1815
1667
  :param mode: Mode
1816
- :type mode: typing.Optional[typing.Any]
1668
+ :type mode: typing.Any | None
1817
1669
  """
1818
1670
 
1819
1671
  ...
1820
1672
 
1821
1673
  def reveal(
1822
- override_context: typing.Optional[
1823
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1824
- ] = None,
1825
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1826
- undo: typing.Optional[bool] = None,
1827
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
1674
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1675
+ execution_context: str | int | None = None,
1676
+ undo: bool | None = None,
1677
+ select: bool | typing.Any | None = True,
1828
1678
  ):
1829
1679
  """Show all Grease Pencil layers
1830
1680
 
1831
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1832
- :type execution_context: typing.Optional[typing.Union[str, int]]
1833
- :type undo: typing.Optional[bool]
1681
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1682
+ :type execution_context: str | int | None
1683
+ :type undo: bool | None
1834
1684
  :param select: Select
1835
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
1685
+ :type select: bool | typing.Any | None
1836
1686
  """
1837
1687
 
1838
1688
  ...
1839
1689
 
1840
1690
  def sculpt_paint(
1841
- override_context: typing.Optional[
1842
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1843
- ] = None,
1844
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1845
- undo: typing.Optional[bool] = None,
1846
- stroke: typing.Optional[
1847
- bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1848
- ] = None,
1849
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
1691
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1692
+ execution_context: str | int | None = None,
1693
+ undo: bool | None = None,
1694
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1695
+ | None = None,
1696
+ wait_for_input: bool | typing.Any | None = True,
1850
1697
  ):
1851
1698
  """Apply tweaks to strokes by painting over the strokes
1852
1699
 
1853
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1854
- :type execution_context: typing.Optional[typing.Union[str, int]]
1855
- :type undo: typing.Optional[bool]
1700
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1701
+ :type execution_context: str | int | None
1702
+ :type undo: bool | None
1856
1703
  :param stroke: Stroke
1857
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
1704
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
1858
1705
  :param wait_for_input: Wait for Input, Enter a mini 'sculpt-mode' if enabled, otherwise, exit after drawing a single stroke
1859
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
1706
+ :type wait_for_input: bool | typing.Any | None
1860
1707
  """
1861
1708
 
1862
1709
  ...
1863
1710
 
1864
1711
  def sculptmode_toggle(
1865
- override_context: typing.Optional[
1866
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1867
- ] = None,
1868
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1869
- undo: typing.Optional[bool] = None,
1870
- back: typing.Optional[typing.Union[bool, typing.Any]] = False,
1712
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1713
+ execution_context: str | int | None = None,
1714
+ undo: bool | None = None,
1715
+ back: bool | typing.Any | None = False,
1871
1716
  ):
1872
1717
  """Enter/Exit sculpt mode for Grease Pencil strokes
1873
1718
 
1874
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1875
- :type execution_context: typing.Optional[typing.Union[str, int]]
1876
- :type undo: typing.Optional[bool]
1719
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1720
+ :type execution_context: str | int | None
1721
+ :type undo: bool | None
1877
1722
  :param back: Return to Previous Mode, Return to previous mode
1878
- :type back: typing.Optional[typing.Union[bool, typing.Any]]
1723
+ :type back: bool | typing.Any | None
1879
1724
  """
1880
1725
 
1881
1726
  ...
1882
1727
 
1883
1728
  def segment_add(
1884
- override_context: typing.Optional[
1885
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1886
- ] = None,
1887
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1888
- undo: typing.Optional[bool] = None,
1889
- modifier: typing.Union[str, typing.Any] = "",
1729
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1730
+ execution_context: str | int | None = None,
1731
+ undo: bool | None = None,
1732
+ modifier: str | typing.Any = "",
1890
1733
  ):
1891
1734
  """Add a segment to the dash modifier
1892
1735
 
1893
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1894
- :type execution_context: typing.Optional[typing.Union[str, int]]
1895
- :type undo: typing.Optional[bool]
1736
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1737
+ :type execution_context: str | int | None
1738
+ :type undo: bool | None
1896
1739
  :param modifier: Modifier, Name of the modifier to edit
1897
- :type modifier: typing.Union[str, typing.Any]
1740
+ :type modifier: str | typing.Any
1898
1741
  """
1899
1742
 
1900
1743
  ...
1901
1744
 
1902
1745
  def segment_move(
1903
- override_context: typing.Optional[
1904
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1905
- ] = None,
1906
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1907
- undo: typing.Optional[bool] = None,
1908
- modifier: typing.Union[str, typing.Any] = "",
1909
- type: typing.Optional[typing.Any] = "UP",
1746
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1747
+ execution_context: str | int | None = None,
1748
+ undo: bool | None = None,
1749
+ modifier: str | typing.Any = "",
1750
+ type: typing.Any | None = "UP",
1910
1751
  ):
1911
1752
  """Move the active dash segment up or down
1912
1753
 
1913
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1914
- :type execution_context: typing.Optional[typing.Union[str, int]]
1915
- :type undo: typing.Optional[bool]
1754
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1755
+ :type execution_context: str | int | None
1756
+ :type undo: bool | None
1916
1757
  :param modifier: Modifier, Name of the modifier to edit
1917
- :type modifier: typing.Union[str, typing.Any]
1758
+ :type modifier: str | typing.Any
1918
1759
  :param type: Type
1919
- :type type: typing.Optional[typing.Any]
1760
+ :type type: typing.Any | None
1920
1761
  """
1921
1762
 
1922
1763
  ...
1923
1764
 
1924
1765
  def segment_remove(
1925
- override_context: typing.Optional[
1926
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1927
- ] = None,
1928
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1929
- undo: typing.Optional[bool] = None,
1930
- modifier: typing.Union[str, typing.Any] = "",
1931
- index: typing.Optional[typing.Any] = 0,
1766
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1767
+ execution_context: str | int | None = None,
1768
+ undo: bool | None = None,
1769
+ modifier: str | typing.Any = "",
1770
+ index: typing.Any | None = 0,
1932
1771
  ):
1933
1772
  """Remove the active segment from the dash modifier
1934
1773
 
1935
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1936
- :type execution_context: typing.Optional[typing.Union[str, int]]
1937
- :type undo: typing.Optional[bool]
1774
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1775
+ :type execution_context: str | int | None
1776
+ :type undo: bool | None
1938
1777
  :param modifier: Modifier, Name of the modifier to edit
1939
- :type modifier: typing.Union[str, typing.Any]
1778
+ :type modifier: str | typing.Any
1940
1779
  :param index: Index, Index of the segment to remove
1941
- :type index: typing.Optional[typing.Any]
1780
+ :type index: typing.Any | None
1942
1781
  """
1943
1782
 
1944
1783
  ...
1945
1784
 
1946
1785
  def select(
1947
- override_context: typing.Optional[
1948
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1949
- ] = None,
1950
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1951
- undo: typing.Optional[bool] = None,
1952
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
1953
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
1954
- toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
1955
- deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
1956
- select_passthrough: typing.Optional[typing.Union[bool, typing.Any]] = False,
1957
- entire_strokes: typing.Optional[typing.Union[bool, typing.Any]] = False,
1958
- location: typing.Optional[typing.Any] = (0, 0),
1959
- use_shift_extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
1786
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1787
+ execution_context: str | int | None = None,
1788
+ undo: bool | None = None,
1789
+ extend: bool | typing.Any | None = False,
1790
+ deselect: bool | typing.Any | None = False,
1791
+ toggle: bool | typing.Any | None = False,
1792
+ deselect_all: bool | typing.Any | None = False,
1793
+ select_passthrough: bool | typing.Any | None = False,
1794
+ entire_strokes: bool | typing.Any | None = False,
1795
+ location: typing.Any | None = (0, 0),
1796
+ use_shift_extend: bool | typing.Any | None = False,
1960
1797
  ):
1961
1798
  """Select Grease Pencil strokes and/or stroke points
1962
1799
 
1963
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1964
- :type execution_context: typing.Optional[typing.Union[str, int]]
1965
- :type undo: typing.Optional[bool]
1800
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1801
+ :type execution_context: str | int | None
1802
+ :type undo: bool | None
1966
1803
  :param extend: Extend, Extend selection instead of deselecting everything first
1967
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
1804
+ :type extend: bool | typing.Any | None
1968
1805
  :param deselect: Deselect, Remove from selection
1969
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
1806
+ :type deselect: bool | typing.Any | None
1970
1807
  :param toggle: Toggle Selection, Toggle the selection
1971
- :type toggle: typing.Optional[typing.Union[bool, typing.Any]]
1808
+ :type toggle: bool | typing.Any | None
1972
1809
  :param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
1973
- :type deselect_all: typing.Optional[typing.Union[bool, typing.Any]]
1810
+ :type deselect_all: bool | typing.Any | None
1974
1811
  :param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
1975
- :type select_passthrough: typing.Optional[typing.Union[bool, typing.Any]]
1812
+ :type select_passthrough: bool | typing.Any | None
1976
1813
  :param entire_strokes: Entire Strokes, Select entire strokes instead of just the nearest stroke vertex
1977
- :type entire_strokes: typing.Optional[typing.Union[bool, typing.Any]]
1814
+ :type entire_strokes: bool | typing.Any | None
1978
1815
  :param location: Location, Mouse location
1979
- :type location: typing.Optional[typing.Any]
1816
+ :type location: typing.Any | None
1980
1817
  :param use_shift_extend: Extend
1981
- :type use_shift_extend: typing.Optional[typing.Union[bool, typing.Any]]
1818
+ :type use_shift_extend: bool | typing.Any | None
1982
1819
  """
1983
1820
 
1984
1821
  ...
1985
1822
 
1986
1823
  def select_all(
1987
- override_context: typing.Optional[
1988
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1989
- ] = None,
1990
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1991
- undo: typing.Optional[bool] = None,
1992
- action: typing.Optional[typing.Any] = "TOGGLE",
1824
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1825
+ execution_context: str | int | None = None,
1826
+ undo: bool | None = None,
1827
+ action: typing.Any | None = "TOGGLE",
1993
1828
  ):
1994
1829
  """Change selection of all Grease Pencil strokes currently visible
1995
1830
 
1996
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1997
- :type execution_context: typing.Optional[typing.Union[str, int]]
1998
- :type undo: typing.Optional[bool]
1831
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1832
+ :type execution_context: str | int | None
1833
+ :type undo: bool | None
1999
1834
  :param action: Action, Selection action to execute
2000
1835
 
2001
1836
  TOGGLE
@@ -2009,58 +1844,54 @@ def select_all(
2009
1844
 
2010
1845
  INVERT
2011
1846
  Invert -- Invert selection of all elements.
2012
- :type action: typing.Optional[typing.Any]
1847
+ :type action: typing.Any | None
2013
1848
  """
2014
1849
 
2015
1850
  ...
2016
1851
 
2017
1852
  def select_alternate(
2018
- override_context: typing.Optional[
2019
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2020
- ] = None,
2021
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2022
- undo: typing.Optional[bool] = None,
2023
- unselect_ends: typing.Optional[typing.Union[bool, typing.Any]] = False,
1853
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1854
+ execution_context: str | int | None = None,
1855
+ undo: bool | None = None,
1856
+ unselect_ends: bool | typing.Any | None = False,
2024
1857
  ):
2025
1858
  """Select alternative points in same strokes as already selected points
2026
1859
 
2027
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2028
- :type execution_context: typing.Optional[typing.Union[str, int]]
2029
- :type undo: typing.Optional[bool]
1860
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1861
+ :type execution_context: str | int | None
1862
+ :type undo: bool | None
2030
1863
  :param unselect_ends: Unselect Ends, Do not select the first and last point of the stroke
2031
- :type unselect_ends: typing.Optional[typing.Union[bool, typing.Any]]
1864
+ :type unselect_ends: bool | typing.Any | None
2032
1865
  """
2033
1866
 
2034
1867
  ...
2035
1868
 
2036
1869
  def select_box(
2037
- override_context: typing.Optional[
2038
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2039
- ] = None,
2040
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2041
- undo: typing.Optional[bool] = None,
2042
- xmin: typing.Optional[typing.Any] = 0,
2043
- xmax: typing.Optional[typing.Any] = 0,
2044
- ymin: typing.Optional[typing.Any] = 0,
2045
- ymax: typing.Optional[typing.Any] = 0,
2046
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
2047
- mode: typing.Optional[typing.Any] = "SET",
1870
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1871
+ execution_context: str | int | None = None,
1872
+ undo: bool | None = None,
1873
+ xmin: typing.Any | None = 0,
1874
+ xmax: typing.Any | None = 0,
1875
+ ymin: typing.Any | None = 0,
1876
+ ymax: typing.Any | None = 0,
1877
+ wait_for_input: bool | typing.Any | None = True,
1878
+ mode: typing.Any | None = "SET",
2048
1879
  ):
2049
1880
  """Select Grease Pencil strokes within a rectangular region
2050
1881
 
2051
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2052
- :type execution_context: typing.Optional[typing.Union[str, int]]
2053
- :type undo: typing.Optional[bool]
1882
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1883
+ :type execution_context: str | int | None
1884
+ :type undo: bool | None
2054
1885
  :param xmin: X Min
2055
- :type xmin: typing.Optional[typing.Any]
1886
+ :type xmin: typing.Any | None
2056
1887
  :param xmax: X Max
2057
- :type xmax: typing.Optional[typing.Any]
1888
+ :type xmax: typing.Any | None
2058
1889
  :param ymin: Y Min
2059
- :type ymin: typing.Optional[typing.Any]
1890
+ :type ymin: typing.Any | None
2060
1891
  :param ymax: Y Max
2061
- :type ymax: typing.Optional[typing.Any]
1892
+ :type ymax: typing.Any | None
2062
1893
  :param wait_for_input: Wait for Input
2063
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
1894
+ :type wait_for_input: bool | typing.Any | None
2064
1895
  :param mode: Mode
2065
1896
 
2066
1897
  SET
@@ -2077,36 +1908,34 @@ def select_box(
2077
1908
 
2078
1909
  AND
2079
1910
  Intersect -- Intersect existing selection.
2080
- :type mode: typing.Optional[typing.Any]
1911
+ :type mode: typing.Any | None
2081
1912
  """
2082
1913
 
2083
1914
  ...
2084
1915
 
2085
1916
  def select_circle(
2086
- override_context: typing.Optional[
2087
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2088
- ] = None,
2089
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2090
- undo: typing.Optional[bool] = None,
2091
- x: typing.Optional[typing.Any] = 0,
2092
- y: typing.Optional[typing.Any] = 0,
2093
- radius: typing.Optional[typing.Any] = 25,
2094
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
2095
- mode: typing.Optional[typing.Any] = "SET",
1917
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1918
+ execution_context: str | int | None = None,
1919
+ undo: bool | None = None,
1920
+ x: typing.Any | None = 0,
1921
+ y: typing.Any | None = 0,
1922
+ radius: typing.Any | None = 25,
1923
+ wait_for_input: bool | typing.Any | None = True,
1924
+ mode: typing.Any | None = "SET",
2096
1925
  ):
2097
1926
  """Select Grease Pencil strokes using brush selection
2098
1927
 
2099
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2100
- :type execution_context: typing.Optional[typing.Union[str, int]]
2101
- :type undo: typing.Optional[bool]
1928
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1929
+ :type execution_context: str | int | None
1930
+ :type undo: bool | None
2102
1931
  :param x: X
2103
- :type x: typing.Optional[typing.Any]
1932
+ :type x: typing.Any | None
2104
1933
  :param y: Y
2105
- :type y: typing.Optional[typing.Any]
1934
+ :type y: typing.Any | None
2106
1935
  :param radius: Radius
2107
- :type radius: typing.Optional[typing.Any]
1936
+ :type radius: typing.Any | None
2108
1937
  :param wait_for_input: Wait for Input
2109
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
1938
+ :type wait_for_input: bool | typing.Any | None
2110
1939
  :param mode: Mode
2111
1940
 
2112
1941
  SET
@@ -2117,46 +1946,42 @@ def select_circle(
2117
1946
 
2118
1947
  SUB
2119
1948
  Subtract -- Subtract existing selection.
2120
- :type mode: typing.Optional[typing.Any]
1949
+ :type mode: typing.Any | None
2121
1950
  """
2122
1951
 
2123
1952
  ...
2124
1953
 
2125
1954
  def select_first(
2126
- override_context: typing.Optional[
2127
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2128
- ] = None,
2129
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2130
- undo: typing.Optional[bool] = None,
2131
- only_selected_strokes: typing.Optional[typing.Union[bool, typing.Any]] = False,
2132
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
1955
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1956
+ execution_context: str | int | None = None,
1957
+ undo: bool | None = None,
1958
+ only_selected_strokes: bool | typing.Any | None = False,
1959
+ extend: bool | typing.Any | None = False,
2133
1960
  ):
2134
1961
  """Select first point in Grease Pencil strokes
2135
1962
 
2136
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2137
- :type execution_context: typing.Optional[typing.Union[str, int]]
2138
- :type undo: typing.Optional[bool]
1963
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1964
+ :type execution_context: str | int | None
1965
+ :type undo: bool | None
2139
1966
  :param only_selected_strokes: Selected Strokes Only, Only select the first point of strokes that already have points selected
2140
- :type only_selected_strokes: typing.Optional[typing.Union[bool, typing.Any]]
1967
+ :type only_selected_strokes: bool | typing.Any | None
2141
1968
  :param extend: Extend, Extend selection instead of deselecting all other selected points
2142
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
1969
+ :type extend: bool | typing.Any | None
2143
1970
  """
2144
1971
 
2145
1972
  ...
2146
1973
 
2147
1974
  def select_grouped(
2148
- override_context: typing.Optional[
2149
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2150
- ] = None,
2151
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2152
- undo: typing.Optional[bool] = None,
2153
- type: typing.Optional[typing.Any] = "LAYER",
1975
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1976
+ execution_context: str | int | None = None,
1977
+ undo: bool | None = None,
1978
+ type: typing.Any | None = "LAYER",
2154
1979
  ):
2155
1980
  """Select all strokes with similar characteristics
2156
1981
 
2157
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2158
- :type execution_context: typing.Optional[typing.Union[str, int]]
2159
- :type undo: typing.Optional[bool]
1982
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1983
+ :type execution_context: str | int | None
1984
+ :type undo: bool | None
2160
1985
  :param type: Type
2161
1986
 
2162
1987
  LAYER
@@ -2164,27 +1989,23 @@ def select_grouped(
2164
1989
 
2165
1990
  MATERIAL
2166
1991
  Material -- Shared materials.
2167
- :type type: typing.Optional[typing.Any]
1992
+ :type type: typing.Any | None
2168
1993
  """
2169
1994
 
2170
1995
  ...
2171
1996
 
2172
1997
  def select_lasso(
2173
- override_context: typing.Optional[
2174
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2175
- ] = None,
2176
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2177
- undo: typing.Optional[bool] = None,
2178
- mode: typing.Optional[typing.Any] = "SET",
2179
- path: typing.Optional[
2180
- bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
2181
- ] = None,
1998
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1999
+ execution_context: str | int | None = None,
2000
+ undo: bool | None = None,
2001
+ mode: typing.Any | None = "SET",
2002
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
2182
2003
  ):
2183
2004
  """Select Grease Pencil strokes using lasso selection
2184
2005
 
2185
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2186
- :type execution_context: typing.Optional[typing.Union[str, int]]
2187
- :type undo: typing.Optional[bool]
2006
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2007
+ :type execution_context: str | int | None
2008
+ :type undo: bool | None
2188
2009
  :param mode: Mode
2189
2010
 
2190
2011
  SET
@@ -2201,103 +2022,93 @@ def select_lasso(
2201
2022
 
2202
2023
  AND
2203
2024
  Intersect -- Intersect existing selection.
2204
- :type mode: typing.Optional[typing.Any]
2025
+ :type mode: typing.Any | None
2205
2026
  :param path: Path
2206
- :type path: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]]
2027
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
2207
2028
  """
2208
2029
 
2209
2030
  ...
2210
2031
 
2211
2032
  def select_last(
2212
- override_context: typing.Optional[
2213
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2214
- ] = None,
2215
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2216
- undo: typing.Optional[bool] = None,
2217
- only_selected_strokes: typing.Optional[typing.Union[bool, typing.Any]] = False,
2218
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
2033
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2034
+ execution_context: str | int | None = None,
2035
+ undo: bool | None = None,
2036
+ only_selected_strokes: bool | typing.Any | None = False,
2037
+ extend: bool | typing.Any | None = False,
2219
2038
  ):
2220
2039
  """Select last point in Grease Pencil strokes
2221
2040
 
2222
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2223
- :type execution_context: typing.Optional[typing.Union[str, int]]
2224
- :type undo: typing.Optional[bool]
2041
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2042
+ :type execution_context: str | int | None
2043
+ :type undo: bool | None
2225
2044
  :param only_selected_strokes: Selected Strokes Only, Only select the last point of strokes that already have points selected
2226
- :type only_selected_strokes: typing.Optional[typing.Union[bool, typing.Any]]
2045
+ :type only_selected_strokes: bool | typing.Any | None
2227
2046
  :param extend: Extend, Extend selection instead of deselecting all other selected points
2228
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
2047
+ :type extend: bool | typing.Any | None
2229
2048
  """
2230
2049
 
2231
2050
  ...
2232
2051
 
2233
2052
  def select_less(
2234
- override_context: typing.Optional[
2235
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2236
- ] = None,
2237
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2238
- undo: typing.Optional[bool] = None,
2053
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2054
+ execution_context: str | int | None = None,
2055
+ undo: bool | None = None,
2239
2056
  ):
2240
2057
  """Shrink sets of selected Grease Pencil points
2241
2058
 
2242
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2243
- :type execution_context: typing.Optional[typing.Union[str, int]]
2244
- :type undo: typing.Optional[bool]
2059
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2060
+ :type execution_context: str | int | None
2061
+ :type undo: bool | None
2245
2062
  """
2246
2063
 
2247
2064
  ...
2248
2065
 
2249
2066
  def select_linked(
2250
- override_context: typing.Optional[
2251
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2252
- ] = None,
2253
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2254
- undo: typing.Optional[bool] = None,
2067
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2068
+ execution_context: str | int | None = None,
2069
+ undo: bool | None = None,
2255
2070
  ):
2256
2071
  """Select all points in same strokes as already selected points
2257
2072
 
2258
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2259
- :type execution_context: typing.Optional[typing.Union[str, int]]
2260
- :type undo: typing.Optional[bool]
2073
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2074
+ :type execution_context: str | int | None
2075
+ :type undo: bool | None
2261
2076
  """
2262
2077
 
2263
2078
  ...
2264
2079
 
2265
2080
  def select_more(
2266
- override_context: typing.Optional[
2267
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2268
- ] = None,
2269
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2270
- undo: typing.Optional[bool] = None,
2081
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2082
+ execution_context: str | int | None = None,
2083
+ undo: bool | None = None,
2271
2084
  ):
2272
2085
  """Grow sets of selected Grease Pencil points
2273
2086
 
2274
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2275
- :type execution_context: typing.Optional[typing.Union[str, int]]
2276
- :type undo: typing.Optional[bool]
2087
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2088
+ :type execution_context: str | int | None
2089
+ :type undo: bool | None
2277
2090
  """
2278
2091
 
2279
2092
  ...
2280
2093
 
2281
2094
  def select_random(
2282
- override_context: typing.Optional[
2283
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2284
- ] = None,
2285
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2286
- undo: typing.Optional[bool] = None,
2287
- ratio: typing.Optional[typing.Any] = 0.5,
2288
- seed: typing.Optional[typing.Any] = 0,
2289
- action: typing.Optional[typing.Any] = "SELECT",
2290
- unselect_ends: typing.Optional[typing.Union[bool, typing.Any]] = False,
2095
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2096
+ execution_context: str | int | None = None,
2097
+ undo: bool | None = None,
2098
+ ratio: typing.Any | None = 0.5,
2099
+ seed: typing.Any | None = 0,
2100
+ action: typing.Any | None = "SELECT",
2101
+ unselect_ends: bool | typing.Any | None = False,
2291
2102
  ):
2292
2103
  """Select random points for non selected strokes
2293
2104
 
2294
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2295
- :type execution_context: typing.Optional[typing.Union[str, int]]
2296
- :type undo: typing.Optional[bool]
2105
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2106
+ :type execution_context: str | int | None
2107
+ :type undo: bool | None
2297
2108
  :param ratio: Ratio, Portion of items to select randomly
2298
- :type ratio: typing.Optional[typing.Any]
2109
+ :type ratio: typing.Any | None
2299
2110
  :param seed: Random Seed, Seed for the random number generator
2300
- :type seed: typing.Optional[typing.Any]
2111
+ :type seed: typing.Any | None
2301
2112
  :param action: Action, Selection action to execute
2302
2113
 
2303
2114
  SELECT
@@ -2305,182 +2116,162 @@ def select_random(
2305
2116
 
2306
2117
  DESELECT
2307
2118
  Deselect -- Deselect all elements.
2308
- :type action: typing.Optional[typing.Any]
2119
+ :type action: typing.Any | None
2309
2120
  :param unselect_ends: Unselect Ends, Do not select the first and last point of the stroke
2310
- :type unselect_ends: typing.Optional[typing.Union[bool, typing.Any]]
2121
+ :type unselect_ends: bool | typing.Any | None
2311
2122
  """
2312
2123
 
2313
2124
  ...
2314
2125
 
2315
2126
  def select_vertex_color(
2316
- override_context: typing.Optional[
2317
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2318
- ] = None,
2319
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2320
- undo: typing.Optional[bool] = None,
2321
- threshold: typing.Optional[typing.Any] = 0,
2127
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2128
+ execution_context: str | int | None = None,
2129
+ undo: bool | None = None,
2130
+ threshold: typing.Any | None = 0,
2322
2131
  ):
2323
2132
  """Select all points with similar vertex color of current selected
2324
2133
 
2325
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2326
- :type execution_context: typing.Optional[typing.Union[str, int]]
2327
- :type undo: typing.Optional[bool]
2134
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2135
+ :type execution_context: str | int | None
2136
+ :type undo: bool | None
2328
2137
  :param threshold: Threshold, Tolerance of the selection. Higher values select a wider range of similar colors
2329
- :type threshold: typing.Optional[typing.Any]
2138
+ :type threshold: typing.Any | None
2330
2139
  """
2331
2140
 
2332
2141
  ...
2333
2142
 
2334
2143
  def selection_opacity_toggle(
2335
- override_context: typing.Optional[
2336
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2337
- ] = None,
2338
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2339
- undo: typing.Optional[bool] = None,
2144
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2145
+ execution_context: str | int | None = None,
2146
+ undo: bool | None = None,
2340
2147
  ):
2341
2148
  """Hide/Unhide selected points for Grease Pencil strokes setting alpha factor
2342
2149
 
2343
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2344
- :type execution_context: typing.Optional[typing.Union[str, int]]
2345
- :type undo: typing.Optional[bool]
2150
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2151
+ :type execution_context: str | int | None
2152
+ :type undo: bool | None
2346
2153
  """
2347
2154
 
2348
2155
  ...
2349
2156
 
2350
2157
  def selectmode_toggle(
2351
- override_context: typing.Optional[
2352
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2353
- ] = None,
2354
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2355
- undo: typing.Optional[bool] = None,
2356
- mode: typing.Optional[typing.Any] = 0,
2158
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2159
+ execution_context: str | int | None = None,
2160
+ undo: bool | None = None,
2161
+ mode: typing.Any | None = 0,
2357
2162
  ):
2358
2163
  """Set selection mode for Grease Pencil strokes
2359
2164
 
2360
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2361
- :type execution_context: typing.Optional[typing.Union[str, int]]
2362
- :type undo: typing.Optional[bool]
2165
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2166
+ :type execution_context: str | int | None
2167
+ :type undo: bool | None
2363
2168
  :param mode: Select Mode, Select mode
2364
- :type mode: typing.Optional[typing.Any]
2169
+ :type mode: typing.Any | None
2365
2170
  """
2366
2171
 
2367
2172
  ...
2368
2173
 
2369
2174
  def set_active_material(
2370
- override_context: typing.Optional[
2371
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2372
- ] = None,
2373
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2374
- undo: typing.Optional[bool] = None,
2175
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2176
+ execution_context: str | int | None = None,
2177
+ undo: bool | None = None,
2375
2178
  ):
2376
2179
  """Set the selected stroke material as the active material
2377
2180
 
2378
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2379
- :type execution_context: typing.Optional[typing.Union[str, int]]
2380
- :type undo: typing.Optional[bool]
2181
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2182
+ :type execution_context: str | int | None
2183
+ :type undo: bool | None
2381
2184
  """
2382
2185
 
2383
2186
  ...
2384
2187
 
2385
2188
  def snap_cursor_to_selected(
2386
- override_context: typing.Optional[
2387
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2388
- ] = None,
2389
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2390
- undo: typing.Optional[bool] = None,
2189
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2190
+ execution_context: str | int | None = None,
2191
+ undo: bool | None = None,
2391
2192
  ):
2392
2193
  """Snap cursor to center of selected points
2393
2194
 
2394
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2395
- :type execution_context: typing.Optional[typing.Union[str, int]]
2396
- :type undo: typing.Optional[bool]
2195
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2196
+ :type execution_context: str | int | None
2197
+ :type undo: bool | None
2397
2198
  """
2398
2199
 
2399
2200
  ...
2400
2201
 
2401
2202
  def snap_to_cursor(
2402
- override_context: typing.Optional[
2403
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2404
- ] = None,
2405
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2406
- undo: typing.Optional[bool] = None,
2407
- use_offset: typing.Optional[typing.Union[bool, typing.Any]] = True,
2203
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2204
+ execution_context: str | int | None = None,
2205
+ undo: bool | None = None,
2206
+ use_offset: bool | typing.Any | None = True,
2408
2207
  ):
2409
2208
  """Snap selected points/strokes to the cursor
2410
2209
 
2411
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2412
- :type execution_context: typing.Optional[typing.Union[str, int]]
2413
- :type undo: typing.Optional[bool]
2210
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2211
+ :type execution_context: str | int | None
2212
+ :type undo: bool | None
2414
2213
  :param use_offset: With Offset, Offset the entire stroke instead of selected points only
2415
- :type use_offset: typing.Optional[typing.Union[bool, typing.Any]]
2214
+ :type use_offset: bool | typing.Any | None
2416
2215
  """
2417
2216
 
2418
2217
  ...
2419
2218
 
2420
2219
  def snap_to_grid(
2421
- override_context: typing.Optional[
2422
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2423
- ] = None,
2424
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2425
- undo: typing.Optional[bool] = None,
2220
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2221
+ execution_context: str | int | None = None,
2222
+ undo: bool | None = None,
2426
2223
  ):
2427
2224
  """Snap selected points to the nearest grid points
2428
2225
 
2429
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2430
- :type execution_context: typing.Optional[typing.Union[str, int]]
2431
- :type undo: typing.Optional[bool]
2226
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2227
+ :type execution_context: str | int | None
2228
+ :type undo: bool | None
2432
2229
  """
2433
2230
 
2434
2231
  ...
2435
2232
 
2436
2233
  def stroke_apply_thickness(
2437
- override_context: typing.Optional[
2438
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2439
- ] = None,
2440
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2441
- undo: typing.Optional[bool] = None,
2234
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2235
+ execution_context: str | int | None = None,
2236
+ undo: bool | None = None,
2442
2237
  ):
2443
2238
  """Apply the thickness change of the layer to its strokes
2444
2239
 
2445
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2446
- :type execution_context: typing.Optional[typing.Union[str, int]]
2447
- :type undo: typing.Optional[bool]
2240
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2241
+ :type execution_context: str | int | None
2242
+ :type undo: bool | None
2448
2243
  """
2449
2244
 
2450
2245
  ...
2451
2246
 
2452
2247
  def stroke_arrange(
2453
- override_context: typing.Optional[
2454
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2455
- ] = None,
2456
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2457
- undo: typing.Optional[bool] = None,
2458
- direction: typing.Optional[typing.Any] = "UP",
2248
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2249
+ execution_context: str | int | None = None,
2250
+ undo: bool | None = None,
2251
+ direction: typing.Any | None = "UP",
2459
2252
  ):
2460
2253
  """Arrange selected strokes up/down in the display order of the active layer
2461
2254
 
2462
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2463
- :type execution_context: typing.Optional[typing.Union[str, int]]
2464
- :type undo: typing.Optional[bool]
2255
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2256
+ :type execution_context: str | int | None
2257
+ :type undo: bool | None
2465
2258
  :param direction: Direction
2466
- :type direction: typing.Optional[typing.Any]
2259
+ :type direction: typing.Any | None
2467
2260
  """
2468
2261
 
2469
2262
  ...
2470
2263
 
2471
2264
  def stroke_caps_set(
2472
- override_context: typing.Optional[
2473
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2474
- ] = None,
2475
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2476
- undo: typing.Optional[bool] = None,
2477
- type: typing.Optional[typing.Any] = "TOGGLE",
2265
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2266
+ execution_context: str | int | None = None,
2267
+ undo: bool | None = None,
2268
+ type: typing.Any | None = "TOGGLE",
2478
2269
  ):
2479
2270
  """Change stroke caps mode (rounded or flat)
2480
2271
 
2481
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2482
- :type execution_context: typing.Optional[typing.Union[str, int]]
2483
- :type undo: typing.Optional[bool]
2272
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2273
+ :type execution_context: str | int | None
2274
+ :type undo: bool | None
2484
2275
  :param type: Type
2485
2276
 
2486
2277
  TOGGLE
@@ -2494,248 +2285,224 @@ def stroke_caps_set(
2494
2285
 
2495
2286
  DEFAULT
2496
2287
  Default -- Set as default rounded.
2497
- :type type: typing.Optional[typing.Any]
2288
+ :type type: typing.Any | None
2498
2289
  """
2499
2290
 
2500
2291
  ...
2501
2292
 
2502
2293
  def stroke_change_color(
2503
- override_context: typing.Optional[
2504
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2505
- ] = None,
2506
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2507
- undo: typing.Optional[bool] = None,
2508
- material: typing.Union[str, typing.Any] = "",
2294
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2295
+ execution_context: str | int | None = None,
2296
+ undo: bool | None = None,
2297
+ material: str | typing.Any = "",
2509
2298
  ):
2510
2299
  """Move selected strokes to active material
2511
2300
 
2512
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2513
- :type execution_context: typing.Optional[typing.Union[str, int]]
2514
- :type undo: typing.Optional[bool]
2301
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2302
+ :type execution_context: str | int | None
2303
+ :type undo: bool | None
2515
2304
  :param material: Material, Name of the material
2516
- :type material: typing.Union[str, typing.Any]
2305
+ :type material: str | typing.Any
2517
2306
  """
2518
2307
 
2519
2308
  ...
2520
2309
 
2521
2310
  def stroke_cutter(
2522
- override_context: typing.Optional[
2523
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2524
- ] = None,
2525
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2526
- undo: typing.Optional[bool] = None,
2527
- path: typing.Optional[
2528
- bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
2529
- ] = None,
2530
- flat_caps: typing.Optional[typing.Union[bool, typing.Any]] = False,
2311
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2312
+ execution_context: str | int | None = None,
2313
+ undo: bool | None = None,
2314
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
2315
+ flat_caps: bool | typing.Any | None = False,
2531
2316
  ):
2532
2317
  """Select section and cut
2533
2318
 
2534
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2535
- :type execution_context: typing.Optional[typing.Union[str, int]]
2536
- :type undo: typing.Optional[bool]
2319
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2320
+ :type execution_context: str | int | None
2321
+ :type undo: bool | None
2537
2322
  :param path: Path
2538
- :type path: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]]
2323
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
2539
2324
  :param flat_caps: Flat Caps
2540
- :type flat_caps: typing.Optional[typing.Union[bool, typing.Any]]
2325
+ :type flat_caps: bool | typing.Any | None
2541
2326
  """
2542
2327
 
2543
2328
  ...
2544
2329
 
2545
2330
  def stroke_cyclical_set(
2546
- override_context: typing.Optional[
2547
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2548
- ] = None,
2549
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2550
- undo: typing.Optional[bool] = None,
2551
- type: typing.Optional[typing.Any] = "TOGGLE",
2552
- geometry: typing.Optional[typing.Union[bool, typing.Any]] = False,
2331
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2332
+ execution_context: str | int | None = None,
2333
+ undo: bool | None = None,
2334
+ type: typing.Any | None = "TOGGLE",
2335
+ geometry: bool | typing.Any | None = False,
2553
2336
  ):
2554
2337
  """Close or open the selected stroke adding a segment from last to first point
2555
2338
 
2556
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2557
- :type execution_context: typing.Optional[typing.Union[str, int]]
2558
- :type undo: typing.Optional[bool]
2339
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2340
+ :type execution_context: str | int | None
2341
+ :type undo: bool | None
2559
2342
  :param type: Type
2560
- :type type: typing.Optional[typing.Any]
2343
+ :type type: typing.Any | None
2561
2344
  :param geometry: Create Geometry, Create new geometry for closing stroke
2562
- :type geometry: typing.Optional[typing.Union[bool, typing.Any]]
2345
+ :type geometry: bool | typing.Any | None
2563
2346
  """
2564
2347
 
2565
2348
  ...
2566
2349
 
2567
2350
  def stroke_editcurve_set_handle_type(
2568
- override_context: typing.Optional[
2569
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2570
- ] = None,
2571
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2572
- undo: typing.Optional[bool] = None,
2573
- type: typing.Optional[typing.Any] = "AUTOMATIC",
2351
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2352
+ execution_context: str | int | None = None,
2353
+ undo: bool | None = None,
2354
+ type: typing.Any | None = "AUTOMATIC",
2574
2355
  ):
2575
2356
  """Set the type of an edit curve handle
2576
2357
 
2577
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2578
- :type execution_context: typing.Optional[typing.Union[str, int]]
2579
- :type undo: typing.Optional[bool]
2358
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2359
+ :type execution_context: str | int | None
2360
+ :type undo: bool | None
2580
2361
  :param type: Type, Spline type
2581
- :type type: typing.Optional[typing.Any]
2362
+ :type type: typing.Any | None
2582
2363
  """
2583
2364
 
2584
2365
  ...
2585
2366
 
2586
2367
  def stroke_enter_editcurve_mode(
2587
- override_context: typing.Optional[
2588
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2589
- ] = None,
2590
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2591
- undo: typing.Optional[bool] = None,
2592
- error_threshold: typing.Optional[typing.Any] = 0.1,
2368
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2369
+ execution_context: str | int | None = None,
2370
+ undo: bool | None = None,
2371
+ error_threshold: typing.Any | None = 0.1,
2593
2372
  ):
2594
2373
  """Called to transform a stroke into a curve
2595
2374
 
2596
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2597
- :type execution_context: typing.Optional[typing.Union[str, int]]
2598
- :type undo: typing.Optional[bool]
2375
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2376
+ :type execution_context: str | int | None
2377
+ :type undo: bool | None
2599
2378
  :param error_threshold: Error Threshold, Threshold on the maximum deviation from the actual stroke
2600
- :type error_threshold: typing.Optional[typing.Any]
2379
+ :type error_threshold: typing.Any | None
2601
2380
  """
2602
2381
 
2603
2382
  ...
2604
2383
 
2605
2384
  def stroke_flip(
2606
- override_context: typing.Optional[
2607
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2608
- ] = None,
2609
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2610
- undo: typing.Optional[bool] = None,
2385
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2386
+ execution_context: str | int | None = None,
2387
+ undo: bool | None = None,
2611
2388
  ):
2612
2389
  """Change direction of the points of the selected strokes
2613
2390
 
2614
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2615
- :type execution_context: typing.Optional[typing.Union[str, int]]
2616
- :type undo: typing.Optional[bool]
2391
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2392
+ :type execution_context: str | int | None
2393
+ :type undo: bool | None
2617
2394
  """
2618
2395
 
2619
2396
  ...
2620
2397
 
2621
2398
  def stroke_join(
2622
- override_context: typing.Optional[
2623
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2624
- ] = None,
2625
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2626
- undo: typing.Optional[bool] = None,
2627
- type: typing.Optional[typing.Any] = "JOIN",
2628
- leave_gaps: typing.Optional[typing.Union[bool, typing.Any]] = False,
2399
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2400
+ execution_context: str | int | None = None,
2401
+ undo: bool | None = None,
2402
+ type: typing.Any | None = "JOIN",
2403
+ leave_gaps: bool | typing.Any | None = False,
2629
2404
  ):
2630
2405
  """Join selected strokes (optionally as new stroke)
2631
2406
 
2632
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2633
- :type execution_context: typing.Optional[typing.Union[str, int]]
2634
- :type undo: typing.Optional[bool]
2407
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2408
+ :type execution_context: str | int | None
2409
+ :type undo: bool | None
2635
2410
  :param type: Type
2636
- :type type: typing.Optional[typing.Any]
2411
+ :type type: typing.Any | None
2637
2412
  :param leave_gaps: Leave Gaps, Leave gaps between joined strokes instead of linking them
2638
- :type leave_gaps: typing.Optional[typing.Union[bool, typing.Any]]
2413
+ :type leave_gaps: bool | typing.Any | None
2639
2414
  """
2640
2415
 
2641
2416
  ...
2642
2417
 
2643
2418
  def stroke_merge(
2644
- override_context: typing.Optional[
2645
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2646
- ] = None,
2647
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2648
- undo: typing.Optional[bool] = None,
2649
- mode: typing.Optional[typing.Any] = "STROKE",
2650
- back: typing.Optional[typing.Union[bool, typing.Any]] = False,
2651
- additive: typing.Optional[typing.Union[bool, typing.Any]] = False,
2652
- cyclic: typing.Optional[typing.Union[bool, typing.Any]] = False,
2653
- clear_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
2654
- clear_stroke: typing.Optional[typing.Union[bool, typing.Any]] = False,
2419
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2420
+ execution_context: str | int | None = None,
2421
+ undo: bool | None = None,
2422
+ mode: typing.Any | None = "STROKE",
2423
+ back: bool | typing.Any | None = False,
2424
+ additive: bool | typing.Any | None = False,
2425
+ cyclic: bool | typing.Any | None = False,
2426
+ clear_point: bool | typing.Any | None = False,
2427
+ clear_stroke: bool | typing.Any | None = False,
2655
2428
  ):
2656
2429
  """Create a new stroke with the selected stroke points
2657
2430
 
2658
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2659
- :type execution_context: typing.Optional[typing.Union[str, int]]
2660
- :type undo: typing.Optional[bool]
2431
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2432
+ :type execution_context: str | int | None
2433
+ :type undo: bool | None
2661
2434
  :param mode: Mode
2662
- :type mode: typing.Optional[typing.Any]
2435
+ :type mode: typing.Any | None
2663
2436
  :param back: Draw on Back, Draw new stroke below all previous strokes
2664
- :type back: typing.Optional[typing.Union[bool, typing.Any]]
2437
+ :type back: bool | typing.Any | None
2665
2438
  :param additive: Additive Drawing, Add to previous drawing
2666
- :type additive: typing.Optional[typing.Union[bool, typing.Any]]
2439
+ :type additive: bool | typing.Any | None
2667
2440
  :param cyclic: Cyclic, Close new stroke
2668
- :type cyclic: typing.Optional[typing.Union[bool, typing.Any]]
2441
+ :type cyclic: bool | typing.Any | None
2669
2442
  :param clear_point: Dissolve Points, Dissolve old selected points
2670
- :type clear_point: typing.Optional[typing.Union[bool, typing.Any]]
2443
+ :type clear_point: bool | typing.Any | None
2671
2444
  :param clear_stroke: Delete Strokes, Delete old selected strokes
2672
- :type clear_stroke: typing.Optional[typing.Union[bool, typing.Any]]
2445
+ :type clear_stroke: bool | typing.Any | None
2673
2446
  """
2674
2447
 
2675
2448
  ...
2676
2449
 
2677
2450
  def stroke_merge_by_distance(
2678
- override_context: typing.Optional[
2679
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2680
- ] = None,
2681
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2682
- undo: typing.Optional[bool] = None,
2683
- threshold: typing.Optional[typing.Any] = 0.001,
2684
- use_unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
2451
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2452
+ execution_context: str | int | None = None,
2453
+ undo: bool | None = None,
2454
+ threshold: typing.Any | None = 0.001,
2455
+ use_unselected: bool | typing.Any | None = False,
2685
2456
  ):
2686
2457
  """Merge points by distance
2687
2458
 
2688
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2689
- :type execution_context: typing.Optional[typing.Union[str, int]]
2690
- :type undo: typing.Optional[bool]
2459
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2460
+ :type execution_context: str | int | None
2461
+ :type undo: bool | None
2691
2462
  :param threshold: Threshold
2692
- :type threshold: typing.Optional[typing.Any]
2463
+ :type threshold: typing.Any | None
2693
2464
  :param use_unselected: Unselected, Use whole stroke, not only selected points
2694
- :type use_unselected: typing.Optional[typing.Union[bool, typing.Any]]
2465
+ :type use_unselected: bool | typing.Any | None
2695
2466
  """
2696
2467
 
2697
2468
  ...
2698
2469
 
2699
2470
  def stroke_merge_material(
2700
- override_context: typing.Optional[
2701
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2702
- ] = None,
2703
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2704
- undo: typing.Optional[bool] = None,
2705
- hue_threshold: typing.Optional[typing.Any] = 0.001,
2706
- sat_threshold: typing.Optional[typing.Any] = 0.001,
2707
- val_threshold: typing.Optional[typing.Any] = 0.001,
2471
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2472
+ execution_context: str | int | None = None,
2473
+ undo: bool | None = None,
2474
+ hue_threshold: typing.Any | None = 0.001,
2475
+ sat_threshold: typing.Any | None = 0.001,
2476
+ val_threshold: typing.Any | None = 0.001,
2708
2477
  ):
2709
2478
  """Replace materials in strokes merging similar
2710
2479
 
2711
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2712
- :type execution_context: typing.Optional[typing.Union[str, int]]
2713
- :type undo: typing.Optional[bool]
2480
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2481
+ :type execution_context: str | int | None
2482
+ :type undo: bool | None
2714
2483
  :param hue_threshold: Hue Threshold
2715
- :type hue_threshold: typing.Optional[typing.Any]
2484
+ :type hue_threshold: typing.Any | None
2716
2485
  :param sat_threshold: Saturation Threshold
2717
- :type sat_threshold: typing.Optional[typing.Any]
2486
+ :type sat_threshold: typing.Any | None
2718
2487
  :param val_threshold: Value Threshold
2719
- :type val_threshold: typing.Optional[typing.Any]
2488
+ :type val_threshold: typing.Any | None
2720
2489
  """
2721
2490
 
2722
2491
  ...
2723
2492
 
2724
2493
  def stroke_normalize(
2725
- override_context: typing.Optional[
2726
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2727
- ] = None,
2728
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2729
- undo: typing.Optional[bool] = None,
2730
- mode: typing.Optional[typing.Any] = "THICKNESS",
2731
- factor: typing.Optional[typing.Any] = 1.0,
2732
- value: typing.Optional[typing.Any] = 10,
2494
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2495
+ execution_context: str | int | None = None,
2496
+ undo: bool | None = None,
2497
+ mode: typing.Any | None = "THICKNESS",
2498
+ factor: typing.Any | None = 1.0,
2499
+ value: typing.Any | None = 10,
2733
2500
  ):
2734
2501
  """Normalize stroke attributes
2735
2502
 
2736
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2737
- :type execution_context: typing.Optional[typing.Union[str, int]]
2738
- :type undo: typing.Optional[bool]
2503
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2504
+ :type execution_context: str | int | None
2505
+ :type undo: bool | None
2739
2506
  :param mode: Mode, Attribute to be normalized
2740
2507
 
2741
2508
  THICKNESS
@@ -2743,35 +2510,33 @@ def stroke_normalize(
2743
2510
 
2744
2511
  OPACITY
2745
2512
  Opacity -- Normalizes the stroke opacity by making all points use the same opacity value.
2746
- :type mode: typing.Optional[typing.Any]
2513
+ :type mode: typing.Any | None
2747
2514
  :param factor: Factor
2748
- :type factor: typing.Optional[typing.Any]
2515
+ :type factor: typing.Any | None
2749
2516
  :param value: Value, Value
2750
- :type value: typing.Optional[typing.Any]
2517
+ :type value: typing.Any | None
2751
2518
  """
2752
2519
 
2753
2520
  ...
2754
2521
 
2755
2522
  def stroke_outline(
2756
- override_context: typing.Optional[
2757
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2758
- ] = None,
2759
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2760
- undo: typing.Optional[bool] = None,
2761
- view_mode: typing.Optional[typing.Any] = "VIEW",
2762
- material_mode: typing.Optional[typing.Any] = "ACTIVE",
2763
- thickness: typing.Optional[typing.Any] = 1,
2764
- keep: typing.Optional[typing.Union[bool, typing.Any]] = True,
2765
- subdivisions: typing.Optional[typing.Any] = 3,
2766
- length: typing.Optional[typing.Any] = 0.0,
2523
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2524
+ execution_context: str | int | None = None,
2525
+ undo: bool | None = None,
2526
+ view_mode: typing.Any | None = "VIEW",
2527
+ material_mode: typing.Any | None = "ACTIVE",
2528
+ thickness: typing.Any | None = 1,
2529
+ keep: bool | typing.Any | None = True,
2530
+ subdivisions: typing.Any | None = 3,
2531
+ length: typing.Any | None = 0.0,
2767
2532
  ):
2768
2533
  """Convert stroke to perimeter
2769
2534
 
2770
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2771
- :type execution_context: typing.Optional[typing.Union[str, int]]
2772
- :type undo: typing.Optional[bool]
2535
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2536
+ :type execution_context: str | int | None
2537
+ :type undo: bool | None
2773
2538
  :param view_mode: View
2774
- :type view_mode: typing.Optional[typing.Any]
2539
+ :type view_mode: typing.Any | None
2775
2540
  :param material_mode: Material Mode
2776
2541
 
2777
2542
  ACTIVE
@@ -2782,32 +2547,30 @@ def stroke_outline(
2782
2547
 
2783
2548
  NEW
2784
2549
  New Material.
2785
- :type material_mode: typing.Optional[typing.Any]
2550
+ :type material_mode: typing.Any | None
2786
2551
  :param thickness: Thickness, Thickness of the stroke perimeter
2787
- :type thickness: typing.Optional[typing.Any]
2552
+ :type thickness: typing.Any | None
2788
2553
  :param keep: Keep Shape, Try to keep global shape when the stroke thickness change
2789
- :type keep: typing.Optional[typing.Union[bool, typing.Any]]
2554
+ :type keep: bool | typing.Any | None
2790
2555
  :param subdivisions: Subdivisions
2791
- :type subdivisions: typing.Optional[typing.Any]
2556
+ :type subdivisions: typing.Any | None
2792
2557
  :param length: Sample Length
2793
- :type length: typing.Optional[typing.Any]
2558
+ :type length: typing.Any | None
2794
2559
  """
2795
2560
 
2796
2561
  ...
2797
2562
 
2798
2563
  def stroke_reset_vertex_color(
2799
- override_context: typing.Optional[
2800
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2801
- ] = None,
2802
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2803
- undo: typing.Optional[bool] = None,
2804
- mode: typing.Optional[typing.Any] = "BOTH",
2564
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2565
+ execution_context: str | int | None = None,
2566
+ undo: bool | None = None,
2567
+ mode: typing.Any | None = "BOTH",
2805
2568
  ):
2806
2569
  """Reset vertex color for all or selected strokes
2807
2570
 
2808
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2809
- :type execution_context: typing.Optional[typing.Union[str, int]]
2810
- :type undo: typing.Optional[bool]
2571
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2572
+ :type execution_context: str | int | None
2573
+ :type undo: bool | None
2811
2574
  :param mode: Mode
2812
2575
 
2813
2576
  STROKE
@@ -2818,46 +2581,42 @@ def stroke_reset_vertex_color(
2818
2581
 
2819
2582
  BOTH
2820
2583
  Stroke & Fill -- Reset Vertex Color to Stroke and Fill.
2821
- :type mode: typing.Optional[typing.Any]
2584
+ :type mode: typing.Any | None
2822
2585
  """
2823
2586
 
2824
2587
  ...
2825
2588
 
2826
2589
  def stroke_sample(
2827
- override_context: typing.Optional[
2828
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2829
- ] = None,
2830
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2831
- undo: typing.Optional[bool] = None,
2832
- length: typing.Optional[typing.Any] = 0.1,
2833
- sharp_threshold: typing.Optional[typing.Any] = 0.1,
2590
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2591
+ execution_context: str | int | None = None,
2592
+ undo: bool | None = None,
2593
+ length: typing.Any | None = 0.1,
2594
+ sharp_threshold: typing.Any | None = 0.1,
2834
2595
  ):
2835
2596
  """Sample stroke points to predefined segment length
2836
2597
 
2837
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2838
- :type execution_context: typing.Optional[typing.Union[str, int]]
2839
- :type undo: typing.Optional[bool]
2598
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2599
+ :type execution_context: str | int | None
2600
+ :type undo: bool | None
2840
2601
  :param length: Length
2841
- :type length: typing.Optional[typing.Any]
2602
+ :type length: typing.Any | None
2842
2603
  :param sharp_threshold: Sharp Threshold
2843
- :type sharp_threshold: typing.Optional[typing.Any]
2604
+ :type sharp_threshold: typing.Any | None
2844
2605
  """
2845
2606
 
2846
2607
  ...
2847
2608
 
2848
2609
  def stroke_separate(
2849
- override_context: typing.Optional[
2850
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2851
- ] = None,
2852
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2853
- undo: typing.Optional[bool] = None,
2854
- mode: typing.Optional[typing.Any] = "POINT",
2610
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2611
+ execution_context: str | int | None = None,
2612
+ undo: bool | None = None,
2613
+ mode: typing.Any | None = "POINT",
2855
2614
  ):
2856
2615
  """Separate the selected strokes or layer in a new grease pencil object
2857
2616
 
2858
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2859
- :type execution_context: typing.Optional[typing.Union[str, int]]
2860
- :type undo: typing.Optional[bool]
2617
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2618
+ :type execution_context: str | int | None
2619
+ :type undo: bool | None
2861
2620
  :param mode: Mode
2862
2621
 
2863
2622
  POINT
@@ -2868,287 +2627,263 @@ def stroke_separate(
2868
2627
 
2869
2628
  LAYER
2870
2629
  Active Layer -- Separate the strokes of the current layer.
2871
- :type mode: typing.Optional[typing.Any]
2630
+ :type mode: typing.Any | None
2872
2631
  """
2873
2632
 
2874
2633
  ...
2875
2634
 
2876
2635
  def stroke_simplify(
2877
- override_context: typing.Optional[
2878
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2879
- ] = None,
2880
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2881
- undo: typing.Optional[bool] = None,
2882
- factor: typing.Optional[typing.Any] = 0.0,
2636
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2637
+ execution_context: str | int | None = None,
2638
+ undo: bool | None = None,
2639
+ factor: typing.Any | None = 0.0,
2883
2640
  ):
2884
2641
  """Simplify selected strokes, reducing number of points
2885
2642
 
2886
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2887
- :type execution_context: typing.Optional[typing.Union[str, int]]
2888
- :type undo: typing.Optional[bool]
2643
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2644
+ :type execution_context: str | int | None
2645
+ :type undo: bool | None
2889
2646
  :param factor: Factor
2890
- :type factor: typing.Optional[typing.Any]
2647
+ :type factor: typing.Any | None
2891
2648
  """
2892
2649
 
2893
2650
  ...
2894
2651
 
2895
2652
  def stroke_simplify_fixed(
2896
- override_context: typing.Optional[
2897
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2898
- ] = None,
2899
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2900
- undo: typing.Optional[bool] = None,
2901
- step: typing.Optional[typing.Any] = 1,
2653
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2654
+ execution_context: str | int | None = None,
2655
+ undo: bool | None = None,
2656
+ step: typing.Any | None = 1,
2902
2657
  ):
2903
2658
  """Simplify selected strokes, reducing number of points using fixed algorithm
2904
2659
 
2905
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2906
- :type execution_context: typing.Optional[typing.Union[str, int]]
2907
- :type undo: typing.Optional[bool]
2660
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2661
+ :type execution_context: str | int | None
2662
+ :type undo: bool | None
2908
2663
  :param step: Steps, Number of simplify steps
2909
- :type step: typing.Optional[typing.Any]
2664
+ :type step: typing.Any | None
2910
2665
  """
2911
2666
 
2912
2667
  ...
2913
2668
 
2914
2669
  def stroke_smooth(
2915
- override_context: typing.Optional[
2916
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2917
- ] = None,
2918
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2919
- undo: typing.Optional[bool] = None,
2920
- repeat: typing.Optional[typing.Any] = 2,
2921
- factor: typing.Optional[typing.Any] = 1.0,
2922
- only_selected: typing.Optional[typing.Union[bool, typing.Any]] = True,
2923
- smooth_position: typing.Optional[typing.Union[bool, typing.Any]] = True,
2924
- smooth_thickness: typing.Optional[typing.Union[bool, typing.Any]] = True,
2925
- smooth_strength: typing.Optional[typing.Union[bool, typing.Any]] = False,
2926
- smooth_uv: typing.Optional[typing.Union[bool, typing.Any]] = False,
2670
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2671
+ execution_context: str | int | None = None,
2672
+ undo: bool | None = None,
2673
+ repeat: typing.Any | None = 2,
2674
+ factor: typing.Any | None = 1.0,
2675
+ only_selected: bool | typing.Any | None = True,
2676
+ smooth_position: bool | typing.Any | None = True,
2677
+ smooth_thickness: bool | typing.Any | None = True,
2678
+ smooth_strength: bool | typing.Any | None = False,
2679
+ smooth_uv: bool | typing.Any | None = False,
2927
2680
  ):
2928
2681
  """Smooth selected strokes
2929
2682
 
2930
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2931
- :type execution_context: typing.Optional[typing.Union[str, int]]
2932
- :type undo: typing.Optional[bool]
2683
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2684
+ :type execution_context: str | int | None
2685
+ :type undo: bool | None
2933
2686
  :param repeat: Repeat
2934
- :type repeat: typing.Optional[typing.Any]
2687
+ :type repeat: typing.Any | None
2935
2688
  :param factor: Factor
2936
- :type factor: typing.Optional[typing.Any]
2689
+ :type factor: typing.Any | None
2937
2690
  :param only_selected: Selected Points, Smooth only selected points in the stroke
2938
- :type only_selected: typing.Optional[typing.Union[bool, typing.Any]]
2691
+ :type only_selected: bool | typing.Any | None
2939
2692
  :param smooth_position: Position
2940
- :type smooth_position: typing.Optional[typing.Union[bool, typing.Any]]
2693
+ :type smooth_position: bool | typing.Any | None
2941
2694
  :param smooth_thickness: Thickness
2942
- :type smooth_thickness: typing.Optional[typing.Union[bool, typing.Any]]
2695
+ :type smooth_thickness: bool | typing.Any | None
2943
2696
  :param smooth_strength: Strength
2944
- :type smooth_strength: typing.Optional[typing.Union[bool, typing.Any]]
2697
+ :type smooth_strength: bool | typing.Any | None
2945
2698
  :param smooth_uv: UV
2946
- :type smooth_uv: typing.Optional[typing.Union[bool, typing.Any]]
2699
+ :type smooth_uv: bool | typing.Any | None
2947
2700
  """
2948
2701
 
2949
2702
  ...
2950
2703
 
2951
2704
  def stroke_split(
2952
- override_context: typing.Optional[
2953
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2954
- ] = None,
2955
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2956
- undo: typing.Optional[bool] = None,
2705
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2706
+ execution_context: str | int | None = None,
2707
+ undo: bool | None = None,
2957
2708
  ):
2958
2709
  """Split selected points as new stroke on same frame
2959
2710
 
2960
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2961
- :type execution_context: typing.Optional[typing.Union[str, int]]
2962
- :type undo: typing.Optional[bool]
2711
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2712
+ :type execution_context: str | int | None
2713
+ :type undo: bool | None
2963
2714
  """
2964
2715
 
2965
2716
  ...
2966
2717
 
2967
2718
  def stroke_start_set(
2968
- override_context: typing.Optional[
2969
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2970
- ] = None,
2971
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2972
- undo: typing.Optional[bool] = None,
2719
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2720
+ execution_context: str | int | None = None,
2721
+ undo: bool | None = None,
2973
2722
  ):
2974
2723
  """Set start point for cyclic strokes
2975
2724
 
2976
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
2977
- :type execution_context: typing.Optional[typing.Union[str, int]]
2978
- :type undo: typing.Optional[bool]
2725
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2726
+ :type execution_context: str | int | None
2727
+ :type undo: bool | None
2979
2728
  """
2980
2729
 
2981
2730
  ...
2982
2731
 
2983
2732
  def stroke_subdivide(
2984
- override_context: typing.Optional[
2985
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
2986
- ] = None,
2987
- execution_context: typing.Optional[typing.Union[str, int]] = None,
2988
- undo: typing.Optional[bool] = None,
2989
- number_cuts: typing.Optional[typing.Any] = 1,
2990
- factor: typing.Optional[typing.Any] = 0.0,
2991
- repeat: typing.Optional[typing.Any] = 1,
2992
- only_selected: typing.Optional[typing.Union[bool, typing.Any]] = True,
2993
- smooth_position: typing.Optional[typing.Union[bool, typing.Any]] = True,
2994
- smooth_thickness: typing.Optional[typing.Union[bool, typing.Any]] = True,
2995
- smooth_strength: typing.Optional[typing.Union[bool, typing.Any]] = False,
2996
- smooth_uv: typing.Optional[typing.Union[bool, typing.Any]] = False,
2733
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2734
+ execution_context: str | int | None = None,
2735
+ undo: bool | None = None,
2736
+ number_cuts: typing.Any | None = 1,
2737
+ factor: typing.Any | None = 0.0,
2738
+ repeat: typing.Any | None = 1,
2739
+ only_selected: bool | typing.Any | None = True,
2740
+ smooth_position: bool | typing.Any | None = True,
2741
+ smooth_thickness: bool | typing.Any | None = True,
2742
+ smooth_strength: bool | typing.Any | None = False,
2743
+ smooth_uv: bool | typing.Any | None = False,
2997
2744
  ):
2998
2745
  """Subdivide between continuous selected points of the stroke adding a point half way between them
2999
2746
 
3000
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3001
- :type execution_context: typing.Optional[typing.Union[str, int]]
3002
- :type undo: typing.Optional[bool]
2747
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2748
+ :type execution_context: str | int | None
2749
+ :type undo: bool | None
3003
2750
  :param number_cuts: Number of Cuts
3004
- :type number_cuts: typing.Optional[typing.Any]
2751
+ :type number_cuts: typing.Any | None
3005
2752
  :param factor: Smooth
3006
- :type factor: typing.Optional[typing.Any]
2753
+ :type factor: typing.Any | None
3007
2754
  :param repeat: Repeat
3008
- :type repeat: typing.Optional[typing.Any]
2755
+ :type repeat: typing.Any | None
3009
2756
  :param only_selected: Selected Points, Smooth only selected points in the stroke
3010
- :type only_selected: typing.Optional[typing.Union[bool, typing.Any]]
2757
+ :type only_selected: bool | typing.Any | None
3011
2758
  :param smooth_position: Position
3012
- :type smooth_position: typing.Optional[typing.Union[bool, typing.Any]]
2759
+ :type smooth_position: bool | typing.Any | None
3013
2760
  :param smooth_thickness: Thickness
3014
- :type smooth_thickness: typing.Optional[typing.Union[bool, typing.Any]]
2761
+ :type smooth_thickness: bool | typing.Any | None
3015
2762
  :param smooth_strength: Strength
3016
- :type smooth_strength: typing.Optional[typing.Union[bool, typing.Any]]
2763
+ :type smooth_strength: bool | typing.Any | None
3017
2764
  :param smooth_uv: UV
3018
- :type smooth_uv: typing.Optional[typing.Union[bool, typing.Any]]
2765
+ :type smooth_uv: bool | typing.Any | None
3019
2766
  """
3020
2767
 
3021
2768
  ...
3022
2769
 
3023
2770
  def stroke_trim(
3024
- override_context: typing.Optional[
3025
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3026
- ] = None,
3027
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3028
- undo: typing.Optional[bool] = None,
2771
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2772
+ execution_context: str | int | None = None,
2773
+ undo: bool | None = None,
3029
2774
  ):
3030
2775
  """Trim selected stroke to first loop or intersection
3031
2776
 
3032
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3033
- :type execution_context: typing.Optional[typing.Union[str, int]]
3034
- :type undo: typing.Optional[bool]
2777
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2778
+ :type execution_context: str | int | None
2779
+ :type undo: bool | None
3035
2780
  """
3036
2781
 
3037
2782
  ...
3038
2783
 
3039
2784
  def time_segment_add(
3040
- override_context: typing.Optional[
3041
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3042
- ] = None,
3043
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3044
- undo: typing.Optional[bool] = None,
3045
- modifier: typing.Union[str, typing.Any] = "",
2785
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2786
+ execution_context: str | int | None = None,
2787
+ undo: bool | None = None,
2788
+ modifier: str | typing.Any = "",
3046
2789
  ):
3047
2790
  """Add a segment to the time modifier
3048
2791
 
3049
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3050
- :type execution_context: typing.Optional[typing.Union[str, int]]
3051
- :type undo: typing.Optional[bool]
2792
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2793
+ :type execution_context: str | int | None
2794
+ :type undo: bool | None
3052
2795
  :param modifier: Modifier, Name of the modifier to edit
3053
- :type modifier: typing.Union[str, typing.Any]
2796
+ :type modifier: str | typing.Any
3054
2797
  """
3055
2798
 
3056
2799
  ...
3057
2800
 
3058
2801
  def time_segment_move(
3059
- override_context: typing.Optional[
3060
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3061
- ] = None,
3062
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3063
- undo: typing.Optional[bool] = None,
3064
- modifier: typing.Union[str, typing.Any] = "",
3065
- type: typing.Optional[typing.Any] = "UP",
2802
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2803
+ execution_context: str | int | None = None,
2804
+ undo: bool | None = None,
2805
+ modifier: str | typing.Any = "",
2806
+ type: typing.Any | None = "UP",
3066
2807
  ):
3067
2808
  """Move the active time segment up or down
3068
2809
 
3069
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3070
- :type execution_context: typing.Optional[typing.Union[str, int]]
3071
- :type undo: typing.Optional[bool]
2810
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2811
+ :type execution_context: str | int | None
2812
+ :type undo: bool | None
3072
2813
  :param modifier: Modifier, Name of the modifier to edit
3073
- :type modifier: typing.Union[str, typing.Any]
2814
+ :type modifier: str | typing.Any
3074
2815
  :param type: Type
3075
- :type type: typing.Optional[typing.Any]
2816
+ :type type: typing.Any | None
3076
2817
  """
3077
2818
 
3078
2819
  ...
3079
2820
 
3080
2821
  def time_segment_remove(
3081
- override_context: typing.Optional[
3082
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3083
- ] = None,
3084
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3085
- undo: typing.Optional[bool] = None,
3086
- modifier: typing.Union[str, typing.Any] = "",
3087
- index: typing.Optional[typing.Any] = 0,
2822
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2823
+ execution_context: str | int | None = None,
2824
+ undo: bool | None = None,
2825
+ modifier: str | typing.Any = "",
2826
+ index: typing.Any | None = 0,
3088
2827
  ):
3089
2828
  """Remove the active segment from the time modifier
3090
2829
 
3091
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3092
- :type execution_context: typing.Optional[typing.Union[str, int]]
3093
- :type undo: typing.Optional[bool]
2830
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2831
+ :type execution_context: str | int | None
2832
+ :type undo: bool | None
3094
2833
  :param modifier: Modifier, Name of the modifier to edit
3095
- :type modifier: typing.Union[str, typing.Any]
2834
+ :type modifier: str | typing.Any
3096
2835
  :param index: Index, Index of the segment to remove
3097
- :type index: typing.Optional[typing.Any]
2836
+ :type index: typing.Any | None
3098
2837
  """
3099
2838
 
3100
2839
  ...
3101
2840
 
3102
2841
  def tint_flip(
3103
- override_context: typing.Optional[
3104
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3105
- ] = None,
3106
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3107
- undo: typing.Optional[bool] = None,
2842
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2843
+ execution_context: str | int | None = None,
2844
+ undo: bool | None = None,
3108
2845
  ):
3109
2846
  """Switch tint colors
3110
2847
 
3111
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3112
- :type execution_context: typing.Optional[typing.Union[str, int]]
3113
- :type undo: typing.Optional[bool]
2848
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2849
+ :type execution_context: str | int | None
2850
+ :type undo: bool | None
3114
2851
  """
3115
2852
 
3116
2853
  ...
3117
2854
 
3118
2855
  def trace_image(
3119
- override_context: typing.Optional[
3120
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3121
- ] = None,
3122
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3123
- undo: typing.Optional[bool] = None,
3124
- target: typing.Optional[typing.Any] = "NEW",
3125
- thickness: typing.Optional[typing.Any] = 10,
3126
- resolution: typing.Optional[typing.Any] = 5,
3127
- scale: typing.Optional[typing.Any] = 1.0,
3128
- sample: typing.Optional[typing.Any] = 0.0,
3129
- threshold: typing.Optional[typing.Any] = 0.5,
3130
- turnpolicy: typing.Optional[typing.Any] = "MINORITY",
3131
- mode: typing.Optional[typing.Any] = "SINGLE",
3132
- use_current_frame: typing.Optional[typing.Union[bool, typing.Any]] = True,
3133
- frame_number: typing.Optional[typing.Any] = 0,
2856
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2857
+ execution_context: str | int | None = None,
2858
+ undo: bool | None = None,
2859
+ target: typing.Any | None = "NEW",
2860
+ thickness: typing.Any | None = 10,
2861
+ resolution: typing.Any | None = 5,
2862
+ scale: typing.Any | None = 1.0,
2863
+ sample: typing.Any | None = 0.0,
2864
+ threshold: typing.Any | None = 0.5,
2865
+ turnpolicy: typing.Any | None = "MINORITY",
2866
+ mode: typing.Any | None = "SINGLE",
2867
+ use_current_frame: bool | typing.Any | None = True,
2868
+ frame_number: typing.Any | None = 0,
3134
2869
  ):
3135
2870
  """Extract Grease Pencil strokes from image
3136
2871
 
3137
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3138
- :type execution_context: typing.Optional[typing.Union[str, int]]
3139
- :type undo: typing.Optional[bool]
2872
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2873
+ :type execution_context: str | int | None
2874
+ :type undo: bool | None
3140
2875
  :param target: Target Object, Target grease pencil
3141
- :type target: typing.Optional[typing.Any]
2876
+ :type target: typing.Any | None
3142
2877
  :param thickness: Thickness
3143
- :type thickness: typing.Optional[typing.Any]
2878
+ :type thickness: typing.Any | None
3144
2879
  :param resolution: Resolution, Resolution of the generated curves
3145
- :type resolution: typing.Optional[typing.Any]
2880
+ :type resolution: typing.Any | None
3146
2881
  :param scale: Scale, Scale of the final stroke
3147
- :type scale: typing.Optional[typing.Any]
2882
+ :type scale: typing.Any | None
3148
2883
  :param sample: Sample, Distance to sample points, zero to disable
3149
- :type sample: typing.Optional[typing.Any]
2884
+ :type sample: typing.Any | None
3150
2885
  :param threshold: Color Threshold, Determine the lightness threshold above which strokes are generated
3151
- :type threshold: typing.Optional[typing.Any]
2886
+ :type threshold: typing.Any | None
3152
2887
  :param turnpolicy: Turn Policy, Determines how to resolve ambiguities during decomposition of bitmaps into paths
3153
2888
 
3154
2889
  BLACK
@@ -3171,7 +2906,7 @@ def trace_image(
3171
2906
 
3172
2907
  RANDOM
3173
2908
  Random -- Choose pseudo-randomly.
3174
- :type turnpolicy: typing.Optional[typing.Any]
2909
+ :type turnpolicy: typing.Any | None
3175
2910
  :param mode: Mode, Determines if trace simple image or full sequence
3176
2911
 
3177
2912
  SINGLE
@@ -3179,432 +2914,388 @@ def trace_image(
3179
2914
 
3180
2915
  SEQUENCE
3181
2916
  Sequence -- Trace full sequence.
3182
- :type mode: typing.Optional[typing.Any]
2917
+ :type mode: typing.Any | None
3183
2918
  :param use_current_frame: Start At Current Frame, Trace Image starting in current image frame
3184
- :type use_current_frame: typing.Optional[typing.Union[bool, typing.Any]]
2919
+ :type use_current_frame: bool | typing.Any | None
3185
2920
  :param frame_number: Trace Frame, Used to trace only one frame of the image sequence, set to zero to trace all
3186
- :type frame_number: typing.Optional[typing.Any]
2921
+ :type frame_number: typing.Any | None
3187
2922
  """
3188
2923
 
3189
2924
  ...
3190
2925
 
3191
2926
  def transform_fill(
3192
- override_context: typing.Optional[
3193
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3194
- ] = None,
3195
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3196
- undo: typing.Optional[bool] = None,
3197
- mode: typing.Optional[typing.Any] = "ROTATE",
3198
- location: typing.Optional[typing.Any] = (0.0, 0.0),
3199
- rotation: typing.Optional[typing.Any] = 0.0,
3200
- scale: typing.Optional[typing.Any] = 0.0,
3201
- release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
2927
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2928
+ execution_context: str | int | None = None,
2929
+ undo: bool | None = None,
2930
+ mode: typing.Any | None = "ROTATE",
2931
+ location: typing.Any | None = (0.0, 0.0),
2932
+ rotation: typing.Any | None = 0.0,
2933
+ scale: typing.Any | None = 0.0,
2934
+ release_confirm: bool | typing.Any | None = False,
3202
2935
  ):
3203
2936
  """Transform grease pencil stroke fill
3204
2937
 
3205
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3206
- :type execution_context: typing.Optional[typing.Union[str, int]]
3207
- :type undo: typing.Optional[bool]
2938
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2939
+ :type execution_context: str | int | None
2940
+ :type undo: bool | None
3208
2941
  :param mode: Mode
3209
- :type mode: typing.Optional[typing.Any]
2942
+ :type mode: typing.Any | None
3210
2943
  :param location: Location
3211
- :type location: typing.Optional[typing.Any]
2944
+ :type location: typing.Any | None
3212
2945
  :param rotation: Rotation
3213
- :type rotation: typing.Optional[typing.Any]
2946
+ :type rotation: typing.Any | None
3214
2947
  :param scale: Scale
3215
- :type scale: typing.Optional[typing.Any]
2948
+ :type scale: typing.Any | None
3216
2949
  :param release_confirm: Confirm on Release
3217
- :type release_confirm: typing.Optional[typing.Union[bool, typing.Any]]
2950
+ :type release_confirm: bool | typing.Any | None
3218
2951
  """
3219
2952
 
3220
2953
  ...
3221
2954
 
3222
2955
  def unlock_all(
3223
- override_context: typing.Optional[
3224
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3225
- ] = None,
3226
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3227
- undo: typing.Optional[bool] = None,
2956
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2957
+ execution_context: str | int | None = None,
2958
+ undo: bool | None = None,
3228
2959
  ):
3229
2960
  """Unlock all Grease Pencil layers so that they can be edited
3230
2961
 
3231
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3232
- :type execution_context: typing.Optional[typing.Union[str, int]]
3233
- :type undo: typing.Optional[bool]
2962
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2963
+ :type execution_context: str | int | None
2964
+ :type undo: bool | None
3234
2965
  """
3235
2966
 
3236
2967
  ...
3237
2968
 
3238
2969
  def vertex_color_brightness_contrast(
3239
- override_context: typing.Optional[
3240
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3241
- ] = None,
3242
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3243
- undo: typing.Optional[bool] = None,
3244
- mode: typing.Optional[typing.Any] = "BOTH",
3245
- brightness: typing.Optional[typing.Any] = 0.0,
3246
- contrast: typing.Optional[typing.Any] = 0.0,
2970
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2971
+ execution_context: str | int | None = None,
2972
+ undo: bool | None = None,
2973
+ mode: typing.Any | None = "BOTH",
2974
+ brightness: typing.Any | None = 0.0,
2975
+ contrast: typing.Any | None = 0.0,
3247
2976
  ):
3248
2977
  """Adjust vertex color brightness/contrast
3249
2978
 
3250
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3251
- :type execution_context: typing.Optional[typing.Union[str, int]]
3252
- :type undo: typing.Optional[bool]
2979
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
2980
+ :type execution_context: str | int | None
2981
+ :type undo: bool | None
3253
2982
  :param mode: Mode
3254
- :type mode: typing.Optional[typing.Any]
2983
+ :type mode: typing.Any | None
3255
2984
  :param brightness: Brightness
3256
- :type brightness: typing.Optional[typing.Any]
2985
+ :type brightness: typing.Any | None
3257
2986
  :param contrast: Contrast
3258
- :type contrast: typing.Optional[typing.Any]
2987
+ :type contrast: typing.Any | None
3259
2988
  """
3260
2989
 
3261
2990
  ...
3262
2991
 
3263
2992
  def vertex_color_hsv(
3264
- override_context: typing.Optional[
3265
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3266
- ] = None,
3267
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3268
- undo: typing.Optional[bool] = None,
3269
- mode: typing.Optional[typing.Any] = "BOTH",
3270
- h: typing.Optional[typing.Any] = 0.5,
3271
- s: typing.Optional[typing.Any] = 1.0,
3272
- v: typing.Optional[typing.Any] = 1.0,
2993
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
2994
+ execution_context: str | int | None = None,
2995
+ undo: bool | None = None,
2996
+ mode: typing.Any | None = "BOTH",
2997
+ h: typing.Any | None = 0.5,
2998
+ s: typing.Any | None = 1.0,
2999
+ v: typing.Any | None = 1.0,
3273
3000
  ):
3274
3001
  """Adjust vertex color HSV values
3275
3002
 
3276
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3277
- :type execution_context: typing.Optional[typing.Union[str, int]]
3278
- :type undo: typing.Optional[bool]
3003
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3004
+ :type execution_context: str | int | None
3005
+ :type undo: bool | None
3279
3006
  :param mode: Mode
3280
- :type mode: typing.Optional[typing.Any]
3007
+ :type mode: typing.Any | None
3281
3008
  :param h: Hue
3282
- :type h: typing.Optional[typing.Any]
3009
+ :type h: typing.Any | None
3283
3010
  :param s: Saturation
3284
- :type s: typing.Optional[typing.Any]
3011
+ :type s: typing.Any | None
3285
3012
  :param v: Value
3286
- :type v: typing.Optional[typing.Any]
3013
+ :type v: typing.Any | None
3287
3014
  """
3288
3015
 
3289
3016
  ...
3290
3017
 
3291
3018
  def vertex_color_invert(
3292
- override_context: typing.Optional[
3293
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3294
- ] = None,
3295
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3296
- undo: typing.Optional[bool] = None,
3297
- mode: typing.Optional[typing.Any] = "BOTH",
3019
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3020
+ execution_context: str | int | None = None,
3021
+ undo: bool | None = None,
3022
+ mode: typing.Any | None = "BOTH",
3298
3023
  ):
3299
3024
  """Invert RGB values
3300
3025
 
3301
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3302
- :type execution_context: typing.Optional[typing.Union[str, int]]
3303
- :type undo: typing.Optional[bool]
3026
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3027
+ :type execution_context: str | int | None
3028
+ :type undo: bool | None
3304
3029
  :param mode: Mode
3305
- :type mode: typing.Optional[typing.Any]
3030
+ :type mode: typing.Any | None
3306
3031
  """
3307
3032
 
3308
3033
  ...
3309
3034
 
3310
3035
  def vertex_color_levels(
3311
- override_context: typing.Optional[
3312
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3313
- ] = None,
3314
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3315
- undo: typing.Optional[bool] = None,
3316
- mode: typing.Optional[typing.Any] = "BOTH",
3317
- offset: typing.Optional[typing.Any] = 0.0,
3318
- gain: typing.Optional[typing.Any] = 1.0,
3036
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3037
+ execution_context: str | int | None = None,
3038
+ undo: bool | None = None,
3039
+ mode: typing.Any | None = "BOTH",
3040
+ offset: typing.Any | None = 0.0,
3041
+ gain: typing.Any | None = 1.0,
3319
3042
  ):
3320
3043
  """Adjust levels of vertex colors
3321
3044
 
3322
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3323
- :type execution_context: typing.Optional[typing.Union[str, int]]
3324
- :type undo: typing.Optional[bool]
3045
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3046
+ :type execution_context: str | int | None
3047
+ :type undo: bool | None
3325
3048
  :param mode: Mode
3326
- :type mode: typing.Optional[typing.Any]
3049
+ :type mode: typing.Any | None
3327
3050
  :param offset: Offset, Value to add to colors
3328
- :type offset: typing.Optional[typing.Any]
3051
+ :type offset: typing.Any | None
3329
3052
  :param gain: Gain, Value to multiply colors by
3330
- :type gain: typing.Optional[typing.Any]
3053
+ :type gain: typing.Any | None
3331
3054
  """
3332
3055
 
3333
3056
  ...
3334
3057
 
3335
3058
  def vertex_color_set(
3336
- override_context: typing.Optional[
3337
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3338
- ] = None,
3339
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3340
- undo: typing.Optional[bool] = None,
3341
- mode: typing.Optional[typing.Any] = "BOTH",
3342
- factor: typing.Optional[typing.Any] = 1.0,
3059
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3060
+ execution_context: str | int | None = None,
3061
+ undo: bool | None = None,
3062
+ mode: typing.Any | None = "BOTH",
3063
+ factor: typing.Any | None = 1.0,
3343
3064
  ):
3344
3065
  """Set active color to all selected vertex
3345
3066
 
3346
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3347
- :type execution_context: typing.Optional[typing.Union[str, int]]
3348
- :type undo: typing.Optional[bool]
3067
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3068
+ :type execution_context: str | int | None
3069
+ :type undo: bool | None
3349
3070
  :param mode: Mode
3350
- :type mode: typing.Optional[typing.Any]
3071
+ :type mode: typing.Any | None
3351
3072
  :param factor: Factor, Mix Factor
3352
- :type factor: typing.Optional[typing.Any]
3073
+ :type factor: typing.Any | None
3353
3074
  """
3354
3075
 
3355
3076
  ...
3356
3077
 
3357
3078
  def vertex_group_assign(
3358
- override_context: typing.Optional[
3359
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3360
- ] = None,
3361
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3362
- undo: typing.Optional[bool] = None,
3079
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3080
+ execution_context: str | int | None = None,
3081
+ undo: bool | None = None,
3363
3082
  ):
3364
3083
  """Assign the selected vertices to the active vertex group
3365
3084
 
3366
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3367
- :type execution_context: typing.Optional[typing.Union[str, int]]
3368
- :type undo: typing.Optional[bool]
3085
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3086
+ :type execution_context: str | int | None
3087
+ :type undo: bool | None
3369
3088
  """
3370
3089
 
3371
3090
  ...
3372
3091
 
3373
3092
  def vertex_group_deselect(
3374
- override_context: typing.Optional[
3375
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3376
- ] = None,
3377
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3378
- undo: typing.Optional[bool] = None,
3093
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3094
+ execution_context: str | int | None = None,
3095
+ undo: bool | None = None,
3379
3096
  ):
3380
3097
  """Deselect all selected vertices assigned to the active vertex group
3381
3098
 
3382
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3383
- :type execution_context: typing.Optional[typing.Union[str, int]]
3384
- :type undo: typing.Optional[bool]
3099
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3100
+ :type execution_context: str | int | None
3101
+ :type undo: bool | None
3385
3102
  """
3386
3103
 
3387
3104
  ...
3388
3105
 
3389
3106
  def vertex_group_invert(
3390
- override_context: typing.Optional[
3391
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3392
- ] = None,
3393
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3394
- undo: typing.Optional[bool] = None,
3107
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3108
+ execution_context: str | int | None = None,
3109
+ undo: bool | None = None,
3395
3110
  ):
3396
3111
  """Invert weights to the active vertex group
3397
3112
 
3398
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3399
- :type execution_context: typing.Optional[typing.Union[str, int]]
3400
- :type undo: typing.Optional[bool]
3113
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3114
+ :type execution_context: str | int | None
3115
+ :type undo: bool | None
3401
3116
  """
3402
3117
 
3403
3118
  ...
3404
3119
 
3405
3120
  def vertex_group_normalize(
3406
- override_context: typing.Optional[
3407
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3408
- ] = None,
3409
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3410
- undo: typing.Optional[bool] = None,
3121
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3122
+ execution_context: str | int | None = None,
3123
+ undo: bool | None = None,
3411
3124
  ):
3412
3125
  """Normalize weights to the active vertex group
3413
3126
 
3414
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3415
- :type execution_context: typing.Optional[typing.Union[str, int]]
3416
- :type undo: typing.Optional[bool]
3127
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3128
+ :type execution_context: str | int | None
3129
+ :type undo: bool | None
3417
3130
  """
3418
3131
 
3419
3132
  ...
3420
3133
 
3421
3134
  def vertex_group_normalize_all(
3422
- override_context: typing.Optional[
3423
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3424
- ] = None,
3425
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3426
- undo: typing.Optional[bool] = None,
3427
- lock_active: typing.Optional[typing.Union[bool, typing.Any]] = True,
3135
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3136
+ execution_context: str | int | None = None,
3137
+ undo: bool | None = None,
3138
+ lock_active: bool | typing.Any | None = True,
3428
3139
  ):
3429
3140
  """Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
3430
3141
 
3431
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3432
- :type execution_context: typing.Optional[typing.Union[str, int]]
3433
- :type undo: typing.Optional[bool]
3142
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3143
+ :type execution_context: str | int | None
3144
+ :type undo: bool | None
3434
3145
  :param lock_active: Lock Active, Keep the values of the active group while normalizing others
3435
- :type lock_active: typing.Optional[typing.Union[bool, typing.Any]]
3146
+ :type lock_active: bool | typing.Any | None
3436
3147
  """
3437
3148
 
3438
3149
  ...
3439
3150
 
3440
3151
  def vertex_group_remove_from(
3441
- override_context: typing.Optional[
3442
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3443
- ] = None,
3444
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3445
- undo: typing.Optional[bool] = None,
3152
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3153
+ execution_context: str | int | None = None,
3154
+ undo: bool | None = None,
3446
3155
  ):
3447
3156
  """Remove the selected vertices from active or all vertex group(s)
3448
3157
 
3449
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3450
- :type execution_context: typing.Optional[typing.Union[str, int]]
3451
- :type undo: typing.Optional[bool]
3158
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3159
+ :type execution_context: str | int | None
3160
+ :type undo: bool | None
3452
3161
  """
3453
3162
 
3454
3163
  ...
3455
3164
 
3456
3165
  def vertex_group_select(
3457
- override_context: typing.Optional[
3458
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3459
- ] = None,
3460
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3461
- undo: typing.Optional[bool] = None,
3166
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3167
+ execution_context: str | int | None = None,
3168
+ undo: bool | None = None,
3462
3169
  ):
3463
3170
  """Select all the vertices assigned to the active vertex group
3464
3171
 
3465
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3466
- :type execution_context: typing.Optional[typing.Union[str, int]]
3467
- :type undo: typing.Optional[bool]
3172
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3173
+ :type execution_context: str | int | None
3174
+ :type undo: bool | None
3468
3175
  """
3469
3176
 
3470
3177
  ...
3471
3178
 
3472
3179
  def vertex_group_smooth(
3473
- override_context: typing.Optional[
3474
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3475
- ] = None,
3476
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3477
- undo: typing.Optional[bool] = None,
3478
- factor: typing.Optional[typing.Any] = 0.5,
3479
- repeat: typing.Optional[typing.Any] = 1,
3180
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3181
+ execution_context: str | int | None = None,
3182
+ undo: bool | None = None,
3183
+ factor: typing.Any | None = 0.5,
3184
+ repeat: typing.Any | None = 1,
3480
3185
  ):
3481
3186
  """Smooth weights to the active vertex group
3482
3187
 
3483
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3484
- :type execution_context: typing.Optional[typing.Union[str, int]]
3485
- :type undo: typing.Optional[bool]
3188
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3189
+ :type execution_context: str | int | None
3190
+ :type undo: bool | None
3486
3191
  :param factor: Factor
3487
- :type factor: typing.Optional[typing.Any]
3192
+ :type factor: typing.Any | None
3488
3193
  :param repeat: Iterations
3489
- :type repeat: typing.Optional[typing.Any]
3194
+ :type repeat: typing.Any | None
3490
3195
  """
3491
3196
 
3492
3197
  ...
3493
3198
 
3494
3199
  def vertex_paint(
3495
- override_context: typing.Optional[
3496
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3497
- ] = None,
3498
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3499
- undo: typing.Optional[bool] = None,
3500
- stroke: typing.Optional[
3501
- bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
3502
- ] = None,
3503
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
3200
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3201
+ execution_context: str | int | None = None,
3202
+ undo: bool | None = None,
3203
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
3204
+ | None = None,
3205
+ wait_for_input: bool | typing.Any | None = True,
3504
3206
  ):
3505
3207
  """Paint stroke points with a color
3506
3208
 
3507
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3508
- :type execution_context: typing.Optional[typing.Union[str, int]]
3509
- :type undo: typing.Optional[bool]
3209
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3210
+ :type execution_context: str | int | None
3211
+ :type undo: bool | None
3510
3212
  :param stroke: Stroke
3511
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
3213
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
3512
3214
  :param wait_for_input: Wait for Input
3513
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
3215
+ :type wait_for_input: bool | typing.Any | None
3514
3216
  """
3515
3217
 
3516
3218
  ...
3517
3219
 
3518
3220
  def vertexmode_toggle(
3519
- override_context: typing.Optional[
3520
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3521
- ] = None,
3522
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3523
- undo: typing.Optional[bool] = None,
3524
- back: typing.Optional[typing.Union[bool, typing.Any]] = False,
3221
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3222
+ execution_context: str | int | None = None,
3223
+ undo: bool | None = None,
3224
+ back: bool | typing.Any | None = False,
3525
3225
  ):
3526
3226
  """Enter/Exit vertex paint mode for Grease Pencil strokes
3527
3227
 
3528
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3529
- :type execution_context: typing.Optional[typing.Union[str, int]]
3530
- :type undo: typing.Optional[bool]
3228
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3229
+ :type execution_context: str | int | None
3230
+ :type undo: bool | None
3531
3231
  :param back: Return to Previous Mode, Return to previous mode
3532
- :type back: typing.Optional[typing.Union[bool, typing.Any]]
3232
+ :type back: bool | typing.Any | None
3533
3233
  """
3534
3234
 
3535
3235
  ...
3536
3236
 
3537
3237
  def weight_paint(
3538
- override_context: typing.Optional[
3539
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3540
- ] = None,
3541
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3542
- undo: typing.Optional[bool] = None,
3543
- stroke: typing.Optional[
3544
- bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
3545
- ] = None,
3546
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
3238
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3239
+ execution_context: str | int | None = None,
3240
+ undo: bool | None = None,
3241
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
3242
+ | None = None,
3243
+ wait_for_input: bool | typing.Any | None = True,
3547
3244
  ):
3548
3245
  """Draw weight on stroke points
3549
3246
 
3550
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3551
- :type execution_context: typing.Optional[typing.Union[str, int]]
3552
- :type undo: typing.Optional[bool]
3247
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3248
+ :type execution_context: str | int | None
3249
+ :type undo: bool | None
3553
3250
  :param stroke: Stroke
3554
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
3251
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
3555
3252
  :param wait_for_input: Wait for Input
3556
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
3253
+ :type wait_for_input: bool | typing.Any | None
3557
3254
  """
3558
3255
 
3559
3256
  ...
3560
3257
 
3561
3258
  def weight_sample(
3562
- override_context: typing.Optional[
3563
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3564
- ] = None,
3565
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3566
- undo: typing.Optional[bool] = None,
3259
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3260
+ execution_context: str | int | None = None,
3261
+ undo: bool | None = None,
3567
3262
  ):
3568
3263
  """Use the mouse to sample a weight in the 3D view
3569
3264
 
3570
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3571
- :type execution_context: typing.Optional[typing.Union[str, int]]
3572
- :type undo: typing.Optional[bool]
3265
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3266
+ :type execution_context: str | int | None
3267
+ :type undo: bool | None
3573
3268
  """
3574
3269
 
3575
3270
  ...
3576
3271
 
3577
3272
  def weight_toggle_direction(
3578
- override_context: typing.Optional[
3579
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3580
- ] = None,
3581
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3582
- undo: typing.Optional[bool] = None,
3273
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3274
+ execution_context: str | int | None = None,
3275
+ undo: bool | None = None,
3583
3276
  ):
3584
3277
  """Toggle Add/Subtract for the weight paint draw tool
3585
3278
 
3586
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3587
- :type execution_context: typing.Optional[typing.Union[str, int]]
3588
- :type undo: typing.Optional[bool]
3279
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3280
+ :type execution_context: str | int | None
3281
+ :type undo: bool | None
3589
3282
  """
3590
3283
 
3591
3284
  ...
3592
3285
 
3593
3286
  def weightmode_toggle(
3594
- override_context: typing.Optional[
3595
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
3596
- ] = None,
3597
- execution_context: typing.Optional[typing.Union[str, int]] = None,
3598
- undo: typing.Optional[bool] = None,
3599
- back: typing.Optional[typing.Union[bool, typing.Any]] = False,
3287
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
3288
+ execution_context: str | int | None = None,
3289
+ undo: bool | None = None,
3290
+ back: bool | typing.Any | None = False,
3600
3291
  ):
3601
3292
  """Enter/Exit weight paint mode for Grease Pencil strokes
3602
3293
 
3603
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
3604
- :type execution_context: typing.Optional[typing.Union[str, int]]
3605
- :type undo: typing.Optional[bool]
3294
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
3295
+ :type execution_context: str | int | None
3296
+ :type undo: bool | None
3606
3297
  :param back: Return to Previous Mode, Return to previous mode
3607
- :type back: typing.Optional[typing.Union[bool, typing.Any]]
3298
+ :type back: bool | typing.Any | None
3608
3299
  """
3609
3300
 
3610
3301
  ...