fake-bpy-module 20240210__py3-none-any.whl → 20240326__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.
- addon_utils/__init__.pyi +54 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/font/__init__.pyi
CHANGED
|
@@ -1,566 +1,530 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def case_set(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
13
|
-
*,
|
|
14
|
-
case: typing.Optional[typing.Any] = "LOWER",
|
|
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",
|
|
15
11
|
):
|
|
16
12
|
"""Set font case
|
|
17
13
|
|
|
18
|
-
:type override_context: typing.
|
|
19
|
-
:type execution_context: typing.
|
|
20
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
21
17
|
:param case: Case, Lower or upper case
|
|
22
|
-
:type case: typing.
|
|
18
|
+
:type case: typing.Any
|
|
23
19
|
"""
|
|
24
20
|
|
|
25
21
|
...
|
|
26
22
|
|
|
27
23
|
def case_toggle(
|
|
28
|
-
override_context: typing.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
32
|
-
undo: typing.Optional[bool] = None,
|
|
24
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
25
|
+
execution_context: typing.Union[str, int] = None,
|
|
26
|
+
undo: bool = None,
|
|
33
27
|
):
|
|
34
28
|
"""Toggle font case
|
|
35
29
|
|
|
36
|
-
:type override_context: typing.
|
|
37
|
-
:type execution_context: typing.
|
|
38
|
-
:type undo:
|
|
30
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
31
|
+
:type execution_context: typing.Union[str, int]
|
|
32
|
+
:type undo: bool
|
|
39
33
|
"""
|
|
40
34
|
|
|
41
35
|
...
|
|
42
36
|
|
|
43
37
|
def change_character(
|
|
44
|
-
override_context: typing.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
undo: typing.Optional[bool] = None,
|
|
49
|
-
*,
|
|
50
|
-
delta: typing.Optional[typing.Any] = 1,
|
|
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,
|
|
51
42
|
):
|
|
52
43
|
"""Change font character code
|
|
53
44
|
|
|
54
|
-
:type override_context: typing.
|
|
55
|
-
:type execution_context: typing.
|
|
56
|
-
:type undo:
|
|
45
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
+
:type execution_context: typing.Union[str, int]
|
|
47
|
+
:type undo: bool
|
|
57
48
|
:param delta: Delta, Number to increase or decrease character code with
|
|
58
|
-
:type delta: typing.
|
|
49
|
+
:type delta: typing.Any
|
|
59
50
|
"""
|
|
60
51
|
|
|
61
52
|
...
|
|
62
53
|
|
|
63
54
|
def change_spacing(
|
|
64
|
-
override_context: typing.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
undo: typing.Optional[bool] = None,
|
|
69
|
-
*,
|
|
70
|
-
delta: typing.Optional[typing.Any] = 1.0,
|
|
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,
|
|
71
59
|
):
|
|
72
60
|
"""Change font spacing
|
|
73
61
|
|
|
74
|
-
:type override_context: typing.
|
|
75
|
-
:type execution_context: typing.
|
|
76
|
-
:type undo:
|
|
62
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
63
|
+
:type execution_context: typing.Union[str, int]
|
|
64
|
+
:type undo: bool
|
|
77
65
|
:param delta: Delta, Amount to decrease or increase character spacing with
|
|
78
|
-
:type delta: typing.
|
|
66
|
+
:type delta: typing.Any
|
|
79
67
|
"""
|
|
80
68
|
|
|
81
69
|
...
|
|
82
70
|
|
|
83
71
|
def delete(
|
|
84
|
-
override_context: typing.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
undo: typing.Optional[bool] = None,
|
|
89
|
-
*,
|
|
90
|
-
type: typing.Optional[typing.Any] = "PREVIOUS_CHARACTER",
|
|
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",
|
|
91
76
|
):
|
|
92
77
|
"""Delete text by cursor position
|
|
93
78
|
|
|
94
|
-
:type override_context: typing.
|
|
95
|
-
:type execution_context: typing.
|
|
96
|
-
:type undo:
|
|
79
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
80
|
+
:type execution_context: typing.Union[str, int]
|
|
81
|
+
:type undo: bool
|
|
97
82
|
:param type: Type, Which part of the text to delete
|
|
98
|
-
:type type: typing.
|
|
83
|
+
:type type: typing.Any
|
|
99
84
|
"""
|
|
100
85
|
|
|
101
86
|
...
|
|
102
87
|
|
|
103
88
|
def line_break(
|
|
104
|
-
override_context: typing.
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
108
|
-
undo: typing.Optional[bool] = None,
|
|
89
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
90
|
+
execution_context: typing.Union[str, int] = None,
|
|
91
|
+
undo: bool = None,
|
|
109
92
|
):
|
|
110
93
|
"""Insert line break at cursor position
|
|
111
94
|
|
|
112
|
-
:type override_context: typing.
|
|
113
|
-
:type execution_context: typing.
|
|
114
|
-
:type undo:
|
|
95
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
96
|
+
:type execution_context: typing.Union[str, int]
|
|
97
|
+
:type undo: bool
|
|
115
98
|
"""
|
|
116
99
|
|
|
117
100
|
...
|
|
118
101
|
|
|
119
102
|
def move(
|
|
120
|
-
override_context: typing.
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
undo: typing.Optional[bool] = None,
|
|
125
|
-
*,
|
|
126
|
-
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
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",
|
|
127
107
|
):
|
|
128
108
|
"""Move cursor to position type
|
|
129
109
|
|
|
130
|
-
:type override_context: typing.
|
|
131
|
-
:type execution_context: typing.
|
|
132
|
-
:type undo:
|
|
110
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
111
|
+
:type execution_context: typing.Union[str, int]
|
|
112
|
+
:type undo: bool
|
|
133
113
|
:param type: Type, Where to move cursor to
|
|
134
|
-
:type type: typing.
|
|
114
|
+
:type type: typing.Any
|
|
135
115
|
"""
|
|
136
116
|
|
|
137
117
|
...
|
|
138
118
|
|
|
139
119
|
def move_select(
|
|
140
|
-
override_context: typing.
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
undo: typing.Optional[bool] = None,
|
|
145
|
-
*,
|
|
146
|
-
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
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",
|
|
147
124
|
):
|
|
148
125
|
"""Move the cursor while selecting
|
|
149
126
|
|
|
150
|
-
:type override_context: typing.
|
|
151
|
-
:type execution_context: typing.
|
|
152
|
-
:type undo:
|
|
127
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
128
|
+
:type execution_context: typing.Union[str, int]
|
|
129
|
+
:type undo: bool
|
|
153
130
|
:param type: Type, Where to move cursor to, to make a selection
|
|
154
|
-
:type type: typing.
|
|
131
|
+
:type type: typing.Any
|
|
155
132
|
"""
|
|
156
133
|
|
|
157
134
|
...
|
|
158
135
|
|
|
159
136
|
def open(
|
|
160
|
-
override_context: typing.
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
164
|
-
undo: typing.Optional[bool] = None,
|
|
165
|
-
*,
|
|
137
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
138
|
+
execution_context: typing.Union[str, int] = None,
|
|
139
|
+
undo: bool = None,
|
|
166
140
|
filepath: typing.Union[str, typing.Any] = "",
|
|
167
|
-
hide_props_region: typing.
|
|
168
|
-
check_existing: typing.
|
|
169
|
-
filter_blender: typing.
|
|
170
|
-
filter_backup: typing.
|
|
171
|
-
filter_image: typing.
|
|
172
|
-
filter_movie: typing.
|
|
173
|
-
filter_python: typing.
|
|
174
|
-
filter_font: typing.
|
|
175
|
-
filter_sound: typing.
|
|
176
|
-
filter_text: typing.
|
|
177
|
-
filter_archive: typing.
|
|
178
|
-
filter_btx: typing.
|
|
179
|
-
filter_collada: typing.
|
|
180
|
-
filter_alembic: typing.
|
|
181
|
-
filter_usd: typing.
|
|
182
|
-
filter_obj: typing.
|
|
183
|
-
filter_volume: typing.
|
|
184
|
-
filter_folder: typing.
|
|
185
|
-
filter_blenlib: typing.
|
|
186
|
-
filemode: typing.
|
|
187
|
-
relative_path: typing.
|
|
188
|
-
display_type: typing.
|
|
189
|
-
sort_method: typing.
|
|
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] = "",
|
|
190
164
|
):
|
|
191
165
|
"""Load a new font from a file
|
|
192
166
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
167
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
168
|
+
:type execution_context: typing.Union[str, int]
|
|
169
|
+
:type undo: bool
|
|
170
|
+
:param filepath: File Path, Path to file
|
|
171
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
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]
|
|
174
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
175
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
176
|
+
:param filter_blender: Filter .blend files
|
|
177
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
178
|
+
:param filter_backup: Filter .blend files
|
|
179
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
180
|
+
:param filter_image: Filter image files
|
|
181
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
182
|
+
:param filter_movie: Filter movie files
|
|
183
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
184
|
+
:param filter_python: Filter Python files
|
|
185
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
186
|
+
:param filter_font: Filter font files
|
|
187
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
188
|
+
:param filter_sound: Filter sound files
|
|
189
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
190
|
+
:param filter_text: Filter text files
|
|
191
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
192
|
+
:param filter_archive: Filter archive files
|
|
193
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
194
|
+
:param filter_btx: Filter btx files
|
|
195
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
196
|
+
:param filter_collada: Filter COLLADA files
|
|
197
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
198
|
+
:param filter_alembic: Filter Alembic files
|
|
199
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
200
|
+
:param filter_usd: Filter USD files
|
|
201
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
202
|
+
:param filter_obj: Filter OBJ files
|
|
203
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
204
|
+
:param filter_volume: Filter OpenVDB volume files
|
|
205
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
206
|
+
:param filter_folder: Filter folders
|
|
207
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
208
|
+
:param filter_blenlib: Filter Blender IDs
|
|
209
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
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
|
|
212
|
+
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
213
|
+
:type relative_path: typing.Union[bool, typing.Any]
|
|
214
|
+
:param display_type: Display Type
|
|
215
|
+
|
|
216
|
+
DEFAULT
|
|
217
|
+
Default -- Automatically determine display type for files.
|
|
218
|
+
|
|
219
|
+
LIST_VERTICAL
|
|
220
|
+
Short List -- Display files as short list.
|
|
221
|
+
|
|
222
|
+
LIST_HORIZONTAL
|
|
223
|
+
Long List -- Display files as a detailed list.
|
|
224
|
+
|
|
225
|
+
THUMBNAIL
|
|
226
|
+
Thumbnails -- Display files as thumbnails.
|
|
227
|
+
:type display_type: typing.Any
|
|
228
|
+
:param sort_method: File sorting mode
|
|
229
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
244
230
|
"""
|
|
245
231
|
|
|
246
232
|
...
|
|
247
233
|
|
|
248
234
|
def select_all(
|
|
249
|
-
override_context: typing.
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
253
|
-
undo: typing.Optional[bool] = None,
|
|
235
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
236
|
+
execution_context: typing.Union[str, int] = None,
|
|
237
|
+
undo: bool = None,
|
|
254
238
|
):
|
|
255
239
|
"""Select all text
|
|
256
240
|
|
|
257
|
-
:type override_context: typing.
|
|
258
|
-
:type execution_context: typing.
|
|
259
|
-
:type undo:
|
|
241
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
242
|
+
:type execution_context: typing.Union[str, int]
|
|
243
|
+
:type undo: bool
|
|
260
244
|
"""
|
|
261
245
|
|
|
262
246
|
...
|
|
263
247
|
|
|
264
248
|
def select_word(
|
|
265
|
-
override_context: typing.
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
269
|
-
undo: typing.Optional[bool] = None,
|
|
249
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
250
|
+
execution_context: typing.Union[str, int] = None,
|
|
251
|
+
undo: bool = None,
|
|
270
252
|
):
|
|
271
253
|
"""Select word under cursor
|
|
272
254
|
|
|
273
|
-
:type override_context: typing.
|
|
274
|
-
:type execution_context: typing.
|
|
275
|
-
:type undo:
|
|
255
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
256
|
+
:type execution_context: typing.Union[str, int]
|
|
257
|
+
:type undo: bool
|
|
276
258
|
"""
|
|
277
259
|
|
|
278
260
|
...
|
|
279
261
|
|
|
280
262
|
def selection_set(
|
|
281
|
-
override_context: typing.
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
285
|
-
undo: typing.Optional[bool] = None,
|
|
263
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
264
|
+
execution_context: typing.Union[str, int] = None,
|
|
265
|
+
undo: bool = None,
|
|
286
266
|
):
|
|
287
267
|
"""Set cursor selection
|
|
288
268
|
|
|
289
|
-
:type override_context: typing.
|
|
290
|
-
:type execution_context: typing.
|
|
291
|
-
:type undo:
|
|
269
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
270
|
+
:type execution_context: typing.Union[str, int]
|
|
271
|
+
:type undo: bool
|
|
292
272
|
"""
|
|
293
273
|
|
|
294
274
|
...
|
|
295
275
|
|
|
296
276
|
def style_set(
|
|
297
|
-
override_context: typing.
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
*,
|
|
303
|
-
style: typing.Optional[typing.Any] = "BOLD",
|
|
304
|
-
clear: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
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,
|
|
305
282
|
):
|
|
306
283
|
"""Set font style
|
|
307
284
|
|
|
308
|
-
:type override_context: typing.
|
|
309
|
-
:type execution_context: typing.
|
|
310
|
-
:type undo:
|
|
285
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
286
|
+
:type execution_context: typing.Union[str, int]
|
|
287
|
+
:type undo: bool
|
|
311
288
|
:param style: Style, Style to set selection to
|
|
312
|
-
:type style: typing.
|
|
289
|
+
:type style: typing.Any
|
|
313
290
|
:param clear: Clear, Clear style rather than setting it
|
|
314
|
-
:type clear: typing.
|
|
291
|
+
:type clear: typing.Union[bool, typing.Any]
|
|
315
292
|
"""
|
|
316
293
|
|
|
317
294
|
...
|
|
318
295
|
|
|
319
296
|
def style_toggle(
|
|
320
|
-
override_context: typing.
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
undo: typing.Optional[bool] = None,
|
|
325
|
-
*,
|
|
326
|
-
style: typing.Optional[typing.Any] = "BOLD",
|
|
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",
|
|
327
301
|
):
|
|
328
302
|
"""Toggle font style
|
|
329
303
|
|
|
330
|
-
:type override_context: typing.
|
|
331
|
-
:type execution_context: typing.
|
|
332
|
-
:type undo:
|
|
304
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
305
|
+
:type execution_context: typing.Union[str, int]
|
|
306
|
+
:type undo: bool
|
|
333
307
|
:param style: Style, Style to set selection to
|
|
334
|
-
:type style: typing.
|
|
308
|
+
:type style: typing.Any
|
|
335
309
|
"""
|
|
336
310
|
|
|
337
311
|
...
|
|
338
312
|
|
|
339
313
|
def text_copy(
|
|
340
|
-
override_context: typing.
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
344
|
-
undo: typing.Optional[bool] = None,
|
|
314
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
315
|
+
execution_context: typing.Union[str, int] = None,
|
|
316
|
+
undo: bool = None,
|
|
345
317
|
):
|
|
346
318
|
"""Copy selected text to clipboard
|
|
347
319
|
|
|
348
|
-
:type override_context: typing.
|
|
349
|
-
:type execution_context: typing.
|
|
350
|
-
:type undo:
|
|
320
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
321
|
+
:type execution_context: typing.Union[str, int]
|
|
322
|
+
:type undo: bool
|
|
351
323
|
"""
|
|
352
324
|
|
|
353
325
|
...
|
|
354
326
|
|
|
355
327
|
def text_cut(
|
|
356
|
-
override_context: typing.
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
360
|
-
undo: typing.Optional[bool] = None,
|
|
328
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
329
|
+
execution_context: typing.Union[str, int] = None,
|
|
330
|
+
undo: bool = None,
|
|
361
331
|
):
|
|
362
332
|
"""Cut selected text to clipboard
|
|
363
333
|
|
|
364
|
-
:type override_context: typing.
|
|
365
|
-
:type execution_context: typing.
|
|
366
|
-
:type undo:
|
|
334
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
335
|
+
:type execution_context: typing.Union[str, int]
|
|
336
|
+
:type undo: bool
|
|
367
337
|
"""
|
|
368
338
|
|
|
369
339
|
...
|
|
370
340
|
|
|
371
341
|
def text_insert(
|
|
372
|
-
override_context: typing.
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
376
|
-
undo: typing.Optional[bool] = None,
|
|
377
|
-
*,
|
|
342
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
343
|
+
execution_context: typing.Union[str, int] = None,
|
|
344
|
+
undo: bool = None,
|
|
378
345
|
text: typing.Union[str, typing.Any] = "",
|
|
379
|
-
accent: typing.
|
|
346
|
+
accent: typing.Union[bool, typing.Any] = False,
|
|
380
347
|
):
|
|
381
348
|
"""Insert text at cursor position
|
|
382
349
|
|
|
383
|
-
:type override_context: typing.
|
|
384
|
-
:type execution_context: typing.
|
|
385
|
-
:type undo:
|
|
350
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
351
|
+
:type execution_context: typing.Union[str, int]
|
|
352
|
+
:type undo: bool
|
|
386
353
|
:param text: Text, Text to insert at the cursor position
|
|
387
354
|
:type text: typing.Union[str, typing.Any]
|
|
388
355
|
:param accent: Accent Mode, Next typed character will strike through previous, for special character input
|
|
389
|
-
:type accent: typing.
|
|
356
|
+
:type accent: typing.Union[bool, typing.Any]
|
|
390
357
|
"""
|
|
391
358
|
|
|
392
359
|
...
|
|
393
360
|
|
|
394
361
|
def text_insert_unicode(
|
|
395
|
-
override_context: typing.
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
399
|
-
undo: typing.Optional[bool] = None,
|
|
362
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
363
|
+
execution_context: typing.Union[str, int] = None,
|
|
364
|
+
undo: bool = None,
|
|
400
365
|
):
|
|
401
366
|
"""Insert Unicode Character
|
|
402
367
|
|
|
403
|
-
:type override_context: typing.
|
|
404
|
-
:type execution_context: typing.
|
|
405
|
-
:type undo:
|
|
368
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
369
|
+
:type execution_context: typing.Union[str, int]
|
|
370
|
+
:type undo: bool
|
|
406
371
|
"""
|
|
407
372
|
|
|
408
373
|
...
|
|
409
374
|
|
|
410
375
|
def text_paste(
|
|
411
|
-
override_context: typing.
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
undo: typing.Optional[bool] = None,
|
|
416
|
-
*,
|
|
417
|
-
selection: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
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,
|
|
418
380
|
):
|
|
419
381
|
"""Paste text from clipboard
|
|
420
382
|
|
|
421
|
-
:type override_context: typing.
|
|
422
|
-
:type execution_context: typing.
|
|
423
|
-
:type undo:
|
|
383
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
384
|
+
:type execution_context: typing.Union[str, int]
|
|
385
|
+
:type undo: bool
|
|
424
386
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
425
|
-
:type selection: typing.
|
|
387
|
+
:type selection: typing.Union[bool, typing.Any]
|
|
426
388
|
"""
|
|
427
389
|
|
|
428
390
|
...
|
|
429
391
|
|
|
430
392
|
def text_paste_from_file(
|
|
431
|
-
override_context: typing.
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
435
|
-
undo: typing.Optional[bool] = None,
|
|
436
|
-
*,
|
|
393
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
394
|
+
execution_context: typing.Union[str, int] = None,
|
|
395
|
+
undo: bool = None,
|
|
437
396
|
filepath: typing.Union[str, typing.Any] = "",
|
|
438
|
-
hide_props_region: typing.
|
|
439
|
-
check_existing: typing.
|
|
440
|
-
filter_blender: typing.
|
|
441
|
-
filter_backup: typing.
|
|
442
|
-
filter_image: typing.
|
|
443
|
-
filter_movie: typing.
|
|
444
|
-
filter_python: typing.
|
|
445
|
-
filter_font: typing.
|
|
446
|
-
filter_sound: typing.
|
|
447
|
-
filter_text: typing.
|
|
448
|
-
filter_archive: typing.
|
|
449
|
-
filter_btx: typing.
|
|
450
|
-
filter_collada: typing.
|
|
451
|
-
filter_alembic: typing.
|
|
452
|
-
filter_usd: typing.
|
|
453
|
-
filter_obj: typing.
|
|
454
|
-
filter_volume: typing.
|
|
455
|
-
filter_folder: typing.
|
|
456
|
-
filter_blenlib: typing.
|
|
457
|
-
filemode: typing.
|
|
458
|
-
display_type: typing.
|
|
459
|
-
sort_method: typing.
|
|
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] = "",
|
|
460
419
|
):
|
|
461
420
|
"""Paste contents from file
|
|
462
421
|
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
422
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
423
|
+
:type execution_context: typing.Union[str, int]
|
|
424
|
+
:type undo: bool
|
|
425
|
+
:param filepath: File Path, Path to file
|
|
426
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
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]
|
|
429
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
430
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
431
|
+
:param filter_blender: Filter .blend files
|
|
432
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
433
|
+
:param filter_backup: Filter .blend files
|
|
434
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
435
|
+
:param filter_image: Filter image files
|
|
436
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
437
|
+
:param filter_movie: Filter movie files
|
|
438
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
439
|
+
:param filter_python: Filter Python files
|
|
440
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
441
|
+
:param filter_font: Filter font files
|
|
442
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
443
|
+
:param filter_sound: Filter sound files
|
|
444
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
445
|
+
:param filter_text: Filter text files
|
|
446
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
447
|
+
:param filter_archive: Filter archive files
|
|
448
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
449
|
+
:param filter_btx: Filter btx files
|
|
450
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
451
|
+
:param filter_collada: Filter COLLADA files
|
|
452
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
453
|
+
:param filter_alembic: Filter Alembic files
|
|
454
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
455
|
+
:param filter_usd: Filter USD files
|
|
456
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
457
|
+
:param filter_obj: Filter OBJ files
|
|
458
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
459
|
+
:param filter_volume: Filter OpenVDB volume files
|
|
460
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
461
|
+
:param filter_folder: Filter folders
|
|
462
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
463
|
+
:param filter_blenlib: Filter Blender IDs
|
|
464
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
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
|
|
467
|
+
:param display_type: Display Type
|
|
468
|
+
|
|
469
|
+
DEFAULT
|
|
470
|
+
Default -- Automatically determine display type for files.
|
|
471
|
+
|
|
472
|
+
LIST_VERTICAL
|
|
473
|
+
Short List -- Display files as short list.
|
|
474
|
+
|
|
475
|
+
LIST_HORIZONTAL
|
|
476
|
+
Long List -- Display files as a detailed list.
|
|
477
|
+
|
|
478
|
+
THUMBNAIL
|
|
479
|
+
Thumbnails -- Display files as thumbnails.
|
|
480
|
+
:type display_type: typing.Any
|
|
481
|
+
:param sort_method: File sorting mode
|
|
482
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
512
483
|
"""
|
|
513
484
|
|
|
514
485
|
...
|
|
515
486
|
|
|
516
487
|
def textbox_add(
|
|
517
|
-
override_context: typing.
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
521
|
-
undo: typing.Optional[bool] = None,
|
|
488
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
489
|
+
execution_context: typing.Union[str, int] = None,
|
|
490
|
+
undo: bool = None,
|
|
522
491
|
):
|
|
523
492
|
"""Add a new text box
|
|
524
493
|
|
|
525
|
-
:type override_context: typing.
|
|
526
|
-
:type execution_context: typing.
|
|
527
|
-
:type undo:
|
|
494
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
495
|
+
:type execution_context: typing.Union[str, int]
|
|
496
|
+
:type undo: bool
|
|
528
497
|
"""
|
|
529
498
|
|
|
530
499
|
...
|
|
531
500
|
|
|
532
501
|
def textbox_remove(
|
|
533
|
-
override_context: typing.
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
undo: typing.Optional[bool] = None,
|
|
538
|
-
*,
|
|
539
|
-
index: typing.Optional[typing.Any] = 0,
|
|
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,
|
|
540
506
|
):
|
|
541
507
|
"""Remove the text box
|
|
542
508
|
|
|
543
|
-
:type override_context: typing.
|
|
544
|
-
:type execution_context: typing.
|
|
545
|
-
:type undo:
|
|
509
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
510
|
+
:type execution_context: typing.Union[str, int]
|
|
511
|
+
:type undo: bool
|
|
546
512
|
:param index: Index, The current text box
|
|
547
|
-
:type index: typing.
|
|
513
|
+
:type index: typing.Any
|
|
548
514
|
"""
|
|
549
515
|
|
|
550
516
|
...
|
|
551
517
|
|
|
552
518
|
def unlink(
|
|
553
|
-
override_context: typing.
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
557
|
-
undo: typing.Optional[bool] = None,
|
|
519
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
520
|
+
execution_context: typing.Union[str, int] = None,
|
|
521
|
+
undo: bool = None,
|
|
558
522
|
):
|
|
559
523
|
"""Unlink active font data-block
|
|
560
524
|
|
|
561
|
-
:type override_context: typing.
|
|
562
|
-
:type execution_context: typing.
|
|
563
|
-
:type undo:
|
|
525
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
526
|
+
:type execution_context: typing.Union[str, int]
|
|
527
|
+
:type undo: bool
|
|
564
528
|
"""
|
|
565
529
|
|
|
566
530
|
...
|