fake-bpy-module 20240706__py3-none-any.whl → 20240708__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.
- bl_operators/assets/__init__.pyi +8 -8
- bl_operators/image_as_planes/__init__.pyi +43 -43
- bl_operators/node/__init__.pyi +234 -234
- bl_operators/object_quick_effects/__init__.pyi +21 -21
- bl_operators/presets/__init__.pyi +388 -388
- bl_ui/properties_collection/__init__.pyi +12 -12
- bl_ui/properties_constraint/__init__.pyi +954 -954
- bl_ui/properties_data_armature/__init__.pyi +85 -85
- bl_ui/properties_data_bone/__init__.pyi +12 -12
- bl_ui/properties_data_curve/__init__.pyi +92 -92
- bl_ui/properties_data_curves/__init__.pyi +12 -12
- bl_ui/properties_data_empty/__init__.pyi +12 -12
- bl_ui/properties_data_gpencil/__init__.pyi +265 -265
- bl_ui/properties_data_grease_pencil/__init__.pyi +312 -312
- bl_ui/properties_data_lattice/__init__.pyi +12 -12
- bl_ui/properties_data_light/__init__.pyi +12 -12
- bl_ui/properties_data_lightprobe/__init__.pyi +12 -12
- bl_ui/properties_data_mesh/__init__.pyi +527 -527
- bl_ui/properties_data_metaball/__init__.pyi +12 -12
- bl_ui/properties_data_modifier/__init__.pyi +19 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +140 -140
- bl_ui/properties_data_shaderfx/__init__.pyi +5 -5
- bl_ui/properties_data_speaker/__init__.pyi +12 -12
- bl_ui/properties_data_volume/__init__.pyi +65 -65
- bl_ui/properties_freestyle/__init__.pyi +248 -248
- bl_ui/properties_material/__init__.pyi +145 -145
- bl_ui/properties_material_gpencil/__init__.pyi +86 -86
- bl_ui/properties_object/__init__.pyi +75 -75
- bl_ui/properties_output/__init__.pyi +201 -201
- bl_ui/properties_particle/__init__.pyi +220 -220
- bl_ui/properties_physics_cloth/__init__.pyi +12 -12
- bl_ui/properties_physics_common/__init__.pyi +12 -12
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +187 -187
- bl_ui/properties_physics_field/__init__.pyi +19 -19
- bl_ui/properties_physics_fluid/__init__.pyi +61 -61
- bl_ui/properties_physics_rigidbody/__init__.pyi +5 -5
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +5 -5
- bl_ui/properties_physics_softbody/__init__.pyi +12 -12
- bl_ui/properties_render/__init__.pyi +217 -217
- bl_ui/properties_scene/__init__.pyi +143 -143
- bl_ui/properties_texture/__init__.pyi +156 -156
- bl_ui/properties_view_layer/__init__.pyi +78 -78
- bl_ui/properties_workspace/__init__.pyi +64 -64
- bl_ui/properties_world/__init__.pyi +12 -12
- bl_ui/space_clip/__init__.pyi +366 -366
- bl_ui/space_dopesheet/__init__.pyi +176 -176
- bl_ui/space_filebrowser/__init__.pyi +735 -735
- bl_ui/space_image/__init__.pyi +646 -646
- bl_ui/space_sequencer/__init__.pyi +841 -389
- bl_ui/space_time/__init__.pyi +11 -11
- bl_ui/space_userpref/__init__.pyi +684 -684
- bl_ui/space_view3d/__init__.pyi +1152 -1152
- bl_ui/space_view3d_toolbar/__init__.pyi +2831 -2831
- bmesh/types/__init__.pyi +48 -0
- bpy/types/__init__.pyi +70624 -70606
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/METADATA +4 -4
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/RECORD +63 -63
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +87 -87
- mathutils/__init__.pyi +156 -50
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/top_level.txt +0 -0
|
@@ -9,45 +9,13 @@ import rna_prop_ui
|
|
|
9
9
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
10
10
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
11
11
|
|
|
12
|
-
class DataButtonsPanel:
|
|
13
|
-
bl_context: typing.Any
|
|
14
|
-
bl_region_type: typing.Any
|
|
15
|
-
bl_space_type: typing.Any
|
|
16
|
-
|
|
17
|
-
def poll(self, context):
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
:param context:
|
|
21
|
-
"""
|
|
22
|
-
...
|
|
23
|
-
|
|
24
|
-
class LayerDataButtonsPanel:
|
|
25
|
-
bl_context: typing.Any
|
|
26
|
-
bl_region_type: typing.Any
|
|
27
|
-
bl_space_type: typing.Any
|
|
28
|
-
|
|
29
|
-
def poll(self, context):
|
|
30
|
-
"""
|
|
31
|
-
|
|
32
|
-
:param context:
|
|
33
|
-
"""
|
|
34
|
-
...
|
|
35
|
-
|
|
36
|
-
class ObjectButtonsPanel:
|
|
12
|
+
class DATA_PT_context_gpencil(DataButtonsPanel, bpy_types._GenericUI):
|
|
37
13
|
bl_context: typing.Any
|
|
38
|
-
bl_region_type: typing.Any
|
|
39
|
-
bl_space_type: typing.Any
|
|
40
|
-
|
|
41
|
-
def poll(self, context):
|
|
42
|
-
"""
|
|
43
|
-
|
|
44
|
-
:param context:
|
|
45
|
-
"""
|
|
46
|
-
...
|
|
47
|
-
|
|
48
|
-
class GPENCIL_MT_gpencil_vertex_group(bpy_types._GenericUI):
|
|
49
14
|
bl_label: typing.Any
|
|
15
|
+
bl_options: typing.Any
|
|
16
|
+
bl_region_type: typing.Any
|
|
50
17
|
bl_rna: typing.Any
|
|
18
|
+
bl_space_type: typing.Any
|
|
51
19
|
id_data: typing.Any
|
|
52
20
|
|
|
53
21
|
def append(self, draw_func):
|
|
@@ -89,26 +57,6 @@ class GPENCIL_MT_gpencil_vertex_group(bpy_types._GenericUI):
|
|
|
89
57
|
"""
|
|
90
58
|
...
|
|
91
59
|
|
|
92
|
-
def draw_collapsible(self, context, layout):
|
|
93
|
-
"""
|
|
94
|
-
|
|
95
|
-
:param context:
|
|
96
|
-
:param layout:
|
|
97
|
-
"""
|
|
98
|
-
...
|
|
99
|
-
|
|
100
|
-
def draw_preset(self, _context):
|
|
101
|
-
"""Define these on the subclass:
|
|
102
|
-
- preset_operator (string)
|
|
103
|
-
- preset_subdir (string)Optionally:
|
|
104
|
-
- preset_add_operator (string)
|
|
105
|
-
- preset_extensions (set of strings)
|
|
106
|
-
- preset_operator_defaults (dict of keyword args)
|
|
107
|
-
|
|
108
|
-
:param _context:
|
|
109
|
-
"""
|
|
110
|
-
...
|
|
111
|
-
|
|
112
60
|
def driver_add(self) -> bpy.types.FCurve:
|
|
113
61
|
"""Adds driver(s) to the given property
|
|
114
62
|
|
|
@@ -227,42 +175,15 @@ class GPENCIL_MT_gpencil_vertex_group(bpy_types._GenericUI):
|
|
|
227
175
|
"""
|
|
228
176
|
...
|
|
229
177
|
|
|
230
|
-
def
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
operator: str,
|
|
234
|
-
props_default: dict = None,
|
|
235
|
-
prop_filepath: str | None = "filepath",
|
|
236
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
237
|
-
filter_path=None,
|
|
238
|
-
display_name: collections.abc.Callable | None = None,
|
|
239
|
-
add_operator=None,
|
|
240
|
-
add_operator_props=None,
|
|
241
|
-
):
|
|
242
|
-
"""Populate a menu from a list of paths.
|
|
243
|
-
|
|
244
|
-
:param searchpaths: Paths to scan.
|
|
245
|
-
:type searchpaths: list[str]
|
|
246
|
-
:param operator: The operator id to use with each file.
|
|
247
|
-
:type operator: str
|
|
248
|
-
:param props_default: Properties to assign to each operator.
|
|
249
|
-
:type props_default: dict
|
|
250
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
251
|
-
:type prop_filepath: str | None
|
|
252
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
178
|
+
def path_resolve(self):
|
|
179
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
180
|
+
...
|
|
253
181
|
|
|
254
|
-
|
|
255
|
-
:type filter_ext: collections.abc.Callable | None
|
|
256
|
-
:param filter_path:
|
|
257
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
258
|
-
:type display_name: collections.abc.Callable | None
|
|
259
|
-
:param add_operator:
|
|
260
|
-
:param add_operator_props:
|
|
182
|
+
def poll(self, context):
|
|
261
183
|
"""
|
|
262
|
-
...
|
|
263
184
|
|
|
264
|
-
|
|
265
|
-
"""
|
|
185
|
+
:param context:
|
|
186
|
+
"""
|
|
266
187
|
...
|
|
267
188
|
|
|
268
189
|
def pop(self):
|
|
@@ -315,9 +236,20 @@ class GPENCIL_MT_gpencil_vertex_group(bpy_types._GenericUI):
|
|
|
315
236
|
"""
|
|
316
237
|
...
|
|
317
238
|
|
|
318
|
-
class
|
|
239
|
+
class DATA_PT_custom_props_gpencil(
|
|
240
|
+
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
241
|
+
):
|
|
242
|
+
"""The subclass should have its own poll function
|
|
243
|
+
and the variable '_context_path' MUST be set.
|
|
244
|
+
"""
|
|
245
|
+
|
|
246
|
+
bl_context: typing.Any
|
|
319
247
|
bl_label: typing.Any
|
|
248
|
+
bl_options: typing.Any
|
|
249
|
+
bl_order: typing.Any
|
|
250
|
+
bl_region_type: typing.Any
|
|
320
251
|
bl_rna: typing.Any
|
|
252
|
+
bl_space_type: typing.Any
|
|
321
253
|
id_data: typing.Any
|
|
322
254
|
|
|
323
255
|
def append(self, draw_func):
|
|
@@ -359,26 +291,6 @@ class GPENCIL_MT_layer_context_menu(bpy_types._GenericUI):
|
|
|
359
291
|
"""
|
|
360
292
|
...
|
|
361
293
|
|
|
362
|
-
def draw_collapsible(self, context, layout):
|
|
363
|
-
"""
|
|
364
|
-
|
|
365
|
-
:param context:
|
|
366
|
-
:param layout:
|
|
367
|
-
"""
|
|
368
|
-
...
|
|
369
|
-
|
|
370
|
-
def draw_preset(self, _context):
|
|
371
|
-
"""Define these on the subclass:
|
|
372
|
-
- preset_operator (string)
|
|
373
|
-
- preset_subdir (string)Optionally:
|
|
374
|
-
- preset_add_operator (string)
|
|
375
|
-
- preset_extensions (set of strings)
|
|
376
|
-
- preset_operator_defaults (dict of keyword args)
|
|
377
|
-
|
|
378
|
-
:param _context:
|
|
379
|
-
"""
|
|
380
|
-
...
|
|
381
|
-
|
|
382
294
|
def driver_add(self) -> bpy.types.FCurve:
|
|
383
295
|
"""Adds driver(s) to the given property
|
|
384
296
|
|
|
@@ -497,42 +409,15 @@ class GPENCIL_MT_layer_context_menu(bpy_types._GenericUI):
|
|
|
497
409
|
"""
|
|
498
410
|
...
|
|
499
411
|
|
|
500
|
-
def
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
operator: str,
|
|
504
|
-
props_default: dict = None,
|
|
505
|
-
prop_filepath: str | None = "filepath",
|
|
506
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
507
|
-
filter_path=None,
|
|
508
|
-
display_name: collections.abc.Callable | None = None,
|
|
509
|
-
add_operator=None,
|
|
510
|
-
add_operator_props=None,
|
|
511
|
-
):
|
|
512
|
-
"""Populate a menu from a list of paths.
|
|
513
|
-
|
|
514
|
-
:param searchpaths: Paths to scan.
|
|
515
|
-
:type searchpaths: list[str]
|
|
516
|
-
:param operator: The operator id to use with each file.
|
|
517
|
-
:type operator: str
|
|
518
|
-
:param props_default: Properties to assign to each operator.
|
|
519
|
-
:type props_default: dict
|
|
520
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
521
|
-
:type prop_filepath: str | None
|
|
522
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
412
|
+
def path_resolve(self):
|
|
413
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
414
|
+
...
|
|
523
415
|
|
|
524
|
-
|
|
525
|
-
:type filter_ext: collections.abc.Callable | None
|
|
526
|
-
:param filter_path:
|
|
527
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
528
|
-
:type display_name: collections.abc.Callable | None
|
|
529
|
-
:param add_operator:
|
|
530
|
-
:param add_operator_props:
|
|
416
|
+
def poll(self, context):
|
|
531
417
|
"""
|
|
532
|
-
...
|
|
533
418
|
|
|
534
|
-
|
|
535
|
-
"""
|
|
419
|
+
:param context:
|
|
420
|
+
"""
|
|
536
421
|
...
|
|
537
422
|
|
|
538
423
|
def pop(self):
|
|
@@ -585,8 +470,14 @@ class GPENCIL_MT_layer_context_menu(bpy_types._GenericUI):
|
|
|
585
470
|
"""
|
|
586
471
|
...
|
|
587
472
|
|
|
588
|
-
class
|
|
473
|
+
class DATA_PT_gpencil_canvas(DataButtonsPanel, bpy_types._GenericUI):
|
|
474
|
+
bl_context: typing.Any
|
|
475
|
+
bl_label: typing.Any
|
|
476
|
+
bl_options: typing.Any
|
|
477
|
+
bl_parent_id: typing.Any
|
|
478
|
+
bl_region_type: typing.Any
|
|
589
479
|
bl_rna: typing.Any
|
|
480
|
+
bl_space_type: typing.Any
|
|
590
481
|
id_data: typing.Any
|
|
591
482
|
|
|
592
483
|
def append(self, draw_func):
|
|
@@ -621,27 +512,10 @@ class GPENCIL_UL_vgroups(bpy_types._GenericUI):
|
|
|
621
512
|
"""
|
|
622
513
|
...
|
|
623
514
|
|
|
624
|
-
def
|
|
625
|
-
self,
|
|
626
|
-
_context,
|
|
627
|
-
layout,
|
|
628
|
-
_data,
|
|
629
|
-
item,
|
|
630
|
-
icon,
|
|
631
|
-
_active_data,
|
|
632
|
-
_active_propname,
|
|
633
|
-
_index,
|
|
634
|
-
):
|
|
515
|
+
def draw(self, context):
|
|
635
516
|
"""
|
|
636
517
|
|
|
637
|
-
:param
|
|
638
|
-
:param layout:
|
|
639
|
-
:param _data:
|
|
640
|
-
:param item:
|
|
641
|
-
:param icon:
|
|
642
|
-
:param _active_data:
|
|
643
|
-
:param _active_propname:
|
|
644
|
-
:param _index:
|
|
518
|
+
:param context:
|
|
645
519
|
"""
|
|
646
520
|
...
|
|
647
521
|
|
|
@@ -767,6 +641,13 @@ class GPENCIL_UL_vgroups(bpy_types._GenericUI):
|
|
|
767
641
|
"""Returns the property from the path, raise an exception when not found."""
|
|
768
642
|
...
|
|
769
643
|
|
|
644
|
+
def poll(self, context):
|
|
645
|
+
"""
|
|
646
|
+
|
|
647
|
+
:param context:
|
|
648
|
+
"""
|
|
649
|
+
...
|
|
650
|
+
|
|
770
651
|
def pop(self):
|
|
771
652
|
"""Remove and return the value of the custom property assigned to key or default
|
|
772
653
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -817,7 +698,7 @@ class GPENCIL_UL_vgroups(bpy_types._GenericUI):
|
|
|
817
698
|
"""
|
|
818
699
|
...
|
|
819
700
|
|
|
820
|
-
class
|
|
701
|
+
class DATA_PT_gpencil_display(DataButtonsPanel, bpy_types._GenericUI):
|
|
821
702
|
bl_context: typing.Any
|
|
822
703
|
bl_label: typing.Any
|
|
823
704
|
bl_options: typing.Any
|
|
@@ -1044,17 +925,15 @@ class DATA_PT_context_gpencil(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1044
925
|
"""
|
|
1045
926
|
...
|
|
1046
927
|
|
|
1047
|
-
class
|
|
1048
|
-
|
|
928
|
+
class DATA_PT_gpencil_layer_adjustments(
|
|
929
|
+
LayerDataButtonsPanel,
|
|
930
|
+
bl_ui.properties_grease_pencil_common.GreasePencilLayerAdjustmentsPanel,
|
|
931
|
+
bpy_types._GenericUI,
|
|
1049
932
|
):
|
|
1050
|
-
"""The subclass should have its own poll function
|
|
1051
|
-
and the variable '_context_path' MUST be set.
|
|
1052
|
-
"""
|
|
1053
|
-
|
|
1054
933
|
bl_context: typing.Any
|
|
1055
934
|
bl_label: typing.Any
|
|
1056
935
|
bl_options: typing.Any
|
|
1057
|
-
|
|
936
|
+
bl_parent_id: typing.Any
|
|
1058
937
|
bl_region_type: typing.Any
|
|
1059
938
|
bl_rna: typing.Any
|
|
1060
939
|
bl_space_type: typing.Any
|
|
@@ -1278,7 +1157,11 @@ class DATA_PT_custom_props_gpencil(
|
|
|
1278
1157
|
"""
|
|
1279
1158
|
...
|
|
1280
1159
|
|
|
1281
|
-
class
|
|
1160
|
+
class DATA_PT_gpencil_layer_display(
|
|
1161
|
+
LayerDataButtonsPanel,
|
|
1162
|
+
bl_ui.properties_grease_pencil_common.GreasePencilLayerDisplayPanel,
|
|
1163
|
+
bpy_types._GenericUI,
|
|
1164
|
+
):
|
|
1282
1165
|
bl_context: typing.Any
|
|
1283
1166
|
bl_label: typing.Any
|
|
1284
1167
|
bl_options: typing.Any
|
|
@@ -1506,10 +1389,15 @@ class DATA_PT_gpencil_canvas(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1506
1389
|
"""
|
|
1507
1390
|
...
|
|
1508
1391
|
|
|
1509
|
-
class
|
|
1392
|
+
class DATA_PT_gpencil_layer_masks(
|
|
1393
|
+
LayerDataButtonsPanel,
|
|
1394
|
+
bl_ui.properties_grease_pencil_common.GreasePencilLayerMasksPanel,
|
|
1395
|
+
bpy_types._GenericUI,
|
|
1396
|
+
):
|
|
1510
1397
|
bl_context: typing.Any
|
|
1511
1398
|
bl_label: typing.Any
|
|
1512
1399
|
bl_options: typing.Any
|
|
1400
|
+
bl_parent_id: typing.Any
|
|
1513
1401
|
bl_region_type: typing.Any
|
|
1514
1402
|
bl_rna: typing.Any
|
|
1515
1403
|
bl_space_type: typing.Any
|
|
@@ -1554,6 +1442,13 @@ class DATA_PT_gpencil_display(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1554
1442
|
"""
|
|
1555
1443
|
...
|
|
1556
1444
|
|
|
1445
|
+
def draw_header(self, context):
|
|
1446
|
+
"""
|
|
1447
|
+
|
|
1448
|
+
:param context:
|
|
1449
|
+
"""
|
|
1450
|
+
...
|
|
1451
|
+
|
|
1557
1452
|
def driver_add(self) -> bpy.types.FCurve:
|
|
1558
1453
|
"""Adds driver(s) to the given property
|
|
1559
1454
|
|
|
@@ -1733,9 +1628,15 @@ class DATA_PT_gpencil_display(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1733
1628
|
"""
|
|
1734
1629
|
...
|
|
1735
1630
|
|
|
1736
|
-
class
|
|
1631
|
+
class DATA_PT_gpencil_layer_relations(
|
|
1632
|
+
LayerDataButtonsPanel,
|
|
1633
|
+
bl_ui.properties_grease_pencil_common.GreasePencilLayerRelationsPanel,
|
|
1634
|
+
bpy_types._GenericUI,
|
|
1635
|
+
):
|
|
1737
1636
|
bl_context: typing.Any
|
|
1738
1637
|
bl_label: typing.Any
|
|
1638
|
+
bl_options: typing.Any
|
|
1639
|
+
bl_parent_id: typing.Any
|
|
1739
1640
|
bl_region_type: typing.Any
|
|
1740
1641
|
bl_rna: typing.Any
|
|
1741
1642
|
bl_space_type: typing.Any
|
|
@@ -1780,15 +1681,6 @@ class DATA_PT_gpencil_layers(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1780
1681
|
"""
|
|
1781
1682
|
...
|
|
1782
1683
|
|
|
1783
|
-
def draw_layers(self, _context, layout, gpd):
|
|
1784
|
-
"""
|
|
1785
|
-
|
|
1786
|
-
:param _context:
|
|
1787
|
-
:param layout:
|
|
1788
|
-
:param gpd:
|
|
1789
|
-
"""
|
|
1790
|
-
...
|
|
1791
|
-
|
|
1792
1684
|
def driver_add(self) -> bpy.types.FCurve:
|
|
1793
1685
|
"""Adds driver(s) to the given property
|
|
1794
1686
|
|
|
@@ -1968,9 +1860,15 @@ class DATA_PT_gpencil_layers(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1968
1860
|
"""
|
|
1969
1861
|
...
|
|
1970
1862
|
|
|
1971
|
-
class
|
|
1863
|
+
class DATA_PT_gpencil_layer_transform(
|
|
1864
|
+
LayerDataButtonsPanel,
|
|
1865
|
+
bl_ui.properties_grease_pencil_common.GreasePencilLayerTransformPanel,
|
|
1866
|
+
bpy_types._GenericUI,
|
|
1867
|
+
):
|
|
1972
1868
|
bl_context: typing.Any
|
|
1973
1869
|
bl_label: typing.Any
|
|
1870
|
+
bl_options: typing.Any
|
|
1871
|
+
bl_parent_id: typing.Any
|
|
1974
1872
|
bl_region_type: typing.Any
|
|
1975
1873
|
bl_rna: typing.Any
|
|
1976
1874
|
bl_space_type: typing.Any
|
|
@@ -2194,13 +2092,9 @@ class DATA_PT_gpencil_onion_skinning(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
2194
2092
|
"""
|
|
2195
2093
|
...
|
|
2196
2094
|
|
|
2197
|
-
class
|
|
2198
|
-
DataButtonsPanel, bpy_types._GenericUI
|
|
2199
|
-
):
|
|
2095
|
+
class DATA_PT_gpencil_layers(DataButtonsPanel, bpy_types._GenericUI):
|
|
2200
2096
|
bl_context: typing.Any
|
|
2201
2097
|
bl_label: typing.Any
|
|
2202
|
-
bl_options: typing.Any
|
|
2203
|
-
bl_parent_id: typing.Any
|
|
2204
2098
|
bl_region_type: typing.Any
|
|
2205
2099
|
bl_rna: typing.Any
|
|
2206
2100
|
bl_space_type: typing.Any
|
|
@@ -2245,10 +2139,12 @@ class DATA_PT_gpencil_onion_skinning_custom_colors(
|
|
|
2245
2139
|
"""
|
|
2246
2140
|
...
|
|
2247
2141
|
|
|
2248
|
-
def
|
|
2142
|
+
def draw_layers(self, _context, layout, gpd):
|
|
2249
2143
|
"""
|
|
2250
2144
|
|
|
2251
|
-
:param
|
|
2145
|
+
:param _context:
|
|
2146
|
+
:param layout:
|
|
2147
|
+
:param gpd:
|
|
2252
2148
|
"""
|
|
2253
2149
|
...
|
|
2254
2150
|
|
|
@@ -2431,11 +2327,9 @@ class DATA_PT_gpencil_onion_skinning_custom_colors(
|
|
|
2431
2327
|
"""
|
|
2432
2328
|
...
|
|
2433
2329
|
|
|
2434
|
-
class
|
|
2330
|
+
class DATA_PT_gpencil_onion_skinning(DataButtonsPanel, bpy_types._GenericUI):
|
|
2435
2331
|
bl_context: typing.Any
|
|
2436
2332
|
bl_label: typing.Any
|
|
2437
|
-
bl_options: typing.Any
|
|
2438
|
-
bl_parent_id: typing.Any
|
|
2439
2333
|
bl_region_type: typing.Any
|
|
2440
2334
|
bl_rna: typing.Any
|
|
2441
2335
|
bl_space_type: typing.Any
|
|
@@ -2659,10 +2553,13 @@ class DATA_PT_gpencil_onion_skinning_display(DataButtonsPanel, bpy_types._Generi
|
|
|
2659
2553
|
"""
|
|
2660
2554
|
...
|
|
2661
2555
|
|
|
2662
|
-
class
|
|
2556
|
+
class DATA_PT_gpencil_onion_skinning_custom_colors(
|
|
2557
|
+
DataButtonsPanel, bpy_types._GenericUI
|
|
2558
|
+
):
|
|
2663
2559
|
bl_context: typing.Any
|
|
2664
2560
|
bl_label: typing.Any
|
|
2665
2561
|
bl_options: typing.Any
|
|
2562
|
+
bl_parent_id: typing.Any
|
|
2666
2563
|
bl_region_type: typing.Any
|
|
2667
2564
|
bl_rna: typing.Any
|
|
2668
2565
|
bl_space_type: typing.Any
|
|
@@ -2707,6 +2604,13 @@ class DATA_PT_gpencil_strokes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
2707
2604
|
"""
|
|
2708
2605
|
...
|
|
2709
2606
|
|
|
2607
|
+
def draw_header(self, context):
|
|
2608
|
+
"""
|
|
2609
|
+
|
|
2610
|
+
:param context:
|
|
2611
|
+
"""
|
|
2612
|
+
...
|
|
2613
|
+
|
|
2710
2614
|
def driver_add(self) -> bpy.types.FCurve:
|
|
2711
2615
|
"""Adds driver(s) to the given property
|
|
2712
2616
|
|
|
@@ -2886,11 +2790,7 @@ class DATA_PT_gpencil_strokes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
2886
2790
|
"""
|
|
2887
2791
|
...
|
|
2888
2792
|
|
|
2889
|
-
class
|
|
2890
|
-
LayerDataButtonsPanel,
|
|
2891
|
-
bl_ui.properties_grease_pencil_common.GreasePencilLayerAdjustmentsPanel,
|
|
2892
|
-
bpy_types._GenericUI,
|
|
2893
|
-
):
|
|
2793
|
+
class DATA_PT_gpencil_onion_skinning_display(DataButtonsPanel, bpy_types._GenericUI):
|
|
2894
2794
|
bl_context: typing.Any
|
|
2895
2795
|
bl_label: typing.Any
|
|
2896
2796
|
bl_options: typing.Any
|
|
@@ -3118,15 +3018,10 @@ class DATA_PT_gpencil_layer_adjustments(
|
|
|
3118
3018
|
"""
|
|
3119
3019
|
...
|
|
3120
3020
|
|
|
3121
|
-
class
|
|
3122
|
-
LayerDataButtonsPanel,
|
|
3123
|
-
bl_ui.properties_grease_pencil_common.GreasePencilLayerDisplayPanel,
|
|
3124
|
-
bpy_types._GenericUI,
|
|
3125
|
-
):
|
|
3021
|
+
class DATA_PT_gpencil_strokes(DataButtonsPanel, bpy_types._GenericUI):
|
|
3126
3022
|
bl_context: typing.Any
|
|
3127
3023
|
bl_label: typing.Any
|
|
3128
3024
|
bl_options: typing.Any
|
|
3129
|
-
bl_parent_id: typing.Any
|
|
3130
3025
|
bl_region_type: typing.Any
|
|
3131
3026
|
bl_rna: typing.Any
|
|
3132
3027
|
bl_space_type: typing.Any
|
|
@@ -3350,15 +3245,10 @@ class DATA_PT_gpencil_layer_display(
|
|
|
3350
3245
|
"""
|
|
3351
3246
|
...
|
|
3352
3247
|
|
|
3353
|
-
class
|
|
3354
|
-
LayerDataButtonsPanel,
|
|
3355
|
-
bl_ui.properties_grease_pencil_common.GreasePencilLayerMasksPanel,
|
|
3356
|
-
bpy_types._GenericUI,
|
|
3357
|
-
):
|
|
3248
|
+
class DATA_PT_gpencil_vertex_groups(ObjectButtonsPanel, bpy_types._GenericUI):
|
|
3358
3249
|
bl_context: typing.Any
|
|
3359
3250
|
bl_label: typing.Any
|
|
3360
3251
|
bl_options: typing.Any
|
|
3361
|
-
bl_parent_id: typing.Any
|
|
3362
3252
|
bl_region_type: typing.Any
|
|
3363
3253
|
bl_rna: typing.Any
|
|
3364
3254
|
bl_space_type: typing.Any
|
|
@@ -3403,13 +3293,6 @@ class DATA_PT_gpencil_layer_masks(
|
|
|
3403
3293
|
"""
|
|
3404
3294
|
...
|
|
3405
3295
|
|
|
3406
|
-
def draw_header(self, context):
|
|
3407
|
-
"""
|
|
3408
|
-
|
|
3409
|
-
:param context:
|
|
3410
|
-
"""
|
|
3411
|
-
...
|
|
3412
|
-
|
|
3413
3296
|
def driver_add(self) -> bpy.types.FCurve:
|
|
3414
3297
|
"""Adds driver(s) to the given property
|
|
3415
3298
|
|
|
@@ -3589,18 +3472,21 @@ class DATA_PT_gpencil_layer_masks(
|
|
|
3589
3472
|
"""
|
|
3590
3473
|
...
|
|
3591
3474
|
|
|
3592
|
-
class
|
|
3593
|
-
LayerDataButtonsPanel,
|
|
3594
|
-
bl_ui.properties_grease_pencil_common.GreasePencilLayerRelationsPanel,
|
|
3595
|
-
bpy_types._GenericUI,
|
|
3596
|
-
):
|
|
3475
|
+
class DataButtonsPanel:
|
|
3597
3476
|
bl_context: typing.Any
|
|
3598
|
-
bl_label: typing.Any
|
|
3599
|
-
bl_options: typing.Any
|
|
3600
|
-
bl_parent_id: typing.Any
|
|
3601
3477
|
bl_region_type: typing.Any
|
|
3602
|
-
bl_rna: typing.Any
|
|
3603
3478
|
bl_space_type: typing.Any
|
|
3479
|
+
|
|
3480
|
+
def poll(self, context):
|
|
3481
|
+
"""
|
|
3482
|
+
|
|
3483
|
+
:param context:
|
|
3484
|
+
"""
|
|
3485
|
+
...
|
|
3486
|
+
|
|
3487
|
+
class GPENCIL_MT_gpencil_vertex_group(bpy_types._GenericUI):
|
|
3488
|
+
bl_label: typing.Any
|
|
3489
|
+
bl_rna: typing.Any
|
|
3604
3490
|
id_data: typing.Any
|
|
3605
3491
|
|
|
3606
3492
|
def append(self, draw_func):
|
|
@@ -3642,6 +3528,26 @@ class DATA_PT_gpencil_layer_relations(
|
|
|
3642
3528
|
"""
|
|
3643
3529
|
...
|
|
3644
3530
|
|
|
3531
|
+
def draw_collapsible(self, context, layout):
|
|
3532
|
+
"""
|
|
3533
|
+
|
|
3534
|
+
:param context:
|
|
3535
|
+
:param layout:
|
|
3536
|
+
"""
|
|
3537
|
+
...
|
|
3538
|
+
|
|
3539
|
+
def draw_preset(self, _context):
|
|
3540
|
+
"""Define these on the subclass:
|
|
3541
|
+
- preset_operator (string)
|
|
3542
|
+
- preset_subdir (string)Optionally:
|
|
3543
|
+
- preset_add_operator (string)
|
|
3544
|
+
- preset_extensions (set of strings)
|
|
3545
|
+
- preset_operator_defaults (dict of keyword args)
|
|
3546
|
+
|
|
3547
|
+
:param _context:
|
|
3548
|
+
"""
|
|
3549
|
+
...
|
|
3550
|
+
|
|
3645
3551
|
def driver_add(self) -> bpy.types.FCurve:
|
|
3646
3552
|
"""Adds driver(s) to the given property
|
|
3647
3553
|
|
|
@@ -3760,17 +3666,44 @@ class DATA_PT_gpencil_layer_relations(
|
|
|
3760
3666
|
"""
|
|
3761
3667
|
...
|
|
3762
3668
|
|
|
3763
|
-
def
|
|
3764
|
-
|
|
3765
|
-
|
|
3669
|
+
def path_menu(
|
|
3670
|
+
self,
|
|
3671
|
+
searchpaths: list[str],
|
|
3672
|
+
operator: str,
|
|
3673
|
+
props_default: dict = None,
|
|
3674
|
+
prop_filepath: str | None = "filepath",
|
|
3675
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
3676
|
+
filter_path=None,
|
|
3677
|
+
display_name: collections.abc.Callable | None = None,
|
|
3678
|
+
add_operator=None,
|
|
3679
|
+
add_operator_props=None,
|
|
3680
|
+
):
|
|
3681
|
+
"""Populate a menu from a list of paths.
|
|
3766
3682
|
|
|
3767
|
-
|
|
3768
|
-
|
|
3683
|
+
:param searchpaths: Paths to scan.
|
|
3684
|
+
:type searchpaths: list[str]
|
|
3685
|
+
:param operator: The operator id to use with each file.
|
|
3686
|
+
:type operator: str
|
|
3687
|
+
:param props_default: Properties to assign to each operator.
|
|
3688
|
+
:type props_default: dict
|
|
3689
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
3690
|
+
:type prop_filepath: str | None
|
|
3691
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
3769
3692
|
|
|
3770
|
-
|
|
3693
|
+
Returning false excludes the file from the list.
|
|
3694
|
+
:type filter_ext: collections.abc.Callable | None
|
|
3695
|
+
:param filter_path:
|
|
3696
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
3697
|
+
:type display_name: collections.abc.Callable | None
|
|
3698
|
+
:param add_operator:
|
|
3699
|
+
:param add_operator_props:
|
|
3771
3700
|
"""
|
|
3772
3701
|
...
|
|
3773
3702
|
|
|
3703
|
+
def path_resolve(self):
|
|
3704
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
3705
|
+
...
|
|
3706
|
+
|
|
3774
3707
|
def pop(self):
|
|
3775
3708
|
"""Remove and return the value of the custom property assigned to key or default
|
|
3776
3709
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -3821,18 +3754,9 @@ class DATA_PT_gpencil_layer_relations(
|
|
|
3821
3754
|
"""
|
|
3822
3755
|
...
|
|
3823
3756
|
|
|
3824
|
-
class
|
|
3825
|
-
LayerDataButtonsPanel,
|
|
3826
|
-
bl_ui.properties_grease_pencil_common.GreasePencilLayerTransformPanel,
|
|
3827
|
-
bpy_types._GenericUI,
|
|
3828
|
-
):
|
|
3829
|
-
bl_context: typing.Any
|
|
3757
|
+
class GPENCIL_MT_layer_context_menu(bpy_types._GenericUI):
|
|
3830
3758
|
bl_label: typing.Any
|
|
3831
|
-
bl_options: typing.Any
|
|
3832
|
-
bl_parent_id: typing.Any
|
|
3833
|
-
bl_region_type: typing.Any
|
|
3834
3759
|
bl_rna: typing.Any
|
|
3835
|
-
bl_space_type: typing.Any
|
|
3836
3760
|
id_data: typing.Any
|
|
3837
3761
|
|
|
3838
3762
|
def append(self, draw_func):
|
|
@@ -3874,6 +3798,26 @@ class DATA_PT_gpencil_layer_transform(
|
|
|
3874
3798
|
"""
|
|
3875
3799
|
...
|
|
3876
3800
|
|
|
3801
|
+
def draw_collapsible(self, context, layout):
|
|
3802
|
+
"""
|
|
3803
|
+
|
|
3804
|
+
:param context:
|
|
3805
|
+
:param layout:
|
|
3806
|
+
"""
|
|
3807
|
+
...
|
|
3808
|
+
|
|
3809
|
+
def draw_preset(self, _context):
|
|
3810
|
+
"""Define these on the subclass:
|
|
3811
|
+
- preset_operator (string)
|
|
3812
|
+
- preset_subdir (string)Optionally:
|
|
3813
|
+
- preset_add_operator (string)
|
|
3814
|
+
- preset_extensions (set of strings)
|
|
3815
|
+
- preset_operator_defaults (dict of keyword args)
|
|
3816
|
+
|
|
3817
|
+
:param _context:
|
|
3818
|
+
"""
|
|
3819
|
+
...
|
|
3820
|
+
|
|
3877
3821
|
def driver_add(self) -> bpy.types.FCurve:
|
|
3878
3822
|
"""Adds driver(s) to the given property
|
|
3879
3823
|
|
|
@@ -3992,17 +3936,44 @@ class DATA_PT_gpencil_layer_transform(
|
|
|
3992
3936
|
"""
|
|
3993
3937
|
...
|
|
3994
3938
|
|
|
3995
|
-
def
|
|
3996
|
-
|
|
3997
|
-
|
|
3939
|
+
def path_menu(
|
|
3940
|
+
self,
|
|
3941
|
+
searchpaths: list[str],
|
|
3942
|
+
operator: str,
|
|
3943
|
+
props_default: dict = None,
|
|
3944
|
+
prop_filepath: str | None = "filepath",
|
|
3945
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
3946
|
+
filter_path=None,
|
|
3947
|
+
display_name: collections.abc.Callable | None = None,
|
|
3948
|
+
add_operator=None,
|
|
3949
|
+
add_operator_props=None,
|
|
3950
|
+
):
|
|
3951
|
+
"""Populate a menu from a list of paths.
|
|
3998
3952
|
|
|
3999
|
-
|
|
4000
|
-
|
|
3953
|
+
:param searchpaths: Paths to scan.
|
|
3954
|
+
:type searchpaths: list[str]
|
|
3955
|
+
:param operator: The operator id to use with each file.
|
|
3956
|
+
:type operator: str
|
|
3957
|
+
:param props_default: Properties to assign to each operator.
|
|
3958
|
+
:type props_default: dict
|
|
3959
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
3960
|
+
:type prop_filepath: str | None
|
|
3961
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
4001
3962
|
|
|
4002
|
-
|
|
3963
|
+
Returning false excludes the file from the list.
|
|
3964
|
+
:type filter_ext: collections.abc.Callable | None
|
|
3965
|
+
:param filter_path:
|
|
3966
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
3967
|
+
:type display_name: collections.abc.Callable | None
|
|
3968
|
+
:param add_operator:
|
|
3969
|
+
:param add_operator_props:
|
|
4003
3970
|
"""
|
|
4004
3971
|
...
|
|
4005
3972
|
|
|
3973
|
+
def path_resolve(self):
|
|
3974
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
3975
|
+
...
|
|
3976
|
+
|
|
4006
3977
|
def pop(self):
|
|
4007
3978
|
"""Remove and return the value of the custom property assigned to key or default
|
|
4008
3979
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -4053,13 +4024,8 @@ class DATA_PT_gpencil_layer_transform(
|
|
|
4053
4024
|
"""
|
|
4054
4025
|
...
|
|
4055
4026
|
|
|
4056
|
-
class
|
|
4057
|
-
bl_context: typing.Any
|
|
4058
|
-
bl_label: typing.Any
|
|
4059
|
-
bl_options: typing.Any
|
|
4060
|
-
bl_region_type: typing.Any
|
|
4027
|
+
class GPENCIL_UL_vgroups(bpy_types._GenericUI):
|
|
4061
4028
|
bl_rna: typing.Any
|
|
4062
|
-
bl_space_type: typing.Any
|
|
4063
4029
|
id_data: typing.Any
|
|
4064
4030
|
|
|
4065
4031
|
def append(self, draw_func):
|
|
@@ -4094,10 +4060,27 @@ class DATA_PT_gpencil_vertex_groups(ObjectButtonsPanel, bpy_types._GenericUI):
|
|
|
4094
4060
|
"""
|
|
4095
4061
|
...
|
|
4096
4062
|
|
|
4097
|
-
def
|
|
4063
|
+
def draw_item(
|
|
4064
|
+
self,
|
|
4065
|
+
_context,
|
|
4066
|
+
layout,
|
|
4067
|
+
_data,
|
|
4068
|
+
item,
|
|
4069
|
+
icon,
|
|
4070
|
+
_active_data,
|
|
4071
|
+
_active_propname,
|
|
4072
|
+
_index,
|
|
4073
|
+
):
|
|
4098
4074
|
"""
|
|
4099
4075
|
|
|
4100
|
-
:param
|
|
4076
|
+
:param _context:
|
|
4077
|
+
:param layout:
|
|
4078
|
+
:param _data:
|
|
4079
|
+
:param item:
|
|
4080
|
+
:param icon:
|
|
4081
|
+
:param _active_data:
|
|
4082
|
+
:param _active_propname:
|
|
4083
|
+
:param _index:
|
|
4101
4084
|
"""
|
|
4102
4085
|
...
|
|
4103
4086
|
|
|
@@ -4223,13 +4206,6 @@ class DATA_PT_gpencil_vertex_groups(ObjectButtonsPanel, bpy_types._GenericUI):
|
|
|
4223
4206
|
"""Returns the property from the path, raise an exception when not found."""
|
|
4224
4207
|
...
|
|
4225
4208
|
|
|
4226
|
-
def poll(self, context):
|
|
4227
|
-
"""
|
|
4228
|
-
|
|
4229
|
-
:param context:
|
|
4230
|
-
"""
|
|
4231
|
-
...
|
|
4232
|
-
|
|
4233
4209
|
def pop(self):
|
|
4234
4210
|
"""Remove and return the value of the custom property assigned to key or default
|
|
4235
4211
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -4279,3 +4255,27 @@ class DATA_PT_gpencil_vertex_groups(ObjectButtonsPanel, bpy_types._GenericUI):
|
|
|
4279
4255
|
:return: custom property values.
|
|
4280
4256
|
"""
|
|
4281
4257
|
...
|
|
4258
|
+
|
|
4259
|
+
class LayerDataButtonsPanel:
|
|
4260
|
+
bl_context: typing.Any
|
|
4261
|
+
bl_region_type: typing.Any
|
|
4262
|
+
bl_space_type: typing.Any
|
|
4263
|
+
|
|
4264
|
+
def poll(self, context):
|
|
4265
|
+
"""
|
|
4266
|
+
|
|
4267
|
+
:param context:
|
|
4268
|
+
"""
|
|
4269
|
+
...
|
|
4270
|
+
|
|
4271
|
+
class ObjectButtonsPanel:
|
|
4272
|
+
bl_context: typing.Any
|
|
4273
|
+
bl_region_type: typing.Any
|
|
4274
|
+
bl_space_type: typing.Any
|
|
4275
|
+
|
|
4276
|
+
def poll(self, context):
|
|
4277
|
+
"""
|
|
4278
|
+
|
|
4279
|
+
:param context:
|
|
4280
|
+
"""
|
|
4281
|
+
...
|