fake-bge-module 20250317__py3-none-any.whl → 20260201__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.
Files changed (395) hide show
  1. {animsys_refactor → _animsys_refactor}/__init__.pyi +7 -6
  2. {bl_console_utils → _bl_console_utils}/__init__.pyi +1 -0
  3. {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +1 -0
  4. {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +1 -13
  5. {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +1 -5
  6. {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +3 -13
  7. {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +1 -10
  8. {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +2 -0
  9. _bl_i18n_utils/bl_extract_messages/__init__.pyi +28 -0
  10. {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +2 -1
  11. {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +10 -7
  12. {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +53 -50
  13. _bl_i18n_utils/utils_cli/__init__.pyi +11 -0
  14. _bl_i18n_utils/utils_languages_menu/__init__.pyi +6 -0
  15. {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +3 -2
  16. _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
  17. {bl_previews_utils → _bl_previews_utils}/__init__.pyi +1 -0
  18. _bl_previews_utils/bl_previews_render/__init__.pyi +14 -0
  19. {bl_rna_utils → _bl_rna_utils}/__init__.pyi +1 -0
  20. {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +3 -2
  21. {bl_text_utils → _bl_text_utils}/__init__.pyi +1 -0
  22. _bl_text_utils/external_editor/__init__.pyi +6 -0
  23. {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
  24. {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +2 -1
  25. _blendfile_header/__init__.pyi +48 -0
  26. _bpy_internal/__init__.pyi +5 -1
  27. _bpy_internal/addons/__init__.pyi +1 -0
  28. _bpy_internal/addons/cli/__init__.pyi +2 -1
  29. _bpy_internal/assets/__init__.pyi +5 -0
  30. _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
  31. _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
  32. _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
  33. _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
  34. _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
  35. _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
  36. _bpy_internal/extensions/__init__.pyi +1 -0
  37. _bpy_internal/extensions/junction_module/__init__.pyi +8 -7
  38. _bpy_internal/extensions/stale_file_manager/__init__.pyi +9 -8
  39. _bpy_internal/extensions/wheel_manager/__init__.pyi +6 -5
  40. {bl_i18n_utils/utils_languages_menu → _bpy_internal/filesystem}/__init__.pyi +2 -2
  41. _bpy_internal/filesystem/locking/__init__.pyi +28 -0
  42. _bpy_internal/grease_pencil/__init__.pyi +1 -0
  43. _bpy_internal/grease_pencil/stroke/__init__.pyi +22 -6
  44. _bpy_internal/platform/__init__.pyi +5 -0
  45. _bpy_internal/platform/freedesktop/__init__.pyi +21 -0
  46. _bpy_internal/system_info/__init__.pyi +1 -0
  47. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -1
  48. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -1
  49. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +3 -2
  50. {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +1 -0
  51. _bpy_types/__init__.pyi +1635 -0
  52. {console_python → _console_python}/__init__.pyi +8 -7
  53. _console_shell/__init__.pyi +10 -0
  54. {graphviz_export → _graphviz_export}/__init__.pyi +3 -2
  55. _keyingsets_utils/__init__.pyi +21 -0
  56. {rna_info → _rna_info}/__init__.pyi +32 -27
  57. {rna_xml → _rna_xml}/__init__.pyi +7 -6
  58. addon_utils/__init__.pyi +13 -25
  59. aud/__init__.pyi +133 -155
  60. bge/__init__.pyi +1 -0
  61. bge/app/__init__.pyi +1 -0
  62. bge/constraints/__init__.pyi +22 -51
  63. bge/types/__init__.pyi +618 -1913
  64. bge_extras/__init__.pyi +1 -0
  65. bge_extras/logger/__init__.pyi +4 -3
  66. bgui/__init__.pyi +1 -0
  67. bgui/frame/__init__.pyi +1 -0
  68. bgui/frame_button/__init__.pyi +1 -0
  69. bgui/image/__init__.pyi +1 -1
  70. bgui/image_button/__init__.pyi +1 -0
  71. bgui/label/__init__.pyi +1 -0
  72. bgui/list_box/__init__.pyi +1 -1
  73. bgui/progress_bar/__init__.pyi +2 -1
  74. bgui/system/__init__.pyi +3 -5
  75. bgui/text_block/__init__.pyi +1 -0
  76. bgui/text_input/__init__.pyi +9 -8
  77. bgui/theme/__init__.pyi +4 -3
  78. bgui/widget/__init__.pyi +5 -4
  79. bl_app_override/__init__.pyi +4 -3
  80. bl_app_override/helpers/__init__.pyi +3 -2
  81. bl_app_template_utils/__init__.pyi +5 -4
  82. bl_app_templates_system/Game_Engine/__init__.pyi +5 -4
  83. bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
  84. bl_app_templates_system/__init__.pyi +2 -0
  85. bl_keymap_utils/__init__.pyi +1 -0
  86. bl_keymap_utils/io/__init__.pyi +10 -9
  87. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
  88. bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
  89. bl_keymap_utils/platform_helpers/__init__.pyi +3 -2
  90. bl_keymap_utils/versioning/__init__.pyi +2 -1
  91. bl_math/__init__.pyi +4 -13
  92. bl_operators/__init__.pyi +4 -2
  93. bl_operators/add_mesh_torus/__init__.pyi +9 -9
  94. bl_operators/anim/__init__.pyi +90 -62
  95. bl_operators/assets/__init__.pyi +14 -18
  96. bl_operators/bmesh/__init__.pyi +1 -0
  97. bl_operators/bmesh/find_adjacent/__init__.pyi +12 -9
  98. bl_operators/bone_selection_sets/__init__.pyi +34 -60
  99. bl_operators/clip/__init__.pyi +39 -57
  100. bl_operators/connect_to_output/__init__.pyi +20 -18
  101. bl_operators/console/__init__.pyi +17 -25
  102. bl_operators/constraint/__init__.pyi +15 -21
  103. bl_operators/copy_global_transform/__init__.pyi +261 -0
  104. bl_operators/file/__init__.pyi +13 -17
  105. bl_operators/freestyle/__init__.pyi +15 -21
  106. bl_operators/geometry_nodes/__init__.pyi +30 -36
  107. bl_operators/grease_pencil/__init__.pyi +5 -5
  108. bl_operators/image/__init__.pyi +14 -22
  109. bl_operators/image_as_planes/__init__.pyi +36 -42
  110. bl_operators/mesh/__init__.pyi +8 -53
  111. bl_operators/node/__init__.pyi +375 -92
  112. bl_operators/node_editor/__init__.pyi +1 -0
  113. bl_operators/node_editor/node_functions/__init__.pyi +10 -9
  114. bl_operators/object/__init__.pyi +57 -98
  115. bl_operators/object_align/__init__.pyi +8 -8
  116. bl_operators/object_quick_effects/__init__.pyi +15 -21
  117. bl_operators/object_randomize_transform/__init__.pyi +6 -6
  118. bl_operators/presets/__init__.pyi +46 -94
  119. bl_operators/rigidbody/__init__.pyi +12 -16
  120. bl_operators/screen_play_rendered_anim/__init__.pyi +5 -5
  121. bl_operators/sequencer/__init__.pyi +40 -54
  122. bl_operators/spreadsheet/__init__.pyi +7 -7
  123. bl_operators/userpref/__init__.pyi +69 -117
  124. bl_operators/uvcalc_follow_active/__init__.pyi +8 -8
  125. bl_operators/uvcalc_lightmap/__init__.pyi +12 -12
  126. bl_operators/uvcalc_transform/__init__.pyi +39 -28
  127. bl_operators/vertexpaint_dirt/__init__.pyi +7 -7
  128. bl_operators/view3d/__init__.pyi +31 -43
  129. bl_operators/wm/__init__.pyi +139 -231
  130. bl_operators/world/__init__.pyi +6 -6
  131. bl_ui/__init__.pyi +18 -17
  132. bl_ui/anim/__init__.pyi +5 -5
  133. bl_ui/asset_shelf/__init__.pyi +5 -5
  134. bl_ui/generic_ui_list/__init__.pyi +11 -25
  135. bl_ui/node_add_menu/__init__.pyi +281 -12
  136. bl_ui/node_add_menu_compositor/__init__.pyi +135 -91
  137. bl_ui/node_add_menu_geometry/__init__.pyi +407 -263
  138. bl_ui/node_add_menu_shader/__init__.pyi +67 -67
  139. bl_ui/node_add_menu_texture/__init__.pyi +25 -69
  140. bl_ui/properties_animviz/__init__.pyi +3 -2
  141. bl_ui/properties_collection/__init__.pyi +20 -30
  142. bl_ui/properties_constraint/__init__.pyi +228 -450
  143. bl_ui/properties_data_armature/__init__.pyi +45 -79
  144. bl_ui/properties_data_bone/__init__.pyi +33 -51
  145. bl_ui/properties_data_camera/__init__.pyi +43 -75
  146. bl_ui/properties_data_curve/__init__.pyi +42 -101
  147. bl_ui/properties_data_curves/__init__.pyi +21 -35
  148. bl_ui/properties_data_empty/__init__.pyi +8 -10
  149. bl_ui/properties_data_grease_pencil/__init__.pyi +49 -87
  150. bl_ui/properties_data_lattice/__init__.pyi +12 -18
  151. bl_ui/properties_data_light/__init__.pyi +28 -46
  152. bl_ui/properties_data_lightprobe/__init__.pyi +35 -61
  153. bl_ui/properties_data_mesh/__init__.pyi +73 -120
  154. bl_ui/properties_data_metaball/__init__.pyi +16 -26
  155. bl_ui/properties_data_modifier/__init__.pyi +34 -39
  156. bl_ui/properties_data_pointcloud/__init__.pyi +17 -27
  157. bl_ui/properties_data_shaderfx/__init__.pyi +4 -4
  158. bl_ui/properties_data_speaker/__init__.pyi +15 -25
  159. bl_ui/properties_data_volume/__init__.pyi +22 -38
  160. bl_ui/properties_freestyle/__init__.pyi +79 -127
  161. bl_ui/properties_game/__init__.pyi +88 -84
  162. bl_ui/properties_grease_pencil_common/__init__.pyi +33 -190
  163. bl_ui/properties_mask_common/__init__.pyi +33 -45
  164. bl_ui/properties_material/__init__.pyi +52 -111
  165. bl_ui/properties_material_gpencil/__init__.pyi +48 -68
  166. bl_ui/properties_object/__init__.pyi +123 -93
  167. bl_ui/properties_output/__init__.pyi +103 -81
  168. bl_ui/properties_paint_common/__init__.pyi +78 -59
  169. bl_ui/properties_particle/__init__.pyi +160 -262
  170. bl_ui/properties_physics_cloth/__init__.pyi +36 -62
  171. bl_ui/properties_physics_common/__init__.pyi +11 -11
  172. bl_ui/properties_physics_dynamicpaint/__init__.pyi +81 -123
  173. bl_ui/properties_physics_field/__init__.pyi +35 -53
  174. bl_ui/properties_physics_fluid/__init__.pyi +106 -160
  175. bl_ui/properties_physics_geometry_nodes/__init__.pyi +6 -6
  176. bl_ui/properties_physics_rigidbody/__init__.pyi +28 -42
  177. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +44 -68
  178. bl_ui/properties_physics_softbody/__init__.pyi +38 -66
  179. bl_ui/properties_render/__init__.pyi +267 -259
  180. bl_ui/properties_scene/__init__.pyi +69 -72
  181. bl_ui/properties_strip/__init__.pyi +744 -0
  182. bl_ui/properties_strip_modifier/__init__.pyi +45 -0
  183. bl_ui/properties_texture/__init__.pyi +69 -122
  184. bl_ui/properties_view_layer/__init__.pyi +97 -51
  185. bl_ui/properties_workspace/__init__.pyi +12 -18
  186. bl_ui/properties_world/__init__.pyi +33 -53
  187. bl_ui/space_clip/__init__.pyi +231 -311
  188. bl_ui/space_console/__init__.pyi +14 -24
  189. bl_ui/space_dopesheet/__init__.pyi +193 -125
  190. bl_ui/space_filebrowser/__init__.pyi +107 -131
  191. bl_ui/space_graph/__init__.pyi +93 -80
  192. bl_ui/space_image/__init__.pyi +207 -291
  193. bl_ui/space_info/__init__.pyi +14 -24
  194. bl_ui/space_logic/__init__.pyi +14 -22
  195. bl_ui/space_nla/__init__.pyi +63 -69
  196. bl_ui/space_node/__init__.pyi +215 -154
  197. bl_ui/space_outliner/__init__.pyi +65 -61
  198. bl_ui/space_properties/__init__.pyi +41 -16
  199. bl_ui/space_sequencer/__init__.pyi +276 -980
  200. bl_ui/space_spreadsheet/__init__.pyi +27 -23
  201. bl_ui/space_statusbar/__init__.pyi +4 -4
  202. bl_ui/space_text/__init__.pyi +39 -73
  203. bl_ui/space_time/__init__.pyi +33 -78
  204. bl_ui/space_toolsystem_common/__init__.pyi +31 -28
  205. bl_ui/space_toolsystem_toolbar/__init__.pyi +67 -43
  206. bl_ui/space_topbar/__init__.pyi +68 -111
  207. bl_ui/space_userpref/__init__.pyi +310 -445
  208. bl_ui/space_view3d/__init__.pyi +667 -1122
  209. bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
  210. bl_ui/space_view3d_toolbar/__init__.pyi +237 -966
  211. bl_ui/utils/__init__.pyi +4 -3
  212. blend_render_info/__init__.pyi +4 -2
  213. blf/__init__.pyi +92 -59
  214. bmesh/__init__.pyi +4 -10
  215. bmesh/geometry/__init__.pyi +2 -4
  216. bmesh/ops/__init__.pyi +442 -815
  217. bmesh/types/__init__.pyi +377 -720
  218. bmesh/utils/__init__.pyi +20 -45
  219. bpy/__init__.pyi +2 -1
  220. bpy/app/__init__.pyi +96 -90
  221. bpy/app/handlers/__init__.pyi +24 -19
  222. bpy/app/icons/__init__.pyi +2 -7
  223. bpy/app/timers/__init__.pyi +5 -18
  224. bpy/app/translations/__init__.pyi +21 -35
  225. bpy/msgbus/__init__.pyi +20 -9
  226. bpy/ops/__init__.pyi +21 -3
  227. bpy/ops/action/__init__.pyi +121 -226
  228. bpy/ops/anim/__init__.pyi +204 -358
  229. bpy/ops/armature/__init__.pyi +129 -249
  230. bpy/ops/asset/__init__.pyi +82 -111
  231. bpy/ops/bge_bricknodes/__init__.pyi +61 -0
  232. bpy/ops/boid/__init__.pyi +44 -50
  233. bpy/ops/bricknodes/__init__.pyi +37 -0
  234. bpy/ops/brush/__init__.pyi +33 -120
  235. bpy/ops/buttons/__init__.pyi +27 -83
  236. bpy/ops/cachefile/__init__.pyi +16 -74
  237. bpy/ops/camera/__init__.pyi +3 -13
  238. bpy/ops/clip/__init__.pyi +278 -558
  239. bpy/ops/cloth/__init__.pyi +2 -6
  240. bpy/ops/collection/__init__.pyi +34 -44
  241. bpy/ops/console/__init__.pyi +70 -111
  242. bpy/ops/constraint/__init__.pyi +34 -102
  243. bpy/ops/curve/__init__.pyi +163 -315
  244. bpy/ops/curves/__init__.pyi +163 -189
  245. bpy/ops/cycles/__init__.pyi +8 -18
  246. bpy/ops/dpaint/__init__.pyi +21 -30
  247. bpy/ops/ed/__init__.pyi +59 -103
  248. bpy/ops/export_anim/__init__.pyi +4 -11
  249. bpy/ops/export_scene/__init__.pyi +29 -174
  250. bpy/ops/extensions/__init__.pyi +102 -194
  251. bpy/ops/file/__init__.pyi +166 -272
  252. bpy/ops/fluid/__init__.pyi +78 -86
  253. bpy/ops/font/__init__.pyi +73 -164
  254. bpy/ops/geometry/__init__.pyi +33 -144
  255. bpy/ops/gizmogroup/__init__.pyi +8 -14
  256. bpy/ops/gpencil/__init__.pyi +31 -58
  257. bpy/ops/graph/__init__.pyi +176 -411
  258. bpy/ops/grease_pencil/__init__.pyi +416 -639
  259. bpy/ops/image/__init__.pyi +148 -492
  260. bpy/ops/import_anim/__init__.pyi +5 -18
  261. bpy/ops/import_curve/__init__.pyi +4 -6
  262. bpy/ops/import_scene/__init__.pyi +22 -49
  263. bpy/ops/info/__init__.pyi +27 -43
  264. bpy/ops/lattice/__init__.pyi +26 -43
  265. bpy/ops/logic/__init__.pyi +49 -122
  266. bpy/ops/logic_nodes/__init__.pyi +461 -0
  267. bpy/ops/marker/__init__.pyi +24 -60
  268. bpy/ops/mask/__init__.pyi +118 -222
  269. bpy/ops/material/__init__.pyi +19 -18
  270. bpy/ops/mball/__init__.pyi +13 -39
  271. bpy/ops/mesh/__init__.pyi +409 -1264
  272. bpy/ops/nla/__init__.pyi +140 -232
  273. bpy/ops/node/__init__.pyi +1189 -807
  274. bpy/ops/object/__init__.pyi +806 -1659
  275. bpy/ops/outliner/__init__.pyi +284 -432
  276. bpy/ops/paint/__init__.pyi +189 -381
  277. bpy/ops/paintcurve/__init__.pyi +29 -44
  278. bpy/ops/palette/__init__.pyi +23 -34
  279. bpy/ops/particle/__init__.pyi +135 -201
  280. bpy/ops/pointcloud/__init__.pyi +23 -42
  281. bpy/ops/pose/__init__.pyi +195 -310
  282. bpy/ops/poselib/__init__.pyi +45 -73
  283. bpy/ops/preferences/__init__.pyi +89 -221
  284. bpy/ops/ptcache/__init__.pyi +32 -39
  285. bpy/ops/render/__init__.pyi +36 -83
  286. bpy/ops/rigidbody/__init__.pyi +47 -78
  287. bpy/ops/scene/__init__.pyi +169 -222
  288. bpy/ops/screen/__init__.pyi +146 -259
  289. bpy/ops/script/__init__.pyi +9 -15
  290. bpy/ops/sculpt/__init__.pyi +194 -354
  291. bpy/ops/sculpt_curves/__init__.pyi +21 -29
  292. bpy/ops/sequencer/__init__.pyi +586 -836
  293. bpy/ops/sound/__init__.pyi +25 -131
  294. bpy/ops/spreadsheet/__init__.pyi +34 -21
  295. bpy/ops/surface/__init__.pyi +7 -54
  296. bpy/ops/text/__init__.pyi +166 -281
  297. bpy/ops/text_editor/__init__.pyi +2 -6
  298. bpy/ops/texture/__init__.pyi +20 -22
  299. bpy/ops/transform/__init__.pyi +108 -445
  300. bpy/ops/ui/__init__.pyi +157 -219
  301. bpy/ops/uilist/__init__.pyi +4 -16
  302. bpy/ops/uv/__init__.pyi +291 -347
  303. bpy/ops/view2d/__init__.pyi +29 -88
  304. bpy/ops/view3d/__init__.pyi +238 -438
  305. bpy/ops/wm/__init__.pyi +651 -1510
  306. bpy/ops/workspace/__init__.pyi +42 -44
  307. bpy/ops/world/__init__.pyi +12 -13
  308. bpy/path/__init__.pyi +5 -36
  309. bpy/props/__init__.pyi +395 -259
  310. bpy/{_typing → stub_internal}/__init__.pyi +1 -0
  311. bpy/{_typing → stub_internal}/rna_enums/__init__.pyi +214 -114
  312. bpy/types/__init__.pyi +93285 -103831
  313. bpy/utils/__init__.pyi +46 -104
  314. bpy/utils/previews/__init__.pyi +7 -15
  315. bpy/utils/units/__init__.pyi +6 -15
  316. bpy_extras/__init__.pyi +1 -0
  317. bpy_extras/anim_utils/__init__.pyi +32 -23
  318. bpy_extras/asset_utils/__init__.pyi +1 -0
  319. bpy_extras/bmesh_utils/__init__.pyi +2 -2
  320. bpy_extras/id_map_utils/__init__.pyi +15 -6
  321. bpy_extras/image_utils/__init__.pyi +3 -11
  322. bpy_extras/io_utils/__init__.pyi +22 -38
  323. bpy_extras/keyconfig_utils/__init__.pyi +5 -4
  324. bpy_extras/mesh_utils/__init__.pyi +3 -14
  325. bpy_extras/node_shader_utils/__init__.pyi +63 -70
  326. bpy_extras/node_utils/__init__.pyi +4 -3
  327. bpy_extras/object_utils/__init__.pyi +6 -19
  328. bpy_extras/view3d_utils/__init__.pyi +1 -18
  329. bpy_extras/wm_utils/__init__.pyi +1 -0
  330. bpy_extras/wm_utils/progress_report/__init__.pyi +12 -11
  331. {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/METADATA +9 -3
  332. fake_bge_module-20260201.dist-info/RECORD +414 -0
  333. {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/WHEEL +1 -1
  334. {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/top_level.txt +16 -16
  335. freestyle/__init__.pyi +1 -0
  336. freestyle/chainingiterators/__init__.pyi +41 -60
  337. freestyle/functions/__init__.pyi +56 -194
  338. freestyle/predicates/__init__.pyi +11 -61
  339. freestyle/shaders/__init__.pyi +95 -156
  340. freestyle/types/__init__.pyi +306 -941
  341. freestyle/utils/ContextFunctions/__init__.pyi +4 -24
  342. freestyle/utils/__init__.pyi +46 -36
  343. gpu/__init__.pyi +84 -5
  344. gpu/capabilities/__init__.pyi +1 -21
  345. gpu/matrix/__init__.pyi +16 -24
  346. gpu/platform/__init__.pyi +3 -7
  347. gpu/select/__init__.pyi +2 -1
  348. gpu/shader/__init__.pyi +43 -9
  349. gpu/state/__init__.pyi +66 -44
  350. gpu/texture/__init__.pyi +4 -5
  351. gpu/types/__init__.pyi +216 -216
  352. gpu_extras/__init__.pyi +1 -0
  353. gpu_extras/batch/__init__.pyi +2 -5
  354. gpu_extras/presets/__init__.pyi +9 -10
  355. idprop/__init__.pyi +17 -0
  356. idprop/types/__init__.pyi +18 -17
  357. imbuf/__init__.pyi +13 -9
  358. imbuf/types/__init__.pyi +10 -23
  359. keyingsets_builtins/__init__.pyi +51 -93
  360. mathutils/__init__.pyi +296 -2255
  361. mathutils/bvhtree/__init__.pyi +22 -29
  362. mathutils/geometry/__init__.pyi +83 -132
  363. mathutils/interpolate/__init__.pyi +7 -5
  364. mathutils/kdtree/__init__.pyi +5 -14
  365. mathutils/noise/__init__.pyi +62 -106
  366. nodeitems_builtins/__init__.pyi +5 -4
  367. nodeitems_utils/__init__.pyi +10 -9
  368. rna_keymap_ui/__init__.pyi +7 -6
  369. rna_prop_ui/__init__.pyi +14 -13
  370. _bpy_internal/freedesktop/__init__.pyi +0 -20
  371. bgl/__init__.pyi +0 -4235
  372. bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -24
  373. bl_i18n_utils/utils_cli/__init__.pyi +0 -10
  374. bl_previews_utils/bl_previews_render/__init__.pyi +0 -11
  375. bl_text_utils/external_editor/__init__.pyi +0 -5
  376. bpy_types/__init__.pyi +0 -29
  377. console_shell/__init__.pyi +0 -9
  378. fake_bge_module-20250317.dist-info/RECORD +0 -395
  379. keyingsets_utils/__init__.pyi +0 -18
  380. {animsys_refactor → _animsys_refactor}/py.typed +0 -0
  381. {bgl → _bl_console_utils}/py.typed +0 -0
  382. {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
  383. {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
  384. {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
  385. {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
  386. {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
  387. {bl_ui_utils → _blendfile_header}/py.typed +0 -0
  388. {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
  389. {bpy_types → _bpy_types}/py.typed +0 -0
  390. {console_python → _console_python}/py.typed +0 -0
  391. {console_shell → _console_shell}/py.typed +0 -0
  392. {graphviz_export → _graphviz_export}/py.typed +0 -0
  393. {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
  394. {rna_info → _rna_info}/py.typed +0 -0
  395. {rna_xml → _rna_xml}/py.typed +0 -0
@@ -1,8 +1,9 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
- import bpy._typing.rna_enums
4
+ import numpy.typing as npt
5
5
  import bpy.ops.transform
6
+ import bpy.stub_internal.rna_enums
6
7
  import bpy.types
7
8
 
8
9
  def active_frame_delete(
@@ -11,13 +12,10 @@ def active_frame_delete(
11
12
  /,
12
13
  *,
13
14
  all: bool | None = False,
14
- ):
15
+ ) -> None:
15
16
  """Delete the active Grease Pencil frame(s)
16
17
 
17
- :type execution_context: int | str | None
18
- :type undo: bool | None
19
18
  :param all: Delete all, Delete active keyframes of all layers
20
- :type all: bool | None
21
19
  """
22
20
 
23
21
  def bake_grease_pencil_animation(
@@ -32,21 +30,14 @@ def bake_grease_pencil_animation(
32
30
  frame_target: int | None = 1,
33
31
  project_type: typing.Literal["KEEP", "FRONT", "SIDE", "TOP", "VIEW", "CURSOR"]
34
32
  | None = "KEEP",
35
- ):
33
+ ) -> None:
36
34
  """Bake Grease Pencil object transform to Grease Pencil keyframes
37
35
 
38
- :type execution_context: int | str | None
39
- :type undo: bool | None
40
36
  :param frame_start: Start Frame, The start frame
41
- :type frame_start: int | None
42
37
  :param frame_end: End Frame, The end frame of animation
43
- :type frame_end: int | None
44
38
  :param step: Step, Step between generated frames
45
- :type step: int | None
46
39
  :param only_selected: Only Selected Keyframes, Convert only selected keyframes
47
- :type only_selected: bool | None
48
40
  :param frame_target: Target Frame, Destination frame
49
- :type frame_target: int | None
50
41
  :param project_type: Projection Type
51
42
 
52
43
  KEEP
@@ -62,11 +53,10 @@ def bake_grease_pencil_animation(
62
53
  Top -- Reproject the strokes using the X-Y plane.
63
54
 
64
55
  VIEW
65
- View -- Reproject the strokes to end up on the same plane, as if drawn from the current viewpoint using 'Cursor' Stroke Placement.
56
+ View -- Reproject the strokes to end up on the same plane, as if drawn from the current viewpoint using Cursor Stroke Placement.
66
57
 
67
58
  CURSOR
68
59
  Cursor -- Reproject the strokes using the orientation of 3D cursor.
69
- :type project_type: typing.Literal['KEEP','FRONT','SIDE','TOP','VIEW','CURSOR'] | None
70
60
  """
71
61
 
72
62
  def brush_stroke(
@@ -76,15 +66,13 @@ def brush_stroke(
76
66
  *,
77
67
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
78
68
  | None = None,
79
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
69
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
70
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
80
71
  pen_flip: bool | None = False,
81
- ):
72
+ ) -> None:
82
73
  """Draw a new stroke in the active Grease Pencil object
83
74
 
84
- :type execution_context: int | str | None
85
- :type undo: bool | None
86
75
  :param stroke: Stroke
87
- :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
88
76
  :param mode: Stroke Mode, Action taken when a paint stroke is made
89
77
 
90
78
  NORMAL
@@ -92,15 +80,20 @@ def brush_stroke(
92
80
 
93
81
  INVERT
94
82
  Invert -- Invert action of brush for duration of stroke.
83
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
84
+
85
+ None
86
+ None -- Apply brush normally.
95
87
 
96
88
  SMOOTH
97
- Smooth -- Switch brush to smooth mode for duration of stroke.
89
+ Smooth -- Switch to smooth brush for duration of stroke.
98
90
 
99
91
  ERASE
100
- Erase -- Switch brush to erase mode for duration of stroke.
101
- :type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
102
- :param pen_flip: Pen Flip, Whether a tablet's eraser mode is being used
103
- :type pen_flip: bool | None
92
+ Erase -- Switch to erase brush for duration of stroke.
93
+
94
+ MASK
95
+ Mask -- Switch to mask brush for duration of stroke.
96
+ :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
104
97
  """
105
98
 
106
99
  def caps_set(
@@ -109,11 +102,9 @@ def caps_set(
109
102
  /,
110
103
  *,
111
104
  type: typing.Literal["ROUND", "FLAT", "START", "END"] | None = "ROUND",
112
- ):
105
+ ) -> None:
113
106
  """Change curve caps mode (rounded or flat)
114
107
 
115
- :type execution_context: int | str | None
116
- :type undo: bool | None
117
108
  :param type: Type
118
109
 
119
110
  ROUND
@@ -127,7 +118,6 @@ def caps_set(
127
118
 
128
119
  END
129
120
  Toggle End.
130
- :type type: typing.Literal['ROUND','FLAT','START','END'] | None
131
121
  """
132
122
 
133
123
  def clean_loose(
@@ -136,22 +126,33 @@ def clean_loose(
136
126
  /,
137
127
  *,
138
128
  limit: int | None = 1,
139
- ):
129
+ ) -> None:
140
130
  """Remove loose points
141
131
 
142
- :type execution_context: int | str | None
143
- :type undo: bool | None
144
132
  :param limit: Limit, Number of points to consider stroke as loose
145
- :type limit: int | None
146
133
  """
147
134
 
148
- def copy(execution_context: int | str | None = None, undo: bool | None = None):
149
- """Copy the selected Grease Pencil points or strokes to the internal clipboard
135
+ def convert_curve_type(
136
+ execution_context: int | str | None = None,
137
+ undo: bool | None = None,
138
+ /,
139
+ *,
140
+ type: bpy.stub_internal.rna_enums.CurvesTypeItems | None = "POLY",
141
+ threshold: float | None = 0.01,
142
+ ) -> None:
143
+ """Convert type of selected curves
150
144
 
151
- :type execution_context: int | str | None
152
- :type undo: bool | None
145
+ :param type: Type
146
+ :param threshold: Threshold, The distance that the resulting points are allowed to be within
153
147
  """
154
148
 
149
+ def copy(
150
+ execution_context: int | str | None = None,
151
+ undo: bool | None = None,
152
+ /,
153
+ ) -> None:
154
+ """Copy the selected Grease Pencil points or strokes to the internal clipboard"""
155
+
155
156
  def cyclical_set(
156
157
  execution_context: int | str | None = None,
157
158
  undo: bool | None = None,
@@ -159,32 +160,26 @@ def cyclical_set(
159
160
  *,
160
161
  type: typing.Literal["CLOSE", "OPEN", "TOGGLE"] | None = "TOGGLE",
161
162
  subdivide_cyclic_segment: bool | None = True,
162
- ):
163
+ ) -> None:
163
164
  """Close or open the selected stroke adding a segment from last to first point
164
165
 
165
- :type execution_context: int | str | None
166
- :type undo: bool | None
167
166
  :param type: Type
168
- :type type: typing.Literal['CLOSE','OPEN','TOGGLE'] | None
169
167
  :param subdivide_cyclic_segment: Match Point Density, Add point in the new segment to keep the same density
170
- :type subdivide_cyclic_segment: bool | None
171
168
  """
172
169
 
173
- def delete(execution_context: int | str | None = None, undo: bool | None = None):
174
- """Delete selected strokes or points
175
-
176
- :type execution_context: int | str | None
177
- :type undo: bool | None
178
- """
170
+ def delete(
171
+ execution_context: int | str | None = None,
172
+ undo: bool | None = None,
173
+ /,
174
+ ) -> None:
175
+ """Delete selected strokes or points"""
179
176
 
180
177
  def delete_breakdown(
181
- execution_context: int | str | None = None, undo: bool | None = None
182
- ):
183
- """Remove breakdown frames generated by interpolating between two Grease Pencil frames
184
-
185
- :type execution_context: int | str | None
186
- :type undo: bool | None
187
- """
178
+ execution_context: int | str | None = None,
179
+ undo: bool | None = None,
180
+ /,
181
+ ) -> None:
182
+ """Remove breakdown frames generated by interpolating between two Grease Pencil frames"""
188
183
 
189
184
  def delete_frame(
190
185
  execution_context: int | str | None = None,
@@ -192,11 +187,9 @@ def delete_frame(
192
187
  /,
193
188
  *,
194
189
  type: typing.Literal["ACTIVE_FRAME", "ALL_FRAMES"] | None = "ACTIVE_FRAME",
195
- ):
190
+ ) -> None:
196
191
  """Delete Grease Pencil Frame(s)
197
192
 
198
- :type execution_context: int | str | None
199
- :type undo: bool | None
200
193
  :param type: Type, Method used for deleting Grease Pencil frames
201
194
 
202
195
  ACTIVE_FRAME
@@ -204,7 +197,6 @@ def delete_frame(
204
197
 
205
198
  ALL_FRAMES
206
199
  All Active Frames -- Delete active frames for all layers.
207
- :type type: typing.Literal['ACTIVE_FRAME','ALL_FRAMES'] | None
208
200
  """
209
201
 
210
202
  def dissolve(
@@ -213,11 +205,9 @@ def dissolve(
213
205
  /,
214
206
  *,
215
207
  type: typing.Literal["POINTS", "BETWEEN", "UNSELECT"] | None = "POINTS",
216
- ):
208
+ ) -> None:
217
209
  """Delete selected points without splitting strokes
218
210
 
219
- :type execution_context: int | str | None
220
- :type undo: bool | None
221
211
  :param type: Type, Method used for dissolving stroke points
222
212
 
223
213
  POINTS
@@ -228,15 +218,14 @@ def dissolve(
228
218
 
229
219
  UNSELECT
230
220
  Dissolve Unselect -- Dissolve all unselected points.
231
- :type type: typing.Literal['POINTS','BETWEEN','UNSELECT'] | None
232
221
  """
233
222
 
234
- def duplicate(execution_context: int | str | None = None, undo: bool | None = None):
235
- """Duplicate the selected points
236
-
237
- :type execution_context: int | str | None
238
- :type undo: bool | None
239
- """
223
+ def duplicate(
224
+ execution_context: int | str | None = None,
225
+ undo: bool | None = None,
226
+ /,
227
+ ) -> None:
228
+ """Duplicate the selected points"""
240
229
 
241
230
  def duplicate_move(
242
231
  execution_context: int | str | None = None,
@@ -245,15 +234,11 @@ def duplicate_move(
245
234
  *,
246
235
  GREASE_PENCIL_OT_duplicate: typing.Any | None = None,
247
236
  TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
248
- ):
237
+ ) -> None:
249
238
  """Make copies of the selected Grease Pencil strokes and move them
250
239
 
251
- :type execution_context: int | str | None
252
- :type undo: bool | None
253
240
  :param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
254
- :type GREASE_PENCIL_OT_duplicate: typing.Any | None
255
241
  :param TRANSFORM_OT_translate: Move, Move selected items
256
- :type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
257
242
  """
258
243
 
259
244
  def erase_box(
@@ -266,21 +251,14 @@ def erase_box(
266
251
  ymin: int | None = 0,
267
252
  ymax: int | None = 0,
268
253
  wait_for_input: bool | None = True,
269
- ):
254
+ ) -> None:
270
255
  """Erase points in the box region
271
256
 
272
- :type execution_context: int | str | None
273
- :type undo: bool | None
274
257
  :param xmin: X Min
275
- :type xmin: int | None
276
258
  :param xmax: X Max
277
- :type xmax: int | None
278
259
  :param ymin: Y Min
279
- :type ymin: int | None
280
260
  :param ymax: Y Max
281
- :type ymax: int | None
282
261
  :param wait_for_input: Wait for Input
283
- :type wait_for_input: bool | None
284
262
  """
285
263
 
286
264
  def erase_lasso(
@@ -292,27 +270,21 @@ def erase_lasso(
292
270
  use_smooth_stroke: bool | None = False,
293
271
  smooth_stroke_factor: float | None = 0.75,
294
272
  smooth_stroke_radius: int | None = 35,
295
- ):
273
+ ) -> None:
296
274
  """Erase points in the lasso region
297
275
 
298
- :type execution_context: int | str | None
299
- :type undo: bool | None
300
276
  :param path: Path
301
- :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
302
277
  :param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
303
- :type use_smooth_stroke: bool | None
304
278
  :param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
305
- :type smooth_stroke_factor: float | None
306
279
  :param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
307
- :type smooth_stroke_radius: int | None
308
280
  """
309
281
 
310
- def extrude(execution_context: int | str | None = None, undo: bool | None = None):
311
- """Extrude the selected points
312
-
313
- :type execution_context: int | str | None
314
- :type undo: bool | None
315
- """
282
+ def extrude(
283
+ execution_context: int | str | None = None,
284
+ undo: bool | None = None,
285
+ /,
286
+ ) -> None:
287
+ """Extrude the selected points"""
316
288
 
317
289
  def extrude_move(
318
290
  execution_context: int | str | None = None,
@@ -321,15 +293,11 @@ def extrude_move(
321
293
  *,
322
294
  GREASE_PENCIL_OT_extrude: typing.Any | None = None,
323
295
  TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
324
- ):
296
+ ) -> None:
325
297
  """Extrude selected points and move them
326
298
 
327
- :type execution_context: int | str | None
328
- :type undo: bool | None
329
299
  :param GREASE_PENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected points
330
- :type GREASE_PENCIL_OT_extrude: typing.Any | None
331
300
  :param TRANSFORM_OT_translate: Move, Move selected items
332
- :type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
333
301
  """
334
302
 
335
303
  def fill(
@@ -339,15 +307,11 @@ def fill(
339
307
  *,
340
308
  invert: bool | None = False,
341
309
  precision: bool | None = False,
342
- ):
310
+ ) -> None:
343
311
  """Fill with color the shape formed by strokes
344
312
 
345
- :type execution_context: int | str | None
346
- :type undo: bool | None
347
313
  :param invert: Invert, Find boundary of unfilled instead of filled regions
348
- :type invert: bool | None
349
314
  :param precision: Precision, Use precision movement for extension lines
350
- :type precision: bool | None
351
315
  """
352
316
 
353
317
  def frame_clean_duplicate(
@@ -356,13 +320,10 @@ def frame_clean_duplicate(
356
320
  /,
357
321
  *,
358
322
  selected: bool | None = False,
359
- ):
323
+ ) -> None:
360
324
  """Remove any keyframe that is a duplicate of the previous one
361
325
 
362
- :type execution_context: int | str | None
363
- :type undo: bool | None
364
326
  :param selected: Selected, Only delete selected keyframes
365
- :type selected: bool | None
366
327
  """
367
328
 
368
329
  def frame_duplicate(
@@ -371,13 +332,10 @@ def frame_duplicate(
371
332
  /,
372
333
  *,
373
334
  all: bool | None = False,
374
- ):
335
+ ) -> None:
375
336
  """Make a copy of the active Grease Pencil frame(s)
376
337
 
377
- :type execution_context: int | str | None
378
- :type undo: bool | None
379
338
  :param all: Duplicate all, Duplicate active keyframes of all layer
380
- :type all: bool | None
381
339
  """
382
340
 
383
341
  def insert_blank_frame(
@@ -387,15 +345,11 @@ def insert_blank_frame(
387
345
  *,
388
346
  all_layers: bool | None = False,
389
347
  duration: int | None = 0,
390
- ):
348
+ ) -> None:
391
349
  """Insert a blank frame on the current scene frame
392
350
 
393
- :type execution_context: int | str | None
394
- :type undo: bool | None
395
351
  :param all_layers: All Layers, Insert a blank frame in all editable layers
396
- :type all_layers: bool | None
397
352
  :param duration: Duration
398
- :type duration: int | None
399
353
  """
400
354
 
401
355
  def interpolate(
@@ -410,25 +364,16 @@ def interpolate(
410
364
  flip: typing.Literal["NONE", "FLIP", "AUTO"] | None = "AUTO",
411
365
  smooth_steps: int | None = 1,
412
366
  smooth_factor: float | None = 0.0,
413
- ):
367
+ ) -> None:
414
368
  """Interpolate Grease Pencil strokes between frames
415
369
 
416
- :type execution_context: int | str | None
417
- :type undo: bool | None
418
370
  :param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
419
- :type shift: float | None
420
371
  :param layers: Layer, Layers included in the interpolation
421
- :type layers: typing.Literal['ACTIVE','ALL'] | None
422
372
  :param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
423
- :type exclude_breakdowns: bool | None
424
373
  :param use_selection: Use Selection, Use only selected strokes for interpolating
425
- :type use_selection: bool | None
426
374
  :param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
427
- :type flip: typing.Literal['NONE','FLIP','AUTO'] | None
428
375
  :param smooth_steps: Iterations, Number of times to smooth newly created strokes
429
- :type smooth_steps: int | None
430
376
  :param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
431
- :type smooth_factor: float | None
432
377
  """
433
378
 
434
379
  def interpolate_sequence(
@@ -458,30 +403,22 @@ def interpolate_sequence(
458
403
  "ELASTIC",
459
404
  ]
460
405
  | None = "LINEAR",
461
- easing: bpy._typing.rna_enums.BeztripleInterpolationEasingItems | None = "EASE_IN",
406
+ easing: bpy.stub_internal.rna_enums.BeztripleInterpolationEasingItems
407
+ | None = "EASE_IN",
462
408
  back: float | None = 1.702,
463
409
  amplitude: float | None = 0.15,
464
410
  period: float | None = 0.15,
465
- ):
466
- """Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
411
+ ) -> None:
412
+ """Generate in-betweens to smoothly interpolate between Grease Pencil frames
467
413
 
468
- :type execution_context: int | str | None
469
- :type undo: bool | None
470
414
  :param step: Step, Number of frames between generated interpolated frames
471
- :type step: int | None
472
415
  :param layers: Layer, Layers included in the interpolation
473
- :type layers: typing.Literal['ACTIVE','ALL'] | None
474
416
  :param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
475
- :type exclude_breakdowns: bool | None
476
417
  :param use_selection: Use Selection, Use only selected strokes for interpolating
477
- :type use_selection: bool | None
478
418
  :param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
479
- :type flip: typing.Literal['NONE','FLIP','AUTO'] | None
480
419
  :param smooth_steps: Iterations, Number of times to smooth newly created strokes
481
- :type smooth_steps: int | None
482
420
  :param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
483
- :type smooth_factor: float | None
484
- :param type: Type, Interpolation method to use the next time 'Interpolate Sequence' is run
421
+ :param type: Type, Interpolation method to use the next time Interpolate Sequence is run
485
422
 
486
423
  LINEAR
487
424
  Linear -- Straight-line interpolation between A and B (i.e. no ease in/out).
@@ -518,15 +455,10 @@ def interpolate_sequence(
518
455
 
519
456
  ELASTIC
520
457
  Elastic -- Exponentially decaying sine wave, like an elastic band.
521
- :type type: typing.Literal['LINEAR','CUSTOM','SINE','QUAD','CUBIC','QUART','QUINT','EXPO','CIRC','BACK','BOUNCE','ELASTIC'] | None
522
458
  :param easing: Easing, Which ends of the segment between the preceding and following Grease Pencil frames easing interpolation is applied to
523
- :type easing: bpy._typing.rna_enums.BeztripleInterpolationEasingItems | None
524
- :param back: Back, Amount of overshoot for 'back' easing
525
- :type back: float | None
526
- :param amplitude: Amplitude, Amount to boost elastic bounces for 'elastic' easing
527
- :type amplitude: float | None
459
+ :param back: Back, Amount of overshoot for back easing
460
+ :param amplitude: Amplitude, Amount to boost elastic bounces for elastic easing
528
461
  :param period: Period, Time between bounces for elastic easing
529
- :type period: float | None
530
462
  """
531
463
 
532
464
  def join_selection(
@@ -534,20 +466,20 @@ def join_selection(
534
466
  undo: bool | None = None,
535
467
  /,
536
468
  *,
537
- type: typing.Literal["JOINCOPY", "JOIN"] | None = "JOIN",
538
- ):
469
+ type: typing.Literal["JOINSTROKES", "SPLITCOPY", "SPLIT"] | None = "JOINSTROKES",
470
+ ) -> None:
539
471
  """New stroke from selected points/strokes
540
472
 
541
- :type execution_context: int | str | None
542
- :type undo: bool | None
543
473
  :param type: Type, Defines how the operator will behave on the selection in the active layer
544
474
 
545
- JOINCOPY
546
- Join and Copy -- Copy the selection in the new stroke.
475
+ JOINSTROKES
476
+ Join Strokes -- Join the selected strokes into one stroke.
477
+
478
+ SPLITCOPY
479
+ Split and Copy -- Copy the selected points to a new stroke.
547
480
 
548
- JOIN
549
- Join -- Move the selection to the new stroke.
550
- :type type: typing.Literal['JOINCOPY','JOIN'] | None
481
+ SPLIT
482
+ Split -- Split the selected point to a new stroke.
551
483
  """
552
484
 
553
485
  def layer_active(
@@ -556,13 +488,10 @@ def layer_active(
556
488
  /,
557
489
  *,
558
490
  layer: int | None = 0,
559
- ):
491
+ ) -> None:
560
492
  """Set the active Grease Pencil layer
561
493
 
562
- :type execution_context: int | str | None
563
- :type undo: bool | None
564
494
  :param layer: Grease Pencil Layer
565
- :type layer: int | None
566
495
  """
567
496
 
568
497
  def layer_add(
@@ -571,13 +500,10 @@ def layer_add(
571
500
  /,
572
501
  *,
573
502
  new_layer_name: str = "Layer",
574
- ):
503
+ ) -> None:
575
504
  """Add a new Grease Pencil layer in the active object
576
505
 
577
- :type execution_context: int | str | None
578
- :type undo: bool | None
579
506
  :param new_layer_name: Name, Name of the new layer
580
- :type new_layer_name: str
581
507
  """
582
508
 
583
509
  def layer_duplicate(
@@ -586,13 +512,10 @@ def layer_duplicate(
586
512
  /,
587
513
  *,
588
514
  empty_keyframes: bool | None = False,
589
- ):
515
+ ) -> None:
590
516
  """Make a copy of the active Grease Pencil layer
591
517
 
592
- :type execution_context: int | str | None
593
- :type undo: bool | None
594
518
  :param empty_keyframes: Empty Keyframes, Add Empty Keyframes
595
- :type empty_keyframes: bool | None
596
519
  """
597
520
 
598
521
  def layer_duplicate_object(
@@ -602,15 +525,11 @@ def layer_duplicate_object(
602
525
  *,
603
526
  only_active: bool | None = True,
604
527
  mode: typing.Literal["ALL", "ACTIVE"] | None = "ALL",
605
- ):
528
+ ) -> None:
606
529
  """Make a copy of the active Grease Pencil layer to selected object
607
530
 
608
- :type execution_context: int | str | None
609
- :type undo: bool | None
610
531
  :param only_active: Only Active, Copy only active Layer, uncheck to append all layers
611
- :type only_active: bool | None
612
532
  :param mode: Mode
613
- :type mode: typing.Literal['ALL','ACTIVE'] | None
614
533
  """
615
534
 
616
535
  def layer_group_add(
@@ -619,13 +538,10 @@ def layer_group_add(
619
538
  /,
620
539
  *,
621
540
  new_layer_group_name: str = "",
622
- ):
541
+ ) -> None:
623
542
  """Add a new Grease Pencil layer group in the active object
624
543
 
625
- :type execution_context: int | str | None
626
- :type undo: bool | None
627
544
  :param new_layer_group_name: Name, Name of the new layer group
628
- :type new_layer_group_name: str
629
545
  """
630
546
 
631
547
  def layer_group_color_tag(
@@ -645,13 +561,10 @@ def layer_group_color_tag(
645
561
  "COLOR8",
646
562
  ]
647
563
  | None = "COLOR1",
648
- ):
564
+ ) -> None:
649
565
  """Change layer group icon
650
566
 
651
- :type execution_context: int | str | None
652
- :type undo: bool | None
653
567
  :param color_tag: Color Tag
654
- :type color_tag: typing.Literal['NONE','COLOR1','COLOR2','COLOR3','COLOR4','COLOR5','COLOR6','COLOR7','COLOR8'] | None
655
568
  """
656
569
 
657
570
  def layer_group_remove(
@@ -660,13 +573,10 @@ def layer_group_remove(
660
573
  /,
661
574
  *,
662
575
  keep_children: bool | None = False,
663
- ):
576
+ ) -> None:
664
577
  """Remove Grease Pencil layer group in the active object
665
578
 
666
- :type execution_context: int | str | None
667
- :type undo: bool | None
668
579
  :param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
669
- :type keep_children: bool | None
670
580
  """
671
581
 
672
582
  def layer_hide(
@@ -675,13 +585,10 @@ def layer_hide(
675
585
  /,
676
586
  *,
677
587
  unselected: bool | None = False,
678
- ):
588
+ ) -> None:
679
589
  """Hide selected/unselected Grease Pencil layers
680
590
 
681
- :type execution_context: int | str | None
682
- :type undo: bool | None
683
591
  :param unselected: Unselected, Hide unselected rather than selected layers
684
- :type unselected: bool | None
685
592
  """
686
593
 
687
594
  def layer_isolate(
@@ -690,13 +597,10 @@ def layer_isolate(
690
597
  /,
691
598
  *,
692
599
  affect_visibility: bool | None = False,
693
- ):
600
+ ) -> None:
694
601
  """Make only active layer visible/editable
695
602
 
696
- :type execution_context: int | str | None
697
- :type undo: bool | None
698
603
  :param affect_visibility: Affect Visibility, Also affect the visibility
699
- :type affect_visibility: bool | None
700
604
  """
701
605
 
702
606
  def layer_lock_all(
@@ -705,13 +609,10 @@ def layer_lock_all(
705
609
  /,
706
610
  *,
707
611
  lock: bool | None = True,
708
- ):
612
+ ) -> None:
709
613
  """Lock all Grease Pencil layers to prevent them from being accidentally modified
710
614
 
711
- :type execution_context: int | str | None
712
- :type undo: bool | None
713
615
  :param lock: Lock Value, Lock/Unlock all layers
714
- :type lock: bool | None
715
616
  """
716
617
 
717
618
  def layer_mask_add(
@@ -720,23 +621,18 @@ def layer_mask_add(
720
621
  /,
721
622
  *,
722
623
  name: str = "",
723
- ):
624
+ ) -> None:
724
625
  """Add new layer as masking
725
626
 
726
- :type execution_context: int | str | None
727
- :type undo: bool | None
728
627
  :param name: Layer, Name of the layer
729
- :type name: str
730
628
  """
731
629
 
732
630
  def layer_mask_remove(
733
- execution_context: int | str | None = None, undo: bool | None = None
734
- ):
735
- """Remove Layer Mask
736
-
737
- :type execution_context: int | str | None
738
- :type undo: bool | None
739
- """
631
+ execution_context: int | str | None = None,
632
+ undo: bool | None = None,
633
+ /,
634
+ ) -> None:
635
+ """Remove Layer Mask"""
740
636
 
741
637
  def layer_mask_reorder(
742
638
  execution_context: int | str | None = None,
@@ -744,13 +640,10 @@ def layer_mask_reorder(
744
640
  /,
745
641
  *,
746
642
  direction: typing.Literal["UP", "DOWN"] | None = "UP",
747
- ):
643
+ ) -> None:
748
644
  """Reorder the active Grease Pencil mask layer up/down in the list
749
645
 
750
- :type execution_context: int | str | None
751
- :type undo: bool | None
752
646
  :param direction: Direction
753
- :type direction: typing.Literal['UP','DOWN'] | None
754
647
  """
755
648
 
756
649
  def layer_merge(
@@ -759,11 +652,9 @@ def layer_merge(
759
652
  /,
760
653
  *,
761
654
  mode: typing.Literal["ACTIVE", "GROUP", "ALL"] | None = "ACTIVE",
762
- ):
655
+ ) -> None:
763
656
  """Combine layers based on the mode into one layer
764
657
 
765
- :type execution_context: int | str | None
766
- :type undo: bool | None
767
658
  :param mode: Mode
768
659
 
769
660
  ACTIVE
@@ -774,7 +665,6 @@ def layer_merge(
774
665
 
775
666
  ALL
776
667
  All -- Combine all layers into a single layer.
777
- :type mode: typing.Literal['ACTIVE','GROUP','ALL'] | None
778
668
  """
779
669
 
780
670
  def layer_move(
@@ -783,28 +673,25 @@ def layer_move(
783
673
  /,
784
674
  *,
785
675
  direction: typing.Literal["UP", "DOWN"] | None = "UP",
786
- ):
676
+ ) -> None:
787
677
  """Move the active Grease Pencil layer or Group
788
678
 
789
- :type execution_context: int | str | None
790
- :type undo: bool | None
791
679
  :param direction: Direction
792
- :type direction: typing.Literal['UP','DOWN'] | None
793
- """
794
-
795
- def layer_remove(execution_context: int | str | None = None, undo: bool | None = None):
796
- """Remove the active Grease Pencil layer
797
-
798
- :type execution_context: int | str | None
799
- :type undo: bool | None
800
680
  """
801
681
 
802
- def layer_reveal(execution_context: int | str | None = None, undo: bool | None = None):
803
- """Show all Grease Pencil layers
682
+ def layer_remove(
683
+ execution_context: int | str | None = None,
684
+ undo: bool | None = None,
685
+ /,
686
+ ) -> None:
687
+ """Remove the active Grease Pencil layer"""
804
688
 
805
- :type execution_context: int | str | None
806
- :type undo: bool | None
807
- """
689
+ def layer_reveal(
690
+ execution_context: int | str | None = None,
691
+ undo: bool | None = None,
692
+ /,
693
+ ) -> None:
694
+ """Show all Grease Pencil layers"""
808
695
 
809
696
  def material_copy_to_object(
810
697
  execution_context: int | str | None = None,
@@ -812,13 +699,10 @@ def material_copy_to_object(
812
699
  /,
813
700
  *,
814
701
  only_active: bool | None = True,
815
- ):
702
+ ) -> None:
816
703
  """Append Materials of the active Grease Pencil to other object
817
704
 
818
- :type execution_context: int | str | None
819
- :type undo: bool | None
820
705
  :param only_active: Only Active, Append only active material, uncheck to append all materials
821
- :type only_active: bool | None
822
706
  """
823
707
 
824
708
  def material_hide(
@@ -827,13 +711,10 @@ def material_hide(
827
711
  /,
828
712
  *,
829
713
  invert: bool | None = False,
830
- ):
714
+ ) -> None:
831
715
  """Hide active/inactive Grease Pencil material(s)
832
716
 
833
- :type execution_context: int | str | None
834
- :type undo: bool | None
835
717
  :param invert: Invert, Hide inactive materials instead of the active one
836
- :type invert: bool | None
837
718
  """
838
719
 
839
720
  def material_isolate(
@@ -842,50 +723,39 @@ def material_isolate(
842
723
  /,
843
724
  *,
844
725
  affect_visibility: bool | None = False,
845
- ):
726
+ ) -> None:
846
727
  """Toggle whether the active material is the only one that is editable and/or visible
847
728
 
848
- :type execution_context: int | str | None
849
- :type undo: bool | None
850
729
  :param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
851
- :type affect_visibility: bool | None
852
730
  """
853
731
 
854
732
  def material_lock_all(
855
- execution_context: int | str | None = None, undo: bool | None = None
856
- ):
857
- """Lock all Grease Pencil materials to prevent them from being accidentally modified
858
-
859
- :type execution_context: int | str | None
860
- :type undo: bool | None
861
- """
733
+ execution_context: int | str | None = None,
734
+ undo: bool | None = None,
735
+ /,
736
+ ) -> None:
737
+ """Lock all Grease Pencil materials to prevent them from being accidentally modified"""
862
738
 
863
739
  def material_lock_unselected(
864
- execution_context: int | str | None = None, undo: bool | None = None
865
- ):
866
- """Lock any material not used in any selected stroke
867
-
868
- :type execution_context: int | str | None
869
- :type undo: bool | None
870
- """
740
+ execution_context: int | str | None = None,
741
+ undo: bool | None = None,
742
+ /,
743
+ ) -> None:
744
+ """Lock any material not used in any selected stroke"""
871
745
 
872
746
  def material_lock_unused(
873
- execution_context: int | str | None = None, undo: bool | None = None
874
- ):
875
- """Lock and hide any material not used
876
-
877
- :type execution_context: int | str | None
878
- :type undo: bool | None
879
- """
747
+ execution_context: int | str | None = None,
748
+ undo: bool | None = None,
749
+ /,
750
+ ) -> None:
751
+ """Lock and hide any material not used"""
880
752
 
881
753
  def material_reveal(
882
- execution_context: int | str | None = None, undo: bool | None = None
883
- ):
884
- """Unhide all hidden Grease Pencil materials
885
-
886
- :type execution_context: int | str | None
887
- :type undo: bool | None
888
- """
754
+ execution_context: int | str | None = None,
755
+ undo: bool | None = None,
756
+ /,
757
+ ) -> None:
758
+ """Unhide all hidden Grease Pencil materials"""
889
759
 
890
760
  def material_select(
891
761
  execution_context: int | str | None = None,
@@ -893,23 +763,18 @@ def material_select(
893
763
  /,
894
764
  *,
895
765
  deselect: bool | None = False,
896
- ):
766
+ ) -> None:
897
767
  """Select/Deselect all Grease Pencil strokes using current material
898
768
 
899
- :type execution_context: int | str | None
900
- :type undo: bool | None
901
769
  :param deselect: Deselect, Unselect strokes
902
- :type deselect: bool | None
903
770
  """
904
771
 
905
772
  def material_unlock_all(
906
- execution_context: int | str | None = None, undo: bool | None = None
907
- ):
908
- """Unlock all Grease Pencil materials so that they can be edited
909
-
910
- :type execution_context: int | str | None
911
- :type undo: bool | None
912
- """
773
+ execution_context: int | str | None = None,
774
+ undo: bool | None = None,
775
+ /,
776
+ ) -> None:
777
+ """Unlock all Grease Pencil materials so that they can be edited"""
913
778
 
914
779
  def move_to_layer(
915
780
  execution_context: int | str | None = None,
@@ -918,15 +783,30 @@ def move_to_layer(
918
783
  *,
919
784
  target_layer_name: str = "",
920
785
  add_new_layer: bool | None = False,
921
- ):
786
+ ) -> None:
922
787
  """Move selected strokes to another layer
923
788
 
924
- :type execution_context: int | str | None
925
- :type undo: bool | None
926
789
  :param target_layer_name: Name, Target Grease Pencil Layer
927
- :type target_layer_name: str
928
790
  :param add_new_layer: New Layer, Move selection to a new layer
929
- :type add_new_layer: bool | None
791
+ """
792
+
793
+ def outline(
794
+ execution_context: int | str | None = None,
795
+ undo: bool | None = None,
796
+ /,
797
+ *,
798
+ type: typing.Literal["VIEW", "FRONT", "SIDE", "TOP", "CURSOR", "CAMERA"]
799
+ | None = "VIEW",
800
+ radius: float | None = 0.01,
801
+ offset_factor: float | None = -1.0,
802
+ corner_subdivisions: int | None = 2,
803
+ ) -> None:
804
+ """Convert selected strokes to perimeter
805
+
806
+ :param type: Projection Mode
807
+ :param radius: Radius
808
+ :param offset_factor: Offset Factor
809
+ :param corner_subdivisions: Corner Subdivisions
930
810
  """
931
811
 
932
812
  def paintmode_toggle(
@@ -935,13 +815,10 @@ def paintmode_toggle(
935
815
  /,
936
816
  *,
937
817
  back: bool | None = False,
938
- ):
818
+ ) -> None:
939
819
  """Enter/Exit paint mode for Grease Pencil strokes
940
820
 
941
- :type execution_context: int | str | None
942
- :type undo: bool | None
943
821
  :param back: Return to Previous Mode, Return to previous mode
944
- :type back: bool | None
945
822
  """
946
823
 
947
824
  def paste(
@@ -952,17 +829,50 @@ def paste(
952
829
  type: typing.Literal["ACTIVE", "LAYER"] | None = "ACTIVE",
953
830
  paste_back: bool | None = False,
954
831
  keep_world_transform: bool | None = False,
955
- ):
832
+ ) -> None:
956
833
  """Paste Grease Pencil points or strokes from the internal clipboard to the active layer
957
834
 
958
- :type execution_context: int | str | None
959
- :type undo: bool | None
960
835
  :param type: Type
961
- :type type: typing.Literal['ACTIVE','LAYER'] | None
962
836
  :param paste_back: Paste on Back, Add pasted strokes behind all strokes
963
- :type paste_back: bool | None
964
837
  :param keep_world_transform: Keep World Transform, Keep the world transform of strokes from the clipboard unchanged
965
- :type keep_world_transform: bool | None
838
+ """
839
+
840
+ def pen(
841
+ execution_context: int | str | None = None,
842
+ undo: bool | None = None,
843
+ /,
844
+ *,
845
+ extend: bool | None = False,
846
+ deselect: bool | None = False,
847
+ toggle: bool | None = False,
848
+ deselect_all: bool | None = False,
849
+ select_passthrough: bool | None = False,
850
+ extrude_point: bool | None = False,
851
+ extrude_handle: typing.Literal["AUTO", "VECTOR"] | None = "VECTOR",
852
+ delete_point: bool | None = False,
853
+ insert_point: bool | None = False,
854
+ move_segment: bool | None = False,
855
+ select_point: bool | None = False,
856
+ move_point: bool | None = False,
857
+ cycle_handle_type: bool | None = False,
858
+ size: float | None = 0.01,
859
+ ) -> None:
860
+ """Construct and edit splines
861
+
862
+ :param extend: Extend, Extend selection instead of deselecting everything first
863
+ :param deselect: Deselect, Remove from selection
864
+ :param toggle: Toggle Selection, Toggle the selection
865
+ :param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
866
+ :param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
867
+ :param extrude_point: Extrude Point, Add a point connected to the last selected point
868
+ :param extrude_handle: Extrude Handle Type, Type of the extruded handle
869
+ :param delete_point: Delete Point, Delete an existing point
870
+ :param insert_point: Insert Point, Insert Point into a curve segment
871
+ :param move_segment: Move Segment, Delete an existing point
872
+ :param select_point: Select Point, Select a point or its handles
873
+ :param move_point: Move Point, Move a point or its handles
874
+ :param cycle_handle_type: Cycle Handle Type, Cycle between all four handle types
875
+ :param size: Size, Diameter of new points
966
876
  """
967
877
 
968
878
  def primitive_arc(
@@ -973,15 +883,11 @@ def primitive_arc(
973
883
  subdivision: int | None = 62,
974
884
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
975
885
  | None = "ARC",
976
- ):
886
+ ) -> None:
977
887
  """Create predefined Grease Pencil stroke arcs
978
888
 
979
- :type execution_context: int | str | None
980
- :type undo: bool | None
981
889
  :param subdivision: Subdivisions, Number of subdivisions per segment
982
- :type subdivision: int | None
983
890
  :param type: Type, Type of shape
984
- :type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
985
891
  """
986
892
 
987
893
  def primitive_box(
@@ -992,15 +898,11 @@ def primitive_box(
992
898
  subdivision: int | None = 3,
993
899
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
994
900
  | None = "BOX",
995
- ):
901
+ ) -> None:
996
902
  """Create predefined Grease Pencil stroke boxes
997
903
 
998
- :type execution_context: int | str | None
999
- :type undo: bool | None
1000
904
  :param subdivision: Subdivisions, Number of subdivisions per segment
1001
- :type subdivision: int | None
1002
905
  :param type: Type, Type of shape
1003
- :type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
1004
906
  """
1005
907
 
1006
908
  def primitive_circle(
@@ -1011,15 +913,11 @@ def primitive_circle(
1011
913
  subdivision: int | None = 94,
1012
914
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
1013
915
  | None = "CIRCLE",
1014
- ):
916
+ ) -> None:
1015
917
  """Create predefined Grease Pencil stroke circles
1016
918
 
1017
- :type execution_context: int | str | None
1018
- :type undo: bool | None
1019
919
  :param subdivision: Subdivisions, Number of subdivisions per segment
1020
- :type subdivision: int | None
1021
920
  :param type: Type, Type of shape
1022
- :type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
1023
921
  """
1024
922
 
1025
923
  def primitive_curve(
@@ -1030,15 +928,11 @@ def primitive_curve(
1030
928
  subdivision: int | None = 62,
1031
929
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
1032
930
  | None = "CURVE",
1033
- ):
931
+ ) -> None:
1034
932
  """Create predefined Grease Pencil stroke curve shapes
1035
933
 
1036
- :type execution_context: int | str | None
1037
- :type undo: bool | None
1038
934
  :param subdivision: Subdivisions, Number of subdivisions per segment
1039
- :type subdivision: int | None
1040
935
  :param type: Type, Type of shape
1041
- :type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
1042
936
  """
1043
937
 
1044
938
  def primitive_line(
@@ -1049,15 +943,11 @@ def primitive_line(
1049
943
  subdivision: int | None = 6,
1050
944
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
1051
945
  | None = "LINE",
1052
- ):
946
+ ) -> None:
1053
947
  """Create predefined Grease Pencil stroke lines
1054
948
 
1055
- :type execution_context: int | str | None
1056
- :type undo: bool | None
1057
949
  :param subdivision: Subdivisions, Number of subdivisions per segment
1058
- :type subdivision: int | None
1059
950
  :param type: Type, Type of shape
1060
- :type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
1061
951
  """
1062
952
 
1063
953
  def primitive_polyline(
@@ -1068,15 +958,11 @@ def primitive_polyline(
1068
958
  subdivision: int | None = 6,
1069
959
  type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
1070
960
  | None = "POLYLINE",
1071
- ):
961
+ ) -> None:
1072
962
  """Create predefined Grease Pencil stroke polylines
1073
963
 
1074
- :type execution_context: int | str | None
1075
- :type undo: bool | None
1076
964
  :param subdivision: Subdivisions, Number of subdivisions per segment
1077
- :type subdivision: int | None
1078
965
  :param type: Type, Type of shape
1079
- :type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
1080
966
  """
1081
967
 
1082
968
  def relative_layer_mask_add(
@@ -1085,13 +971,22 @@ def relative_layer_mask_add(
1085
971
  /,
1086
972
  *,
1087
973
  mode: typing.Literal["ABOVE", "BELOW"] | None = "ABOVE",
1088
- ):
974
+ ) -> None:
1089
975
  """Mask active layer with layer above or below
1090
976
 
1091
- :type execution_context: int | str | None
1092
- :type undo: bool | None
1093
977
  :param mode: Mode, Which relative layer (above or below) to use as a mask
1094
- :type mode: typing.Literal['ABOVE','BELOW'] | None
978
+ """
979
+
980
+ def remove_fill_guides(
981
+ execution_context: int | str | None = None,
982
+ undo: bool | None = None,
983
+ /,
984
+ *,
985
+ mode: typing.Literal["ACTIVE_FRAME", "ALL_FRAMES"] | None = "ALL_FRAMES",
986
+ ) -> None:
987
+ """Remove all the strokes that were created from the fill tool as guides
988
+
989
+ :param mode: Mode
1095
990
  """
1096
991
 
1097
992
  def reorder(
@@ -1100,13 +995,10 @@ def reorder(
1100
995
  /,
1101
996
  *,
1102
997
  direction: typing.Literal["TOP", "UP", "DOWN", "BOTTOM"] | None = "TOP",
1103
- ):
998
+ ) -> None:
1104
999
  """Change the display order of the selected strokes
1105
1000
 
1106
- :type execution_context: int | str | None
1107
- :type undo: bool | None
1108
1001
  :param direction: Direction
1109
- :type direction: typing.Literal['TOP','UP','DOWN','BOTTOM'] | None
1110
1002
  """
1111
1003
 
1112
1004
  def reproject(
@@ -1118,11 +1010,9 @@ def reproject(
1118
1010
  | None = "VIEW",
1119
1011
  keep_original: bool | None = False,
1120
1012
  offset: float | None = 0.0,
1121
- ):
1013
+ ) -> None:
1122
1014
  """Reproject the selected strokes from the current viewpoint as if they had been newly drawn (e.g. to fix problems from accidental 3D cursor movement or accidental viewport changes, or for matching deforming geometry)
1123
1015
 
1124
- :type execution_context: int | str | None
1125
- :type undo: bool | None
1126
1016
  :param type: Projection Type
1127
1017
 
1128
1018
  FRONT
@@ -1135,26 +1025,23 @@ def reproject(
1135
1025
  Top -- Reproject the strokes using the X-Y plane.
1136
1026
 
1137
1027
  VIEW
1138
- View -- Reproject the strokes to end up on the same plane, as if drawn from the current viewpoint using 'Cursor' Stroke Placement.
1028
+ View -- Reproject the strokes to end up on the same plane, as if drawn from the current viewpoint using Cursor Stroke Placement.
1139
1029
 
1140
1030
  SURFACE
1141
- Surface -- Reproject the strokes on to the scene geometry, as if drawn using 'Surface' placement.
1031
+ Surface -- Reproject the strokes on to the scene geometry, as if drawn using Surface placement.
1142
1032
 
1143
1033
  CURSOR
1144
1034
  Cursor -- Reproject the strokes using the orientation of 3D cursor.
1145
- :type type: typing.Literal['FRONT','SIDE','TOP','VIEW','SURFACE','CURSOR'] | None
1146
1035
  :param keep_original: Keep Original, Keep original strokes and create a copy before reprojecting
1147
- :type keep_original: bool | None
1148
1036
  :param offset: Surface Offset
1149
- :type offset: float | None
1150
1037
  """
1151
1038
 
1152
- def reset_uvs(execution_context: int | str | None = None, undo: bool | None = None):
1153
- """Reset UV transformation to default values
1154
-
1155
- :type execution_context: int | str | None
1156
- :type undo: bool | None
1157
- """
1039
+ def reset_uvs(
1040
+ execution_context: int | str | None = None,
1041
+ undo: bool | None = None,
1042
+ /,
1043
+ ) -> None:
1044
+ """Reset UV transformation to default values"""
1158
1045
 
1159
1046
  def sculpt_paint(
1160
1047
  execution_context: int | str | None = None,
@@ -1163,15 +1050,13 @@ def sculpt_paint(
1163
1050
  *,
1164
1051
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1165
1052
  | None = None,
1166
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
1053
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
1054
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
1167
1055
  pen_flip: bool | None = False,
1168
- ):
1056
+ ) -> None:
1169
1057
  """Sculpt strokes in the active Grease Pencil object
1170
1058
 
1171
- :type execution_context: int | str | None
1172
- :type undo: bool | None
1173
1059
  :param stroke: Stroke
1174
- :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
1175
1060
  :param mode: Stroke Mode, Action taken when a paint stroke is made
1176
1061
 
1177
1062
  NORMAL
@@ -1179,15 +1064,20 @@ def sculpt_paint(
1179
1064
 
1180
1065
  INVERT
1181
1066
  Invert -- Invert action of brush for duration of stroke.
1067
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
1068
+
1069
+ None
1070
+ None -- Apply brush normally.
1182
1071
 
1183
1072
  SMOOTH
1184
- Smooth -- Switch brush to smooth mode for duration of stroke.
1073
+ Smooth -- Switch to smooth brush for duration of stroke.
1185
1074
 
1186
1075
  ERASE
1187
- Erase -- Switch brush to erase mode for duration of stroke.
1188
- :type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
1189
- :param pen_flip: Pen Flip, Whether a tablet's eraser mode is being used
1190
- :type pen_flip: bool | None
1076
+ Erase -- Switch to erase brush for duration of stroke.
1077
+
1078
+ MASK
1079
+ Mask -- Switch to mask brush for duration of stroke.
1080
+ :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
1191
1081
  """
1192
1082
 
1193
1083
  def sculptmode_toggle(
@@ -1196,13 +1086,10 @@ def sculptmode_toggle(
1196
1086
  /,
1197
1087
  *,
1198
1088
  back: bool | None = False,
1199
- ):
1089
+ ) -> None:
1200
1090
  """Enter/Exit sculpt mode for Grease Pencil strokes
1201
1091
 
1202
- :type execution_context: int | str | None
1203
- :type undo: bool | None
1204
1092
  :param back: Return to Previous Mode, Return to previous mode
1205
- :type back: bool | None
1206
1093
  """
1207
1094
 
1208
1095
  def select_all(
@@ -1211,11 +1098,9 @@ def select_all(
1211
1098
  /,
1212
1099
  *,
1213
1100
  action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
1214
- ):
1101
+ ) -> None:
1215
1102
  """(De)select all visible strokes
1216
1103
 
1217
- :type execution_context: int | str | None
1218
- :type undo: bool | None
1219
1104
  :param action: Action, Selection action to execute
1220
1105
 
1221
1106
  TOGGLE
@@ -1229,7 +1114,6 @@ def select_all(
1229
1114
 
1230
1115
  INVERT
1231
1116
  Invert -- Invert selection of all elements.
1232
- :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
1233
1117
  """
1234
1118
 
1235
1119
  def select_alternate(
@@ -1238,13 +1122,10 @@ def select_alternate(
1238
1122
  /,
1239
1123
  *,
1240
1124
  deselect_ends: bool | None = False,
1241
- ):
1125
+ ) -> None:
1242
1126
  """Select alternated points in strokes with already selected points
1243
1127
 
1244
- :type execution_context: int | str | None
1245
- :type undo: bool | None
1246
1128
  :param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
1247
- :type deselect_ends: bool | None
1248
1129
  """
1249
1130
 
1250
1131
  def select_ends(
@@ -1254,37 +1135,33 @@ def select_ends(
1254
1135
  *,
1255
1136
  amount_start: int | None = 0,
1256
1137
  amount_end: int | None = 1,
1257
- ):
1138
+ ) -> None:
1258
1139
  """Select end points of strokes
1259
1140
 
1260
- :type execution_context: int | str | None
1261
- :type undo: bool | None
1262
1141
  :param amount_start: Amount Start, Number of points to select from the start
1263
- :type amount_start: int | None
1264
1142
  :param amount_end: Amount End, Number of points to select from the end
1265
- :type amount_end: int | None
1266
- """
1267
-
1268
- def select_less(execution_context: int | str | None = None, undo: bool | None = None):
1269
- """Shrink the selection by one point
1270
-
1271
- :type execution_context: int | str | None
1272
- :type undo: bool | None
1273
1143
  """
1274
1144
 
1275
- def select_linked(execution_context: int | str | None = None, undo: bool | None = None):
1276
- """Select all points in curves with any point selection
1277
-
1278
- :type execution_context: int | str | None
1279
- :type undo: bool | None
1280
- """
1145
+ def select_less(
1146
+ execution_context: int | str | None = None,
1147
+ undo: bool | None = None,
1148
+ /,
1149
+ ) -> None:
1150
+ """Shrink the selection by one point"""
1281
1151
 
1282
- def select_more(execution_context: int | str | None = None, undo: bool | None = None):
1283
- """Grow the selection by one point
1152
+ def select_linked(
1153
+ execution_context: int | str | None = None,
1154
+ undo: bool | None = None,
1155
+ /,
1156
+ ) -> None:
1157
+ """Select all points in curves with any point selection"""
1284
1158
 
1285
- :type execution_context: int | str | None
1286
- :type undo: bool | None
1287
- """
1159
+ def select_more(
1160
+ execution_context: int | str | None = None,
1161
+ undo: bool | None = None,
1162
+ /,
1163
+ ) -> None:
1164
+ """Grow the selection by one point"""
1288
1165
 
1289
1166
  def select_random(
1290
1167
  execution_context: int | str | None = None,
@@ -1294,15 +1171,11 @@ def select_random(
1294
1171
  ratio: float | None = 0.5,
1295
1172
  seed: int | None = 0,
1296
1173
  action: typing.Literal["SELECT", "DESELECT"] | None = "SELECT",
1297
- ):
1174
+ ) -> None:
1298
1175
  """Selects random points from the current strokes selection
1299
1176
 
1300
- :type execution_context: int | str | None
1301
- :type undo: bool | None
1302
1177
  :param ratio: Ratio, Portion of items to select randomly
1303
- :type ratio: float | None
1304
1178
  :param seed: Random Seed, Seed for the random number generator
1305
- :type seed: int | None
1306
1179
  :param action: Action, Selection action to execute
1307
1180
 
1308
1181
  SELECT
@@ -1310,7 +1183,6 @@ def select_random(
1310
1183
 
1311
1184
  DESELECT
1312
1185
  Deselect -- Deselect all elements.
1313
- :type action: typing.Literal['SELECT','DESELECT'] | None
1314
1186
  """
1315
1187
 
1316
1188
  def select_similar(
@@ -1321,15 +1193,11 @@ def select_similar(
1321
1193
  mode: typing.Literal["LAYER", "MATERIAL", "VERTEX_COLOR", "RADIUS", "OPACITY"]
1322
1194
  | None = "LAYER",
1323
1195
  threshold: float | None = 0.1,
1324
- ):
1196
+ ) -> None:
1325
1197
  """Select all strokes with similar characteristics
1326
1198
 
1327
- :type execution_context: int | str | None
1328
- :type undo: bool | None
1329
1199
  :param mode: Mode
1330
- :type mode: typing.Literal['LAYER','MATERIAL','VERTEX_COLOR','RADIUS','OPACITY'] | None
1331
1200
  :param threshold: Threshold
1332
- :type threshold: float | None
1333
1201
  """
1334
1202
 
1335
1203
  def separate(
@@ -1338,11 +1206,9 @@ def separate(
1338
1206
  /,
1339
1207
  *,
1340
1208
  mode: typing.Literal["SELECTED", "MATERIAL", "LAYER"] | None = "SELECTED",
1341
- ):
1209
+ ) -> None:
1342
1210
  """Separate the selected geometry into a new Grease Pencil object
1343
1211
 
1344
- :type execution_context: int | str | None
1345
- :type undo: bool | None
1346
1212
  :param mode: Mode
1347
1213
 
1348
1214
  SELECTED
@@ -1353,16 +1219,27 @@ def separate(
1353
1219
 
1354
1220
  LAYER
1355
1221
  By Layer -- Separate by layer.
1356
- :type mode: typing.Literal['SELECTED','MATERIAL','LAYER'] | None
1357
1222
  """
1358
1223
 
1359
1224
  def set_active_material(
1360
- execution_context: int | str | None = None, undo: bool | None = None
1361
- ):
1362
- """Set the selected stroke material as the active material
1225
+ execution_context: int | str | None = None,
1226
+ undo: bool | None = None,
1227
+ /,
1228
+ ) -> None:
1229
+ """Set the selected stroke material as the active material"""
1230
+
1231
+ def set_corner_type(
1232
+ execution_context: int | str | None = None,
1233
+ undo: bool | None = None,
1234
+ /,
1235
+ *,
1236
+ corner_type: typing.Literal["ROUND", "FLAT", "SHARP"] | None = "SHARP",
1237
+ miter_angle: float | None = 0.785398,
1238
+ ) -> None:
1239
+ """Set the corner type of the selected points
1363
1240
 
1364
- :type execution_context: int | str | None
1365
- :type undo: bool | None
1241
+ :param corner_type: Corner Type
1242
+ :param miter_angle: Miter Cut Angle, All corners sharper than the Miter angle will be cut flat
1366
1243
  """
1367
1244
 
1368
1245
  def set_curve_resolution(
@@ -1371,13 +1248,10 @@ def set_curve_resolution(
1371
1248
  /,
1372
1249
  *,
1373
1250
  resolution: int | None = 12,
1374
- ):
1251
+ ) -> None:
1375
1252
  """Set resolution of selected curves
1376
1253
 
1377
- :type execution_context: int | str | None
1378
- :type undo: bool | None
1379
1254
  :param resolution: Resolution, The resolution to use for each curve segment
1380
- :type resolution: int | None
1381
1255
  """
1382
1256
 
1383
1257
  def set_curve_type(
@@ -1385,17 +1259,13 @@ def set_curve_type(
1385
1259
  undo: bool | None = None,
1386
1260
  /,
1387
1261
  *,
1388
- type: bpy._typing.rna_enums.CurvesTypeItems | None = "POLY",
1262
+ type: bpy.stub_internal.rna_enums.CurvesTypeItems | None = "POLY",
1389
1263
  use_handles: bool | None = False,
1390
- ):
1264
+ ) -> None:
1391
1265
  """Set type of selected curves
1392
1266
 
1393
- :type execution_context: int | str | None
1394
- :type undo: bool | None
1395
1267
  :param type: Type, Curve type
1396
- :type type: bpy._typing.rna_enums.CurvesTypeItems | None
1397
1268
  :param use_handles: Handles, Take handle information into account in the conversion
1398
- :type use_handles: bool | None
1399
1269
  """
1400
1270
 
1401
1271
  def set_handle_type(
@@ -1403,14 +1273,27 @@ def set_handle_type(
1403
1273
  undo: bool | None = None,
1404
1274
  /,
1405
1275
  *,
1406
- type: bpy._typing.rna_enums.CurvesHandleTypeItems | None = "AUTO",
1407
- ):
1408
- """Set the handle type for bezier curves
1276
+ type: typing.Literal["AUTO", "VECTOR", "ALIGN", "FREE_ALIGN", "TOGGLE_FREE_ALIGN"]
1277
+ | None = "AUTO",
1278
+ ) -> None:
1279
+ """Set the handle type for Bézier curves
1409
1280
 
1410
- :type execution_context: int | str | None
1411
- :type undo: bool | None
1412
- :param type: Type
1413
- :type type: bpy._typing.rna_enums.CurvesHandleTypeItems | None
1281
+ :param type: Type
1282
+
1283
+ AUTO
1284
+ Auto -- The location is automatically calculated to be smooth.
1285
+
1286
+ VECTOR
1287
+ Vector -- The location is calculated to point to the next/previous control point.
1288
+
1289
+ ALIGN
1290
+ Align -- The location is constrained to point in the opposite direction as the other handle.
1291
+
1292
+ FREE_ALIGN
1293
+ Free -- The handle can be moved anywhere, and does not influence the points other handle.
1294
+
1295
+ TOGGLE_FREE_ALIGN
1296
+ Toggle Free/Align -- Replace Free handles with Align, and all Align with Free handles.
1414
1297
  """
1415
1298
 
1416
1299
  def set_material(
@@ -1419,13 +1302,10 @@ def set_material(
1419
1302
  /,
1420
1303
  *,
1421
1304
  slot: str | None = "DEFAULT",
1422
- ):
1305
+ ) -> None:
1423
1306
  """Set active material
1424
1307
 
1425
- :type execution_context: int | str | None
1426
- :type undo: bool | None
1427
1308
  :param slot: Material Slot
1428
- :type slot: str | None
1429
1309
  """
1430
1310
 
1431
1311
  def set_selection_mode(
@@ -1433,24 +1313,19 @@ def set_selection_mode(
1433
1313
  undo: bool | None = None,
1434
1314
  /,
1435
1315
  *,
1436
- mode: bpy._typing.rna_enums.GreasePencilSelectmodeItems | None = "POINT",
1437
- ):
1316
+ mode: bpy.stub_internal.rna_enums.GreasePencilSelectmodeItems | None = "POINT",
1317
+ ) -> None:
1438
1318
  """Change the selection mode for Grease Pencil strokes
1439
1319
 
1440
- :type execution_context: int | str | None
1441
- :type undo: bool | None
1442
1320
  :param mode: Mode
1443
- :type mode: bpy._typing.rna_enums.GreasePencilSelectmodeItems | None
1444
1321
  """
1445
1322
 
1446
1323
  def set_start_point(
1447
- execution_context: int | str | None = None, undo: bool | None = None
1448
- ):
1449
- """Select which point is the beginning of the curve
1450
-
1451
- :type execution_context: int | str | None
1452
- :type undo: bool | None
1453
- """
1324
+ execution_context: int | str | None = None,
1325
+ undo: bool | None = None,
1326
+ /,
1327
+ ) -> None:
1328
+ """Select which point is the beginning of the curve"""
1454
1329
 
1455
1330
  def set_uniform_opacity(
1456
1331
  execution_context: int | str | None = None,
@@ -1459,15 +1334,11 @@ def set_uniform_opacity(
1459
1334
  *,
1460
1335
  opacity_stroke: float | None = 1.0,
1461
1336
  opacity_fill: float | None = 0.5,
1462
- ):
1337
+ ) -> None:
1463
1338
  """Set all stroke points to same opacity
1464
1339
 
1465
- :type execution_context: int | str | None
1466
- :type undo: bool | None
1467
1340
  :param opacity_stroke: Stroke Opacity
1468
- :type opacity_stroke: float | None
1469
1341
  :param opacity_fill: Fill Opacity
1470
- :type opacity_fill: float | None
1471
1342
  """
1472
1343
 
1473
1344
  def set_uniform_thickness(
@@ -1476,23 +1347,18 @@ def set_uniform_thickness(
1476
1347
  /,
1477
1348
  *,
1478
1349
  thickness: float | None = 0.1,
1479
- ):
1350
+ ) -> None:
1480
1351
  """Set all stroke points to same thickness
1481
1352
 
1482
- :type execution_context: int | str | None
1483
- :type undo: bool | None
1484
1353
  :param thickness: Thickness, Thickness
1485
- :type thickness: float | None
1486
1354
  """
1487
1355
 
1488
1356
  def snap_cursor_to_selected(
1489
- execution_context: int | str | None = None, undo: bool | None = None
1490
- ):
1491
- """Snap cursor to center of selected points
1492
-
1493
- :type execution_context: int | str | None
1494
- :type undo: bool | None
1495
- """
1357
+ execution_context: int | str | None = None,
1358
+ undo: bool | None = None,
1359
+ /,
1360
+ ) -> None:
1361
+ """Snap cursor to center of selected points"""
1496
1362
 
1497
1363
  def snap_to_cursor(
1498
1364
  execution_context: int | str | None = None,
@@ -1500,21 +1366,18 @@ def snap_to_cursor(
1500
1366
  /,
1501
1367
  *,
1502
1368
  use_offset: bool | None = True,
1503
- ):
1369
+ ) -> None:
1504
1370
  """Snap selected points/strokes to the cursor
1505
1371
 
1506
- :type execution_context: int | str | None
1507
- :type undo: bool | None
1508
1372
  :param use_offset: With Offset, Offset the entire stroke instead of selected points only
1509
- :type use_offset: bool | None
1510
1373
  """
1511
1374
 
1512
- def snap_to_grid(execution_context: int | str | None = None, undo: bool | None = None):
1513
- """Snap selected points to the nearest grid points
1514
-
1515
- :type execution_context: int | str | None
1516
- :type undo: bool | None
1517
- """
1375
+ def snap_to_grid(
1376
+ execution_context: int | str | None = None,
1377
+ undo: bool | None = None,
1378
+ /,
1379
+ ) -> None:
1380
+ """Snap selected points to the nearest grid points"""
1518
1381
 
1519
1382
  def stroke_material_set(
1520
1383
  execution_context: int | str | None = None,
@@ -1522,13 +1385,10 @@ def stroke_material_set(
1522
1385
  /,
1523
1386
  *,
1524
1387
  material: str = "",
1525
- ):
1388
+ ) -> None:
1526
1389
  """Assign the active material slot to the selected strokes
1527
1390
 
1528
- :type execution_context: int | str | None
1529
- :type undo: bool | None
1530
1391
  :param material: Material, Name of the material
1531
- :type material: str
1532
1392
  """
1533
1393
 
1534
1394
  def stroke_merge_by_distance(
@@ -1538,15 +1398,11 @@ def stroke_merge_by_distance(
1538
1398
  *,
1539
1399
  threshold: float | None = 0.001,
1540
1400
  use_unselected: bool | None = False,
1541
- ):
1401
+ ) -> None:
1542
1402
  """Merge points by distance
1543
1403
 
1544
- :type execution_context: int | str | None
1545
- :type undo: bool | None
1546
1404
  :param threshold: Threshold
1547
- :type threshold: float | None
1548
1405
  :param use_unselected: Unselected, Use whole stroke, not only selected points
1549
- :type use_unselected: bool | None
1550
1406
  """
1551
1407
 
1552
1408
  def stroke_reset_vertex_color(
@@ -1555,13 +1411,10 @@ def stroke_reset_vertex_color(
1555
1411
  /,
1556
1412
  *,
1557
1413
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
1558
- ):
1414
+ ) -> None:
1559
1415
  """Reset vertex color for all or selected strokes
1560
1416
 
1561
- :type execution_context: int | str | None
1562
- :type undo: bool | None
1563
1417
  :param mode: Mode
1564
- :type mode: typing.Literal['STROKE','FILL','BOTH'] | None
1565
1418
  """
1566
1419
 
1567
1420
  def stroke_simplify(
@@ -1574,19 +1427,13 @@ def stroke_simplify(
1574
1427
  distance: float | None = 0.01,
1575
1428
  steps: int | None = 1,
1576
1429
  mode: typing.Literal["FIXED", "ADAPTIVE", "SAMPLE", "MERGE"] | None = "FIXED",
1577
- ):
1430
+ ) -> None:
1578
1431
  """Simplify selected strokes
1579
1432
 
1580
- :type execution_context: int | str | None
1581
- :type undo: bool | None
1582
1433
  :param factor: Factor
1583
- :type factor: float | None
1584
1434
  :param length: Length
1585
- :type length: float | None
1586
1435
  :param distance: Distance
1587
- :type distance: float | None
1588
1436
  :param steps: Steps
1589
- :type steps: int | None
1590
1437
  :param mode: Mode, Method used for simplifying stroke points
1591
1438
 
1592
1439
  FIXED
@@ -1600,7 +1447,6 @@ def stroke_simplify(
1600
1447
 
1601
1448
  MERGE
1602
1449
  Merge -- Simplify the stroke by merging vertices closer than a given distance.
1603
- :type mode: typing.Literal['FIXED','ADAPTIVE','SAMPLE','MERGE'] | None
1604
1450
  """
1605
1451
 
1606
1452
  def stroke_smooth(
@@ -1615,27 +1461,25 @@ def stroke_smooth(
1615
1461
  smooth_position: bool | None = True,
1616
1462
  smooth_radius: bool | None = True,
1617
1463
  smooth_opacity: bool | None = False,
1618
- ):
1464
+ ) -> None:
1619
1465
  """Smooth selected strokes
1620
1466
 
1621
- :type execution_context: int | str | None
1622
- :type undo: bool | None
1623
1467
  :param iterations: Iterations
1624
- :type iterations: int | None
1625
1468
  :param factor: Factor
1626
- :type factor: float | None
1627
1469
  :param smooth_ends: Smooth Endpoints
1628
- :type smooth_ends: bool | None
1629
1470
  :param keep_shape: Keep Shape
1630
- :type keep_shape: bool | None
1631
1471
  :param smooth_position: Position
1632
- :type smooth_position: bool | None
1633
1472
  :param smooth_radius: Radius
1634
- :type smooth_radius: bool | None
1635
1473
  :param smooth_opacity: Opacity
1636
- :type smooth_opacity: bool | None
1637
1474
  """
1638
1475
 
1476
+ def stroke_split(
1477
+ execution_context: int | str | None = None,
1478
+ undo: bool | None = None,
1479
+ /,
1480
+ ) -> None:
1481
+ """Split selected points to a new stroke"""
1482
+
1639
1483
  def stroke_subdivide(
1640
1484
  execution_context: int | str | None = None,
1641
1485
  undo: bool | None = None,
@@ -1643,15 +1487,11 @@ def stroke_subdivide(
1643
1487
  *,
1644
1488
  number_cuts: int | None = 1,
1645
1489
  only_selected: bool | None = True,
1646
- ):
1490
+ ) -> None:
1647
1491
  """Subdivide between continuous selected points of the stroke adding a point half way between them
1648
1492
 
1649
- :type execution_context: int | str | None
1650
- :type undo: bool | None
1651
1493
  :param number_cuts: Number of Cuts
1652
- :type number_cuts: int | None
1653
1494
  :param only_selected: Selected Points, Smooth only selected points in the stroke
1654
- :type only_selected: bool | None
1655
1495
  """
1656
1496
 
1657
1497
  def stroke_subdivide_smooth(
@@ -1661,25 +1501,19 @@ def stroke_subdivide_smooth(
1661
1501
  *,
1662
1502
  GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None = None,
1663
1503
  GREASE_PENCIL_OT_stroke_smooth: typing.Any | None = None,
1664
- ):
1504
+ ) -> None:
1665
1505
  """Subdivide strokes and smooth them
1666
1506
 
1667
- :type execution_context: int | str | None
1668
- :type undo: bool | None
1669
1507
  :param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
1670
- :type GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None
1671
1508
  :param GREASE_PENCIL_OT_stroke_smooth: Smooth Stroke, Smooth selected strokes
1672
- :type GREASE_PENCIL_OT_stroke_smooth: typing.Any | None
1673
1509
  """
1674
1510
 
1675
1511
  def stroke_switch_direction(
1676
- execution_context: int | str | None = None, undo: bool | None = None
1677
- ):
1678
- """Change direction of the points of the selected strokes
1679
-
1680
- :type execution_context: int | str | None
1681
- :type undo: bool | None
1682
- """
1512
+ execution_context: int | str | None = None,
1513
+ undo: bool | None = None,
1514
+ /,
1515
+ ) -> None:
1516
+ """Change direction of the points of the selected strokes"""
1683
1517
 
1684
1518
  def stroke_trim(
1685
1519
  execution_context: int | str | None = None,
@@ -1690,19 +1524,13 @@ def stroke_trim(
1690
1524
  use_smooth_stroke: bool | None = False,
1691
1525
  smooth_stroke_factor: float | None = 0.75,
1692
1526
  smooth_stroke_radius: int | None = 35,
1693
- ):
1527
+ ) -> None:
1694
1528
  """Delete stroke points in between intersecting strokes
1695
1529
 
1696
- :type execution_context: int | str | None
1697
- :type undo: bool | None
1698
1530
  :param path: Path
1699
- :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
1700
1531
  :param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
1701
- :type use_smooth_stroke: bool | None
1702
1532
  :param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
1703
- :type smooth_stroke_factor: float | None
1704
1533
  :param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
1705
- :type smooth_stroke_radius: int | None
1706
1534
  """
1707
1535
 
1708
1536
  def texture_gradient(
@@ -1716,23 +1544,15 @@ def texture_gradient(
1716
1544
  yend: int | None = 0,
1717
1545
  flip: bool | None = False,
1718
1546
  cursor: int | None = 5,
1719
- ):
1547
+ ) -> None:
1720
1548
  """Draw a line to set the fill material gradient for the selected strokes
1721
1549
 
1722
- :type execution_context: int | str | None
1723
- :type undo: bool | None
1724
1550
  :param xstart: X Start
1725
- :type xstart: int | None
1726
1551
  :param xend: X End
1727
- :type xend: int | None
1728
1552
  :param ystart: Y Start
1729
- :type ystart: int | None
1730
1553
  :param yend: Y End
1731
- :type yend: int | None
1732
1554
  :param flip: Flip
1733
- :type flip: bool | None
1734
1555
  :param cursor: Cursor, Mouse cursor style to use during the modal operator
1735
- :type cursor: int | None
1736
1556
  """
1737
1557
 
1738
1558
  def trace_image(
@@ -1750,17 +1570,12 @@ def trace_image(
1750
1570
  mode: typing.Literal["SINGLE", "SEQUENCE"] | None = "SINGLE",
1751
1571
  use_current_frame: bool | None = True,
1752
1572
  frame_number: int | None = 0,
1753
- ):
1573
+ ) -> None:
1754
1574
  """Extract Grease Pencil strokes from image
1755
1575
 
1756
- :type execution_context: int | str | None
1757
- :type undo: bool | None
1758
1576
  :param target: Target Object, Target Grease Pencil
1759
- :type target: typing.Literal['NEW','SELECTED'] | None
1760
1577
  :param radius: Radius
1761
- :type radius: float | None
1762
1578
  :param threshold: Color Threshold, Determine the lightness threshold above which strokes are generated
1763
- :type threshold: float | None
1764
1579
  :param turnpolicy: Turn Policy, Determines how to resolve ambiguities during decomposition of bitmaps into paths
1765
1580
 
1766
1581
  FOREGROUND
@@ -1783,7 +1598,6 @@ def trace_image(
1783
1598
 
1784
1599
  RANDOM
1785
1600
  Random -- Choose pseudo-randomly.
1786
- :type turnpolicy: typing.Literal['FOREGROUND','BACKGROUND','LEFT','RIGHT','MINORITY','MAJORITY','RANDOM'] | None
1787
1601
  :param mode: Mode, Determines if trace simple image or full sequence
1788
1602
 
1789
1603
  SINGLE
@@ -1791,11 +1605,8 @@ def trace_image(
1791
1605
 
1792
1606
  SEQUENCE
1793
1607
  Sequence -- Trace full sequence.
1794
- :type mode: typing.Literal['SINGLE','SEQUENCE'] | None
1795
1608
  :param use_current_frame: Start At Current Frame, Trace Image starting in current image frame
1796
- :type use_current_frame: bool | None
1797
1609
  :param frame_number: Trace Frame, Used to trace only one frame of the image sequence, set to zero to trace all
1798
- :type frame_number: int | None
1799
1610
  """
1800
1611
 
1801
1612
  def vertex_brush_stroke(
@@ -1805,15 +1616,13 @@ def vertex_brush_stroke(
1805
1616
  *,
1806
1617
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1807
1618
  | None = None,
1808
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
1619
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
1620
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
1809
1621
  pen_flip: bool | None = False,
1810
- ):
1622
+ ) -> None:
1811
1623
  """Draw on vertex colors in the active Grease Pencil object
1812
1624
 
1813
- :type execution_context: int | str | None
1814
- :type undo: bool | None
1815
1625
  :param stroke: Stroke
1816
- :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
1817
1626
  :param mode: Stroke Mode, Action taken when a paint stroke is made
1818
1627
 
1819
1628
  NORMAL
@@ -1821,15 +1630,20 @@ def vertex_brush_stroke(
1821
1630
 
1822
1631
  INVERT
1823
1632
  Invert -- Invert action of brush for duration of stroke.
1633
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
1634
+
1635
+ None
1636
+ None -- Apply brush normally.
1824
1637
 
1825
1638
  SMOOTH
1826
- Smooth -- Switch brush to smooth mode for duration of stroke.
1639
+ Smooth -- Switch to smooth brush for duration of stroke.
1827
1640
 
1828
1641
  ERASE
1829
- Erase -- Switch brush to erase mode for duration of stroke.
1830
- :type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
1831
- :param pen_flip: Pen Flip, Whether a tablet's eraser mode is being used
1832
- :type pen_flip: bool | None
1642
+ Erase -- Switch to erase brush for duration of stroke.
1643
+
1644
+ MASK
1645
+ Mask -- Switch to mask brush for duration of stroke.
1646
+ :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
1833
1647
  """
1834
1648
 
1835
1649
  def vertex_color_brightness_contrast(
@@ -1840,17 +1654,12 @@ def vertex_color_brightness_contrast(
1840
1654
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
1841
1655
  brightness: float | None = 0.0,
1842
1656
  contrast: float | None = 0.0,
1843
- ):
1657
+ ) -> None:
1844
1658
  """Adjust vertex color brightness/contrast
1845
1659
 
1846
- :type execution_context: int | str | None
1847
- :type undo: bool | None
1848
1660
  :param mode: Mode
1849
- :type mode: typing.Literal['STROKE','FILL','BOTH'] | None
1850
1661
  :param brightness: Brightness
1851
- :type brightness: float | None
1852
1662
  :param contrast: Contrast
1853
- :type contrast: float | None
1854
1663
  """
1855
1664
 
1856
1665
  def vertex_color_hsv(
@@ -1862,19 +1671,13 @@ def vertex_color_hsv(
1862
1671
  h: float | None = 0.5,
1863
1672
  s: float | None = 1.0,
1864
1673
  v: float | None = 1.0,
1865
- ):
1674
+ ) -> None:
1866
1675
  """Adjust vertex color HSV values
1867
1676
 
1868
- :type execution_context: int | str | None
1869
- :type undo: bool | None
1870
1677
  :param mode: Mode
1871
- :type mode: typing.Literal['STROKE','FILL','BOTH'] | None
1872
1678
  :param h: Hue
1873
- :type h: float | None
1874
1679
  :param s: Saturation
1875
- :type s: float | None
1876
1680
  :param v: Value
1877
- :type v: float | None
1878
1681
  """
1879
1682
 
1880
1683
  def vertex_color_invert(
@@ -1883,13 +1686,10 @@ def vertex_color_invert(
1883
1686
  /,
1884
1687
  *,
1885
1688
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
1886
- ):
1689
+ ) -> None:
1887
1690
  """Invert RGB values
1888
1691
 
1889
- :type execution_context: int | str | None
1890
- :type undo: bool | None
1891
1692
  :param mode: Mode
1892
- :type mode: typing.Literal['STROKE','FILL','BOTH'] | None
1893
1693
  """
1894
1694
 
1895
1695
  def vertex_color_levels(
@@ -1900,17 +1700,12 @@ def vertex_color_levels(
1900
1700
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
1901
1701
  offset: float | None = 0.0,
1902
1702
  gain: float | None = 1.0,
1903
- ):
1703
+ ) -> None:
1904
1704
  """Adjust levels of vertex colors
1905
1705
 
1906
- :type execution_context: int | str | None
1907
- :type undo: bool | None
1908
1706
  :param mode: Mode
1909
- :type mode: typing.Literal['STROKE','FILL','BOTH'] | None
1910
1707
  :param offset: Offset, Value to add to colors
1911
- :type offset: float | None
1912
1708
  :param gain: Gain, Value to multiply colors by
1913
- :type gain: float | None
1914
1709
  """
1915
1710
 
1916
1711
  def vertex_color_set(
@@ -1920,25 +1715,19 @@ def vertex_color_set(
1920
1715
  *,
1921
1716
  mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
1922
1717
  factor: float | None = 1.0,
1923
- ):
1718
+ ) -> None:
1924
1719
  """Set active color to all selected vertex
1925
1720
 
1926
- :type execution_context: int | str | None
1927
- :type undo: bool | None
1928
1721
  :param mode: Mode
1929
- :type mode: typing.Literal['STROKE','FILL','BOTH'] | None
1930
1722
  :param factor: Factor, Mix Factor
1931
- :type factor: float | None
1932
1723
  """
1933
1724
 
1934
1725
  def vertex_group_normalize(
1935
- execution_context: int | str | None = None, undo: bool | None = None
1936
- ):
1937
- """Normalize weights of the active vertex group
1938
-
1939
- :type execution_context: int | str | None
1940
- :type undo: bool | None
1941
- """
1726
+ execution_context: int | str | None = None,
1727
+ undo: bool | None = None,
1728
+ /,
1729
+ ) -> None:
1730
+ """Normalize weights of the active vertex group"""
1942
1731
 
1943
1732
  def vertex_group_normalize_all(
1944
1733
  execution_context: int | str | None = None,
@@ -1946,13 +1735,10 @@ def vertex_group_normalize_all(
1946
1735
  /,
1947
1736
  *,
1948
1737
  lock_active: bool | None = True,
1949
- ):
1738
+ ) -> None:
1950
1739
  """Normalize the weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
1951
1740
 
1952
- :type execution_context: int | str | None
1953
- :type undo: bool | None
1954
1741
  :param lock_active: Lock Active, Keep the values of the active group while normalizing others
1955
- :type lock_active: bool | None
1956
1742
  """
1957
1743
 
1958
1744
  def vertex_group_smooth(
@@ -1962,15 +1748,11 @@ def vertex_group_smooth(
1962
1748
  *,
1963
1749
  factor: float | None = 0.5,
1964
1750
  repeat: int | None = 1,
1965
- ):
1751
+ ) -> None:
1966
1752
  """Smooth the weights of the active vertex group
1967
1753
 
1968
- :type execution_context: int | str | None
1969
- :type undo: bool | None
1970
1754
  :param factor: Factor
1971
- :type factor: float | None
1972
1755
  :param repeat: Iterations
1973
- :type repeat: int | None
1974
1756
  """
1975
1757
 
1976
1758
  def vertexmode_toggle(
@@ -1979,13 +1761,10 @@ def vertexmode_toggle(
1979
1761
  /,
1980
1762
  *,
1981
1763
  back: bool | None = False,
1982
- ):
1764
+ ) -> None:
1983
1765
  """Enter/Exit vertex paint mode for Grease Pencil strokes
1984
1766
 
1985
- :type execution_context: int | str | None
1986
- :type undo: bool | None
1987
1767
  :param back: Return to Previous Mode, Return to previous mode
1988
- :type back: bool | None
1989
1768
  """
1990
1769
 
1991
1770
  def weight_brush_stroke(
@@ -1995,15 +1774,13 @@ def weight_brush_stroke(
1995
1774
  *,
1996
1775
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1997
1776
  | None = None,
1998
- mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
1777
+ mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
1778
+ brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
1999
1779
  pen_flip: bool | None = False,
2000
- ):
1780
+ ) -> None:
2001
1781
  """Draw weight on stroke points in the active Grease Pencil object
2002
1782
 
2003
- :type execution_context: int | str | None
2004
- :type undo: bool | None
2005
1783
  :param stroke: Stroke
2006
- :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
2007
1784
  :param mode: Stroke Mode, Action taken when a paint stroke is made
2008
1785
 
2009
1786
  NORMAL
@@ -2011,39 +1788,42 @@ def weight_brush_stroke(
2011
1788
 
2012
1789
  INVERT
2013
1790
  Invert -- Invert action of brush for duration of stroke.
1791
+ :param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
1792
+
1793
+ None
1794
+ None -- Apply brush normally.
2014
1795
 
2015
1796
  SMOOTH
2016
- Smooth -- Switch brush to smooth mode for duration of stroke.
1797
+ Smooth -- Switch to smooth brush for duration of stroke.
2017
1798
 
2018
1799
  ERASE
2019
- Erase -- Switch brush to erase mode for duration of stroke.
2020
- :type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
2021
- :param pen_flip: Pen Flip, Whether a tablet's eraser mode is being used
2022
- :type pen_flip: bool | None
2023
- """
1800
+ Erase -- Switch to erase brush for duration of stroke.
2024
1801
 
2025
- def weight_invert(execution_context: int | str | None = None, undo: bool | None = None):
2026
- """Invert the weight of active vertex group
2027
-
2028
- :type execution_context: int | str | None
2029
- :type undo: bool | None
1802
+ MASK
1803
+ Mask -- Switch to mask brush for duration of stroke.
1804
+ :param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
2030
1805
  """
2031
1806
 
2032
- def weight_sample(execution_context: int | str | None = None, undo: bool | None = None):
2033
- """Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
1807
+ def weight_invert(
1808
+ execution_context: int | str | None = None,
1809
+ undo: bool | None = None,
1810
+ /,
1811
+ ) -> None:
1812
+ """Invert the weight of active vertex group"""
2034
1813
 
2035
- :type execution_context: int | str | None
2036
- :type undo: bool | None
2037
- """
1814
+ def weight_sample(
1815
+ execution_context: int | str | None = None,
1816
+ undo: bool | None = None,
1817
+ /,
1818
+ ) -> None:
1819
+ """Set the weight of the Draw tool to the weight of the vertex under the mouse cursor"""
2038
1820
 
2039
1821
  def weight_toggle_direction(
2040
- execution_context: int | str | None = None, undo: bool | None = None
2041
- ):
2042
- """Toggle Add/Subtract for the weight paint draw tool
2043
-
2044
- :type execution_context: int | str | None
2045
- :type undo: bool | None
2046
- """
1822
+ execution_context: int | str | None = None,
1823
+ undo: bool | None = None,
1824
+ /,
1825
+ ) -> None:
1826
+ """Toggle Add/Subtract for the weight paint draw tool"""
2047
1827
 
2048
1828
  def weightmode_toggle(
2049
1829
  execution_context: int | str | None = None,
@@ -2051,11 +1831,8 @@ def weightmode_toggle(
2051
1831
  /,
2052
1832
  *,
2053
1833
  back: bool | None = False,
2054
- ):
1834
+ ) -> None:
2055
1835
  """Enter/Exit weight paint mode for Grease Pencil strokes
2056
1836
 
2057
- :type execution_context: int | str | None
2058
- :type undo: bool | None
2059
1837
  :param back: Return to Previous Mode, Return to previous mode
2060
- :type back: bool | None
2061
1838
  """