fake-bpy-module 20240518__py3-none-any.whl → 20240520__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.
- _bpy_internal/__init__.pyi +3 -1
- _bpy_internal/freedesktop/__init__.pyi +3 -1
- addon_utils/__init__.pyi +3 -1
- animsys_refactor/__init__.pyi +3 -1
- aud/__init__.pyi +3 -1
- bgl/__init__.pyi +121 -146
- bl_app_override/__init__.pyi +3 -1
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +3 -1
- bl_console_utils/__init__.pyi +3 -1
- bl_console_utils/autocomplete/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +3 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
- bl_i18n_utils/__init__.pyi +3 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +3 -1
- bl_i18n_utils/merge_po/__init__.pyi +3 -1
- bl_i18n_utils/settings/__init__.pyi +3 -1
- bl_i18n_utils/utils/__init__.pyi +3 -1
- bl_i18n_utils/utils_cli/__init__.pyi +3 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +3 -1
- bl_keymap_utils/__init__.pyi +3 -1
- bl_keymap_utils/io/__init__.pyi +3 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +3 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -1
- bl_keymap_utils/versioning/__init__.pyi +3 -1
- bl_math/__init__.pyi +3 -1
- bl_operators/__init__.pyi +3 -1
- bl_operators/add_mesh_torus/__init__.pyi +3 -1
- bl_operators/anim/__init__.pyi +3 -1
- bl_operators/assets/__init__.pyi +3 -1
- bl_operators/bmesh/__init__.pyi +3 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -1
- bl_operators/clip/__init__.pyi +3 -1
- bl_operators/console/__init__.pyi +3 -1
- bl_operators/constraint/__init__.pyi +3 -1
- bl_operators/file/__init__.pyi +3 -1
- bl_operators/freestyle/__init__.pyi +3 -1
- bl_operators/geometry_nodes/__init__.pyi +3 -1
- bl_operators/image/__init__.pyi +3 -1
- bl_operators/mesh/__init__.pyi +3 -1
- bl_operators/node/__init__.pyi +3 -1
- bl_operators/object/__init__.pyi +3 -1
- bl_operators/object_align/__init__.pyi +3 -1
- bl_operators/object_quick_effects/__init__.pyi +3 -1
- bl_operators/object_randomize_transform/__init__.pyi +3 -1
- bl_operators/presets/__init__.pyi +3 -1
- bl_operators/rigidbody/__init__.pyi +3 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -1
- bl_operators/sequencer/__init__.pyi +3 -1
- bl_operators/spreadsheet/__init__.pyi +3 -1
- bl_operators/userpref/__init__.pyi +3 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -1
- bl_operators/uvcalc_transform/__init__.pyi +3 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +3 -1
- bl_operators/view3d/__init__.pyi +3 -1
- bl_operators/wm/__init__.pyi +3 -1
- bl_operators/world/__init__.pyi +3 -1
- bl_previews_utils/__init__.pyi +3 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +3 -1
- bl_rna_utils/__init__.pyi +3 -1
- bl_rna_utils/data_path/__init__.pyi +3 -1
- bl_text_utils/__init__.pyi +3 -1
- bl_text_utils/external_editor/__init__.pyi +3 -1
- bl_ui/__init__.pyi +3 -1
- bl_ui/anim/__init__.pyi +3 -1
- bl_ui/asset_shelf/__init__.pyi +3 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -1
- bl_ui/node_add_menu/__init__.pyi +3 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +3 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +3 -1
- bl_ui/node_add_menu_shader/__init__.pyi +3 -1
- bl_ui/node_add_menu_texture/__init__.pyi +3 -1
- bl_ui/properties_animviz/__init__.pyi +3 -1
- bl_ui/properties_collection/__init__.pyi +3 -1
- bl_ui/properties_constraint/__init__.pyi +3 -1
- bl_ui/properties_data_armature/__init__.pyi +3 -1
- bl_ui/properties_data_bone/__init__.pyi +3 -1
- bl_ui/properties_data_camera/__init__.pyi +3 -1
- bl_ui/properties_data_curve/__init__.pyi +3 -1
- bl_ui/properties_data_curves/__init__.pyi +3 -1
- bl_ui/properties_data_empty/__init__.pyi +3 -1
- bl_ui/properties_data_gpencil/__init__.pyi +3 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +3 -1
- bl_ui/properties_data_lattice/__init__.pyi +3 -1
- bl_ui/properties_data_light/__init__.pyi +3 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +3 -1
- bl_ui/properties_data_mesh/__init__.pyi +3 -1
- bl_ui/properties_data_metaball/__init__.pyi +3 -1
- bl_ui/properties_data_modifier/__init__.pyi +3 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +3 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -1
- bl_ui/properties_data_speaker/__init__.pyi +3 -1
- bl_ui/properties_data_volume/__init__.pyi +3 -1
- bl_ui/properties_freestyle/__init__.pyi +3 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +3 -1
- bl_ui/properties_mask_common/__init__.pyi +3 -1
- bl_ui/properties_material/__init__.pyi +3 -1
- bl_ui/properties_material_gpencil/__init__.pyi +3 -1
- bl_ui/properties_object/__init__.pyi +3 -1
- bl_ui/properties_output/__init__.pyi +3 -1
- bl_ui/properties_paint_common/__init__.pyi +3 -1
- bl_ui/properties_particle/__init__.pyi +3 -1
- bl_ui/properties_physics_cloth/__init__.pyi +3 -1
- bl_ui/properties_physics_common/__init__.pyi +3 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -1
- bl_ui/properties_physics_field/__init__.pyi +3 -1
- bl_ui/properties_physics_fluid/__init__.pyi +3 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +3 -1
- bl_ui/properties_physics_softbody/__init__.pyi +3 -1
- bl_ui/properties_render/__init__.pyi +3 -1
- bl_ui/properties_scene/__init__.pyi +3 -1
- bl_ui/properties_texture/__init__.pyi +3 -1
- bl_ui/properties_view_layer/__init__.pyi +3 -1
- bl_ui/properties_workspace/__init__.pyi +3 -1
- bl_ui/properties_world/__init__.pyi +3 -1
- bl_ui/space_clip/__init__.pyi +3 -1
- bl_ui/space_console/__init__.pyi +3 -1
- bl_ui/space_dopesheet/__init__.pyi +3 -1
- bl_ui/space_filebrowser/__init__.pyi +3 -1
- bl_ui/space_graph/__init__.pyi +3 -1
- bl_ui/space_image/__init__.pyi +3 -1
- bl_ui/space_info/__init__.pyi +3 -1
- bl_ui/space_nla/__init__.pyi +3 -1
- bl_ui/space_node/__init__.pyi +3 -1
- bl_ui/space_outliner/__init__.pyi +3 -1
- bl_ui/space_properties/__init__.pyi +3 -1
- bl_ui/space_sequencer/__init__.pyi +3 -1
- bl_ui/space_spreadsheet/__init__.pyi +3 -1
- bl_ui/space_statusbar/__init__.pyi +3 -1
- bl_ui/space_text/__init__.pyi +3 -1
- bl_ui/space_time/__init__.pyi +3 -1
- bl_ui/space_toolsystem_common/__init__.pyi +3 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -1
- bl_ui/space_topbar/__init__.pyi +3 -1
- bl_ui/space_userpref/__init__.pyi +3 -1
- bl_ui/space_view3d/__init__.pyi +3 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +3 -1
- bl_ui/temp_anim_layers/__init__.pyi +3 -1
- bl_ui/utils/__init__.pyi +3 -1
- bl_ui_utils/__init__.pyi +3 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -1
- bl_ui_utils/layout/__init__.pyi +3 -1
- blend_render_info/__init__.pyi +3 -1
- blf/__init__.pyi +3 -1
- bmesh/__init__.pyi +3 -1
- bmesh/geometry/__init__.pyi +3 -1
- bmesh/ops/__init__.pyi +39 -37
- bmesh/types/__init__.pyi +31 -28
- bmesh/utils/__init__.pyi +3 -1
- bpy/__init__.pyi +3 -1
- bpy/app/__init__.pyi +3 -1
- bpy/app/handlers/__init__.pyi +3 -1
- bpy/app/icons/__init__.pyi +3 -1
- bpy/app/timers/__init__.pyi +9 -15
- bpy/app/translations/__init__.pyi +3 -1
- bpy/msgbus/__init__.pyi +3 -1
- bpy/ops/__init__.pyi +3 -1
- bpy/ops/action/__init__.pyi +35 -33
- bpy/ops/anim/__init__.pyi +33 -31
- bpy/ops/armature/__init__.pyi +23 -21
- bpy/ops/asset/__init__.pyi +9 -7
- bpy/ops/bl_pkg/__init__.pyi +5 -3
- bpy/ops/boid/__init__.pyi +5 -3
- bpy/ops/brush/__init__.pyi +11 -9
- bpy/ops/buttons/__init__.pyi +11 -9
- bpy/ops/cachefile/__init__.pyi +13 -11
- bpy/ops/camera/__init__.pyi +3 -1
- bpy/ops/clip/__init__.pyi +41 -39
- bpy/ops/cloth/__init__.pyi +3 -1
- bpy/ops/collection/__init__.pyi +9 -7
- bpy/ops/console/__init__.pyi +9 -7
- bpy/ops/constraint/__init__.pyi +31 -29
- bpy/ops/curve/__init__.pyi +37 -35
- bpy/ops/curves/__init__.pyi +19 -17
- bpy/ops/cycles/__init__.pyi +3 -1
- bpy/ops/dpaint/__init__.pyi +7 -5
- bpy/ops/ed/__init__.pyi +7 -5
- bpy/ops/export_anim/__init__.pyi +5 -3
- bpy/ops/export_scene/__init__.pyi +41 -39
- bpy/ops/file/__init__.pyi +21 -19
- bpy/ops/fluid/__init__.pyi +3 -1
- bpy/ops/font/__init__.pyi +23 -21
- bpy/ops/geometry/__init__.pyi +23 -21
- bpy/ops/gizmogroup/__init__.pyi +3 -1
- bpy/ops/gpencil/__init__.pyi +135 -133
- bpy/ops/graph/__init__.pyi +57 -55
- bpy/ops/grease_pencil/__init__.pyi +45 -43
- bpy/ops/image/__init__.pyi +31 -29
- bpy/ops/import_anim/__init__.pyi +11 -9
- bpy/ops/import_curve/__init__.pyi +3 -1
- bpy/ops/import_scene/__init__.pyi +21 -19
- bpy/ops/info/__init__.pyi +7 -5
- bpy/ops/lattice/__init__.pyi +9 -7
- bpy/ops/marker/__init__.pyi +11 -9
- bpy/ops/mask/__init__.pyi +15 -13
- bpy/ops/material/__init__.pyi +3 -1
- bpy/ops/mball/__init__.pyi +9 -7
- bpy/ops/mesh/__init__.pyi +147 -145
- bpy/ops/nla/__init__.pyi +19 -17
- bpy/ops/node/__init__.pyi +35 -33
- bpy/ops/object/__init__.pyi +255 -253
- bpy/ops/outliner/__init__.pyi +43 -41
- bpy/ops/paint/__init__.pyi +75 -73
- bpy/ops/paintcurve/__init__.pyi +3 -1
- bpy/ops/palette/__init__.pyi +7 -5
- bpy/ops/particle/__init__.pyi +17 -15
- bpy/ops/pose/__init__.pyi +45 -43
- bpy/ops/poselib/__init__.pyi +3 -1
- bpy/ops/preferences/__init__.pyi +15 -13
- bpy/ops/ptcache/__init__.pyi +3 -1
- bpy/ops/render/__init__.pyi +5 -3
- bpy/ops/rigidbody/__init__.pyi +19 -17
- bpy/ops/scene/__init__.pyi +27 -25
- bpy/ops/screen/__init__.pyi +23 -21
- bpy/ops/script/__init__.pyi +3 -1
- bpy/ops/sculpt/__init__.pyi +69 -67
- bpy/ops/sculpt_curves/__init__.pyi +5 -3
- bpy/ops/sequencer/__init__.pyi +77 -75
- bpy/ops/sound/__init__.pyi +23 -21
- bpy/ops/spreadsheet/__init__.pyi +3 -1
- bpy/ops/surface/__init__.pyi +15 -13
- bpy/ops/text/__init__.pyi +25 -23
- bpy/ops/text_editor/__init__.pyi +3 -1
- bpy/ops/texture/__init__.pyi +5 -3
- bpy/ops/transform/__init__.pyi +91 -89
- bpy/ops/ui/__init__.pyi +9 -7
- bpy/ops/uilist/__init__.pyi +5 -3
- bpy/ops/uv/__init__.pyi +69 -67
- bpy/ops/view2d/__init__.pyi +3 -1
- bpy/ops/view3d/__init__.pyi +37 -35
- bpy/ops/wm/__init__.pyi +199 -197
- bpy/ops/workspace/__init__.pyi +3 -1
- bpy/ops/world/__init__.pyi +3 -1
- bpy/path/__init__.pyi +3 -1
- bpy/props/__init__.pyi +3 -1
- bpy/types/__init__.pyi +3448 -3370
- bpy/utils/__init__.pyi +3 -1
- bpy/utils/previews/__init__.pyi +3 -1
- bpy/utils/units/__init__.pyi +3 -1
- bpy_extras/__init__.pyi +3 -1
- bpy_extras/anim_utils/__init__.pyi +3 -1
- bpy_extras/asset_utils/__init__.pyi +3 -1
- bpy_extras/bmesh_utils/__init__.pyi +3 -1
- bpy_extras/extensions/__init__.pyi +3 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -1
- bpy_extras/image_utils/__init__.pyi +3 -1
- bpy_extras/io_utils/__init__.pyi +3 -1
- bpy_extras/keyconfig_utils/__init__.pyi +3 -1
- bpy_extras/mesh_utils/__init__.pyi +3 -1
- bpy_extras/node_shader_utils/__init__.pyi +3 -1
- bpy_extras/node_utils/__init__.pyi +3 -1
- bpy_extras/object_utils/__init__.pyi +3 -1
- bpy_extras/view3d_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +3 -1
- bpy_restrict_state/__init__.pyi +3 -1
- bpy_types/__init__.pyi +3 -1
- console_python/__init__.pyi +3 -1
- console_shell/__init__.pyi +3 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
- fake_bpy_module-20240520.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +3 -1
- freestyle/chainingiterators/__init__.pyi +3 -1
- freestyle/functions/__init__.pyi +3 -1
- freestyle/predicates/__init__.pyi +3 -1
- freestyle/shaders/__init__.pyi +3 -1
- freestyle/types/__init__.pyi +3 -1
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +3 -1
- gpu/__init__.pyi +3 -1
- gpu/capabilities/__init__.pyi +3 -1
- gpu/matrix/__init__.pyi +3 -1
- gpu/platform/__init__.pyi +3 -1
- gpu/select/__init__.pyi +3 -1
- gpu/shader/__init__.pyi +3 -1
- gpu/state/__init__.pyi +3 -1
- gpu/texture/__init__.pyi +3 -1
- gpu/types/__init__.pyi +3 -1
- gpu_extras/__init__.pyi +3 -1
- gpu_extras/batch/__init__.pyi +3 -1
- gpu_extras/presets/__init__.pyi +3 -1
- graphviz_export/__init__.pyi +3 -1
- idprop/__init__.pyi +3 -1
- idprop/types/__init__.pyi +3 -1
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -1
- keyingsets_builtins/__init__.pyi +3 -1
- keyingsets_utils/__init__.pyi +3 -1
- mathutils/__init__.pyi +5 -2
- mathutils/bvhtree/__init__.pyi +3 -1
- mathutils/geometry/__init__.pyi +3 -1
- mathutils/interpolate/__init__.pyi +3 -1
- mathutils/kdtree/__init__.pyi +3 -1
- mathutils/noise/__init__.pyi +3 -1
- nodeitems_builtins/__init__.pyi +3 -1
- nodeitems_utils/__init__.pyi +3 -1
- rna_info/__init__.pyi +3 -1
- rna_keymap_ui/__init__.pyi +3 -1
- rna_prop_ui/__init__.pyi +3 -1
- rna_xml/__init__.pyi +3 -1
- sys_info/__init__.pyi +3 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
bmesh/ops/__init__.pyi
CHANGED
|
@@ -14,11 +14,13 @@ This script shows how operators can be used to model a link of a chain.
|
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
16
|
import typing
|
|
17
|
+
import collections.abc
|
|
17
18
|
import bmesh.types
|
|
18
19
|
import bpy.types
|
|
19
20
|
import mathutils
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
23
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
22
24
|
|
|
23
25
|
def average_vert_facedata(bm: bmesh.types.BMesh, verts: list[bmesh.types.BMVert] = []):
|
|
24
26
|
"""Average Vertices Face-vert Data.Merge uv/vcols associated with the input vertices at
|
|
@@ -38,7 +40,7 @@ def beautify_fill(
|
|
|
38
40
|
faces: list[bmesh.types.BMFace] = [],
|
|
39
41
|
edges: list[bmesh.types.BMEdge] = [],
|
|
40
42
|
use_restrict_tag: bool = False,
|
|
41
|
-
method: str
|
|
43
|
+
method: str = "AREA",
|
|
42
44
|
) -> dict[str, typing.Any]:
|
|
43
45
|
"""Beautify Fill.Rotate edges to create more evenly spaced triangles.
|
|
44
46
|
|
|
@@ -51,7 +53,7 @@ def beautify_fill(
|
|
|
51
53
|
:param use_restrict_tag: restrict edge rotation to mixed tagged vertices
|
|
52
54
|
:type use_restrict_tag: bool
|
|
53
55
|
:param method: method to define what is beautiful
|
|
54
|
-
:type method: str
|
|
56
|
+
:type method: str
|
|
55
57
|
:return: geom: new flipped faces and edges
|
|
56
58
|
|
|
57
59
|
type list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
@@ -66,23 +68,23 @@ def bevel(
|
|
|
66
68
|
| list[bmesh.types.BMEdge]
|
|
67
69
|
| list[bmesh.types.BMFace] = [],
|
|
68
70
|
offset: float = 0,
|
|
69
|
-
offset_type: str
|
|
70
|
-
profile_type: str
|
|
71
|
+
offset_type: str = "OFFSET",
|
|
72
|
+
profile_type: str = "SUPERELLIPSE",
|
|
71
73
|
segments: int = 0,
|
|
72
74
|
profile: float = 0,
|
|
73
|
-
affect: str
|
|
75
|
+
affect: str = "VERTICES",
|
|
74
76
|
clamp_overlap: bool = False,
|
|
75
77
|
material: int = 0,
|
|
76
78
|
loop_slide: bool = False,
|
|
77
79
|
mark_seam: bool = False,
|
|
78
80
|
mark_sharp: bool = False,
|
|
79
81
|
harden_normals: bool = False,
|
|
80
|
-
face_strength_mode: str
|
|
81
|
-
miter_outer: str
|
|
82
|
-
miter_inner: str
|
|
82
|
+
face_strength_mode: str = "NONE",
|
|
83
|
+
miter_outer: str = "SHARP",
|
|
84
|
+
miter_inner: str = "SHARP",
|
|
83
85
|
spread: float = 0,
|
|
84
86
|
custom_profile: bpy.types.bpy_struct = None,
|
|
85
|
-
vmesh_method: str
|
|
87
|
+
vmesh_method: str = "ADJ",
|
|
86
88
|
) -> dict[str, typing.Any]:
|
|
87
89
|
"""Bevel.Bevels edges and vertices
|
|
88
90
|
|
|
@@ -93,15 +95,15 @@ def bevel(
|
|
|
93
95
|
:param offset: amount to offset beveled edge
|
|
94
96
|
:type offset: float
|
|
95
97
|
:param offset_type: how to measure the offset
|
|
96
|
-
:type offset_type: str
|
|
98
|
+
:type offset_type: str
|
|
97
99
|
:param profile_type: The profile type to use for bevel.
|
|
98
|
-
:type profile_type: str
|
|
100
|
+
:type profile_type: str
|
|
99
101
|
:param segments: number of segments in bevel
|
|
100
102
|
:type segments: int
|
|
101
103
|
:param profile: profile shape, 0->1 (.5=>round)
|
|
102
104
|
:type profile: float
|
|
103
105
|
:param affect: Whether to bevel vertices or edges.
|
|
104
|
-
:type affect: str
|
|
106
|
+
:type affect: str
|
|
105
107
|
:param clamp_overlap: do not allow beveled edges/vertices to overlap each other
|
|
106
108
|
:type clamp_overlap: bool
|
|
107
109
|
:param material: material for bevel faces, -1 means get from adjacent faces
|
|
@@ -115,17 +117,17 @@ def bevel(
|
|
|
115
117
|
:param harden_normals: harden normals
|
|
116
118
|
:type harden_normals: bool
|
|
117
119
|
:param face_strength_mode: whether to set face strength, and which faces to set if so
|
|
118
|
-
:type face_strength_mode: str
|
|
120
|
+
:type face_strength_mode: str
|
|
119
121
|
:param miter_outer: outer miter kind
|
|
120
|
-
:type miter_outer: str
|
|
122
|
+
:type miter_outer: str
|
|
121
123
|
:param miter_inner: outer miter kind
|
|
122
|
-
:type miter_inner: str
|
|
124
|
+
:type miter_inner: str
|
|
123
125
|
:param spread: amount to offset beveled edge
|
|
124
126
|
:type spread: float
|
|
125
127
|
:param custom_profile: CurveProfile, if None ignored
|
|
126
128
|
:type custom_profile: bpy.types.bpy_struct
|
|
127
129
|
:param vmesh_method: The method to use to create meshes at intersections.
|
|
128
|
-
:type vmesh_method: str
|
|
130
|
+
:type vmesh_method: str
|
|
129
131
|
:return: faces: output faces
|
|
130
132
|
|
|
131
133
|
type list of (`bmesh.types.BMFace`)
|
|
@@ -679,7 +681,7 @@ def delete(
|
|
|
679
681
|
geom: list[bmesh.types.BMVert]
|
|
680
682
|
| list[bmesh.types.BMEdge]
|
|
681
683
|
| list[bmesh.types.BMFace] = [],
|
|
682
|
-
context: str
|
|
684
|
+
context: str = "VERTS",
|
|
683
685
|
):
|
|
684
686
|
"""Delete Geometry.Utility operator to delete geometry.
|
|
685
687
|
|
|
@@ -688,7 +690,7 @@ def delete(
|
|
|
688
690
|
:param geom: input geometry
|
|
689
691
|
:type geom: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
|
|
690
692
|
:param context: geometry types to delete
|
|
691
|
-
:type context: str
|
|
693
|
+
:type context: str
|
|
692
694
|
"""
|
|
693
695
|
|
|
694
696
|
...
|
|
@@ -1287,7 +1289,7 @@ def mirror(
|
|
|
1287
1289
|
| list[bmesh.types.BMFace] = [],
|
|
1288
1290
|
matrix: typing.Sequence[float] | mathutils.Matrix = None(4),
|
|
1289
1291
|
merge_dist: float = 0,
|
|
1290
|
-
axis: str
|
|
1292
|
+
axis: str = "X",
|
|
1291
1293
|
mirror_u: bool = False,
|
|
1292
1294
|
mirror_v: bool = False,
|
|
1293
1295
|
mirror_udim: bool = False,
|
|
@@ -1306,7 +1308,7 @@ def mirror(
|
|
|
1306
1308
|
:param merge_dist: maximum distance for merging. does no merging if 0.
|
|
1307
1309
|
:type merge_dist: float
|
|
1308
1310
|
:param axis: the axis to use.
|
|
1309
|
-
:type axis: str
|
|
1311
|
+
:type axis: str
|
|
1310
1312
|
:param mirror_u: mirror UVs across the u axis
|
|
1311
1313
|
:type mirror_u: bool
|
|
1312
1314
|
:param mirror_v: mirror UVs across the v axis
|
|
@@ -1422,7 +1424,7 @@ def poke(
|
|
|
1422
1424
|
bm: bmesh.types.BMesh,
|
|
1423
1425
|
faces: list[bmesh.types.BMFace] = [],
|
|
1424
1426
|
offset: float = 0,
|
|
1425
|
-
center_mode: str
|
|
1427
|
+
center_mode: str = "MEAN_WEIGHTED",
|
|
1426
1428
|
use_relative_offset: bool = False,
|
|
1427
1429
|
) -> dict[str, typing.Any]:
|
|
1428
1430
|
"""Pokes a face.Splits a face into a triangle fan.
|
|
@@ -1434,7 +1436,7 @@ def poke(
|
|
|
1434
1436
|
:param offset: center vertex offset along normal
|
|
1435
1437
|
:type offset: float
|
|
1436
1438
|
:param center_mode: calculation mode for center vertex
|
|
1437
|
-
:type center_mode: str
|
|
1439
|
+
:type center_mode: str
|
|
1438
1440
|
:param use_relative_offset: apply offset
|
|
1439
1441
|
:type use_relative_offset: bool
|
|
1440
1442
|
:return: verts: output verts
|
|
@@ -1860,10 +1862,10 @@ def split_edges(
|
|
|
1860
1862
|
def subdivide_edgering(
|
|
1861
1863
|
bm: bmesh.types.BMesh,
|
|
1862
1864
|
edges: list[bmesh.types.BMEdge] = [],
|
|
1863
|
-
interp_mode: str
|
|
1865
|
+
interp_mode: str = "LINEAR",
|
|
1864
1866
|
smooth: float = 0,
|
|
1865
1867
|
cuts: int = 0,
|
|
1866
|
-
profile_shape: str
|
|
1868
|
+
profile_shape: str = "SMOOTH",
|
|
1867
1869
|
profile_shape_factor: float = 0,
|
|
1868
1870
|
) -> dict[str, typing.Any]:
|
|
1869
1871
|
"""Subdivide Edge-Ring.Take an edge-ring, and subdivide with interpolation options.
|
|
@@ -1873,13 +1875,13 @@ def subdivide_edgering(
|
|
|
1873
1875
|
:param edges: input vertices
|
|
1874
1876
|
:type edges: list[bmesh.types.BMEdge]
|
|
1875
1877
|
:param interp_mode: interpolation method
|
|
1876
|
-
:type interp_mode: str
|
|
1878
|
+
:type interp_mode: str
|
|
1877
1879
|
:param smooth: smoothness factor
|
|
1878
1880
|
:type smooth: float
|
|
1879
1881
|
:param cuts: number of cuts
|
|
1880
1882
|
:type cuts: int
|
|
1881
1883
|
:param profile_shape: profile shape type
|
|
1882
|
-
:type profile_shape: str
|
|
1884
|
+
:type profile_shape: str
|
|
1883
1885
|
:param profile_shape_factor: how much intermediary new edges are shrunk/expanded
|
|
1884
1886
|
:type profile_shape_factor: float
|
|
1885
1887
|
:return: faces: output faces
|
|
@@ -1894,14 +1896,14 @@ def subdivide_edges(
|
|
|
1894
1896
|
bm: bmesh.types.BMesh,
|
|
1895
1897
|
edges: list[bmesh.types.BMEdge] = [],
|
|
1896
1898
|
smooth: float = 0,
|
|
1897
|
-
smooth_falloff: str
|
|
1899
|
+
smooth_falloff: str = "SMOOTH",
|
|
1898
1900
|
fractal: float = 0,
|
|
1899
1901
|
along_normal: float = 0,
|
|
1900
1902
|
cuts: int = 0,
|
|
1901
1903
|
seed: int = 0,
|
|
1902
1904
|
custom_patterns={},
|
|
1903
1905
|
edge_percents={},
|
|
1904
|
-
quad_corner_type: str
|
|
1906
|
+
quad_corner_type: str = "STRAIGHT_CUT",
|
|
1905
1907
|
use_grid_fill: bool = False,
|
|
1906
1908
|
use_single_edge: bool = False,
|
|
1907
1909
|
use_only_quads: bool = False,
|
|
@@ -1918,7 +1920,7 @@ def subdivide_edges(
|
|
|
1918
1920
|
:param smooth: smoothness factor
|
|
1919
1921
|
:type smooth: float
|
|
1920
1922
|
:param smooth_falloff: smooth falloff type
|
|
1921
|
-
:type smooth_falloff: str
|
|
1923
|
+
:type smooth_falloff: str
|
|
1922
1924
|
:param fractal: fractal randomness factor
|
|
1923
1925
|
:type fractal: float
|
|
1924
1926
|
:param along_normal: apply fractal displacement along normal only
|
|
@@ -1930,7 +1932,7 @@ def subdivide_edges(
|
|
|
1930
1932
|
:param custom_patterns: uses custom pointers
|
|
1931
1933
|
:param edge_percents: Undocumented.
|
|
1932
1934
|
:param quad_corner_type: quad corner type
|
|
1933
|
-
:type quad_corner_type: str
|
|
1935
|
+
:type quad_corner_type: str
|
|
1934
1936
|
:param use_grid_fill: fill in fully-selected faces with a grid
|
|
1935
1937
|
:type use_grid_fill: bool
|
|
1936
1938
|
:param use_single_edge: tessellate the case of one edge selected in a quad or triangle
|
|
@@ -1962,7 +1964,7 @@ def symmetrize(
|
|
|
1962
1964
|
input: list[bmesh.types.BMVert]
|
|
1963
1965
|
| list[bmesh.types.BMEdge]
|
|
1964
1966
|
| list[bmesh.types.BMFace] = [],
|
|
1965
|
-
direction: str
|
|
1967
|
+
direction: str = "-X",
|
|
1966
1968
|
dist: float = 0,
|
|
1967
1969
|
use_shapekey: bool = False,
|
|
1968
1970
|
) -> dict[str, typing.Any]:
|
|
@@ -1976,7 +1978,7 @@ def symmetrize(
|
|
|
1976
1978
|
:param input: input geometry
|
|
1977
1979
|
:type input: list[bmesh.types.BMVert] | list[bmesh.types.BMEdge] | list[bmesh.types.BMFace]
|
|
1978
1980
|
:param direction: axis to use
|
|
1979
|
-
:type direction: str
|
|
1981
|
+
:type direction: str
|
|
1980
1982
|
:param dist: minimum distance
|
|
1981
1983
|
:type dist: float
|
|
1982
1984
|
:param use_shapekey: Transform shape keys too.
|
|
@@ -2066,8 +2068,8 @@ def triangle_fill(
|
|
|
2066
2068
|
def triangulate(
|
|
2067
2069
|
bm: bmesh.types.BMesh,
|
|
2068
2070
|
faces: list[bmesh.types.BMFace] = [],
|
|
2069
|
-
quad_method: str
|
|
2070
|
-
ngon_method: str
|
|
2071
|
+
quad_method: str = "BEAUTY",
|
|
2072
|
+
ngon_method: str = "BEAUTY",
|
|
2071
2073
|
) -> dict[str, typing.Any]:
|
|
2072
2074
|
"""Triangulate.
|
|
2073
2075
|
|
|
@@ -2076,9 +2078,9 @@ def triangulate(
|
|
|
2076
2078
|
:param faces: input faces
|
|
2077
2079
|
:type faces: list[bmesh.types.BMFace]
|
|
2078
2080
|
:param quad_method: method for splitting the quads into triangles
|
|
2079
|
-
:type quad_method: str
|
|
2081
|
+
:type quad_method: str
|
|
2080
2082
|
:param ngon_method: method for splitting the polygons into triangles
|
|
2081
|
-
:type ngon_method: str
|
|
2083
|
+
:type ngon_method: str
|
|
2082
2084
|
:return: edges:
|
|
2083
2085
|
|
|
2084
2086
|
type list of (`bmesh.types.BMEdge`)
|
bmesh/types/__init__.pyi
CHANGED
|
@@ -20,10 +20,12 @@
|
|
|
20
20
|
"""
|
|
21
21
|
|
|
22
22
|
import typing
|
|
23
|
+
import collections.abc
|
|
23
24
|
import bpy.types
|
|
24
25
|
import mathutils
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
28
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
27
29
|
|
|
28
30
|
class BMDeformVert:
|
|
29
31
|
def clear(self):
|
|
@@ -324,19 +326,19 @@ class BMEdgeSeq:
|
|
|
324
326
|
"""
|
|
325
327
|
...
|
|
326
328
|
|
|
327
|
-
def __iter__(self) -> typing.Iterator[
|
|
329
|
+
def __iter__(self) -> typing.Iterator[GenericType1]:
|
|
328
330
|
"""
|
|
329
331
|
|
|
330
332
|
:return:
|
|
331
|
-
:rtype: typing.Iterator[
|
|
333
|
+
:rtype: typing.Iterator[GenericType1]
|
|
332
334
|
"""
|
|
333
335
|
...
|
|
334
336
|
|
|
335
|
-
def __next__(self) ->
|
|
337
|
+
def __next__(self) -> GenericType1:
|
|
336
338
|
"""
|
|
337
339
|
|
|
338
340
|
:return:
|
|
339
|
-
:rtype:
|
|
341
|
+
:rtype: GenericType1
|
|
340
342
|
"""
|
|
341
343
|
...
|
|
342
344
|
|
|
@@ -396,49 +398,49 @@ class BMElemSeq:
|
|
|
396
398
|
"""Initialize the index values of this sequence.This is the equivalent of looping over all elements and assigning the index values."""
|
|
397
399
|
...
|
|
398
400
|
|
|
399
|
-
def __getitem__(self, key: int) ->
|
|
401
|
+
def __getitem__(self, key: int) -> GenericType1:
|
|
400
402
|
"""
|
|
401
403
|
|
|
402
404
|
:param key:
|
|
403
405
|
:type key: int
|
|
404
406
|
:return:
|
|
405
|
-
:rtype:
|
|
407
|
+
:rtype: GenericType1
|
|
406
408
|
"""
|
|
407
409
|
...
|
|
408
410
|
|
|
409
|
-
def __setitem__(self, key: int, value:
|
|
411
|
+
def __setitem__(self, key: int, value: GenericType1):
|
|
410
412
|
"""
|
|
411
413
|
|
|
412
414
|
:param key:
|
|
413
415
|
:type key: int
|
|
414
416
|
:param value:
|
|
415
|
-
:type value:
|
|
417
|
+
:type value: GenericType1
|
|
416
418
|
"""
|
|
417
419
|
...
|
|
418
420
|
|
|
419
|
-
def __delitem__(self, key: int) ->
|
|
421
|
+
def __delitem__(self, key: int) -> GenericType1:
|
|
420
422
|
"""
|
|
421
423
|
|
|
422
424
|
:param key:
|
|
423
425
|
:type key: int
|
|
424
426
|
:return:
|
|
425
|
-
:rtype:
|
|
427
|
+
:rtype: GenericType1
|
|
426
428
|
"""
|
|
427
429
|
...
|
|
428
430
|
|
|
429
|
-
def __iter__(self) -> typing.Iterator[
|
|
431
|
+
def __iter__(self) -> typing.Iterator[GenericType1]:
|
|
430
432
|
"""
|
|
431
433
|
|
|
432
434
|
:return:
|
|
433
|
-
:rtype: typing.Iterator[
|
|
435
|
+
:rtype: typing.Iterator[GenericType1]
|
|
434
436
|
"""
|
|
435
437
|
...
|
|
436
438
|
|
|
437
|
-
def __next__(self) ->
|
|
439
|
+
def __next__(self) -> GenericType1:
|
|
438
440
|
"""
|
|
439
441
|
|
|
440
442
|
:return:
|
|
441
|
-
:rtype:
|
|
443
|
+
:rtype: GenericType1
|
|
442
444
|
"""
|
|
443
445
|
...
|
|
444
446
|
|
|
@@ -740,19 +742,19 @@ class BMFaceSeq:
|
|
|
740
742
|
"""
|
|
741
743
|
...
|
|
742
744
|
|
|
743
|
-
def __iter__(self) -> typing.Iterator[
|
|
745
|
+
def __iter__(self) -> typing.Iterator[GenericType1]:
|
|
744
746
|
"""
|
|
745
747
|
|
|
746
748
|
:return:
|
|
747
|
-
:rtype: typing.Iterator[
|
|
749
|
+
:rtype: typing.Iterator[GenericType1]
|
|
748
750
|
"""
|
|
749
751
|
...
|
|
750
752
|
|
|
751
|
-
def __next__(self) ->
|
|
753
|
+
def __next__(self) -> GenericType1:
|
|
752
754
|
"""
|
|
753
755
|
|
|
754
756
|
:return:
|
|
755
|
-
:rtype:
|
|
757
|
+
:rtype: GenericType1
|
|
756
758
|
"""
|
|
757
759
|
...
|
|
758
760
|
|
|
@@ -1130,19 +1132,19 @@ class BMLoopSeq:
|
|
|
1130
1132
|
"""
|
|
1131
1133
|
...
|
|
1132
1134
|
|
|
1133
|
-
def __iter__(self) -> typing.Iterator[
|
|
1135
|
+
def __iter__(self) -> typing.Iterator[GenericType1]:
|
|
1134
1136
|
"""
|
|
1135
1137
|
|
|
1136
1138
|
:return:
|
|
1137
|
-
:rtype: typing.Iterator[
|
|
1139
|
+
:rtype: typing.Iterator[GenericType1]
|
|
1138
1140
|
"""
|
|
1139
1141
|
...
|
|
1140
1142
|
|
|
1141
|
-
def __next__(self) ->
|
|
1143
|
+
def __next__(self) -> GenericType1:
|
|
1142
1144
|
"""
|
|
1143
1145
|
|
|
1144
1146
|
:return:
|
|
1145
|
-
:rtype:
|
|
1147
|
+
:rtype: GenericType1
|
|
1146
1148
|
"""
|
|
1147
1149
|
...
|
|
1148
1150
|
|
|
@@ -1408,19 +1410,19 @@ class BMVertSeq:
|
|
|
1408
1410
|
"""
|
|
1409
1411
|
...
|
|
1410
1412
|
|
|
1411
|
-
def __iter__(self) -> typing.Iterator[
|
|
1413
|
+
def __iter__(self) -> typing.Iterator[GenericType1]:
|
|
1412
1414
|
"""
|
|
1413
1415
|
|
|
1414
1416
|
:return:
|
|
1415
|
-
:rtype: typing.Iterator[
|
|
1417
|
+
:rtype: typing.Iterator[GenericType1]
|
|
1416
1418
|
"""
|
|
1417
1419
|
...
|
|
1418
1420
|
|
|
1419
|
-
def __next__(self) ->
|
|
1421
|
+
def __next__(self) -> GenericType1:
|
|
1420
1422
|
"""
|
|
1421
1423
|
|
|
1422
1424
|
:return:
|
|
1423
|
-
:rtype:
|
|
1425
|
+
:rtype: GenericType1
|
|
1424
1426
|
"""
|
|
1425
1427
|
...
|
|
1426
1428
|
|
|
@@ -1583,10 +1585,11 @@ class BMesh:
|
|
|
1583
1585
|
"""
|
|
1584
1586
|
...
|
|
1585
1587
|
|
|
1586
|
-
def transform(self, matrix, filter: set = None):
|
|
1588
|
+
def transform(self, matrix: mathutils.Matrix, filter: set = None):
|
|
1587
1589
|
"""Transform the mesh (optionally filtering flagged data only).
|
|
1588
1590
|
|
|
1589
1591
|
:param matrix: transform matrix.
|
|
1592
|
+
:type matrix: mathutils.Matrix
|
|
1590
1593
|
:param filter: set of values in ('SELECT', 'HIDE', 'SEAM', 'SMOOTH', 'TAG').
|
|
1591
1594
|
:type filter: set
|
|
1592
1595
|
"""
|
bmesh/utils/__init__.pyi
CHANGED
|
@@ -4,9 +4,11 @@ This module provides access to blenders bmesh data structures.
|
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
import typing
|
|
7
|
+
import collections.abc
|
|
7
8
|
import bmesh.types
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
11
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
12
|
|
|
11
13
|
def edge_rotate(edge: bmesh.types.BMEdge, ccw: bool = False) -> bmesh.types.BMEdge:
|
|
12
14
|
"""Rotate the edge and return the newly created edge.
|
bpy/__init__.pyi
CHANGED
|
@@ -6,6 +6,7 @@ This module is used for all Blender/Python access.
|
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
8
|
import typing
|
|
9
|
+
import collections.abc
|
|
9
10
|
import bpy.types
|
|
10
11
|
|
|
11
12
|
from . import app
|
|
@@ -16,7 +17,8 @@ from . import props
|
|
|
16
17
|
from . import types
|
|
17
18
|
from . import utils
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
21
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
20
22
|
context: bpy.types.Context
|
|
21
23
|
|
|
22
24
|
data: bpy.types.BlendData
|
bpy/app/__init__.pyi
CHANGED
|
@@ -12,12 +12,14 @@ bpy.app.timers.rst
|
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
14
|
import typing
|
|
15
|
+
import collections.abc
|
|
15
16
|
from . import handlers
|
|
16
17
|
from . import icons
|
|
17
18
|
from . import timers
|
|
18
19
|
from . import translations
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
22
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
21
23
|
|
|
22
24
|
def help_text(all: bool | None = False):
|
|
23
25
|
"""Return the help text as a string.
|
bpy/app/handlers/__init__.pyi
CHANGED
|
@@ -40,9 +40,11 @@ Below is an example of a mesh that is altered from a handler:
|
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
42
|
import typing
|
|
43
|
+
import collections.abc
|
|
43
44
|
import bpy.types
|
|
44
45
|
|
|
45
|
-
|
|
46
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
47
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
46
48
|
animation_playback_post: list[typing.Callable[[bpy.types.Scene, None]]]
|
|
47
49
|
""" on ending animation playback
|
|
48
50
|
"""
|
bpy/app/icons/__init__.pyi
CHANGED
bpy/app/timers/__init__.pyi
CHANGED
|
@@ -31,25 +31,23 @@ Pythons queue.Queue can be used here, because it implements the required locking
|
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
33
|
import typing
|
|
34
|
+
import collections.abc
|
|
34
35
|
|
|
35
|
-
|
|
36
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
37
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
36
38
|
|
|
37
|
-
def is_registered(function:
|
|
39
|
+
def is_registered(function: typing.Callable[[], float]) -> bool:
|
|
38
40
|
"""Check if this function is registered as a timer.
|
|
39
41
|
|
|
40
42
|
:param function: Function to check.
|
|
41
|
-
:type function:
|
|
43
|
+
:type function: typing.Callable[[], float]
|
|
42
44
|
:return: True when this function is registered, otherwise False.
|
|
43
45
|
:rtype: bool
|
|
44
46
|
"""
|
|
45
47
|
|
|
46
48
|
...
|
|
47
49
|
|
|
48
|
-
def register(
|
|
49
|
-
function: typing.Callable | None,
|
|
50
|
-
first_interval: float | None = 0,
|
|
51
|
-
persistent: bool | None = False,
|
|
52
|
-
):
|
|
50
|
+
def register(function: typing.Callable[[], float]):
|
|
53
51
|
"""Add a new function that will be called after the specified amount of seconds.
|
|
54
52
|
The function gets no arguments and is expected to return either None or a float.
|
|
55
53
|
If None is returned, the timer will be unregistered.
|
|
@@ -57,20 +55,16 @@ def register(
|
|
|
57
55
|
functools.partial can be used to assign some parameters.
|
|
58
56
|
|
|
59
57
|
:param function: The function that should called.
|
|
60
|
-
:type function: typing.Callable
|
|
61
|
-
:param first_interval: Seconds until the callback should be called the first time.
|
|
62
|
-
:type first_interval: float | None
|
|
63
|
-
:param persistent: Don't remove timer when a new file is loaded.
|
|
64
|
-
:type persistent: bool | None
|
|
58
|
+
:type function: typing.Callable[[], float]
|
|
65
59
|
"""
|
|
66
60
|
|
|
67
61
|
...
|
|
68
62
|
|
|
69
|
-
def unregister(function: typing.
|
|
63
|
+
def unregister(function: typing.Callable[[], float]):
|
|
70
64
|
"""Unregister timer.
|
|
71
65
|
|
|
72
66
|
:param function: Function to unregister.
|
|
73
|
-
:type function: typing.
|
|
67
|
+
:type function: typing.Callable[[], float]
|
|
74
68
|
"""
|
|
75
69
|
|
|
76
70
|
...
|
|
@@ -57,8 +57,10 @@ for more info.
|
|
|
57
57
|
"""
|
|
58
58
|
|
|
59
59
|
import typing
|
|
60
|
+
import collections.abc
|
|
60
61
|
|
|
61
|
-
|
|
62
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
63
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
62
64
|
|
|
63
65
|
def locale_explode(locale):
|
|
64
66
|
"""Return all components and their combinations of the given ISO locale string.For non-complete locales, missing elements will be None.
|
bpy/msgbus/__init__.pyi
CHANGED
|
@@ -45,8 +45,10 @@ see bpy.app.handlers.load_post.
|
|
|
45
45
|
"""
|
|
46
46
|
|
|
47
47
|
import typing
|
|
48
|
+
import collections.abc
|
|
48
49
|
|
|
49
|
-
|
|
50
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
51
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
50
52
|
|
|
51
53
|
def clear_by_owner(owner):
|
|
52
54
|
"""Clear all subscribers using this owner."""
|
bpy/ops/__init__.pyi
CHANGED
|
@@ -150,6 +150,7 @@ bpy.ops.*
|
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
import typing
|
|
153
|
+
import collections.abc
|
|
153
154
|
from . import action
|
|
154
155
|
from . import anim
|
|
155
156
|
from . import armature
|
|
@@ -227,4 +228,5 @@ from . import wm
|
|
|
227
228
|
from . import workspace
|
|
228
229
|
from . import world
|
|
229
230
|
|
|
230
|
-
|
|
231
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
232
|
+
GenericType2 = typing.TypeVar("GenericType2")
|