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
|
@@ -6,7 +6,7 @@ import bpy.types
|
|
|
6
6
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
8
|
|
|
9
|
-
class CONSTRAINT_OT_add_target:
|
|
9
|
+
class CONSTRAINT_OT_add_target(bpy.types.Operator):
|
|
10
10
|
"""Add a target to the constraint"""
|
|
11
11
|
|
|
12
12
|
bl_idname: typing.Any
|
|
@@ -15,21 +15,6 @@ class CONSTRAINT_OT_add_target:
|
|
|
15
15
|
bl_rna: typing.Any
|
|
16
16
|
id_data: typing.Any
|
|
17
17
|
|
|
18
|
-
def as_keywords(self, *, ignore=()):
|
|
19
|
-
"""Return a copy of the properties as a dictionary
|
|
20
|
-
|
|
21
|
-
:param ignore:
|
|
22
|
-
"""
|
|
23
|
-
...
|
|
24
|
-
|
|
25
|
-
def as_pointer(self) -> int:
|
|
26
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
27
|
-
|
|
28
|
-
:return: int (memory address).
|
|
29
|
-
:rtype: int
|
|
30
|
-
"""
|
|
31
|
-
...
|
|
32
|
-
|
|
33
18
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
34
19
|
"""
|
|
35
20
|
|
|
@@ -46,22 +31,6 @@ class CONSTRAINT_OT_add_target:
|
|
|
46
31
|
"""
|
|
47
32
|
...
|
|
48
33
|
|
|
49
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
50
|
-
"""Adds driver(s) to the given property
|
|
51
|
-
|
|
52
|
-
:return: The driver(s) added.
|
|
53
|
-
:rtype: bpy.types.FCurve
|
|
54
|
-
"""
|
|
55
|
-
...
|
|
56
|
-
|
|
57
|
-
def driver_remove(self) -> bool:
|
|
58
|
-
"""Remove driver(s) from the given property
|
|
59
|
-
|
|
60
|
-
:return: Success of driver removal.
|
|
61
|
-
:rtype: bool
|
|
62
|
-
"""
|
|
63
|
-
...
|
|
64
|
-
|
|
65
34
|
def execute(self, context):
|
|
66
35
|
"""
|
|
67
36
|
|
|
@@ -69,111 +38,6 @@ class CONSTRAINT_OT_add_target:
|
|
|
69
38
|
"""
|
|
70
39
|
...
|
|
71
40
|
|
|
72
|
-
def get(self):
|
|
73
|
-
"""Returns the value of the custom property assigned to key or default
|
|
74
|
-
when not found (matches Python's dictionary function of the same name).
|
|
75
|
-
|
|
76
|
-
"""
|
|
77
|
-
...
|
|
78
|
-
|
|
79
|
-
def id_properties_clear(self):
|
|
80
|
-
"""
|
|
81
|
-
|
|
82
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
83
|
-
"""
|
|
84
|
-
...
|
|
85
|
-
|
|
86
|
-
def id_properties_ensure(self):
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
90
|
-
"""
|
|
91
|
-
...
|
|
92
|
-
|
|
93
|
-
def id_properties_ui(self):
|
|
94
|
-
"""
|
|
95
|
-
|
|
96
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
97
|
-
"""
|
|
98
|
-
...
|
|
99
|
-
|
|
100
|
-
def is_property_hidden(self) -> bool:
|
|
101
|
-
"""Check if a property is hidden.
|
|
102
|
-
|
|
103
|
-
:return: True when the property is hidden.
|
|
104
|
-
:rtype: bool
|
|
105
|
-
"""
|
|
106
|
-
...
|
|
107
|
-
|
|
108
|
-
def is_property_overridable_library(self) -> bool:
|
|
109
|
-
"""Check if a property is overridable.
|
|
110
|
-
|
|
111
|
-
:return: True when the property is overridable.
|
|
112
|
-
:rtype: bool
|
|
113
|
-
"""
|
|
114
|
-
...
|
|
115
|
-
|
|
116
|
-
def is_property_readonly(self) -> bool:
|
|
117
|
-
"""Check if a property is readonly.
|
|
118
|
-
|
|
119
|
-
:return: True when the property is readonly (not writable).
|
|
120
|
-
:rtype: bool
|
|
121
|
-
"""
|
|
122
|
-
...
|
|
123
|
-
|
|
124
|
-
def is_property_set(self) -> bool:
|
|
125
|
-
"""Check if a property is set, use for testing operator properties.
|
|
126
|
-
|
|
127
|
-
:return: True when the property has been set.
|
|
128
|
-
:rtype: bool
|
|
129
|
-
"""
|
|
130
|
-
...
|
|
131
|
-
|
|
132
|
-
def items(self):
|
|
133
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
134
|
-
dictionary function of the same name).
|
|
135
|
-
|
|
136
|
-
:return: custom property key, value pairs.
|
|
137
|
-
"""
|
|
138
|
-
...
|
|
139
|
-
|
|
140
|
-
def keyframe_delete(self) -> bool:
|
|
141
|
-
"""Remove a keyframe from this properties fcurve.
|
|
142
|
-
|
|
143
|
-
:return: Success of keyframe deletion.
|
|
144
|
-
:rtype: bool
|
|
145
|
-
"""
|
|
146
|
-
...
|
|
147
|
-
|
|
148
|
-
def keyframe_insert(self) -> bool:
|
|
149
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
150
|
-
|
|
151
|
-
:return: Success of keyframe insertion.
|
|
152
|
-
:rtype: bool
|
|
153
|
-
"""
|
|
154
|
-
...
|
|
155
|
-
|
|
156
|
-
def keys(self):
|
|
157
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
158
|
-
dictionary function of the same name).
|
|
159
|
-
|
|
160
|
-
:return: custom property keys.
|
|
161
|
-
"""
|
|
162
|
-
...
|
|
163
|
-
|
|
164
|
-
def path_from_id(self) -> str:
|
|
165
|
-
"""Returns the data path from the ID to this object (string).
|
|
166
|
-
|
|
167
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
168
|
-
to this struct and property (when given).
|
|
169
|
-
:rtype: str
|
|
170
|
-
"""
|
|
171
|
-
...
|
|
172
|
-
|
|
173
|
-
def path_resolve(self):
|
|
174
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
175
|
-
...
|
|
176
|
-
|
|
177
41
|
@classmethod
|
|
178
42
|
def poll(cls, context):
|
|
179
43
|
"""
|
|
@@ -182,46 +46,7 @@ class CONSTRAINT_OT_add_target:
|
|
|
182
46
|
"""
|
|
183
47
|
...
|
|
184
48
|
|
|
185
|
-
|
|
186
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
187
|
-
...
|
|
188
|
-
|
|
189
|
-
def pop(self):
|
|
190
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
191
|
-
when not found (matches Python's dictionary function of the same name).
|
|
192
|
-
|
|
193
|
-
"""
|
|
194
|
-
...
|
|
195
|
-
|
|
196
|
-
def property_overridable_library_set(self) -> bool:
|
|
197
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
198
|
-
|
|
199
|
-
:return: True when the overridable status of the property was successfully set.
|
|
200
|
-
:rtype: bool
|
|
201
|
-
"""
|
|
202
|
-
...
|
|
203
|
-
|
|
204
|
-
def property_unset(self):
|
|
205
|
-
"""Unset a property, will use default value afterward."""
|
|
206
|
-
...
|
|
207
|
-
|
|
208
|
-
def type_recast(self):
|
|
209
|
-
"""Return a new instance, this is needed because types
|
|
210
|
-
such as textures can be changed at runtime.
|
|
211
|
-
|
|
212
|
-
:return: a new instance of this object with the type initialized again.
|
|
213
|
-
"""
|
|
214
|
-
...
|
|
215
|
-
|
|
216
|
-
def values(self):
|
|
217
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
218
|
-
dictionary function of the same name).
|
|
219
|
-
|
|
220
|
-
:return: custom property values.
|
|
221
|
-
"""
|
|
222
|
-
...
|
|
223
|
-
|
|
224
|
-
class CONSTRAINT_OT_disable_keep_transform:
|
|
49
|
+
class CONSTRAINT_OT_disable_keep_transform(bpy.types.Operator):
|
|
225
50
|
"""Set the influence of this constraint to zero while trying to maintain the object's transformation. Other active constraints can still influence the final transformation"""
|
|
226
51
|
|
|
227
52
|
bl_idname: typing.Any
|
|
@@ -230,21 +55,6 @@ class CONSTRAINT_OT_disable_keep_transform:
|
|
|
230
55
|
bl_rna: typing.Any
|
|
231
56
|
id_data: typing.Any
|
|
232
57
|
|
|
233
|
-
def as_keywords(self, *, ignore=()):
|
|
234
|
-
"""Return a copy of the properties as a dictionary
|
|
235
|
-
|
|
236
|
-
:param ignore:
|
|
237
|
-
"""
|
|
238
|
-
...
|
|
239
|
-
|
|
240
|
-
def as_pointer(self) -> int:
|
|
241
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
242
|
-
|
|
243
|
-
:return: int (memory address).
|
|
244
|
-
:rtype: int
|
|
245
|
-
"""
|
|
246
|
-
...
|
|
247
|
-
|
|
248
58
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
249
59
|
"""
|
|
250
60
|
|
|
@@ -261,22 +71,6 @@ class CONSTRAINT_OT_disable_keep_transform:
|
|
|
261
71
|
"""
|
|
262
72
|
...
|
|
263
73
|
|
|
264
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
265
|
-
"""Adds driver(s) to the given property
|
|
266
|
-
|
|
267
|
-
:return: The driver(s) added.
|
|
268
|
-
:rtype: bpy.types.FCurve
|
|
269
|
-
"""
|
|
270
|
-
...
|
|
271
|
-
|
|
272
|
-
def driver_remove(self) -> bool:
|
|
273
|
-
"""Remove driver(s) from the given property
|
|
274
|
-
|
|
275
|
-
:return: Success of driver removal.
|
|
276
|
-
:rtype: bool
|
|
277
|
-
"""
|
|
278
|
-
...
|
|
279
|
-
|
|
280
74
|
def execute(self, context):
|
|
281
75
|
"""Disable constraint while maintaining the visual transform
|
|
282
76
|
|
|
@@ -284,111 +78,6 @@ class CONSTRAINT_OT_disable_keep_transform:
|
|
|
284
78
|
"""
|
|
285
79
|
...
|
|
286
80
|
|
|
287
|
-
def get(self):
|
|
288
|
-
"""Returns the value of the custom property assigned to key or default
|
|
289
|
-
when not found (matches Python's dictionary function of the same name).
|
|
290
|
-
|
|
291
|
-
"""
|
|
292
|
-
...
|
|
293
|
-
|
|
294
|
-
def id_properties_clear(self):
|
|
295
|
-
"""
|
|
296
|
-
|
|
297
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
298
|
-
"""
|
|
299
|
-
...
|
|
300
|
-
|
|
301
|
-
def id_properties_ensure(self):
|
|
302
|
-
"""
|
|
303
|
-
|
|
304
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
305
|
-
"""
|
|
306
|
-
...
|
|
307
|
-
|
|
308
|
-
def id_properties_ui(self):
|
|
309
|
-
"""
|
|
310
|
-
|
|
311
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
312
|
-
"""
|
|
313
|
-
...
|
|
314
|
-
|
|
315
|
-
def is_property_hidden(self) -> bool:
|
|
316
|
-
"""Check if a property is hidden.
|
|
317
|
-
|
|
318
|
-
:return: True when the property is hidden.
|
|
319
|
-
:rtype: bool
|
|
320
|
-
"""
|
|
321
|
-
...
|
|
322
|
-
|
|
323
|
-
def is_property_overridable_library(self) -> bool:
|
|
324
|
-
"""Check if a property is overridable.
|
|
325
|
-
|
|
326
|
-
:return: True when the property is overridable.
|
|
327
|
-
:rtype: bool
|
|
328
|
-
"""
|
|
329
|
-
...
|
|
330
|
-
|
|
331
|
-
def is_property_readonly(self) -> bool:
|
|
332
|
-
"""Check if a property is readonly.
|
|
333
|
-
|
|
334
|
-
:return: True when the property is readonly (not writable).
|
|
335
|
-
:rtype: bool
|
|
336
|
-
"""
|
|
337
|
-
...
|
|
338
|
-
|
|
339
|
-
def is_property_set(self) -> bool:
|
|
340
|
-
"""Check if a property is set, use for testing operator properties.
|
|
341
|
-
|
|
342
|
-
:return: True when the property has been set.
|
|
343
|
-
:rtype: bool
|
|
344
|
-
"""
|
|
345
|
-
...
|
|
346
|
-
|
|
347
|
-
def items(self):
|
|
348
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
349
|
-
dictionary function of the same name).
|
|
350
|
-
|
|
351
|
-
:return: custom property key, value pairs.
|
|
352
|
-
"""
|
|
353
|
-
...
|
|
354
|
-
|
|
355
|
-
def keyframe_delete(self) -> bool:
|
|
356
|
-
"""Remove a keyframe from this properties fcurve.
|
|
357
|
-
|
|
358
|
-
:return: Success of keyframe deletion.
|
|
359
|
-
:rtype: bool
|
|
360
|
-
"""
|
|
361
|
-
...
|
|
362
|
-
|
|
363
|
-
def keyframe_insert(self) -> bool:
|
|
364
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
365
|
-
|
|
366
|
-
:return: Success of keyframe insertion.
|
|
367
|
-
:rtype: bool
|
|
368
|
-
"""
|
|
369
|
-
...
|
|
370
|
-
|
|
371
|
-
def keys(self):
|
|
372
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
373
|
-
dictionary function of the same name).
|
|
374
|
-
|
|
375
|
-
:return: custom property keys.
|
|
376
|
-
"""
|
|
377
|
-
...
|
|
378
|
-
|
|
379
|
-
def path_from_id(self) -> str:
|
|
380
|
-
"""Returns the data path from the ID to this object (string).
|
|
381
|
-
|
|
382
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
383
|
-
to this struct and property (when given).
|
|
384
|
-
:rtype: str
|
|
385
|
-
"""
|
|
386
|
-
...
|
|
387
|
-
|
|
388
|
-
def path_resolve(self):
|
|
389
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
390
|
-
...
|
|
391
|
-
|
|
392
81
|
@classmethod
|
|
393
82
|
def poll(cls, context):
|
|
394
83
|
"""
|
|
@@ -397,46 +86,7 @@ class CONSTRAINT_OT_disable_keep_transform:
|
|
|
397
86
|
"""
|
|
398
87
|
...
|
|
399
88
|
|
|
400
|
-
|
|
401
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
402
|
-
...
|
|
403
|
-
|
|
404
|
-
def pop(self):
|
|
405
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
406
|
-
when not found (matches Python's dictionary function of the same name).
|
|
407
|
-
|
|
408
|
-
"""
|
|
409
|
-
...
|
|
410
|
-
|
|
411
|
-
def property_overridable_library_set(self) -> bool:
|
|
412
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
413
|
-
|
|
414
|
-
:return: True when the overridable status of the property was successfully set.
|
|
415
|
-
:rtype: bool
|
|
416
|
-
"""
|
|
417
|
-
...
|
|
418
|
-
|
|
419
|
-
def property_unset(self):
|
|
420
|
-
"""Unset a property, will use default value afterward."""
|
|
421
|
-
...
|
|
422
|
-
|
|
423
|
-
def type_recast(self):
|
|
424
|
-
"""Return a new instance, this is needed because types
|
|
425
|
-
such as textures can be changed at runtime.
|
|
426
|
-
|
|
427
|
-
:return: a new instance of this object with the type initialized again.
|
|
428
|
-
"""
|
|
429
|
-
...
|
|
430
|
-
|
|
431
|
-
def values(self):
|
|
432
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
433
|
-
dictionary function of the same name).
|
|
434
|
-
|
|
435
|
-
:return: custom property values.
|
|
436
|
-
"""
|
|
437
|
-
...
|
|
438
|
-
|
|
439
|
-
class CONSTRAINT_OT_normalize_target_weights:
|
|
89
|
+
class CONSTRAINT_OT_normalize_target_weights(bpy.types.Operator):
|
|
440
90
|
"""Normalize weights of all target bones"""
|
|
441
91
|
|
|
442
92
|
bl_idname: typing.Any
|
|
@@ -445,21 +95,6 @@ class CONSTRAINT_OT_normalize_target_weights:
|
|
|
445
95
|
bl_rna: typing.Any
|
|
446
96
|
id_data: typing.Any
|
|
447
97
|
|
|
448
|
-
def as_keywords(self, *, ignore=()):
|
|
449
|
-
"""Return a copy of the properties as a dictionary
|
|
450
|
-
|
|
451
|
-
:param ignore:
|
|
452
|
-
"""
|
|
453
|
-
...
|
|
454
|
-
|
|
455
|
-
def as_pointer(self) -> int:
|
|
456
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
457
|
-
|
|
458
|
-
:return: int (memory address).
|
|
459
|
-
:rtype: int
|
|
460
|
-
"""
|
|
461
|
-
...
|
|
462
|
-
|
|
463
98
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
464
99
|
"""
|
|
465
100
|
|
|
@@ -476,22 +111,6 @@ class CONSTRAINT_OT_normalize_target_weights:
|
|
|
476
111
|
"""
|
|
477
112
|
...
|
|
478
113
|
|
|
479
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
480
|
-
"""Adds driver(s) to the given property
|
|
481
|
-
|
|
482
|
-
:return: The driver(s) added.
|
|
483
|
-
:rtype: bpy.types.FCurve
|
|
484
|
-
"""
|
|
485
|
-
...
|
|
486
|
-
|
|
487
|
-
def driver_remove(self) -> bool:
|
|
488
|
-
"""Remove driver(s) from the given property
|
|
489
|
-
|
|
490
|
-
:return: Success of driver removal.
|
|
491
|
-
:rtype: bool
|
|
492
|
-
"""
|
|
493
|
-
...
|
|
494
|
-
|
|
495
114
|
def execute(self, context):
|
|
496
115
|
"""
|
|
497
116
|
|
|
@@ -499,111 +118,6 @@ class CONSTRAINT_OT_normalize_target_weights:
|
|
|
499
118
|
"""
|
|
500
119
|
...
|
|
501
120
|
|
|
502
|
-
def get(self):
|
|
503
|
-
"""Returns the value of the custom property assigned to key or default
|
|
504
|
-
when not found (matches Python's dictionary function of the same name).
|
|
505
|
-
|
|
506
|
-
"""
|
|
507
|
-
...
|
|
508
|
-
|
|
509
|
-
def id_properties_clear(self):
|
|
510
|
-
"""
|
|
511
|
-
|
|
512
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
513
|
-
"""
|
|
514
|
-
...
|
|
515
|
-
|
|
516
|
-
def id_properties_ensure(self):
|
|
517
|
-
"""
|
|
518
|
-
|
|
519
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
520
|
-
"""
|
|
521
|
-
...
|
|
522
|
-
|
|
523
|
-
def id_properties_ui(self):
|
|
524
|
-
"""
|
|
525
|
-
|
|
526
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
527
|
-
"""
|
|
528
|
-
...
|
|
529
|
-
|
|
530
|
-
def is_property_hidden(self) -> bool:
|
|
531
|
-
"""Check if a property is hidden.
|
|
532
|
-
|
|
533
|
-
:return: True when the property is hidden.
|
|
534
|
-
:rtype: bool
|
|
535
|
-
"""
|
|
536
|
-
...
|
|
537
|
-
|
|
538
|
-
def is_property_overridable_library(self) -> bool:
|
|
539
|
-
"""Check if a property is overridable.
|
|
540
|
-
|
|
541
|
-
:return: True when the property is overridable.
|
|
542
|
-
:rtype: bool
|
|
543
|
-
"""
|
|
544
|
-
...
|
|
545
|
-
|
|
546
|
-
def is_property_readonly(self) -> bool:
|
|
547
|
-
"""Check if a property is readonly.
|
|
548
|
-
|
|
549
|
-
:return: True when the property is readonly (not writable).
|
|
550
|
-
:rtype: bool
|
|
551
|
-
"""
|
|
552
|
-
...
|
|
553
|
-
|
|
554
|
-
def is_property_set(self) -> bool:
|
|
555
|
-
"""Check if a property is set, use for testing operator properties.
|
|
556
|
-
|
|
557
|
-
:return: True when the property has been set.
|
|
558
|
-
:rtype: bool
|
|
559
|
-
"""
|
|
560
|
-
...
|
|
561
|
-
|
|
562
|
-
def items(self):
|
|
563
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
564
|
-
dictionary function of the same name).
|
|
565
|
-
|
|
566
|
-
:return: custom property key, value pairs.
|
|
567
|
-
"""
|
|
568
|
-
...
|
|
569
|
-
|
|
570
|
-
def keyframe_delete(self) -> bool:
|
|
571
|
-
"""Remove a keyframe from this properties fcurve.
|
|
572
|
-
|
|
573
|
-
:return: Success of keyframe deletion.
|
|
574
|
-
:rtype: bool
|
|
575
|
-
"""
|
|
576
|
-
...
|
|
577
|
-
|
|
578
|
-
def keyframe_insert(self) -> bool:
|
|
579
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
580
|
-
|
|
581
|
-
:return: Success of keyframe insertion.
|
|
582
|
-
:rtype: bool
|
|
583
|
-
"""
|
|
584
|
-
...
|
|
585
|
-
|
|
586
|
-
def keys(self):
|
|
587
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
588
|
-
dictionary function of the same name).
|
|
589
|
-
|
|
590
|
-
:return: custom property keys.
|
|
591
|
-
"""
|
|
592
|
-
...
|
|
593
|
-
|
|
594
|
-
def path_from_id(self) -> str:
|
|
595
|
-
"""Returns the data path from the ID to this object (string).
|
|
596
|
-
|
|
597
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
598
|
-
to this struct and property (when given).
|
|
599
|
-
:rtype: str
|
|
600
|
-
"""
|
|
601
|
-
...
|
|
602
|
-
|
|
603
|
-
def path_resolve(self):
|
|
604
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
605
|
-
...
|
|
606
|
-
|
|
607
121
|
@classmethod
|
|
608
122
|
def poll(cls, context):
|
|
609
123
|
"""
|
|
@@ -612,46 +126,7 @@ class CONSTRAINT_OT_normalize_target_weights:
|
|
|
612
126
|
"""
|
|
613
127
|
...
|
|
614
128
|
|
|
615
|
-
|
|
616
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
617
|
-
...
|
|
618
|
-
|
|
619
|
-
def pop(self):
|
|
620
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
621
|
-
when not found (matches Python's dictionary function of the same name).
|
|
622
|
-
|
|
623
|
-
"""
|
|
624
|
-
...
|
|
625
|
-
|
|
626
|
-
def property_overridable_library_set(self) -> bool:
|
|
627
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
628
|
-
|
|
629
|
-
:return: True when the overridable status of the property was successfully set.
|
|
630
|
-
:rtype: bool
|
|
631
|
-
"""
|
|
632
|
-
...
|
|
633
|
-
|
|
634
|
-
def property_unset(self):
|
|
635
|
-
"""Unset a property, will use default value afterward."""
|
|
636
|
-
...
|
|
637
|
-
|
|
638
|
-
def type_recast(self):
|
|
639
|
-
"""Return a new instance, this is needed because types
|
|
640
|
-
such as textures can be changed at runtime.
|
|
641
|
-
|
|
642
|
-
:return: a new instance of this object with the type initialized again.
|
|
643
|
-
"""
|
|
644
|
-
...
|
|
645
|
-
|
|
646
|
-
def values(self):
|
|
647
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
648
|
-
dictionary function of the same name).
|
|
649
|
-
|
|
650
|
-
:return: custom property values.
|
|
651
|
-
"""
|
|
652
|
-
...
|
|
653
|
-
|
|
654
|
-
class CONSTRAINT_OT_remove_target:
|
|
129
|
+
class CONSTRAINT_OT_remove_target(bpy.types.Operator):
|
|
655
130
|
"""Remove the target from the constraint"""
|
|
656
131
|
|
|
657
132
|
bl_idname: typing.Any
|
|
@@ -660,21 +135,6 @@ class CONSTRAINT_OT_remove_target:
|
|
|
660
135
|
bl_rna: typing.Any
|
|
661
136
|
id_data: typing.Any
|
|
662
137
|
|
|
663
|
-
def as_keywords(self, *, ignore=()):
|
|
664
|
-
"""Return a copy of the properties as a dictionary
|
|
665
|
-
|
|
666
|
-
:param ignore:
|
|
667
|
-
"""
|
|
668
|
-
...
|
|
669
|
-
|
|
670
|
-
def as_pointer(self) -> int:
|
|
671
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
672
|
-
|
|
673
|
-
:return: int (memory address).
|
|
674
|
-
:rtype: int
|
|
675
|
-
"""
|
|
676
|
-
...
|
|
677
|
-
|
|
678
138
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
679
139
|
"""
|
|
680
140
|
|
|
@@ -691,22 +151,6 @@ class CONSTRAINT_OT_remove_target:
|
|
|
691
151
|
"""
|
|
692
152
|
...
|
|
693
153
|
|
|
694
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
695
|
-
"""Adds driver(s) to the given property
|
|
696
|
-
|
|
697
|
-
:return: The driver(s) added.
|
|
698
|
-
:rtype: bpy.types.FCurve
|
|
699
|
-
"""
|
|
700
|
-
...
|
|
701
|
-
|
|
702
|
-
def driver_remove(self) -> bool:
|
|
703
|
-
"""Remove driver(s) from the given property
|
|
704
|
-
|
|
705
|
-
:return: Success of driver removal.
|
|
706
|
-
:rtype: bool
|
|
707
|
-
"""
|
|
708
|
-
...
|
|
709
|
-
|
|
710
154
|
def execute(self, context):
|
|
711
155
|
"""
|
|
712
156
|
|
|
@@ -714,111 +158,6 @@ class CONSTRAINT_OT_remove_target:
|
|
|
714
158
|
"""
|
|
715
159
|
...
|
|
716
160
|
|
|
717
|
-
def get(self):
|
|
718
|
-
"""Returns the value of the custom property assigned to key or default
|
|
719
|
-
when not found (matches Python's dictionary function of the same name).
|
|
720
|
-
|
|
721
|
-
"""
|
|
722
|
-
...
|
|
723
|
-
|
|
724
|
-
def id_properties_clear(self):
|
|
725
|
-
"""
|
|
726
|
-
|
|
727
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
728
|
-
"""
|
|
729
|
-
...
|
|
730
|
-
|
|
731
|
-
def id_properties_ensure(self):
|
|
732
|
-
"""
|
|
733
|
-
|
|
734
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
735
|
-
"""
|
|
736
|
-
...
|
|
737
|
-
|
|
738
|
-
def id_properties_ui(self):
|
|
739
|
-
"""
|
|
740
|
-
|
|
741
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
742
|
-
"""
|
|
743
|
-
...
|
|
744
|
-
|
|
745
|
-
def is_property_hidden(self) -> bool:
|
|
746
|
-
"""Check if a property is hidden.
|
|
747
|
-
|
|
748
|
-
:return: True when the property is hidden.
|
|
749
|
-
:rtype: bool
|
|
750
|
-
"""
|
|
751
|
-
...
|
|
752
|
-
|
|
753
|
-
def is_property_overridable_library(self) -> bool:
|
|
754
|
-
"""Check if a property is overridable.
|
|
755
|
-
|
|
756
|
-
:return: True when the property is overridable.
|
|
757
|
-
:rtype: bool
|
|
758
|
-
"""
|
|
759
|
-
...
|
|
760
|
-
|
|
761
|
-
def is_property_readonly(self) -> bool:
|
|
762
|
-
"""Check if a property is readonly.
|
|
763
|
-
|
|
764
|
-
:return: True when the property is readonly (not writable).
|
|
765
|
-
:rtype: bool
|
|
766
|
-
"""
|
|
767
|
-
...
|
|
768
|
-
|
|
769
|
-
def is_property_set(self) -> bool:
|
|
770
|
-
"""Check if a property is set, use for testing operator properties.
|
|
771
|
-
|
|
772
|
-
:return: True when the property has been set.
|
|
773
|
-
:rtype: bool
|
|
774
|
-
"""
|
|
775
|
-
...
|
|
776
|
-
|
|
777
|
-
def items(self):
|
|
778
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
779
|
-
dictionary function of the same name).
|
|
780
|
-
|
|
781
|
-
:return: custom property key, value pairs.
|
|
782
|
-
"""
|
|
783
|
-
...
|
|
784
|
-
|
|
785
|
-
def keyframe_delete(self) -> bool:
|
|
786
|
-
"""Remove a keyframe from this properties fcurve.
|
|
787
|
-
|
|
788
|
-
:return: Success of keyframe deletion.
|
|
789
|
-
:rtype: bool
|
|
790
|
-
"""
|
|
791
|
-
...
|
|
792
|
-
|
|
793
|
-
def keyframe_insert(self) -> bool:
|
|
794
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
795
|
-
|
|
796
|
-
:return: Success of keyframe insertion.
|
|
797
|
-
:rtype: bool
|
|
798
|
-
"""
|
|
799
|
-
...
|
|
800
|
-
|
|
801
|
-
def keys(self):
|
|
802
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
803
|
-
dictionary function of the same name).
|
|
804
|
-
|
|
805
|
-
:return: custom property keys.
|
|
806
|
-
"""
|
|
807
|
-
...
|
|
808
|
-
|
|
809
|
-
def path_from_id(self) -> str:
|
|
810
|
-
"""Returns the data path from the ID to this object (string).
|
|
811
|
-
|
|
812
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
813
|
-
to this struct and property (when given).
|
|
814
|
-
:rtype: str
|
|
815
|
-
"""
|
|
816
|
-
...
|
|
817
|
-
|
|
818
|
-
def path_resolve(self):
|
|
819
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
820
|
-
...
|
|
821
|
-
|
|
822
161
|
@classmethod
|
|
823
162
|
def poll(cls, context):
|
|
824
163
|
"""
|
|
@@ -826,42 +165,3 @@ class CONSTRAINT_OT_remove_target:
|
|
|
826
165
|
:param context:
|
|
827
166
|
"""
|
|
828
167
|
...
|
|
829
|
-
|
|
830
|
-
def poll_message_set(self):
|
|
831
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
832
|
-
...
|
|
833
|
-
|
|
834
|
-
def pop(self):
|
|
835
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
836
|
-
when not found (matches Python's dictionary function of the same name).
|
|
837
|
-
|
|
838
|
-
"""
|
|
839
|
-
...
|
|
840
|
-
|
|
841
|
-
def property_overridable_library_set(self) -> bool:
|
|
842
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
843
|
-
|
|
844
|
-
:return: True when the overridable status of the property was successfully set.
|
|
845
|
-
:rtype: bool
|
|
846
|
-
"""
|
|
847
|
-
...
|
|
848
|
-
|
|
849
|
-
def property_unset(self):
|
|
850
|
-
"""Unset a property, will use default value afterward."""
|
|
851
|
-
...
|
|
852
|
-
|
|
853
|
-
def type_recast(self):
|
|
854
|
-
"""Return a new instance, this is needed because types
|
|
855
|
-
such as textures can be changed at runtime.
|
|
856
|
-
|
|
857
|
-
:return: a new instance of this object with the type initialized again.
|
|
858
|
-
"""
|
|
859
|
-
...
|
|
860
|
-
|
|
861
|
-
def values(self):
|
|
862
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
863
|
-
dictionary function of the same name).
|
|
864
|
-
|
|
865
|
-
:return: custom property values.
|
|
866
|
-
"""
|
|
867
|
-
...
|