fake-bpy-module 20240705__py3-none-any.whl → 20240707__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (317) hide show
  1. _bpy_internal/__init__.pyi +1 -0
  2. _bpy_internal/extensions/__init__.pyi +1 -0
  3. _bpy_internal/extensions/junction_module/__init__.pyi +1 -0
  4. _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -0
  5. _bpy_internal/freedesktop/__init__.pyi +1 -0
  6. addon_utils/__init__.pyi +1 -0
  7. animsys_refactor/__init__.pyi +1 -0
  8. aud/__init__.pyi +1 -0
  9. bgl/__init__.pyi +1 -0
  10. bl_app_override/__init__.pyi +1 -0
  11. bl_app_override/helpers/__init__.pyi +1 -0
  12. bl_app_template_utils/__init__.pyi +1 -0
  13. bl_console_utils/__init__.pyi +1 -0
  14. bl_console_utils/autocomplete/__init__.pyi +1 -0
  15. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -0
  16. bl_console_utils/autocomplete/complete_import/__init__.pyi +1 -0
  17. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -0
  18. bl_console_utils/autocomplete/intellisense/__init__.pyi +1 -0
  19. bl_i18n_utils/__init__.pyi +1 -0
  20. bl_i18n_utils/bl_extract_messages/__init__.pyi +1 -0
  21. bl_i18n_utils/merge_po/__init__.pyi +1 -0
  22. bl_i18n_utils/settings/__init__.pyi +1 -0
  23. bl_i18n_utils/utils/__init__.pyi +1 -0
  24. bl_i18n_utils/utils_cli/__init__.pyi +1 -0
  25. bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -0
  26. bl_i18n_utils/utils_rtl/__init__.pyi +1 -0
  27. bl_keymap_utils/__init__.pyi +1 -0
  28. bl_keymap_utils/io/__init__.pyi +1 -0
  29. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -0
  30. bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -0
  31. bl_keymap_utils/platform_helpers/__init__.pyi +1 -0
  32. bl_keymap_utils/versioning/__init__.pyi +1 -0
  33. bl_math/__init__.pyi +1 -0
  34. bl_operators/__init__.pyi +1 -0
  35. bl_operators/add_mesh_torus/__init__.pyi +1 -0
  36. bl_operators/anim/__init__.pyi +1 -0
  37. bl_operators/assets/__init__.pyi +9 -8
  38. bl_operators/bmesh/__init__.pyi +1 -0
  39. bl_operators/bmesh/find_adjacent/__init__.pyi +1 -0
  40. bl_operators/clip/__init__.pyi +1 -0
  41. bl_operators/connect_to_output/__init__.pyi +1 -0
  42. bl_operators/console/__init__.pyi +1 -0
  43. bl_operators/constraint/__init__.pyi +1 -0
  44. bl_operators/file/__init__.pyi +1 -0
  45. bl_operators/freestyle/__init__.pyi +1 -0
  46. bl_operators/geometry_nodes/__init__.pyi +1 -0
  47. bl_operators/image/__init__.pyi +1 -0
  48. bl_operators/image_as_planes/__init__.pyi +44 -43
  49. bl_operators/mesh/__init__.pyi +1 -0
  50. bl_operators/node/__init__.pyi +235 -234
  51. bl_operators/node_editor/__init__.pyi +1 -0
  52. bl_operators/node_editor/node_functions/__init__.pyi +1 -0
  53. bl_operators/object/__init__.pyi +1 -0
  54. bl_operators/object_align/__init__.pyi +1 -0
  55. bl_operators/object_quick_effects/__init__.pyi +22 -21
  56. bl_operators/object_randomize_transform/__init__.pyi +1 -0
  57. bl_operators/presets/__init__.pyi +389 -388
  58. bl_operators/rigidbody/__init__.pyi +1 -0
  59. bl_operators/screen_play_rendered_anim/__init__.pyi +1 -0
  60. bl_operators/sequencer/__init__.pyi +1 -0
  61. bl_operators/spreadsheet/__init__.pyi +1 -0
  62. bl_operators/userpref/__init__.pyi +1 -0
  63. bl_operators/uvcalc_follow_active/__init__.pyi +1 -0
  64. bl_operators/uvcalc_lightmap/__init__.pyi +1 -0
  65. bl_operators/uvcalc_transform/__init__.pyi +1 -0
  66. bl_operators/vertexpaint_dirt/__init__.pyi +1 -0
  67. bl_operators/view3d/__init__.pyi +1 -0
  68. bl_operators/wm/__init__.pyi +1 -0
  69. bl_operators/world/__init__.pyi +1 -0
  70. bl_previews_utils/__init__.pyi +1 -0
  71. bl_previews_utils/bl_previews_render/__init__.pyi +1 -0
  72. bl_rna_utils/__init__.pyi +1 -0
  73. bl_rna_utils/data_path/__init__.pyi +1 -0
  74. bl_text_utils/__init__.pyi +1 -0
  75. bl_text_utils/external_editor/__init__.pyi +1 -0
  76. bl_ui/__init__.pyi +1 -0
  77. bl_ui/anim/__init__.pyi +1 -0
  78. bl_ui/asset_shelf/__init__.pyi +1 -0
  79. bl_ui/generic_ui_list/__init__.pyi +1 -0
  80. bl_ui/node_add_menu/__init__.pyi +1 -0
  81. bl_ui/node_add_menu_compositor/__init__.pyi +1 -0
  82. bl_ui/node_add_menu_geometry/__init__.pyi +1 -0
  83. bl_ui/node_add_menu_shader/__init__.pyi +1 -0
  84. bl_ui/node_add_menu_texture/__init__.pyi +1 -0
  85. bl_ui/properties_animviz/__init__.pyi +1 -0
  86. bl_ui/properties_collection/__init__.pyi +13 -12
  87. bl_ui/properties_constraint/__init__.pyi +955 -954
  88. bl_ui/properties_data_armature/__init__.pyi +86 -85
  89. bl_ui/properties_data_bone/__init__.pyi +13 -12
  90. bl_ui/properties_data_camera/__init__.pyi +1 -0
  91. bl_ui/properties_data_curve/__init__.pyi +93 -92
  92. bl_ui/properties_data_curves/__init__.pyi +13 -12
  93. bl_ui/properties_data_empty/__init__.pyi +13 -12
  94. bl_ui/properties_data_gpencil/__init__.pyi +266 -265
  95. bl_ui/properties_data_grease_pencil/__init__.pyi +313 -312
  96. bl_ui/properties_data_lattice/__init__.pyi +13 -12
  97. bl_ui/properties_data_light/__init__.pyi +13 -12
  98. bl_ui/properties_data_lightprobe/__init__.pyi +13 -12
  99. bl_ui/properties_data_mesh/__init__.pyi +528 -527
  100. bl_ui/properties_data_metaball/__init__.pyi +13 -12
  101. bl_ui/properties_data_modifier/__init__.pyi +20 -19
  102. bl_ui/properties_data_pointcloud/__init__.pyi +141 -140
  103. bl_ui/properties_data_shaderfx/__init__.pyi +6 -5
  104. bl_ui/properties_data_speaker/__init__.pyi +13 -12
  105. bl_ui/properties_data_volume/__init__.pyi +66 -65
  106. bl_ui/properties_freestyle/__init__.pyi +249 -248
  107. bl_ui/properties_grease_pencil_common/__init__.pyi +1 -0
  108. bl_ui/properties_mask_common/__init__.pyi +1 -0
  109. bl_ui/properties_material/__init__.pyi +146 -145
  110. bl_ui/properties_material_gpencil/__init__.pyi +87 -86
  111. bl_ui/properties_object/__init__.pyi +76 -75
  112. bl_ui/properties_output/__init__.pyi +202 -201
  113. bl_ui/properties_paint_common/__init__.pyi +1 -0
  114. bl_ui/properties_particle/__init__.pyi +221 -220
  115. bl_ui/properties_physics_cloth/__init__.pyi +13 -12
  116. bl_ui/properties_physics_common/__init__.pyi +13 -12
  117. bl_ui/properties_physics_dynamicpaint/__init__.pyi +188 -187
  118. bl_ui/properties_physics_field/__init__.pyi +20 -19
  119. bl_ui/properties_physics_fluid/__init__.pyi +62 -61
  120. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -0
  121. bl_ui/properties_physics_rigidbody/__init__.pyi +6 -5
  122. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +6 -5
  123. bl_ui/properties_physics_softbody/__init__.pyi +13 -12
  124. bl_ui/properties_render/__init__.pyi +218 -217
  125. bl_ui/properties_scene/__init__.pyi +144 -143
  126. bl_ui/properties_texture/__init__.pyi +157 -156
  127. bl_ui/properties_view_layer/__init__.pyi +79 -78
  128. bl_ui/properties_workspace/__init__.pyi +65 -64
  129. bl_ui/properties_world/__init__.pyi +13 -12
  130. bl_ui/space_clip/__init__.pyi +367 -366
  131. bl_ui/space_console/__init__.pyi +1 -0
  132. bl_ui/space_dopesheet/__init__.pyi +177 -176
  133. bl_ui/space_filebrowser/__init__.pyi +736 -735
  134. bl_ui/space_graph/__init__.pyi +1 -0
  135. bl_ui/space_image/__init__.pyi +647 -646
  136. bl_ui/space_info/__init__.pyi +1 -0
  137. bl_ui/space_nla/__init__.pyi +1 -0
  138. bl_ui/space_node/__init__.pyi +1 -0
  139. bl_ui/space_outliner/__init__.pyi +1 -0
  140. bl_ui/space_properties/__init__.pyi +1 -0
  141. bl_ui/space_sequencer/__init__.pyi +842 -389
  142. bl_ui/space_spreadsheet/__init__.pyi +1 -0
  143. bl_ui/space_statusbar/__init__.pyi +1 -0
  144. bl_ui/space_text/__init__.pyi +1 -0
  145. bl_ui/space_time/__init__.pyi +12 -11
  146. bl_ui/space_toolsystem_common/__init__.pyi +1 -0
  147. bl_ui/space_toolsystem_toolbar/__init__.pyi +1 -0
  148. bl_ui/space_topbar/__init__.pyi +1 -0
  149. bl_ui/space_userpref/__init__.pyi +685 -684
  150. bl_ui/space_view3d/__init__.pyi +1153 -1152
  151. bl_ui/space_view3d_toolbar/__init__.pyi +2832 -2831
  152. bl_ui/temp_anim_layers/__init__.pyi +1 -0
  153. bl_ui/utils/__init__.pyi +1 -0
  154. bl_ui_utils/__init__.pyi +1 -0
  155. bl_ui_utils/bug_report_url/__init__.pyi +1 -0
  156. bl_ui_utils/layout/__init__.pyi +1 -0
  157. blend_render_info/__init__.pyi +1 -0
  158. blf/__init__.pyi +1 -0
  159. bmesh/__init__.pyi +1 -0
  160. bmesh/geometry/__init__.pyi +1 -0
  161. bmesh/ops/__init__.pyi +1 -0
  162. bmesh/types/__init__.pyi +1 -0
  163. bmesh/utils/__init__.pyi +1 -0
  164. bpy/__init__.pyi +1 -0
  165. bpy/app/__init__.pyi +1 -0
  166. bpy/app/handlers/__init__.pyi +1 -0
  167. bpy/app/icons/__init__.pyi +1 -0
  168. bpy/app/timers/__init__.pyi +1 -0
  169. bpy/app/translations/__init__.pyi +1 -0
  170. bpy/msgbus/__init__.pyi +1 -0
  171. bpy/ops/__init__.pyi +1 -0
  172. bpy/ops/action/__init__.pyi +1 -0
  173. bpy/ops/anim/__init__.pyi +15 -14
  174. bpy/ops/armature/__init__.pyi +1 -0
  175. bpy/ops/asset/__init__.pyi +1 -0
  176. bpy/ops/boid/__init__.pyi +1 -0
  177. bpy/ops/brush/__init__.pyi +1 -0
  178. bpy/ops/buttons/__init__.pyi +1 -0
  179. bpy/ops/cachefile/__init__.pyi +1 -0
  180. bpy/ops/camera/__init__.pyi +1 -0
  181. bpy/ops/clip/__init__.pyi +1 -0
  182. bpy/ops/cloth/__init__.pyi +1 -0
  183. bpy/ops/collection/__init__.pyi +1 -0
  184. bpy/ops/console/__init__.pyi +1 -0
  185. bpy/ops/constraint/__init__.pyi +1 -0
  186. bpy/ops/curve/__init__.pyi +1 -0
  187. bpy/ops/curves/__init__.pyi +1 -0
  188. bpy/ops/cycles/__init__.pyi +1 -0
  189. bpy/ops/dpaint/__init__.pyi +1 -0
  190. bpy/ops/ed/__init__.pyi +1 -0
  191. bpy/ops/export_anim/__init__.pyi +1 -0
  192. bpy/ops/export_scene/__init__.pyi +1 -0
  193. bpy/ops/extensions/__init__.pyi +1 -0
  194. bpy/ops/file/__init__.pyi +1 -0
  195. bpy/ops/fluid/__init__.pyi +1 -0
  196. bpy/ops/font/__init__.pyi +1 -0
  197. bpy/ops/geometry/__init__.pyi +1 -0
  198. bpy/ops/gizmogroup/__init__.pyi +1 -0
  199. bpy/ops/gpencil/__init__.pyi +1 -0
  200. bpy/ops/graph/__init__.pyi +1 -0
  201. bpy/ops/grease_pencil/__init__.pyi +19 -0
  202. bpy/ops/image/__init__.pyi +1 -0
  203. bpy/ops/import_anim/__init__.pyi +1 -0
  204. bpy/ops/import_curve/__init__.pyi +1 -0
  205. bpy/ops/import_scene/__init__.pyi +1 -0
  206. bpy/ops/info/__init__.pyi +1 -0
  207. bpy/ops/lattice/__init__.pyi +1 -0
  208. bpy/ops/marker/__init__.pyi +1 -0
  209. bpy/ops/mask/__init__.pyi +1 -0
  210. bpy/ops/material/__init__.pyi +1 -0
  211. bpy/ops/mball/__init__.pyi +1 -0
  212. bpy/ops/mesh/__init__.pyi +7 -2
  213. bpy/ops/nla/__init__.pyi +1 -0
  214. bpy/ops/node/__init__.pyi +1 -0
  215. bpy/ops/object/__init__.pyi +2 -1
  216. bpy/ops/outliner/__init__.pyi +1 -0
  217. bpy/ops/paint/__init__.pyi +1 -0
  218. bpy/ops/paintcurve/__init__.pyi +1 -0
  219. bpy/ops/palette/__init__.pyi +1 -0
  220. bpy/ops/particle/__init__.pyi +1 -0
  221. bpy/ops/pose/__init__.pyi +1 -0
  222. bpy/ops/poselib/__init__.pyi +1 -0
  223. bpy/ops/preferences/__init__.pyi +1 -0
  224. bpy/ops/ptcache/__init__.pyi +1 -0
  225. bpy/ops/render/__init__.pyi +1 -0
  226. bpy/ops/rigidbody/__init__.pyi +1 -0
  227. bpy/ops/scene/__init__.pyi +1 -0
  228. bpy/ops/screen/__init__.pyi +1 -0
  229. bpy/ops/script/__init__.pyi +1 -0
  230. bpy/ops/sculpt/__init__.pyi +1 -0
  231. bpy/ops/sculpt_curves/__init__.pyi +1 -0
  232. bpy/ops/sequencer/__init__.pyi +1 -0
  233. bpy/ops/sound/__init__.pyi +1 -0
  234. bpy/ops/spreadsheet/__init__.pyi +1 -0
  235. bpy/ops/surface/__init__.pyi +1 -0
  236. bpy/ops/text/__init__.pyi +1 -0
  237. bpy/ops/text_editor/__init__.pyi +1 -0
  238. bpy/ops/texture/__init__.pyi +1 -0
  239. bpy/ops/transform/__init__.pyi +17 -16
  240. bpy/ops/ui/__init__.pyi +1 -0
  241. bpy/ops/uilist/__init__.pyi +1 -0
  242. bpy/ops/uv/__init__.pyi +1 -0
  243. bpy/ops/view2d/__init__.pyi +1 -0
  244. bpy/ops/view3d/__init__.pyi +1 -0
  245. bpy/ops/wm/__init__.pyi +5 -4
  246. bpy/ops/workspace/__init__.pyi +1 -0
  247. bpy/ops/world/__init__.pyi +1 -0
  248. bpy/path/__init__.pyi +1 -0
  249. bpy/props/__init__.pyi +1 -0
  250. bpy/types/__init__.pyi +68824 -68756
  251. bpy/utils/__init__.pyi +1 -0
  252. bpy/utils/previews/__init__.pyi +1 -0
  253. bpy/utils/units/__init__.pyi +1 -0
  254. bpy_extras/__init__.pyi +1 -0
  255. bpy_extras/anim_utils/__init__.pyi +1 -0
  256. bpy_extras/asset_utils/__init__.pyi +1 -0
  257. bpy_extras/bmesh_utils/__init__.pyi +1 -0
  258. bpy_extras/id_map_utils/__init__.pyi +1 -0
  259. bpy_extras/image_utils/__init__.pyi +1 -0
  260. bpy_extras/io_utils/__init__.pyi +1 -0
  261. bpy_extras/keyconfig_utils/__init__.pyi +1 -0
  262. bpy_extras/mesh_utils/__init__.pyi +1 -0
  263. bpy_extras/node_shader_utils/__init__.pyi +1 -0
  264. bpy_extras/node_utils/__init__.pyi +1 -0
  265. bpy_extras/object_utils/__init__.pyi +1 -0
  266. bpy_extras/view3d_utils/__init__.pyi +1 -0
  267. bpy_extras/wm_utils/__init__.pyi +1 -0
  268. bpy_extras/wm_utils/progress_report/__init__.pyi +1 -0
  269. bpy_restrict_state/__init__.pyi +1 -0
  270. bpy_types/__init__.pyi +1 -0
  271. console_python/__init__.pyi +1 -0
  272. console_shell/__init__.pyi +1 -0
  273. {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/METADATA +1 -1
  274. fake_bpy_module-20240707.dist-info/RECORD +358 -0
  275. freestyle/__init__.pyi +1 -0
  276. freestyle/chainingiterators/__init__.pyi +1 -0
  277. freestyle/functions/__init__.pyi +1 -0
  278. freestyle/predicates/__init__.pyi +1 -0
  279. freestyle/shaders/__init__.pyi +1 -0
  280. freestyle/types/__init__.pyi +1 -0
  281. freestyle/utils/ContextFunctions/__init__.pyi +1 -0
  282. freestyle/utils/__init__.pyi +2 -1
  283. gpu/__init__.pyi +1 -0
  284. gpu/capabilities/__init__.pyi +1 -0
  285. gpu/matrix/__init__.pyi +1 -0
  286. gpu/platform/__init__.pyi +1 -0
  287. gpu/select/__init__.pyi +1 -0
  288. gpu/shader/__init__.pyi +1 -0
  289. gpu/state/__init__.pyi +1 -0
  290. gpu/texture/__init__.pyi +1 -0
  291. gpu/types/__init__.pyi +1 -0
  292. gpu_extras/__init__.pyi +1 -0
  293. gpu_extras/batch/__init__.pyi +1 -0
  294. gpu_extras/presets/__init__.pyi +1 -0
  295. graphviz_export/__init__.pyi +1 -0
  296. idprop/__init__.pyi +1 -0
  297. idprop/types/__init__.pyi +1 -0
  298. imbuf/__init__.pyi +1 -0
  299. imbuf/types/__init__.pyi +1 -0
  300. keyingsets_builtins/__init__.pyi +88 -87
  301. keyingsets_utils/__init__.pyi +1 -0
  302. mathutils/__init__.pyi +157 -6
  303. mathutils/bvhtree/__init__.pyi +1 -0
  304. mathutils/geometry/__init__.pyi +1 -0
  305. mathutils/interpolate/__init__.pyi +1 -0
  306. mathutils/kdtree/__init__.pyi +1 -0
  307. mathutils/noise/__init__.pyi +1 -0
  308. nodeitems_builtins/__init__.pyi +8 -7
  309. nodeitems_utils/__init__.pyi +1 -0
  310. rna_info/__init__.pyi +1 -0
  311. rna_keymap_ui/__init__.pyi +1 -0
  312. rna_prop_ui/__init__.pyi +1 -0
  313. rna_xml/__init__.pyi +1 -0
  314. sys_info/__init__.pyi +1 -0
  315. fake_bpy_module-20240705.dist-info/RECORD +0 -358
  316. {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/WHEEL +0 -0
  317. {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,6 @@
1
1
  import typing
2
2
  import collections.abc
3
+ import typing_extensions
3
4
  import bl_ui.properties_grease_pencil_common
4
5
  import bl_ui.utils
5
6
  import bpy.types
@@ -523,19 +524,22 @@ class GPMaterialButtonsPanel:
523
524
  """
524
525
  ...
525
526
 
526
- class MATERIAL_PT_gpencil_material_presets(
527
- bl_ui.utils.PresetPanel, bpy_types._GenericUI
527
+ class MATERIAL_PT_gpencil_custom_props(
528
+ GPMaterialButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
528
529
  ):
529
- """Material settings"""
530
+ """The subclass should have its own poll function
531
+ and the variable '_context_path' MUST be set.
532
+ """
530
533
 
534
+ COMPAT_ENGINES: typing.Any
535
+ bl_context: typing.Any
531
536
  bl_label: typing.Any
537
+ bl_options: typing.Any
538
+ bl_order: typing.Any
532
539
  bl_region_type: typing.Any
533
540
  bl_rna: typing.Any
534
541
  bl_space_type: typing.Any
535
542
  id_data: typing.Any
536
- preset_add_operator: typing.Any
537
- preset_operator: typing.Any
538
- preset_subdir: typing.Any
539
543
 
540
544
  def append(self, draw_func):
541
545
  """Append a draw function to this menu,
@@ -576,21 +580,6 @@ class MATERIAL_PT_gpencil_material_presets(
576
580
  """
577
581
  ...
578
582
 
579
- def draw_menu(self, layout, text=None):
580
- """
581
-
582
- :param layout:
583
- :param text:
584
- """
585
- ...
586
-
587
- def draw_panel_header(self, layout):
588
- """
589
-
590
- :param layout:
591
- """
592
- ...
593
-
594
583
  def driver_add(self) -> bpy.types.FCurve:
595
584
  """Adds driver(s) to the given property
596
585
 
@@ -709,42 +698,15 @@ class MATERIAL_PT_gpencil_material_presets(
709
698
  """
710
699
  ...
711
700
 
712
- def path_menu(
713
- self,
714
- searchpaths: list[str],
715
- operator: str,
716
- props_default: dict = None,
717
- prop_filepath: str | None = "filepath",
718
- filter_ext: collections.abc.Callable | None = None,
719
- filter_path=None,
720
- display_name: collections.abc.Callable | None = None,
721
- add_operator=None,
722
- add_operator_props=None,
723
- ):
724
- """Populate a menu from a list of paths.
725
-
726
- :param searchpaths: Paths to scan.
727
- :type searchpaths: list[str]
728
- :param operator: The operator id to use with each file.
729
- :type operator: str
730
- :param props_default: Properties to assign to each operator.
731
- :type props_default: dict
732
- :param prop_filepath: Optional operator filepath property (defaults to "filepath").
733
- :type prop_filepath: str | None
734
- :param filter_ext: Optional callback that takes the file extensions.
701
+ def path_resolve(self):
702
+ """Returns the property from the path, raise an exception when not found."""
703
+ ...
735
704
 
736
- Returning false excludes the file from the list.
737
- :type filter_ext: collections.abc.Callable | None
738
- :param filter_path:
739
- :param display_name: Optional callback that takes the full path, returns the name to display.
740
- :type display_name: collections.abc.Callable | None
741
- :param add_operator:
742
- :param add_operator_props:
705
+ def poll(self, context):
743
706
  """
744
- ...
745
707
 
746
- def path_resolve(self):
747
- """Returns the property from the path, raise an exception when not found."""
708
+ :param context:
709
+ """
748
710
  ...
749
711
 
750
712
  def pop(self):
@@ -797,13 +759,10 @@ class MATERIAL_PT_gpencil_material_presets(
797
759
  """
798
760
  ...
799
761
 
800
- class MATERIAL_PT_gpencil_slots(
801
- bl_ui.properties_grease_pencil_common.GreasePencilMaterialsPanel,
802
- bpy_types._GenericUI,
803
- ):
762
+ class MATERIAL_PT_gpencil_fillcolor(GPMaterialButtonsPanel, bpy_types._GenericUI):
804
763
  bl_context: typing.Any
805
764
  bl_label: typing.Any
806
- bl_options: typing.Any
765
+ bl_parent_id: typing.Any
807
766
  bl_region_type: typing.Any
808
767
  bl_rna: typing.Any
809
768
  bl_space_type: typing.Any
@@ -848,6 +807,13 @@ class MATERIAL_PT_gpencil_slots(
848
807
  """
849
808
  ...
850
809
 
810
+ def draw_header(self, context):
811
+ """
812
+
813
+ :param context:
814
+ """
815
+ ...
816
+
851
817
  def driver_add(self) -> bpy.types.FCurve:
852
818
  """Adds driver(s) to the given property
853
819
 
@@ -1027,22 +993,19 @@ class MATERIAL_PT_gpencil_slots(
1027
993
  """
1028
994
  ...
1029
995
 
1030
- class MATERIAL_PT_gpencil_custom_props(
1031
- GPMaterialButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
996
+ class MATERIAL_PT_gpencil_material_presets(
997
+ bl_ui.utils.PresetPanel, bpy_types._GenericUI
1032
998
  ):
1033
- """The subclass should have its own poll function
1034
- and the variable '_context_path' MUST be set.
1035
- """
999
+ """Material settings"""
1036
1000
 
1037
- COMPAT_ENGINES: typing.Any
1038
- bl_context: typing.Any
1039
1001
  bl_label: typing.Any
1040
- bl_options: typing.Any
1041
- bl_order: typing.Any
1042
1002
  bl_region_type: typing.Any
1043
1003
  bl_rna: typing.Any
1044
1004
  bl_space_type: typing.Any
1045
1005
  id_data: typing.Any
1006
+ preset_add_operator: typing.Any
1007
+ preset_operator: typing.Any
1008
+ preset_subdir: typing.Any
1046
1009
 
1047
1010
  def append(self, draw_func):
1048
1011
  """Append a draw function to this menu,
@@ -1083,6 +1046,21 @@ class MATERIAL_PT_gpencil_custom_props(
1083
1046
  """
1084
1047
  ...
1085
1048
 
1049
+ def draw_menu(self, layout, text=None):
1050
+ """
1051
+
1052
+ :param layout:
1053
+ :param text:
1054
+ """
1055
+ ...
1056
+
1057
+ def draw_panel_header(self, layout):
1058
+ """
1059
+
1060
+ :param layout:
1061
+ """
1062
+ ...
1063
+
1086
1064
  def driver_add(self) -> bpy.types.FCurve:
1087
1065
  """Adds driver(s) to the given property
1088
1066
 
@@ -1201,17 +1179,44 @@ class MATERIAL_PT_gpencil_custom_props(
1201
1179
  """
1202
1180
  ...
1203
1181
 
1204
- def path_resolve(self):
1205
- """Returns the property from the path, raise an exception when not found."""
1206
- ...
1182
+ def path_menu(
1183
+ self,
1184
+ searchpaths: list[str],
1185
+ operator: str,
1186
+ props_default: dict = None,
1187
+ prop_filepath: str | None = "filepath",
1188
+ filter_ext: collections.abc.Callable | None = None,
1189
+ filter_path=None,
1190
+ display_name: collections.abc.Callable | None = None,
1191
+ add_operator=None,
1192
+ add_operator_props=None,
1193
+ ):
1194
+ """Populate a menu from a list of paths.
1207
1195
 
1208
- def poll(self, context):
1209
- """
1196
+ :param searchpaths: Paths to scan.
1197
+ :type searchpaths: list[str]
1198
+ :param operator: The operator id to use with each file.
1199
+ :type operator: str
1200
+ :param props_default: Properties to assign to each operator.
1201
+ :type props_default: dict
1202
+ :param prop_filepath: Optional operator filepath property (defaults to "filepath").
1203
+ :type prop_filepath: str | None
1204
+ :param filter_ext: Optional callback that takes the file extensions.
1210
1205
 
1211
- :param context:
1206
+ Returning false excludes the file from the list.
1207
+ :type filter_ext: collections.abc.Callable | None
1208
+ :param filter_path:
1209
+ :param display_name: Optional callback that takes the full path, returns the name to display.
1210
+ :type display_name: collections.abc.Callable | None
1211
+ :param add_operator:
1212
+ :param add_operator_props:
1212
1213
  """
1213
1214
  ...
1214
1215
 
1216
+ def path_resolve(self):
1217
+ """Returns the property from the path, raise an exception when not found."""
1218
+ ...
1219
+
1215
1220
  def pop(self):
1216
1221
  """Remove and return the value of the custom property assigned to key or default
1217
1222
  when not found (matches Python's dictionary function of the same name).
@@ -1262,10 +1267,11 @@ class MATERIAL_PT_gpencil_custom_props(
1262
1267
  """
1263
1268
  ...
1264
1269
 
1265
- class MATERIAL_PT_gpencil_fillcolor(GPMaterialButtonsPanel, bpy_types._GenericUI):
1270
+ class MATERIAL_PT_gpencil_preview(GPMaterialButtonsPanel, bpy_types._GenericUI):
1271
+ COMPAT_ENGINES: typing.Any
1266
1272
  bl_context: typing.Any
1267
1273
  bl_label: typing.Any
1268
- bl_parent_id: typing.Any
1274
+ bl_options: typing.Any
1269
1275
  bl_region_type: typing.Any
1270
1276
  bl_rna: typing.Any
1271
1277
  bl_space_type: typing.Any
@@ -1310,13 +1316,6 @@ class MATERIAL_PT_gpencil_fillcolor(GPMaterialButtonsPanel, bpy_types._GenericUI
1310
1316
  """
1311
1317
  ...
1312
1318
 
1313
- def draw_header(self, context):
1314
- """
1315
-
1316
- :param context:
1317
- """
1318
- ...
1319
-
1320
1319
  def driver_add(self) -> bpy.types.FCurve:
1321
1320
  """Adds driver(s) to the given property
1322
1321
 
@@ -1496,8 +1495,7 @@ class MATERIAL_PT_gpencil_fillcolor(GPMaterialButtonsPanel, bpy_types._GenericUI
1496
1495
  """
1497
1496
  ...
1498
1497
 
1499
- class MATERIAL_PT_gpencil_preview(GPMaterialButtonsPanel, bpy_types._GenericUI):
1500
- COMPAT_ENGINES: typing.Any
1498
+ class MATERIAL_PT_gpencil_settings(GPMaterialButtonsPanel, bpy_types._GenericUI):
1501
1499
  bl_context: typing.Any
1502
1500
  bl_label: typing.Any
1503
1501
  bl_options: typing.Any
@@ -1724,7 +1722,10 @@ class MATERIAL_PT_gpencil_preview(GPMaterialButtonsPanel, bpy_types._GenericUI):
1724
1722
  """
1725
1723
  ...
1726
1724
 
1727
- class MATERIAL_PT_gpencil_settings(GPMaterialButtonsPanel, bpy_types._GenericUI):
1725
+ class MATERIAL_PT_gpencil_slots(
1726
+ bl_ui.properties_grease_pencil_common.GreasePencilMaterialsPanel,
1727
+ bpy_types._GenericUI,
1728
+ ):
1728
1729
  bl_context: typing.Any
1729
1730
  bl_label: typing.Any
1730
1731
  bl_options: typing.Any
@@ -1,5 +1,6 @@
1
1
  import typing
2
2
  import collections.abc
3
+ import typing_extensions
3
4
  import bl_ui.properties_animviz
4
5
  import bpy.types
5
6
  import bpy_types
@@ -278,14 +279,7 @@ class COLLECTION_MT_context_menu(bpy_types._GenericUI):
278
279
  """
279
280
  ...
280
281
 
281
- class ObjectButtonsPanel:
282
- bl_context: typing.Any
283
- bl_region_type: typing.Any
284
- bl_space_type: typing.Any
285
-
286
- class OBJECT_PT_motion_paths(
287
- bl_ui.properties_animviz.MotionPathButtonsPanel, bpy_types._GenericUI
288
- ):
282
+ class OBJECT_PT_collections(ObjectButtonsPanel, bpy_types._GenericUI):
289
283
  bl_context: typing.Any
290
284
  bl_label: typing.Any
291
285
  bl_options: typing.Any
@@ -333,16 +327,6 @@ class OBJECT_PT_motion_paths(
333
327
  """
334
328
  ...
335
329
 
336
- def draw_settings(self, _context, avs, mpath, bones=False):
337
- """
338
-
339
- :param _context:
340
- :param avs:
341
- :param mpath:
342
- :param bones:
343
- """
344
- ...
345
-
346
330
  def driver_add(self) -> bpy.types.FCurve:
347
331
  """Adds driver(s) to the given property
348
332
 
@@ -465,13 +449,6 @@ class OBJECT_PT_motion_paths(
465
449
  """Returns the property from the path, raise an exception when not found."""
466
450
  ...
467
451
 
468
- def poll(self, context):
469
- """
470
-
471
- :param context:
472
- """
473
- ...
474
-
475
452
  def pop(self):
476
453
  """Remove and return the value of the custom property assigned to key or default
477
454
  when not found (matches Python's dictionary function of the same name).
@@ -522,13 +499,10 @@ class OBJECT_PT_motion_paths(
522
499
  """
523
500
  ...
524
501
 
525
- class OBJECT_PT_motion_paths_display(
526
- bl_ui.properties_animviz.MotionPathButtonsPanel_display, bpy_types._GenericUI
527
- ):
502
+ class OBJECT_PT_context_object(ObjectButtonsPanel, bpy_types._GenericUI):
528
503
  bl_context: typing.Any
529
504
  bl_label: typing.Any
530
505
  bl_options: typing.Any
531
- bl_parent_id: typing.Any
532
506
  bl_region_type: typing.Any
533
507
  bl_rna: typing.Any
534
508
  bl_space_type: typing.Any
@@ -573,16 +547,6 @@ class OBJECT_PT_motion_paths_display(
573
547
  """
574
548
  ...
575
549
 
576
- def draw_settings(self, _context, avs, mpath, bones=False):
577
- """
578
-
579
- :param _context:
580
- :param avs:
581
- :param mpath:
582
- :param bones:
583
- """
584
- ...
585
-
586
550
  def driver_add(self) -> bpy.types.FCurve:
587
551
  """Adds driver(s) to the given property
588
552
 
@@ -705,13 +669,6 @@ class OBJECT_PT_motion_paths_display(
705
669
  """Returns the property from the path, raise an exception when not found."""
706
670
  ...
707
671
 
708
- def poll(self, context):
709
- """
710
-
711
- :param context:
712
- """
713
- ...
714
-
715
672
  def pop(self):
716
673
  """Remove and return the value of the custom property assigned to key or default
717
674
  when not found (matches Python's dictionary function of the same name).
@@ -762,10 +719,18 @@ class OBJECT_PT_motion_paths_display(
762
719
  """
763
720
  ...
764
721
 
765
- class OBJECT_PT_collections(ObjectButtonsPanel, bpy_types._GenericUI):
722
+ class OBJECT_PT_custom_props(
723
+ ObjectButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
724
+ ):
725
+ """The subclass should have its own poll function
726
+ and the variable '_context_path' MUST be set.
727
+ """
728
+
729
+ COMPAT_ENGINES: typing.Any
766
730
  bl_context: typing.Any
767
731
  bl_label: typing.Any
768
732
  bl_options: typing.Any
733
+ bl_order: typing.Any
769
734
  bl_region_type: typing.Any
770
735
  bl_rna: typing.Any
771
736
  bl_space_type: typing.Any
@@ -932,6 +897,13 @@ class OBJECT_PT_collections(ObjectButtonsPanel, bpy_types._GenericUI):
932
897
  """Returns the property from the path, raise an exception when not found."""
933
898
  ...
934
899
 
900
+ def poll(self, context):
901
+ """
902
+
903
+ :param context:
904
+ """
905
+ ...
906
+
935
907
  def pop(self):
936
908
  """Remove and return the value of the custom property assigned to key or default
937
909
  when not found (matches Python's dictionary function of the same name).
@@ -982,10 +954,11 @@ class OBJECT_PT_collections(ObjectButtonsPanel, bpy_types._GenericUI):
982
954
  """
983
955
  ...
984
956
 
985
- class OBJECT_PT_context_object(ObjectButtonsPanel, bpy_types._GenericUI):
957
+ class OBJECT_PT_delta_transform(ObjectButtonsPanel, bpy_types._GenericUI):
986
958
  bl_context: typing.Any
987
959
  bl_label: typing.Any
988
960
  bl_options: typing.Any
961
+ bl_parent_id: typing.Any
989
962
  bl_region_type: typing.Any
990
963
  bl_rna: typing.Any
991
964
  bl_space_type: typing.Any
@@ -1202,14 +1175,7 @@ class OBJECT_PT_context_object(ObjectButtonsPanel, bpy_types._GenericUI):
1202
1175
  """
1203
1176
  ...
1204
1177
 
1205
- class OBJECT_PT_custom_props(
1206
- ObjectButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
1207
- ):
1208
- """The subclass should have its own poll function
1209
- and the variable '_context_path' MUST be set.
1210
- """
1211
-
1212
- COMPAT_ENGINES: typing.Any
1178
+ class OBJECT_PT_display(ObjectButtonsPanel, bpy_types._GenericUI):
1213
1179
  bl_context: typing.Any
1214
1180
  bl_label: typing.Any
1215
1181
  bl_options: typing.Any
@@ -1380,13 +1346,6 @@ class OBJECT_PT_custom_props(
1380
1346
  """Returns the property from the path, raise an exception when not found."""
1381
1347
  ...
1382
1348
 
1383
- def poll(self, context):
1384
- """
1385
-
1386
- :param context:
1387
- """
1388
- ...
1389
-
1390
1349
  def pop(self):
1391
1350
  """Remove and return the value of the custom property assigned to key or default
1392
1351
  when not found (matches Python's dictionary function of the same name).
@@ -1437,11 +1396,10 @@ class OBJECT_PT_custom_props(
1437
1396
  """
1438
1397
  ...
1439
1398
 
1440
- class OBJECT_PT_delta_transform(ObjectButtonsPanel, bpy_types._GenericUI):
1399
+ class OBJECT_PT_instancing(ObjectButtonsPanel, bpy_types._GenericUI):
1441
1400
  bl_context: typing.Any
1442
1401
  bl_label: typing.Any
1443
1402
  bl_options: typing.Any
1444
- bl_parent_id: typing.Any
1445
1403
  bl_region_type: typing.Any
1446
1404
  bl_rna: typing.Any
1447
1405
  bl_space_type: typing.Any
@@ -1608,6 +1566,13 @@ class OBJECT_PT_delta_transform(ObjectButtonsPanel, bpy_types._GenericUI):
1608
1566
  """Returns the property from the path, raise an exception when not found."""
1609
1567
  ...
1610
1568
 
1569
+ def poll(self, context):
1570
+ """
1571
+
1572
+ :param context:
1573
+ """
1574
+ ...
1575
+
1611
1576
  def pop(self):
1612
1577
  """Remove and return the value of the custom property assigned to key or default
1613
1578
  when not found (matches Python's dictionary function of the same name).
@@ -1658,11 +1623,10 @@ class OBJECT_PT_delta_transform(ObjectButtonsPanel, bpy_types._GenericUI):
1658
1623
  """
1659
1624
  ...
1660
1625
 
1661
- class OBJECT_PT_display(ObjectButtonsPanel, bpy_types._GenericUI):
1626
+ class OBJECT_PT_instancing_size(ObjectButtonsPanel, bpy_types._GenericUI):
1662
1627
  bl_context: typing.Any
1663
1628
  bl_label: typing.Any
1664
- bl_options: typing.Any
1665
- bl_order: typing.Any
1629
+ bl_parent_id: typing.Any
1666
1630
  bl_region_type: typing.Any
1667
1631
  bl_rna: typing.Any
1668
1632
  bl_space_type: typing.Any
@@ -1707,6 +1671,13 @@ class OBJECT_PT_display(ObjectButtonsPanel, bpy_types._GenericUI):
1707
1671
  """
1708
1672
  ...
1709
1673
 
1674
+ def draw_header(self, context):
1675
+ """
1676
+
1677
+ :param context:
1678
+ """
1679
+ ...
1680
+
1710
1681
  def driver_add(self) -> bpy.types.FCurve:
1711
1682
  """Adds driver(s) to the given property
1712
1683
 
@@ -1829,6 +1800,13 @@ class OBJECT_PT_display(ObjectButtonsPanel, bpy_types._GenericUI):
1829
1800
  """Returns the property from the path, raise an exception when not found."""
1830
1801
  ...
1831
1802
 
1803
+ def poll(self, context):
1804
+ """
1805
+
1806
+ :param context:
1807
+ """
1808
+ ...
1809
+
1832
1810
  def pop(self):
1833
1811
  """Remove and return the value of the custom property assigned to key or default
1834
1812
  when not found (matches Python's dictionary function of the same name).
@@ -1879,10 +1857,11 @@ class OBJECT_PT_display(ObjectButtonsPanel, bpy_types._GenericUI):
1879
1857
  """
1880
1858
  ...
1881
1859
 
1882
- class OBJECT_PT_instancing(ObjectButtonsPanel, bpy_types._GenericUI):
1860
+ class OBJECT_PT_lineart(ObjectButtonsPanel, bpy_types._GenericUI):
1883
1861
  bl_context: typing.Any
1884
1862
  bl_label: typing.Any
1885
1863
  bl_options: typing.Any
1864
+ bl_order: typing.Any
1886
1865
  bl_region_type: typing.Any
1887
1866
  bl_rna: typing.Any
1888
1867
  bl_space_type: typing.Any
@@ -2106,10 +2085,12 @@ class OBJECT_PT_instancing(ObjectButtonsPanel, bpy_types._GenericUI):
2106
2085
  """
2107
2086
  ...
2108
2087
 
2109
- class OBJECT_PT_instancing_size(ObjectButtonsPanel, bpy_types._GenericUI):
2088
+ class OBJECT_PT_motion_paths(
2089
+ bl_ui.properties_animviz.MotionPathButtonsPanel, bpy_types._GenericUI
2090
+ ):
2110
2091
  bl_context: typing.Any
2111
2092
  bl_label: typing.Any
2112
- bl_parent_id: typing.Any
2093
+ bl_options: typing.Any
2113
2094
  bl_region_type: typing.Any
2114
2095
  bl_rna: typing.Any
2115
2096
  bl_space_type: typing.Any
@@ -2154,10 +2135,13 @@ class OBJECT_PT_instancing_size(ObjectButtonsPanel, bpy_types._GenericUI):
2154
2135
  """
2155
2136
  ...
2156
2137
 
2157
- def draw_header(self, context):
2138
+ def draw_settings(self, _context, avs, mpath, bones=False):
2158
2139
  """
2159
2140
 
2160
- :param context:
2141
+ :param _context:
2142
+ :param avs:
2143
+ :param mpath:
2144
+ :param bones:
2161
2145
  """
2162
2146
  ...
2163
2147
 
@@ -2340,11 +2324,13 @@ class OBJECT_PT_instancing_size(ObjectButtonsPanel, bpy_types._GenericUI):
2340
2324
  """
2341
2325
  ...
2342
2326
 
2343
- class OBJECT_PT_lineart(ObjectButtonsPanel, bpy_types._GenericUI):
2327
+ class OBJECT_PT_motion_paths_display(
2328
+ bl_ui.properties_animviz.MotionPathButtonsPanel_display, bpy_types._GenericUI
2329
+ ):
2344
2330
  bl_context: typing.Any
2345
2331
  bl_label: typing.Any
2346
2332
  bl_options: typing.Any
2347
- bl_order: typing.Any
2333
+ bl_parent_id: typing.Any
2348
2334
  bl_region_type: typing.Any
2349
2335
  bl_rna: typing.Any
2350
2336
  bl_space_type: typing.Any
@@ -2389,6 +2375,16 @@ class OBJECT_PT_lineart(ObjectButtonsPanel, bpy_types._GenericUI):
2389
2375
  """
2390
2376
  ...
2391
2377
 
2378
+ def draw_settings(self, _context, avs, mpath, bones=False):
2379
+ """
2380
+
2381
+ :param _context:
2382
+ :param avs:
2383
+ :param mpath:
2384
+ :param bones:
2385
+ """
2386
+ ...
2387
+
2392
2388
  def driver_add(self) -> bpy.types.FCurve:
2393
2389
  """Adds driver(s) to the given property
2394
2390
 
@@ -3234,3 +3230,8 @@ class OBJECT_PT_visibility(ObjectButtonsPanel, bpy_types._GenericUI):
3234
3230
  :return: custom property values.
3235
3231
  """
3236
3232
  ...
3233
+
3234
+ class ObjectButtonsPanel:
3235
+ bl_context: typing.Any
3236
+ bl_region_type: typing.Any
3237
+ bl_space_type: typing.Any