fake-bpy-module 20240421__py3-none-any.whl → 20240423__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 +2 -1
- bl_operators/assets/__init__.pyi +12 -12
- bl_operators/geometry_nodes/__init__.pyi +256 -238
- bl_operators/node/__init__.pyi +262 -260
- bl_operators/object_quick_effects/__init__.pyi +19 -19
- bl_operators/presets/__init__.pyi +371 -368
- bl_operators/wm/__init__.pyi +4 -4
- bl_ui/__init__.pyi +3 -3
- bl_ui/anim/__init__.pyi +1 -1
- bl_ui/asset_shelf/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
- bl_ui/node_add_menu_shader/__init__.pyi +10 -10
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_collection/__init__.pyi +39 -25
- bl_ui/properties_constraint/__init__.pyi +1257 -1041
- bl_ui/properties_data_armature/__init__.pyi +120 -96
- bl_ui/properties_data_bone/__init__.pyi +36 -29
- bl_ui/properties_data_camera/__init__.pyi +32 -14
- bl_ui/properties_data_curve/__init__.pyi +143 -116
- bl_ui/properties_data_curves/__init__.pyi +30 -25
- bl_ui/properties_data_empty/__init__.pyi +21 -21
- bl_ui/properties_data_gpencil/__init__.pyi +297 -260
- bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
- bl_ui/properties_data_lattice/__init__.pyi +25 -22
- bl_ui/properties_data_light/__init__.pyi +44 -31
- bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
- bl_ui/properties_data_mesh/__init__.pyi +579 -570
- bl_ui/properties_data_metaball/__init__.pyi +29 -24
- bl_ui/properties_data_modifier/__init__.pyi +55 -43
- bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
- bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
- bl_ui/properties_data_speaker/__init__.pyi +27 -24
- bl_ui/properties_data_volume/__init__.pyi +75 -68
- bl_ui/properties_freestyle/__init__.pyi +407 -284
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
- bl_ui/properties_mask_common/__init__.pyi +7 -7
- bl_ui/properties_material/__init__.pyi +186 -162
- bl_ui/properties_material_gpencil/__init__.pyi +111 -87
- bl_ui/properties_object/__init__.pyi +102 -84
- bl_ui/properties_output/__init__.pyi +255 -228
- bl_ui/properties_paint_common/__init__.pyi +9 -9
- bl_ui/properties_particle/__init__.pyi +341 -254
- bl_ui/properties_physics_cloth/__init__.pyi +54 -33
- bl_ui/properties_physics_common/__init__.pyi +20 -20
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
- bl_ui/properties_physics_field/__init__.pyi +52 -36
- bl_ui/properties_physics_fluid/__init__.pyi +119 -96
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
- bl_ui/properties_physics_softbody/__init__.pyi +62 -34
- bl_ui/properties_render/__init__.pyi +275 -187
- bl_ui/properties_scene/__init__.pyi +173 -154
- bl_ui/properties_texture/__init__.pyi +251 -205
- bl_ui/properties_view_layer/__init__.pyi +126 -93
- bl_ui/properties_workspace/__init__.pyi +82 -76
- bl_ui/properties_world/__init__.pyi +31 -26
- bl_ui/space_clip/__init__.pyi +495 -433
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +209 -174
- bl_ui/space_filebrowser/__init__.pyi +691 -679
- bl_ui/space_graph/__init__.pyi +25 -20
- bl_ui/space_image/__init__.pyi +959 -845
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +26 -17
- bl_ui/space_node/__init__.pyi +49 -36
- bl_ui/space_outliner/__init__.pyi +14 -14
- bl_ui/space_properties/__init__.pyi +3 -3
- bl_ui/space_sequencer/__init__.pyi +510 -444
- bl_ui/space_spreadsheet/__init__.pyi +1 -1
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +16 -16
- bl_ui/space_time/__init__.pyi +27 -23
- bl_ui/space_toolsystem_common/__init__.pyi +1 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +52 -4
- bl_ui/space_topbar/__init__.pyi +26 -26
- bl_ui/space_userpref/__init__.pyi +795 -658
- bl_ui/space_view3d/__init__.pyi +1460 -1428
- bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
- bl_ui/temp_anim_layers/__init__.pyi +1 -1
- bmesh/types/__init__.pyi +13 -6
- bpy/app/__init__.pyi +4 -4
- bpy/app/icons/__init__.pyi +8 -6
- bpy/app/timers/__init__.pyi +10 -8
- bpy/app/translations/__init__.pyi +22 -20
- bpy/msgbus/__init__.pyi +4 -2
- bpy/ops/action/__init__.pyi +319 -316
- bpy/ops/anim/__init__.pyi +428 -428
- bpy/ops/armature/__init__.pyi +359 -358
- bpy/ops/asset/__init__.pyi +146 -146
- bpy/ops/boid/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +72 -72
- bpy/ops/buttons/__init__.pyi +128 -128
- bpy/ops/cachefile/__init__.pyi +124 -124
- bpy/ops/camera/__init__.pyi +22 -22
- bpy/ops/clip/__init__.pyi +773 -768
- bpy/ops/cloth/__init__.pyi +10 -10
- bpy/ops/collection/__init__.pyi +64 -64
- bpy/ops/console/__init__.pyi +150 -150
- bpy/ops/constraint/__init__.pyi +150 -150
- bpy/ops/curve/__init__.pyi +475 -472
- bpy/ops/curves/__init__.pyi +247 -244
- bpy/ops/cycles/__init__.pyi +18 -18
- bpy/ops/dpaint/__init__.pyi +34 -34
- bpy/ops/ed/__init__.pyi +122 -122
- bpy/ops/export_anim/__init__.pyi +18 -18
- bpy/ops/export_mesh/__init__.pyi +26 -26
- bpy/ops/export_scene/__init__.pyi +333 -307
- bpy/ops/file/__init__.pyi +340 -340
- bpy/ops/fluid/__init__.pyi +88 -88
- bpy/ops/font/__init__.pyi +252 -252
- bpy/ops/geometry/__init__.pyi +86 -86
- bpy/ops/gizmogroup/__init__.pyi +22 -22
- bpy/ops/gpencil/__init__.pyi +1459 -1444
- bpy/ops/graph/__init__.pyi +645 -642
- bpy/ops/grease_pencil/__init__.pyi +580 -436
- bpy/ops/image/__init__.pyi +614 -612
- bpy/ops/import_anim/__init__.pyi +26 -26
- bpy/ops/import_curve/__init__.pyi +6 -6
- bpy/ops/import_mesh/__init__.pyi +20 -18
- bpy/ops/import_scene/__init__.pyi +92 -86
- bpy/ops/info/__init__.pyi +60 -60
- bpy/ops/lattice/__init__.pyi +64 -64
- bpy/ops/marker/__init__.pyi +106 -106
- bpy/ops/mask/__init__.pyi +321 -318
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +71 -70
- bpy/ops/mesh/__init__.pyi +1997 -1990
- bpy/ops/nla/__init__.pyi +331 -330
- bpy/ops/node/__init__.pyi +867 -852
- bpy/ops/object/__init__.pyi +2433 -2430
- bpy/ops/outliner/__init__.pyi +498 -498
- bpy/ops/paint/__init__.pyi +554 -544
- bpy/ops/paintcurve/__init__.pyi +64 -64
- bpy/ops/palette/__init__.pyi +48 -48
- bpy/ops/particle/__init__.pyi +266 -264
- bpy/ops/pose/__init__.pyi +336 -336
- bpy/ops/poselib/__init__.pyi +70 -70
- bpy/ops/preferences/__init__.pyi +338 -336
- bpy/ops/ptcache/__init__.pyi +46 -46
- bpy/ops/render/__init__.pyi +114 -114
- bpy/ops/rigidbody/__init__.pyi +102 -102
- bpy/ops/scene/__init__.pyi +270 -270
- bpy/ops/screen/__init__.pyi +378 -378
- bpy/ops/script/__init__.pyi +18 -18
- bpy/ops/sculpt/__init__.pyi +411 -405
- bpy/ops/sculpt_curves/__init__.pyi +42 -40
- bpy/ops/sequencer/__init__.pyi +1053 -1040
- bpy/ops/sound/__init__.pyi +208 -208
- bpy/ops/spreadsheet/__init__.pyi +30 -30
- bpy/ops/surface/__init__.pyi +108 -108
- bpy/ops/text/__init__.pyi +382 -382
- bpy/ops/text_editor/__init__.pyi +10 -10
- bpy/ops/texture/__init__.pyi +26 -26
- bpy/ops/transform/__init__.pyi +826 -790
- bpy/ops/ui/__init__.pyi +216 -216
- bpy/ops/uilist/__init__.pyi +20 -20
- bpy/ops/uv/__init__.pyi +605 -600
- bpy/ops/view2d/__init__.pyi +156 -156
- bpy/ops/view3d/__init__.pyi +578 -576
- bpy/ops/wm/__init__.pyi +2418 -2376
- bpy/ops/workspace/__init__.pyi +42 -42
- bpy/ops/world/__init__.pyi +6 -6
- bpy/path/__init__.pyi +48 -33
- bpy/props/__init__.pyi +263 -261
- bpy/types/__init__.pyi +105733 -102298
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +21 -18
- bpy_extras/anim_utils/__init__.pyi +9 -2
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_types/__init__.pyi +236 -236
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/RECORD +187 -187
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/types/__init__.pyi +8 -3
- gpu_extras/presets/__init__.pyi +14 -2
- keyingsets_builtins/__init__.pyi +92 -92
- mathutils/__init__.pyi +9 -5
- mathutils/geometry/__init__.pyi +8 -4
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/top_level.txt +0 -0
bpy/ops/brush/__init__.pyi
CHANGED
|
@@ -4,154 +4,154 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def add(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
):
|
|
11
11
|
"""Add brush by mode type
|
|
12
12
|
|
|
13
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: typing.Union[str, int]
|
|
15
|
-
:type undo: bool
|
|
13
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
14
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
|
+
:type undo: typing.Optional[bool]
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
def add_gpencil(
|
|
21
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context: typing.Union[str, int] = None,
|
|
23
|
-
undo: bool = None,
|
|
21
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
22
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
|
+
undo: typing.Optional[bool] = None,
|
|
24
24
|
):
|
|
25
25
|
"""Add brush for Grease Pencil
|
|
26
26
|
|
|
27
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
-
:type execution_context: typing.Union[str, int]
|
|
29
|
-
:type undo: bool
|
|
27
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
28
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
29
|
+
:type undo: typing.Optional[bool]
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
...
|
|
33
33
|
|
|
34
34
|
def curve_preset(
|
|
35
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
-
execution_context: typing.Union[str, int] = None,
|
|
37
|
-
undo: bool = None,
|
|
38
|
-
shape: typing.Any = "SMOOTH",
|
|
35
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
36
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
37
|
+
undo: typing.Optional[bool] = None,
|
|
38
|
+
shape: typing.Optional[typing.Any] = "SMOOTH",
|
|
39
39
|
):
|
|
40
40
|
"""Set brush shape
|
|
41
41
|
|
|
42
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
43
|
-
:type execution_context: typing.Union[str, int]
|
|
44
|
-
:type undo: bool
|
|
42
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
43
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
44
|
+
:type undo: typing.Optional[bool]
|
|
45
45
|
:param shape: Mode
|
|
46
|
-
:type shape: typing.Any
|
|
46
|
+
:type shape: typing.Optional[typing.Any]
|
|
47
47
|
"""
|
|
48
48
|
|
|
49
49
|
...
|
|
50
50
|
|
|
51
51
|
def reset(
|
|
52
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
53
|
-
execution_context: typing.Union[str, int] = None,
|
|
54
|
-
undo: bool = None,
|
|
52
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
53
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
54
|
+
undo: typing.Optional[bool] = None,
|
|
55
55
|
):
|
|
56
56
|
"""Return brush to defaults based on current tool
|
|
57
57
|
|
|
58
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
59
|
-
:type execution_context: typing.Union[str, int]
|
|
60
|
-
:type undo: bool
|
|
58
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
59
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
60
|
+
:type undo: typing.Optional[bool]
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
63
|
...
|
|
64
64
|
|
|
65
65
|
def scale_size(
|
|
66
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
67
|
-
execution_context: typing.Union[str, int] = None,
|
|
68
|
-
undo: bool = None,
|
|
69
|
-
scalar: typing.Any = 1.0,
|
|
66
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
67
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
68
|
+
undo: typing.Optional[bool] = None,
|
|
69
|
+
scalar: typing.Optional[typing.Any] = 1.0,
|
|
70
70
|
):
|
|
71
71
|
"""Change brush size by a scalar
|
|
72
72
|
|
|
73
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
74
|
-
:type execution_context: typing.Union[str, int]
|
|
75
|
-
:type undo: bool
|
|
73
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
74
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
75
|
+
:type undo: typing.Optional[bool]
|
|
76
76
|
:param scalar: Scalar, Factor to scale brush size by
|
|
77
|
-
:type scalar: typing.Any
|
|
77
|
+
:type scalar: typing.Optional[typing.Any]
|
|
78
78
|
"""
|
|
79
79
|
|
|
80
80
|
...
|
|
81
81
|
|
|
82
82
|
def sculpt_curves_falloff_preset(
|
|
83
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
84
|
-
execution_context: typing.Union[str, int] = None,
|
|
85
|
-
undo: bool = None,
|
|
86
|
-
shape: typing.Any = "SMOOTH",
|
|
83
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
84
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
85
|
+
undo: typing.Optional[bool] = None,
|
|
86
|
+
shape: typing.Optional[typing.Any] = "SMOOTH",
|
|
87
87
|
):
|
|
88
88
|
"""Set Curve Falloff Preset
|
|
89
89
|
|
|
90
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
91
|
-
:type execution_context: typing.Union[str, int]
|
|
92
|
-
:type undo: bool
|
|
90
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
91
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
92
|
+
:type undo: typing.Optional[bool]
|
|
93
93
|
:param shape: Mode
|
|
94
|
-
:type shape: typing.Any
|
|
94
|
+
:type shape: typing.Optional[typing.Any]
|
|
95
95
|
"""
|
|
96
96
|
|
|
97
97
|
...
|
|
98
98
|
|
|
99
99
|
def stencil_control(
|
|
100
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
101
|
-
execution_context: typing.Union[str, int] = None,
|
|
102
|
-
undo: bool = None,
|
|
103
|
-
mode: typing.Any = "TRANSLATION",
|
|
104
|
-
texmode: typing.Any = "PRIMARY",
|
|
100
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
101
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
102
|
+
undo: typing.Optional[bool] = None,
|
|
103
|
+
mode: typing.Optional[typing.Any] = "TRANSLATION",
|
|
104
|
+
texmode: typing.Optional[typing.Any] = "PRIMARY",
|
|
105
105
|
):
|
|
106
106
|
"""Control the stencil brush
|
|
107
107
|
|
|
108
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
109
|
-
:type execution_context: typing.Union[str, int]
|
|
110
|
-
:type undo: bool
|
|
108
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
109
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
110
|
+
:type undo: typing.Optional[bool]
|
|
111
111
|
:param mode: Tool
|
|
112
|
-
:type mode: typing.Any
|
|
112
|
+
:type mode: typing.Optional[typing.Any]
|
|
113
113
|
:param texmode: Tool
|
|
114
|
-
:type texmode: typing.Any
|
|
114
|
+
:type texmode: typing.Optional[typing.Any]
|
|
115
115
|
"""
|
|
116
116
|
|
|
117
117
|
...
|
|
118
118
|
|
|
119
119
|
def stencil_fit_image_aspect(
|
|
120
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
121
|
-
execution_context: typing.Union[str, int] = None,
|
|
122
|
-
undo: bool = None,
|
|
123
|
-
use_repeat: typing.Union[bool, typing.Any] = True,
|
|
124
|
-
use_scale: typing.Union[bool, typing.Any] = True,
|
|
125
|
-
mask: typing.Union[bool, typing.Any] = False,
|
|
120
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
121
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
122
|
+
undo: typing.Optional[bool] = None,
|
|
123
|
+
use_repeat: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
124
|
+
use_scale: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
125
|
+
mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
126
126
|
):
|
|
127
127
|
"""When using an image texture, adjust the stencil size to fit the image aspect ratio
|
|
128
128
|
|
|
129
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
130
|
-
:type execution_context: typing.Union[str, int]
|
|
131
|
-
:type undo: bool
|
|
129
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
130
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
131
|
+
:type undo: typing.Optional[bool]
|
|
132
132
|
:param use_repeat: Use Repeat, Use repeat mapping values
|
|
133
|
-
:type use_repeat: typing.Union[bool, typing.Any]
|
|
133
|
+
:type use_repeat: typing.Optional[typing.Union[bool, typing.Any]]
|
|
134
134
|
:param use_scale: Use Scale, Use texture scale values
|
|
135
|
-
:type use_scale: typing.Union[bool, typing.Any]
|
|
135
|
+
:type use_scale: typing.Optional[typing.Union[bool, typing.Any]]
|
|
136
136
|
:param mask: Modify Mask Stencil, Modify either the primary or mask stencil
|
|
137
|
-
:type mask: typing.Union[bool, typing.Any]
|
|
137
|
+
:type mask: typing.Optional[typing.Union[bool, typing.Any]]
|
|
138
138
|
"""
|
|
139
139
|
|
|
140
140
|
...
|
|
141
141
|
|
|
142
142
|
def stencil_reset_transform(
|
|
143
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
144
|
-
execution_context: typing.Union[str, int] = None,
|
|
145
|
-
undo: bool = None,
|
|
146
|
-
mask: typing.Union[bool, typing.Any] = False,
|
|
143
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
144
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
145
|
+
undo: typing.Optional[bool] = None,
|
|
146
|
+
mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
147
147
|
):
|
|
148
148
|
"""Reset the stencil transformation to the default
|
|
149
149
|
|
|
150
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
151
|
-
:type execution_context: typing.Union[str, int]
|
|
152
|
-
:type undo: bool
|
|
150
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
151
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
152
|
+
:type undo: typing.Optional[bool]
|
|
153
153
|
:param mask: Modify Mask Stencil, Modify either the primary or mask stencil
|
|
154
|
-
:type mask: typing.Union[bool, typing.Any]
|
|
154
|
+
:type mask: typing.Optional[typing.Union[bool, typing.Any]]
|
|
155
155
|
"""
|
|
156
156
|
|
|
157
157
|
...
|
bpy/ops/buttons/__init__.pyi
CHANGED
|
@@ -4,111 +4,111 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def clear_filter(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
):
|
|
11
11
|
"""Clear the search filter
|
|
12
12
|
|
|
13
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: typing.Union[str, int]
|
|
15
|
-
:type undo: bool
|
|
13
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
14
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
|
+
:type undo: typing.Optional[bool]
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
def context_menu(
|
|
21
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context: typing.Union[str, int] = None,
|
|
23
|
-
undo: bool = None,
|
|
21
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
22
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
|
+
undo: typing.Optional[bool] = None,
|
|
24
24
|
):
|
|
25
25
|
"""Display properties editor context_menu
|
|
26
26
|
|
|
27
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
-
:type execution_context: typing.Union[str, int]
|
|
29
|
-
:type undo: bool
|
|
27
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
28
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
29
|
+
:type undo: typing.Optional[bool]
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
...
|
|
33
33
|
|
|
34
34
|
def directory_browse(
|
|
35
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
-
execution_context: typing.Union[str, int] = None,
|
|
37
|
-
undo: bool = None,
|
|
35
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
36
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
37
|
+
undo: typing.Optional[bool] = None,
|
|
38
38
|
directory: typing.Union[str, typing.Any] = "",
|
|
39
|
-
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
40
|
-
check_existing: typing.Union[bool, typing.Any] = False,
|
|
41
|
-
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
42
|
-
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
43
|
-
filter_image: typing.Union[bool, typing.Any] = False,
|
|
44
|
-
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
45
|
-
filter_python: typing.Union[bool, typing.Any] = False,
|
|
46
|
-
filter_font: typing.Union[bool, typing.Any] = False,
|
|
47
|
-
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
48
|
-
filter_text: typing.Union[bool, typing.Any] = False,
|
|
49
|
-
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
50
|
-
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
51
|
-
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
52
|
-
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
53
|
-
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
54
|
-
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
55
|
-
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
56
|
-
filter_folder: typing.Union[bool, typing.Any] = False,
|
|
57
|
-
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
58
|
-
filemode: typing.Any = 9,
|
|
59
|
-
relative_path: typing.Union[bool, typing.Any] = True,
|
|
60
|
-
display_type: typing.Any = "DEFAULT",
|
|
61
|
-
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
39
|
+
hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
40
|
+
check_existing: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
41
|
+
filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
42
|
+
filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
43
|
+
filter_image: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
44
|
+
filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
45
|
+
filter_python: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
46
|
+
filter_font: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
47
|
+
filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
48
|
+
filter_text: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
49
|
+
filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
50
|
+
filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
51
|
+
filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
52
|
+
filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
53
|
+
filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
54
|
+
filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
55
|
+
filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
56
|
+
filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
57
|
+
filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
58
|
+
filemode: typing.Optional[typing.Any] = 9,
|
|
59
|
+
relative_path: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
60
|
+
display_type: typing.Optional[typing.Any] = "DEFAULT",
|
|
61
|
+
sort_method: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
62
62
|
):
|
|
63
63
|
"""Open a directory browser, hold Shift to open the file, Alt to browse containing directory
|
|
64
64
|
|
|
65
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
66
|
-
:type execution_context: typing.Union[str, int]
|
|
67
|
-
:type undo: bool
|
|
65
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
66
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
67
|
+
:type undo: typing.Optional[bool]
|
|
68
68
|
:param directory: Directory, Directory of the file
|
|
69
69
|
:type directory: typing.Union[str, typing.Any]
|
|
70
70
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
71
|
-
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
71
|
+
:type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
|
|
72
72
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
73
|
-
:type check_existing: typing.Union[bool, typing.Any]
|
|
73
|
+
:type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
74
74
|
:param filter_blender: Filter .blend files
|
|
75
|
-
:type filter_blender: typing.Union[bool, typing.Any]
|
|
75
|
+
:type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
|
|
76
76
|
:param filter_backup: Filter .blend files
|
|
77
|
-
:type filter_backup: typing.Union[bool, typing.Any]
|
|
77
|
+
:type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
|
|
78
78
|
:param filter_image: Filter image files
|
|
79
|
-
:type filter_image: typing.Union[bool, typing.Any]
|
|
79
|
+
:type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
|
|
80
80
|
:param filter_movie: Filter movie files
|
|
81
|
-
:type filter_movie: typing.Union[bool, typing.Any]
|
|
81
|
+
:type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
|
|
82
82
|
:param filter_python: Filter Python files
|
|
83
|
-
:type filter_python: typing.Union[bool, typing.Any]
|
|
83
|
+
:type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
|
|
84
84
|
:param filter_font: Filter font files
|
|
85
|
-
:type filter_font: typing.Union[bool, typing.Any]
|
|
85
|
+
:type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
|
|
86
86
|
:param filter_sound: Filter sound files
|
|
87
|
-
:type filter_sound: typing.Union[bool, typing.Any]
|
|
87
|
+
:type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
|
|
88
88
|
:param filter_text: Filter text files
|
|
89
|
-
:type filter_text: typing.Union[bool, typing.Any]
|
|
89
|
+
:type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
|
|
90
90
|
:param filter_archive: Filter archive files
|
|
91
|
-
:type filter_archive: typing.Union[bool, typing.Any]
|
|
91
|
+
:type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
|
|
92
92
|
:param filter_btx: Filter btx files
|
|
93
|
-
:type filter_btx: typing.Union[bool, typing.Any]
|
|
93
|
+
:type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
|
|
94
94
|
:param filter_collada: Filter COLLADA files
|
|
95
|
-
:type filter_collada: typing.Union[bool, typing.Any]
|
|
95
|
+
:type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
|
|
96
96
|
:param filter_alembic: Filter Alembic files
|
|
97
|
-
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
97
|
+
:type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
98
98
|
:param filter_usd: Filter USD files
|
|
99
|
-
:type filter_usd: typing.Union[bool, typing.Any]
|
|
99
|
+
:type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
|
|
100
100
|
:param filter_obj: Filter OBJ files
|
|
101
|
-
:type filter_obj: typing.Union[bool, typing.Any]
|
|
101
|
+
:type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
|
|
102
102
|
:param filter_volume: Filter OpenVDB volume files
|
|
103
|
-
:type filter_volume: typing.Union[bool, typing.Any]
|
|
103
|
+
:type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
|
|
104
104
|
:param filter_folder: Filter folders
|
|
105
|
-
:type filter_folder: typing.Union[bool, typing.Any]
|
|
105
|
+
:type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
|
|
106
106
|
:param filter_blenlib: Filter Blender IDs
|
|
107
|
-
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
107
|
+
:type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
|
|
108
108
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
109
|
-
:type filemode: typing.Any
|
|
109
|
+
:type filemode: typing.Optional[typing.Any]
|
|
110
110
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
111
|
-
:type relative_path: typing.Union[bool, typing.Any]
|
|
111
|
+
:type relative_path: typing.Optional[typing.Union[bool, typing.Any]]
|
|
112
112
|
:param display_type: Display Type
|
|
113
113
|
|
|
114
114
|
DEFAULT
|
|
@@ -122,91 +122,91 @@ def directory_browse(
|
|
|
122
122
|
|
|
123
123
|
THUMBNAIL
|
|
124
124
|
Thumbnails -- Display files as thumbnails.
|
|
125
|
-
:type display_type: typing.Any
|
|
125
|
+
:type display_type: typing.Optional[typing.Any]
|
|
126
126
|
:param sort_method: File sorting mode
|
|
127
|
-
:type sort_method: typing.Union[str, int, typing.Any]
|
|
127
|
+
:type sort_method: typing.Optional[typing.Union[str, int, typing.Any]]
|
|
128
128
|
"""
|
|
129
129
|
|
|
130
130
|
...
|
|
131
131
|
|
|
132
132
|
def file_browse(
|
|
133
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
134
|
-
execution_context: typing.Union[str, int] = None,
|
|
135
|
-
undo: bool = None,
|
|
133
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
134
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
135
|
+
undo: typing.Optional[bool] = None,
|
|
136
136
|
filepath: typing.Union[str, typing.Any] = "",
|
|
137
|
-
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
138
|
-
check_existing: typing.Union[bool, typing.Any] = False,
|
|
139
|
-
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
140
|
-
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
141
|
-
filter_image: typing.Union[bool, typing.Any] = False,
|
|
142
|
-
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
143
|
-
filter_python: typing.Union[bool, typing.Any] = False,
|
|
144
|
-
filter_font: typing.Union[bool, typing.Any] = False,
|
|
145
|
-
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
146
|
-
filter_text: typing.Union[bool, typing.Any] = False,
|
|
147
|
-
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
148
|
-
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
149
|
-
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
150
|
-
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
151
|
-
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
152
|
-
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
153
|
-
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
154
|
-
filter_folder: typing.Union[bool, typing.Any] = False,
|
|
155
|
-
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
156
|
-
filemode: typing.Any = 9,
|
|
157
|
-
relative_path: typing.Union[bool, typing.Any] = True,
|
|
158
|
-
display_type: typing.Any = "DEFAULT",
|
|
159
|
-
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
137
|
+
hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
138
|
+
check_existing: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
139
|
+
filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
140
|
+
filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
141
|
+
filter_image: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
142
|
+
filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
143
|
+
filter_python: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
144
|
+
filter_font: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
145
|
+
filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
146
|
+
filter_text: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
147
|
+
filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
148
|
+
filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
149
|
+
filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
150
|
+
filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
151
|
+
filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
152
|
+
filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
153
|
+
filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
154
|
+
filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
155
|
+
filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
156
|
+
filemode: typing.Optional[typing.Any] = 9,
|
|
157
|
+
relative_path: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
158
|
+
display_type: typing.Optional[typing.Any] = "DEFAULT",
|
|
159
|
+
sort_method: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
160
160
|
):
|
|
161
161
|
"""Open a file browser, hold Shift to open the file, Alt to browse containing directory
|
|
162
162
|
|
|
163
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
164
|
-
:type execution_context: typing.Union[str, int]
|
|
165
|
-
:type undo: bool
|
|
163
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
164
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
165
|
+
:type undo: typing.Optional[bool]
|
|
166
166
|
:param filepath: File Path, Path to file
|
|
167
167
|
:type filepath: typing.Union[str, typing.Any]
|
|
168
168
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
169
|
-
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
169
|
+
:type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
|
|
170
170
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
171
|
-
:type check_existing: typing.Union[bool, typing.Any]
|
|
171
|
+
:type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
172
172
|
:param filter_blender: Filter .blend files
|
|
173
|
-
:type filter_blender: typing.Union[bool, typing.Any]
|
|
173
|
+
:type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
|
|
174
174
|
:param filter_backup: Filter .blend files
|
|
175
|
-
:type filter_backup: typing.Union[bool, typing.Any]
|
|
175
|
+
:type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
|
|
176
176
|
:param filter_image: Filter image files
|
|
177
|
-
:type filter_image: typing.Union[bool, typing.Any]
|
|
177
|
+
:type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
|
|
178
178
|
:param filter_movie: Filter movie files
|
|
179
|
-
:type filter_movie: typing.Union[bool, typing.Any]
|
|
179
|
+
:type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
|
|
180
180
|
:param filter_python: Filter Python files
|
|
181
|
-
:type filter_python: typing.Union[bool, typing.Any]
|
|
181
|
+
:type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
|
|
182
182
|
:param filter_font: Filter font files
|
|
183
|
-
:type filter_font: typing.Union[bool, typing.Any]
|
|
183
|
+
:type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
|
|
184
184
|
:param filter_sound: Filter sound files
|
|
185
|
-
:type filter_sound: typing.Union[bool, typing.Any]
|
|
185
|
+
:type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
|
|
186
186
|
:param filter_text: Filter text files
|
|
187
|
-
:type filter_text: typing.Union[bool, typing.Any]
|
|
187
|
+
:type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
|
|
188
188
|
:param filter_archive: Filter archive files
|
|
189
|
-
:type filter_archive: typing.Union[bool, typing.Any]
|
|
189
|
+
:type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
|
|
190
190
|
:param filter_btx: Filter btx files
|
|
191
|
-
:type filter_btx: typing.Union[bool, typing.Any]
|
|
191
|
+
:type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
|
|
192
192
|
:param filter_collada: Filter COLLADA files
|
|
193
|
-
:type filter_collada: typing.Union[bool, typing.Any]
|
|
193
|
+
:type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
|
|
194
194
|
:param filter_alembic: Filter Alembic files
|
|
195
|
-
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
195
|
+
:type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
196
196
|
:param filter_usd: Filter USD files
|
|
197
|
-
:type filter_usd: typing.Union[bool, typing.Any]
|
|
197
|
+
:type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
|
|
198
198
|
:param filter_obj: Filter OBJ files
|
|
199
|
-
:type filter_obj: typing.Union[bool, typing.Any]
|
|
199
|
+
:type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
|
|
200
200
|
:param filter_volume: Filter OpenVDB volume files
|
|
201
|
-
:type filter_volume: typing.Union[bool, typing.Any]
|
|
201
|
+
:type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
|
|
202
202
|
:param filter_folder: Filter folders
|
|
203
|
-
:type filter_folder: typing.Union[bool, typing.Any]
|
|
203
|
+
:type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
|
|
204
204
|
:param filter_blenlib: Filter Blender IDs
|
|
205
|
-
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
205
|
+
:type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
|
|
206
206
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
207
|
-
:type filemode: typing.Any
|
|
207
|
+
:type filemode: typing.Optional[typing.Any]
|
|
208
208
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
209
|
-
:type relative_path: typing.Union[bool, typing.Any]
|
|
209
|
+
:type relative_path: typing.Optional[typing.Union[bool, typing.Any]]
|
|
210
210
|
:param display_type: Display Type
|
|
211
211
|
|
|
212
212
|
DEFAULT
|
|
@@ -220,37 +220,37 @@ def file_browse(
|
|
|
220
220
|
|
|
221
221
|
THUMBNAIL
|
|
222
222
|
Thumbnails -- Display files as thumbnails.
|
|
223
|
-
:type display_type: typing.Any
|
|
223
|
+
:type display_type: typing.Optional[typing.Any]
|
|
224
224
|
:param sort_method: File sorting mode
|
|
225
|
-
:type sort_method: typing.Union[str, int, typing.Any]
|
|
225
|
+
:type sort_method: typing.Optional[typing.Union[str, int, typing.Any]]
|
|
226
226
|
"""
|
|
227
227
|
|
|
228
228
|
...
|
|
229
229
|
|
|
230
230
|
def start_filter(
|
|
231
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
232
|
-
execution_context: typing.Union[str, int] = None,
|
|
233
|
-
undo: bool = None,
|
|
231
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
232
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
233
|
+
undo: typing.Optional[bool] = None,
|
|
234
234
|
):
|
|
235
235
|
"""Start entering filter text
|
|
236
236
|
|
|
237
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
238
|
-
:type execution_context: typing.Union[str, int]
|
|
239
|
-
:type undo: bool
|
|
237
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
238
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
239
|
+
:type undo: typing.Optional[bool]
|
|
240
240
|
"""
|
|
241
241
|
|
|
242
242
|
...
|
|
243
243
|
|
|
244
244
|
def toggle_pin(
|
|
245
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
246
|
-
execution_context: typing.Union[str, int] = None,
|
|
247
|
-
undo: bool = None,
|
|
245
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
246
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
247
|
+
undo: typing.Optional[bool] = None,
|
|
248
248
|
):
|
|
249
249
|
"""Keep the current data-block displayed
|
|
250
250
|
|
|
251
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
252
|
-
:type execution_context: typing.Union[str, int]
|
|
253
|
-
:type undo: bool
|
|
251
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
252
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
253
|
+
:type undo: typing.Optional[bool]
|
|
254
254
|
"""
|
|
255
255
|
|
|
256
256
|
...
|