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
|
@@ -8,18 +8,6 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class DataButtonsPanel:
|
|
12
|
-
bl_context: typing.Any
|
|
13
|
-
bl_region_type: typing.Any
|
|
14
|
-
bl_space_type: typing.Any
|
|
15
|
-
|
|
16
|
-
def poll(self, context):
|
|
17
|
-
"""
|
|
18
|
-
|
|
19
|
-
:param context:
|
|
20
|
-
"""
|
|
21
|
-
...
|
|
22
|
-
|
|
23
11
|
class DATA_PT_context_metaball(DataButtonsPanel, bpy_types._GenericUI):
|
|
24
12
|
bl_context: typing.Any
|
|
25
13
|
bl_label: typing.Any
|
|
@@ -1161,3 +1149,15 @@ class DATA_PT_metaball_element(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1161
1149
|
:return: custom property values.
|
|
1162
1150
|
"""
|
|
1163
1151
|
...
|
|
1152
|
+
|
|
1153
|
+
class DataButtonsPanel:
|
|
1154
|
+
bl_context: typing.Any
|
|
1155
|
+
bl_region_type: typing.Any
|
|
1156
|
+
bl_space_type: typing.Any
|
|
1157
|
+
|
|
1158
|
+
def poll(self, context):
|
|
1159
|
+
"""
|
|
1160
|
+
|
|
1161
|
+
:param context:
|
|
1162
|
+
"""
|
|
1163
|
+
...
|
|
@@ -219,25 +219,6 @@ class AddModifierMenu:
|
|
|
219
219
|
"""
|
|
220
220
|
...
|
|
221
221
|
|
|
222
|
-
class ModifierButtonsPanel:
|
|
223
|
-
bl_context: typing.Any
|
|
224
|
-
bl_options: typing.Any
|
|
225
|
-
bl_region_type: typing.Any
|
|
226
|
-
bl_space_type: typing.Any
|
|
227
|
-
|
|
228
|
-
class ModifierAddMenu:
|
|
229
|
-
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
230
|
-
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
231
|
-
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
232
|
-
|
|
233
|
-
def operator_modifier_add(self, layout, mod_type):
|
|
234
|
-
"""
|
|
235
|
-
|
|
236
|
-
:param layout:
|
|
237
|
-
:param mod_type:
|
|
238
|
-
"""
|
|
239
|
-
...
|
|
240
|
-
|
|
241
222
|
class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, bpy_types._GenericUI):
|
|
242
223
|
bl_context: typing.Any
|
|
243
224
|
bl_label: typing.Any
|
|
@@ -692,6 +673,25 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy_types._GenericUI):
|
|
|
692
673
|
"""
|
|
693
674
|
...
|
|
694
675
|
|
|
676
|
+
class ModifierAddMenu:
|
|
677
|
+
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
678
|
+
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
679
|
+
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
680
|
+
|
|
681
|
+
def operator_modifier_add(self, layout, mod_type):
|
|
682
|
+
"""
|
|
683
|
+
|
|
684
|
+
:param layout:
|
|
685
|
+
:param mod_type:
|
|
686
|
+
"""
|
|
687
|
+
...
|
|
688
|
+
|
|
689
|
+
class ModifierButtonsPanel:
|
|
690
|
+
bl_context: typing.Any
|
|
691
|
+
bl_options: typing.Any
|
|
692
|
+
bl_region_type: typing.Any
|
|
693
|
+
bl_space_type: typing.Any
|
|
694
|
+
|
|
695
695
|
class OBJECT_MT_modifier_add(ModifierAddMenu, bpy_types._GenericUI):
|
|
696
696
|
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
697
697
|
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
@@ -8,34 +8,16 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class DataButtonsPanel:
|
|
11
|
+
class DATA_PT_context_pointcloud(DataButtonsPanel, bpy_types._GenericUI):
|
|
12
|
+
COMPAT_ENGINES: typing.Any
|
|
12
13
|
bl_context: typing.Any
|
|
13
|
-
bl_region_type: typing.Any
|
|
14
|
-
bl_space_type: typing.Any
|
|
15
|
-
|
|
16
|
-
def poll(self, context):
|
|
17
|
-
"""
|
|
18
|
-
|
|
19
|
-
:param context:
|
|
20
|
-
"""
|
|
21
|
-
...
|
|
22
|
-
|
|
23
|
-
class POINTCLOUD_MT_add_attribute(bpy_types._GenericUI):
|
|
24
14
|
bl_label: typing.Any
|
|
15
|
+
bl_options: typing.Any
|
|
16
|
+
bl_region_type: typing.Any
|
|
25
17
|
bl_rna: typing.Any
|
|
18
|
+
bl_space_type: typing.Any
|
|
26
19
|
id_data: typing.Any
|
|
27
20
|
|
|
28
|
-
def add_standard_attribute(self, layout, pointcloud, name, data_type, domain):
|
|
29
|
-
"""
|
|
30
|
-
|
|
31
|
-
:param layout:
|
|
32
|
-
:param pointcloud:
|
|
33
|
-
:param name:
|
|
34
|
-
:param data_type:
|
|
35
|
-
:param domain:
|
|
36
|
-
"""
|
|
37
|
-
...
|
|
38
|
-
|
|
39
21
|
def append(self, draw_func):
|
|
40
22
|
"""Append a draw function to this menu,
|
|
41
23
|
takes the same arguments as the menus draw function
|
|
@@ -75,26 +57,6 @@ class POINTCLOUD_MT_add_attribute(bpy_types._GenericUI):
|
|
|
75
57
|
"""
|
|
76
58
|
...
|
|
77
59
|
|
|
78
|
-
def draw_collapsible(self, context, layout):
|
|
79
|
-
"""
|
|
80
|
-
|
|
81
|
-
:param context:
|
|
82
|
-
:param layout:
|
|
83
|
-
"""
|
|
84
|
-
...
|
|
85
|
-
|
|
86
|
-
def draw_preset(self, _context):
|
|
87
|
-
"""Define these on the subclass:
|
|
88
|
-
- preset_operator (string)
|
|
89
|
-
- preset_subdir (string)Optionally:
|
|
90
|
-
- preset_add_operator (string)
|
|
91
|
-
- preset_extensions (set of strings)
|
|
92
|
-
- preset_operator_defaults (dict of keyword args)
|
|
93
|
-
|
|
94
|
-
:param _context:
|
|
95
|
-
"""
|
|
96
|
-
...
|
|
97
|
-
|
|
98
60
|
def driver_add(self) -> bpy.types.FCurve:
|
|
99
61
|
"""Adds driver(s) to the given property
|
|
100
62
|
|
|
@@ -213,42 +175,15 @@ class POINTCLOUD_MT_add_attribute(bpy_types._GenericUI):
|
|
|
213
175
|
"""
|
|
214
176
|
...
|
|
215
177
|
|
|
216
|
-
def
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
operator: str,
|
|
220
|
-
props_default: dict = None,
|
|
221
|
-
prop_filepath: str | None = "filepath",
|
|
222
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
223
|
-
filter_path=None,
|
|
224
|
-
display_name: collections.abc.Callable | None = None,
|
|
225
|
-
add_operator=None,
|
|
226
|
-
add_operator_props=None,
|
|
227
|
-
):
|
|
228
|
-
"""Populate a menu from a list of paths.
|
|
229
|
-
|
|
230
|
-
:param searchpaths: Paths to scan.
|
|
231
|
-
:type searchpaths: list[str]
|
|
232
|
-
:param operator: The operator id to use with each file.
|
|
233
|
-
:type operator: str
|
|
234
|
-
:param props_default: Properties to assign to each operator.
|
|
235
|
-
:type props_default: dict
|
|
236
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
237
|
-
:type prop_filepath: str | None
|
|
238
|
-
: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
|
+
...
|
|
239
181
|
|
|
240
|
-
|
|
241
|
-
:type filter_ext: collections.abc.Callable | None
|
|
242
|
-
:param filter_path:
|
|
243
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
244
|
-
:type display_name: collections.abc.Callable | None
|
|
245
|
-
:param add_operator:
|
|
246
|
-
:param add_operator_props:
|
|
182
|
+
def poll(self, context):
|
|
247
183
|
"""
|
|
248
|
-
...
|
|
249
184
|
|
|
250
|
-
|
|
251
|
-
"""
|
|
185
|
+
:param context:
|
|
186
|
+
"""
|
|
252
187
|
...
|
|
253
188
|
|
|
254
189
|
def pop(self):
|
|
@@ -301,8 +236,21 @@ class POINTCLOUD_MT_add_attribute(bpy_types._GenericUI):
|
|
|
301
236
|
"""
|
|
302
237
|
...
|
|
303
238
|
|
|
304
|
-
class
|
|
239
|
+
class DATA_PT_custom_props_pointcloud(
|
|
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
|
+
COMPAT_ENGINES: typing.Any
|
|
247
|
+
bl_context: typing.Any
|
|
248
|
+
bl_label: typing.Any
|
|
249
|
+
bl_options: typing.Any
|
|
250
|
+
bl_order: typing.Any
|
|
251
|
+
bl_region_type: typing.Any
|
|
305
252
|
bl_rna: typing.Any
|
|
253
|
+
bl_space_type: typing.Any
|
|
306
254
|
id_data: typing.Any
|
|
307
255
|
|
|
308
256
|
def append(self, draw_func):
|
|
@@ -337,27 +285,10 @@ class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
|
337
285
|
"""
|
|
338
286
|
...
|
|
339
287
|
|
|
340
|
-
def
|
|
341
|
-
self,
|
|
342
|
-
_context,
|
|
343
|
-
layout,
|
|
344
|
-
_data,
|
|
345
|
-
attribute,
|
|
346
|
-
_icon,
|
|
347
|
-
_active_data,
|
|
348
|
-
_active_propname,
|
|
349
|
-
_index,
|
|
350
|
-
):
|
|
288
|
+
def draw(self, context):
|
|
351
289
|
"""
|
|
352
290
|
|
|
353
|
-
:param
|
|
354
|
-
:param layout:
|
|
355
|
-
:param _data:
|
|
356
|
-
:param attribute:
|
|
357
|
-
:param _icon:
|
|
358
|
-
:param _active_data:
|
|
359
|
-
:param _active_propname:
|
|
360
|
-
:param _index:
|
|
291
|
+
:param context:
|
|
361
292
|
"""
|
|
362
293
|
...
|
|
363
294
|
|
|
@@ -377,15 +308,6 @@ class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
|
377
308
|
"""
|
|
378
309
|
...
|
|
379
310
|
|
|
380
|
-
def filter_items(self, _context, data, property):
|
|
381
|
-
"""
|
|
382
|
-
|
|
383
|
-
:param _context:
|
|
384
|
-
:param data:
|
|
385
|
-
:param property:
|
|
386
|
-
"""
|
|
387
|
-
...
|
|
388
|
-
|
|
389
311
|
def get(self):
|
|
390
312
|
"""Returns the value of the custom property assigned to key or default
|
|
391
313
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -492,6 +414,13 @@ class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
|
492
414
|
"""Returns the property from the path, raise an exception when not found."""
|
|
493
415
|
...
|
|
494
416
|
|
|
417
|
+
def poll(self, context):
|
|
418
|
+
"""
|
|
419
|
+
|
|
420
|
+
:param context:
|
|
421
|
+
"""
|
|
422
|
+
...
|
|
423
|
+
|
|
495
424
|
def pop(self):
|
|
496
425
|
"""Remove and return the value of the custom property assigned to key or default
|
|
497
426
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -542,11 +471,10 @@ class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
|
542
471
|
"""
|
|
543
472
|
...
|
|
544
473
|
|
|
545
|
-
class
|
|
474
|
+
class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
546
475
|
COMPAT_ENGINES: typing.Any
|
|
547
476
|
bl_context: typing.Any
|
|
548
477
|
bl_label: typing.Any
|
|
549
|
-
bl_options: typing.Any
|
|
550
478
|
bl_region_type: typing.Any
|
|
551
479
|
bl_rna: typing.Any
|
|
552
480
|
bl_space_type: typing.Any
|
|
@@ -770,23 +698,34 @@ class DATA_PT_context_pointcloud(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
770
698
|
"""
|
|
771
699
|
...
|
|
772
700
|
|
|
773
|
-
class
|
|
774
|
-
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
775
|
-
):
|
|
776
|
-
"""The subclass should have its own poll function
|
|
777
|
-
and the variable '_context_path' MUST be set.
|
|
778
|
-
"""
|
|
779
|
-
|
|
780
|
-
COMPAT_ENGINES: typing.Any
|
|
701
|
+
class DataButtonsPanel:
|
|
781
702
|
bl_context: typing.Any
|
|
782
|
-
bl_label: typing.Any
|
|
783
|
-
bl_options: typing.Any
|
|
784
|
-
bl_order: typing.Any
|
|
785
703
|
bl_region_type: typing.Any
|
|
786
|
-
bl_rna: typing.Any
|
|
787
704
|
bl_space_type: typing.Any
|
|
705
|
+
|
|
706
|
+
def poll(self, context):
|
|
707
|
+
"""
|
|
708
|
+
|
|
709
|
+
:param context:
|
|
710
|
+
"""
|
|
711
|
+
...
|
|
712
|
+
|
|
713
|
+
class POINTCLOUD_MT_add_attribute(bpy_types._GenericUI):
|
|
714
|
+
bl_label: typing.Any
|
|
715
|
+
bl_rna: typing.Any
|
|
788
716
|
id_data: typing.Any
|
|
789
717
|
|
|
718
|
+
def add_standard_attribute(self, layout, pointcloud, name, data_type, domain):
|
|
719
|
+
"""
|
|
720
|
+
|
|
721
|
+
:param layout:
|
|
722
|
+
:param pointcloud:
|
|
723
|
+
:param name:
|
|
724
|
+
:param data_type:
|
|
725
|
+
:param domain:
|
|
726
|
+
"""
|
|
727
|
+
...
|
|
728
|
+
|
|
790
729
|
def append(self, draw_func):
|
|
791
730
|
"""Append a draw function to this menu,
|
|
792
731
|
takes the same arguments as the menus draw function
|
|
@@ -826,6 +765,26 @@ class DATA_PT_custom_props_pointcloud(
|
|
|
826
765
|
"""
|
|
827
766
|
...
|
|
828
767
|
|
|
768
|
+
def draw_collapsible(self, context, layout):
|
|
769
|
+
"""
|
|
770
|
+
|
|
771
|
+
:param context:
|
|
772
|
+
:param layout:
|
|
773
|
+
"""
|
|
774
|
+
...
|
|
775
|
+
|
|
776
|
+
def draw_preset(self, _context):
|
|
777
|
+
"""Define these on the subclass:
|
|
778
|
+
- preset_operator (string)
|
|
779
|
+
- preset_subdir (string)Optionally:
|
|
780
|
+
- preset_add_operator (string)
|
|
781
|
+
- preset_extensions (set of strings)
|
|
782
|
+
- preset_operator_defaults (dict of keyword args)
|
|
783
|
+
|
|
784
|
+
:param _context:
|
|
785
|
+
"""
|
|
786
|
+
...
|
|
787
|
+
|
|
829
788
|
def driver_add(self) -> bpy.types.FCurve:
|
|
830
789
|
"""Adds driver(s) to the given property
|
|
831
790
|
|
|
@@ -944,17 +903,44 @@ class DATA_PT_custom_props_pointcloud(
|
|
|
944
903
|
"""
|
|
945
904
|
...
|
|
946
905
|
|
|
947
|
-
def
|
|
948
|
-
|
|
949
|
-
|
|
906
|
+
def path_menu(
|
|
907
|
+
self,
|
|
908
|
+
searchpaths: list[str],
|
|
909
|
+
operator: str,
|
|
910
|
+
props_default: dict = None,
|
|
911
|
+
prop_filepath: str | None = "filepath",
|
|
912
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
913
|
+
filter_path=None,
|
|
914
|
+
display_name: collections.abc.Callable | None = None,
|
|
915
|
+
add_operator=None,
|
|
916
|
+
add_operator_props=None,
|
|
917
|
+
):
|
|
918
|
+
"""Populate a menu from a list of paths.
|
|
950
919
|
|
|
951
|
-
|
|
952
|
-
|
|
920
|
+
:param searchpaths: Paths to scan.
|
|
921
|
+
:type searchpaths: list[str]
|
|
922
|
+
:param operator: The operator id to use with each file.
|
|
923
|
+
:type operator: str
|
|
924
|
+
:param props_default: Properties to assign to each operator.
|
|
925
|
+
:type props_default: dict
|
|
926
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
927
|
+
:type prop_filepath: str | None
|
|
928
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
953
929
|
|
|
954
|
-
|
|
930
|
+
Returning false excludes the file from the list.
|
|
931
|
+
:type filter_ext: collections.abc.Callable | None
|
|
932
|
+
:param filter_path:
|
|
933
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
934
|
+
:type display_name: collections.abc.Callable | None
|
|
935
|
+
:param add_operator:
|
|
936
|
+
:param add_operator_props:
|
|
955
937
|
"""
|
|
956
938
|
...
|
|
957
939
|
|
|
940
|
+
def path_resolve(self):
|
|
941
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
942
|
+
...
|
|
943
|
+
|
|
958
944
|
def pop(self):
|
|
959
945
|
"""Remove and return the value of the custom property assigned to key or default
|
|
960
946
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -1005,13 +991,8 @@ class DATA_PT_custom_props_pointcloud(
|
|
|
1005
991
|
"""
|
|
1006
992
|
...
|
|
1007
993
|
|
|
1008
|
-
class
|
|
1009
|
-
COMPAT_ENGINES: typing.Any
|
|
1010
|
-
bl_context: typing.Any
|
|
1011
|
-
bl_label: typing.Any
|
|
1012
|
-
bl_region_type: typing.Any
|
|
994
|
+
class POINTCLOUD_UL_attributes(bpy_types._GenericUI):
|
|
1013
995
|
bl_rna: typing.Any
|
|
1014
|
-
bl_space_type: typing.Any
|
|
1015
996
|
id_data: typing.Any
|
|
1016
997
|
|
|
1017
998
|
def append(self, draw_func):
|
|
@@ -1046,10 +1027,27 @@ class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1046
1027
|
"""
|
|
1047
1028
|
...
|
|
1048
1029
|
|
|
1049
|
-
def
|
|
1030
|
+
def draw_item(
|
|
1031
|
+
self,
|
|
1032
|
+
_context,
|
|
1033
|
+
layout,
|
|
1034
|
+
_data,
|
|
1035
|
+
attribute,
|
|
1036
|
+
_icon,
|
|
1037
|
+
_active_data,
|
|
1038
|
+
_active_propname,
|
|
1039
|
+
_index,
|
|
1040
|
+
):
|
|
1050
1041
|
"""
|
|
1051
1042
|
|
|
1052
|
-
:param
|
|
1043
|
+
:param _context:
|
|
1044
|
+
:param layout:
|
|
1045
|
+
:param _data:
|
|
1046
|
+
:param attribute:
|
|
1047
|
+
:param _icon:
|
|
1048
|
+
:param _active_data:
|
|
1049
|
+
:param _active_propname:
|
|
1050
|
+
:param _index:
|
|
1053
1051
|
"""
|
|
1054
1052
|
...
|
|
1055
1053
|
|
|
@@ -1069,6 +1067,15 @@ class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1069
1067
|
"""
|
|
1070
1068
|
...
|
|
1071
1069
|
|
|
1070
|
+
def filter_items(self, _context, data, property):
|
|
1071
|
+
"""
|
|
1072
|
+
|
|
1073
|
+
:param _context:
|
|
1074
|
+
:param data:
|
|
1075
|
+
:param property:
|
|
1076
|
+
"""
|
|
1077
|
+
...
|
|
1078
|
+
|
|
1072
1079
|
def get(self):
|
|
1073
1080
|
"""Returns the value of the custom property assigned to key or default
|
|
1074
1081
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -1175,13 +1182,6 @@ class DATA_PT_pointcloud_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1175
1182
|
"""Returns the property from the path, raise an exception when not found."""
|
|
1176
1183
|
...
|
|
1177
1184
|
|
|
1178
|
-
def poll(self, context):
|
|
1179
|
-
"""
|
|
1180
|
-
|
|
1181
|
-
:param context:
|
|
1182
|
-
"""
|
|
1183
|
-
...
|
|
1184
|
-
|
|
1185
1185
|
def pop(self):
|
|
1186
1186
|
"""Remove and return the value of the custom property assigned to key or default
|
|
1187
1187
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -7,11 +7,6 @@ import bpy_types
|
|
|
7
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
9
|
|
|
10
|
-
class ShaderFxButtonsPanel:
|
|
11
|
-
bl_context: typing.Any
|
|
12
|
-
bl_region_type: typing.Any
|
|
13
|
-
bl_space_type: typing.Any
|
|
14
|
-
|
|
15
10
|
class DATA_PT_shader_fx(ShaderFxButtonsPanel, bpy_types._GenericUI):
|
|
16
11
|
bl_context: typing.Any
|
|
17
12
|
bl_label: typing.Any
|
|
@@ -231,3 +226,8 @@ class DATA_PT_shader_fx(ShaderFxButtonsPanel, bpy_types._GenericUI):
|
|
|
231
226
|
:return: custom property values.
|
|
232
227
|
"""
|
|
233
228
|
...
|
|
229
|
+
|
|
230
|
+
class ShaderFxButtonsPanel:
|
|
231
|
+
bl_context: typing.Any
|
|
232
|
+
bl_region_type: typing.Any
|
|
233
|
+
bl_space_type: typing.Any
|
|
@@ -8,18 +8,6 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class DataButtonsPanel:
|
|
12
|
-
bl_context: typing.Any
|
|
13
|
-
bl_region_type: typing.Any
|
|
14
|
-
bl_space_type: typing.Any
|
|
15
|
-
|
|
16
|
-
def poll(self, context):
|
|
17
|
-
"""
|
|
18
|
-
|
|
19
|
-
:param context:
|
|
20
|
-
"""
|
|
21
|
-
...
|
|
22
|
-
|
|
23
11
|
class DATA_PT_cone(DataButtonsPanel, bpy_types._GenericUI):
|
|
24
12
|
COMPAT_ENGINES: typing.Any
|
|
25
13
|
bl_context: typing.Any
|
|
@@ -1165,3 +1153,15 @@ class DATA_PT_speaker(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
1165
1153
|
:return: custom property values.
|
|
1166
1154
|
"""
|
|
1167
1155
|
...
|
|
1156
|
+
|
|
1157
|
+
class DataButtonsPanel:
|
|
1158
|
+
bl_context: typing.Any
|
|
1159
|
+
bl_region_type: typing.Any
|
|
1160
|
+
bl_space_type: typing.Any
|
|
1161
|
+
|
|
1162
|
+
def poll(self, context):
|
|
1163
|
+
"""
|
|
1164
|
+
|
|
1165
|
+
:param context:
|
|
1166
|
+
"""
|
|
1167
|
+
...
|