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/font/__init__.pyi
CHANGED
|
@@ -4,213 +4,213 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def case_set(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
10
|
-
case: typing.Any = "LOWER",
|
|
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
|
+
case: typing.Optional[typing.Any] = "LOWER",
|
|
11
11
|
):
|
|
12
12
|
"""Set font case
|
|
13
13
|
|
|
14
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
-
:type execution_context: typing.Union[str, int]
|
|
16
|
-
:type undo: bool
|
|
14
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
15
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
16
|
+
:type undo: typing.Optional[bool]
|
|
17
17
|
:param case: Case, Lower or upper case
|
|
18
|
-
:type case: typing.Any
|
|
18
|
+
:type case: typing.Optional[typing.Any]
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
21
|
...
|
|
22
22
|
|
|
23
23
|
def case_toggle(
|
|
24
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
25
|
-
execution_context: typing.Union[str, int] = None,
|
|
26
|
-
undo: bool = None,
|
|
24
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
25
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
26
|
+
undo: typing.Optional[bool] = None,
|
|
27
27
|
):
|
|
28
28
|
"""Toggle font case
|
|
29
29
|
|
|
30
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
31
|
-
:type execution_context: typing.Union[str, int]
|
|
32
|
-
:type undo: bool
|
|
30
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
31
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
32
|
+
:type undo: typing.Optional[bool]
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
...
|
|
36
36
|
|
|
37
37
|
def change_character(
|
|
38
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
39
|
-
execution_context: typing.Union[str, int] = None,
|
|
40
|
-
undo: bool = None,
|
|
41
|
-
delta: typing.Any = 1,
|
|
38
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
39
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
40
|
+
undo: typing.Optional[bool] = None,
|
|
41
|
+
delta: typing.Optional[typing.Any] = 1,
|
|
42
42
|
):
|
|
43
43
|
"""Change font character code
|
|
44
44
|
|
|
45
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
-
:type execution_context: typing.Union[str, int]
|
|
47
|
-
:type undo: bool
|
|
45
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
46
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
47
|
+
:type undo: typing.Optional[bool]
|
|
48
48
|
:param delta: Delta, Number to increase or decrease character code with
|
|
49
|
-
:type delta: typing.Any
|
|
49
|
+
:type delta: typing.Optional[typing.Any]
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
52
|
...
|
|
53
53
|
|
|
54
54
|
def change_spacing(
|
|
55
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
56
|
-
execution_context: typing.Union[str, int] = None,
|
|
57
|
-
undo: bool = None,
|
|
58
|
-
delta: typing.Any = 1.0,
|
|
55
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
56
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
57
|
+
undo: typing.Optional[bool] = None,
|
|
58
|
+
delta: typing.Optional[typing.Any] = 1.0,
|
|
59
59
|
):
|
|
60
60
|
"""Change font spacing
|
|
61
61
|
|
|
62
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
63
|
-
:type execution_context: typing.Union[str, int]
|
|
64
|
-
:type undo: bool
|
|
62
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
63
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
64
|
+
:type undo: typing.Optional[bool]
|
|
65
65
|
:param delta: Delta, Amount to decrease or increase character spacing with
|
|
66
|
-
:type delta: typing.Any
|
|
66
|
+
:type delta: typing.Optional[typing.Any]
|
|
67
67
|
"""
|
|
68
68
|
|
|
69
69
|
...
|
|
70
70
|
|
|
71
71
|
def delete(
|
|
72
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
73
|
-
execution_context: typing.Union[str, int] = None,
|
|
74
|
-
undo: bool = None,
|
|
75
|
-
type: typing.Any = "PREVIOUS_CHARACTER",
|
|
72
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
73
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
74
|
+
undo: typing.Optional[bool] = None,
|
|
75
|
+
type: typing.Optional[typing.Any] = "PREVIOUS_CHARACTER",
|
|
76
76
|
):
|
|
77
77
|
"""Delete text by cursor position
|
|
78
78
|
|
|
79
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
80
|
-
:type execution_context: typing.Union[str, int]
|
|
81
|
-
:type undo: bool
|
|
79
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
80
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
81
|
+
:type undo: typing.Optional[bool]
|
|
82
82
|
:param type: Type, Which part of the text to delete
|
|
83
|
-
:type type: typing.Any
|
|
83
|
+
:type type: typing.Optional[typing.Any]
|
|
84
84
|
"""
|
|
85
85
|
|
|
86
86
|
...
|
|
87
87
|
|
|
88
88
|
def line_break(
|
|
89
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
90
|
-
execution_context: typing.Union[str, int] = None,
|
|
91
|
-
undo: bool = None,
|
|
89
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
90
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
91
|
+
undo: typing.Optional[bool] = None,
|
|
92
92
|
):
|
|
93
93
|
"""Insert line break at cursor position
|
|
94
94
|
|
|
95
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
96
|
-
:type execution_context: typing.Union[str, int]
|
|
97
|
-
:type undo: bool
|
|
95
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
96
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
97
|
+
:type undo: typing.Optional[bool]
|
|
98
98
|
"""
|
|
99
99
|
|
|
100
100
|
...
|
|
101
101
|
|
|
102
102
|
def move(
|
|
103
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
104
|
-
execution_context: typing.Union[str, int] = None,
|
|
105
|
-
undo: bool = None,
|
|
106
|
-
type: typing.Any = "LINE_BEGIN",
|
|
103
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
104
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
105
|
+
undo: typing.Optional[bool] = None,
|
|
106
|
+
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
107
107
|
):
|
|
108
108
|
"""Move cursor to position type
|
|
109
109
|
|
|
110
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
111
|
-
:type execution_context: typing.Union[str, int]
|
|
112
|
-
:type undo: bool
|
|
110
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
111
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
112
|
+
:type undo: typing.Optional[bool]
|
|
113
113
|
:param type: Type, Where to move cursor to
|
|
114
|
-
:type type: typing.Any
|
|
114
|
+
:type type: typing.Optional[typing.Any]
|
|
115
115
|
"""
|
|
116
116
|
|
|
117
117
|
...
|
|
118
118
|
|
|
119
119
|
def move_select(
|
|
120
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
121
|
-
execution_context: typing.Union[str, int] = None,
|
|
122
|
-
undo: bool = None,
|
|
123
|
-
type: typing.Any = "LINE_BEGIN",
|
|
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
|
+
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
124
124
|
):
|
|
125
125
|
"""Move the cursor while selecting
|
|
126
126
|
|
|
127
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
128
|
-
:type execution_context: typing.Union[str, int]
|
|
129
|
-
:type undo: bool
|
|
127
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
128
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
129
|
+
:type undo: typing.Optional[bool]
|
|
130
130
|
:param type: Type, Where to move cursor to, to make a selection
|
|
131
|
-
:type type: typing.Any
|
|
131
|
+
:type type: typing.Optional[typing.Any]
|
|
132
132
|
"""
|
|
133
133
|
|
|
134
134
|
...
|
|
135
135
|
|
|
136
136
|
def open(
|
|
137
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
138
|
-
execution_context: typing.Union[str, int] = None,
|
|
139
|
-
undo: bool = None,
|
|
137
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
138
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
139
|
+
undo: typing.Optional[bool] = None,
|
|
140
140
|
filepath: typing.Union[str, typing.Any] = "",
|
|
141
|
-
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
142
|
-
check_existing: typing.Union[bool, typing.Any] = False,
|
|
143
|
-
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
144
|
-
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
145
|
-
filter_image: typing.Union[bool, typing.Any] = False,
|
|
146
|
-
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
147
|
-
filter_python: typing.Union[bool, typing.Any] = False,
|
|
148
|
-
filter_font: typing.Union[bool, typing.Any] = True,
|
|
149
|
-
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
150
|
-
filter_text: typing.Union[bool, typing.Any] = False,
|
|
151
|
-
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
152
|
-
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
153
|
-
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
154
|
-
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
155
|
-
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
156
|
-
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
157
|
-
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
158
|
-
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
159
|
-
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
160
|
-
filemode: typing.Any = 9,
|
|
161
|
-
relative_path: typing.Union[bool, typing.Any] = True,
|
|
162
|
-
display_type: typing.Any = "THUMBNAIL",
|
|
163
|
-
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
141
|
+
hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
142
|
+
check_existing: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
143
|
+
filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
144
|
+
filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
145
|
+
filter_image: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
146
|
+
filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
147
|
+
filter_python: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
148
|
+
filter_font: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
149
|
+
filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
150
|
+
filter_text: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
151
|
+
filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
152
|
+
filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
153
|
+
filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
154
|
+
filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
155
|
+
filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
156
|
+
filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
157
|
+
filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
158
|
+
filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
159
|
+
filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
160
|
+
filemode: typing.Optional[typing.Any] = 9,
|
|
161
|
+
relative_path: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
162
|
+
display_type: typing.Optional[typing.Any] = "THUMBNAIL",
|
|
163
|
+
sort_method: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
164
164
|
):
|
|
165
165
|
"""Load a new font from a file
|
|
166
166
|
|
|
167
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
168
|
-
:type execution_context: typing.Union[str, int]
|
|
169
|
-
:type undo: bool
|
|
167
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
168
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
169
|
+
:type undo: typing.Optional[bool]
|
|
170
170
|
:param filepath: File Path, Path to file
|
|
171
171
|
:type filepath: typing.Union[str, typing.Any]
|
|
172
172
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
173
|
-
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
173
|
+
:type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
|
|
174
174
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
175
|
-
:type check_existing: typing.Union[bool, typing.Any]
|
|
175
|
+
:type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
176
176
|
:param filter_blender: Filter .blend files
|
|
177
|
-
:type filter_blender: typing.Union[bool, typing.Any]
|
|
177
|
+
:type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
|
|
178
178
|
:param filter_backup: Filter .blend files
|
|
179
|
-
:type filter_backup: typing.Union[bool, typing.Any]
|
|
179
|
+
:type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
|
|
180
180
|
:param filter_image: Filter image files
|
|
181
|
-
:type filter_image: typing.Union[bool, typing.Any]
|
|
181
|
+
:type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
|
|
182
182
|
:param filter_movie: Filter movie files
|
|
183
|
-
:type filter_movie: typing.Union[bool, typing.Any]
|
|
183
|
+
:type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
|
|
184
184
|
:param filter_python: Filter Python files
|
|
185
|
-
:type filter_python: typing.Union[bool, typing.Any]
|
|
185
|
+
:type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
|
|
186
186
|
:param filter_font: Filter font files
|
|
187
|
-
:type filter_font: typing.Union[bool, typing.Any]
|
|
187
|
+
:type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
|
|
188
188
|
:param filter_sound: Filter sound files
|
|
189
|
-
:type filter_sound: typing.Union[bool, typing.Any]
|
|
189
|
+
:type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
|
|
190
190
|
:param filter_text: Filter text files
|
|
191
|
-
:type filter_text: typing.Union[bool, typing.Any]
|
|
191
|
+
:type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
|
|
192
192
|
:param filter_archive: Filter archive files
|
|
193
|
-
:type filter_archive: typing.Union[bool, typing.Any]
|
|
193
|
+
:type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
|
|
194
194
|
:param filter_btx: Filter btx files
|
|
195
|
-
:type filter_btx: typing.Union[bool, typing.Any]
|
|
195
|
+
:type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
|
|
196
196
|
:param filter_collada: Filter COLLADA files
|
|
197
|
-
:type filter_collada: typing.Union[bool, typing.Any]
|
|
197
|
+
:type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
|
|
198
198
|
:param filter_alembic: Filter Alembic files
|
|
199
|
-
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
199
|
+
:type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
200
200
|
:param filter_usd: Filter USD files
|
|
201
|
-
:type filter_usd: typing.Union[bool, typing.Any]
|
|
201
|
+
:type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
|
|
202
202
|
:param filter_obj: Filter OBJ files
|
|
203
|
-
:type filter_obj: typing.Union[bool, typing.Any]
|
|
203
|
+
:type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
|
|
204
204
|
:param filter_volume: Filter OpenVDB volume files
|
|
205
|
-
:type filter_volume: typing.Union[bool, typing.Any]
|
|
205
|
+
:type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
|
|
206
206
|
:param filter_folder: Filter folders
|
|
207
|
-
:type filter_folder: typing.Union[bool, typing.Any]
|
|
207
|
+
:type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
|
|
208
208
|
:param filter_blenlib: Filter Blender IDs
|
|
209
|
-
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
209
|
+
:type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
|
|
210
210
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
211
|
-
:type filemode: typing.Any
|
|
211
|
+
:type filemode: typing.Optional[typing.Any]
|
|
212
212
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
213
|
-
:type relative_path: typing.Union[bool, typing.Any]
|
|
213
|
+
:type relative_path: typing.Optional[typing.Union[bool, typing.Any]]
|
|
214
214
|
:param display_type: Display Type
|
|
215
215
|
|
|
216
216
|
DEFAULT
|
|
@@ -224,246 +224,246 @@ def open(
|
|
|
224
224
|
|
|
225
225
|
THUMBNAIL
|
|
226
226
|
Thumbnails -- Display files as thumbnails.
|
|
227
|
-
:type display_type: typing.Any
|
|
227
|
+
:type display_type: typing.Optional[typing.Any]
|
|
228
228
|
:param sort_method: File sorting mode
|
|
229
|
-
:type sort_method: typing.Union[str, int, typing.Any]
|
|
229
|
+
:type sort_method: typing.Optional[typing.Union[str, int, typing.Any]]
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
...
|
|
233
233
|
|
|
234
234
|
def select_all(
|
|
235
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
236
|
-
execution_context: typing.Union[str, int] = None,
|
|
237
|
-
undo: bool = None,
|
|
235
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
236
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
237
|
+
undo: typing.Optional[bool] = None,
|
|
238
238
|
):
|
|
239
239
|
"""Select all text
|
|
240
240
|
|
|
241
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
242
|
-
:type execution_context: typing.Union[str, int]
|
|
243
|
-
:type undo: bool
|
|
241
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
242
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
243
|
+
:type undo: typing.Optional[bool]
|
|
244
244
|
"""
|
|
245
245
|
|
|
246
246
|
...
|
|
247
247
|
|
|
248
248
|
def select_word(
|
|
249
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
250
|
-
execution_context: typing.Union[str, int] = None,
|
|
251
|
-
undo: bool = None,
|
|
249
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
250
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
251
|
+
undo: typing.Optional[bool] = None,
|
|
252
252
|
):
|
|
253
253
|
"""Select word under cursor
|
|
254
254
|
|
|
255
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
256
|
-
:type execution_context: typing.Union[str, int]
|
|
257
|
-
:type undo: bool
|
|
255
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
256
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
257
|
+
:type undo: typing.Optional[bool]
|
|
258
258
|
"""
|
|
259
259
|
|
|
260
260
|
...
|
|
261
261
|
|
|
262
262
|
def selection_set(
|
|
263
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
264
|
-
execution_context: typing.Union[str, int] = None,
|
|
265
|
-
undo: bool = None,
|
|
263
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
264
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
265
|
+
undo: typing.Optional[bool] = None,
|
|
266
266
|
):
|
|
267
267
|
"""Set cursor selection
|
|
268
268
|
|
|
269
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
270
|
-
:type execution_context: typing.Union[str, int]
|
|
271
|
-
:type undo: bool
|
|
269
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
270
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
271
|
+
:type undo: typing.Optional[bool]
|
|
272
272
|
"""
|
|
273
273
|
|
|
274
274
|
...
|
|
275
275
|
|
|
276
276
|
def style_set(
|
|
277
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
278
|
-
execution_context: typing.Union[str, int] = None,
|
|
279
|
-
undo: bool = None,
|
|
280
|
-
style: typing.Any = "BOLD",
|
|
281
|
-
clear: typing.Union[bool, typing.Any] = False,
|
|
277
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
278
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
279
|
+
undo: typing.Optional[bool] = None,
|
|
280
|
+
style: typing.Optional[typing.Any] = "BOLD",
|
|
281
|
+
clear: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
282
282
|
):
|
|
283
283
|
"""Set font style
|
|
284
284
|
|
|
285
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
286
|
-
:type execution_context: typing.Union[str, int]
|
|
287
|
-
:type undo: bool
|
|
285
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
286
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
287
|
+
:type undo: typing.Optional[bool]
|
|
288
288
|
:param style: Style, Style to set selection to
|
|
289
|
-
:type style: typing.Any
|
|
289
|
+
:type style: typing.Optional[typing.Any]
|
|
290
290
|
:param clear: Clear, Clear style rather than setting it
|
|
291
|
-
:type clear: typing.Union[bool, typing.Any]
|
|
291
|
+
:type clear: typing.Optional[typing.Union[bool, typing.Any]]
|
|
292
292
|
"""
|
|
293
293
|
|
|
294
294
|
...
|
|
295
295
|
|
|
296
296
|
def style_toggle(
|
|
297
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
298
|
-
execution_context: typing.Union[str, int] = None,
|
|
299
|
-
undo: bool = None,
|
|
300
|
-
style: typing.Any = "BOLD",
|
|
297
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
298
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
299
|
+
undo: typing.Optional[bool] = None,
|
|
300
|
+
style: typing.Optional[typing.Any] = "BOLD",
|
|
301
301
|
):
|
|
302
302
|
"""Toggle font style
|
|
303
303
|
|
|
304
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
305
|
-
:type execution_context: typing.Union[str, int]
|
|
306
|
-
:type undo: bool
|
|
304
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
305
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
306
|
+
:type undo: typing.Optional[bool]
|
|
307
307
|
:param style: Style, Style to set selection to
|
|
308
|
-
:type style: typing.Any
|
|
308
|
+
:type style: typing.Optional[typing.Any]
|
|
309
309
|
"""
|
|
310
310
|
|
|
311
311
|
...
|
|
312
312
|
|
|
313
313
|
def text_copy(
|
|
314
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
315
|
-
execution_context: typing.Union[str, int] = None,
|
|
316
|
-
undo: bool = None,
|
|
314
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
315
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
316
|
+
undo: typing.Optional[bool] = None,
|
|
317
317
|
):
|
|
318
318
|
"""Copy selected text to clipboard
|
|
319
319
|
|
|
320
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
321
|
-
:type execution_context: typing.Union[str, int]
|
|
322
|
-
:type undo: bool
|
|
320
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
321
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
322
|
+
:type undo: typing.Optional[bool]
|
|
323
323
|
"""
|
|
324
324
|
|
|
325
325
|
...
|
|
326
326
|
|
|
327
327
|
def text_cut(
|
|
328
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
329
|
-
execution_context: typing.Union[str, int] = None,
|
|
330
|
-
undo: bool = None,
|
|
328
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
329
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
330
|
+
undo: typing.Optional[bool] = None,
|
|
331
331
|
):
|
|
332
332
|
"""Cut selected text to clipboard
|
|
333
333
|
|
|
334
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
335
|
-
:type execution_context: typing.Union[str, int]
|
|
336
|
-
:type undo: bool
|
|
334
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
335
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
336
|
+
:type undo: typing.Optional[bool]
|
|
337
337
|
"""
|
|
338
338
|
|
|
339
339
|
...
|
|
340
340
|
|
|
341
341
|
def text_insert(
|
|
342
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
343
|
-
execution_context: typing.Union[str, int] = None,
|
|
344
|
-
undo: bool = None,
|
|
342
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
343
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
344
|
+
undo: typing.Optional[bool] = None,
|
|
345
345
|
text: typing.Union[str, typing.Any] = "",
|
|
346
|
-
accent: typing.Union[bool, typing.Any] = False,
|
|
346
|
+
accent: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
347
347
|
):
|
|
348
348
|
"""Insert text at cursor position
|
|
349
349
|
|
|
350
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
351
|
-
:type execution_context: typing.Union[str, int]
|
|
352
|
-
:type undo: bool
|
|
350
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
351
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
352
|
+
:type undo: typing.Optional[bool]
|
|
353
353
|
:param text: Text, Text to insert at the cursor position
|
|
354
354
|
:type text: typing.Union[str, typing.Any]
|
|
355
355
|
:param accent: Accent Mode, Next typed character will strike through previous, for special character input
|
|
356
|
-
:type accent: typing.Union[bool, typing.Any]
|
|
356
|
+
:type accent: typing.Optional[typing.Union[bool, typing.Any]]
|
|
357
357
|
"""
|
|
358
358
|
|
|
359
359
|
...
|
|
360
360
|
|
|
361
361
|
def text_insert_unicode(
|
|
362
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
363
|
-
execution_context: typing.Union[str, int] = None,
|
|
364
|
-
undo: bool = None,
|
|
362
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
363
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
364
|
+
undo: typing.Optional[bool] = None,
|
|
365
365
|
):
|
|
366
366
|
"""Insert Unicode Character
|
|
367
367
|
|
|
368
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
369
|
-
:type execution_context: typing.Union[str, int]
|
|
370
|
-
:type undo: bool
|
|
368
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
369
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
370
|
+
:type undo: typing.Optional[bool]
|
|
371
371
|
"""
|
|
372
372
|
|
|
373
373
|
...
|
|
374
374
|
|
|
375
375
|
def text_paste(
|
|
376
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
377
|
-
execution_context: typing.Union[str, int] = None,
|
|
378
|
-
undo: bool = None,
|
|
379
|
-
selection: typing.Union[bool, typing.Any] = False,
|
|
376
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
377
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
378
|
+
undo: typing.Optional[bool] = None,
|
|
379
|
+
selection: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
380
380
|
):
|
|
381
381
|
"""Paste text from clipboard
|
|
382
382
|
|
|
383
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
384
|
-
:type execution_context: typing.Union[str, int]
|
|
385
|
-
:type undo: bool
|
|
383
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
384
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
385
|
+
:type undo: typing.Optional[bool]
|
|
386
386
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
387
|
-
:type selection: typing.Union[bool, typing.Any]
|
|
387
|
+
:type selection: typing.Optional[typing.Union[bool, typing.Any]]
|
|
388
388
|
"""
|
|
389
389
|
|
|
390
390
|
...
|
|
391
391
|
|
|
392
392
|
def text_paste_from_file(
|
|
393
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
394
|
-
execution_context: typing.Union[str, int] = None,
|
|
395
|
-
undo: bool = None,
|
|
393
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
394
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
395
|
+
undo: typing.Optional[bool] = None,
|
|
396
396
|
filepath: typing.Union[str, typing.Any] = "",
|
|
397
|
-
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
398
|
-
check_existing: typing.Union[bool, typing.Any] = False,
|
|
399
|
-
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
400
|
-
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
401
|
-
filter_image: typing.Union[bool, typing.Any] = False,
|
|
402
|
-
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
403
|
-
filter_python: typing.Union[bool, typing.Any] = False,
|
|
404
|
-
filter_font: typing.Union[bool, typing.Any] = False,
|
|
405
|
-
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
406
|
-
filter_text: typing.Union[bool, typing.Any] = True,
|
|
407
|
-
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
408
|
-
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
409
|
-
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
410
|
-
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
411
|
-
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
412
|
-
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
413
|
-
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
414
|
-
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
415
|
-
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
416
|
-
filemode: typing.Any = 9,
|
|
417
|
-
display_type: typing.Any = "DEFAULT",
|
|
418
|
-
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
397
|
+
hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
398
|
+
check_existing: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
399
|
+
filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
400
|
+
filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
401
|
+
filter_image: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
402
|
+
filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
403
|
+
filter_python: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
404
|
+
filter_font: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
405
|
+
filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
406
|
+
filter_text: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
407
|
+
filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
408
|
+
filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
409
|
+
filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
410
|
+
filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
411
|
+
filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
412
|
+
filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
413
|
+
filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
414
|
+
filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
415
|
+
filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
416
|
+
filemode: typing.Optional[typing.Any] = 9,
|
|
417
|
+
display_type: typing.Optional[typing.Any] = "DEFAULT",
|
|
418
|
+
sort_method: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
419
419
|
):
|
|
420
420
|
"""Paste contents from file
|
|
421
421
|
|
|
422
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
423
|
-
:type execution_context: typing.Union[str, int]
|
|
424
|
-
:type undo: bool
|
|
422
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
423
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
424
|
+
:type undo: typing.Optional[bool]
|
|
425
425
|
:param filepath: File Path, Path to file
|
|
426
426
|
:type filepath: typing.Union[str, typing.Any]
|
|
427
427
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
428
|
-
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
428
|
+
:type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
|
|
429
429
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
430
|
-
:type check_existing: typing.Union[bool, typing.Any]
|
|
430
|
+
:type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
431
431
|
:param filter_blender: Filter .blend files
|
|
432
|
-
:type filter_blender: typing.Union[bool, typing.Any]
|
|
432
|
+
:type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
|
|
433
433
|
:param filter_backup: Filter .blend files
|
|
434
|
-
:type filter_backup: typing.Union[bool, typing.Any]
|
|
434
|
+
:type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
|
|
435
435
|
:param filter_image: Filter image files
|
|
436
|
-
:type filter_image: typing.Union[bool, typing.Any]
|
|
436
|
+
:type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
|
|
437
437
|
:param filter_movie: Filter movie files
|
|
438
|
-
:type filter_movie: typing.Union[bool, typing.Any]
|
|
438
|
+
:type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
|
|
439
439
|
:param filter_python: Filter Python files
|
|
440
|
-
:type filter_python: typing.Union[bool, typing.Any]
|
|
440
|
+
:type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
|
|
441
441
|
:param filter_font: Filter font files
|
|
442
|
-
:type filter_font: typing.Union[bool, typing.Any]
|
|
442
|
+
:type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
|
|
443
443
|
:param filter_sound: Filter sound files
|
|
444
|
-
:type filter_sound: typing.Union[bool, typing.Any]
|
|
444
|
+
:type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
|
|
445
445
|
:param filter_text: Filter text files
|
|
446
|
-
:type filter_text: typing.Union[bool, typing.Any]
|
|
446
|
+
:type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
|
|
447
447
|
:param filter_archive: Filter archive files
|
|
448
|
-
:type filter_archive: typing.Union[bool, typing.Any]
|
|
448
|
+
:type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
|
|
449
449
|
:param filter_btx: Filter btx files
|
|
450
|
-
:type filter_btx: typing.Union[bool, typing.Any]
|
|
450
|
+
:type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
|
|
451
451
|
:param filter_collada: Filter COLLADA files
|
|
452
|
-
:type filter_collada: typing.Union[bool, typing.Any]
|
|
452
|
+
:type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
|
|
453
453
|
:param filter_alembic: Filter Alembic files
|
|
454
|
-
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
454
|
+
:type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
455
455
|
:param filter_usd: Filter USD files
|
|
456
|
-
:type filter_usd: typing.Union[bool, typing.Any]
|
|
456
|
+
:type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
|
|
457
457
|
:param filter_obj: Filter OBJ files
|
|
458
|
-
:type filter_obj: typing.Union[bool, typing.Any]
|
|
458
|
+
:type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
|
|
459
459
|
:param filter_volume: Filter OpenVDB volume files
|
|
460
|
-
:type filter_volume: typing.Union[bool, typing.Any]
|
|
460
|
+
:type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
|
|
461
461
|
:param filter_folder: Filter folders
|
|
462
|
-
:type filter_folder: typing.Union[bool, typing.Any]
|
|
462
|
+
:type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
|
|
463
463
|
:param filter_blenlib: Filter Blender IDs
|
|
464
|
-
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
464
|
+
:type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
|
|
465
465
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
466
|
-
:type filemode: typing.Any
|
|
466
|
+
:type filemode: typing.Optional[typing.Any]
|
|
467
467
|
:param display_type: Display Type
|
|
468
468
|
|
|
469
469
|
DEFAULT
|
|
@@ -477,54 +477,54 @@ def text_paste_from_file(
|
|
|
477
477
|
|
|
478
478
|
THUMBNAIL
|
|
479
479
|
Thumbnails -- Display files as thumbnails.
|
|
480
|
-
:type display_type: typing.Any
|
|
480
|
+
:type display_type: typing.Optional[typing.Any]
|
|
481
481
|
:param sort_method: File sorting mode
|
|
482
|
-
:type sort_method: typing.Union[str, int, typing.Any]
|
|
482
|
+
:type sort_method: typing.Optional[typing.Union[str, int, typing.Any]]
|
|
483
483
|
"""
|
|
484
484
|
|
|
485
485
|
...
|
|
486
486
|
|
|
487
487
|
def textbox_add(
|
|
488
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
489
|
-
execution_context: typing.Union[str, int] = None,
|
|
490
|
-
undo: bool = None,
|
|
488
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
489
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
490
|
+
undo: typing.Optional[bool] = None,
|
|
491
491
|
):
|
|
492
492
|
"""Add a new text box
|
|
493
493
|
|
|
494
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
495
|
-
:type execution_context: typing.Union[str, int]
|
|
496
|
-
:type undo: bool
|
|
494
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
495
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
496
|
+
:type undo: typing.Optional[bool]
|
|
497
497
|
"""
|
|
498
498
|
|
|
499
499
|
...
|
|
500
500
|
|
|
501
501
|
def textbox_remove(
|
|
502
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
503
|
-
execution_context: typing.Union[str, int] = None,
|
|
504
|
-
undo: bool = None,
|
|
505
|
-
index: typing.Any = 0,
|
|
502
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
503
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
504
|
+
undo: typing.Optional[bool] = None,
|
|
505
|
+
index: typing.Optional[typing.Any] = 0,
|
|
506
506
|
):
|
|
507
507
|
"""Remove the text box
|
|
508
508
|
|
|
509
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
510
|
-
:type execution_context: typing.Union[str, int]
|
|
511
|
-
:type undo: bool
|
|
509
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
510
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
511
|
+
:type undo: typing.Optional[bool]
|
|
512
512
|
:param index: Index, The current text box
|
|
513
|
-
:type index: typing.Any
|
|
513
|
+
:type index: typing.Optional[typing.Any]
|
|
514
514
|
"""
|
|
515
515
|
|
|
516
516
|
...
|
|
517
517
|
|
|
518
518
|
def unlink(
|
|
519
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
520
|
-
execution_context: typing.Union[str, int] = None,
|
|
521
|
-
undo: bool = None,
|
|
519
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
520
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
521
|
+
undo: typing.Optional[bool] = None,
|
|
522
522
|
):
|
|
523
523
|
"""Unlink active font data-block
|
|
524
524
|
|
|
525
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
526
|
-
:type execution_context: typing.Union[str, int]
|
|
527
|
-
:type undo: bool
|
|
525
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
526
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
527
|
+
:type undo: typing.Optional[bool]
|
|
528
528
|
"""
|
|
529
529
|
|
|
530
530
|
...
|