fake-bpy-module 20240718__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/types/__init__.pyi +65 -1
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.dist-info}/RECORD +119 -119
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240719.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-20240719.dist-info}/top_level.txt +0 -0
|
@@ -8,7 +8,9 @@ import bpy_extras.object_utils
|
|
|
8
8
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
9
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
10
|
|
|
11
|
-
class IMAGE_OT_convert_to_mesh_plane(
|
|
11
|
+
class IMAGE_OT_convert_to_mesh_plane(
|
|
12
|
+
TextureProperties_MixIn, MaterialProperties_MixIn, bpy.types.Operator
|
|
13
|
+
):
|
|
12
14
|
"""Convert selected reference images to textured mesh plane"""
|
|
13
15
|
|
|
14
16
|
bl_idname: typing.Any
|
|
@@ -18,21 +20,6 @@ class IMAGE_OT_convert_to_mesh_plane(TextureProperties_MixIn, MaterialProperties
|
|
|
18
20
|
id_data: typing.Any
|
|
19
21
|
t: typing.Any
|
|
20
22
|
|
|
21
|
-
def as_keywords(self, *, ignore=()):
|
|
22
|
-
"""Return a copy of the properties as a dictionary
|
|
23
|
-
|
|
24
|
-
:param ignore:
|
|
25
|
-
"""
|
|
26
|
-
...
|
|
27
|
-
|
|
28
|
-
def as_pointer(self) -> int:
|
|
29
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
30
|
-
|
|
31
|
-
:return: int (memory address).
|
|
32
|
-
:rtype: int
|
|
33
|
-
"""
|
|
34
|
-
...
|
|
35
|
-
|
|
36
23
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
37
24
|
"""
|
|
38
25
|
|
|
@@ -56,36 +43,6 @@ class IMAGE_OT_convert_to_mesh_plane(TextureProperties_MixIn, MaterialProperties
|
|
|
56
43
|
"""
|
|
57
44
|
...
|
|
58
45
|
|
|
59
|
-
def draw_material_config(self, context):
|
|
60
|
-
"""
|
|
61
|
-
|
|
62
|
-
:param context:
|
|
63
|
-
"""
|
|
64
|
-
...
|
|
65
|
-
|
|
66
|
-
def draw_texture_config(self, context):
|
|
67
|
-
"""
|
|
68
|
-
|
|
69
|
-
:param context:
|
|
70
|
-
"""
|
|
71
|
-
...
|
|
72
|
-
|
|
73
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
74
|
-
"""Adds driver(s) to the given property
|
|
75
|
-
|
|
76
|
-
:return: The driver(s) added.
|
|
77
|
-
:rtype: bpy.types.FCurve
|
|
78
|
-
"""
|
|
79
|
-
...
|
|
80
|
-
|
|
81
|
-
def driver_remove(self) -> bool:
|
|
82
|
-
"""Remove driver(s) from the given property
|
|
83
|
-
|
|
84
|
-
:return: Success of driver removal.
|
|
85
|
-
:rtype: bool
|
|
86
|
-
"""
|
|
87
|
-
...
|
|
88
|
-
|
|
89
46
|
def execute(self, context):
|
|
90
47
|
"""
|
|
91
48
|
|
|
@@ -93,34 +50,6 @@ class IMAGE_OT_convert_to_mesh_plane(TextureProperties_MixIn, MaterialProperties
|
|
|
93
50
|
"""
|
|
94
51
|
...
|
|
95
52
|
|
|
96
|
-
def get(self):
|
|
97
|
-
"""Returns the value of the custom property assigned to key or default
|
|
98
|
-
when not found (matches Python's dictionary function of the same name).
|
|
99
|
-
|
|
100
|
-
"""
|
|
101
|
-
...
|
|
102
|
-
|
|
103
|
-
def id_properties_clear(self):
|
|
104
|
-
"""
|
|
105
|
-
|
|
106
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
107
|
-
"""
|
|
108
|
-
...
|
|
109
|
-
|
|
110
|
-
def id_properties_ensure(self):
|
|
111
|
-
"""
|
|
112
|
-
|
|
113
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
114
|
-
"""
|
|
115
|
-
...
|
|
116
|
-
|
|
117
|
-
def id_properties_ui(self):
|
|
118
|
-
"""
|
|
119
|
-
|
|
120
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
121
|
-
"""
|
|
122
|
-
...
|
|
123
|
-
|
|
124
53
|
def invoke(self, context, _event):
|
|
125
54
|
"""
|
|
126
55
|
|
|
@@ -129,83 +58,6 @@ class IMAGE_OT_convert_to_mesh_plane(TextureProperties_MixIn, MaterialProperties
|
|
|
129
58
|
"""
|
|
130
59
|
...
|
|
131
60
|
|
|
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_resolve(self):
|
|
206
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
207
|
-
...
|
|
208
|
-
|
|
209
61
|
@classmethod
|
|
210
62
|
def poll(cls, context):
|
|
211
63
|
"""
|
|
@@ -214,50 +66,12 @@ class IMAGE_OT_convert_to_mesh_plane(TextureProperties_MixIn, MaterialProperties
|
|
|
214
66
|
"""
|
|
215
67
|
...
|
|
216
68
|
|
|
217
|
-
def poll_message_set(self):
|
|
218
|
-
"""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."""
|
|
219
|
-
...
|
|
220
|
-
|
|
221
|
-
def pop(self):
|
|
222
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
223
|
-
when not found (matches Python's dictionary function of the same name).
|
|
224
|
-
|
|
225
|
-
"""
|
|
226
|
-
...
|
|
227
|
-
|
|
228
|
-
def property_overridable_library_set(self) -> bool:
|
|
229
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
230
|
-
|
|
231
|
-
:return: True when the overridable status of the property was successfully set.
|
|
232
|
-
:rtype: bool
|
|
233
|
-
"""
|
|
234
|
-
...
|
|
235
|
-
|
|
236
|
-
def property_unset(self):
|
|
237
|
-
"""Unset a property, will use default value afterward."""
|
|
238
|
-
...
|
|
239
|
-
|
|
240
|
-
def type_recast(self):
|
|
241
|
-
"""Return a new instance, this is needed because types
|
|
242
|
-
such as textures can be changed at runtime.
|
|
243
|
-
|
|
244
|
-
:return: a new instance of this object with the type initialized again.
|
|
245
|
-
"""
|
|
246
|
-
...
|
|
247
|
-
|
|
248
|
-
def values(self):
|
|
249
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
250
|
-
dictionary function of the same name).
|
|
251
|
-
|
|
252
|
-
:return: custom property values.
|
|
253
|
-
"""
|
|
254
|
-
...
|
|
255
|
-
|
|
256
69
|
class IMAGE_OT_import_as_mesh_planes(
|
|
257
70
|
TextureProperties_MixIn,
|
|
258
71
|
bpy_extras.io_utils.ImportHelper,
|
|
259
72
|
bpy_extras.object_utils.AddObjectHelper,
|
|
260
73
|
MaterialProperties_MixIn,
|
|
74
|
+
bpy.types.Operator,
|
|
261
75
|
):
|
|
262
76
|
"""Create mesh plane(s) from image files with the appropriate aspect ratio"""
|
|
263
77
|
|
|
@@ -278,13 +92,6 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
278
92
|
"""
|
|
279
93
|
...
|
|
280
94
|
|
|
281
|
-
def align_update_callback(self, _context):
|
|
282
|
-
"""
|
|
283
|
-
|
|
284
|
-
:param _context:
|
|
285
|
-
"""
|
|
286
|
-
...
|
|
287
|
-
|
|
288
95
|
def apply_image_options(self, image):
|
|
289
96
|
"""
|
|
290
97
|
|
|
@@ -300,21 +107,6 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
300
107
|
"""
|
|
301
108
|
...
|
|
302
109
|
|
|
303
|
-
def as_keywords(self, *, ignore=()):
|
|
304
|
-
"""Return a copy of the properties as a dictionary
|
|
305
|
-
|
|
306
|
-
:param ignore:
|
|
307
|
-
"""
|
|
308
|
-
...
|
|
309
|
-
|
|
310
|
-
def as_pointer(self) -> int:
|
|
311
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
312
|
-
|
|
313
|
-
:return: int (memory address).
|
|
314
|
-
:rtype: int
|
|
315
|
-
"""
|
|
316
|
-
...
|
|
317
|
-
|
|
318
110
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
319
111
|
"""
|
|
320
112
|
|
|
@@ -331,13 +123,6 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
331
123
|
"""
|
|
332
124
|
...
|
|
333
125
|
|
|
334
|
-
def check(self, _context):
|
|
335
|
-
"""
|
|
336
|
-
|
|
337
|
-
:param _context:
|
|
338
|
-
"""
|
|
339
|
-
...
|
|
340
|
-
|
|
341
126
|
def compute_plane_size(self, context, img_spec):
|
|
342
127
|
"""Given the image size in pixels and location, determine size of plane
|
|
343
128
|
|
|
@@ -369,13 +154,6 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
369
154
|
"""
|
|
370
155
|
...
|
|
371
156
|
|
|
372
|
-
def draw_material_config(self, context):
|
|
373
|
-
"""
|
|
374
|
-
|
|
375
|
-
:param context:
|
|
376
|
-
"""
|
|
377
|
-
...
|
|
378
|
-
|
|
379
157
|
def draw_spatial_config(self, _context):
|
|
380
158
|
"""
|
|
381
159
|
|
|
@@ -383,29 +161,6 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
383
161
|
"""
|
|
384
162
|
...
|
|
385
163
|
|
|
386
|
-
def draw_texture_config(self, context):
|
|
387
|
-
"""
|
|
388
|
-
|
|
389
|
-
:param context:
|
|
390
|
-
"""
|
|
391
|
-
...
|
|
392
|
-
|
|
393
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
394
|
-
"""Adds driver(s) to the given property
|
|
395
|
-
|
|
396
|
-
:return: The driver(s) added.
|
|
397
|
-
:rtype: bpy.types.FCurve
|
|
398
|
-
"""
|
|
399
|
-
...
|
|
400
|
-
|
|
401
|
-
def driver_remove(self) -> bool:
|
|
402
|
-
"""Remove driver(s) from the given property
|
|
403
|
-
|
|
404
|
-
:return: Success of driver removal.
|
|
405
|
-
:rtype: bool
|
|
406
|
-
"""
|
|
407
|
-
...
|
|
408
|
-
|
|
409
164
|
def execute(self, context):
|
|
410
165
|
"""
|
|
411
166
|
|
|
@@ -413,34 +168,6 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
413
168
|
"""
|
|
414
169
|
...
|
|
415
170
|
|
|
416
|
-
def get(self):
|
|
417
|
-
"""Returns the value of the custom property assigned to key or default
|
|
418
|
-
when not found (matches Python's dictionary function of the same name).
|
|
419
|
-
|
|
420
|
-
"""
|
|
421
|
-
...
|
|
422
|
-
|
|
423
|
-
def id_properties_clear(self):
|
|
424
|
-
"""
|
|
425
|
-
|
|
426
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
427
|
-
"""
|
|
428
|
-
...
|
|
429
|
-
|
|
430
|
-
def id_properties_ensure(self):
|
|
431
|
-
"""
|
|
432
|
-
|
|
433
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
434
|
-
"""
|
|
435
|
-
...
|
|
436
|
-
|
|
437
|
-
def id_properties_ui(self):
|
|
438
|
-
"""
|
|
439
|
-
|
|
440
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
441
|
-
"""
|
|
442
|
-
...
|
|
443
|
-
|
|
444
171
|
def import_images(self, context):
|
|
445
172
|
"""
|
|
446
173
|
|
|
@@ -456,121 +183,6 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
456
183
|
"""
|
|
457
184
|
...
|
|
458
185
|
|
|
459
|
-
def invoke_popup(self, context, confirm_text=""):
|
|
460
|
-
"""
|
|
461
|
-
|
|
462
|
-
:param context:
|
|
463
|
-
:param confirm_text:
|
|
464
|
-
"""
|
|
465
|
-
...
|
|
466
|
-
|
|
467
|
-
def is_property_hidden(self) -> bool:
|
|
468
|
-
"""Check if a property is hidden.
|
|
469
|
-
|
|
470
|
-
:return: True when the property is hidden.
|
|
471
|
-
:rtype: bool
|
|
472
|
-
"""
|
|
473
|
-
...
|
|
474
|
-
|
|
475
|
-
def is_property_overridable_library(self) -> bool:
|
|
476
|
-
"""Check if a property is overridable.
|
|
477
|
-
|
|
478
|
-
:return: True when the property is overridable.
|
|
479
|
-
:rtype: bool
|
|
480
|
-
"""
|
|
481
|
-
...
|
|
482
|
-
|
|
483
|
-
def is_property_readonly(self) -> bool:
|
|
484
|
-
"""Check if a property is readonly.
|
|
485
|
-
|
|
486
|
-
:return: True when the property is readonly (not writable).
|
|
487
|
-
:rtype: bool
|
|
488
|
-
"""
|
|
489
|
-
...
|
|
490
|
-
|
|
491
|
-
def is_property_set(self) -> bool:
|
|
492
|
-
"""Check if a property is set, use for testing operator properties.
|
|
493
|
-
|
|
494
|
-
:return: True when the property has been set.
|
|
495
|
-
:rtype: bool
|
|
496
|
-
"""
|
|
497
|
-
...
|
|
498
|
-
|
|
499
|
-
def items(self):
|
|
500
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
501
|
-
dictionary function of the same name).
|
|
502
|
-
|
|
503
|
-
:return: custom property key, value pairs.
|
|
504
|
-
"""
|
|
505
|
-
...
|
|
506
|
-
|
|
507
|
-
def keyframe_delete(self) -> bool:
|
|
508
|
-
"""Remove a keyframe from this properties fcurve.
|
|
509
|
-
|
|
510
|
-
:return: Success of keyframe deletion.
|
|
511
|
-
:rtype: bool
|
|
512
|
-
"""
|
|
513
|
-
...
|
|
514
|
-
|
|
515
|
-
def keyframe_insert(self) -> bool:
|
|
516
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
517
|
-
|
|
518
|
-
:return: Success of keyframe insertion.
|
|
519
|
-
:rtype: bool
|
|
520
|
-
"""
|
|
521
|
-
...
|
|
522
|
-
|
|
523
|
-
def keys(self):
|
|
524
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
525
|
-
dictionary function of the same name).
|
|
526
|
-
|
|
527
|
-
:return: custom property keys.
|
|
528
|
-
"""
|
|
529
|
-
...
|
|
530
|
-
|
|
531
|
-
def path_from_id(self) -> str:
|
|
532
|
-
"""Returns the data path from the ID to this object (string).
|
|
533
|
-
|
|
534
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
535
|
-
to this struct and property (when given).
|
|
536
|
-
:rtype: str
|
|
537
|
-
"""
|
|
538
|
-
...
|
|
539
|
-
|
|
540
|
-
def path_resolve(self):
|
|
541
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
542
|
-
...
|
|
543
|
-
|
|
544
|
-
def poll(self, context):
|
|
545
|
-
"""
|
|
546
|
-
|
|
547
|
-
:param context:
|
|
548
|
-
"""
|
|
549
|
-
...
|
|
550
|
-
|
|
551
|
-
def poll_message_set(self):
|
|
552
|
-
"""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."""
|
|
553
|
-
...
|
|
554
|
-
|
|
555
|
-
def pop(self):
|
|
556
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
557
|
-
when not found (matches Python's dictionary function of the same name).
|
|
558
|
-
|
|
559
|
-
"""
|
|
560
|
-
...
|
|
561
|
-
|
|
562
|
-
def property_overridable_library_set(self) -> bool:
|
|
563
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
564
|
-
|
|
565
|
-
:return: True when the overridable status of the property was successfully set.
|
|
566
|
-
:rtype: bool
|
|
567
|
-
"""
|
|
568
|
-
...
|
|
569
|
-
|
|
570
|
-
def property_unset(self):
|
|
571
|
-
"""Unset a property, will use default value afterward."""
|
|
572
|
-
...
|
|
573
|
-
|
|
574
186
|
def single_image_spec_to_plane(self, context, img_spec):
|
|
575
187
|
"""
|
|
576
188
|
|
|
@@ -579,14 +191,6 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
579
191
|
"""
|
|
580
192
|
...
|
|
581
193
|
|
|
582
|
-
def type_recast(self):
|
|
583
|
-
"""Return a new instance, this is needed because types
|
|
584
|
-
such as textures can be changed at runtime.
|
|
585
|
-
|
|
586
|
-
:return: a new instance of this object with the type initialized again.
|
|
587
|
-
"""
|
|
588
|
-
...
|
|
589
|
-
|
|
590
194
|
def update_size_mode(self, _context):
|
|
591
195
|
"""If sizing relative to the camera, always face the camera
|
|
592
196
|
|
|
@@ -594,14 +198,6 @@ class IMAGE_OT_import_as_mesh_planes(
|
|
|
594
198
|
"""
|
|
595
199
|
...
|
|
596
200
|
|
|
597
|
-
def values(self):
|
|
598
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
599
|
-
dictionary function of the same name).
|
|
600
|
-
|
|
601
|
-
:return: custom property values.
|
|
602
|
-
"""
|
|
603
|
-
...
|
|
604
|
-
|
|
605
201
|
class ImageSpec:
|
|
606
202
|
"""ImageSpec(image, size, frame_start, frame_offset, frame_duration)"""
|
|
607
203
|
|
|
@@ -611,22 +207,6 @@ class ImageSpec:
|
|
|
611
207
|
image: typing.Any
|
|
612
208
|
size: typing.Any
|
|
613
209
|
|
|
614
|
-
def count(self, value):
|
|
615
|
-
"""Return number of occurrences of value.
|
|
616
|
-
|
|
617
|
-
:param value:
|
|
618
|
-
"""
|
|
619
|
-
...
|
|
620
|
-
|
|
621
|
-
def index(self, value, start=0, stop=9223372036854775807):
|
|
622
|
-
"""Return first index of value.Raises ValueError if the value is not present.
|
|
623
|
-
|
|
624
|
-
:param value:
|
|
625
|
-
:param start:
|
|
626
|
-
:param stop:
|
|
627
|
-
"""
|
|
628
|
-
...
|
|
629
|
-
|
|
630
210
|
class MaterialProperties_MixIn:
|
|
631
211
|
def draw_material_config(self, context):
|
|
632
212
|
"""
|