fake-bpy-module 20240224__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 -10
- animsys_refactor/__init__.pyi +36 -6
- aud/__init__.pyi +132 -125
- bgl/__init__.pyi +2545 -546
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +24 -2
- 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 +53 -6
- bl_i18n_utils/utils/__init__.pyi +332 -44
- 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 +171 -37
- bl_operators/anim/__init__.pyi +1065 -226
- bl_operators/assets/__init__.pyi +427 -92
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1342 -287
- bl_operators/console/__init__.pyi +647 -140
- bl_operators/constraint/__init__.pyi +524 -112
- bl_operators/file/__init__.pyi +396 -84
- bl_operators/freestyle/__init__.pyi +532 -113
- bl_operators/geometry_nodes/__init__.pyi +2412 -596
- bl_operators/image/__init__.pyi +380 -82
- bl_operators/mesh/__init__.pyi +401 -85
- bl_operators/node/__init__.pyi +1756 -384
- bl_operators/object/__init__.pyi +2022 -552
- bl_operators/object_align/__init__.pyi +145 -31
- bl_operators/object_quick_effects/__init__.pyi +555 -124
- bl_operators/object_randomize_transform/__init__.pyi +136 -32
- bl_operators/presets/__init__.pyi +3516 -708
- bl_operators/rigidbody/__init__.pyi +401 -85
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
- bl_operators/sequencer/__init__.pyi +731 -149
- bl_operators/spreadsheet/__init__.pyi +145 -30
- bl_operators/userpref/__init__.pyi +3416 -824
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
- bl_operators/uvcalc_transform/__init__.pyi +344 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
- bl_operators/view3d/__init__.pyi +697 -146
- bl_operators/wm/__init__.pyi +6287 -1533
- 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 +504 -106
- bl_ui/anim/__init__.pyi +164 -33
- bl_ui/asset_shelf/__init__.pyi +146 -31
- bl_ui/generic_ui_list/__init__.pyi +471 -99
- bl_ui/node_add_menu/__init__.pyi +196 -40
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
- bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
- bl_ui/properties_animviz/__init__.pyi +32 -2
- bl_ui/properties_collection/__init__.pyi +787 -179
- bl_ui/properties_constraint/__init__.pyi +28635 -5523
- bl_ui/properties_data_armature/__init__.pyi +1905 -448
- bl_ui/properties_data_bone/__init__.pyi +1560 -336
- bl_ui/properties_data_camera/__init__.pyi +2269 -494
- bl_ui/properties_data_curve/__init__.pyi +2362 -534
- bl_ui/properties_data_curves/__init__.pyi +951 -203
- bl_ui/properties_data_empty/__init__.pyi +317 -69
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
- bl_ui/properties_data_lattice/__init__.pyi +472 -104
- bl_ui/properties_data_light/__init__.pyi +1570 -337
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
- bl_ui/properties_data_mesh/__init__.pyi +3205 -767
- bl_ui/properties_data_metaball/__init__.pyi +774 -170
- bl_ui/properties_data_modifier/__init__.pyi +1554 -328
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
- bl_ui/properties_data_speaker/__init__.pyi +782 -168
- bl_ui/properties_data_volume/__init__.pyi +1243 -281
- bl_ui/properties_freestyle/__init__.pyi +4071 -1030
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
- bl_ui/properties_mask_common/__init__.pyi +1256 -249
- bl_ui/properties_material/__init__.pyi +2351 -542
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
- bl_ui/properties_object/__init__.pyi +2179 -512
- bl_ui/properties_output/__init__.pyi +2956 -705
- bl_ui/properties_paint_common/__init__.pyi +947 -140
- bl_ui/properties_particle/__init__.pyi +8322 -1970
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
- bl_ui/properties_physics_common/__init__.pyi +200 -44
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
- bl_ui/properties_physics_field/__init__.pyi +1695 -364
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
- bl_ui/properties_render/__init__.pyi +8312 -1933
- bl_ui/properties_scene/__init__.pyi +2211 -539
- bl_ui/properties_texture/__init__.pyi +4185 -1013
- bl_ui/properties_view_layer/__init__.pyi +2803 -664
- bl_ui/properties_workspace/__init__.pyi +626 -148
- bl_ui/properties_world/__init__.pyi +1092 -234
- bl_ui/space_clip/__init__.pyi +11475 -2805
- bl_ui/space_console/__init__.pyi +967 -202
- bl_ui/space_dopesheet/__init__.pyi +4260 -966
- bl_ui/space_filebrowser/__init__.pyi +4852 -1187
- bl_ui/space_graph/__init__.pyi +3251 -702
- bl_ui/space_image/__init__.pyi +12219 -2968
- bl_ui/space_info/__init__.pyi +964 -200
- bl_ui/space_nla/__init__.pyi +2756 -584
- bl_ui/space_node/__init__.pyi +5661 -1265
- bl_ui/space_outliner/__init__.pyi +2294 -478
- bl_ui/space_properties/__init__.pyi +417 -92
- bl_ui/space_sequencer/__init__.pyi +12436 -3009
- bl_ui/space_spreadsheet/__init__.pyi +184 -36
- bl_ui/space_statusbar/__init__.pyi +135 -30
- bl_ui/space_text/__init__.pyi +2556 -542
- bl_ui/space_time/__init__.pyi +1151 -243
- bl_ui/space_toolsystem_common/__init__.pyi +368 -66
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
- bl_ui/space_topbar/__init__.pyi +4214 -887
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +43701 -10599
- bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
- bl_ui/utils/__init__.pyi +42 -4
- 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 +268 -262
- bmesh/utils/__init__.pyi +55 -55
- 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 +350 -305
- bpy/ops/anim/__init__.pyi +464 -426
- bpy/ops/armature/__init__.pyi +392 -360
- bpy/ops/asset/__init__.pyi +166 -129
- bpy/ops/boid/__init__.pyi +64 -37
- bpy/ops/brush/__init__.pyi +78 -72
- bpy/ops/buttons/__init__.pyi +136 -122
- bpy/ops/cachefile/__init__.pyi +128 -123
- bpy/ops/camera/__init__.pyi +22 -24
- bpy/ops/clip/__init__.pyi +844 -735
- bpy/ops/cloth/__init__.pyi +10 -11
- bpy/ops/collection/__init__.pyi +38 -38
- bpy/ops/console/__init__.pyi +170 -141
- bpy/ops/constraint/__init__.pyi +156 -159
- bpy/ops/curve/__init__.pyi +518 -461
- bpy/ops/curves/__init__.pyi +188 -159
- bpy/ops/cycles/__init__.pyi +20 -18
- bpy/ops/dpaint/__init__.pyi +40 -30
- bpy/ops/ed/__init__.pyi +136 -107
- bpy/ops/export_anim/__init__.pyi +18 -19
- bpy/ops/export_mesh/__init__.pyi +26 -27
- bpy/ops/export_scene/__init__.pyi +313 -334
- bpy/ops/file/__init__.pyi +394 -304
- bpy/ops/fluid/__init__.pyi +114 -63
- bpy/ops/font/__init__.pyi +272 -245
- bpy/ops/geometry/__init__.pyi +92 -87
- bpy/ops/gizmogroup/__init__.pyi +24 -21
- bpy/ops/gpencil/__init__.pyi +1530 -1476
- bpy/ops/graph/__init__.pyi +680 -659
- bpy/ops/grease_pencil/__init__.pyi +510 -390
- bpy/ops/image/__init__.pyi +650 -603
- bpy/ops/import_anim/__init__.pyi +26 -27
- bpy/ops/import_curve/__init__.pyi +6 -7
- bpy/ops/import_mesh/__init__.pyi +18 -21
- bpy/ops/import_scene/__init__.pyi +86 -95
- bpy/ops/info/__init__.pyi +68 -55
- bpy/ops/lattice/__init__.pyi +70 -63
- bpy/ops/marker/__init__.pyi +110 -111
- bpy/ops/mask/__init__.pyi +352 -308
- bpy/ops/material/__init__.pyi +24 -12
- bpy/ops/mball/__init__.pyi +72 -75
- bpy/ops/mesh/__init__.pyi +2052 -2088
- bpy/ops/nla/__init__.pyi +369 -313
- bpy/ops/node/__init__.pyi +944 -805
- bpy/ops/object/__init__.pyi +2662 -2461
- bpy/ops/outliner/__init__.pyi +582 -431
- bpy/ops/paint/__init__.pyi +605 -516
- bpy/ops/paintcurve/__init__.pyi +72 -60
- bpy/ops/palette/__init__.pyi +54 -46
- bpy/ops/particle/__init__.pyi +302 -245
- bpy/ops/pose/__init__.pyi +366 -330
- bpy/ops/poselib/__init__.pyi +78 -64
- bpy/ops/preferences/__init__.pyi +361 -341
- bpy/ops/ptcache/__init__.pyi +56 -38
- bpy/ops/render/__init__.pyi +120 -117
- bpy/ops/rigidbody/__init__.pyi +114 -97
- bpy/ops/scene/__init__.pyi +302 -240
- bpy/ops/screen/__init__.pyi +414 -363
- bpy/ops/script/__init__.pyi +20 -18
- bpy/ops/sculpt/__init__.pyi +414 -452
- bpy/ops/sculpt_curves/__init__.pyi +42 -43
- bpy/ops/sequencer/__init__.pyi +1094 -1053
- bpy/ops/sound/__init__.pyi +214 -206
- bpy/ops/spreadsheet/__init__.pyi +34 -28
- bpy/ops/surface/__init__.pyi +108 -114
- bpy/ops/text/__init__.pyi +432 -350
- bpy/ops/text_editor/__init__.pyi +10 -11
- bpy/ops/texture/__init__.pyi +32 -21
- bpy/ops/transform/__init__.pyi +801 -854
- bpy/ops/ui/__init__.pyi +254 -185
- bpy/ops/uilist/__init__.pyi +20 -23
- bpy/ops/uv/__init__.pyi +618 -626
- bpy/ops/view2d/__init__.pyi +162 -161
- bpy/ops/view3d/__init__.pyi +669 -658
- bpy/ops/wm/__init__.pyi +2433 -2415
- bpy/ops/workspace/__init__.pyi +54 -31
- bpy/ops/world/__init__.pyi +8 -4
- bpy/path/__init__.pyi +111 -68
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86789 -85719
- bpy/utils/__init__.pyi +265 -123
- bpy/utils/previews/__init__.pyi +103 -17
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/__init__.pyi +0 -4
- bpy_extras/anim_utils/__init__.pyi +11 -46
- bpy_extras/asset_utils/__init__.pyi +3 -12
- bpy_extras/id_map_utils/__init__.pyi +0 -2
- 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 -3
- 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 +3873 -997
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- 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 +465 -472
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +28 -18
- gpu/capabilities/__init__.pyi +27 -19
- 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 +27 -5
- gpu_extras/presets/__init__.pyi +52 -14
- 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 +3149 -701
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +502 -427
- mathutils/bvhtree/__init__.pyi +28 -32
- mathutils/geometry/__init__.pyi +177 -186
- mathutils/kdtree/__init__.pyi +16 -18
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +50 -10
- nodeitems_utils/__init__.pyi +58 -10
- rna_info/__init__.pyi +230 -26
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +69 -12
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- bpy_extras/bmesh_utils/__init__.pyi +0 -6
- bpy_extras/extensions/__init__.pyi +0 -4
- bpy_extras/extensions/junction_module/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -131
- bpy_extras/wm_utils/__init__.pyi +0 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
- fake_bpy_module-20240224.dist-info/RECORD +0 -349
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bl_i18n_utils/utils/__init__.pyi
CHANGED
|
@@ -3,75 +3,363 @@ import typing
|
|
|
3
3
|
GenericType = typing.TypeVar("GenericType")
|
|
4
4
|
|
|
5
5
|
class I18n:
|
|
6
|
+
""" """
|
|
7
|
+
|
|
6
8
|
parsers: typing.Any
|
|
9
|
+
""" """
|
|
10
|
+
|
|
7
11
|
py_file: typing.Any
|
|
12
|
+
""" """
|
|
13
|
+
|
|
8
14
|
writers: typing.Any
|
|
15
|
+
""" """
|
|
16
|
+
|
|
17
|
+
def check_py_module_has_translations(self, src, settings):
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
:param src:
|
|
21
|
+
:param settings:
|
|
22
|
+
"""
|
|
23
|
+
...
|
|
24
|
+
|
|
25
|
+
def escape(self, do_all):
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
:param do_all:
|
|
29
|
+
"""
|
|
30
|
+
...
|
|
31
|
+
|
|
32
|
+
def parse(self, kind, src, langs):
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
:param kind:
|
|
36
|
+
:param src:
|
|
37
|
+
:param langs:
|
|
38
|
+
"""
|
|
39
|
+
...
|
|
40
|
+
|
|
41
|
+
def parse_from_po(self, src, langs):
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
:param src:
|
|
45
|
+
:param langs:
|
|
46
|
+
"""
|
|
47
|
+
...
|
|
48
|
+
|
|
49
|
+
def parse_from_py(self, src, langs):
|
|
50
|
+
"""
|
|
9
51
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
def print_stats(self, prefix, print_msgs):
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
52
|
+
:param src:
|
|
53
|
+
:param langs:
|
|
54
|
+
"""
|
|
55
|
+
...
|
|
56
|
+
|
|
57
|
+
def print_stats(self, prefix, print_msgs):
|
|
58
|
+
"""
|
|
59
|
+
|
|
60
|
+
:param prefix:
|
|
61
|
+
:param print_msgs:
|
|
62
|
+
"""
|
|
63
|
+
...
|
|
64
|
+
|
|
65
|
+
def unescape(self, do_all):
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
:param do_all:
|
|
69
|
+
"""
|
|
70
|
+
...
|
|
71
|
+
|
|
72
|
+
def update_info(self):
|
|
73
|
+
""" """
|
|
74
|
+
...
|
|
75
|
+
|
|
76
|
+
def write(self, kind, langs):
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
:param kind:
|
|
80
|
+
:param langs:
|
|
81
|
+
"""
|
|
82
|
+
...
|
|
83
|
+
|
|
84
|
+
def write_to_po(self, langs):
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
:param langs:
|
|
88
|
+
"""
|
|
89
|
+
...
|
|
90
|
+
|
|
91
|
+
def write_to_py(self, langs):
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
:param langs:
|
|
95
|
+
"""
|
|
96
|
+
...
|
|
21
97
|
|
|
22
98
|
class I18nMessage:
|
|
99
|
+
""" """
|
|
100
|
+
|
|
23
101
|
comment_lines: typing.Any
|
|
102
|
+
""" """
|
|
103
|
+
|
|
24
104
|
is_commented: typing.Any
|
|
105
|
+
""" """
|
|
106
|
+
|
|
25
107
|
is_fuzzy: typing.Any
|
|
108
|
+
""" """
|
|
109
|
+
|
|
26
110
|
is_tooltip: typing.Any
|
|
111
|
+
""" """
|
|
112
|
+
|
|
27
113
|
msgctxt: typing.Any
|
|
114
|
+
""" """
|
|
115
|
+
|
|
28
116
|
msgctxt_lines: typing.Any
|
|
117
|
+
""" """
|
|
118
|
+
|
|
29
119
|
msgid: typing.Any
|
|
120
|
+
""" """
|
|
121
|
+
|
|
30
122
|
msgid_lines: typing.Any
|
|
123
|
+
""" """
|
|
124
|
+
|
|
31
125
|
msgstr: typing.Any
|
|
126
|
+
""" """
|
|
127
|
+
|
|
32
128
|
msgstr_lines: typing.Any
|
|
129
|
+
""" """
|
|
130
|
+
|
|
33
131
|
settings: typing.Any
|
|
132
|
+
""" """
|
|
133
|
+
|
|
34
134
|
sources: typing.Any
|
|
135
|
+
""" """
|
|
136
|
+
|
|
137
|
+
def copy(self):
|
|
138
|
+
""" """
|
|
139
|
+
...
|
|
35
140
|
|
|
36
|
-
def
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
141
|
+
def do_escape(self, txt):
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
:param txt:
|
|
145
|
+
"""
|
|
146
|
+
...
|
|
147
|
+
|
|
148
|
+
def do_unescape(self, txt):
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
:param txt:
|
|
152
|
+
"""
|
|
153
|
+
...
|
|
154
|
+
|
|
155
|
+
def escape(self, do_all):
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
:param do_all:
|
|
159
|
+
"""
|
|
160
|
+
...
|
|
161
|
+
|
|
162
|
+
def normalize(self, max_len):
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
:param max_len:
|
|
166
|
+
"""
|
|
167
|
+
...
|
|
168
|
+
|
|
169
|
+
def unescape(self, do_all):
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
:param do_all:
|
|
173
|
+
"""
|
|
174
|
+
...
|
|
42
175
|
|
|
43
176
|
class I18nMessages:
|
|
177
|
+
""" """
|
|
178
|
+
|
|
44
179
|
parsers: typing.Any
|
|
180
|
+
""" """
|
|
181
|
+
|
|
45
182
|
writers: typing.Any
|
|
183
|
+
""" """
|
|
184
|
+
|
|
185
|
+
def check(self, fix):
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
:param fix:
|
|
189
|
+
"""
|
|
190
|
+
...
|
|
191
|
+
|
|
192
|
+
def clean_commented(self):
|
|
193
|
+
""" """
|
|
194
|
+
...
|
|
195
|
+
|
|
196
|
+
def escape(self, do_all):
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
:param do_all:
|
|
200
|
+
"""
|
|
201
|
+
...
|
|
46
202
|
|
|
47
|
-
def check(self, fix): ...
|
|
48
|
-
def clean_commented(self): ...
|
|
49
|
-
def escape(self, do_all): ...
|
|
50
203
|
def find_best_messages_matches(
|
|
51
204
|
self, msgs, msgmap, rna_ctxt, rna_struct_name, rna_prop_name, rna_enum_name
|
|
52
|
-
):
|
|
205
|
+
):
|
|
206
|
+
"""
|
|
207
|
+
|
|
208
|
+
:param msgs:
|
|
209
|
+
:param msgmap:
|
|
210
|
+
:param rna_ctxt:
|
|
211
|
+
:param rna_struct_name:
|
|
212
|
+
:param rna_prop_name:
|
|
213
|
+
:param rna_enum_name:
|
|
214
|
+
"""
|
|
215
|
+
...
|
|
216
|
+
|
|
53
217
|
def gen_empty_messages(
|
|
54
218
|
self, uid, blender_ver, blender_hash, bl_time, default_copyright, settings
|
|
55
|
-
):
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
def
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
def
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
219
|
+
):
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
:param uid:
|
|
223
|
+
:param blender_ver:
|
|
224
|
+
:param blender_hash:
|
|
225
|
+
:param bl_time:
|
|
226
|
+
:param default_copyright:
|
|
227
|
+
:param settings:
|
|
228
|
+
"""
|
|
229
|
+
...
|
|
230
|
+
|
|
231
|
+
def invalidate_reverse_cache(self, rebuild_now):
|
|
232
|
+
"""
|
|
233
|
+
|
|
234
|
+
:param rebuild_now:
|
|
235
|
+
"""
|
|
236
|
+
...
|
|
237
|
+
|
|
238
|
+
def merge(self, msgs, replace):
|
|
239
|
+
"""
|
|
240
|
+
|
|
241
|
+
:param msgs:
|
|
242
|
+
:param replace:
|
|
243
|
+
"""
|
|
244
|
+
...
|
|
245
|
+
|
|
246
|
+
def normalize(self, max_len):
|
|
247
|
+
"""
|
|
248
|
+
|
|
249
|
+
:param max_len:
|
|
250
|
+
"""
|
|
251
|
+
...
|
|
252
|
+
|
|
253
|
+
def parse(self, kind, key, src):
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
:param kind:
|
|
257
|
+
:param key:
|
|
258
|
+
:param src:
|
|
259
|
+
"""
|
|
260
|
+
...
|
|
261
|
+
|
|
262
|
+
def parse_messages_from_po(self, src, key):
|
|
263
|
+
"""
|
|
264
|
+
|
|
265
|
+
:param src:
|
|
266
|
+
:param key:
|
|
267
|
+
"""
|
|
268
|
+
...
|
|
269
|
+
|
|
270
|
+
def print_info(self, prefix, output, print_stats, print_errors):
|
|
271
|
+
"""
|
|
272
|
+
|
|
273
|
+
:param prefix:
|
|
274
|
+
:param output:
|
|
275
|
+
:param print_stats:
|
|
276
|
+
:param print_errors:
|
|
277
|
+
"""
|
|
278
|
+
...
|
|
279
|
+
|
|
280
|
+
def rtl_process(self):
|
|
281
|
+
""" """
|
|
282
|
+
...
|
|
283
|
+
|
|
284
|
+
def unescape(self, do_all):
|
|
285
|
+
"""
|
|
286
|
+
|
|
287
|
+
:param do_all:
|
|
288
|
+
"""
|
|
289
|
+
...
|
|
290
|
+
|
|
291
|
+
def update(self, ref, use_similar, keep_old_commented):
|
|
292
|
+
"""
|
|
293
|
+
|
|
294
|
+
:param ref:
|
|
295
|
+
:param use_similar:
|
|
296
|
+
:param keep_old_commented:
|
|
297
|
+
"""
|
|
298
|
+
...
|
|
299
|
+
|
|
300
|
+
def update_info(self):
|
|
301
|
+
""" """
|
|
302
|
+
...
|
|
303
|
+
|
|
304
|
+
def write(self, kind, dest):
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
:param kind:
|
|
308
|
+
:param dest:
|
|
309
|
+
"""
|
|
310
|
+
...
|
|
311
|
+
|
|
312
|
+
def write_messages_to_mo(self, fname):
|
|
313
|
+
"""
|
|
314
|
+
|
|
315
|
+
:param fname:
|
|
316
|
+
"""
|
|
317
|
+
...
|
|
318
|
+
|
|
319
|
+
def write_messages_to_po(self, fname, compact):
|
|
320
|
+
"""
|
|
321
|
+
|
|
322
|
+
:param fname:
|
|
323
|
+
:param compact:
|
|
324
|
+
"""
|
|
325
|
+
...
|
|
326
|
+
|
|
327
|
+
def enable_addons(addons, support, disable, check_only):
|
|
328
|
+
""" """
|
|
329
|
+
|
|
330
|
+
...
|
|
331
|
+
|
|
332
|
+
def find_best_isocode_matches(uid, iso_codes):
|
|
333
|
+
""" """
|
|
334
|
+
|
|
335
|
+
...
|
|
336
|
+
|
|
337
|
+
def get_best_similar(data):
|
|
338
|
+
""" """
|
|
339
|
+
|
|
340
|
+
...
|
|
341
|
+
|
|
342
|
+
def get_po_files_from_dir(root_dir, langs):
|
|
343
|
+
""" """
|
|
344
|
+
|
|
345
|
+
...
|
|
346
|
+
|
|
347
|
+
def is_valid_po_path(path):
|
|
348
|
+
""" """
|
|
349
|
+
|
|
350
|
+
...
|
|
351
|
+
|
|
352
|
+
def list_po_dir(root_path, settings):
|
|
353
|
+
""" """
|
|
354
|
+
|
|
355
|
+
...
|
|
356
|
+
|
|
357
|
+
def locale_explode(locale):
|
|
358
|
+
""" """
|
|
359
|
+
|
|
360
|
+
...
|
|
361
|
+
|
|
362
|
+
def locale_match(loc1, loc2):
|
|
363
|
+
""" """
|
|
364
|
+
|
|
365
|
+
...
|
|
@@ -2,9 +2,32 @@ import typing
|
|
|
2
2
|
|
|
3
3
|
GenericType = typing.TypeVar("GenericType")
|
|
4
4
|
|
|
5
|
-
def cleanup_po(args, settings):
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
def
|
|
5
|
+
def cleanup_po(args, settings):
|
|
6
|
+
""" """
|
|
7
|
+
|
|
8
|
+
...
|
|
9
|
+
|
|
10
|
+
def language_menu(args, settings):
|
|
11
|
+
""" """
|
|
12
|
+
|
|
13
|
+
...
|
|
14
|
+
|
|
15
|
+
def main():
|
|
16
|
+
""" """
|
|
17
|
+
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
def rtl_process_po(args, settings):
|
|
21
|
+
""" """
|
|
22
|
+
|
|
23
|
+
...
|
|
24
|
+
|
|
25
|
+
def strip_po(args, settings):
|
|
26
|
+
""" """
|
|
27
|
+
|
|
28
|
+
...
|
|
29
|
+
|
|
30
|
+
def update_po(args, settings):
|
|
31
|
+
""" """
|
|
32
|
+
|
|
33
|
+
...
|
bl_keymap_utils/io/__init__.pyi
CHANGED
|
@@ -2,12 +2,47 @@ import typing
|
|
|
2
2
|
|
|
3
3
|
GenericType = typing.TypeVar("GenericType")
|
|
4
4
|
|
|
5
|
-
def indent(levels):
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
def
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
def indent(levels):
|
|
6
|
+
""" """
|
|
7
|
+
|
|
8
|
+
...
|
|
9
|
+
|
|
10
|
+
def keyconfig_export_as_data(wm, kc, filepath, all_keymaps):
|
|
11
|
+
""" """
|
|
12
|
+
|
|
13
|
+
...
|
|
14
|
+
|
|
15
|
+
def keyconfig_import_from_data(name, keyconfig_data, keyconfig_version):
|
|
16
|
+
""" """
|
|
17
|
+
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
def keyconfig_init_from_data(kc, keyconfig_data):
|
|
21
|
+
""" """
|
|
22
|
+
|
|
23
|
+
...
|
|
24
|
+
|
|
25
|
+
def keyconfig_merge(kc1, kc2):
|
|
26
|
+
""" """
|
|
27
|
+
|
|
28
|
+
...
|
|
29
|
+
|
|
30
|
+
def keymap_init_from_data(km, km_items, is_modal):
|
|
31
|
+
""" """
|
|
32
|
+
|
|
33
|
+
...
|
|
34
|
+
|
|
35
|
+
def kmi_args_as_data(kmi):
|
|
36
|
+
""" """
|
|
37
|
+
|
|
38
|
+
...
|
|
39
|
+
|
|
40
|
+
def repr_f32(f):
|
|
41
|
+
""" """
|
|
42
|
+
|
|
43
|
+
...
|
|
44
|
+
|
|
45
|
+
def round_float_32(f):
|
|
46
|
+
""" """
|
|
47
|
+
|
|
48
|
+
...
|
|
@@ -2,5 +2,12 @@ import typing
|
|
|
2
2
|
|
|
3
3
|
GenericType = typing.TypeVar("GenericType")
|
|
4
4
|
|
|
5
|
-
def keyconfig_data_oskey_from_ctrl(keyconfig_data_src, filter_fn):
|
|
6
|
-
|
|
5
|
+
def keyconfig_data_oskey_from_ctrl(keyconfig_data_src, filter_fn):
|
|
6
|
+
""" """
|
|
7
|
+
|
|
8
|
+
...
|
|
9
|
+
|
|
10
|
+
def keyconfig_data_oskey_from_ctrl_for_macos(keyconfig_data_src):
|
|
11
|
+
""" """
|
|
12
|
+
|
|
13
|
+
...
|
bl_math/__init__.pyi
CHANGED
|
@@ -12,8 +12,8 @@ def clamp(value: float, min: float = 0, max: float = 1) -> float:
|
|
|
12
12
|
:type min: float
|
|
13
13
|
:param max: The maximum value, defaults to 1.
|
|
14
14
|
:type max: float
|
|
15
|
-
:rtype: float
|
|
16
15
|
:return: The clamped value.
|
|
16
|
+
:rtype: float
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
19
|
...
|
|
@@ -27,8 +27,8 @@ def lerp(from_value: float, to_value: float, factor: float) -> float:
|
|
|
27
27
|
:type to_value: float
|
|
28
28
|
:param factor: The interpolation value, normally in [0.0, 1.0].
|
|
29
29
|
:type factor: float
|
|
30
|
-
:rtype: float
|
|
31
30
|
:return: The interpolated value.
|
|
31
|
+
:rtype: float
|
|
32
32
|
"""
|
|
33
33
|
|
|
34
34
|
...
|
|
@@ -41,8 +41,8 @@ def smoothstep(from_value: float, to_value: float, value) -> float:
|
|
|
41
41
|
:type from_value: float
|
|
42
42
|
:param to_value: The edge value where the result is 1.
|
|
43
43
|
:type to_value: float
|
|
44
|
-
:rtype: float
|
|
45
44
|
:return: The interpolated value in [0.0, 1.0].
|
|
45
|
+
:rtype: float
|
|
46
46
|
"""
|
|
47
47
|
|
|
48
48
|
...
|