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