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