fake-bpy-module 20240718__py3-none-any.whl → 20240720__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/add_mesh_torus/__init__.pyi +1 -190
- bl_operators/anim/__init__.pyi +104 -1504
- bl_operators/assets/__init__.pyi +3 -535
- bl_operators/bone_selection_sets/__init__.pyi +187 -2680
- bl_operators/clip/__init__.pyi +144 -1894
- bl_operators/connect_to_output/__init__.pyi +3 -176
- bl_operators/console/__init__.pyi +5 -880
- bl_operators/constraint/__init__.pyi +4 -704
- bl_operators/file/__init__.pyi +3 -528
- bl_operators/freestyle/__init__.pyi +4 -704
- bl_operators/geometry_nodes/__init__.pyi +4 -704
- bl_operators/image/__init__.pyi +5 -869
- bl_operators/image_as_planes/__init__.pyi +4 -424
- bl_operators/mesh/__init__.pyi +3 -528
- bl_operators/node/__init__.pyi +159 -2065
- bl_operators/object/__init__.pyi +217 -2842
- bl_operators/object_align/__init__.pyi +1 -176
- bl_operators/object_quick_effects/__init__.pyi +4 -725
- bl_operators/object_randomize_transform/__init__.pyi +1 -176
- bl_operators/presets/__init__.pyi +405 -5487
- bl_operators/rigidbody/__init__.pyi +3 -528
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -176
- bl_operators/sequencer/__init__.pyi +119 -1507
- bl_operators/spreadsheet/__init__.pyi +1 -176
- bl_operators/userpref/__init__.pyi +383 -4757
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -176
- bl_operators/uvcalc_lightmap/__init__.pyi +1 -176
- bl_operators/uvcalc_transform/__init__.pyi +2 -352
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -176
- bl_operators/view3d/__init__.pyi +101 -1468
- bl_operators/wm/__init__.pyi +723 -8894
- bl_operators/world/__init__.pyi +1 -176
- bl_ui/__init__.pyi +3 -534
- bl_ui/anim/__init__.pyi +1 -244
- bl_ui/asset_shelf/__init__.pyi +1 -189
- bl_ui/generic_ui_list/__init__.pyi +3 -594
- bl_ui/node_add_menu/__init__.pyi +1 -244
- bl_ui/node_add_menu_compositor/__init__.pyi +226 -4600
- bl_ui/node_add_menu_geometry/__init__.pyi +654 -12802
- bl_ui/node_add_menu_shader/__init__.pyi +94 -2531
- bl_ui/node_add_menu_texture/__init__.pyi +81 -2268
- bl_ui/properties_collection/__init__.pyi +58 -1272
- bl_ui/properties_constraint/__init__.pyi +1508 -32656
- bl_ui/properties_data_armature/__init__.pyi +278 -3804
- bl_ui/properties_data_bone/__init__.pyi +151 -2062
- bl_ui/properties_data_camera/__init__.pyi +216 -3034
- bl_ui/properties_data_curve/__init__.pyi +214 -3117
- bl_ui/properties_data_curves/__init__.pyi +57 -1273
- bl_ui/properties_data_empty/__init__.pyi +2 -385
- bl_ui/properties_data_gpencil/__init__.pyi +285 -3922
- bl_ui/properties_data_grease_pencil/__init__.pyi +198 -3081
- bl_ui/properties_data_lattice/__init__.pyi +3 -595
- bl_ui/properties_data_light/__init__.pyi +200 -2502
- bl_ui/properties_data_lightprobe/__init__.pyi +212 -2704
- bl_ui/properties_data_mesh/__init__.pyi +323 -4380
- bl_ui/properties_data_metaball/__init__.pyi +38 -1011
- bl_ui/properties_data_modifier/__init__.pyi +157 -2451
- bl_ui/properties_data_pointcloud/__init__.pyi +68 -1087
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -189
- bl_ui/properties_data_speaker/__init__.pyi +36 -1018
- bl_ui/properties_data_volume/__init__.pyi +104 -1660
- bl_ui/properties_freestyle/__init__.pyi +438 -5136
- bl_ui/properties_grease_pencil_common/__init__.pyi +197 -3852
- bl_ui/properties_mask_common/__init__.pyi +59 -1705
- bl_ui/properties_material/__init__.pyi +227 -3334
- bl_ui/properties_material_gpencil/__init__.pyi +187 -2221
- bl_ui/properties_object/__init__.pyi +197 -2908
- bl_ui/properties_output/__init__.pyi +286 -3895
- bl_ui/properties_paint_common/__init__.pyi +40 -923
- bl_ui/properties_particle/__init__.pyi +954 -10839
- bl_ui/properties_physics_cloth/__init__.pyi +219 -2979
- bl_ui/properties_physics_common/__init__.pyi +1 -196
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +429 -5411
- bl_ui/properties_physics_field/__init__.pyi +160 -2166
- bl_ui/properties_physics_fluid/__init__.pyi +541 -7352
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -189
- bl_ui/properties_physics_rigidbody/__init__.pyi +125 -1623
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +196 -2640
- bl_ui/properties_physics_softbody/__init__.pyi +238 -3135
- bl_ui/properties_render/__init__.pyi +1065 -11565
- bl_ui/properties_scene/__init__.pyi +209 -3090
- bl_ui/properties_texture/__init__.pyi +426 -5475
- bl_ui/properties_view_layer/__init__.pyi +264 -3827
- bl_ui/properties_workspace/__init__.pyi +7 -770
- bl_ui/properties_world/__init__.pyi +147 -2056
- bl_ui/space_clip/__init__.pyi +1013 -16279
- bl_ui/space_console/__init__.pyi +39 -1442
- bl_ui/space_dopesheet/__init__.pyi +450 -7213
- bl_ui/space_filebrowser/__init__.pyi +406 -6708
- bl_ui/space_graph/__init__.pyi +223 -4886
- bl_ui/space_image/__init__.pyi +1091 -16394
- bl_ui/space_info/__init__.pyi +39 -1442
- bl_ui/space_nla/__init__.pyi +216 -4157
- bl_ui/space_node/__init__.pyi +394 -6344
- bl_ui/space_outliner/__init__.pyi +156 -3448
- bl_ui/space_properties/__init__.pyi +3 -567
- bl_ui/space_sequencer/__init__.pyi +1224 -18036
- bl_ui/space_spreadsheet/__init__.pyi +1 -189
- bl_ui/space_statusbar/__init__.pyi +1 -189
- bl_ui/space_text/__init__.pyi +183 -3851
- bl_ui/space_time/__init__.pyi +69 -1622
- bl_ui/space_toolsystem_common/__init__.pyi +2 -118
- bl_ui/space_toolsystem_toolbar/__init__.pyi +13 -476
- bl_ui/space_topbar/__init__.pyi +322 -6269
- bl_ui/space_userpref/__init__.pyi +1758 -19735
- bl_ui/space_view3d/__init__.pyi +3853 -67593
- bl_ui/space_view3d_toolbar/__init__.pyi +1948 -23558
- bl_ui/temp_anim_layers/__init__.pyi +1 -189
- bl_ui/utils/__init__.pyi +0 -35
- bpy/ops/outliner/__init__.pyi +0 -1
- bpy/ops/sound/__init__.pyi +37 -7
- bpy/types/__init__.pyi +65 -8
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/RECORD +120 -120
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +268 -4448
- nodeitems_builtins/__init__.pyi +1 -7
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ import rna_prop_ui
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class WORKSPACE_PT_addons(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
11
|
+
class WORKSPACE_PT_addons(bpy.types.Panel, WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
12
12
|
addon_map: typing.Any
|
|
13
13
|
bl_category: typing.Any
|
|
14
14
|
bl_label: typing.Any
|
|
@@ -19,22 +19,6 @@ class WORKSPACE_PT_addons(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
|
19
19
|
id_data: typing.Any
|
|
20
20
|
owner_ids: typing.Any
|
|
21
21
|
|
|
22
|
-
def append(self, draw_func):
|
|
23
|
-
"""Append a draw function to this menu,
|
|
24
|
-
takes the same arguments as the menus draw function
|
|
25
|
-
|
|
26
|
-
:param draw_func:
|
|
27
|
-
"""
|
|
28
|
-
...
|
|
29
|
-
|
|
30
|
-
def as_pointer(self) -> int:
|
|
31
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
32
|
-
|
|
33
|
-
:return: int (memory address).
|
|
34
|
-
:rtype: int
|
|
35
|
-
"""
|
|
36
|
-
...
|
|
37
|
-
|
|
38
22
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
39
23
|
"""
|
|
40
24
|
|
|
@@ -65,180 +49,11 @@ class WORKSPACE_PT_addons(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
|
65
49
|
"""
|
|
66
50
|
...
|
|
67
51
|
|
|
68
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
69
|
-
"""Adds driver(s) to the given property
|
|
70
|
-
|
|
71
|
-
:return: The driver(s) added.
|
|
72
|
-
:rtype: bpy.types.FCurve
|
|
73
|
-
"""
|
|
74
|
-
...
|
|
75
|
-
|
|
76
|
-
def driver_remove(self) -> bool:
|
|
77
|
-
"""Remove driver(s) from the given property
|
|
78
|
-
|
|
79
|
-
:return: Success of driver removal.
|
|
80
|
-
:rtype: bool
|
|
81
|
-
"""
|
|
82
|
-
...
|
|
83
|
-
|
|
84
|
-
def get(self):
|
|
85
|
-
"""Returns the value of the custom property assigned to key or default
|
|
86
|
-
when not found (matches Python's dictionary function of the same name).
|
|
87
|
-
|
|
88
|
-
"""
|
|
89
|
-
...
|
|
90
|
-
|
|
91
|
-
def id_properties_clear(self):
|
|
92
|
-
"""
|
|
93
|
-
|
|
94
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
95
|
-
"""
|
|
96
|
-
...
|
|
97
|
-
|
|
98
|
-
def id_properties_ensure(self):
|
|
99
|
-
"""
|
|
100
|
-
|
|
101
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
102
|
-
"""
|
|
103
|
-
...
|
|
104
|
-
|
|
105
|
-
def id_properties_ui(self):
|
|
106
|
-
"""
|
|
107
|
-
|
|
108
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
109
|
-
"""
|
|
110
|
-
...
|
|
111
|
-
|
|
112
|
-
def is_extended(self): ...
|
|
113
|
-
def is_property_hidden(self) -> bool:
|
|
114
|
-
"""Check if a property is hidden.
|
|
115
|
-
|
|
116
|
-
:return: True when the property is hidden.
|
|
117
|
-
:rtype: bool
|
|
118
|
-
"""
|
|
119
|
-
...
|
|
120
|
-
|
|
121
|
-
def is_property_overridable_library(self) -> bool:
|
|
122
|
-
"""Check if a property is overridable.
|
|
123
|
-
|
|
124
|
-
:return: True when the property is overridable.
|
|
125
|
-
:rtype: bool
|
|
126
|
-
"""
|
|
127
|
-
...
|
|
128
|
-
|
|
129
|
-
def is_property_readonly(self) -> bool:
|
|
130
|
-
"""Check if a property is readonly.
|
|
131
|
-
|
|
132
|
-
:return: True when the property is readonly (not writable).
|
|
133
|
-
:rtype: bool
|
|
134
|
-
"""
|
|
135
|
-
...
|
|
136
|
-
|
|
137
|
-
def is_property_set(self) -> bool:
|
|
138
|
-
"""Check if a property is set, use for testing operator properties.
|
|
139
|
-
|
|
140
|
-
:return: True when the property has been set.
|
|
141
|
-
:rtype: bool
|
|
142
|
-
"""
|
|
143
|
-
...
|
|
144
|
-
|
|
145
|
-
def items(self):
|
|
146
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
147
|
-
dictionary function of the same name).
|
|
148
|
-
|
|
149
|
-
:return: custom property key, value pairs.
|
|
150
|
-
"""
|
|
151
|
-
...
|
|
152
|
-
|
|
153
|
-
def keyframe_delete(self) -> bool:
|
|
154
|
-
"""Remove a keyframe from this properties fcurve.
|
|
155
|
-
|
|
156
|
-
:return: Success of keyframe deletion.
|
|
157
|
-
:rtype: bool
|
|
158
|
-
"""
|
|
159
|
-
...
|
|
160
|
-
|
|
161
|
-
def keyframe_insert(self) -> bool:
|
|
162
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
163
|
-
|
|
164
|
-
:return: Success of keyframe insertion.
|
|
165
|
-
:rtype: bool
|
|
166
|
-
"""
|
|
167
|
-
...
|
|
168
|
-
|
|
169
|
-
def keys(self):
|
|
170
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
171
|
-
dictionary function of the same name).
|
|
172
|
-
|
|
173
|
-
:return: custom property keys.
|
|
174
|
-
"""
|
|
175
|
-
...
|
|
176
|
-
|
|
177
|
-
def path_from_id(self) -> str:
|
|
178
|
-
"""Returns the data path from the ID to this object (string).
|
|
179
|
-
|
|
180
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
181
|
-
to this struct and property (when given).
|
|
182
|
-
:rtype: str
|
|
183
|
-
"""
|
|
184
|
-
...
|
|
185
|
-
|
|
186
|
-
def path_resolve(self):
|
|
187
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
188
|
-
...
|
|
189
|
-
|
|
190
|
-
def pop(self):
|
|
191
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
192
|
-
when not found (matches Python's dictionary function of the same name).
|
|
193
|
-
|
|
194
|
-
"""
|
|
195
|
-
...
|
|
196
|
-
|
|
197
|
-
def prepend(self, draw_func):
|
|
198
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
199
|
-
the menus draw function
|
|
200
|
-
|
|
201
|
-
:param draw_func:
|
|
202
|
-
"""
|
|
203
|
-
...
|
|
204
|
-
|
|
205
|
-
def property_overridable_library_set(self) -> bool:
|
|
206
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
207
|
-
|
|
208
|
-
:return: True when the overridable status of the property was successfully set.
|
|
209
|
-
:rtype: bool
|
|
210
|
-
"""
|
|
211
|
-
...
|
|
212
|
-
|
|
213
|
-
def property_unset(self):
|
|
214
|
-
"""Unset a property, will use default value afterward."""
|
|
215
|
-
...
|
|
216
|
-
|
|
217
|
-
def remove(self, draw_func):
|
|
218
|
-
"""Remove a draw function that has been added to this menu
|
|
219
|
-
|
|
220
|
-
:param draw_func:
|
|
221
|
-
"""
|
|
222
|
-
...
|
|
223
|
-
|
|
224
|
-
def type_recast(self):
|
|
225
|
-
"""Return a new instance, this is needed because types
|
|
226
|
-
such as textures can be changed at runtime.
|
|
227
|
-
|
|
228
|
-
:return: a new instance of this object with the type initialized again.
|
|
229
|
-
"""
|
|
230
|
-
...
|
|
231
|
-
|
|
232
|
-
def values(self):
|
|
233
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
234
|
-
dictionary function of the same name).
|
|
235
|
-
|
|
236
|
-
:return: custom property values.
|
|
237
|
-
"""
|
|
238
|
-
...
|
|
239
|
-
|
|
240
52
|
class WORKSPACE_PT_custom_props(
|
|
241
|
-
|
|
53
|
+
bpy.types.Panel,
|
|
54
|
+
WorkSpaceButtonsPanel,
|
|
55
|
+
rna_prop_ui.PropertyPanel,
|
|
56
|
+
bpy_types._GenericUI,
|
|
242
57
|
):
|
|
243
58
|
"""The subclass should have its own poll function
|
|
244
59
|
and the variable '_context_path' MUST be set.
|
|
@@ -254,22 +69,6 @@ class WORKSPACE_PT_custom_props(
|
|
|
254
69
|
bl_space_type: typing.Any
|
|
255
70
|
id_data: typing.Any
|
|
256
71
|
|
|
257
|
-
def append(self, draw_func):
|
|
258
|
-
"""Append a draw function to this menu,
|
|
259
|
-
takes the same arguments as the menus draw function
|
|
260
|
-
|
|
261
|
-
:param draw_func:
|
|
262
|
-
"""
|
|
263
|
-
...
|
|
264
|
-
|
|
265
|
-
def as_pointer(self) -> int:
|
|
266
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
267
|
-
|
|
268
|
-
:return: int (memory address).
|
|
269
|
-
:rtype: int
|
|
270
|
-
"""
|
|
271
|
-
...
|
|
272
|
-
|
|
273
72
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
274
73
|
"""
|
|
275
74
|
|
|
@@ -286,193 +85,7 @@ class WORKSPACE_PT_custom_props(
|
|
|
286
85
|
"""
|
|
287
86
|
...
|
|
288
87
|
|
|
289
|
-
|
|
290
|
-
"""
|
|
291
|
-
|
|
292
|
-
:param context:
|
|
293
|
-
"""
|
|
294
|
-
...
|
|
295
|
-
|
|
296
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
297
|
-
"""Adds driver(s) to the given property
|
|
298
|
-
|
|
299
|
-
:return: The driver(s) added.
|
|
300
|
-
:rtype: bpy.types.FCurve
|
|
301
|
-
"""
|
|
302
|
-
...
|
|
303
|
-
|
|
304
|
-
def driver_remove(self) -> bool:
|
|
305
|
-
"""Remove driver(s) from the given property
|
|
306
|
-
|
|
307
|
-
:return: Success of driver removal.
|
|
308
|
-
:rtype: bool
|
|
309
|
-
"""
|
|
310
|
-
...
|
|
311
|
-
|
|
312
|
-
def get(self):
|
|
313
|
-
"""Returns the value of the custom property assigned to key or default
|
|
314
|
-
when not found (matches Python's dictionary function of the same name).
|
|
315
|
-
|
|
316
|
-
"""
|
|
317
|
-
...
|
|
318
|
-
|
|
319
|
-
def id_properties_clear(self):
|
|
320
|
-
"""
|
|
321
|
-
|
|
322
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
323
|
-
"""
|
|
324
|
-
...
|
|
325
|
-
|
|
326
|
-
def id_properties_ensure(self):
|
|
327
|
-
"""
|
|
328
|
-
|
|
329
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
330
|
-
"""
|
|
331
|
-
...
|
|
332
|
-
|
|
333
|
-
def id_properties_ui(self):
|
|
334
|
-
"""
|
|
335
|
-
|
|
336
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
337
|
-
"""
|
|
338
|
-
...
|
|
339
|
-
|
|
340
|
-
def is_extended(self): ...
|
|
341
|
-
def is_property_hidden(self) -> bool:
|
|
342
|
-
"""Check if a property is hidden.
|
|
343
|
-
|
|
344
|
-
:return: True when the property is hidden.
|
|
345
|
-
:rtype: bool
|
|
346
|
-
"""
|
|
347
|
-
...
|
|
348
|
-
|
|
349
|
-
def is_property_overridable_library(self) -> bool:
|
|
350
|
-
"""Check if a property is overridable.
|
|
351
|
-
|
|
352
|
-
:return: True when the property is overridable.
|
|
353
|
-
:rtype: bool
|
|
354
|
-
"""
|
|
355
|
-
...
|
|
356
|
-
|
|
357
|
-
def is_property_readonly(self) -> bool:
|
|
358
|
-
"""Check if a property is readonly.
|
|
359
|
-
|
|
360
|
-
:return: True when the property is readonly (not writable).
|
|
361
|
-
:rtype: bool
|
|
362
|
-
"""
|
|
363
|
-
...
|
|
364
|
-
|
|
365
|
-
def is_property_set(self) -> bool:
|
|
366
|
-
"""Check if a property is set, use for testing operator properties.
|
|
367
|
-
|
|
368
|
-
:return: True when the property has been set.
|
|
369
|
-
:rtype: bool
|
|
370
|
-
"""
|
|
371
|
-
...
|
|
372
|
-
|
|
373
|
-
def items(self):
|
|
374
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
375
|
-
dictionary function of the same name).
|
|
376
|
-
|
|
377
|
-
:return: custom property key, value pairs.
|
|
378
|
-
"""
|
|
379
|
-
...
|
|
380
|
-
|
|
381
|
-
def keyframe_delete(self) -> bool:
|
|
382
|
-
"""Remove a keyframe from this properties fcurve.
|
|
383
|
-
|
|
384
|
-
:return: Success of keyframe deletion.
|
|
385
|
-
:rtype: bool
|
|
386
|
-
"""
|
|
387
|
-
...
|
|
388
|
-
|
|
389
|
-
def keyframe_insert(self) -> bool:
|
|
390
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
391
|
-
|
|
392
|
-
:return: Success of keyframe insertion.
|
|
393
|
-
:rtype: bool
|
|
394
|
-
"""
|
|
395
|
-
...
|
|
396
|
-
|
|
397
|
-
def keys(self):
|
|
398
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
399
|
-
dictionary function of the same name).
|
|
400
|
-
|
|
401
|
-
:return: custom property keys.
|
|
402
|
-
"""
|
|
403
|
-
...
|
|
404
|
-
|
|
405
|
-
def path_from_id(self) -> str:
|
|
406
|
-
"""Returns the data path from the ID to this object (string).
|
|
407
|
-
|
|
408
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
409
|
-
to this struct and property (when given).
|
|
410
|
-
:rtype: str
|
|
411
|
-
"""
|
|
412
|
-
...
|
|
413
|
-
|
|
414
|
-
def path_resolve(self):
|
|
415
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
416
|
-
...
|
|
417
|
-
|
|
418
|
-
def poll(self, context):
|
|
419
|
-
"""
|
|
420
|
-
|
|
421
|
-
:param context:
|
|
422
|
-
"""
|
|
423
|
-
...
|
|
424
|
-
|
|
425
|
-
def pop(self):
|
|
426
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
427
|
-
when not found (matches Python's dictionary function of the same name).
|
|
428
|
-
|
|
429
|
-
"""
|
|
430
|
-
...
|
|
431
|
-
|
|
432
|
-
def prepend(self, draw_func):
|
|
433
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
434
|
-
the menus draw function
|
|
435
|
-
|
|
436
|
-
:param draw_func:
|
|
437
|
-
"""
|
|
438
|
-
...
|
|
439
|
-
|
|
440
|
-
def property_overridable_library_set(self) -> bool:
|
|
441
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
442
|
-
|
|
443
|
-
:return: True when the overridable status of the property was successfully set.
|
|
444
|
-
:rtype: bool
|
|
445
|
-
"""
|
|
446
|
-
...
|
|
447
|
-
|
|
448
|
-
def property_unset(self):
|
|
449
|
-
"""Unset a property, will use default value afterward."""
|
|
450
|
-
...
|
|
451
|
-
|
|
452
|
-
def remove(self, draw_func):
|
|
453
|
-
"""Remove a draw function that has been added to this menu
|
|
454
|
-
|
|
455
|
-
:param draw_func:
|
|
456
|
-
"""
|
|
457
|
-
...
|
|
458
|
-
|
|
459
|
-
def type_recast(self):
|
|
460
|
-
"""Return a new instance, this is needed because types
|
|
461
|
-
such as textures can be changed at runtime.
|
|
462
|
-
|
|
463
|
-
:return: a new instance of this object with the type initialized again.
|
|
464
|
-
"""
|
|
465
|
-
...
|
|
466
|
-
|
|
467
|
-
def values(self):
|
|
468
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
469
|
-
dictionary function of the same name).
|
|
470
|
-
|
|
471
|
-
:return: custom property values.
|
|
472
|
-
"""
|
|
473
|
-
...
|
|
474
|
-
|
|
475
|
-
class WORKSPACE_PT_main(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
88
|
+
class WORKSPACE_PT_main(bpy.types.Panel, WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
476
89
|
bl_category: typing.Any
|
|
477
90
|
bl_label: typing.Any
|
|
478
91
|
bl_options: typing.Any
|
|
@@ -481,22 +94,6 @@ class WORKSPACE_PT_main(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
|
481
94
|
bl_space_type: typing.Any
|
|
482
95
|
id_data: typing.Any
|
|
483
96
|
|
|
484
|
-
def append(self, draw_func):
|
|
485
|
-
"""Append a draw function to this menu,
|
|
486
|
-
takes the same arguments as the menus draw function
|
|
487
|
-
|
|
488
|
-
:param draw_func:
|
|
489
|
-
"""
|
|
490
|
-
...
|
|
491
|
-
|
|
492
|
-
def as_pointer(self) -> int:
|
|
493
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
494
|
-
|
|
495
|
-
:return: int (memory address).
|
|
496
|
-
:rtype: int
|
|
497
|
-
"""
|
|
498
|
-
...
|
|
499
|
-
|
|
500
97
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
501
98
|
"""
|
|
502
99
|
|
|
@@ -520,198 +117,10 @@ class WORKSPACE_PT_main(WorkSpaceButtonsPanel, bpy_types._GenericUI):
|
|
|
520
117
|
"""
|
|
521
118
|
...
|
|
522
119
|
|
|
523
|
-
|
|
524
|
-
"""Adds driver(s) to the given property
|
|
525
|
-
|
|
526
|
-
:return: The driver(s) added.
|
|
527
|
-
:rtype: bpy.types.FCurve
|
|
528
|
-
"""
|
|
529
|
-
...
|
|
530
|
-
|
|
531
|
-
def driver_remove(self) -> bool:
|
|
532
|
-
"""Remove driver(s) from the given property
|
|
533
|
-
|
|
534
|
-
:return: Success of driver removal.
|
|
535
|
-
:rtype: bool
|
|
536
|
-
"""
|
|
537
|
-
...
|
|
538
|
-
|
|
539
|
-
def get(self):
|
|
540
|
-
"""Returns the value of the custom property assigned to key or default
|
|
541
|
-
when not found (matches Python's dictionary function of the same name).
|
|
542
|
-
|
|
543
|
-
"""
|
|
544
|
-
...
|
|
545
|
-
|
|
546
|
-
def id_properties_clear(self):
|
|
547
|
-
"""
|
|
548
|
-
|
|
549
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
550
|
-
"""
|
|
551
|
-
...
|
|
552
|
-
|
|
553
|
-
def id_properties_ensure(self):
|
|
554
|
-
"""
|
|
555
|
-
|
|
556
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
557
|
-
"""
|
|
558
|
-
...
|
|
559
|
-
|
|
560
|
-
def id_properties_ui(self):
|
|
561
|
-
"""
|
|
562
|
-
|
|
563
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
564
|
-
"""
|
|
565
|
-
...
|
|
566
|
-
|
|
567
|
-
def is_extended(self): ...
|
|
568
|
-
def is_property_hidden(self) -> bool:
|
|
569
|
-
"""Check if a property is hidden.
|
|
570
|
-
|
|
571
|
-
:return: True when the property is hidden.
|
|
572
|
-
:rtype: bool
|
|
573
|
-
"""
|
|
574
|
-
...
|
|
575
|
-
|
|
576
|
-
def is_property_overridable_library(self) -> bool:
|
|
577
|
-
"""Check if a property is overridable.
|
|
578
|
-
|
|
579
|
-
:return: True when the property is overridable.
|
|
580
|
-
:rtype: bool
|
|
581
|
-
"""
|
|
582
|
-
...
|
|
583
|
-
|
|
584
|
-
def is_property_readonly(self) -> bool:
|
|
585
|
-
"""Check if a property is readonly.
|
|
586
|
-
|
|
587
|
-
:return: True when the property is readonly (not writable).
|
|
588
|
-
:rtype: bool
|
|
589
|
-
"""
|
|
590
|
-
...
|
|
591
|
-
|
|
592
|
-
def is_property_set(self) -> bool:
|
|
593
|
-
"""Check if a property is set, use for testing operator properties.
|
|
594
|
-
|
|
595
|
-
:return: True when the property has been set.
|
|
596
|
-
:rtype: bool
|
|
597
|
-
"""
|
|
598
|
-
...
|
|
599
|
-
|
|
600
|
-
def items(self):
|
|
601
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
602
|
-
dictionary function of the same name).
|
|
603
|
-
|
|
604
|
-
:return: custom property key, value pairs.
|
|
605
|
-
"""
|
|
606
|
-
...
|
|
607
|
-
|
|
608
|
-
def keyframe_delete(self) -> bool:
|
|
609
|
-
"""Remove a keyframe from this properties fcurve.
|
|
610
|
-
|
|
611
|
-
:return: Success of keyframe deletion.
|
|
612
|
-
:rtype: bool
|
|
613
|
-
"""
|
|
614
|
-
...
|
|
615
|
-
|
|
616
|
-
def keyframe_insert(self) -> bool:
|
|
617
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
618
|
-
|
|
619
|
-
:return: Success of keyframe insertion.
|
|
620
|
-
:rtype: bool
|
|
621
|
-
"""
|
|
622
|
-
...
|
|
623
|
-
|
|
624
|
-
def keys(self):
|
|
625
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
626
|
-
dictionary function of the same name).
|
|
627
|
-
|
|
628
|
-
:return: custom property keys.
|
|
629
|
-
"""
|
|
630
|
-
...
|
|
631
|
-
|
|
632
|
-
def path_from_id(self) -> str:
|
|
633
|
-
"""Returns the data path from the ID to this object (string).
|
|
634
|
-
|
|
635
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
636
|
-
to this struct and property (when given).
|
|
637
|
-
:rtype: str
|
|
638
|
-
"""
|
|
639
|
-
...
|
|
640
|
-
|
|
641
|
-
def path_resolve(self):
|
|
642
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
643
|
-
...
|
|
644
|
-
|
|
645
|
-
def pop(self):
|
|
646
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
647
|
-
when not found (matches Python's dictionary function of the same name).
|
|
648
|
-
|
|
649
|
-
"""
|
|
650
|
-
...
|
|
651
|
-
|
|
652
|
-
def prepend(self, draw_func):
|
|
653
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
654
|
-
the menus draw function
|
|
655
|
-
|
|
656
|
-
:param draw_func:
|
|
657
|
-
"""
|
|
658
|
-
...
|
|
659
|
-
|
|
660
|
-
def property_overridable_library_set(self) -> bool:
|
|
661
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
662
|
-
|
|
663
|
-
:return: True when the overridable status of the property was successfully set.
|
|
664
|
-
:rtype: bool
|
|
665
|
-
"""
|
|
666
|
-
...
|
|
667
|
-
|
|
668
|
-
def property_unset(self):
|
|
669
|
-
"""Unset a property, will use default value afterward."""
|
|
670
|
-
...
|
|
671
|
-
|
|
672
|
-
def remove(self, draw_func):
|
|
673
|
-
"""Remove a draw function that has been added to this menu
|
|
674
|
-
|
|
675
|
-
:param draw_func:
|
|
676
|
-
"""
|
|
677
|
-
...
|
|
678
|
-
|
|
679
|
-
def type_recast(self):
|
|
680
|
-
"""Return a new instance, this is needed because types
|
|
681
|
-
such as textures can be changed at runtime.
|
|
682
|
-
|
|
683
|
-
:return: a new instance of this object with the type initialized again.
|
|
684
|
-
"""
|
|
685
|
-
...
|
|
686
|
-
|
|
687
|
-
def values(self):
|
|
688
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
689
|
-
dictionary function of the same name).
|
|
690
|
-
|
|
691
|
-
:return: custom property values.
|
|
692
|
-
"""
|
|
693
|
-
...
|
|
694
|
-
|
|
695
|
-
class WORKSPACE_UL_addons_items(bpy_types._GenericUI):
|
|
120
|
+
class WORKSPACE_UL_addons_items(bpy.types.UIList, bpy_types._GenericUI):
|
|
696
121
|
bl_rna: typing.Any
|
|
697
122
|
id_data: typing.Any
|
|
698
123
|
|
|
699
|
-
def append(self, draw_func):
|
|
700
|
-
"""Append a draw function to this menu,
|
|
701
|
-
takes the same arguments as the menus draw function
|
|
702
|
-
|
|
703
|
-
:param draw_func:
|
|
704
|
-
"""
|
|
705
|
-
...
|
|
706
|
-
|
|
707
|
-
def as_pointer(self) -> int:
|
|
708
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
709
|
-
|
|
710
|
-
:return: int (memory address).
|
|
711
|
-
:rtype: int
|
|
712
|
-
"""
|
|
713
|
-
...
|
|
714
|
-
|
|
715
124
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
716
125
|
"""
|
|
717
126
|
|
|
@@ -752,22 +161,6 @@ class WORKSPACE_UL_addons_items(bpy_types._GenericUI):
|
|
|
752
161
|
"""
|
|
753
162
|
...
|
|
754
163
|
|
|
755
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
756
|
-
"""Adds driver(s) to the given property
|
|
757
|
-
|
|
758
|
-
:return: The driver(s) added.
|
|
759
|
-
:rtype: bpy.types.FCurve
|
|
760
|
-
"""
|
|
761
|
-
...
|
|
762
|
-
|
|
763
|
-
def driver_remove(self) -> bool:
|
|
764
|
-
"""Remove driver(s) from the given property
|
|
765
|
-
|
|
766
|
-
:return: Success of driver removal.
|
|
767
|
-
:rtype: bool
|
|
768
|
-
"""
|
|
769
|
-
...
|
|
770
|
-
|
|
771
164
|
def filter_items(self, _context, data, property):
|
|
772
165
|
"""
|
|
773
166
|
|
|
@@ -777,162 +170,6 @@ class WORKSPACE_UL_addons_items(bpy_types._GenericUI):
|
|
|
777
170
|
"""
|
|
778
171
|
...
|
|
779
172
|
|
|
780
|
-
def get(self):
|
|
781
|
-
"""Returns the value of the custom property assigned to key or default
|
|
782
|
-
when not found (matches Python's dictionary function of the same name).
|
|
783
|
-
|
|
784
|
-
"""
|
|
785
|
-
...
|
|
786
|
-
|
|
787
|
-
def id_properties_clear(self):
|
|
788
|
-
"""
|
|
789
|
-
|
|
790
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
791
|
-
"""
|
|
792
|
-
...
|
|
793
|
-
|
|
794
|
-
def id_properties_ensure(self):
|
|
795
|
-
"""
|
|
796
|
-
|
|
797
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
798
|
-
"""
|
|
799
|
-
...
|
|
800
|
-
|
|
801
|
-
def id_properties_ui(self):
|
|
802
|
-
"""
|
|
803
|
-
|
|
804
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
805
|
-
"""
|
|
806
|
-
...
|
|
807
|
-
|
|
808
|
-
def is_extended(self): ...
|
|
809
|
-
def is_property_hidden(self) -> bool:
|
|
810
|
-
"""Check if a property is hidden.
|
|
811
|
-
|
|
812
|
-
:return: True when the property is hidden.
|
|
813
|
-
:rtype: bool
|
|
814
|
-
"""
|
|
815
|
-
...
|
|
816
|
-
|
|
817
|
-
def is_property_overridable_library(self) -> bool:
|
|
818
|
-
"""Check if a property is overridable.
|
|
819
|
-
|
|
820
|
-
:return: True when the property is overridable.
|
|
821
|
-
:rtype: bool
|
|
822
|
-
"""
|
|
823
|
-
...
|
|
824
|
-
|
|
825
|
-
def is_property_readonly(self) -> bool:
|
|
826
|
-
"""Check if a property is readonly.
|
|
827
|
-
|
|
828
|
-
:return: True when the property is readonly (not writable).
|
|
829
|
-
:rtype: bool
|
|
830
|
-
"""
|
|
831
|
-
...
|
|
832
|
-
|
|
833
|
-
def is_property_set(self) -> bool:
|
|
834
|
-
"""Check if a property is set, use for testing operator properties.
|
|
835
|
-
|
|
836
|
-
:return: True when the property has been set.
|
|
837
|
-
:rtype: bool
|
|
838
|
-
"""
|
|
839
|
-
...
|
|
840
|
-
|
|
841
|
-
def items(self):
|
|
842
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
843
|
-
dictionary function of the same name).
|
|
844
|
-
|
|
845
|
-
:return: custom property key, value pairs.
|
|
846
|
-
"""
|
|
847
|
-
...
|
|
848
|
-
|
|
849
|
-
def keyframe_delete(self) -> bool:
|
|
850
|
-
"""Remove a keyframe from this properties fcurve.
|
|
851
|
-
|
|
852
|
-
:return: Success of keyframe deletion.
|
|
853
|
-
:rtype: bool
|
|
854
|
-
"""
|
|
855
|
-
...
|
|
856
|
-
|
|
857
|
-
def keyframe_insert(self) -> bool:
|
|
858
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
859
|
-
|
|
860
|
-
:return: Success of keyframe insertion.
|
|
861
|
-
:rtype: bool
|
|
862
|
-
"""
|
|
863
|
-
...
|
|
864
|
-
|
|
865
|
-
def keys(self):
|
|
866
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
867
|
-
dictionary function of the same name).
|
|
868
|
-
|
|
869
|
-
:return: custom property keys.
|
|
870
|
-
"""
|
|
871
|
-
...
|
|
872
|
-
|
|
873
|
-
def path_from_id(self) -> str:
|
|
874
|
-
"""Returns the data path from the ID to this object (string).
|
|
875
|
-
|
|
876
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
877
|
-
to this struct and property (when given).
|
|
878
|
-
:rtype: str
|
|
879
|
-
"""
|
|
880
|
-
...
|
|
881
|
-
|
|
882
|
-
def path_resolve(self):
|
|
883
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
884
|
-
...
|
|
885
|
-
|
|
886
|
-
def pop(self):
|
|
887
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
888
|
-
when not found (matches Python's dictionary function of the same name).
|
|
889
|
-
|
|
890
|
-
"""
|
|
891
|
-
...
|
|
892
|
-
|
|
893
|
-
def prepend(self, draw_func):
|
|
894
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
895
|
-
the menus draw function
|
|
896
|
-
|
|
897
|
-
:param draw_func:
|
|
898
|
-
"""
|
|
899
|
-
...
|
|
900
|
-
|
|
901
|
-
def property_overridable_library_set(self) -> bool:
|
|
902
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
903
|
-
|
|
904
|
-
:return: True when the overridable status of the property was successfully set.
|
|
905
|
-
:rtype: bool
|
|
906
|
-
"""
|
|
907
|
-
...
|
|
908
|
-
|
|
909
|
-
def property_unset(self):
|
|
910
|
-
"""Unset a property, will use default value afterward."""
|
|
911
|
-
...
|
|
912
|
-
|
|
913
|
-
def remove(self, draw_func):
|
|
914
|
-
"""Remove a draw function that has been added to this menu
|
|
915
|
-
|
|
916
|
-
:param draw_func:
|
|
917
|
-
"""
|
|
918
|
-
...
|
|
919
|
-
|
|
920
|
-
def type_recast(self):
|
|
921
|
-
"""Return a new instance, this is needed because types
|
|
922
|
-
such as textures can be changed at runtime.
|
|
923
|
-
|
|
924
|
-
:return: a new instance of this object with the type initialized again.
|
|
925
|
-
"""
|
|
926
|
-
...
|
|
927
|
-
|
|
928
|
-
def values(self):
|
|
929
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
930
|
-
dictionary function of the same name).
|
|
931
|
-
|
|
932
|
-
:return: custom property values.
|
|
933
|
-
"""
|
|
934
|
-
...
|
|
935
|
-
|
|
936
173
|
class WorkSpaceButtonsPanel:
|
|
937
174
|
bl_category: typing.Any
|
|
938
175
|
bl_region_type: typing.Any
|