fake-bpy-module 20240321__py3-none-any.whl → 20240324__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 +646 -823
- 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 +331 -429
- 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 +86446 -87424
- 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-20240324.dist-info}/METADATA +1 -1
- fake_bpy_module-20240324.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-20240324.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/top_level.txt +0 -0
bl_i18n_utils/utils/__init__.pyi
CHANGED
|
@@ -3,157 +3,145 @@ 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
|
+
""" """
|
|
9
16
|
|
|
10
17
|
def check_py_module_has_translations(self, src, settings):
|
|
11
18
|
"""
|
|
12
19
|
|
|
13
20
|
:param src:
|
|
14
|
-
:type src:
|
|
15
21
|
:param settings:
|
|
16
|
-
:type settings:
|
|
17
22
|
"""
|
|
18
23
|
...
|
|
19
24
|
|
|
20
25
|
def escape(self, do_all):
|
|
21
26
|
"""
|
|
22
27
|
|
|
23
|
-
:param self:
|
|
24
|
-
:type self:
|
|
25
28
|
:param do_all:
|
|
26
|
-
:type do_all:
|
|
27
29
|
"""
|
|
28
30
|
...
|
|
29
31
|
|
|
30
32
|
def parse(self, kind, src, langs):
|
|
31
33
|
"""
|
|
32
34
|
|
|
33
|
-
:param self:
|
|
34
|
-
:type self:
|
|
35
35
|
:param kind:
|
|
36
|
-
:type kind:
|
|
37
36
|
:param src:
|
|
38
|
-
:type src:
|
|
39
37
|
:param langs:
|
|
40
|
-
:type langs:
|
|
41
38
|
"""
|
|
42
39
|
...
|
|
43
40
|
|
|
44
41
|
def parse_from_po(self, src, langs):
|
|
45
42
|
"""
|
|
46
43
|
|
|
47
|
-
:param self:
|
|
48
|
-
:type self:
|
|
49
44
|
:param src:
|
|
50
|
-
:type src:
|
|
51
45
|
:param langs:
|
|
52
|
-
:type langs:
|
|
53
46
|
"""
|
|
54
47
|
...
|
|
55
48
|
|
|
56
49
|
def parse_from_py(self, src, langs):
|
|
57
50
|
"""
|
|
58
51
|
|
|
59
|
-
:param self:
|
|
60
|
-
:type self:
|
|
61
52
|
:param src:
|
|
62
|
-
:type src:
|
|
63
53
|
:param langs:
|
|
64
|
-
:type langs:
|
|
65
54
|
"""
|
|
66
55
|
...
|
|
67
56
|
|
|
68
57
|
def print_stats(self, prefix, print_msgs):
|
|
69
58
|
"""
|
|
70
59
|
|
|
71
|
-
:param self:
|
|
72
|
-
:type self:
|
|
73
60
|
:param prefix:
|
|
74
|
-
:type prefix:
|
|
75
61
|
:param print_msgs:
|
|
76
|
-
:type print_msgs:
|
|
77
62
|
"""
|
|
78
63
|
...
|
|
79
64
|
|
|
80
65
|
def unescape(self, do_all):
|
|
81
66
|
"""
|
|
82
67
|
|
|
83
|
-
:param self:
|
|
84
|
-
:type self:
|
|
85
68
|
:param do_all:
|
|
86
|
-
:type do_all:
|
|
87
69
|
"""
|
|
88
70
|
...
|
|
89
71
|
|
|
90
72
|
def update_info(self):
|
|
91
|
-
"""
|
|
92
|
-
|
|
93
|
-
:param self:
|
|
94
|
-
:type self:
|
|
95
|
-
"""
|
|
73
|
+
""" """
|
|
96
74
|
...
|
|
97
75
|
|
|
98
76
|
def write(self, kind, langs):
|
|
99
77
|
"""
|
|
100
78
|
|
|
101
|
-
:param self:
|
|
102
|
-
:type self:
|
|
103
79
|
:param kind:
|
|
104
|
-
:type kind:
|
|
105
80
|
:param langs:
|
|
106
|
-
:type langs:
|
|
107
81
|
"""
|
|
108
82
|
...
|
|
109
83
|
|
|
110
84
|
def write_to_po(self, langs):
|
|
111
85
|
"""
|
|
112
86
|
|
|
113
|
-
:param self:
|
|
114
|
-
:type self:
|
|
115
87
|
:param langs:
|
|
116
|
-
:type langs:
|
|
117
88
|
"""
|
|
118
89
|
...
|
|
119
90
|
|
|
120
91
|
def write_to_py(self, langs):
|
|
121
92
|
"""
|
|
122
93
|
|
|
123
|
-
:param self:
|
|
124
|
-
:type self:
|
|
125
94
|
:param langs:
|
|
126
|
-
:type langs:
|
|
127
95
|
"""
|
|
128
96
|
...
|
|
129
97
|
|
|
130
98
|
class I18nMessage:
|
|
99
|
+
""" """
|
|
100
|
+
|
|
131
101
|
comment_lines: typing.Any
|
|
102
|
+
""" """
|
|
103
|
+
|
|
132
104
|
is_commented: typing.Any
|
|
105
|
+
""" """
|
|
106
|
+
|
|
133
107
|
is_fuzzy: typing.Any
|
|
108
|
+
""" """
|
|
109
|
+
|
|
134
110
|
is_tooltip: typing.Any
|
|
111
|
+
""" """
|
|
112
|
+
|
|
135
113
|
msgctxt: typing.Any
|
|
114
|
+
""" """
|
|
115
|
+
|
|
136
116
|
msgctxt_lines: typing.Any
|
|
117
|
+
""" """
|
|
118
|
+
|
|
137
119
|
msgid: typing.Any
|
|
120
|
+
""" """
|
|
121
|
+
|
|
138
122
|
msgid_lines: typing.Any
|
|
123
|
+
""" """
|
|
124
|
+
|
|
139
125
|
msgstr: typing.Any
|
|
126
|
+
""" """
|
|
127
|
+
|
|
140
128
|
msgstr_lines: typing.Any
|
|
129
|
+
""" """
|
|
130
|
+
|
|
141
131
|
settings: typing.Any
|
|
132
|
+
""" """
|
|
133
|
+
|
|
142
134
|
sources: typing.Any
|
|
135
|
+
""" """
|
|
143
136
|
|
|
144
137
|
def copy(self):
|
|
145
|
-
"""
|
|
146
|
-
|
|
147
|
-
:param self:
|
|
148
|
-
:type self:
|
|
149
|
-
"""
|
|
138
|
+
""" """
|
|
150
139
|
...
|
|
151
140
|
|
|
152
141
|
def do_escape(self, txt):
|
|
153
142
|
"""
|
|
154
143
|
|
|
155
144
|
:param txt:
|
|
156
|
-
:type txt:
|
|
157
145
|
"""
|
|
158
146
|
...
|
|
159
147
|
|
|
@@ -161,69 +149,54 @@ class I18nMessage:
|
|
|
161
149
|
"""
|
|
162
150
|
|
|
163
151
|
:param txt:
|
|
164
|
-
:type txt:
|
|
165
152
|
"""
|
|
166
153
|
...
|
|
167
154
|
|
|
168
155
|
def escape(self, do_all):
|
|
169
156
|
"""
|
|
170
157
|
|
|
171
|
-
:param self:
|
|
172
|
-
:type self:
|
|
173
158
|
:param do_all:
|
|
174
|
-
:type do_all:
|
|
175
159
|
"""
|
|
176
160
|
...
|
|
177
161
|
|
|
178
162
|
def normalize(self, max_len):
|
|
179
163
|
"""
|
|
180
164
|
|
|
181
|
-
:param self:
|
|
182
|
-
:type self:
|
|
183
165
|
:param max_len:
|
|
184
|
-
:type max_len:
|
|
185
166
|
"""
|
|
186
167
|
...
|
|
187
168
|
|
|
188
169
|
def unescape(self, do_all):
|
|
189
170
|
"""
|
|
190
171
|
|
|
191
|
-
:param self:
|
|
192
|
-
:type self:
|
|
193
172
|
:param do_all:
|
|
194
|
-
:type do_all:
|
|
195
173
|
"""
|
|
196
174
|
...
|
|
197
175
|
|
|
198
176
|
class I18nMessages:
|
|
177
|
+
""" """
|
|
178
|
+
|
|
199
179
|
parsers: typing.Any
|
|
180
|
+
""" """
|
|
181
|
+
|
|
200
182
|
writers: typing.Any
|
|
183
|
+
""" """
|
|
201
184
|
|
|
202
185
|
def check(self, fix):
|
|
203
186
|
"""
|
|
204
187
|
|
|
205
|
-
:param self:
|
|
206
|
-
:type self:
|
|
207
188
|
:param fix:
|
|
208
|
-
:type fix:
|
|
209
189
|
"""
|
|
210
190
|
...
|
|
211
191
|
|
|
212
192
|
def clean_commented(self):
|
|
213
|
-
"""
|
|
214
|
-
|
|
215
|
-
:param self:
|
|
216
|
-
:type self:
|
|
217
|
-
"""
|
|
193
|
+
""" """
|
|
218
194
|
...
|
|
219
195
|
|
|
220
196
|
def escape(self, do_all):
|
|
221
197
|
"""
|
|
222
198
|
|
|
223
|
-
:param self:
|
|
224
|
-
:type self:
|
|
225
199
|
:param do_all:
|
|
226
|
-
:type do_all:
|
|
227
200
|
"""
|
|
228
201
|
...
|
|
229
202
|
|
|
@@ -232,20 +205,12 @@ class I18nMessages:
|
|
|
232
205
|
):
|
|
233
206
|
"""
|
|
234
207
|
|
|
235
|
-
:param self:
|
|
236
|
-
:type self:
|
|
237
208
|
:param msgs:
|
|
238
|
-
:type msgs:
|
|
239
209
|
:param msgmap:
|
|
240
|
-
:type msgmap:
|
|
241
210
|
:param rna_ctxt:
|
|
242
|
-
:type rna_ctxt:
|
|
243
211
|
:param rna_struct_name:
|
|
244
|
-
:type rna_struct_name:
|
|
245
212
|
:param rna_prop_name:
|
|
246
|
-
:type rna_prop_name:
|
|
247
213
|
:param rna_enum_name:
|
|
248
|
-
:type rna_enum_name:
|
|
249
214
|
"""
|
|
250
215
|
...
|
|
251
216
|
|
|
@@ -255,173 +220,146 @@ class I18nMessages:
|
|
|
255
220
|
"""
|
|
256
221
|
|
|
257
222
|
:param uid:
|
|
258
|
-
:type uid:
|
|
259
223
|
:param blender_ver:
|
|
260
|
-
:type blender_ver:
|
|
261
224
|
:param blender_hash:
|
|
262
|
-
:type blender_hash:
|
|
263
225
|
:param bl_time:
|
|
264
|
-
:type bl_time:
|
|
265
226
|
:param default_copyright:
|
|
266
|
-
:type default_copyright:
|
|
267
227
|
:param settings:
|
|
268
|
-
:type settings:
|
|
269
228
|
"""
|
|
270
229
|
...
|
|
271
230
|
|
|
272
231
|
def invalidate_reverse_cache(self, rebuild_now):
|
|
273
232
|
"""
|
|
274
233
|
|
|
275
|
-
:param self:
|
|
276
|
-
:type self:
|
|
277
234
|
:param rebuild_now:
|
|
278
|
-
:type rebuild_now:
|
|
279
235
|
"""
|
|
280
236
|
...
|
|
281
237
|
|
|
282
238
|
def merge(self, msgs, replace):
|
|
283
239
|
"""
|
|
284
240
|
|
|
285
|
-
:param self:
|
|
286
|
-
:type self:
|
|
287
241
|
:param msgs:
|
|
288
|
-
:type msgs:
|
|
289
242
|
:param replace:
|
|
290
|
-
:type replace:
|
|
291
243
|
"""
|
|
292
244
|
...
|
|
293
245
|
|
|
294
246
|
def normalize(self, max_len):
|
|
295
247
|
"""
|
|
296
248
|
|
|
297
|
-
:param self:
|
|
298
|
-
:type self:
|
|
299
249
|
:param max_len:
|
|
300
|
-
:type max_len:
|
|
301
250
|
"""
|
|
302
251
|
...
|
|
303
252
|
|
|
304
253
|
def parse(self, kind, key, src):
|
|
305
254
|
"""
|
|
306
255
|
|
|
307
|
-
:param self:
|
|
308
|
-
:type self:
|
|
309
256
|
:param kind:
|
|
310
|
-
:type kind:
|
|
311
257
|
:param key:
|
|
312
|
-
:type key:
|
|
313
258
|
:param src:
|
|
314
|
-
:type src:
|
|
315
259
|
"""
|
|
316
260
|
...
|
|
317
261
|
|
|
318
262
|
def parse_messages_from_po(self, src, key):
|
|
319
263
|
"""
|
|
320
264
|
|
|
321
|
-
:param self:
|
|
322
|
-
:type self:
|
|
323
265
|
:param src:
|
|
324
|
-
:type src:
|
|
325
266
|
:param key:
|
|
326
|
-
:type key:
|
|
327
267
|
"""
|
|
328
268
|
...
|
|
329
269
|
|
|
330
270
|
def print_info(self, prefix, output, print_stats, print_errors):
|
|
331
271
|
"""
|
|
332
272
|
|
|
333
|
-
:param self:
|
|
334
|
-
:type self:
|
|
335
273
|
:param prefix:
|
|
336
|
-
:type prefix:
|
|
337
274
|
:param output:
|
|
338
|
-
:type output:
|
|
339
275
|
:param print_stats:
|
|
340
|
-
:type print_stats:
|
|
341
276
|
:param print_errors:
|
|
342
|
-
:type print_errors:
|
|
343
277
|
"""
|
|
344
278
|
...
|
|
345
279
|
|
|
346
280
|
def rtl_process(self):
|
|
347
|
-
"""
|
|
348
|
-
|
|
349
|
-
:param self:
|
|
350
|
-
:type self:
|
|
351
|
-
"""
|
|
281
|
+
""" """
|
|
352
282
|
...
|
|
353
283
|
|
|
354
284
|
def unescape(self, do_all):
|
|
355
285
|
"""
|
|
356
286
|
|
|
357
|
-
:param self:
|
|
358
|
-
:type self:
|
|
359
287
|
:param do_all:
|
|
360
|
-
:type do_all:
|
|
361
288
|
"""
|
|
362
289
|
...
|
|
363
290
|
|
|
364
291
|
def update(self, ref, use_similar, keep_old_commented):
|
|
365
292
|
"""
|
|
366
293
|
|
|
367
|
-
:param self:
|
|
368
|
-
:type self:
|
|
369
294
|
:param ref:
|
|
370
|
-
:type ref:
|
|
371
295
|
:param use_similar:
|
|
372
|
-
:type use_similar:
|
|
373
296
|
:param keep_old_commented:
|
|
374
|
-
:type keep_old_commented:
|
|
375
297
|
"""
|
|
376
298
|
...
|
|
377
299
|
|
|
378
300
|
def update_info(self):
|
|
379
|
-
"""
|
|
380
|
-
|
|
381
|
-
:param self:
|
|
382
|
-
:type self:
|
|
383
|
-
"""
|
|
301
|
+
""" """
|
|
384
302
|
...
|
|
385
303
|
|
|
386
304
|
def write(self, kind, dest):
|
|
387
305
|
"""
|
|
388
306
|
|
|
389
|
-
:param self:
|
|
390
|
-
:type self:
|
|
391
307
|
:param kind:
|
|
392
|
-
:type kind:
|
|
393
308
|
:param dest:
|
|
394
|
-
:type dest:
|
|
395
309
|
"""
|
|
396
310
|
...
|
|
397
311
|
|
|
398
312
|
def write_messages_to_mo(self, fname):
|
|
399
313
|
"""
|
|
400
314
|
|
|
401
|
-
:param self:
|
|
402
|
-
:type self:
|
|
403
315
|
:param fname:
|
|
404
|
-
:type fname:
|
|
405
316
|
"""
|
|
406
317
|
...
|
|
407
318
|
|
|
408
319
|
def write_messages_to_po(self, fname, compact):
|
|
409
320
|
"""
|
|
410
321
|
|
|
411
|
-
:param self:
|
|
412
|
-
:type self:
|
|
413
322
|
:param fname:
|
|
414
|
-
:type fname:
|
|
415
323
|
:param compact:
|
|
416
|
-
:type compact:
|
|
417
324
|
"""
|
|
418
325
|
...
|
|
419
326
|
|
|
420
|
-
def enable_addons(addons, support, disable, check_only):
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
def
|
|
426
|
-
|
|
427
|
-
|
|
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
|
...
|