fake-bpy-module 20240717__py3-none-any.whl → 20240719__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/screen/__init__.pyi +6 -3
- bpy/types/__init__.pyi +77 -5
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/RECORD +119 -119
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.dist-info}/WHEEL +1 -1
- keyingsets_builtins/__init__.pyi +268 -4448
- nodeitems_builtins/__init__.pyi +1 -7
- {fake_bpy_module-20240717.dist-info → fake_bpy_module-20240719.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 CURVES_MT_add_attribute(bpy_types._GenericUI):
|
|
11
|
+
class CURVES_MT_add_attribute(bpy.types.Menu, bpy_types._GenericUI):
|
|
12
12
|
bl_label: typing.Any
|
|
13
13
|
bl_rna: typing.Any
|
|
14
14
|
id_data: typing.Any
|
|
@@ -25,22 +25,6 @@ class CURVES_MT_add_attribute(bpy_types._GenericUI):
|
|
|
25
25
|
"""
|
|
26
26
|
...
|
|
27
27
|
|
|
28
|
-
def append(self, draw_func):
|
|
29
|
-
"""Append a draw function to this menu,
|
|
30
|
-
takes the same arguments as the menus draw function
|
|
31
|
-
|
|
32
|
-
:param draw_func:
|
|
33
|
-
"""
|
|
34
|
-
...
|
|
35
|
-
|
|
36
|
-
def as_pointer(self) -> int:
|
|
37
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
38
|
-
|
|
39
|
-
:return: int (memory address).
|
|
40
|
-
:rtype: int
|
|
41
|
-
"""
|
|
42
|
-
...
|
|
43
|
-
|
|
44
28
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
45
29
|
"""
|
|
46
30
|
|
|
@@ -64,253 +48,10 @@ class CURVES_MT_add_attribute(bpy_types._GenericUI):
|
|
|
64
48
|
"""
|
|
65
49
|
...
|
|
66
50
|
|
|
67
|
-
|
|
68
|
-
"""
|
|
69
|
-
|
|
70
|
-
:param context:
|
|
71
|
-
:param layout:
|
|
72
|
-
"""
|
|
73
|
-
...
|
|
74
|
-
|
|
75
|
-
def draw_preset(self, _context):
|
|
76
|
-
"""Define these on the subclass:
|
|
77
|
-
- preset_operator (string)
|
|
78
|
-
- preset_subdir (string)Optionally:
|
|
79
|
-
- preset_add_operator (string)
|
|
80
|
-
- preset_extensions (set of strings)
|
|
81
|
-
- preset_operator_defaults (dict of keyword args)
|
|
82
|
-
|
|
83
|
-
:param _context:
|
|
84
|
-
"""
|
|
85
|
-
...
|
|
86
|
-
|
|
87
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
88
|
-
"""Adds driver(s) to the given property
|
|
89
|
-
|
|
90
|
-
:return: The driver(s) added.
|
|
91
|
-
:rtype: bpy.types.FCurve
|
|
92
|
-
"""
|
|
93
|
-
...
|
|
94
|
-
|
|
95
|
-
def driver_remove(self) -> bool:
|
|
96
|
-
"""Remove driver(s) from the given property
|
|
97
|
-
|
|
98
|
-
:return: Success of driver removal.
|
|
99
|
-
:rtype: bool
|
|
100
|
-
"""
|
|
101
|
-
...
|
|
102
|
-
|
|
103
|
-
def get(self):
|
|
104
|
-
"""Returns the value of the custom property assigned to key or default
|
|
105
|
-
when not found (matches Python's dictionary function of the same name).
|
|
106
|
-
|
|
107
|
-
"""
|
|
108
|
-
...
|
|
109
|
-
|
|
110
|
-
def id_properties_clear(self):
|
|
111
|
-
"""
|
|
112
|
-
|
|
113
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
114
|
-
"""
|
|
115
|
-
...
|
|
116
|
-
|
|
117
|
-
def id_properties_ensure(self):
|
|
118
|
-
"""
|
|
119
|
-
|
|
120
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
121
|
-
"""
|
|
122
|
-
...
|
|
123
|
-
|
|
124
|
-
def id_properties_ui(self):
|
|
125
|
-
"""
|
|
126
|
-
|
|
127
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
128
|
-
"""
|
|
129
|
-
...
|
|
130
|
-
|
|
131
|
-
def is_extended(self): ...
|
|
132
|
-
def is_property_hidden(self) -> bool:
|
|
133
|
-
"""Check if a property is hidden.
|
|
134
|
-
|
|
135
|
-
:return: True when the property is hidden.
|
|
136
|
-
:rtype: bool
|
|
137
|
-
"""
|
|
138
|
-
...
|
|
139
|
-
|
|
140
|
-
def is_property_overridable_library(self) -> bool:
|
|
141
|
-
"""Check if a property is overridable.
|
|
142
|
-
|
|
143
|
-
:return: True when the property is overridable.
|
|
144
|
-
:rtype: bool
|
|
145
|
-
"""
|
|
146
|
-
...
|
|
147
|
-
|
|
148
|
-
def is_property_readonly(self) -> bool:
|
|
149
|
-
"""Check if a property is readonly.
|
|
150
|
-
|
|
151
|
-
:return: True when the property is readonly (not writable).
|
|
152
|
-
:rtype: bool
|
|
153
|
-
"""
|
|
154
|
-
...
|
|
155
|
-
|
|
156
|
-
def is_property_set(self) -> bool:
|
|
157
|
-
"""Check if a property is set, use for testing operator properties.
|
|
158
|
-
|
|
159
|
-
:return: True when the property has been set.
|
|
160
|
-
:rtype: bool
|
|
161
|
-
"""
|
|
162
|
-
...
|
|
163
|
-
|
|
164
|
-
def items(self):
|
|
165
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
166
|
-
dictionary function of the same name).
|
|
167
|
-
|
|
168
|
-
:return: custom property key, value pairs.
|
|
169
|
-
"""
|
|
170
|
-
...
|
|
171
|
-
|
|
172
|
-
def keyframe_delete(self) -> bool:
|
|
173
|
-
"""Remove a keyframe from this properties fcurve.
|
|
174
|
-
|
|
175
|
-
:return: Success of keyframe deletion.
|
|
176
|
-
:rtype: bool
|
|
177
|
-
"""
|
|
178
|
-
...
|
|
179
|
-
|
|
180
|
-
def keyframe_insert(self) -> bool:
|
|
181
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
182
|
-
|
|
183
|
-
:return: Success of keyframe insertion.
|
|
184
|
-
:rtype: bool
|
|
185
|
-
"""
|
|
186
|
-
...
|
|
187
|
-
|
|
188
|
-
def keys(self):
|
|
189
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
190
|
-
dictionary function of the same name).
|
|
191
|
-
|
|
192
|
-
:return: custom property keys.
|
|
193
|
-
"""
|
|
194
|
-
...
|
|
195
|
-
|
|
196
|
-
def path_from_id(self) -> str:
|
|
197
|
-
"""Returns the data path from the ID to this object (string).
|
|
198
|
-
|
|
199
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
200
|
-
to this struct and property (when given).
|
|
201
|
-
:rtype: str
|
|
202
|
-
"""
|
|
203
|
-
...
|
|
204
|
-
|
|
205
|
-
def path_menu(
|
|
206
|
-
self,
|
|
207
|
-
searchpaths: list[str],
|
|
208
|
-
operator: str,
|
|
209
|
-
*,
|
|
210
|
-
props_default: dict = None,
|
|
211
|
-
prop_filepath: str | None = "filepath",
|
|
212
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
213
|
-
filter_path=None,
|
|
214
|
-
display_name: collections.abc.Callable | None = None,
|
|
215
|
-
add_operator=None,
|
|
216
|
-
add_operator_props=None,
|
|
217
|
-
):
|
|
218
|
-
"""Populate a menu from a list of paths.
|
|
219
|
-
|
|
220
|
-
:param searchpaths: Paths to scan.
|
|
221
|
-
:type searchpaths: list[str]
|
|
222
|
-
:param operator: The operator id to use with each file.
|
|
223
|
-
:type operator: str
|
|
224
|
-
:param props_default: Properties to assign to each operator.
|
|
225
|
-
:type props_default: dict
|
|
226
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
227
|
-
:type prop_filepath: str | None
|
|
228
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
229
|
-
|
|
230
|
-
Returning false excludes the file from the list.
|
|
231
|
-
:type filter_ext: collections.abc.Callable | None
|
|
232
|
-
:param filter_path:
|
|
233
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
234
|
-
:type display_name: collections.abc.Callable | None
|
|
235
|
-
:param add_operator:
|
|
236
|
-
:param add_operator_props:
|
|
237
|
-
"""
|
|
238
|
-
...
|
|
239
|
-
|
|
240
|
-
def path_resolve(self):
|
|
241
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
242
|
-
...
|
|
243
|
-
|
|
244
|
-
def pop(self):
|
|
245
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
246
|
-
when not found (matches Python's dictionary function of the same name).
|
|
247
|
-
|
|
248
|
-
"""
|
|
249
|
-
...
|
|
250
|
-
|
|
251
|
-
def prepend(self, draw_func):
|
|
252
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
253
|
-
the menus draw function
|
|
254
|
-
|
|
255
|
-
:param draw_func:
|
|
256
|
-
"""
|
|
257
|
-
...
|
|
258
|
-
|
|
259
|
-
def property_overridable_library_set(self) -> bool:
|
|
260
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
261
|
-
|
|
262
|
-
:return: True when the overridable status of the property was successfully set.
|
|
263
|
-
:rtype: bool
|
|
264
|
-
"""
|
|
265
|
-
...
|
|
266
|
-
|
|
267
|
-
def property_unset(self):
|
|
268
|
-
"""Unset a property, will use default value afterward."""
|
|
269
|
-
...
|
|
270
|
-
|
|
271
|
-
def remove(self, draw_func):
|
|
272
|
-
"""Remove a draw function that has been added to this menu
|
|
273
|
-
|
|
274
|
-
:param draw_func:
|
|
275
|
-
"""
|
|
276
|
-
...
|
|
277
|
-
|
|
278
|
-
def type_recast(self):
|
|
279
|
-
"""Return a new instance, this is needed because types
|
|
280
|
-
such as textures can be changed at runtime.
|
|
281
|
-
|
|
282
|
-
:return: a new instance of this object with the type initialized again.
|
|
283
|
-
"""
|
|
284
|
-
...
|
|
285
|
-
|
|
286
|
-
def values(self):
|
|
287
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
288
|
-
dictionary function of the same name).
|
|
289
|
-
|
|
290
|
-
:return: custom property values.
|
|
291
|
-
"""
|
|
292
|
-
...
|
|
293
|
-
|
|
294
|
-
class CURVES_UL_attributes(bpy_types._GenericUI):
|
|
51
|
+
class CURVES_UL_attributes(bpy.types.UIList, bpy_types._GenericUI):
|
|
295
52
|
bl_rna: typing.Any
|
|
296
53
|
id_data: typing.Any
|
|
297
54
|
|
|
298
|
-
def append(self, draw_func):
|
|
299
|
-
"""Append a draw function to this menu,
|
|
300
|
-
takes the same arguments as the menus draw function
|
|
301
|
-
|
|
302
|
-
:param draw_func:
|
|
303
|
-
"""
|
|
304
|
-
...
|
|
305
|
-
|
|
306
|
-
def as_pointer(self) -> int:
|
|
307
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
308
|
-
|
|
309
|
-
:return: int (memory address).
|
|
310
|
-
:rtype: int
|
|
311
|
-
"""
|
|
312
|
-
...
|
|
313
|
-
|
|
314
55
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
315
56
|
"""
|
|
316
57
|
|
|
@@ -351,22 +92,6 @@ class CURVES_UL_attributes(bpy_types._GenericUI):
|
|
|
351
92
|
"""
|
|
352
93
|
...
|
|
353
94
|
|
|
354
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
355
|
-
"""Adds driver(s) to the given property
|
|
356
|
-
|
|
357
|
-
:return: The driver(s) added.
|
|
358
|
-
:rtype: bpy.types.FCurve
|
|
359
|
-
"""
|
|
360
|
-
...
|
|
361
|
-
|
|
362
|
-
def driver_remove(self) -> bool:
|
|
363
|
-
"""Remove driver(s) from the given property
|
|
364
|
-
|
|
365
|
-
:return: Success of driver removal.
|
|
366
|
-
:rtype: bool
|
|
367
|
-
"""
|
|
368
|
-
...
|
|
369
|
-
|
|
370
95
|
def filter_items(self, _context, data, property):
|
|
371
96
|
"""
|
|
372
97
|
|
|
@@ -376,163 +101,74 @@ class CURVES_UL_attributes(bpy_types._GenericUI):
|
|
|
376
101
|
"""
|
|
377
102
|
...
|
|
378
103
|
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
390
|
-
"""
|
|
391
|
-
...
|
|
392
|
-
|
|
393
|
-
def id_properties_ensure(self):
|
|
394
|
-
"""
|
|
395
|
-
|
|
396
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
397
|
-
"""
|
|
398
|
-
...
|
|
399
|
-
|
|
400
|
-
def id_properties_ui(self):
|
|
401
|
-
"""
|
|
402
|
-
|
|
403
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
404
|
-
"""
|
|
405
|
-
...
|
|
406
|
-
|
|
407
|
-
def is_extended(self): ...
|
|
408
|
-
def is_property_hidden(self) -> bool:
|
|
409
|
-
"""Check if a property is hidden.
|
|
410
|
-
|
|
411
|
-
:return: True when the property is hidden.
|
|
412
|
-
:rtype: bool
|
|
413
|
-
"""
|
|
414
|
-
...
|
|
415
|
-
|
|
416
|
-
def is_property_overridable_library(self) -> bool:
|
|
417
|
-
"""Check if a property is overridable.
|
|
418
|
-
|
|
419
|
-
:return: True when the property is overridable.
|
|
420
|
-
:rtype: bool
|
|
421
|
-
"""
|
|
422
|
-
...
|
|
423
|
-
|
|
424
|
-
def is_property_readonly(self) -> bool:
|
|
425
|
-
"""Check if a property is readonly.
|
|
426
|
-
|
|
427
|
-
:return: True when the property is readonly (not writable).
|
|
428
|
-
:rtype: bool
|
|
429
|
-
"""
|
|
430
|
-
...
|
|
431
|
-
|
|
432
|
-
def is_property_set(self) -> bool:
|
|
433
|
-
"""Check if a property is set, use for testing operator properties.
|
|
104
|
+
class DATA_PT_CURVES_attributes(
|
|
105
|
+
bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI
|
|
106
|
+
):
|
|
107
|
+
COMPAT_ENGINES: typing.Any
|
|
108
|
+
bl_context: typing.Any
|
|
109
|
+
bl_label: typing.Any
|
|
110
|
+
bl_region_type: typing.Any
|
|
111
|
+
bl_rna: typing.Any
|
|
112
|
+
bl_space_type: typing.Any
|
|
113
|
+
id_data: typing.Any
|
|
434
114
|
|
|
435
|
-
|
|
436
|
-
:rtype: bool
|
|
115
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
437
116
|
"""
|
|
438
|
-
...
|
|
439
117
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
dictionary function of the same name).
|
|
443
|
-
|
|
444
|
-
:return: custom property key, value pairs.
|
|
118
|
+
:return: The RNA type or default when not found.
|
|
119
|
+
:rtype: bpy.types.Struct
|
|
445
120
|
"""
|
|
446
121
|
...
|
|
447
122
|
|
|
448
|
-
def
|
|
449
|
-
"""Remove a keyframe from this properties fcurve.
|
|
450
|
-
|
|
451
|
-
:return: Success of keyframe deletion.
|
|
452
|
-
:rtype: bool
|
|
123
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
453
124
|
"""
|
|
454
|
-
...
|
|
455
125
|
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
:return: Success of keyframe insertion.
|
|
460
|
-
:rtype: bool
|
|
126
|
+
:return: The class or default when not found.
|
|
127
|
+
:rtype: typing.Any
|
|
461
128
|
"""
|
|
462
129
|
...
|
|
463
130
|
|
|
464
|
-
def
|
|
465
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
466
|
-
dictionary function of the same name).
|
|
467
|
-
|
|
468
|
-
:return: custom property keys.
|
|
131
|
+
def draw(self, context):
|
|
469
132
|
"""
|
|
470
|
-
...
|
|
471
133
|
|
|
472
|
-
|
|
473
|
-
"""Returns the data path from the ID to this object (string).
|
|
474
|
-
|
|
475
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
476
|
-
to this struct and property (when given).
|
|
477
|
-
:rtype: str
|
|
134
|
+
:param context:
|
|
478
135
|
"""
|
|
479
136
|
...
|
|
480
137
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
138
|
+
class DATA_PT_context_curves(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
139
|
+
COMPAT_ENGINES: typing.Any
|
|
140
|
+
bl_context: typing.Any
|
|
141
|
+
bl_label: typing.Any
|
|
142
|
+
bl_options: typing.Any
|
|
143
|
+
bl_region_type: typing.Any
|
|
144
|
+
bl_rna: typing.Any
|
|
145
|
+
bl_space_type: typing.Any
|
|
146
|
+
id_data: typing.Any
|
|
488
147
|
|
|
148
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
489
149
|
"""
|
|
490
|
-
...
|
|
491
150
|
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
the menus draw function
|
|
495
|
-
|
|
496
|
-
:param draw_func:
|
|
151
|
+
:return: The RNA type or default when not found.
|
|
152
|
+
:rtype: bpy.types.Struct
|
|
497
153
|
"""
|
|
498
154
|
...
|
|
499
155
|
|
|
500
|
-
def
|
|
501
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
502
|
-
|
|
503
|
-
:return: True when the overridable status of the property was successfully set.
|
|
504
|
-
:rtype: bool
|
|
156
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
505
157
|
"""
|
|
506
|
-
...
|
|
507
|
-
|
|
508
|
-
def property_unset(self):
|
|
509
|
-
"""Unset a property, will use default value afterward."""
|
|
510
|
-
...
|
|
511
158
|
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
:param draw_func:
|
|
159
|
+
:return: The class or default when not found.
|
|
160
|
+
:rtype: typing.Any
|
|
516
161
|
"""
|
|
517
162
|
...
|
|
518
163
|
|
|
519
|
-
def
|
|
520
|
-
"""Return a new instance, this is needed because types
|
|
521
|
-
such as textures can be changed at runtime.
|
|
522
|
-
|
|
523
|
-
:return: a new instance of this object with the type initialized again.
|
|
164
|
+
def draw(self, context):
|
|
524
165
|
"""
|
|
525
|
-
...
|
|
526
166
|
|
|
527
|
-
|
|
528
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
529
|
-
dictionary function of the same name).
|
|
530
|
-
|
|
531
|
-
:return: custom property values.
|
|
167
|
+
:param context:
|
|
532
168
|
"""
|
|
533
169
|
...
|
|
534
170
|
|
|
535
|
-
class
|
|
171
|
+
class DATA_PT_curves_surface(bpy.types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
536
172
|
COMPAT_ENGINES: typing.Any
|
|
537
173
|
bl_context: typing.Any
|
|
538
174
|
bl_label: typing.Any
|
|
@@ -541,22 +177,6 @@ class DATA_PT_CURVES_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
541
177
|
bl_space_type: typing.Any
|
|
542
178
|
id_data: typing.Any
|
|
543
179
|
|
|
544
|
-
def append(self, draw_func):
|
|
545
|
-
"""Append a draw function to this menu,
|
|
546
|
-
takes the same arguments as the menus draw function
|
|
547
|
-
|
|
548
|
-
:param draw_func:
|
|
549
|
-
"""
|
|
550
|
-
...
|
|
551
|
-
|
|
552
|
-
def as_pointer(self) -> int:
|
|
553
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
554
|
-
|
|
555
|
-
:return: int (memory address).
|
|
556
|
-
:rtype: int
|
|
557
|
-
"""
|
|
558
|
-
...
|
|
559
|
-
|
|
560
180
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
561
181
|
"""
|
|
562
182
|
|
|
@@ -580,682 +200,32 @@ class DATA_PT_CURVES_attributes(DataButtonsPanel, bpy_types._GenericUI):
|
|
|
580
200
|
"""
|
|
581
201
|
...
|
|
582
202
|
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
...
|
|
590
|
-
|
|
591
|
-
def driver_remove(self) -> bool:
|
|
592
|
-
"""Remove driver(s) from the given property
|
|
593
|
-
|
|
594
|
-
:return: Success of driver removal.
|
|
595
|
-
:rtype: bool
|
|
596
|
-
"""
|
|
597
|
-
...
|
|
598
|
-
|
|
599
|
-
def get(self):
|
|
600
|
-
"""Returns the value of the custom property assigned to key or default
|
|
601
|
-
when not found (matches Python's dictionary function of the same name).
|
|
203
|
+
class DATA_PT_custom_props_curves(
|
|
204
|
+
bpy.types.Panel, DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
205
|
+
):
|
|
206
|
+
"""The subclass should have its own poll function
|
|
207
|
+
and the variable '_context_path' MUST be set.
|
|
208
|
+
"""
|
|
602
209
|
|
|
603
|
-
|
|
604
|
-
|
|
210
|
+
COMPAT_ENGINES: typing.Any
|
|
211
|
+
bl_context: typing.Any
|
|
212
|
+
bl_label: typing.Any
|
|
213
|
+
bl_options: typing.Any
|
|
214
|
+
bl_order: typing.Any
|
|
215
|
+
bl_region_type: typing.Any
|
|
216
|
+
bl_rna: typing.Any
|
|
217
|
+
bl_space_type: typing.Any
|
|
218
|
+
id_data: typing.Any
|
|
605
219
|
|
|
606
|
-
def
|
|
220
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
607
221
|
"""
|
|
608
222
|
|
|
609
|
-
:return:
|
|
223
|
+
:return: The RNA type or default when not found.
|
|
224
|
+
:rtype: bpy.types.Struct
|
|
610
225
|
"""
|
|
611
226
|
...
|
|
612
227
|
|
|
613
|
-
def
|
|
614
|
-
"""
|
|
615
|
-
|
|
616
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
617
|
-
"""
|
|
618
|
-
...
|
|
619
|
-
|
|
620
|
-
def id_properties_ui(self):
|
|
621
|
-
"""
|
|
622
|
-
|
|
623
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
624
|
-
"""
|
|
625
|
-
...
|
|
626
|
-
|
|
627
|
-
def is_extended(self): ...
|
|
628
|
-
def is_property_hidden(self) -> bool:
|
|
629
|
-
"""Check if a property is hidden.
|
|
630
|
-
|
|
631
|
-
:return: True when the property is hidden.
|
|
632
|
-
:rtype: bool
|
|
633
|
-
"""
|
|
634
|
-
...
|
|
635
|
-
|
|
636
|
-
def is_property_overridable_library(self) -> bool:
|
|
637
|
-
"""Check if a property is overridable.
|
|
638
|
-
|
|
639
|
-
:return: True when the property is overridable.
|
|
640
|
-
:rtype: bool
|
|
641
|
-
"""
|
|
642
|
-
...
|
|
643
|
-
|
|
644
|
-
def is_property_readonly(self) -> bool:
|
|
645
|
-
"""Check if a property is readonly.
|
|
646
|
-
|
|
647
|
-
:return: True when the property is readonly (not writable).
|
|
648
|
-
:rtype: bool
|
|
649
|
-
"""
|
|
650
|
-
...
|
|
651
|
-
|
|
652
|
-
def is_property_set(self) -> bool:
|
|
653
|
-
"""Check if a property is set, use for testing operator properties.
|
|
654
|
-
|
|
655
|
-
:return: True when the property has been set.
|
|
656
|
-
:rtype: bool
|
|
657
|
-
"""
|
|
658
|
-
...
|
|
659
|
-
|
|
660
|
-
def items(self):
|
|
661
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
662
|
-
dictionary function of the same name).
|
|
663
|
-
|
|
664
|
-
:return: custom property key, value pairs.
|
|
665
|
-
"""
|
|
666
|
-
...
|
|
667
|
-
|
|
668
|
-
def keyframe_delete(self) -> bool:
|
|
669
|
-
"""Remove a keyframe from this properties fcurve.
|
|
670
|
-
|
|
671
|
-
:return: Success of keyframe deletion.
|
|
672
|
-
:rtype: bool
|
|
673
|
-
"""
|
|
674
|
-
...
|
|
675
|
-
|
|
676
|
-
def keyframe_insert(self) -> bool:
|
|
677
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
678
|
-
|
|
679
|
-
:return: Success of keyframe insertion.
|
|
680
|
-
:rtype: bool
|
|
681
|
-
"""
|
|
682
|
-
...
|
|
683
|
-
|
|
684
|
-
def keys(self):
|
|
685
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
686
|
-
dictionary function of the same name).
|
|
687
|
-
|
|
688
|
-
:return: custom property keys.
|
|
689
|
-
"""
|
|
690
|
-
...
|
|
691
|
-
|
|
692
|
-
def path_from_id(self) -> str:
|
|
693
|
-
"""Returns the data path from the ID to this object (string).
|
|
694
|
-
|
|
695
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
696
|
-
to this struct and property (when given).
|
|
697
|
-
:rtype: str
|
|
698
|
-
"""
|
|
699
|
-
...
|
|
700
|
-
|
|
701
|
-
def path_resolve(self):
|
|
702
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
703
|
-
...
|
|
704
|
-
|
|
705
|
-
def poll(self, context):
|
|
706
|
-
"""
|
|
707
|
-
|
|
708
|
-
:param context:
|
|
709
|
-
"""
|
|
710
|
-
...
|
|
711
|
-
|
|
712
|
-
def pop(self):
|
|
713
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
714
|
-
when not found (matches Python's dictionary function of the same name).
|
|
715
|
-
|
|
716
|
-
"""
|
|
717
|
-
...
|
|
718
|
-
|
|
719
|
-
def prepend(self, draw_func):
|
|
720
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
721
|
-
the menus draw function
|
|
722
|
-
|
|
723
|
-
:param draw_func:
|
|
724
|
-
"""
|
|
725
|
-
...
|
|
726
|
-
|
|
727
|
-
def property_overridable_library_set(self) -> bool:
|
|
728
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
729
|
-
|
|
730
|
-
:return: True when the overridable status of the property was successfully set.
|
|
731
|
-
:rtype: bool
|
|
732
|
-
"""
|
|
733
|
-
...
|
|
734
|
-
|
|
735
|
-
def property_unset(self):
|
|
736
|
-
"""Unset a property, will use default value afterward."""
|
|
737
|
-
...
|
|
738
|
-
|
|
739
|
-
def remove(self, draw_func):
|
|
740
|
-
"""Remove a draw function that has been added to this menu
|
|
741
|
-
|
|
742
|
-
:param draw_func:
|
|
743
|
-
"""
|
|
744
|
-
...
|
|
745
|
-
|
|
746
|
-
def type_recast(self):
|
|
747
|
-
"""Return a new instance, this is needed because types
|
|
748
|
-
such as textures can be changed at runtime.
|
|
749
|
-
|
|
750
|
-
:return: a new instance of this object with the type initialized again.
|
|
751
|
-
"""
|
|
752
|
-
...
|
|
753
|
-
|
|
754
|
-
def values(self):
|
|
755
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
756
|
-
dictionary function of the same name).
|
|
757
|
-
|
|
758
|
-
:return: custom property values.
|
|
759
|
-
"""
|
|
760
|
-
...
|
|
761
|
-
|
|
762
|
-
class DATA_PT_context_curves(DataButtonsPanel, bpy_types._GenericUI):
|
|
763
|
-
COMPAT_ENGINES: typing.Any
|
|
764
|
-
bl_context: typing.Any
|
|
765
|
-
bl_label: typing.Any
|
|
766
|
-
bl_options: typing.Any
|
|
767
|
-
bl_region_type: typing.Any
|
|
768
|
-
bl_rna: typing.Any
|
|
769
|
-
bl_space_type: typing.Any
|
|
770
|
-
id_data: typing.Any
|
|
771
|
-
|
|
772
|
-
def append(self, draw_func):
|
|
773
|
-
"""Append a draw function to this menu,
|
|
774
|
-
takes the same arguments as the menus draw function
|
|
775
|
-
|
|
776
|
-
:param draw_func:
|
|
777
|
-
"""
|
|
778
|
-
...
|
|
779
|
-
|
|
780
|
-
def as_pointer(self) -> int:
|
|
781
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
782
|
-
|
|
783
|
-
:return: int (memory address).
|
|
784
|
-
:rtype: int
|
|
785
|
-
"""
|
|
786
|
-
...
|
|
787
|
-
|
|
788
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
789
|
-
"""
|
|
790
|
-
|
|
791
|
-
:return: The RNA type or default when not found.
|
|
792
|
-
:rtype: bpy.types.Struct
|
|
793
|
-
"""
|
|
794
|
-
...
|
|
795
|
-
|
|
796
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
797
|
-
"""
|
|
798
|
-
|
|
799
|
-
:return: The class or default when not found.
|
|
800
|
-
:rtype: typing.Any
|
|
801
|
-
"""
|
|
802
|
-
...
|
|
803
|
-
|
|
804
|
-
def draw(self, context):
|
|
805
|
-
"""
|
|
806
|
-
|
|
807
|
-
:param context:
|
|
808
|
-
"""
|
|
809
|
-
...
|
|
810
|
-
|
|
811
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
812
|
-
"""Adds driver(s) to the given property
|
|
813
|
-
|
|
814
|
-
:return: The driver(s) added.
|
|
815
|
-
:rtype: bpy.types.FCurve
|
|
816
|
-
"""
|
|
817
|
-
...
|
|
818
|
-
|
|
819
|
-
def driver_remove(self) -> bool:
|
|
820
|
-
"""Remove driver(s) from the given property
|
|
821
|
-
|
|
822
|
-
:return: Success of driver removal.
|
|
823
|
-
:rtype: bool
|
|
824
|
-
"""
|
|
825
|
-
...
|
|
826
|
-
|
|
827
|
-
def get(self):
|
|
828
|
-
"""Returns the value of the custom property assigned to key or default
|
|
829
|
-
when not found (matches Python's dictionary function of the same name).
|
|
830
|
-
|
|
831
|
-
"""
|
|
832
|
-
...
|
|
833
|
-
|
|
834
|
-
def id_properties_clear(self):
|
|
835
|
-
"""
|
|
836
|
-
|
|
837
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
838
|
-
"""
|
|
839
|
-
...
|
|
840
|
-
|
|
841
|
-
def id_properties_ensure(self):
|
|
842
|
-
"""
|
|
843
|
-
|
|
844
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
845
|
-
"""
|
|
846
|
-
...
|
|
847
|
-
|
|
848
|
-
def id_properties_ui(self):
|
|
849
|
-
"""
|
|
850
|
-
|
|
851
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
852
|
-
"""
|
|
853
|
-
...
|
|
854
|
-
|
|
855
|
-
def is_extended(self): ...
|
|
856
|
-
def is_property_hidden(self) -> bool:
|
|
857
|
-
"""Check if a property is hidden.
|
|
858
|
-
|
|
859
|
-
:return: True when the property is hidden.
|
|
860
|
-
:rtype: bool
|
|
861
|
-
"""
|
|
862
|
-
...
|
|
863
|
-
|
|
864
|
-
def is_property_overridable_library(self) -> bool:
|
|
865
|
-
"""Check if a property is overridable.
|
|
866
|
-
|
|
867
|
-
:return: True when the property is overridable.
|
|
868
|
-
:rtype: bool
|
|
869
|
-
"""
|
|
870
|
-
...
|
|
871
|
-
|
|
872
|
-
def is_property_readonly(self) -> bool:
|
|
873
|
-
"""Check if a property is readonly.
|
|
874
|
-
|
|
875
|
-
:return: True when the property is readonly (not writable).
|
|
876
|
-
:rtype: bool
|
|
877
|
-
"""
|
|
878
|
-
...
|
|
879
|
-
|
|
880
|
-
def is_property_set(self) -> bool:
|
|
881
|
-
"""Check if a property is set, use for testing operator properties.
|
|
882
|
-
|
|
883
|
-
:return: True when the property has been set.
|
|
884
|
-
:rtype: bool
|
|
885
|
-
"""
|
|
886
|
-
...
|
|
887
|
-
|
|
888
|
-
def items(self):
|
|
889
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
890
|
-
dictionary function of the same name).
|
|
891
|
-
|
|
892
|
-
:return: custom property key, value pairs.
|
|
893
|
-
"""
|
|
894
|
-
...
|
|
895
|
-
|
|
896
|
-
def keyframe_delete(self) -> bool:
|
|
897
|
-
"""Remove a keyframe from this properties fcurve.
|
|
898
|
-
|
|
899
|
-
:return: Success of keyframe deletion.
|
|
900
|
-
:rtype: bool
|
|
901
|
-
"""
|
|
902
|
-
...
|
|
903
|
-
|
|
904
|
-
def keyframe_insert(self) -> bool:
|
|
905
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
906
|
-
|
|
907
|
-
:return: Success of keyframe insertion.
|
|
908
|
-
:rtype: bool
|
|
909
|
-
"""
|
|
910
|
-
...
|
|
911
|
-
|
|
912
|
-
def keys(self):
|
|
913
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
914
|
-
dictionary function of the same name).
|
|
915
|
-
|
|
916
|
-
:return: custom property keys.
|
|
917
|
-
"""
|
|
918
|
-
...
|
|
919
|
-
|
|
920
|
-
def path_from_id(self) -> str:
|
|
921
|
-
"""Returns the data path from the ID to this object (string).
|
|
922
|
-
|
|
923
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
924
|
-
to this struct and property (when given).
|
|
925
|
-
:rtype: str
|
|
926
|
-
"""
|
|
927
|
-
...
|
|
928
|
-
|
|
929
|
-
def path_resolve(self):
|
|
930
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
931
|
-
...
|
|
932
|
-
|
|
933
|
-
def poll(self, context):
|
|
934
|
-
"""
|
|
935
|
-
|
|
936
|
-
:param context:
|
|
937
|
-
"""
|
|
938
|
-
...
|
|
939
|
-
|
|
940
|
-
def pop(self):
|
|
941
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
942
|
-
when not found (matches Python's dictionary function of the same name).
|
|
943
|
-
|
|
944
|
-
"""
|
|
945
|
-
...
|
|
946
|
-
|
|
947
|
-
def prepend(self, draw_func):
|
|
948
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
949
|
-
the menus draw function
|
|
950
|
-
|
|
951
|
-
:param draw_func:
|
|
952
|
-
"""
|
|
953
|
-
...
|
|
954
|
-
|
|
955
|
-
def property_overridable_library_set(self) -> bool:
|
|
956
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
957
|
-
|
|
958
|
-
:return: True when the overridable status of the property was successfully set.
|
|
959
|
-
:rtype: bool
|
|
960
|
-
"""
|
|
961
|
-
...
|
|
962
|
-
|
|
963
|
-
def property_unset(self):
|
|
964
|
-
"""Unset a property, will use default value afterward."""
|
|
965
|
-
...
|
|
966
|
-
|
|
967
|
-
def remove(self, draw_func):
|
|
968
|
-
"""Remove a draw function that has been added to this menu
|
|
969
|
-
|
|
970
|
-
:param draw_func:
|
|
971
|
-
"""
|
|
972
|
-
...
|
|
973
|
-
|
|
974
|
-
def type_recast(self):
|
|
975
|
-
"""Return a new instance, this is needed because types
|
|
976
|
-
such as textures can be changed at runtime.
|
|
977
|
-
|
|
978
|
-
:return: a new instance of this object with the type initialized again.
|
|
979
|
-
"""
|
|
980
|
-
...
|
|
981
|
-
|
|
982
|
-
def values(self):
|
|
983
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
984
|
-
dictionary function of the same name).
|
|
985
|
-
|
|
986
|
-
:return: custom property values.
|
|
987
|
-
"""
|
|
988
|
-
...
|
|
989
|
-
|
|
990
|
-
class DATA_PT_curves_surface(DataButtonsPanel, bpy_types._GenericUI):
|
|
991
|
-
COMPAT_ENGINES: typing.Any
|
|
992
|
-
bl_context: typing.Any
|
|
993
|
-
bl_label: typing.Any
|
|
994
|
-
bl_region_type: typing.Any
|
|
995
|
-
bl_rna: typing.Any
|
|
996
|
-
bl_space_type: typing.Any
|
|
997
|
-
id_data: typing.Any
|
|
998
|
-
|
|
999
|
-
def append(self, draw_func):
|
|
1000
|
-
"""Append a draw function to this menu,
|
|
1001
|
-
takes the same arguments as the menus draw function
|
|
1002
|
-
|
|
1003
|
-
:param draw_func:
|
|
1004
|
-
"""
|
|
1005
|
-
...
|
|
1006
|
-
|
|
1007
|
-
def as_pointer(self) -> int:
|
|
1008
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1009
|
-
|
|
1010
|
-
:return: int (memory address).
|
|
1011
|
-
:rtype: int
|
|
1012
|
-
"""
|
|
1013
|
-
...
|
|
1014
|
-
|
|
1015
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1016
|
-
"""
|
|
1017
|
-
|
|
1018
|
-
:return: The RNA type or default when not found.
|
|
1019
|
-
:rtype: bpy.types.Struct
|
|
1020
|
-
"""
|
|
1021
|
-
...
|
|
1022
|
-
|
|
1023
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1024
|
-
"""
|
|
1025
|
-
|
|
1026
|
-
:return: The class or default when not found.
|
|
1027
|
-
:rtype: typing.Any
|
|
1028
|
-
"""
|
|
1029
|
-
...
|
|
1030
|
-
|
|
1031
|
-
def draw(self, context):
|
|
1032
|
-
"""
|
|
1033
|
-
|
|
1034
|
-
:param context:
|
|
1035
|
-
"""
|
|
1036
|
-
...
|
|
1037
|
-
|
|
1038
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1039
|
-
"""Adds driver(s) to the given property
|
|
1040
|
-
|
|
1041
|
-
:return: The driver(s) added.
|
|
1042
|
-
:rtype: bpy.types.FCurve
|
|
1043
|
-
"""
|
|
1044
|
-
...
|
|
1045
|
-
|
|
1046
|
-
def driver_remove(self) -> bool:
|
|
1047
|
-
"""Remove driver(s) from the given property
|
|
1048
|
-
|
|
1049
|
-
:return: Success of driver removal.
|
|
1050
|
-
:rtype: bool
|
|
1051
|
-
"""
|
|
1052
|
-
...
|
|
1053
|
-
|
|
1054
|
-
def get(self):
|
|
1055
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1056
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1057
|
-
|
|
1058
|
-
"""
|
|
1059
|
-
...
|
|
1060
|
-
|
|
1061
|
-
def id_properties_clear(self):
|
|
1062
|
-
"""
|
|
1063
|
-
|
|
1064
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1065
|
-
"""
|
|
1066
|
-
...
|
|
1067
|
-
|
|
1068
|
-
def id_properties_ensure(self):
|
|
1069
|
-
"""
|
|
1070
|
-
|
|
1071
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1072
|
-
"""
|
|
1073
|
-
...
|
|
1074
|
-
|
|
1075
|
-
def id_properties_ui(self):
|
|
1076
|
-
"""
|
|
1077
|
-
|
|
1078
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1079
|
-
"""
|
|
1080
|
-
...
|
|
1081
|
-
|
|
1082
|
-
def is_extended(self): ...
|
|
1083
|
-
def is_property_hidden(self) -> bool:
|
|
1084
|
-
"""Check if a property is hidden.
|
|
1085
|
-
|
|
1086
|
-
:return: True when the property is hidden.
|
|
1087
|
-
:rtype: bool
|
|
1088
|
-
"""
|
|
1089
|
-
...
|
|
1090
|
-
|
|
1091
|
-
def is_property_overridable_library(self) -> bool:
|
|
1092
|
-
"""Check if a property is overridable.
|
|
1093
|
-
|
|
1094
|
-
:return: True when the property is overridable.
|
|
1095
|
-
:rtype: bool
|
|
1096
|
-
"""
|
|
1097
|
-
...
|
|
1098
|
-
|
|
1099
|
-
def is_property_readonly(self) -> bool:
|
|
1100
|
-
"""Check if a property is readonly.
|
|
1101
|
-
|
|
1102
|
-
:return: True when the property is readonly (not writable).
|
|
1103
|
-
:rtype: bool
|
|
1104
|
-
"""
|
|
1105
|
-
...
|
|
1106
|
-
|
|
1107
|
-
def is_property_set(self) -> bool:
|
|
1108
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1109
|
-
|
|
1110
|
-
:return: True when the property has been set.
|
|
1111
|
-
:rtype: bool
|
|
1112
|
-
"""
|
|
1113
|
-
...
|
|
1114
|
-
|
|
1115
|
-
def items(self):
|
|
1116
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1117
|
-
dictionary function of the same name).
|
|
1118
|
-
|
|
1119
|
-
:return: custom property key, value pairs.
|
|
1120
|
-
"""
|
|
1121
|
-
...
|
|
1122
|
-
|
|
1123
|
-
def keyframe_delete(self) -> bool:
|
|
1124
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1125
|
-
|
|
1126
|
-
:return: Success of keyframe deletion.
|
|
1127
|
-
:rtype: bool
|
|
1128
|
-
"""
|
|
1129
|
-
...
|
|
1130
|
-
|
|
1131
|
-
def keyframe_insert(self) -> bool:
|
|
1132
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1133
|
-
|
|
1134
|
-
:return: Success of keyframe insertion.
|
|
1135
|
-
:rtype: bool
|
|
1136
|
-
"""
|
|
1137
|
-
...
|
|
1138
|
-
|
|
1139
|
-
def keys(self):
|
|
1140
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1141
|
-
dictionary function of the same name).
|
|
1142
|
-
|
|
1143
|
-
:return: custom property keys.
|
|
1144
|
-
"""
|
|
1145
|
-
...
|
|
1146
|
-
|
|
1147
|
-
def path_from_id(self) -> str:
|
|
1148
|
-
"""Returns the data path from the ID to this object (string).
|
|
1149
|
-
|
|
1150
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1151
|
-
to this struct and property (when given).
|
|
1152
|
-
:rtype: str
|
|
1153
|
-
"""
|
|
1154
|
-
...
|
|
1155
|
-
|
|
1156
|
-
def path_resolve(self):
|
|
1157
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1158
|
-
...
|
|
1159
|
-
|
|
1160
|
-
def poll(self, context):
|
|
1161
|
-
"""
|
|
1162
|
-
|
|
1163
|
-
:param context:
|
|
1164
|
-
"""
|
|
1165
|
-
...
|
|
1166
|
-
|
|
1167
|
-
def pop(self):
|
|
1168
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1169
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1170
|
-
|
|
1171
|
-
"""
|
|
1172
|
-
...
|
|
1173
|
-
|
|
1174
|
-
def prepend(self, draw_func):
|
|
1175
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1176
|
-
the menus draw function
|
|
1177
|
-
|
|
1178
|
-
:param draw_func:
|
|
1179
|
-
"""
|
|
1180
|
-
...
|
|
1181
|
-
|
|
1182
|
-
def property_overridable_library_set(self) -> bool:
|
|
1183
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1184
|
-
|
|
1185
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1186
|
-
:rtype: bool
|
|
1187
|
-
"""
|
|
1188
|
-
...
|
|
1189
|
-
|
|
1190
|
-
def property_unset(self):
|
|
1191
|
-
"""Unset a property, will use default value afterward."""
|
|
1192
|
-
...
|
|
1193
|
-
|
|
1194
|
-
def remove(self, draw_func):
|
|
1195
|
-
"""Remove a draw function that has been added to this menu
|
|
1196
|
-
|
|
1197
|
-
:param draw_func:
|
|
1198
|
-
"""
|
|
1199
|
-
...
|
|
1200
|
-
|
|
1201
|
-
def type_recast(self):
|
|
1202
|
-
"""Return a new instance, this is needed because types
|
|
1203
|
-
such as textures can be changed at runtime.
|
|
1204
|
-
|
|
1205
|
-
:return: a new instance of this object with the type initialized again.
|
|
1206
|
-
"""
|
|
1207
|
-
...
|
|
1208
|
-
|
|
1209
|
-
def values(self):
|
|
1210
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1211
|
-
dictionary function of the same name).
|
|
1212
|
-
|
|
1213
|
-
:return: custom property values.
|
|
1214
|
-
"""
|
|
1215
|
-
...
|
|
1216
|
-
|
|
1217
|
-
class DATA_PT_custom_props_curves(
|
|
1218
|
-
DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
1219
|
-
):
|
|
1220
|
-
"""The subclass should have its own poll function
|
|
1221
|
-
and the variable '_context_path' MUST be set.
|
|
1222
|
-
"""
|
|
1223
|
-
|
|
1224
|
-
COMPAT_ENGINES: typing.Any
|
|
1225
|
-
bl_context: typing.Any
|
|
1226
|
-
bl_label: typing.Any
|
|
1227
|
-
bl_options: typing.Any
|
|
1228
|
-
bl_order: typing.Any
|
|
1229
|
-
bl_region_type: typing.Any
|
|
1230
|
-
bl_rna: typing.Any
|
|
1231
|
-
bl_space_type: typing.Any
|
|
1232
|
-
id_data: typing.Any
|
|
1233
|
-
|
|
1234
|
-
def append(self, draw_func):
|
|
1235
|
-
"""Append a draw function to this menu,
|
|
1236
|
-
takes the same arguments as the menus draw function
|
|
1237
|
-
|
|
1238
|
-
:param draw_func:
|
|
1239
|
-
"""
|
|
1240
|
-
...
|
|
1241
|
-
|
|
1242
|
-
def as_pointer(self) -> int:
|
|
1243
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1244
|
-
|
|
1245
|
-
:return: int (memory address).
|
|
1246
|
-
:rtype: int
|
|
1247
|
-
"""
|
|
1248
|
-
...
|
|
1249
|
-
|
|
1250
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1251
|
-
"""
|
|
1252
|
-
|
|
1253
|
-
:return: The RNA type or default when not found.
|
|
1254
|
-
:rtype: bpy.types.Struct
|
|
1255
|
-
"""
|
|
1256
|
-
...
|
|
1257
|
-
|
|
1258
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
228
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1259
229
|
"""
|
|
1260
230
|
|
|
1261
231
|
:return: The class or default when not found.
|
|
@@ -1263,192 +233,6 @@ class DATA_PT_custom_props_curves(
|
|
|
1263
233
|
"""
|
|
1264
234
|
...
|
|
1265
235
|
|
|
1266
|
-
def draw(self, context):
|
|
1267
|
-
"""
|
|
1268
|
-
|
|
1269
|
-
:param context:
|
|
1270
|
-
"""
|
|
1271
|
-
...
|
|
1272
|
-
|
|
1273
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
1274
|
-
"""Adds driver(s) to the given property
|
|
1275
|
-
|
|
1276
|
-
:return: The driver(s) added.
|
|
1277
|
-
:rtype: bpy.types.FCurve
|
|
1278
|
-
"""
|
|
1279
|
-
...
|
|
1280
|
-
|
|
1281
|
-
def driver_remove(self) -> bool:
|
|
1282
|
-
"""Remove driver(s) from the given property
|
|
1283
|
-
|
|
1284
|
-
:return: Success of driver removal.
|
|
1285
|
-
:rtype: bool
|
|
1286
|
-
"""
|
|
1287
|
-
...
|
|
1288
|
-
|
|
1289
|
-
def get(self):
|
|
1290
|
-
"""Returns the value of the custom property assigned to key or default
|
|
1291
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1292
|
-
|
|
1293
|
-
"""
|
|
1294
|
-
...
|
|
1295
|
-
|
|
1296
|
-
def id_properties_clear(self):
|
|
1297
|
-
"""
|
|
1298
|
-
|
|
1299
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1300
|
-
"""
|
|
1301
|
-
...
|
|
1302
|
-
|
|
1303
|
-
def id_properties_ensure(self):
|
|
1304
|
-
"""
|
|
1305
|
-
|
|
1306
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1307
|
-
"""
|
|
1308
|
-
...
|
|
1309
|
-
|
|
1310
|
-
def id_properties_ui(self):
|
|
1311
|
-
"""
|
|
1312
|
-
|
|
1313
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
1314
|
-
"""
|
|
1315
|
-
...
|
|
1316
|
-
|
|
1317
|
-
def is_extended(self): ...
|
|
1318
|
-
def is_property_hidden(self) -> bool:
|
|
1319
|
-
"""Check if a property is hidden.
|
|
1320
|
-
|
|
1321
|
-
:return: True when the property is hidden.
|
|
1322
|
-
:rtype: bool
|
|
1323
|
-
"""
|
|
1324
|
-
...
|
|
1325
|
-
|
|
1326
|
-
def is_property_overridable_library(self) -> bool:
|
|
1327
|
-
"""Check if a property is overridable.
|
|
1328
|
-
|
|
1329
|
-
:return: True when the property is overridable.
|
|
1330
|
-
:rtype: bool
|
|
1331
|
-
"""
|
|
1332
|
-
...
|
|
1333
|
-
|
|
1334
|
-
def is_property_readonly(self) -> bool:
|
|
1335
|
-
"""Check if a property is readonly.
|
|
1336
|
-
|
|
1337
|
-
:return: True when the property is readonly (not writable).
|
|
1338
|
-
:rtype: bool
|
|
1339
|
-
"""
|
|
1340
|
-
...
|
|
1341
|
-
|
|
1342
|
-
def is_property_set(self) -> bool:
|
|
1343
|
-
"""Check if a property is set, use for testing operator properties.
|
|
1344
|
-
|
|
1345
|
-
:return: True when the property has been set.
|
|
1346
|
-
:rtype: bool
|
|
1347
|
-
"""
|
|
1348
|
-
...
|
|
1349
|
-
|
|
1350
|
-
def items(self):
|
|
1351
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
1352
|
-
dictionary function of the same name).
|
|
1353
|
-
|
|
1354
|
-
:return: custom property key, value pairs.
|
|
1355
|
-
"""
|
|
1356
|
-
...
|
|
1357
|
-
|
|
1358
|
-
def keyframe_delete(self) -> bool:
|
|
1359
|
-
"""Remove a keyframe from this properties fcurve.
|
|
1360
|
-
|
|
1361
|
-
:return: Success of keyframe deletion.
|
|
1362
|
-
:rtype: bool
|
|
1363
|
-
"""
|
|
1364
|
-
...
|
|
1365
|
-
|
|
1366
|
-
def keyframe_insert(self) -> bool:
|
|
1367
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1368
|
-
|
|
1369
|
-
:return: Success of keyframe insertion.
|
|
1370
|
-
:rtype: bool
|
|
1371
|
-
"""
|
|
1372
|
-
...
|
|
1373
|
-
|
|
1374
|
-
def keys(self):
|
|
1375
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
1376
|
-
dictionary function of the same name).
|
|
1377
|
-
|
|
1378
|
-
:return: custom property keys.
|
|
1379
|
-
"""
|
|
1380
|
-
...
|
|
1381
|
-
|
|
1382
|
-
def path_from_id(self) -> str:
|
|
1383
|
-
"""Returns the data path from the ID to this object (string).
|
|
1384
|
-
|
|
1385
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1386
|
-
to this struct and property (when given).
|
|
1387
|
-
:rtype: str
|
|
1388
|
-
"""
|
|
1389
|
-
...
|
|
1390
|
-
|
|
1391
|
-
def path_resolve(self):
|
|
1392
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
1393
|
-
...
|
|
1394
|
-
|
|
1395
|
-
def poll(self, context):
|
|
1396
|
-
"""
|
|
1397
|
-
|
|
1398
|
-
:param context:
|
|
1399
|
-
"""
|
|
1400
|
-
...
|
|
1401
|
-
|
|
1402
|
-
def pop(self):
|
|
1403
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
1404
|
-
when not found (matches Python's dictionary function of the same name).
|
|
1405
|
-
|
|
1406
|
-
"""
|
|
1407
|
-
...
|
|
1408
|
-
|
|
1409
|
-
def prepend(self, draw_func):
|
|
1410
|
-
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1411
|
-
the menus draw function
|
|
1412
|
-
|
|
1413
|
-
:param draw_func:
|
|
1414
|
-
"""
|
|
1415
|
-
...
|
|
1416
|
-
|
|
1417
|
-
def property_overridable_library_set(self) -> bool:
|
|
1418
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
1419
|
-
|
|
1420
|
-
:return: True when the overridable status of the property was successfully set.
|
|
1421
|
-
:rtype: bool
|
|
1422
|
-
"""
|
|
1423
|
-
...
|
|
1424
|
-
|
|
1425
|
-
def property_unset(self):
|
|
1426
|
-
"""Unset a property, will use default value afterward."""
|
|
1427
|
-
...
|
|
1428
|
-
|
|
1429
|
-
def remove(self, draw_func):
|
|
1430
|
-
"""Remove a draw function that has been added to this menu
|
|
1431
|
-
|
|
1432
|
-
:param draw_func:
|
|
1433
|
-
"""
|
|
1434
|
-
...
|
|
1435
|
-
|
|
1436
|
-
def type_recast(self):
|
|
1437
|
-
"""Return a new instance, this is needed because types
|
|
1438
|
-
such as textures can be changed at runtime.
|
|
1439
|
-
|
|
1440
|
-
:return: a new instance of this object with the type initialized again.
|
|
1441
|
-
"""
|
|
1442
|
-
...
|
|
1443
|
-
|
|
1444
|
-
def values(self):
|
|
1445
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
1446
|
-
dictionary function of the same name).
|
|
1447
|
-
|
|
1448
|
-
:return: custom property values.
|
|
1449
|
-
"""
|
|
1450
|
-
...
|
|
1451
|
-
|
|
1452
236
|
class DataButtonsPanel:
|
|
1453
237
|
bl_context: typing.Any
|
|
1454
238
|
bl_region_type: typing.Any
|