fake-bpy-module 20240914__py3-none-any.whl → 20240916__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 +2 -2
- _bpy_internal/addons/__init__.pyi +2 -2
- _bpy_internal/addons/cli/__init__.pyi +2 -2
- _bpy_internal/extensions/__init__.pyi +2 -2
- _bpy_internal/extensions/junction_module/__init__.pyi +2 -8
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +2 -6
- _bpy_internal/extensions/wheel_manager/__init__.pyi +2 -6
- _bpy_internal/freedesktop/__init__.pyi +2 -2
- _bpy_internal/grease_pencil/__init__.pyi +2 -2
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -16
- _bpy_internal/system_info/__init__.pyi +2 -2
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -2
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -2
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
- addon_utils/__init__.pyi +2 -12
- animsys_refactor/__init__.pyi +2 -3
- aud/__init__.pyi +2 -71
- bgl/__init__.pyi +2 -526
- bl_app_override/__init__.pyi +2 -2
- bl_app_override/helpers/__init__.pyi +2 -2
- bl_app_template_utils/__init__.pyi +2 -4
- bl_console_utils/__init__.pyi +2 -2
- bl_console_utils/autocomplete/__init__.pyi +2 -2
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -12
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -8
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -12
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -6
- bl_i18n_utils/__init__.pyi +2 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +2 -6
- bl_i18n_utils/merge_po/__init__.pyi +2 -2
- bl_i18n_utils/settings/__init__.pyi +2 -6
- bl_i18n_utils/utils/__init__.pyi +2 -45
- bl_i18n_utils/utils_cli/__init__.pyi +2 -2
- bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -6
- bl_keymap_utils/__init__.pyi +2 -2
- bl_keymap_utils/io/__init__.pyi +2 -4
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -4
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -4
- bl_keymap_utils/versioning/__init__.pyi +2 -2
- bl_math/__init__.pyi +2 -8
- bl_operators/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +2 -8
- bl_operators/anim/__init__.pyi +2 -48
- bl_operators/assets/__init__.pyi +2 -17
- bl_operators/bmesh/__init__.pyi +2 -2
- bl_operators/bmesh/find_adjacent/__init__.pyi +2 -6
- bl_operators/bone_selection_sets/__init__.pyi +2 -46
- bl_operators/clip/__init__.pyi +2 -43
- bl_operators/connect_to_output/__init__.pyi +2 -18
- bl_operators/console/__init__.pyi +2 -22
- bl_operators/constraint/__init__.pyi +2 -18
- bl_operators/file/__init__.pyi +2 -14
- bl_operators/freestyle/__init__.pyi +2 -19
- bl_operators/geometry_nodes/__init__.pyi +2 -21
- bl_operators/image/__init__.pyi +2 -19
- bl_operators/image_as_planes/__init__.pyi +2 -43
- bl_operators/mesh/__init__.pyi +2 -15
- bl_operators/node/__init__.pyi +2 -41
- bl_operators/node_editor/__init__.pyi +2 -2
- bl_operators/node_editor/node_functions/__init__.pyi +2 -3
- bl_operators/object/__init__.pyi +2 -63
- bl_operators/object_align/__init__.pyi +2 -6
- bl_operators/object_quick_effects/__init__.pyi +2 -18
- bl_operators/object_randomize_transform/__init__.pyi +2 -6
- bl_operators/presets/__init__.pyi +2 -70
- bl_operators/rigidbody/__init__.pyi +2 -15
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -5
- bl_operators/sequencer/__init__.pyi +2 -36
- bl_operators/spreadsheet/__init__.pyi +2 -8
- bl_operators/userpref/__init__.pyi +2 -93
- bl_operators/uvcalc_follow_active/__init__.pyi +2 -7
- bl_operators/uvcalc_lightmap/__init__.pyi +2 -11
- bl_operators/uvcalc_transform/__init__.pyi +2 -19
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -6
- bl_operators/view3d/__init__.pyi +2 -37
- bl_operators/wm/__init__.pyi +2 -168
- bl_operators/world/__init__.pyi +2 -6
- bl_previews_utils/__init__.pyi +2 -2
- bl_previews_utils/bl_previews_render/__init__.pyi +2 -2
- bl_rna_utils/__init__.pyi +2 -2
- bl_rna_utils/data_path/__init__.pyi +2 -6
- bl_text_utils/__init__.pyi +2 -2
- bl_text_utils/external_editor/__init__.pyi +2 -2
- bl_ui/__init__.pyi +2 -11
- bl_ui/anim/__init__.pyi +2 -5
- bl_ui/asset_shelf/__init__.pyi +2 -6
- bl_ui/generic_ui_list/__init__.pyi +2 -16
- bl_ui/node_add_menu/__init__.pyi +2 -11
- bl_ui/node_add_menu_compositor/__init__.pyi +2 -53
- bl_ui/node_add_menu_geometry/__init__.pyi +2 -152
- bl_ui/node_add_menu_shader/__init__.pyi +2 -31
- bl_ui/node_add_menu_texture/__init__.pyi +2 -29
- bl_ui/properties_animviz/__init__.pyi +2 -4
- bl_ui/properties_collection/__init__.pyi +2 -20
- bl_ui/properties_constraint/__init__.pyi +2 -288
- bl_ui/properties_data_armature/__init__.pyi +2 -60
- bl_ui/properties_data_bone/__init__.pyi +2 -42
- bl_ui/properties_data_camera/__init__.pyi +2 -51
- bl_ui/properties_data_curve/__init__.pyi +2 -58
- bl_ui/properties_data_curves/__init__.pyi +2 -24
- bl_ui/properties_data_empty/__init__.pyi +2 -10
- bl_ui/properties_data_gpencil/__init__.pyi +2 -57
- bl_ui/properties_data_grease_pencil/__init__.pyi +2 -49
- bl_ui/properties_data_lattice/__init__.pyi +2 -14
- bl_ui/properties_data_light/__init__.pyi +2 -50
- bl_ui/properties_data_lightprobe/__init__.pyi +2 -48
- bl_ui/properties_data_mesh/__init__.pyi +2 -69
- bl_ui/properties_data_metaball/__init__.pyi +2 -20
- bl_ui/properties_data_modifier/__init__.pyi +2 -36
- bl_ui/properties_data_pointcloud/__init__.pyi +2 -19
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -5
- bl_ui/properties_data_speaker/__init__.pyi +2 -19
- bl_ui/properties_data_volume/__init__.pyi +2 -29
- bl_ui/properties_freestyle/__init__.pyi +2 -98
- bl_ui/properties_grease_pencil_common/__init__.pyi +2 -74
- bl_ui/properties_mask_common/__init__.pyi +2 -37
- bl_ui/properties_material/__init__.pyi +2 -59
- bl_ui/properties_material_gpencil/__init__.pyi +2 -36
- bl_ui/properties_object/__init__.pyi +2 -52
- bl_ui/properties_output/__init__.pyi +2 -65
- bl_ui/properties_paint_common/__init__.pyi +2 -41
- bl_ui/properties_particle/__init__.pyi +2 -205
- bl_ui/properties_physics_cloth/__init__.pyi +2 -49
- bl_ui/properties_physics_common/__init__.pyi +2 -6
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -103
- bl_ui/properties_physics_field/__init__.pyi +2 -44
- bl_ui/properties_physics_fluid/__init__.pyi +2 -134
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -7
- bl_ui/properties_physics_rigidbody/__init__.pyi +2 -35
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -57
- bl_ui/properties_physics_softbody/__init__.pyi +2 -52
- bl_ui/properties_render/__init__.pyi +2 -220
- bl_ui/properties_scene/__init__.pyi +2 -55
- bl_ui/properties_texture/__init__.pyi +2 -93
- bl_ui/properties_view_layer/__init__.pyi +2 -47
- bl_ui/properties_workspace/__init__.pyi +2 -15
- bl_ui/properties_world/__init__.pyi +2 -42
- bl_ui/space_clip/__init__.pyi +2 -224
- bl_ui/space_console/__init__.pyi +2 -20
- bl_ui/space_dopesheet/__init__.pyi +2 -96
- bl_ui/space_filebrowser/__init__.pyi +2 -99
- bl_ui/space_graph/__init__.pyi +2 -62
- bl_ui/space_image/__init__.pyi +2 -211
- bl_ui/space_info/__init__.pyi +2 -20
- bl_ui/space_nla/__init__.pyi +2 -54
- bl_ui/space_node/__init__.pyi +2 -100
- bl_ui/space_outliner/__init__.pyi +2 -48
- bl_ui/space_properties/__init__.pyi +2 -14
- bl_ui/space_sequencer/__init__.pyi +2 -280
- bl_ui/space_spreadsheet/__init__.pyi +2 -11
- bl_ui/space_statusbar/__init__.pyi +2 -5
- bl_ui/space_text/__init__.pyi +2 -51
- bl_ui/space_time/__init__.pyi +2 -27
- bl_ui/space_toolsystem_common/__init__.pyi +2 -13
- bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -36
- bl_ui/space_topbar/__init__.pyi +2 -86
- bl_ui/space_userpref/__init__.pyi +2 -313
- bl_ui/space_view3d/__init__.pyi +2 -881
- bl_ui/space_view3d_toolbar/__init__.pyi +2 -344
- bl_ui/utils/__init__.pyi +2 -5
- bl_ui_utils/__init__.pyi +2 -2
- bl_ui_utils/layout/__init__.pyi +2 -4
- blend_render_info/__init__.pyi +2 -4
- blf/__init__.pyi +2 -32
- bmesh/__init__.pyi +2 -8
- bmesh/geometry/__init__.pyi +2 -4
- bmesh/ops/__init__.pyi +2 -162
- bmesh/types/__init__.pyi +19 -133
- bmesh/utils/__init__.pyi +2 -28
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +2 -6
- bpy/app/handlers/__init__.pyi +2 -2
- bpy/app/icons/__init__.pyi +2 -8
- bpy/app/timers/__init__.pyi +2 -8
- bpy/app/translations/__init__.pyi +2 -20
- bpy/msgbus/__init__.pyi +2 -8
- bpy/ops/__init__.pyi +2 -2
- bpy/ops/action/__init__.pyi +15 -110
- bpy/ops/anim/__init__.pyi +2 -118
- bpy/ops/armature/__init__.pyi +2 -98
- bpy/ops/asset/__init__.pyi +2 -34
- bpy/ops/boid/__init__.pyi +5 -30
- bpy/ops/brush/__init__.pyi +5 -31
- bpy/ops/buttons/__init__.pyi +2 -14
- bpy/ops/cachefile/__init__.pyi +2 -12
- bpy/ops/camera/__init__.pyi +2 -6
- bpy/ops/clip/__init__.pyi +5 -188
- bpy/ops/cloth/__init__.pyi +2 -4
- bpy/ops/collection/__init__.pyi +2 -20
- bpy/ops/console/__init__.pyi +2 -44
- bpy/ops/constraint/__init__.pyi +2 -38
- bpy/ops/curve/__init__.pyi +7 -143
- bpy/ops/curves/__init__.pyi +11 -64
- bpy/ops/cycles/__init__.pyi +2 -8
- bpy/ops/dpaint/__init__.pyi +5 -14
- bpy/ops/ed/__init__.pyi +2 -26
- bpy/ops/export_anim/__init__.pyi +2 -4
- bpy/ops/export_scene/__init__.pyi +2 -6
- bpy/ops/extensions/__init__.pyi +2 -70
- bpy/ops/file/__init__.pyi +2 -82
- bpy/ops/fluid/__init__.pyi +2 -30
- bpy/ops/font/__init__.pyi +2 -48
- bpy/ops/geometry/__init__.pyi +21 -75
- bpy/ops/gizmogroup/__init__.pyi +2 -6
- bpy/ops/gpencil/__init__.pyi +2 -286
- bpy/ops/graph/__init__.pyi +19 -213
- bpy/ops/grease_pencil/__init__.pyi +9 -196
- bpy/ops/image/__init__.pyi +11 -111
- bpy/ops/import_anim/__init__.pyi +2 -4
- bpy/ops/import_curve/__init__.pyi +2 -4
- bpy/ops/import_scene/__init__.pyi +2 -6
- bpy/ops/info/__init__.pyi +2 -16
- bpy/ops/lattice/__init__.pyi +5 -20
- bpy/ops/marker/__init__.pyi +2 -24
- bpy/ops/mask/__init__.pyi +2 -80
- bpy/ops/material/__init__.pyi +2 -8
- bpy/ops/mball/__init__.pyi +2 -18
- bpy/ops/mesh/__init__.pyi +45 -467
- bpy/ops/nla/__init__.pyi +5 -92
- bpy/ops/node/__init__.pyi +5 -215
- bpy/ops/object/__init__.pyi +73 -870
- bpy/ops/outliner/__init__.pyi +7 -200
- bpy/ops/paint/__init__.pyi +9 -116
- bpy/ops/paintcurve/__init__.pyi +2 -18
- bpy/ops/palette/__init__.pyi +2 -16
- bpy/ops/particle/__init__.pyi +2 -74
- bpy/ops/pose/__init__.pyi +15 -180
- bpy/ops/poselib/__init__.pyi +2 -20
- bpy/ops/preferences/__init__.pyi +2 -72
- bpy/ops/ptcache/__init__.pyi +2 -16
- bpy/ops/render/__init__.pyi +2 -28
- bpy/ops/rigidbody/__init__.pyi +11 -56
- bpy/ops/scene/__init__.pyi +11 -131
- bpy/ops/screen/__init__.pyi +9 -142
- bpy/ops/script/__init__.pyi +2 -8
- bpy/ops/sculpt/__init__.pyi +2 -74
- bpy/ops/sculpt_curves/__init__.pyi +2 -10
- bpy/ops/sequencer/__init__.pyi +5 -194
- bpy/ops/sound/__init__.pyi +5 -21
- bpy/ops/spreadsheet/__init__.pyi +2 -10
- bpy/ops/surface/__init__.pyi +2 -14
- bpy/ops/text/__init__.pyi +2 -88
- bpy/ops/text_editor/__init__.pyi +2 -4
- bpy/ops/texture/__init__.pyi +2 -10
- bpy/ops/transform/__init__.pyi +75 -400
- bpy/ops/ui/__init__.pyi +2 -68
- bpy/ops/uilist/__init__.pyi +2 -8
- bpy/ops/uv/__init__.pyi +5 -102
- bpy/ops/view2d/__init__.pyi +2 -30
- bpy/ops/view3d/__init__.pyi +2 -136
- bpy/ops/wm/__init__.pyi +17 -259
- bpy/ops/workspace/__init__.pyi +2 -16
- bpy/ops/world/__init__.pyi +2 -6
- bpy/path/__init__.pyi +2 -28
- bpy/props/__init__.pyi +2 -24
- bpy/types/__init__.pyi +1937 -31353
- bpy/typing/__init__.pyi +2490 -0
- bpy/utils/__init__.pyi +4 -74
- bpy/utils/previews/__init__.pyi +2 -10
- bpy/utils/units/__init__.pyi +2 -6
- bpy_extras/__init__.pyi +2 -2
- bpy_extras/anim_utils/__init__.pyi +2 -17
- bpy_extras/asset_utils/__init__.pyi +2 -5
- bpy_extras/bmesh_utils/__init__.pyi +2 -4
- bpy_extras/id_map_utils/__init__.pyi +2 -8
- bpy_extras/image_utils/__init__.pyi +2 -4
- bpy_extras/io_utils/__init__.pyi +2 -23
- bpy_extras/keyconfig_utils/__init__.pyi +2 -6
- bpy_extras/mesh_utils/__init__.pyi +2 -16
- bpy_extras/node_shader_utils/__init__.pyi +2 -23
- bpy_extras/node_utils/__init__.pyi +2 -6
- bpy_extras/object_utils/__init__.pyi +2 -15
- bpy_extras/view3d_utils/__init__.pyi +2 -10
- bpy_extras/wm_utils/__init__.pyi +2 -2
- bpy_extras/wm_utils/progress_report/__init__.pyi +2 -10
- bpy_restrict_state/__init__.pyi +2 -2
- bpy_types/__init__.pyi +2 -5
- console_python/__init__.pyi +2 -4
- console_shell/__init__.pyi +2 -2
- {fake_bpy_module-20240914.dist-info → fake_bpy_module-20240916.dist-info}/METADATA +1 -1
- fake_bpy_module-20240916.dist-info/RECORD +365 -0
- {fake_bpy_module-20240914.dist-info → fake_bpy_module-20240916.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +2 -2
- freestyle/chainingiterators/__init__.pyi +2 -25
- freestyle/functions/__init__.pyi +2 -109
- freestyle/predicates/__init__.pyi +2 -30
- freestyle/shaders/__init__.pyi +2 -77
- freestyle/types/__init__.pyi +2 -192
- freestyle/utils/ContextFunctions/__init__.pyi +2 -20
- freestyle/utils/__init__.pyi +5 -51
- gpu/__init__.pyi +2 -2
- gpu/capabilities/__init__.pyi +2 -40
- gpu/matrix/__init__.pyi +2 -36
- gpu/platform/__init__.pyi +2 -12
- gpu/select/__init__.pyi +2 -4
- gpu/shader/__init__.pyi +2 -8
- gpu/state/__init__.pyi +2 -42
- gpu/texture/__init__.pyi +2 -4
- gpu/types/__init__.pyi +2 -54
- gpu_extras/__init__.pyi +2 -2
- gpu_extras/batch/__init__.pyi +2 -4
- gpu_extras/presets/__init__.pyi +2 -6
- graphviz_export/__init__.pyi +2 -2
- idprop/__init__.pyi +2 -2
- idprop/types/__init__.pyi +2 -11
- imbuf/__init__.pyi +2 -8
- imbuf/types/__init__.pyi +2 -6
- keyingsets_builtins/__init__.pyi +2 -70
- keyingsets_utils/__init__.pyi +2 -2
- mathutils/__init__.pyi +38 -228
- mathutils/bvhtree/__init__.pyi +2 -10
- mathutils/geometry/__init__.pyi +2 -54
- mathutils/interpolate/__init__.pyi +2 -4
- mathutils/kdtree/__init__.pyi +2 -8
- mathutils/noise/__init__.pyi +2 -36
- nodeitems_builtins/__init__.pyi +2 -4
- nodeitems_utils/__init__.pyi +2 -4
- rna_info/__init__.pyi +2 -7
- rna_keymap_ui/__init__.pyi +2 -2
- rna_prop_ui/__init__.pyi +2 -6
- rna_xml/__init__.pyi +2 -2
- fake_bpy_module-20240914.dist-info/RECORD +0 -364
- {fake_bpy_module-20240914.dist-info → fake_bpy_module-20240916.dist-info}/top_level.txt +0 -0
mathutils/bvhtree/__init__.pyi
CHANGED
|
@@ -10,8 +10,8 @@ import bmesh.types
|
|
|
10
10
|
import bpy.types
|
|
11
11
|
import mathutils
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
14
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
15
15
|
|
|
16
16
|
class BVHTree:
|
|
17
17
|
@classmethod
|
|
@@ -23,7 +23,6 @@ class BVHTree:
|
|
|
23
23
|
:param epsilon: Increase the threshold for detecting overlap and raycast hits.
|
|
24
24
|
:type epsilon: float
|
|
25
25
|
"""
|
|
26
|
-
...
|
|
27
26
|
|
|
28
27
|
@classmethod
|
|
29
28
|
def FromObject(
|
|
@@ -49,7 +48,6 @@ class BVHTree:
|
|
|
49
48
|
:param epsilon: Increase the threshold for detecting overlap and raycast hits.
|
|
50
49
|
:type epsilon: float
|
|
51
50
|
"""
|
|
52
|
-
...
|
|
53
51
|
|
|
54
52
|
@classmethod
|
|
55
53
|
def FromPolygons(
|
|
@@ -64,7 +62,6 @@ class BVHTree:
|
|
|
64
62
|
:param epsilon: Increase the threshold for detecting overlap and raycast hits.
|
|
65
63
|
:type epsilon: float
|
|
66
64
|
"""
|
|
67
|
-
...
|
|
68
65
|
|
|
69
66
|
def find_nearest(self, origin, distance: float = 1.84467e19) -> tuple:
|
|
70
67
|
"""Find the nearest element (typically face index) to a point.
|
|
@@ -77,7 +74,6 @@ class BVHTree:
|
|
|
77
74
|
Values will all be None if no hit is found.
|
|
78
75
|
:rtype: tuple
|
|
79
76
|
"""
|
|
80
|
-
...
|
|
81
77
|
|
|
82
78
|
def find_nearest_range(self, origin, distance: float = 1.84467e19) -> list:
|
|
83
79
|
"""Find the nearest elements (typically face index) to a point in the distance range.
|
|
@@ -89,7 +85,6 @@ class BVHTree:
|
|
|
89
85
|
(`Vector` location, `Vector` normal, int index, float distance),
|
|
90
86
|
:rtype: list
|
|
91
87
|
"""
|
|
92
|
-
...
|
|
93
88
|
|
|
94
89
|
def overlap(self, other_tree: typing_extensions.Self) -> list:
|
|
95
90
|
"""Find overlapping indices between 2 trees.
|
|
@@ -99,7 +94,6 @@ class BVHTree:
|
|
|
99
94
|
:return: Returns a list of unique index pairs, the first index referencing this tree, the second referencing the other_tree.
|
|
100
95
|
:rtype: list
|
|
101
96
|
"""
|
|
102
|
-
...
|
|
103
97
|
|
|
104
98
|
def ray_cast(
|
|
105
99
|
self,
|
|
@@ -120,11 +114,9 @@ class BVHTree:
|
|
|
120
114
|
Values will all be None if no hit is found.
|
|
121
115
|
:rtype: tuple
|
|
122
116
|
"""
|
|
123
|
-
...
|
|
124
117
|
|
|
125
118
|
def __init__(self, size):
|
|
126
119
|
"""
|
|
127
120
|
|
|
128
121
|
:param size:
|
|
129
122
|
"""
|
|
130
|
-
...
|
mathutils/geometry/__init__.pyi
CHANGED
|
@@ -8,8 +8,8 @@ import collections.abc
|
|
|
8
8
|
import typing_extensions
|
|
9
9
|
import mathutils
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
12
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
13
13
|
|
|
14
14
|
def area_tri(
|
|
15
15
|
v1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -27,8 +27,6 @@ def area_tri(
|
|
|
27
27
|
:rtype: float
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
|
-
...
|
|
31
|
-
|
|
32
30
|
def barycentric_transform(
|
|
33
31
|
point: collections.abc.Sequence[float] | mathutils.Vector,
|
|
34
32
|
tri_a1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -57,8 +55,6 @@ def barycentric_transform(
|
|
|
57
55
|
:return: The transformed point
|
|
58
56
|
"""
|
|
59
57
|
|
|
60
|
-
...
|
|
61
|
-
|
|
62
58
|
def box_fit_2d(points: list) -> float:
|
|
63
59
|
"""Returns an angle that best fits the points to an axis aligned rectangle
|
|
64
60
|
|
|
@@ -68,8 +64,6 @@ def box_fit_2d(points: list) -> float:
|
|
|
68
64
|
:rtype: float
|
|
69
65
|
"""
|
|
70
66
|
|
|
71
|
-
...
|
|
72
|
-
|
|
73
67
|
def box_pack_2d(boxes: list) -> tuple:
|
|
74
68
|
"""Returns a tuple with the width and height of the packed bounding box.
|
|
75
69
|
|
|
@@ -79,8 +73,6 @@ def box_pack_2d(boxes: list) -> tuple:
|
|
|
79
73
|
:rtype: tuple
|
|
80
74
|
"""
|
|
81
75
|
|
|
82
|
-
...
|
|
83
|
-
|
|
84
76
|
def closest_point_on_tri(
|
|
85
77
|
pt: collections.abc.Sequence[float] | mathutils.Vector,
|
|
86
78
|
tri_p1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -101,8 +93,6 @@ def closest_point_on_tri(
|
|
|
101
93
|
:rtype: mathutils.Vector
|
|
102
94
|
"""
|
|
103
95
|
|
|
104
|
-
...
|
|
105
|
-
|
|
106
96
|
def convex_hull_2d(points: list) -> list[int]:
|
|
107
97
|
"""Returns a list of indices into the list given
|
|
108
98
|
|
|
@@ -112,8 +102,6 @@ def convex_hull_2d(points: list) -> list[int]:
|
|
|
112
102
|
:rtype: list[int]
|
|
113
103
|
"""
|
|
114
104
|
|
|
115
|
-
...
|
|
116
|
-
|
|
117
105
|
def delaunay_2d_cdt(vert_coords, edges, faces, output_type, epsilon, need_ids=True):
|
|
118
106
|
"""Computes the Constrained Delaunay Triangulation of a set of vertices,
|
|
119
107
|
with edges and faces that must appear in the triangulation.
|
|
@@ -143,8 +131,6 @@ def delaunay_2d_cdt(vert_coords, edges, faces, output_type, epsilon, need_ids=Tr
|
|
|
143
131
|
|
|
144
132
|
"""
|
|
145
133
|
|
|
146
|
-
...
|
|
147
|
-
|
|
148
134
|
def distance_point_to_plane(
|
|
149
135
|
pt: collections.abc.Sequence[float] | mathutils.Vector,
|
|
150
136
|
plane_co: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -161,8 +147,6 @@ def distance_point_to_plane(
|
|
|
161
147
|
:rtype: float
|
|
162
148
|
"""
|
|
163
149
|
|
|
164
|
-
...
|
|
165
|
-
|
|
166
150
|
def interpolate_bezier(
|
|
167
151
|
knot1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
168
152
|
handle1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -185,8 +169,6 @@ def interpolate_bezier(
|
|
|
185
169
|
:return: The interpolated points
|
|
186
170
|
"""
|
|
187
171
|
|
|
188
|
-
...
|
|
189
|
-
|
|
190
172
|
def intersect_line_line(
|
|
191
173
|
v1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
192
174
|
v2: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -206,8 +188,6 @@ def intersect_line_line(
|
|
|
206
188
|
:rtype: tuple[mathutils.Vector, ...]
|
|
207
189
|
"""
|
|
208
190
|
|
|
209
|
-
...
|
|
210
|
-
|
|
211
191
|
def intersect_line_line_2d(
|
|
212
192
|
lineA_p1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
213
193
|
lineA_p2: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -228,8 +208,6 @@ def intersect_line_line_2d(
|
|
|
228
208
|
:rtype: mathutils.Vector
|
|
229
209
|
"""
|
|
230
210
|
|
|
231
|
-
...
|
|
232
|
-
|
|
233
211
|
def intersect_line_plane(
|
|
234
212
|
line_a: collections.abc.Sequence[float] | mathutils.Vector,
|
|
235
213
|
line_b: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -252,8 +230,6 @@ def intersect_line_plane(
|
|
|
252
230
|
:rtype: mathutils.Vector
|
|
253
231
|
"""
|
|
254
232
|
|
|
255
|
-
...
|
|
256
|
-
|
|
257
233
|
def intersect_line_sphere(
|
|
258
234
|
line_a: collections.abc.Sequence[float] | mathutils.Vector,
|
|
259
235
|
line_b: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -274,8 +250,6 @@ def intersect_line_sphere(
|
|
|
274
250
|
:return: The intersection points as a pair of vectors or None when there is no intersection
|
|
275
251
|
"""
|
|
276
252
|
|
|
277
|
-
...
|
|
278
|
-
|
|
279
253
|
def intersect_line_sphere_2d(
|
|
280
254
|
line_a: collections.abc.Sequence[float] | mathutils.Vector,
|
|
281
255
|
line_b: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -296,8 +270,6 @@ def intersect_line_sphere_2d(
|
|
|
296
270
|
:return: The intersection points as a pair of vectors or None when there is no intersection
|
|
297
271
|
"""
|
|
298
272
|
|
|
299
|
-
...
|
|
300
|
-
|
|
301
273
|
def intersect_plane_plane(
|
|
302
274
|
plane_a_co: collections.abc.Sequence[float] | mathutils.Vector,
|
|
303
275
|
plane_a_no: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -317,8 +289,6 @@ def intersect_plane_plane(
|
|
|
317
289
|
:return: The line of the intersection represented as a point and a vector
|
|
318
290
|
"""
|
|
319
291
|
|
|
320
|
-
...
|
|
321
|
-
|
|
322
292
|
def intersect_point_line(
|
|
323
293
|
pt: collections.abc.Sequence[float] | mathutils.Vector,
|
|
324
294
|
line_p1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -333,8 +303,6 @@ def intersect_point_line(
|
|
|
333
303
|
:rtype: tuple[mathutils.Vector]
|
|
334
304
|
"""
|
|
335
305
|
|
|
336
|
-
...
|
|
337
|
-
|
|
338
306
|
def intersect_point_quad_2d(
|
|
339
307
|
pt: collections.abc.Sequence[float] | mathutils.Vector,
|
|
340
308
|
quad_p1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -359,8 +327,6 @@ def intersect_point_quad_2d(
|
|
|
359
327
|
:rtype: int
|
|
360
328
|
"""
|
|
361
329
|
|
|
362
|
-
...
|
|
363
|
-
|
|
364
330
|
def intersect_point_tri(
|
|
365
331
|
pt: collections.abc.Sequence[float] | mathutils.Vector,
|
|
366
332
|
tri_p1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -381,8 +347,6 @@ def intersect_point_tri(
|
|
|
381
347
|
:rtype: mathutils.Vector
|
|
382
348
|
"""
|
|
383
349
|
|
|
384
|
-
...
|
|
385
|
-
|
|
386
350
|
def intersect_point_tri_2d(
|
|
387
351
|
pt: collections.abc.Sequence[float] | mathutils.Vector,
|
|
388
352
|
tri_p1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -402,8 +366,6 @@ def intersect_point_tri_2d(
|
|
|
402
366
|
:rtype: int
|
|
403
367
|
"""
|
|
404
368
|
|
|
405
|
-
...
|
|
406
|
-
|
|
407
369
|
def intersect_ray_tri(
|
|
408
370
|
v1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
409
371
|
v2: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -430,8 +392,6 @@ def intersect_ray_tri(
|
|
|
430
392
|
:rtype: mathutils.Vector
|
|
431
393
|
"""
|
|
432
394
|
|
|
433
|
-
...
|
|
434
|
-
|
|
435
395
|
def intersect_sphere_sphere_2d(
|
|
436
396
|
p_a: collections.abc.Sequence[float] | mathutils.Vector,
|
|
437
397
|
radius_a: float,
|
|
@@ -451,16 +411,12 @@ def intersect_sphere_sphere_2d(
|
|
|
451
411
|
:rtype: tuple[mathutils.Vector, ...]
|
|
452
412
|
"""
|
|
453
413
|
|
|
454
|
-
...
|
|
455
|
-
|
|
456
414
|
def intersect_tri_tri_2d(tri_a1, tri_a2, tri_a3, tri_b1, tri_b2, tri_b3) -> bool:
|
|
457
415
|
"""Check if two 2D triangles intersect.
|
|
458
416
|
|
|
459
417
|
:rtype: bool
|
|
460
418
|
"""
|
|
461
419
|
|
|
462
|
-
...
|
|
463
|
-
|
|
464
420
|
def normal(vectors) -> mathutils.Vector:
|
|
465
421
|
"""Returns the normal of a 3D polygon.
|
|
466
422
|
|
|
@@ -468,8 +424,6 @@ def normal(vectors) -> mathutils.Vector:
|
|
|
468
424
|
:rtype: mathutils.Vector
|
|
469
425
|
"""
|
|
470
426
|
|
|
471
|
-
...
|
|
472
|
-
|
|
473
427
|
def points_in_planes(
|
|
474
428
|
planes: list[mathutils.Vector],
|
|
475
429
|
epsilon_coplanar: float = 0.0001,
|
|
@@ -486,8 +440,6 @@ def points_in_planes(
|
|
|
486
440
|
:return: two lists, once containing the vertices inside the planes, another containing the plane indices used
|
|
487
441
|
"""
|
|
488
442
|
|
|
489
|
-
...
|
|
490
|
-
|
|
491
443
|
def tessellate_polygon(veclist_list) -> list:
|
|
492
444
|
"""Takes a list of polylines (each point a pair or triplet of numbers) and returns the point indices for a polyline filled with triangles. Does not handle degenerate geometry (such as zero-length lines due to consecutive identical points).
|
|
493
445
|
|
|
@@ -495,8 +447,6 @@ def tessellate_polygon(veclist_list) -> list:
|
|
|
495
447
|
:rtype: list
|
|
496
448
|
"""
|
|
497
449
|
|
|
498
|
-
...
|
|
499
|
-
|
|
500
450
|
def volume_tetrahedron(
|
|
501
451
|
v1: collections.abc.Sequence[float] | mathutils.Vector,
|
|
502
452
|
v2: collections.abc.Sequence[float] | mathutils.Vector,
|
|
@@ -515,5 +465,3 @@ def volume_tetrahedron(
|
|
|
515
465
|
:type v4: collections.abc.Sequence[float] | mathutils.Vector
|
|
516
466
|
:rtype: float
|
|
517
467
|
"""
|
|
518
|
-
|
|
519
|
-
...
|
|
@@ -7,8 +7,8 @@ import typing
|
|
|
7
7
|
import collections.abc
|
|
8
8
|
import typing_extensions
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
11
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
12
12
|
|
|
13
13
|
def poly_3d_calc(veclist, pt):
|
|
14
14
|
"""Calculate barycentric weights for a point on a polygon.
|
|
@@ -16,5 +16,3 @@ def poly_3d_calc(veclist, pt):
|
|
|
16
16
|
:param veclist: list of vectors
|
|
17
17
|
:param pt: point :rtype: list of per-vector weights
|
|
18
18
|
"""
|
|
19
|
-
|
|
20
|
-
...
|
mathutils/kdtree/__init__.pyi
CHANGED
|
@@ -10,15 +10,14 @@ import collections.abc
|
|
|
10
10
|
import typing_extensions
|
|
11
11
|
import mathutils
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
14
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
15
15
|
|
|
16
16
|
class KDTree:
|
|
17
17
|
"""KdTree(size) -> new kd-tree initialized to hold size items."""
|
|
18
18
|
|
|
19
19
|
def balance(self):
|
|
20
20
|
"""Balance the tree."""
|
|
21
|
-
...
|
|
22
21
|
|
|
23
22
|
def find(
|
|
24
23
|
self,
|
|
@@ -34,7 +33,6 @@ class KDTree:
|
|
|
34
33
|
:return: Returns (`Vector`, index, distance).
|
|
35
34
|
:rtype: tuple
|
|
36
35
|
"""
|
|
37
|
-
...
|
|
38
36
|
|
|
39
37
|
def find_n(
|
|
40
38
|
self, co: collections.abc.Sequence[float] | mathutils.Vector, n: int
|
|
@@ -48,7 +46,6 @@ class KDTree:
|
|
|
48
46
|
:return: Returns a list of tuples (`Vector`, index, distance).
|
|
49
47
|
:rtype: list
|
|
50
48
|
"""
|
|
51
|
-
...
|
|
52
49
|
|
|
53
50
|
def find_range(
|
|
54
51
|
self, co: collections.abc.Sequence[float] | mathutils.Vector, radius: float
|
|
@@ -62,7 +59,6 @@ class KDTree:
|
|
|
62
59
|
:return: Returns a list of tuples (`Vector`, index, distance).
|
|
63
60
|
:rtype: list
|
|
64
61
|
"""
|
|
65
|
-
...
|
|
66
62
|
|
|
67
63
|
def insert(
|
|
68
64
|
self, co: collections.abc.Sequence[float] | mathutils.Vector, index: int
|
|
@@ -74,11 +70,9 @@ class KDTree:
|
|
|
74
70
|
:param index: The index of the point.
|
|
75
71
|
:type index: int
|
|
76
72
|
"""
|
|
77
|
-
...
|
|
78
73
|
|
|
79
74
|
def __init__(self, size):
|
|
80
75
|
"""
|
|
81
76
|
|
|
82
77
|
:param size:
|
|
83
78
|
"""
|
|
84
|
-
...
|
mathutils/noise/__init__.pyi
CHANGED
|
@@ -8,8 +8,8 @@ import collections.abc
|
|
|
8
8
|
import typing_extensions
|
|
9
9
|
import mathutils
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
12
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
13
13
|
|
|
14
14
|
def cell(position: collections.abc.Sequence[float] | mathutils.Vector) -> float:
|
|
15
15
|
"""Returns cell noise value at the specified position.
|
|
@@ -20,8 +20,6 @@ def cell(position: collections.abc.Sequence[float] | mathutils.Vector) -> float:
|
|
|
20
20
|
:rtype: float
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
|
-
...
|
|
24
|
-
|
|
25
23
|
def cell_vector(
|
|
26
24
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
27
25
|
) -> mathutils.Vector:
|
|
@@ -33,8 +31,6 @@ def cell_vector(
|
|
|
33
31
|
:rtype: mathutils.Vector
|
|
34
32
|
"""
|
|
35
33
|
|
|
36
|
-
...
|
|
37
|
-
|
|
38
34
|
def fractal(
|
|
39
35
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
40
36
|
H: float,
|
|
@@ -58,8 +54,6 @@ def fractal(
|
|
|
58
54
|
:rtype: float
|
|
59
55
|
"""
|
|
60
56
|
|
|
61
|
-
...
|
|
62
|
-
|
|
63
57
|
def hetero_terrain(
|
|
64
58
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
65
59
|
H: float,
|
|
@@ -86,8 +80,6 @@ def hetero_terrain(
|
|
|
86
80
|
:rtype: float
|
|
87
81
|
"""
|
|
88
82
|
|
|
89
|
-
...
|
|
90
|
-
|
|
91
83
|
def hybrid_multi_fractal(
|
|
92
84
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
93
85
|
H: float,
|
|
@@ -117,8 +109,6 @@ def hybrid_multi_fractal(
|
|
|
117
109
|
:rtype: float
|
|
118
110
|
"""
|
|
119
111
|
|
|
120
|
-
...
|
|
121
|
-
|
|
122
112
|
def multi_fractal(
|
|
123
113
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
124
114
|
H: float,
|
|
@@ -142,8 +132,6 @@ def multi_fractal(
|
|
|
142
132
|
:rtype: float
|
|
143
133
|
"""
|
|
144
134
|
|
|
145
|
-
...
|
|
146
|
-
|
|
147
135
|
def noise(
|
|
148
136
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
149
137
|
noise_basis: str = "PERLIN_ORIGINAL",
|
|
@@ -158,8 +146,6 @@ def noise(
|
|
|
158
146
|
:rtype: float
|
|
159
147
|
"""
|
|
160
148
|
|
|
161
|
-
...
|
|
162
|
-
|
|
163
149
|
def noise_vector(
|
|
164
150
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
165
151
|
noise_basis: str = "PERLIN_ORIGINAL",
|
|
@@ -174,8 +160,6 @@ def noise_vector(
|
|
|
174
160
|
:rtype: mathutils.Vector
|
|
175
161
|
"""
|
|
176
162
|
|
|
177
|
-
...
|
|
178
|
-
|
|
179
163
|
def random() -> float:
|
|
180
164
|
"""Returns a random number in the range [0, 1).
|
|
181
165
|
|
|
@@ -183,8 +167,6 @@ def random() -> float:
|
|
|
183
167
|
:rtype: float
|
|
184
168
|
"""
|
|
185
169
|
|
|
186
|
-
...
|
|
187
|
-
|
|
188
170
|
def random_unit_vector(size: int = 3) -> mathutils.Vector:
|
|
189
171
|
"""Returns a unit vector with random entries.
|
|
190
172
|
|
|
@@ -194,8 +176,6 @@ def random_unit_vector(size: int = 3) -> mathutils.Vector:
|
|
|
194
176
|
:rtype: mathutils.Vector
|
|
195
177
|
"""
|
|
196
178
|
|
|
197
|
-
...
|
|
198
|
-
|
|
199
179
|
def random_vector(size: int = 3) -> mathutils.Vector:
|
|
200
180
|
"""Returns a vector with random entries in the range (-1, 1).
|
|
201
181
|
|
|
@@ -205,8 +185,6 @@ def random_vector(size: int = 3) -> mathutils.Vector:
|
|
|
205
185
|
:rtype: mathutils.Vector
|
|
206
186
|
"""
|
|
207
187
|
|
|
208
|
-
...
|
|
209
|
-
|
|
210
188
|
def ridged_multi_fractal(
|
|
211
189
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
212
190
|
H: float,
|
|
@@ -236,8 +214,6 @@ def ridged_multi_fractal(
|
|
|
236
214
|
:rtype: float
|
|
237
215
|
"""
|
|
238
216
|
|
|
239
|
-
...
|
|
240
|
-
|
|
241
217
|
def seed_set(seed: int):
|
|
242
218
|
"""Sets the random seed used for random_unit_vector, and random.
|
|
243
219
|
|
|
@@ -246,8 +222,6 @@ def seed_set(seed: int):
|
|
|
246
222
|
:type seed: int
|
|
247
223
|
"""
|
|
248
224
|
|
|
249
|
-
...
|
|
250
|
-
|
|
251
225
|
def turbulence(
|
|
252
226
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
253
227
|
octaves: int,
|
|
@@ -274,8 +248,6 @@ def turbulence(
|
|
|
274
248
|
:rtype: float
|
|
275
249
|
"""
|
|
276
250
|
|
|
277
|
-
...
|
|
278
|
-
|
|
279
251
|
def turbulence_vector(
|
|
280
252
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
281
253
|
octaves: int,
|
|
@@ -302,8 +274,6 @@ def turbulence_vector(
|
|
|
302
274
|
:rtype: mathutils.Vector
|
|
303
275
|
"""
|
|
304
276
|
|
|
305
|
-
...
|
|
306
|
-
|
|
307
277
|
def variable_lacunarity(
|
|
308
278
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
309
279
|
distortion: float,
|
|
@@ -324,8 +294,6 @@ def variable_lacunarity(
|
|
|
324
294
|
:rtype: float
|
|
325
295
|
"""
|
|
326
296
|
|
|
327
|
-
...
|
|
328
|
-
|
|
329
297
|
def voronoi(
|
|
330
298
|
position: collections.abc.Sequence[float] | mathutils.Vector,
|
|
331
299
|
distance_metric: str = "DISTANCE",
|
|
@@ -341,5 +309,3 @@ def voronoi(
|
|
|
341
309
|
:type exponent: float
|
|
342
310
|
:return: A list of distances to the four closest features and their locations.
|
|
343
311
|
"""
|
|
344
|
-
|
|
345
|
-
...
|
nodeitems_builtins/__init__.pyi
CHANGED
|
@@ -3,8 +3,8 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import nodeitems_utils
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
7
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
8
8
|
|
|
9
9
|
class SortedNodeCategory(nodeitems_utils.NodeCategory): ...
|
|
10
10
|
|
|
@@ -15,7 +15,6 @@ class CompositorNodeCategory(SortedNodeCategory):
|
|
|
15
15
|
|
|
16
16
|
:param context:
|
|
17
17
|
"""
|
|
18
|
-
...
|
|
19
18
|
|
|
20
19
|
class ShaderNodeCategory(SortedNodeCategory):
|
|
21
20
|
@classmethod
|
|
@@ -24,7 +23,6 @@ class ShaderNodeCategory(SortedNodeCategory):
|
|
|
24
23
|
|
|
25
24
|
:param context:
|
|
26
25
|
"""
|
|
27
|
-
...
|
|
28
26
|
|
|
29
27
|
def group_input_output_item_poll(context): ...
|
|
30
28
|
def group_tools_draw(_self, layout, _context): ...
|
nodeitems_utils/__init__.pyi
CHANGED
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
class NodeCategory:
|
|
9
9
|
@classmethod
|
|
@@ -12,7 +12,6 @@ class NodeCategory:
|
|
|
12
12
|
|
|
13
13
|
:param _context:
|
|
14
14
|
"""
|
|
15
|
-
...
|
|
16
15
|
|
|
17
16
|
class NodeItem:
|
|
18
17
|
label: typing.Any
|
|
@@ -26,7 +25,6 @@ class NodeItem:
|
|
|
26
25
|
:param layout:
|
|
27
26
|
:param _context:
|
|
28
27
|
"""
|
|
29
|
-
...
|
|
30
28
|
|
|
31
29
|
class NodeItemCustom: ...
|
|
32
30
|
|
rna_info/__init__.pyi
CHANGED
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
class InfoFunctionRNA:
|
|
9
9
|
args: typing.Any
|
|
@@ -60,7 +60,6 @@ class InfoPropertyRNA:
|
|
|
60
60
|
|
|
61
61
|
:param force:
|
|
62
62
|
"""
|
|
63
|
-
...
|
|
64
63
|
|
|
65
64
|
def get_type_description(
|
|
66
65
|
self,
|
|
@@ -83,7 +82,6 @@ class InfoPropertyRNA:
|
|
|
83
82
|
Otherwise expand the literal items.
|
|
84
83
|
:type enum_descr_override: str
|
|
85
84
|
"""
|
|
86
|
-
...
|
|
87
85
|
|
|
88
86
|
class InfoStructRNA:
|
|
89
87
|
base: typing.Any
|
|
@@ -108,7 +106,6 @@ class InfoStructRNA:
|
|
|
108
106
|
|
|
109
107
|
:param ls:
|
|
110
108
|
"""
|
|
111
|
-
...
|
|
112
109
|
|
|
113
110
|
def get_py_c_functions(self): ...
|
|
114
111
|
def get_py_c_properties_getset(self): ...
|
|
@@ -126,8 +123,6 @@ def get_direct_properties(rna_type): ...
|
|
|
126
123
|
def get_py_class_from_rna(rna_type):
|
|
127
124
|
"""Gets the Python type for a class which isn't necessarily added to bpy.types."""
|
|
128
125
|
|
|
129
|
-
...
|
|
130
|
-
|
|
131
126
|
def main(): ...
|
|
132
127
|
def range_str(val): ...
|
|
133
128
|
def rna_id_ignore(rna_id): ...
|
rna_keymap_ui/__init__.pyi
CHANGED
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def draw_entry(display_keymaps, entry, col, level=0): ...
|
|
9
9
|
def draw_filtered(display_keymaps, filter_type, filter_text, layout): ...
|
rna_prop_ui/__init__.pyi
CHANGED
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
class PropertyPanel:
|
|
9
9
|
"""The subclass should have its own poll function
|
|
@@ -19,7 +19,6 @@ class PropertyPanel:
|
|
|
19
19
|
|
|
20
20
|
:param context:
|
|
21
21
|
"""
|
|
22
|
-
...
|
|
23
22
|
|
|
24
23
|
@classmethod
|
|
25
24
|
def poll(cls, context):
|
|
@@ -27,7 +26,6 @@ class PropertyPanel:
|
|
|
27
26
|
|
|
28
27
|
:param context:
|
|
29
28
|
"""
|
|
30
|
-
...
|
|
31
29
|
|
|
32
30
|
def draw(layout, context, context_member, property_type, *, use_edit=True): ...
|
|
33
31
|
def rna_idprop_context_value(context, context_member, property_type): ...
|
|
@@ -52,8 +50,6 @@ def rna_idprop_ui_create(
|
|
|
52
50
|
):
|
|
53
51
|
"""Create and initialize a custom property with limits, defaults and other settings."""
|
|
54
52
|
|
|
55
|
-
...
|
|
56
|
-
|
|
57
53
|
def rna_idprop_ui_prop_clear(item, prop): ...
|
|
58
54
|
def rna_idprop_ui_prop_default_set(item, prop, value): ...
|
|
59
55
|
def rna_idprop_ui_prop_update(item, prop): ...
|
rna_xml/__init__.pyi
CHANGED
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def build_property_typemap(skip_classes, skip_typemap): ...
|
|
9
9
|
def print_ln(data): ...
|