fake-bpy-module 20250828__py3-none-any.whl → 20260118__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.
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +2 -0
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _bpy_internal/__init__.pyi +3 -1
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +115 -117
- {rna_info → _rna_info}/__init__.pyi +0 -1
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +66 -142
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +5 -0
- bl_app_templates_system/py.typed +0 -0
- bl_math/__init__.pyi +2 -12
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +0 -2
- bl_operators/anim/__init__.pyi +47 -24
- bl_operators/assets/__init__.pyi +0 -6
- bl_operators/bone_selection_sets/__init__.pyi +0 -28
- bl_operators/clip/__init__.pyi +0 -20
- bl_operators/connect_to_output/__init__.pyi +0 -2
- bl_operators/console/__init__.pyi +0 -10
- bl_operators/constraint/__init__.pyi +0 -8
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +0 -6
- bl_operators/freestyle/__init__.pyi +0 -8
- bl_operators/geometry_nodes/__init__.pyi +0 -8
- bl_operators/grease_pencil/__init__.pyi +0 -2
- bl_operators/image/__init__.pyi +0 -10
- bl_operators/image_as_planes/__init__.pyi +0 -4
- bl_operators/mesh/__init__.pyi +0 -47
- bl_operators/node/__init__.pyi +277 -57
- bl_operators/object/__init__.pyi +0 -37
- bl_operators/object_align/__init__.pyi +0 -2
- bl_operators/object_quick_effects/__init__.pyi +0 -8
- bl_operators/object_randomize_transform/__init__.pyi +0 -2
- bl_operators/presets/__init__.pyi +1 -51
- bl_operators/rigidbody/__init__.pyi +0 -6
- bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
- bl_operators/sequencer/__init__.pyi +0 -16
- bl_operators/spreadsheet/__init__.pyi +0 -2
- bl_operators/userpref/__init__.pyi +0 -50
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -3
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
- bl_operators/uvcalc_transform/__init__.pyi +21 -12
- bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
- bl_operators/view3d/__init__.pyi +0 -16
- bl_operators/wm/__init__.pyi +0 -92
- bl_operators/world/__init__.pyi +0 -2
- bl_ui/__init__.pyi +3 -4
- bl_ui/anim/__init__.pyi +0 -2
- bl_ui/asset_shelf/__init__.pyi +0 -2
- bl_ui/generic_ui_list/__init__.pyi +1 -17
- bl_ui/node_add_menu/__init__.pyi +261 -6
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -80
- bl_ui/node_add_menu_geometry/__init__.pyi +266 -306
- bl_ui/node_add_menu_shader/__init__.pyi +49 -50
- bl_ui/node_add_menu_texture/__init__.pyi +16 -62
- bl_ui/properties_collection/__init__.pyi +0 -14
- bl_ui/properties_constraint/__init__.pyi +55 -209
- bl_ui/properties_data_armature/__init__.pyi +0 -36
- bl_ui/properties_data_bone/__init__.pyi +0 -20
- bl_ui/properties_data_camera/__init__.pyi +0 -30
- bl_ui/properties_data_curve/__init__.pyi +0 -30
- bl_ui/properties_data_curves/__init__.pyi +0 -16
- bl_ui/properties_data_empty/__init__.pyi +0 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
- bl_ui/properties_data_lattice/__init__.pyi +0 -8
- bl_ui/properties_data_light/__init__.pyi +0 -20
- bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
- bl_ui/properties_data_mesh/__init__.pyi +1 -42
- bl_ui/properties_data_metaball/__init__.pyi +0 -12
- bl_ui/properties_data_modifier/__init__.pyi +12 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
- bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
- bl_ui/properties_data_speaker/__init__.pyi +0 -12
- bl_ui/properties_data_volume/__init__.pyi +0 -18
- bl_ui/properties_freestyle/__init__.pyi +0 -50
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -159
- bl_ui/properties_mask_common/__init__.pyi +0 -14
- bl_ui/properties_material/__init__.pyi +0 -32
- bl_ui/properties_material_gpencil/__init__.pyi +23 -45
- bl_ui/properties_object/__init__.pyi +35 -42
- bl_ui/properties_output/__init__.pyi +0 -40
- bl_ui/properties_paint_common/__init__.pyi +23 -19
- bl_ui/properties_particle/__init__.pyi +0 -106
- bl_ui/properties_physics_cloth/__init__.pyi +0 -28
- bl_ui/properties_physics_common/__init__.pyi +0 -2
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
- bl_ui/properties_physics_field/__init__.pyi +0 -20
- bl_ui/properties_physics_fluid/__init__.pyi +0 -56
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
- bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
- bl_ui/properties_physics_softbody/__init__.pyi +0 -30
- bl_ui/properties_render/__init__.pyi +58 -86
- bl_ui/properties_scene/__init__.pyi +0 -34
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +0 -54
- bl_ui/properties_view_layer/__init__.pyi +7 -28
- bl_ui/properties_workspace/__init__.pyi +0 -8
- bl_ui/properties_world/__init__.pyi +0 -22
- bl_ui/space_clip/__init__.pyi +82 -166
- bl_ui/space_console/__init__.pyi +0 -12
- bl_ui/space_dopesheet/__init__.pyi +67 -76
- bl_ui/space_filebrowser/__init__.pyi +0 -60
- bl_ui/space_graph/__init__.pyi +0 -66
- bl_ui/space_image/__init__.pyi +28 -162
- bl_ui/space_info/__init__.pyi +0 -12
- bl_ui/space_nla/__init__.pyi +0 -58
- bl_ui/space_node/__init__.pyi +99 -132
- bl_ui/space_outliner/__init__.pyi +0 -30
- bl_ui/space_properties/__init__.pyi +29 -6
- bl_ui/space_sequencer/__init__.pyi +159 -987
- bl_ui/space_spreadsheet/__init__.pyi +0 -6
- bl_ui/space_statusbar/__init__.pyi +0 -2
- bl_ui/space_text/__init__.pyi +0 -32
- bl_ui/space_time/__init__.pyi +29 -22
- bl_ui/space_toolsystem_toolbar/__init__.pyi +7 -2
- bl_ui/space_topbar/__init__.pyi +7 -52
- bl_ui/space_userpref/__init__.pyi +77 -225
- bl_ui/space_view3d/__init__.pyi +69 -551
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +22 -799
- bl_ui/utils/__init__.pyi +0 -17
- blf/__init__.pyi +6 -50
- bmesh/__init__.pyi +0 -7
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +5 -450
- bmesh/types/__init__.pyi +298 -639
- bmesh/utils/__init__.pyi +16 -43
- bpy/app/__init__.pyi +66 -58
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +0 -6
- bpy/app/translations/__init__.pyi +1 -16
- bpy/msgbus/__init__.pyi +1 -4
- bpy/ops/action/__init__.pyi +17 -186
- bpy/ops/anim/__init__.pyi +38 -279
- bpy/ops/armature/__init__.pyi +20 -191
- bpy/ops/asset/__init__.pyi +11 -97
- bpy/ops/boid/__init__.pyi +7 -38
- bpy/ops/brush/__init__.pyi +3 -104
- bpy/ops/buttons/__init__.pyi +4 -71
- bpy/ops/cachefile/__init__.pyi +2 -63
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +43 -427
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +3 -35
- bpy/ops/console/__init__.pyi +10 -88
- bpy/ops/constraint/__init__.pyi +3 -80
- bpy/ops/curve/__init__.pyi +23 -254
- bpy/ops/curves/__init__.pyi +54 -149
- bpy/ops/cycles/__init__.pyi +1 -14
- bpy/ops/dpaint/__init__.pyi +3 -21
- bpy/ops/ed/__init__.pyi +10 -82
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +1 -155
- bpy/ops/extensions/__init__.pyi +15 -150
- bpy/ops/file/__init__.pyi +29 -216
- bpy/ops/fluid/__init__.pyi +13 -70
- bpy/ops/font/__init__.pyi +10 -134
- bpy/ops/geometry/__init__.pyi +3 -124
- bpy/ops/gizmogroup/__init__.pyi +1 -12
- bpy/ops/gpencil/__init__.pyi +5 -49
- bpy/ops/graph/__init__.pyi +20 -315
- bpy/ops/grease_pencil/__init__.pyi +62 -523
- bpy/ops/image/__init__.pyi +19 -379
- bpy/ops/import_anim/__init__.pyi +2 -16
- bpy/ops/import_curve/__init__.pyi +0 -6
- bpy/ops/import_scene/__init__.pyi +0 -50
- bpy/ops/info/__init__.pyi +4 -35
- bpy/ops/lattice/__init__.pyi +3 -33
- bpy/ops/marker/__init__.pyi +4 -49
- bpy/ops/mask/__init__.pyi +17 -176
- bpy/ops/material/__init__.pyi +3 -15
- bpy/ops/mball/__init__.pyi +1 -30
- bpy/ops/mesh/__init__.pyi +34 -932
- bpy/ops/nla/__init__.pyi +22 -183
- bpy/ops/node/__init__.pyi +420 -625
- bpy/ops/object/__init__.pyi +197 -1239
- bpy/ops/outliner/__init__.pyi +47 -327
- bpy/ops/paint/__init__.pyi +29 -282
- bpy/ops/paintcurve/__init__.pyi +4 -36
- bpy/ops/palette/__init__.pyi +3 -27
- bpy/ops/particle/__init__.pyi +20 -160
- bpy/ops/pointcloud/__init__.pyi +3 -35
- bpy/ops/pose/__init__.pyi +29 -234
- bpy/ops/poselib/__init__.pyi +19 -66
- bpy/ops/preferences/__init__.pyi +9 -177
- bpy/ops/ptcache/__init__.pyi +5 -31
- bpy/ops/render/__init__.pyi +10 -68
- bpy/ops/rigidbody/__init__.pyi +6 -56
- bpy/ops/scene/__init__.pyi +23 -168
- bpy/ops/screen/__init__.pyi +36 -202
- bpy/ops/script/__init__.pyi +1 -12
- bpy/ops/sculpt/__init__.pyi +42 -313
- bpy/ops/sculpt_curves/__init__.pyi +6 -21
- bpy/ops/sequencer/__init__.pyi +187 -644
- bpy/ops/sound/__init__.pyi +3 -109
- bpy/ops/spreadsheet/__init__.pyi +5 -32
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +27 -225
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +3 -18
- bpy/ops/transform/__init__.pyi +10 -382
- bpy/ops/ui/__init__.pyi +29 -154
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +195 -288
- bpy/ops/view2d/__init__.pyi +3 -73
- bpy/ops/view3d/__init__.pyi +37 -339
- bpy/ops/wm/__init__.pyi +129 -1317
- bpy/ops/workspace/__init__.pyi +7 -39
- bpy/ops/world/__init__.pyi +2 -10
- bpy/path/__init__.pyi +0 -34
- bpy/props/__init__.pyi +332 -203
- bpy/stub_internal/rna_enums/__init__.pyi +102 -82
- bpy/types/__init__.pyi +51712 -89245
- bpy/utils/__init__.pyi +4 -75
- bpy/utils/previews/__init__.pyi +1 -10
- bpy/utils/units/__init__.pyi +0 -12
- bpy_extras/anim_utils/__init__.pyi +24 -16
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +14 -6
- bpy_extras/image_utils/__init__.pyi +0 -9
- bpy_extras/io_utils/__init__.pyi +4 -23
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- bpy_extras/object_utils/__init__.pyi +0 -14
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
- fake_bpy_module-20260118.dist-info/RECORD +385 -0
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +15 -14
- freestyle/chainingiterators/__init__.pyi +0 -22
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +0 -51
- freestyle/shaders/__init__.pyi +0 -65
- freestyle/types/__init__.pyi +139 -777
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +0 -6
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +0 -5
- gpu/shader/__init__.pyi +22 -6
- gpu/state/__init__.pyi +59 -38
- gpu/texture/__init__.pyi +0 -2
- gpu/types/__init__.pyi +84 -152
- gpu_extras/batch/__init__.pyi +0 -4
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +2 -9
- imbuf/types/__init__.pyi +5 -25
- keyingsets_builtins/__init__.pyi +1 -45
- mathutils/__init__.pyi +106 -2168
- mathutils/bvhtree/__init__.pyi +3 -25
- mathutils/geometry/__init__.pyi +41 -133
- mathutils/interpolate/__init__.pyi +3 -4
- mathutils/kdtree/__init__.pyi +0 -11
- mathutils/noise/__init__.pyi +0 -62
- fake_bpy_module-20250828.dist-info/RECORD +0 -370
- {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_ui_utils → _bl_ui_utils}/py.typed +0 -0
- /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {console_python → _console_python}/__init__.pyi +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/__init__.pyi +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/__init__.pyi +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
bl_ui/utils/__init__.pyi
CHANGED
|
@@ -3,23 +3,6 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
5
|
|
|
6
|
-
class PlayheadSnappingPanel:
|
|
7
|
-
bl_label: typing.Any
|
|
8
|
-
bl_region_type: typing.Any
|
|
9
|
-
|
|
10
|
-
def draw(self, context) -> None:
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
:param context:
|
|
14
|
-
"""
|
|
15
|
-
|
|
16
|
-
@classmethod
|
|
17
|
-
def poll(cls, context) -> None:
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
:param context:
|
|
21
|
-
"""
|
|
22
|
-
|
|
23
6
|
class PresetPanel:
|
|
24
7
|
bl_label: typing.Any
|
|
25
8
|
bl_region_type: typing.Any
|
blf/__init__.pyi
CHANGED
|
@@ -23,21 +23,20 @@ import typing
|
|
|
23
23
|
import collections.abc
|
|
24
24
|
import typing_extensions
|
|
25
25
|
import numpy.typing as npt
|
|
26
|
+
import imbuf.types
|
|
26
27
|
|
|
27
28
|
def aspect(fontid: int, aspect: float) -> None:
|
|
28
29
|
"""Set the aspect for drawing text.
|
|
29
30
|
|
|
30
31
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
31
|
-
:type fontid: int
|
|
32
32
|
:param aspect: The aspect ratio for text drawing to use.
|
|
33
|
-
:type aspect: float
|
|
34
33
|
"""
|
|
35
34
|
|
|
36
|
-
def bind_imbuf(fontid: int,
|
|
35
|
+
def bind_imbuf(fontid: int, imbuf: imbuf.types.ImBuf) -> None:
|
|
37
36
|
"""Context manager to draw text into an image buffer instead of the GPUs context.
|
|
38
37
|
|
|
39
38
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
40
|
-
:
|
|
39
|
+
:param imbuf: The image to draw into.
|
|
41
40
|
:return: The BLF ImBuf context manager.
|
|
42
41
|
"""
|
|
43
42
|
|
|
@@ -45,161 +44,118 @@ def clipping(fontid: int, xmin: float, ymin: float, xmax: float, ymax: float) ->
|
|
|
45
44
|
"""Set the clipping, enable/disable using CLIPPING.
|
|
46
45
|
|
|
47
46
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
48
|
-
:type fontid: int
|
|
49
47
|
:param xmin: Clip the drawing area by these bounds.
|
|
50
|
-
:type xmin: float
|
|
51
48
|
:param ymin: Clip the drawing area by these bounds.
|
|
52
|
-
:type ymin: float
|
|
53
49
|
:param xmax: Clip the drawing area by these bounds.
|
|
54
|
-
:type xmax: float
|
|
55
50
|
:param ymax: Clip the drawing area by these bounds.
|
|
56
|
-
:type ymax: float
|
|
57
51
|
"""
|
|
58
52
|
|
|
59
53
|
def color(fontid: int, r: float, g: float, b: float, a: float) -> None:
|
|
60
54
|
"""Set the color for drawing text.
|
|
61
55
|
|
|
62
56
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
63
|
-
:type fontid: int
|
|
64
57
|
:param r: red channel 0.0 - 1.0.
|
|
65
|
-
:type r: float
|
|
66
58
|
:param g: green channel 0.0 - 1.0.
|
|
67
|
-
:type g: float
|
|
68
59
|
:param b: blue channel 0.0 - 1.0.
|
|
69
|
-
:type b: float
|
|
70
60
|
:param a: alpha channel 0.0 - 1.0.
|
|
71
|
-
:type a: float
|
|
72
61
|
"""
|
|
73
62
|
|
|
74
63
|
def dimensions(fontid: int, text: str) -> tuple[float, float]:
|
|
75
64
|
"""Return the width and height of the text.
|
|
76
65
|
|
|
77
66
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
78
|
-
:type fontid: int
|
|
79
67
|
:param text: the text to draw.
|
|
80
|
-
:type text: str
|
|
81
68
|
:return: the width and height of the text.
|
|
82
|
-
:rtype: tuple[float, float]
|
|
83
69
|
"""
|
|
84
70
|
|
|
85
71
|
def disable(fontid: int, option: int) -> None:
|
|
86
72
|
"""Disable option.
|
|
87
73
|
|
|
88
74
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
89
|
-
:type fontid: int
|
|
90
75
|
:param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
|
|
91
|
-
:type option: int
|
|
92
76
|
"""
|
|
93
77
|
|
|
94
78
|
def draw(fontid: int, text: str) -> None:
|
|
95
79
|
"""Draw text in the current context.
|
|
96
80
|
|
|
97
81
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
98
|
-
:type fontid: int
|
|
99
82
|
:param text: the text to draw.
|
|
100
|
-
:type text: str
|
|
101
83
|
"""
|
|
102
84
|
|
|
103
85
|
def draw_buffer(fontid: int, text: str) -> None:
|
|
104
86
|
"""Draw text into the buffer bound to the fontid.
|
|
105
87
|
|
|
106
88
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
107
|
-
:type fontid: int
|
|
108
89
|
:param text: the text to draw.
|
|
109
|
-
:type text: str
|
|
110
90
|
"""
|
|
111
91
|
|
|
112
92
|
def enable(fontid: int, option: int) -> None:
|
|
113
93
|
"""Enable option.
|
|
114
94
|
|
|
115
95
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
116
|
-
:type fontid: int
|
|
117
96
|
:param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
|
|
118
|
-
:type option: int
|
|
119
97
|
"""
|
|
120
98
|
|
|
121
99
|
def load(filepath: bytes | str) -> int:
|
|
122
100
|
"""Load a new font.
|
|
123
101
|
|
|
124
102
|
:param filepath: the filepath of the font.
|
|
125
|
-
:type filepath: bytes | str
|
|
126
103
|
:return: the new fonts fontid or -1 if there was an error.
|
|
127
|
-
:rtype: int
|
|
128
104
|
"""
|
|
129
105
|
|
|
130
106
|
def position(fontid: int, x: float, y: float, z: float) -> None:
|
|
131
107
|
"""Set the position for drawing text.
|
|
132
108
|
|
|
133
109
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
134
|
-
:type fontid: int
|
|
135
110
|
:param x: X axis position to draw the text.
|
|
136
|
-
:type x: float
|
|
137
111
|
:param y: Y axis position to draw the text.
|
|
138
|
-
:type y: float
|
|
139
112
|
:param z: Z axis position to draw the text.
|
|
140
|
-
:type z: float
|
|
141
113
|
"""
|
|
142
114
|
|
|
143
115
|
def rotation(fontid: int, angle: float) -> None:
|
|
144
116
|
"""Set the text rotation angle, enable/disable using ROTATION.
|
|
145
117
|
|
|
146
118
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
147
|
-
:type fontid: int
|
|
148
119
|
:param angle: The angle for text drawing to use.
|
|
149
|
-
:type angle: float
|
|
150
120
|
"""
|
|
151
121
|
|
|
152
122
|
def shadow(fontid: int, level: int, r: float, g: float, b: float, a: float) -> None:
|
|
153
123
|
"""Shadow options, enable/disable using SHADOW .
|
|
154
124
|
|
|
155
125
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
156
|
-
:type fontid: int
|
|
157
126
|
:param level: The blur level (0, 3, 5) or outline (6).
|
|
158
|
-
:type level: int
|
|
159
127
|
:param r: Shadow color (red channel 0.0 - 1.0).
|
|
160
|
-
:type r: float
|
|
161
128
|
:param g: Shadow color (green channel 0.0 - 1.0).
|
|
162
|
-
:type g: float
|
|
163
129
|
:param b: Shadow color (blue channel 0.0 - 1.0).
|
|
164
|
-
:type b: float
|
|
165
130
|
:param a: Shadow color (alpha channel 0.0 - 1.0).
|
|
166
|
-
:type a: float
|
|
167
131
|
"""
|
|
168
132
|
|
|
169
|
-
def shadow_offset(fontid: int, x:
|
|
133
|
+
def shadow_offset(fontid: int, x: int, y: int) -> None:
|
|
170
134
|
"""Set the offset for shadow text.
|
|
171
135
|
|
|
172
136
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
173
|
-
:
|
|
174
|
-
:param
|
|
175
|
-
:type x: float
|
|
176
|
-
:param y: Horizontal shadow offset value in pixels.
|
|
177
|
-
:type y: float
|
|
137
|
+
:param x: Horizontal shadow offset value in pixels.
|
|
138
|
+
:param y: Vertical shadow offset value in pixels.
|
|
178
139
|
"""
|
|
179
140
|
|
|
180
141
|
def size(fontid: int, size: float) -> None:
|
|
181
142
|
"""Set the size for drawing text.
|
|
182
143
|
|
|
183
144
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
184
|
-
:type fontid: int
|
|
185
145
|
:param size: Point size of the font.
|
|
186
|
-
:type size: float
|
|
187
146
|
"""
|
|
188
147
|
|
|
189
148
|
def unload(filepath: bytes | str) -> None:
|
|
190
149
|
"""Unload an existing font.
|
|
191
150
|
|
|
192
151
|
:param filepath: the filepath of the font.
|
|
193
|
-
:type filepath: bytes | str
|
|
194
152
|
"""
|
|
195
153
|
|
|
196
154
|
def word_wrap(fontid: int, wrap_width: int) -> None:
|
|
197
155
|
"""Set the wrap width, enable/disable using WORD_WRAP.
|
|
198
156
|
|
|
199
157
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
200
|
-
:type fontid: int
|
|
201
158
|
:param wrap_width: The width (in pixels) to wrap words at.
|
|
202
|
-
:type wrap_width: int
|
|
203
159
|
"""
|
|
204
160
|
|
|
205
161
|
CLIPPING: typing.Any
|
bmesh/__init__.pyi
CHANGED
|
@@ -27,18 +27,14 @@ def from_edit_mesh(mesh: bpy.types.Mesh) -> bmesh.types.BMesh:
|
|
|
27
27
|
"""Return a BMesh from this mesh, currently the mesh must already be in editmode.
|
|
28
28
|
|
|
29
29
|
:param mesh: The editmode mesh.
|
|
30
|
-
:type mesh: bpy.types.Mesh
|
|
31
30
|
:return: the BMesh associated with this mesh.
|
|
32
|
-
:rtype: bmesh.types.BMesh
|
|
33
31
|
"""
|
|
34
32
|
|
|
35
33
|
def new(*, use_operators: bool = True) -> bmesh.types.BMesh:
|
|
36
34
|
"""
|
|
37
35
|
|
|
38
36
|
:param use_operators: Support calling operators in `bmesh.ops` (uses some extra memory per vert/edge/face).
|
|
39
|
-
:type use_operators: bool
|
|
40
37
|
:return: Return a new, empty BMesh.
|
|
41
|
-
:rtype: bmesh.types.BMesh
|
|
42
38
|
"""
|
|
43
39
|
|
|
44
40
|
def update_edit_mesh(
|
|
@@ -48,9 +44,6 @@ def update_edit_mesh(
|
|
|
48
44
|
optionally recalculating n-gon tessellation.
|
|
49
45
|
|
|
50
46
|
:param mesh: The editmode mesh.
|
|
51
|
-
:type mesh: bpy.types.Mesh
|
|
52
47
|
:param loop_triangles: Option to recalculate n-gon tessellation.
|
|
53
|
-
:type loop_triangles: bool
|
|
54
48
|
:param destructive: Use when geometry has been added or removed.
|
|
55
|
-
:type destructive: bool
|
|
56
49
|
"""
|
bmesh/geometry/__init__.pyi
CHANGED
|
@@ -16,9 +16,6 @@ def intersect_face_point(
|
|
|
16
16
|
"""Tests if the projection of a point is inside a face (using the faces normal).
|
|
17
17
|
|
|
18
18
|
:param face: The face to test.
|
|
19
|
-
:type face: bmesh.types.BMFace
|
|
20
19
|
:param point: The point to test.
|
|
21
|
-
:type point: collections.abc.Sequence[float] | mathutils.Vector
|
|
22
20
|
:return: True when the projection of the point is in the face.
|
|
23
|
-
:rtype: bool
|
|
24
21
|
"""
|