fake-bpy-module 20240523__py3-none-any.whl → 20240528__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/__init__.pyi +1 -0
- bl_operators/image_as_planes/__init__.pyi +457 -0
- bl_operators/userpref/__init__.pyi +0 -214
- bl_ui/properties_data_modifier/__init__.pyi +284 -0
- bl_ui/properties_render/__init__.pyi +1 -1
- bl_ui/space_userpref/__init__.pyi +233 -0
- bpy/app/__init__.pyi +9 -1
- bpy/ops/action/__init__.pyi +21 -0
- bpy/ops/anim/__init__.pyi +34 -0
- bpy/ops/armature/__init__.pyi +31 -0
- bpy/ops/asset/__init__.pyi +5 -0
- bpy/ops/bl_pkg/__init__.pyi +28 -17
- bpy/ops/boid/__init__.pyi +1 -0
- bpy/ops/brush/__init__.pyi +6 -0
- bpy/ops/buttons/__init__.pyi +2 -0
- bpy/ops/cachefile/__init__.pyi +3 -0
- bpy/ops/camera/__init__.pyi +2 -0
- bpy/ops/clip/__init__.pyi +49 -0
- bpy/ops/cloth/__init__.pyi +1 -0
- bpy/ops/collection/__init__.pyi +7 -0
- bpy/ops/console/__init__.pyi +11 -0
- bpy/ops/constraint/__init__.pyi +15 -0
- bpy/ops/curve/__init__.pyi +28 -0
- bpy/ops/curves/__init__.pyi +14 -0
- bpy/ops/cycles/__init__.pyi +2 -0
- bpy/ops/dpaint/__init__.pyi +2 -0
- bpy/ops/ed/__init__.pyi +3 -0
- bpy/ops/export_anim/__init__.pyi +1 -0
- bpy/ops/export_scene/__init__.pyi +20 -3
- bpy/ops/file/__init__.pyi +14 -0
- bpy/ops/fluid/__init__.pyi +1 -0
- bpy/ops/font/__init__.pyi +13 -0
- bpy/ops/geometry/__init__.pyi +7 -0
- bpy/ops/gizmogroup/__init__.pyi +1 -0
- bpy/ops/gpencil/__init__.pyi +106 -0
- bpy/ops/graph/__init__.pyi +47 -0
- bpy/ops/grease_pencil/__init__.pyi +58 -0
- bpy/ops/image/__init__.pyi +308 -0
- bpy/ops/import_anim/__init__.pyi +1 -0
- bpy/ops/import_curve/__init__.pyi +1 -0
- bpy/ops/import_scene/__init__.pyi +2 -0
- bpy/ops/info/__init__.pyi +3 -0
- bpy/ops/lattice/__init__.pyi +5 -0
- bpy/ops/marker/__init__.pyi +9 -0
- bpy/ops/mask/__init__.pyi +22 -0
- bpy/ops/mball/__init__.pyi +7 -0
- bpy/ops/mesh/__init__.pyi +134 -0
- bpy/ops/nla/__init__.pyi +20 -0
- bpy/ops/node/__init__.pyi +47 -0
- bpy/ops/object/__init__.pyi +174 -0
- bpy/ops/outliner/__init__.pyi +53 -0
- bpy/ops/paint/__init__.pyi +39 -0
- bpy/ops/paintcurve/__init__.pyi +4 -0
- bpy/ops/palette/__init__.pyi +4 -0
- bpy/ops/particle/__init__.pyi +17 -0
- bpy/ops/pose/__init__.pyi +24 -0
- bpy/ops/poselib/__init__.pyi +4 -0
- bpy/ops/preferences/__init__.pyi +26 -14
- bpy/ops/ptcache/__init__.pyi +2 -0
- bpy/ops/render/__init__.pyi +9 -0
- bpy/ops/rigidbody/__init__.pyi +7 -0
- bpy/ops/scene/__init__.pyi +16 -0
- bpy/ops/screen/__init__.pyi +21 -0
- bpy/ops/script/__init__.pyi +2 -0
- bpy/ops/sculpt/__init__.pyi +26 -1
- bpy/ops/sculpt_curves/__init__.pyi +3 -0
- bpy/ops/sequencer/__init__.pyi +57 -0
- bpy/ops/sound/__init__.pyi +4 -0
- bpy/ops/spreadsheet/__init__.pyi +2 -0
- bpy/ops/surface/__init__.pyi +6 -0
- bpy/ops/text/__init__.pyi +18 -0
- bpy/ops/text_editor/__init__.pyi +1 -0
- bpy/ops/texture/__init__.pyi +1 -0
- bpy/ops/transform/__init__.pyi +25 -0
- bpy/ops/ui/__init__.pyi +13 -0
- bpy/ops/uilist/__init__.pyi +3 -0
- bpy/ops/uv/__init__.pyi +40 -0
- bpy/ops/view2d/__init__.pyi +11 -0
- bpy/ops/view3d/__init__.pyi +30 -0
- bpy/ops/wm/__init__.pyi +114 -0
- bpy/ops/workspace/__init__.pyi +1 -0
- bpy/path/__init__.pyi +6 -6
- bpy/props/__init__.pyi +11 -1
- bpy/types/__init__.pyi +594 -342
- bpy/utils/__init__.pyi +10 -8
- bpy_extras/anim_utils/__init__.pyi +3 -3
- bpy_extras/view3d_utils/__init__.pyi +2 -0
- {fake_bpy_module-20240523.dist-info → fake_bpy_module-20240528.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240523.dist-info → fake_bpy_module-20240528.dist-info}/RECORD +94 -93
- gpu/types/__init__.pyi +4 -2
- gpu_extras/batch/__init__.pyi +1 -1
- gpu_extras/presets/__init__.pyi +1 -1
- {fake_bpy_module-20240523.dist-info → fake_bpy_module-20240528.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240523.dist-info → fake_bpy_module-20240528.dist-info}/top_level.txt +0 -0
|
@@ -2111,6 +2111,290 @@ class OBJECT_MT_modifier_add_generate(
|
|
|
2111
2111
|
"""
|
|
2112
2112
|
...
|
|
2113
2113
|
|
|
2114
|
+
class OBJECT_MT_modifier_add_normals(
|
|
2115
|
+
bpy_types.Menu, ModifierAddMenu, bpy_types._GenericUI
|
|
2116
|
+
):
|
|
2117
|
+
MODIFIER_TYPES_I18N_CONTEXT: typing.Any
|
|
2118
|
+
MODIFIER_TYPES_TO_ICONS: typing.Any
|
|
2119
|
+
MODIFIER_TYPES_TO_LABELS: typing.Any
|
|
2120
|
+
bl_label: typing.Any
|
|
2121
|
+
bl_options: typing.Any
|
|
2122
|
+
bl_rna: typing.Any
|
|
2123
|
+
id_data: typing.Any
|
|
2124
|
+
|
|
2125
|
+
def append(self, draw_func):
|
|
2126
|
+
"""Append a draw function to this menu,
|
|
2127
|
+
takes the same arguments as the menus draw function
|
|
2128
|
+
|
|
2129
|
+
:param draw_func:
|
|
2130
|
+
"""
|
|
2131
|
+
...
|
|
2132
|
+
|
|
2133
|
+
def as_pointer(self) -> int:
|
|
2134
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
2135
|
+
|
|
2136
|
+
:return: int (memory address).
|
|
2137
|
+
:rtype: int
|
|
2138
|
+
"""
|
|
2139
|
+
...
|
|
2140
|
+
|
|
2141
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2142
|
+
"""
|
|
2143
|
+
|
|
2144
|
+
:return: The RNA type or default when not found.
|
|
2145
|
+
:rtype: bpy.types.Struct
|
|
2146
|
+
"""
|
|
2147
|
+
...
|
|
2148
|
+
|
|
2149
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2150
|
+
"""
|
|
2151
|
+
|
|
2152
|
+
:return: The class or default when not found.
|
|
2153
|
+
:rtype: typing.Any
|
|
2154
|
+
"""
|
|
2155
|
+
...
|
|
2156
|
+
|
|
2157
|
+
def draw(self, context):
|
|
2158
|
+
"""
|
|
2159
|
+
|
|
2160
|
+
:param context:
|
|
2161
|
+
"""
|
|
2162
|
+
...
|
|
2163
|
+
|
|
2164
|
+
def draw_collapsible(self, context, layout):
|
|
2165
|
+
"""
|
|
2166
|
+
|
|
2167
|
+
:param context:
|
|
2168
|
+
:param layout:
|
|
2169
|
+
"""
|
|
2170
|
+
...
|
|
2171
|
+
|
|
2172
|
+
def draw_preset(self, _context):
|
|
2173
|
+
"""Define these on the subclass:
|
|
2174
|
+
- preset_operator (string)
|
|
2175
|
+
- preset_subdir (string)Optionally:
|
|
2176
|
+
- preset_add_operator (string)
|
|
2177
|
+
- preset_extensions (set of strings)
|
|
2178
|
+
- preset_operator_defaults (dict of keyword args)
|
|
2179
|
+
|
|
2180
|
+
:param _context:
|
|
2181
|
+
"""
|
|
2182
|
+
...
|
|
2183
|
+
|
|
2184
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
2185
|
+
"""Adds driver(s) to the given property
|
|
2186
|
+
|
|
2187
|
+
:return: The driver(s) added.
|
|
2188
|
+
:rtype: bpy.types.FCurve
|
|
2189
|
+
"""
|
|
2190
|
+
...
|
|
2191
|
+
|
|
2192
|
+
def driver_remove(self) -> bool:
|
|
2193
|
+
"""Remove driver(s) from the given property
|
|
2194
|
+
|
|
2195
|
+
:return: Success of driver removal.
|
|
2196
|
+
:rtype: bool
|
|
2197
|
+
"""
|
|
2198
|
+
...
|
|
2199
|
+
|
|
2200
|
+
def get(self):
|
|
2201
|
+
"""Returns the value of the custom property assigned to key or default
|
|
2202
|
+
when not found (matches Python's dictionary function of the same name).
|
|
2203
|
+
|
|
2204
|
+
"""
|
|
2205
|
+
...
|
|
2206
|
+
|
|
2207
|
+
def id_properties_clear(self):
|
|
2208
|
+
"""
|
|
2209
|
+
|
|
2210
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
2211
|
+
"""
|
|
2212
|
+
...
|
|
2213
|
+
|
|
2214
|
+
def id_properties_ensure(self):
|
|
2215
|
+
"""
|
|
2216
|
+
|
|
2217
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
2218
|
+
"""
|
|
2219
|
+
...
|
|
2220
|
+
|
|
2221
|
+
def id_properties_ui(self):
|
|
2222
|
+
"""
|
|
2223
|
+
|
|
2224
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
2225
|
+
"""
|
|
2226
|
+
...
|
|
2227
|
+
|
|
2228
|
+
def is_extended(self): ...
|
|
2229
|
+
def is_property_hidden(self) -> bool:
|
|
2230
|
+
"""Check if a property is hidden.
|
|
2231
|
+
|
|
2232
|
+
:return: True when the property is hidden.
|
|
2233
|
+
:rtype: bool
|
|
2234
|
+
"""
|
|
2235
|
+
...
|
|
2236
|
+
|
|
2237
|
+
def is_property_overridable_library(self) -> bool:
|
|
2238
|
+
"""Check if a property is overridable.
|
|
2239
|
+
|
|
2240
|
+
:return: True when the property is overridable.
|
|
2241
|
+
:rtype: bool
|
|
2242
|
+
"""
|
|
2243
|
+
...
|
|
2244
|
+
|
|
2245
|
+
def is_property_readonly(self) -> bool:
|
|
2246
|
+
"""Check if a property is readonly.
|
|
2247
|
+
|
|
2248
|
+
:return: True when the property is readonly (not writable).
|
|
2249
|
+
:rtype: bool
|
|
2250
|
+
"""
|
|
2251
|
+
...
|
|
2252
|
+
|
|
2253
|
+
def is_property_set(self) -> bool:
|
|
2254
|
+
"""Check if a property is set, use for testing operator properties.
|
|
2255
|
+
|
|
2256
|
+
:return: True when the property has been set.
|
|
2257
|
+
:rtype: bool
|
|
2258
|
+
"""
|
|
2259
|
+
...
|
|
2260
|
+
|
|
2261
|
+
def items(self):
|
|
2262
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
2263
|
+
dictionary function of the same name).
|
|
2264
|
+
|
|
2265
|
+
:return: custom property key, value pairs.
|
|
2266
|
+
"""
|
|
2267
|
+
...
|
|
2268
|
+
|
|
2269
|
+
def keyframe_delete(self) -> bool:
|
|
2270
|
+
"""Remove a keyframe from this properties fcurve.
|
|
2271
|
+
|
|
2272
|
+
:return: Success of keyframe deletion.
|
|
2273
|
+
:rtype: bool
|
|
2274
|
+
"""
|
|
2275
|
+
...
|
|
2276
|
+
|
|
2277
|
+
def keyframe_insert(self) -> bool:
|
|
2278
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
2279
|
+
|
|
2280
|
+
:return: Success of keyframe insertion.
|
|
2281
|
+
:rtype: bool
|
|
2282
|
+
"""
|
|
2283
|
+
...
|
|
2284
|
+
|
|
2285
|
+
def keys(self):
|
|
2286
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
2287
|
+
dictionary function of the same name).
|
|
2288
|
+
|
|
2289
|
+
:return: custom property keys.
|
|
2290
|
+
"""
|
|
2291
|
+
...
|
|
2292
|
+
|
|
2293
|
+
def operator_modifier_add(self, layout, mod_type):
|
|
2294
|
+
"""
|
|
2295
|
+
|
|
2296
|
+
:param layout:
|
|
2297
|
+
:param mod_type:
|
|
2298
|
+
"""
|
|
2299
|
+
...
|
|
2300
|
+
|
|
2301
|
+
def path_from_id(self) -> str:
|
|
2302
|
+
"""Returns the data path from the ID to this object (string).
|
|
2303
|
+
|
|
2304
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
2305
|
+
to this struct and property (when given).
|
|
2306
|
+
:rtype: str
|
|
2307
|
+
"""
|
|
2308
|
+
...
|
|
2309
|
+
|
|
2310
|
+
def path_menu(
|
|
2311
|
+
self,
|
|
2312
|
+
searchpaths: list[str],
|
|
2313
|
+
operator: str,
|
|
2314
|
+
props_default: dict = None,
|
|
2315
|
+
prop_filepath: str = "filepath",
|
|
2316
|
+
filter_ext: typing.Callable = None,
|
|
2317
|
+
filter_path=None,
|
|
2318
|
+
display_name: typing.Callable = None,
|
|
2319
|
+
add_operator=None,
|
|
2320
|
+
add_operator_props=None,
|
|
2321
|
+
):
|
|
2322
|
+
"""Populate a menu from a list of paths.
|
|
2323
|
+
|
|
2324
|
+
:param searchpaths: Paths to scan.
|
|
2325
|
+
:type searchpaths: list[str]
|
|
2326
|
+
:param operator: The operator id to use with each file.
|
|
2327
|
+
:type operator: str
|
|
2328
|
+
:param props_default: Properties to assign to each operator.
|
|
2329
|
+
:type props_default: dict
|
|
2330
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
2331
|
+
:type prop_filepath: str
|
|
2332
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
2333
|
+
|
|
2334
|
+
Returning false excludes the file from the list.
|
|
2335
|
+
:type filter_ext: typing.Callable
|
|
2336
|
+
:param filter_path:
|
|
2337
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
2338
|
+
:type display_name: typing.Callable
|
|
2339
|
+
:param add_operator:
|
|
2340
|
+
:param add_operator_props:
|
|
2341
|
+
"""
|
|
2342
|
+
...
|
|
2343
|
+
|
|
2344
|
+
def path_resolve(self):
|
|
2345
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
2346
|
+
...
|
|
2347
|
+
|
|
2348
|
+
def pop(self):
|
|
2349
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
2350
|
+
when not found (matches Python's dictionary function of the same name).
|
|
2351
|
+
|
|
2352
|
+
"""
|
|
2353
|
+
...
|
|
2354
|
+
|
|
2355
|
+
def prepend(self, draw_func):
|
|
2356
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
2357
|
+
the menus draw function
|
|
2358
|
+
|
|
2359
|
+
:param draw_func:
|
|
2360
|
+
"""
|
|
2361
|
+
...
|
|
2362
|
+
|
|
2363
|
+
def property_overridable_library_set(self) -> bool:
|
|
2364
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
2365
|
+
|
|
2366
|
+
:return: True when the overridable status of the property was successfully set.
|
|
2367
|
+
:rtype: bool
|
|
2368
|
+
"""
|
|
2369
|
+
...
|
|
2370
|
+
|
|
2371
|
+
def property_unset(self):
|
|
2372
|
+
"""Unset a property, will use default value afterward."""
|
|
2373
|
+
...
|
|
2374
|
+
|
|
2375
|
+
def remove(self, draw_func):
|
|
2376
|
+
"""Remove a draw function that has been added to this menu
|
|
2377
|
+
|
|
2378
|
+
:param draw_func:
|
|
2379
|
+
"""
|
|
2380
|
+
...
|
|
2381
|
+
|
|
2382
|
+
def type_recast(self):
|
|
2383
|
+
"""Return a new instance, this is needed because types
|
|
2384
|
+
such as textures can be changed at runtime.
|
|
2385
|
+
|
|
2386
|
+
:return: a new instance of this object with the type initialized again.
|
|
2387
|
+
"""
|
|
2388
|
+
...
|
|
2389
|
+
|
|
2390
|
+
def values(self):
|
|
2391
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
2392
|
+
dictionary function of the same name).
|
|
2393
|
+
|
|
2394
|
+
:return: custom property values.
|
|
2395
|
+
"""
|
|
2396
|
+
...
|
|
2397
|
+
|
|
2114
2398
|
class OBJECT_MT_modifier_add_physics(
|
|
2115
2399
|
bpy_types.Menu, ModifierAddMenu, bpy_types._GenericUI
|
|
2116
2400
|
):
|
|
@@ -4472,7 +4472,7 @@ class RENDER_PT_eevee_next_film(
|
|
|
4472
4472
|
"""
|
|
4473
4473
|
...
|
|
4474
4474
|
|
|
4475
|
-
class
|
|
4475
|
+
class RENDER_PT_eevee_next_gi_approximation(
|
|
4476
4476
|
bpy_types.Panel, RenderButtonsPanel, bpy_types._GenericUI
|
|
4477
4477
|
):
|
|
4478
4478
|
COMPAT_ENGINES: typing.Any
|
|
@@ -15981,6 +15981,239 @@ class USERPREF_PT_system_memory(
|
|
|
15981
15981
|
"""
|
|
15982
15982
|
...
|
|
15983
15983
|
|
|
15984
|
+
class USERPREF_PT_system_network(
|
|
15985
|
+
bpy_types.Panel, SystemPanel, CenterAlignMixIn, bpy_types._GenericUI
|
|
15986
|
+
):
|
|
15987
|
+
"""Base class for panels to center align contents with some horizontal margin.
|
|
15988
|
+
Deriving classes need to implement a draw_centered(context, layout) function.
|
|
15989
|
+
"""
|
|
15990
|
+
|
|
15991
|
+
bl_context: typing.Any
|
|
15992
|
+
bl_label: typing.Any
|
|
15993
|
+
bl_region_type: typing.Any
|
|
15994
|
+
bl_rna: typing.Any
|
|
15995
|
+
bl_space_type: typing.Any
|
|
15996
|
+
id_data: typing.Any
|
|
15997
|
+
|
|
15998
|
+
def append(self, draw_func):
|
|
15999
|
+
"""Append a draw function to this menu,
|
|
16000
|
+
takes the same arguments as the menus draw function
|
|
16001
|
+
|
|
16002
|
+
:param draw_func:
|
|
16003
|
+
"""
|
|
16004
|
+
...
|
|
16005
|
+
|
|
16006
|
+
def as_pointer(self) -> int:
|
|
16007
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
16008
|
+
|
|
16009
|
+
:return: int (memory address).
|
|
16010
|
+
:rtype: int
|
|
16011
|
+
"""
|
|
16012
|
+
...
|
|
16013
|
+
|
|
16014
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
16015
|
+
"""
|
|
16016
|
+
|
|
16017
|
+
:return: The RNA type or default when not found.
|
|
16018
|
+
:rtype: bpy.types.Struct
|
|
16019
|
+
"""
|
|
16020
|
+
...
|
|
16021
|
+
|
|
16022
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
16023
|
+
"""
|
|
16024
|
+
|
|
16025
|
+
:return: The class or default when not found.
|
|
16026
|
+
:rtype: typing.Any
|
|
16027
|
+
"""
|
|
16028
|
+
...
|
|
16029
|
+
|
|
16030
|
+
def draw(self, context):
|
|
16031
|
+
"""
|
|
16032
|
+
|
|
16033
|
+
:param context:
|
|
16034
|
+
"""
|
|
16035
|
+
...
|
|
16036
|
+
|
|
16037
|
+
def draw_centered(self, context, layout):
|
|
16038
|
+
"""
|
|
16039
|
+
|
|
16040
|
+
:param context:
|
|
16041
|
+
:param layout:
|
|
16042
|
+
"""
|
|
16043
|
+
...
|
|
16044
|
+
|
|
16045
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
16046
|
+
"""Adds driver(s) to the given property
|
|
16047
|
+
|
|
16048
|
+
:return: The driver(s) added.
|
|
16049
|
+
:rtype: bpy.types.FCurve
|
|
16050
|
+
"""
|
|
16051
|
+
...
|
|
16052
|
+
|
|
16053
|
+
def driver_remove(self) -> bool:
|
|
16054
|
+
"""Remove driver(s) from the given property
|
|
16055
|
+
|
|
16056
|
+
:return: Success of driver removal.
|
|
16057
|
+
:rtype: bool
|
|
16058
|
+
"""
|
|
16059
|
+
...
|
|
16060
|
+
|
|
16061
|
+
def get(self):
|
|
16062
|
+
"""Returns the value of the custom property assigned to key or default
|
|
16063
|
+
when not found (matches Python's dictionary function of the same name).
|
|
16064
|
+
|
|
16065
|
+
"""
|
|
16066
|
+
...
|
|
16067
|
+
|
|
16068
|
+
def id_properties_clear(self):
|
|
16069
|
+
"""
|
|
16070
|
+
|
|
16071
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
16072
|
+
"""
|
|
16073
|
+
...
|
|
16074
|
+
|
|
16075
|
+
def id_properties_ensure(self):
|
|
16076
|
+
"""
|
|
16077
|
+
|
|
16078
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
16079
|
+
"""
|
|
16080
|
+
...
|
|
16081
|
+
|
|
16082
|
+
def id_properties_ui(self):
|
|
16083
|
+
"""
|
|
16084
|
+
|
|
16085
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
16086
|
+
"""
|
|
16087
|
+
...
|
|
16088
|
+
|
|
16089
|
+
def is_extended(self): ...
|
|
16090
|
+
def is_property_hidden(self) -> bool:
|
|
16091
|
+
"""Check if a property is hidden.
|
|
16092
|
+
|
|
16093
|
+
:return: True when the property is hidden.
|
|
16094
|
+
:rtype: bool
|
|
16095
|
+
"""
|
|
16096
|
+
...
|
|
16097
|
+
|
|
16098
|
+
def is_property_overridable_library(self) -> bool:
|
|
16099
|
+
"""Check if a property is overridable.
|
|
16100
|
+
|
|
16101
|
+
:return: True when the property is overridable.
|
|
16102
|
+
:rtype: bool
|
|
16103
|
+
"""
|
|
16104
|
+
...
|
|
16105
|
+
|
|
16106
|
+
def is_property_readonly(self) -> bool:
|
|
16107
|
+
"""Check if a property is readonly.
|
|
16108
|
+
|
|
16109
|
+
:return: True when the property is readonly (not writable).
|
|
16110
|
+
:rtype: bool
|
|
16111
|
+
"""
|
|
16112
|
+
...
|
|
16113
|
+
|
|
16114
|
+
def is_property_set(self) -> bool:
|
|
16115
|
+
"""Check if a property is set, use for testing operator properties.
|
|
16116
|
+
|
|
16117
|
+
:return: True when the property has been set.
|
|
16118
|
+
:rtype: bool
|
|
16119
|
+
"""
|
|
16120
|
+
...
|
|
16121
|
+
|
|
16122
|
+
def items(self):
|
|
16123
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
16124
|
+
dictionary function of the same name).
|
|
16125
|
+
|
|
16126
|
+
:return: custom property key, value pairs.
|
|
16127
|
+
"""
|
|
16128
|
+
...
|
|
16129
|
+
|
|
16130
|
+
def keyframe_delete(self) -> bool:
|
|
16131
|
+
"""Remove a keyframe from this properties fcurve.
|
|
16132
|
+
|
|
16133
|
+
:return: Success of keyframe deletion.
|
|
16134
|
+
:rtype: bool
|
|
16135
|
+
"""
|
|
16136
|
+
...
|
|
16137
|
+
|
|
16138
|
+
def keyframe_insert(self) -> bool:
|
|
16139
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
16140
|
+
|
|
16141
|
+
:return: Success of keyframe insertion.
|
|
16142
|
+
:rtype: bool
|
|
16143
|
+
"""
|
|
16144
|
+
...
|
|
16145
|
+
|
|
16146
|
+
def keys(self):
|
|
16147
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
16148
|
+
dictionary function of the same name).
|
|
16149
|
+
|
|
16150
|
+
:return: custom property keys.
|
|
16151
|
+
"""
|
|
16152
|
+
...
|
|
16153
|
+
|
|
16154
|
+
def path_from_id(self) -> str:
|
|
16155
|
+
"""Returns the data path from the ID to this object (string).
|
|
16156
|
+
|
|
16157
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
16158
|
+
to this struct and property (when given).
|
|
16159
|
+
:rtype: str
|
|
16160
|
+
"""
|
|
16161
|
+
...
|
|
16162
|
+
|
|
16163
|
+
def path_resolve(self):
|
|
16164
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
16165
|
+
...
|
|
16166
|
+
|
|
16167
|
+
def pop(self):
|
|
16168
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
16169
|
+
when not found (matches Python's dictionary function of the same name).
|
|
16170
|
+
|
|
16171
|
+
"""
|
|
16172
|
+
...
|
|
16173
|
+
|
|
16174
|
+
def prepend(self, draw_func):
|
|
16175
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
16176
|
+
the menus draw function
|
|
16177
|
+
|
|
16178
|
+
:param draw_func:
|
|
16179
|
+
"""
|
|
16180
|
+
...
|
|
16181
|
+
|
|
16182
|
+
def property_overridable_library_set(self) -> bool:
|
|
16183
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
16184
|
+
|
|
16185
|
+
:return: True when the overridable status of the property was successfully set.
|
|
16186
|
+
:rtype: bool
|
|
16187
|
+
"""
|
|
16188
|
+
...
|
|
16189
|
+
|
|
16190
|
+
def property_unset(self):
|
|
16191
|
+
"""Unset a property, will use default value afterward."""
|
|
16192
|
+
...
|
|
16193
|
+
|
|
16194
|
+
def remove(self, draw_func):
|
|
16195
|
+
"""Remove a draw function that has been added to this menu
|
|
16196
|
+
|
|
16197
|
+
:param draw_func:
|
|
16198
|
+
"""
|
|
16199
|
+
...
|
|
16200
|
+
|
|
16201
|
+
def type_recast(self):
|
|
16202
|
+
"""Return a new instance, this is needed because types
|
|
16203
|
+
such as textures can be changed at runtime.
|
|
16204
|
+
|
|
16205
|
+
:return: a new instance of this object with the type initialized again.
|
|
16206
|
+
"""
|
|
16207
|
+
...
|
|
16208
|
+
|
|
16209
|
+
def values(self):
|
|
16210
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
16211
|
+
dictionary function of the same name).
|
|
16212
|
+
|
|
16213
|
+
:return: custom property values.
|
|
16214
|
+
"""
|
|
16215
|
+
...
|
|
16216
|
+
|
|
15984
16217
|
class USERPREF_PT_system_os_settings(
|
|
15985
16218
|
bpy_types.Panel, SystemPanel, CenterAlignMixIn, bpy_types._GenericUI
|
|
15986
16219
|
):
|
bpy/app/__init__.pyi
CHANGED
|
@@ -204,6 +204,14 @@ oiio: typing.Any
|
|
|
204
204
|
""" Constant value bpy.app.oiio(supported=True, version=(2, 5, 6), version_string=' 2, 5, 6')
|
|
205
205
|
"""
|
|
206
206
|
|
|
207
|
+
online_access: typing.Any
|
|
208
|
+
""" Boolean, true when internet access is allowed by Blender & 3rd party scripts (read-only)
|
|
209
|
+
"""
|
|
210
|
+
|
|
211
|
+
online_access_override: typing.Any
|
|
212
|
+
""" Boolean, true when internet access preference is overridden by the command line (read-only)
|
|
213
|
+
"""
|
|
214
|
+
|
|
207
215
|
opensubdiv: typing.Any
|
|
208
216
|
""" Constant value bpy.app.opensubdiv(supported=True, version=(3, 6, 0), version_string=' 3, 6, 0')
|
|
209
217
|
"""
|
|
@@ -240,7 +248,7 @@ use_userpref_skip_save_on_exit: typing.Any
|
|
|
240
248
|
""" Boolean, for application behavior (started with --enable-* matching this attribute name)
|
|
241
249
|
"""
|
|
242
250
|
|
|
243
|
-
version:
|
|
251
|
+
version: tuple[int, int, int]
|
|
244
252
|
""" The Blender version as a tuple of 3 numbers. eg. (2, 83, 1)
|
|
245
253
|
"""
|
|
246
254
|
|