fake-bpy-module-latest 20260113__py3-none-any.whl → 20260114__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/autocomplete/complete_calltip/__init__.pyi +0 -13
- _bl_console_utils/autocomplete/complete_import/__init__.pyi +0 -5
- _bl_console_utils/autocomplete/complete_namespace/__init__.pyi +0 -11
- _bl_console_utils/autocomplete/intellisense/__init__.pyi +0 -10
- _bpy_types/__init__.pyi +1 -122
- _rna_info/__init__.pyi +0 -1
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +0 -146
- bl_math/__init__.pyi +0 -12
- bl_operators/add_mesh_torus/__init__.pyi +0 -2
- bl_operators/anim/__init__.pyi +0 -26
- 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 +0 -10
- 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 -4
- bl_operators/node/__init__.pyi +0 -44
- bl_operators/object/__init__.pyi +0 -30
- 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 +0 -50
- 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 +0 -2
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
- bl_operators/uvcalc_transform/__init__.pyi +0 -4
- 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 +0 -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 +0 -10
- bl_ui/node_add_menu_compositor/__init__.pyi +0 -38
- bl_ui/node_add_menu_geometry/__init__.pyi +0 -112
- bl_ui/node_add_menu_shader/__init__.pyi +0 -20
- bl_ui/node_add_menu_texture/__init__.pyi +0 -16
- bl_ui/properties_collection/__init__.pyi +0 -14
- bl_ui/properties_constraint/__init__.pyi +0 -154
- 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 +0 -42
- bl_ui/properties_data_metaball/__init__.pyi +0 -12
- bl_ui/properties_data_modifier/__init__.pyi +0 -18
- 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 -14
- bl_ui/properties_mask_common/__init__.pyi +0 -14
- bl_ui/properties_material/__init__.pyi +0 -32
- bl_ui/properties_material_gpencil/__init__.pyi +0 -22
- bl_ui/properties_object/__init__.pyi +0 -44
- bl_ui/properties_output/__init__.pyi +0 -40
- bl_ui/properties_paint_common/__init__.pyi +0 -4
- 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 +0 -90
- bl_ui/properties_scene/__init__.pyi +0 -34
- bl_ui/properties_strip/__init__.pyi +0 -42
- bl_ui/properties_strip_modifier/__init__.pyi +0 -2
- bl_ui/properties_texture/__init__.pyi +0 -54
- bl_ui/properties_view_layer/__init__.pyi +0 -28
- bl_ui/properties_workspace/__init__.pyi +0 -8
- bl_ui/properties_world/__init__.pyi +0 -22
- bl_ui/space_clip/__init__.pyi +0 -150
- bl_ui/space_console/__init__.pyi +0 -12
- bl_ui/space_dopesheet/__init__.pyi +0 -64
- bl_ui/space_filebrowser/__init__.pyi +0 -60
- bl_ui/space_graph/__init__.pyi +0 -44
- bl_ui/space_image/__init__.pyi +0 -142
- bl_ui/space_info/__init__.pyi +0 -12
- bl_ui/space_nla/__init__.pyi +0 -36
- bl_ui/space_node/__init__.pyi +0 -66
- bl_ui/space_outliner/__init__.pyi +0 -30
- bl_ui/space_properties/__init__.pyi +0 -8
- bl_ui/space_sequencer/__init__.pyi +0 -136
- 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 +0 -12
- bl_ui/space_topbar/__init__.pyi +0 -52
- bl_ui/space_userpref/__init__.pyi +0 -186
- bl_ui/space_view3d/__init__.pyi +0 -536
- bl_ui/space_view3d_sidebar/__init__.pyi +0 -8
- bl_ui/space_view3d_toolbar/__init__.pyi +0 -162
- blf/__init__.pyi +0 -47
- bmesh/__init__.pyi +0 -7
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +0 -451
- bmesh/types/__init__.pyi +65 -427
- bmesh/utils/__init__.pyi +0 -44
- bpy/app/__init__.pyi +0 -5
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +0 -6
- bpy/app/translations/__init__.pyi +0 -15
- bpy/msgbus/__init__.pyi +1 -4
- bpy/ops/action/__init__.pyi +15 -165
- bpy/ops/anim/__init__.pyi +27 -274
- bpy/ops/armature/__init__.pyi +17 -191
- bpy/ops/asset/__init__.pyi +11 -97
- bpy/ops/boid/__init__.pyi +7 -38
- bpy/ops/brush/__init__.pyi +3 -72
- 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 +2 -34
- 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 +15 -164
- 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 +0 -11
- bpy/ops/export_scene/__init__.pyi +0 -154
- bpy/ops/extensions/__init__.pyi +15 -150
- bpy/ops/file/__init__.pyi +27 -217
- bpy/ops/fluid/__init__.pyi +13 -70
- bpy/ops/font/__init__.pyi +10 -134
- bpy/ops/geometry/__init__.pyi +3 -41
- bpy/ops/gizmogroup/__init__.pyi +1 -12
- bpy/ops/gpencil/__init__.pyi +5 -38
- bpy/ops/graph/__init__.pyi +18 -316
- bpy/ops/grease_pencil/__init__.pyi +27 -522
- bpy/ops/image/__init__.pyi +19 -379
- bpy/ops/import_anim/__init__.pyi +0 -14
- 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 +2 -50
- 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 +30 -913
- bpy/ops/nla/__init__.pyi +19 -183
- bpy/ops/node/__init__.pyi +53 -745
- bpy/ops/object/__init__.pyi +75 -1285
- bpy/ops/outliner/__init__.pyi +47 -327
- bpy/ops/paint/__init__.pyi +14 -279
- 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 +25 -230
- bpy/ops/poselib/__init__.pyi +4 -47
- bpy/ops/preferences/__init__.pyi +9 -177
- bpy/ops/ptcache/__init__.pyi +5 -31
- bpy/ops/render/__init__.pyi +3 -70
- bpy/ops/rigidbody/__init__.pyi +6 -56
- bpy/ops/scene/__init__.pyi +22 -167
- bpy/ops/screen/__init__.pyi +19 -214
- bpy/ops/script/__init__.pyi +1 -12
- bpy/ops/sculpt/__init__.pyi +7 -271
- bpy/ops/sculpt_curves/__init__.pyi +1 -20
- bpy/ops/sequencer/__init__.pyi +36 -672
- 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 +25 -226
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +3 -18
- bpy/ops/transform/__init__.pyi +2 -381
- bpy/ops/ui/__init__.pyi +21 -158
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +9 -316
- bpy/ops/view2d/__init__.pyi +3 -73
- bpy/ops/view3d/__init__.pyi +37 -339
- bpy/ops/wm/__init__.pyi +25 -1308
- bpy/ops/workspace/__init__.pyi +7 -39
- bpy/ops/world/__init__.pyi +2 -10
- bpy/path/__init__.pyi +0 -34
- bpy/props/__init__.pyi +12 -148
- bpy/types/__init__.pyi +9867 -55713
- bpy/utils/__init__.pyi +2 -73
- bpy/utils/previews/__init__.pyi +0 -9
- bpy/utils/units/__init__.pyi +0 -12
- bpy_extras/anim_utils/__init__.pyi +0 -8
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +4 -5
- bpy_extras/image_utils/__init__.pyi +0 -9
- bpy_extras/io_utils/__init__.pyi +2 -22
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/object_utils/__init__.pyi +0 -14
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/METADATA +2 -1
- fake_bpy_module_latest-20260114.dist-info/RECORD +382 -0
- 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 +0 -9
- gpu/platform/__init__.pyi +0 -5
- gpu/shader/__init__.pyi +0 -5
- gpu/state/__init__.pyi +0 -29
- gpu/texture/__init__.pyi +0 -2
- gpu/types/__init__.pyi +10 -149
- gpu_extras/batch/__init__.pyi +0 -4
- gpu_extras/presets/__init__.pyi +0 -9
- idprop/types/__init__.pyi +0 -4
- imbuf/__init__.pyi +0 -7
- imbuf/types/__init__.pyi +5 -25
- keyingsets_builtins/__init__.pyi +0 -44
- mathutils/__init__.pyi +46 -2160
- mathutils/bvhtree/__init__.pyi +1 -24
- mathutils/geometry/__init__.pyi +0 -129
- mathutils/interpolate/__init__.pyi +0 -3
- mathutils/kdtree/__init__.pyi +0 -11
- mathutils/noise/__init__.pyi +0 -62
- fake_bpy_module_latest-20260113.dist-info/RECORD +0 -382
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/WHEEL +0 -0
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/top_level.txt +0 -0
blf/__init__.pyi
CHANGED
|
@@ -29,18 +29,14 @@ def aspect(fontid: int, aspect: float) -> None:
|
|
|
29
29
|
"""Set the aspect for drawing text.
|
|
30
30
|
|
|
31
31
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
32
|
-
:type fontid: int
|
|
33
32
|
:param aspect: The aspect ratio for text drawing to use.
|
|
34
|
-
:type aspect: float
|
|
35
33
|
"""
|
|
36
34
|
|
|
37
35
|
def bind_imbuf(fontid: int, imbuf: imbuf.types.ImBuf) -> None:
|
|
38
36
|
"""Context manager to draw text into an image buffer instead of the GPUs context.
|
|
39
37
|
|
|
40
38
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
41
|
-
:type fontid: int
|
|
42
39
|
:param imbuf: The image to draw into.
|
|
43
|
-
:type imbuf: imbuf.types.ImBuf
|
|
44
40
|
:return: The BLF ImBuf context manager.
|
|
45
41
|
"""
|
|
46
42
|
|
|
@@ -48,161 +44,118 @@ def clipping(fontid: int, xmin: float, ymin: float, xmax: float, ymax: float) ->
|
|
|
48
44
|
"""Set the clipping, enable/disable using CLIPPING.
|
|
49
45
|
|
|
50
46
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
51
|
-
:type fontid: int
|
|
52
47
|
:param xmin: Clip the drawing area by these bounds.
|
|
53
|
-
:type xmin: float
|
|
54
48
|
:param ymin: Clip the drawing area by these bounds.
|
|
55
|
-
:type ymin: float
|
|
56
49
|
:param xmax: Clip the drawing area by these bounds.
|
|
57
|
-
:type xmax: float
|
|
58
50
|
:param ymax: Clip the drawing area by these bounds.
|
|
59
|
-
:type ymax: float
|
|
60
51
|
"""
|
|
61
52
|
|
|
62
53
|
def color(fontid: int, r: float, g: float, b: float, a: float) -> None:
|
|
63
54
|
"""Set the color for drawing text.
|
|
64
55
|
|
|
65
56
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
66
|
-
:type fontid: int
|
|
67
57
|
:param r: red channel 0.0 - 1.0.
|
|
68
|
-
:type r: float
|
|
69
58
|
:param g: green channel 0.0 - 1.0.
|
|
70
|
-
:type g: float
|
|
71
59
|
:param b: blue channel 0.0 - 1.0.
|
|
72
|
-
:type b: float
|
|
73
60
|
:param a: alpha channel 0.0 - 1.0.
|
|
74
|
-
:type a: float
|
|
75
61
|
"""
|
|
76
62
|
|
|
77
63
|
def dimensions(fontid: int, text: str) -> tuple[float, float]:
|
|
78
64
|
"""Return the width and height of the text.
|
|
79
65
|
|
|
80
66
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
81
|
-
:type fontid: int
|
|
82
67
|
:param text: the text to draw.
|
|
83
|
-
:type text: str
|
|
84
68
|
:return: the width and height of the text.
|
|
85
|
-
:rtype: tuple[float, float]
|
|
86
69
|
"""
|
|
87
70
|
|
|
88
71
|
def disable(fontid: int, option: int) -> None:
|
|
89
72
|
"""Disable option.
|
|
90
73
|
|
|
91
74
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
92
|
-
:type fontid: int
|
|
93
75
|
:param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
|
|
94
|
-
:type option: int
|
|
95
76
|
"""
|
|
96
77
|
|
|
97
78
|
def draw(fontid: int, text: str) -> None:
|
|
98
79
|
"""Draw text in the current context.
|
|
99
80
|
|
|
100
81
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
101
|
-
:type fontid: int
|
|
102
82
|
:param text: the text to draw.
|
|
103
|
-
:type text: str
|
|
104
83
|
"""
|
|
105
84
|
|
|
106
85
|
def draw_buffer(fontid: int, text: str) -> None:
|
|
107
86
|
"""Draw text into the buffer bound to the fontid.
|
|
108
87
|
|
|
109
88
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
110
|
-
:type fontid: int
|
|
111
89
|
:param text: the text to draw.
|
|
112
|
-
:type text: str
|
|
113
90
|
"""
|
|
114
91
|
|
|
115
92
|
def enable(fontid: int, option: int) -> None:
|
|
116
93
|
"""Enable option.
|
|
117
94
|
|
|
118
95
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
119
|
-
:type fontid: int
|
|
120
96
|
:param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
|
|
121
|
-
:type option: int
|
|
122
97
|
"""
|
|
123
98
|
|
|
124
99
|
def load(filepath: bytes | str) -> int:
|
|
125
100
|
"""Load a new font.
|
|
126
101
|
|
|
127
102
|
:param filepath: the filepath of the font.
|
|
128
|
-
:type filepath: bytes | str
|
|
129
103
|
:return: the new fonts fontid or -1 if there was an error.
|
|
130
|
-
:rtype: int
|
|
131
104
|
"""
|
|
132
105
|
|
|
133
106
|
def position(fontid: int, x: float, y: float, z: float) -> None:
|
|
134
107
|
"""Set the position for drawing text.
|
|
135
108
|
|
|
136
109
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
137
|
-
:type fontid: int
|
|
138
110
|
:param x: X axis position to draw the text.
|
|
139
|
-
:type x: float
|
|
140
111
|
:param y: Y axis position to draw the text.
|
|
141
|
-
:type y: float
|
|
142
112
|
:param z: Z axis position to draw the text.
|
|
143
|
-
:type z: float
|
|
144
113
|
"""
|
|
145
114
|
|
|
146
115
|
def rotation(fontid: int, angle: float) -> None:
|
|
147
116
|
"""Set the text rotation angle, enable/disable using ROTATION.
|
|
148
117
|
|
|
149
118
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
150
|
-
:type fontid: int
|
|
151
119
|
:param angle: The angle for text drawing to use.
|
|
152
|
-
:type angle: float
|
|
153
120
|
"""
|
|
154
121
|
|
|
155
122
|
def shadow(fontid: int, level: int, r: float, g: float, b: float, a: float) -> None:
|
|
156
123
|
"""Shadow options, enable/disable using SHADOW .
|
|
157
124
|
|
|
158
125
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
159
|
-
:type fontid: int
|
|
160
126
|
:param level: The blur level (0, 3, 5) or outline (6).
|
|
161
|
-
:type level: int
|
|
162
127
|
:param r: Shadow color (red channel 0.0 - 1.0).
|
|
163
|
-
:type r: float
|
|
164
128
|
:param g: Shadow color (green channel 0.0 - 1.0).
|
|
165
|
-
:type g: float
|
|
166
129
|
:param b: Shadow color (blue channel 0.0 - 1.0).
|
|
167
|
-
:type b: float
|
|
168
130
|
:param a: Shadow color (alpha channel 0.0 - 1.0).
|
|
169
|
-
:type a: float
|
|
170
131
|
"""
|
|
171
132
|
|
|
172
133
|
def shadow_offset(fontid: int, x: int, y: int) -> None:
|
|
173
134
|
"""Set the offset for shadow text.
|
|
174
135
|
|
|
175
136
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
176
|
-
:type fontid: int
|
|
177
137
|
:param x: Horizontal shadow offset value in pixels.
|
|
178
|
-
:type x: int
|
|
179
138
|
:param y: Vertical shadow offset value in pixels.
|
|
180
|
-
:type y: int
|
|
181
139
|
"""
|
|
182
140
|
|
|
183
141
|
def size(fontid: int, size: float) -> None:
|
|
184
142
|
"""Set the size for drawing text.
|
|
185
143
|
|
|
186
144
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
187
|
-
:type fontid: int
|
|
188
145
|
:param size: Point size of the font.
|
|
189
|
-
:type size: float
|
|
190
146
|
"""
|
|
191
147
|
|
|
192
148
|
def unload(filepath: bytes | str) -> None:
|
|
193
149
|
"""Unload an existing font.
|
|
194
150
|
|
|
195
151
|
:param filepath: the filepath of the font.
|
|
196
|
-
:type filepath: bytes | str
|
|
197
152
|
"""
|
|
198
153
|
|
|
199
154
|
def word_wrap(fontid: int, wrap_width: int) -> None:
|
|
200
155
|
"""Set the wrap width, enable/disable using WORD_WRAP.
|
|
201
156
|
|
|
202
157
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
203
|
-
:type fontid: int
|
|
204
158
|
:param wrap_width: The width (in pixels) to wrap words at.
|
|
205
|
-
:type wrap_width: int
|
|
206
159
|
"""
|
|
207
160
|
|
|
208
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
|
"""
|