fake-bpy-module 20240321__py3-none-any.whl → 20240322__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +253 -247
- bmesh/utils/__init__.pyi +54 -54
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +642 -822
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +330 -428
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86353 -87337
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -1
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.dist-info/RECORD +343 -0
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240321.dist-info/RECORD +0 -343
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
bpy/ops/font/__init__.pyi
CHANGED
|
@@ -4,238 +4,213 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def case_set(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
12
|
-
*,
|
|
13
|
-
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",
|
|
14
11
|
):
|
|
15
12
|
"""Set font case
|
|
16
13
|
|
|
17
|
-
:type override_context: typing.
|
|
18
|
-
:type execution_context: typing.
|
|
19
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
20
17
|
:param case: Case, Lower or upper case
|
|
21
|
-
:type case: typing.
|
|
18
|
+
:type case: typing.Any
|
|
22
19
|
"""
|
|
23
20
|
|
|
24
21
|
...
|
|
25
22
|
|
|
26
23
|
def case_toggle(
|
|
27
|
-
override_context: typing.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
31
|
-
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,
|
|
32
27
|
):
|
|
33
28
|
"""Toggle font case
|
|
34
29
|
|
|
35
|
-
:type override_context: typing.
|
|
36
|
-
:type execution_context: typing.
|
|
37
|
-
:type undo:
|
|
30
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
31
|
+
:type execution_context: typing.Union[str, int]
|
|
32
|
+
:type undo: bool
|
|
38
33
|
"""
|
|
39
34
|
|
|
40
35
|
...
|
|
41
36
|
|
|
42
37
|
def change_character(
|
|
43
|
-
override_context: typing.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
undo: typing.Optional[bool] = None,
|
|
48
|
-
*,
|
|
49
|
-
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,
|
|
50
42
|
):
|
|
51
43
|
"""Change font character code
|
|
52
44
|
|
|
53
|
-
:type override_context: typing.
|
|
54
|
-
:type execution_context: typing.
|
|
55
|
-
:type undo:
|
|
45
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
+
:type execution_context: typing.Union[str, int]
|
|
47
|
+
:type undo: bool
|
|
56
48
|
:param delta: Delta, Number to increase or decrease character code with
|
|
57
|
-
:type delta: typing.
|
|
49
|
+
:type delta: typing.Any
|
|
58
50
|
"""
|
|
59
51
|
|
|
60
52
|
...
|
|
61
53
|
|
|
62
54
|
def change_spacing(
|
|
63
|
-
override_context: typing.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
undo: typing.Optional[bool] = None,
|
|
68
|
-
*,
|
|
69
|
-
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,
|
|
70
59
|
):
|
|
71
60
|
"""Change font spacing
|
|
72
61
|
|
|
73
|
-
:type override_context: typing.
|
|
74
|
-
:type execution_context: typing.
|
|
75
|
-
:type undo:
|
|
62
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
63
|
+
:type execution_context: typing.Union[str, int]
|
|
64
|
+
:type undo: bool
|
|
76
65
|
:param delta: Delta, Amount to decrease or increase character spacing with
|
|
77
|
-
:type delta: typing.
|
|
66
|
+
:type delta: typing.Any
|
|
78
67
|
"""
|
|
79
68
|
|
|
80
69
|
...
|
|
81
70
|
|
|
82
71
|
def delete(
|
|
83
|
-
override_context: typing.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
undo: typing.Optional[bool] = None,
|
|
88
|
-
*,
|
|
89
|
-
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",
|
|
90
76
|
):
|
|
91
77
|
"""Delete text by cursor position
|
|
92
78
|
|
|
93
|
-
:type override_context: typing.
|
|
94
|
-
:type execution_context: typing.
|
|
95
|
-
:type undo:
|
|
79
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
80
|
+
:type execution_context: typing.Union[str, int]
|
|
81
|
+
:type undo: bool
|
|
96
82
|
:param type: Type, Which part of the text to delete
|
|
97
|
-
:type type: typing.
|
|
83
|
+
:type type: typing.Any
|
|
98
84
|
"""
|
|
99
85
|
|
|
100
86
|
...
|
|
101
87
|
|
|
102
88
|
def line_break(
|
|
103
|
-
override_context: typing.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
107
|
-
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,
|
|
108
92
|
):
|
|
109
93
|
"""Insert line break at cursor position
|
|
110
94
|
|
|
111
|
-
:type override_context: typing.
|
|
112
|
-
:type execution_context: typing.
|
|
113
|
-
:type undo:
|
|
95
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
96
|
+
:type execution_context: typing.Union[str, int]
|
|
97
|
+
:type undo: bool
|
|
114
98
|
"""
|
|
115
99
|
|
|
116
100
|
...
|
|
117
101
|
|
|
118
102
|
def move(
|
|
119
|
-
override_context: typing.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
undo: typing.Optional[bool] = None,
|
|
124
|
-
*,
|
|
125
|
-
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",
|
|
126
107
|
):
|
|
127
108
|
"""Move cursor to position type
|
|
128
109
|
|
|
129
|
-
:type override_context: typing.
|
|
130
|
-
:type execution_context: typing.
|
|
131
|
-
:type undo:
|
|
110
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
111
|
+
:type execution_context: typing.Union[str, int]
|
|
112
|
+
:type undo: bool
|
|
132
113
|
:param type: Type, Where to move cursor to
|
|
133
|
-
:type type: typing.
|
|
114
|
+
:type type: typing.Any
|
|
134
115
|
"""
|
|
135
116
|
|
|
136
117
|
...
|
|
137
118
|
|
|
138
119
|
def move_select(
|
|
139
|
-
override_context: typing.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
undo: typing.Optional[bool] = None,
|
|
144
|
-
*,
|
|
145
|
-
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",
|
|
146
124
|
):
|
|
147
125
|
"""Move the cursor while selecting
|
|
148
126
|
|
|
149
|
-
:type override_context: typing.
|
|
150
|
-
:type execution_context: typing.
|
|
151
|
-
:type undo:
|
|
127
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
128
|
+
:type execution_context: typing.Union[str, int]
|
|
129
|
+
:type undo: bool
|
|
152
130
|
:param type: Type, Where to move cursor to, to make a selection
|
|
153
|
-
:type type: typing.
|
|
131
|
+
:type type: typing.Any
|
|
154
132
|
"""
|
|
155
133
|
|
|
156
134
|
...
|
|
157
135
|
|
|
158
136
|
def open(
|
|
159
|
-
override_context: typing.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
163
|
-
undo: typing.Optional[bool] = None,
|
|
164
|
-
*,
|
|
137
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
138
|
+
execution_context: typing.Union[str, int] = None,
|
|
139
|
+
undo: bool = None,
|
|
165
140
|
filepath: typing.Union[str, typing.Any] = "",
|
|
166
|
-
hide_props_region: typing.
|
|
167
|
-
check_existing: typing.
|
|
168
|
-
filter_blender: typing.
|
|
169
|
-
filter_backup: typing.
|
|
170
|
-
filter_image: typing.
|
|
171
|
-
filter_movie: typing.
|
|
172
|
-
filter_python: typing.
|
|
173
|
-
filter_font: typing.
|
|
174
|
-
filter_sound: typing.
|
|
175
|
-
filter_text: typing.
|
|
176
|
-
filter_archive: typing.
|
|
177
|
-
filter_btx: typing.
|
|
178
|
-
filter_collada: typing.
|
|
179
|
-
filter_alembic: typing.
|
|
180
|
-
filter_usd: typing.
|
|
181
|
-
filter_obj: typing.
|
|
182
|
-
filter_volume: typing.
|
|
183
|
-
filter_folder: typing.
|
|
184
|
-
filter_blenlib: typing.
|
|
185
|
-
filemode: typing.
|
|
186
|
-
relative_path: typing.
|
|
187
|
-
display_type: typing.
|
|
188
|
-
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] = "",
|
|
189
164
|
):
|
|
190
165
|
"""Load a new font from a file
|
|
191
166
|
|
|
192
|
-
:type override_context: typing.
|
|
193
|
-
:type execution_context: typing.
|
|
194
|
-
:type undo:
|
|
167
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
168
|
+
:type execution_context: typing.Union[str, int]
|
|
169
|
+
:type undo: bool
|
|
195
170
|
:param filepath: File Path, Path to file
|
|
196
171
|
:type filepath: typing.Union[str, typing.Any]
|
|
197
172
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
198
|
-
:type hide_props_region: typing.
|
|
173
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
199
174
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
200
|
-
:type check_existing: typing.
|
|
175
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
201
176
|
:param filter_blender: Filter .blend files
|
|
202
|
-
:type filter_blender: typing.
|
|
177
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
203
178
|
:param filter_backup: Filter .blend files
|
|
204
|
-
:type filter_backup: typing.
|
|
179
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
205
180
|
:param filter_image: Filter image files
|
|
206
|
-
:type filter_image: typing.
|
|
181
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
207
182
|
:param filter_movie: Filter movie files
|
|
208
|
-
:type filter_movie: typing.
|
|
183
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
209
184
|
:param filter_python: Filter Python files
|
|
210
|
-
:type filter_python: typing.
|
|
185
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
211
186
|
:param filter_font: Filter font files
|
|
212
|
-
:type filter_font: typing.
|
|
187
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
213
188
|
:param filter_sound: Filter sound files
|
|
214
|
-
:type filter_sound: typing.
|
|
189
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
215
190
|
:param filter_text: Filter text files
|
|
216
|
-
:type filter_text: typing.
|
|
191
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
217
192
|
:param filter_archive: Filter archive files
|
|
218
|
-
:type filter_archive: typing.
|
|
193
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
219
194
|
:param filter_btx: Filter btx files
|
|
220
|
-
:type filter_btx: typing.
|
|
195
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
221
196
|
:param filter_collada: Filter COLLADA files
|
|
222
|
-
:type filter_collada: typing.
|
|
197
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
223
198
|
:param filter_alembic: Filter Alembic files
|
|
224
|
-
:type filter_alembic: typing.
|
|
199
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
225
200
|
:param filter_usd: Filter USD files
|
|
226
|
-
:type filter_usd: typing.
|
|
201
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
227
202
|
:param filter_obj: Filter OBJ files
|
|
228
|
-
:type filter_obj: typing.
|
|
203
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
229
204
|
:param filter_volume: Filter OpenVDB volume files
|
|
230
|
-
:type filter_volume: typing.
|
|
205
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
231
206
|
:param filter_folder: Filter folders
|
|
232
|
-
:type filter_folder: typing.
|
|
207
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
233
208
|
:param filter_blenlib: Filter Blender IDs
|
|
234
|
-
:type filter_blenlib: typing.
|
|
209
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
235
210
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
236
|
-
:type filemode: typing.
|
|
211
|
+
:type filemode: typing.Any
|
|
237
212
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
238
|
-
:type relative_path: typing.
|
|
213
|
+
:type relative_path: typing.Union[bool, typing.Any]
|
|
239
214
|
:param display_type: Display Type
|
|
240
215
|
|
|
241
216
|
DEFAULT
|
|
@@ -249,273 +224,246 @@ def open(
|
|
|
249
224
|
|
|
250
225
|
THUMBNAIL
|
|
251
226
|
Thumbnails -- Display files as thumbnails.
|
|
252
|
-
:type display_type: typing.
|
|
227
|
+
:type display_type: typing.Any
|
|
253
228
|
:param sort_method: File sorting mode
|
|
254
|
-
:type sort_method: typing.
|
|
229
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
255
230
|
"""
|
|
256
231
|
|
|
257
232
|
...
|
|
258
233
|
|
|
259
234
|
def select_all(
|
|
260
|
-
override_context: typing.
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
264
|
-
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,
|
|
265
238
|
):
|
|
266
239
|
"""Select all text
|
|
267
240
|
|
|
268
|
-
:type override_context: typing.
|
|
269
|
-
:type execution_context: typing.
|
|
270
|
-
:type undo:
|
|
241
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
242
|
+
:type execution_context: typing.Union[str, int]
|
|
243
|
+
:type undo: bool
|
|
271
244
|
"""
|
|
272
245
|
|
|
273
246
|
...
|
|
274
247
|
|
|
275
248
|
def select_word(
|
|
276
|
-
override_context: typing.
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
280
|
-
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,
|
|
281
252
|
):
|
|
282
253
|
"""Select word under cursor
|
|
283
254
|
|
|
284
|
-
:type override_context: typing.
|
|
285
|
-
:type execution_context: typing.
|
|
286
|
-
:type undo:
|
|
255
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
256
|
+
:type execution_context: typing.Union[str, int]
|
|
257
|
+
:type undo: bool
|
|
287
258
|
"""
|
|
288
259
|
|
|
289
260
|
...
|
|
290
261
|
|
|
291
262
|
def selection_set(
|
|
292
|
-
override_context: typing.
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
296
|
-
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,
|
|
297
266
|
):
|
|
298
267
|
"""Set cursor selection
|
|
299
268
|
|
|
300
|
-
:type override_context: typing.
|
|
301
|
-
:type execution_context: typing.
|
|
302
|
-
:type undo:
|
|
269
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
270
|
+
:type execution_context: typing.Union[str, int]
|
|
271
|
+
:type undo: bool
|
|
303
272
|
"""
|
|
304
273
|
|
|
305
274
|
...
|
|
306
275
|
|
|
307
276
|
def style_set(
|
|
308
|
-
override_context: typing.
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
*,
|
|
314
|
-
style: typing.Optional[typing.Any] = "BOLD",
|
|
315
|
-
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,
|
|
316
282
|
):
|
|
317
283
|
"""Set font style
|
|
318
284
|
|
|
319
|
-
:type override_context: typing.
|
|
320
|
-
:type execution_context: typing.
|
|
321
|
-
:type undo:
|
|
285
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
286
|
+
:type execution_context: typing.Union[str, int]
|
|
287
|
+
:type undo: bool
|
|
322
288
|
:param style: Style, Style to set selection to
|
|
323
|
-
:type style: typing.
|
|
289
|
+
:type style: typing.Any
|
|
324
290
|
:param clear: Clear, Clear style rather than setting it
|
|
325
|
-
:type clear: typing.
|
|
291
|
+
:type clear: typing.Union[bool, typing.Any]
|
|
326
292
|
"""
|
|
327
293
|
|
|
328
294
|
...
|
|
329
295
|
|
|
330
296
|
def style_toggle(
|
|
331
|
-
override_context: typing.
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
undo: typing.Optional[bool] = None,
|
|
336
|
-
*,
|
|
337
|
-
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",
|
|
338
301
|
):
|
|
339
302
|
"""Toggle font style
|
|
340
303
|
|
|
341
|
-
:type override_context: typing.
|
|
342
|
-
:type execution_context: typing.
|
|
343
|
-
:type undo:
|
|
304
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
305
|
+
:type execution_context: typing.Union[str, int]
|
|
306
|
+
:type undo: bool
|
|
344
307
|
:param style: Style, Style to set selection to
|
|
345
|
-
:type style: typing.
|
|
308
|
+
:type style: typing.Any
|
|
346
309
|
"""
|
|
347
310
|
|
|
348
311
|
...
|
|
349
312
|
|
|
350
313
|
def text_copy(
|
|
351
|
-
override_context: typing.
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
355
|
-
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,
|
|
356
317
|
):
|
|
357
318
|
"""Copy selected text to clipboard
|
|
358
319
|
|
|
359
|
-
:type override_context: typing.
|
|
360
|
-
:type execution_context: typing.
|
|
361
|
-
:type undo:
|
|
320
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
321
|
+
:type execution_context: typing.Union[str, int]
|
|
322
|
+
:type undo: bool
|
|
362
323
|
"""
|
|
363
324
|
|
|
364
325
|
...
|
|
365
326
|
|
|
366
327
|
def text_cut(
|
|
367
|
-
override_context: typing.
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
371
|
-
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,
|
|
372
331
|
):
|
|
373
332
|
"""Cut selected text to clipboard
|
|
374
333
|
|
|
375
|
-
:type override_context: typing.
|
|
376
|
-
:type execution_context: typing.
|
|
377
|
-
:type undo:
|
|
334
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
335
|
+
:type execution_context: typing.Union[str, int]
|
|
336
|
+
:type undo: bool
|
|
378
337
|
"""
|
|
379
338
|
|
|
380
339
|
...
|
|
381
340
|
|
|
382
341
|
def text_insert(
|
|
383
|
-
override_context: typing.
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
387
|
-
undo: typing.Optional[bool] = None,
|
|
388
|
-
*,
|
|
342
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
343
|
+
execution_context: typing.Union[str, int] = None,
|
|
344
|
+
undo: bool = None,
|
|
389
345
|
text: typing.Union[str, typing.Any] = "",
|
|
390
|
-
accent: typing.
|
|
346
|
+
accent: typing.Union[bool, typing.Any] = False,
|
|
391
347
|
):
|
|
392
348
|
"""Insert text at cursor position
|
|
393
349
|
|
|
394
|
-
:type override_context: typing.
|
|
395
|
-
:type execution_context: typing.
|
|
396
|
-
:type undo:
|
|
350
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
351
|
+
:type execution_context: typing.Union[str, int]
|
|
352
|
+
:type undo: bool
|
|
397
353
|
:param text: Text, Text to insert at the cursor position
|
|
398
354
|
:type text: typing.Union[str, typing.Any]
|
|
399
355
|
:param accent: Accent Mode, Next typed character will strike through previous, for special character input
|
|
400
|
-
:type accent: typing.
|
|
356
|
+
:type accent: typing.Union[bool, typing.Any]
|
|
401
357
|
"""
|
|
402
358
|
|
|
403
359
|
...
|
|
404
360
|
|
|
405
361
|
def text_insert_unicode(
|
|
406
|
-
override_context: typing.
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
410
|
-
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,
|
|
411
365
|
):
|
|
412
366
|
"""Insert Unicode Character
|
|
413
367
|
|
|
414
|
-
:type override_context: typing.
|
|
415
|
-
:type execution_context: typing.
|
|
416
|
-
:type undo:
|
|
368
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
369
|
+
:type execution_context: typing.Union[str, int]
|
|
370
|
+
:type undo: bool
|
|
417
371
|
"""
|
|
418
372
|
|
|
419
373
|
...
|
|
420
374
|
|
|
421
375
|
def text_paste(
|
|
422
|
-
override_context: typing.
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
undo: typing.Optional[bool] = None,
|
|
427
|
-
*,
|
|
428
|
-
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,
|
|
429
380
|
):
|
|
430
381
|
"""Paste text from clipboard
|
|
431
382
|
|
|
432
|
-
:type override_context: typing.
|
|
433
|
-
:type execution_context: typing.
|
|
434
|
-
:type undo:
|
|
383
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
384
|
+
:type execution_context: typing.Union[str, int]
|
|
385
|
+
:type undo: bool
|
|
435
386
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
436
|
-
:type selection: typing.
|
|
387
|
+
:type selection: typing.Union[bool, typing.Any]
|
|
437
388
|
"""
|
|
438
389
|
|
|
439
390
|
...
|
|
440
391
|
|
|
441
392
|
def text_paste_from_file(
|
|
442
|
-
override_context: typing.
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
446
|
-
undo: typing.Optional[bool] = None,
|
|
447
|
-
*,
|
|
393
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
394
|
+
execution_context: typing.Union[str, int] = None,
|
|
395
|
+
undo: bool = None,
|
|
448
396
|
filepath: typing.Union[str, typing.Any] = "",
|
|
449
|
-
hide_props_region: typing.
|
|
450
|
-
check_existing: typing.
|
|
451
|
-
filter_blender: typing.
|
|
452
|
-
filter_backup: typing.
|
|
453
|
-
filter_image: typing.
|
|
454
|
-
filter_movie: typing.
|
|
455
|
-
filter_python: typing.
|
|
456
|
-
filter_font: typing.
|
|
457
|
-
filter_sound: typing.
|
|
458
|
-
filter_text: typing.
|
|
459
|
-
filter_archive: typing.
|
|
460
|
-
filter_btx: typing.
|
|
461
|
-
filter_collada: typing.
|
|
462
|
-
filter_alembic: typing.
|
|
463
|
-
filter_usd: typing.
|
|
464
|
-
filter_obj: typing.
|
|
465
|
-
filter_volume: typing.
|
|
466
|
-
filter_folder: typing.
|
|
467
|
-
filter_blenlib: typing.
|
|
468
|
-
filemode: typing.
|
|
469
|
-
display_type: typing.
|
|
470
|
-
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] = "",
|
|
471
419
|
):
|
|
472
420
|
"""Paste contents from file
|
|
473
421
|
|
|
474
|
-
:type override_context: typing.
|
|
475
|
-
:type execution_context: typing.
|
|
476
|
-
:type undo:
|
|
422
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
423
|
+
:type execution_context: typing.Union[str, int]
|
|
424
|
+
:type undo: bool
|
|
477
425
|
:param filepath: File Path, Path to file
|
|
478
426
|
:type filepath: typing.Union[str, typing.Any]
|
|
479
427
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
480
|
-
:type hide_props_region: typing.
|
|
428
|
+
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
481
429
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
482
|
-
:type check_existing: typing.
|
|
430
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
483
431
|
:param filter_blender: Filter .blend files
|
|
484
|
-
:type filter_blender: typing.
|
|
432
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
485
433
|
:param filter_backup: Filter .blend files
|
|
486
|
-
:type filter_backup: typing.
|
|
434
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
487
435
|
:param filter_image: Filter image files
|
|
488
|
-
:type filter_image: typing.
|
|
436
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
489
437
|
:param filter_movie: Filter movie files
|
|
490
|
-
:type filter_movie: typing.
|
|
438
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
491
439
|
:param filter_python: Filter Python files
|
|
492
|
-
:type filter_python: typing.
|
|
440
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
493
441
|
:param filter_font: Filter font files
|
|
494
|
-
:type filter_font: typing.
|
|
442
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
495
443
|
:param filter_sound: Filter sound files
|
|
496
|
-
:type filter_sound: typing.
|
|
444
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
497
445
|
:param filter_text: Filter text files
|
|
498
|
-
:type filter_text: typing.
|
|
446
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
499
447
|
:param filter_archive: Filter archive files
|
|
500
|
-
:type filter_archive: typing.
|
|
448
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
501
449
|
:param filter_btx: Filter btx files
|
|
502
|
-
:type filter_btx: typing.
|
|
450
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
503
451
|
:param filter_collada: Filter COLLADA files
|
|
504
|
-
:type filter_collada: typing.
|
|
452
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
505
453
|
:param filter_alembic: Filter Alembic files
|
|
506
|
-
:type filter_alembic: typing.
|
|
454
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
507
455
|
:param filter_usd: Filter USD files
|
|
508
|
-
:type filter_usd: typing.
|
|
456
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
509
457
|
:param filter_obj: Filter OBJ files
|
|
510
|
-
:type filter_obj: typing.
|
|
458
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
511
459
|
:param filter_volume: Filter OpenVDB volume files
|
|
512
|
-
:type filter_volume: typing.
|
|
460
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
513
461
|
:param filter_folder: Filter folders
|
|
514
|
-
:type filter_folder: typing.
|
|
462
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
515
463
|
:param filter_blenlib: Filter Blender IDs
|
|
516
|
-
:type filter_blenlib: typing.
|
|
464
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
517
465
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
518
|
-
:type filemode: typing.
|
|
466
|
+
:type filemode: typing.Any
|
|
519
467
|
:param display_type: Display Type
|
|
520
468
|
|
|
521
469
|
DEFAULT
|
|
@@ -529,61 +477,54 @@ def text_paste_from_file(
|
|
|
529
477
|
|
|
530
478
|
THUMBNAIL
|
|
531
479
|
Thumbnails -- Display files as thumbnails.
|
|
532
|
-
:type display_type: typing.
|
|
480
|
+
:type display_type: typing.Any
|
|
533
481
|
:param sort_method: File sorting mode
|
|
534
|
-
:type sort_method: typing.
|
|
482
|
+
:type sort_method: typing.Union[str, int, typing.Any]
|
|
535
483
|
"""
|
|
536
484
|
|
|
537
485
|
...
|
|
538
486
|
|
|
539
487
|
def textbox_add(
|
|
540
|
-
override_context: typing.
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
544
|
-
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,
|
|
545
491
|
):
|
|
546
492
|
"""Add a new text box
|
|
547
493
|
|
|
548
|
-
:type override_context: typing.
|
|
549
|
-
:type execution_context: typing.
|
|
550
|
-
:type undo:
|
|
494
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
495
|
+
:type execution_context: typing.Union[str, int]
|
|
496
|
+
:type undo: bool
|
|
551
497
|
"""
|
|
552
498
|
|
|
553
499
|
...
|
|
554
500
|
|
|
555
501
|
def textbox_remove(
|
|
556
|
-
override_context: typing.
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
undo: typing.Optional[bool] = None,
|
|
561
|
-
*,
|
|
562
|
-
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,
|
|
563
506
|
):
|
|
564
507
|
"""Remove the text box
|
|
565
508
|
|
|
566
|
-
:type override_context: typing.
|
|
567
|
-
:type execution_context: typing.
|
|
568
|
-
:type undo:
|
|
509
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
510
|
+
:type execution_context: typing.Union[str, int]
|
|
511
|
+
:type undo: bool
|
|
569
512
|
:param index: Index, The current text box
|
|
570
|
-
:type index: typing.
|
|
513
|
+
:type index: typing.Any
|
|
571
514
|
"""
|
|
572
515
|
|
|
573
516
|
...
|
|
574
517
|
|
|
575
518
|
def unlink(
|
|
576
|
-
override_context: typing.
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
580
|
-
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,
|
|
581
522
|
):
|
|
582
523
|
"""Unlink active font data-block
|
|
583
524
|
|
|
584
|
-
:type override_context: typing.
|
|
585
|
-
:type execution_context: typing.
|
|
586
|
-
:type undo:
|
|
525
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
526
|
+
:type execution_context: typing.Union[str, int]
|
|
527
|
+
:type undo: bool
|
|
587
528
|
"""
|
|
588
529
|
|
|
589
530
|
...
|