fake-bpy-module 20240915__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 +927 -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-20240915.dist-info → fake_bpy_module-20240916.dist-info}/METADATA +1 -1
- fake_bpy_module-20240916.dist-info/RECORD +365 -0
- {fake_bpy_module-20240915.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 +4 -50
- 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-20240915.dist-info/RECORD +0 -364
- {fake_bpy_module-20240915.dist-info → fake_bpy_module-20240916.dist-info}/top_level.txt +0 -0
|
@@ -2,17 +2,13 @@ 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 addon_keymap_register(keymap_data):
|
|
9
9
|
"""Register a set of keymaps for addons using a list of keymaps.See 'blender_defaults.py' for examples of the format this takes."""
|
|
10
10
|
|
|
11
|
-
...
|
|
12
|
-
|
|
13
11
|
def addon_keymap_unregister(keymap_data):
|
|
14
12
|
"""Unregister a set of keymaps for addons."""
|
|
15
13
|
|
|
16
|
-
...
|
|
17
|
-
|
|
18
14
|
def keyconfig_test(kc): ...
|
|
@@ -3,8 +3,8 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bpy.types
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
7
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
8
8
|
|
|
9
9
|
def edge_face_count(mesh) -> list:
|
|
10
10
|
"""
|
|
@@ -13,8 +13,6 @@ def edge_face_count(mesh) -> list:
|
|
|
13
13
|
:rtype: list
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
|
-
...
|
|
17
|
-
|
|
18
16
|
def edge_face_count_dict(mesh) -> dict:
|
|
19
17
|
"""
|
|
20
18
|
|
|
@@ -23,16 +21,12 @@ def edge_face_count_dict(mesh) -> dict:
|
|
|
23
21
|
:rtype: dict
|
|
24
22
|
"""
|
|
25
23
|
|
|
26
|
-
...
|
|
27
|
-
|
|
28
24
|
def edge_loops_from_edges(mesh, edges=None):
|
|
29
25
|
"""Edge loops defined by edgesTakes me.edges or a list of edges and returns the edge loopsreturn a list of vertex indices.
|
|
30
26
|
[ [1, 6, 7, 2], ...]closed loops have matching start and end values.
|
|
31
27
|
|
|
32
28
|
"""
|
|
33
29
|
|
|
34
|
-
...
|
|
35
|
-
|
|
36
30
|
def mesh_linked_triangles(mesh: bpy.types.Mesh) -> list:
|
|
37
31
|
"""Splits the mesh into connected triangles, use this for separating cubes from
|
|
38
32
|
other mesh elements within 1 mesh datablock.
|
|
@@ -43,8 +37,6 @@ def mesh_linked_triangles(mesh: bpy.types.Mesh) -> list:
|
|
|
43
37
|
:rtype: list
|
|
44
38
|
"""
|
|
45
39
|
|
|
46
|
-
...
|
|
47
|
-
|
|
48
40
|
def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list:
|
|
49
41
|
"""Returns lists of polygon indices connected by UV islands.
|
|
50
42
|
|
|
@@ -54,8 +46,6 @@ def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list:
|
|
|
54
46
|
:rtype: list
|
|
55
47
|
"""
|
|
56
48
|
|
|
57
|
-
...
|
|
58
|
-
|
|
59
49
|
def ngon_tessellate(
|
|
60
50
|
from_data: bpy.types.Mesh | list,
|
|
61
51
|
indices: list,
|
|
@@ -78,8 +68,6 @@ def ngon_tessellate(
|
|
|
78
68
|
:type fix_loops: bool
|
|
79
69
|
"""
|
|
80
70
|
|
|
81
|
-
...
|
|
82
|
-
|
|
83
71
|
def triangle_random_points(
|
|
84
72
|
num_points, loop_triangles: bpy.types.MeshLoopTriangle | collections.abc.Sequence
|
|
85
73
|
) -> list:
|
|
@@ -91,5 +79,3 @@ def triangle_random_points(
|
|
|
91
79
|
:return: list of random points over all triangles.
|
|
92
80
|
:rtype: list
|
|
93
81
|
"""
|
|
94
|
-
|
|
95
|
-
...
|
|
@@ -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 ShaderWrapper:
|
|
9
9
|
"""Base class with minimal common ground for all types of shader interfaces we may want/need to implement."""
|
|
@@ -23,7 +23,6 @@ class ShaderWrapper:
|
|
|
23
23
|
|
|
24
24
|
:param val:
|
|
25
25
|
"""
|
|
26
|
-
...
|
|
27
26
|
|
|
28
27
|
class ShaderImageTextureWrapper:
|
|
29
28
|
"""Generic 'image texture'-like wrapper, handling image node, some mapping (texture coordinates transformations),
|
|
@@ -54,14 +53,12 @@ class ShaderImageTextureWrapper:
|
|
|
54
53
|
|
|
55
54
|
:param tex:
|
|
56
55
|
"""
|
|
57
|
-
...
|
|
58
56
|
|
|
59
57
|
def copy_mapping_from(self, tex):
|
|
60
58
|
"""
|
|
61
59
|
|
|
62
60
|
:param tex:
|
|
63
61
|
"""
|
|
64
|
-
...
|
|
65
62
|
|
|
66
63
|
def extension_get(self): ...
|
|
67
64
|
def extension_set(self, extension):
|
|
@@ -69,7 +66,6 @@ class ShaderImageTextureWrapper:
|
|
|
69
66
|
|
|
70
67
|
:param extension:
|
|
71
68
|
"""
|
|
72
|
-
...
|
|
73
69
|
|
|
74
70
|
def has_mapping_node(self): ...
|
|
75
71
|
def image_get(self): ...
|
|
@@ -78,7 +74,6 @@ class ShaderImageTextureWrapper:
|
|
|
78
74
|
|
|
79
75
|
:param image:
|
|
80
76
|
"""
|
|
81
|
-
...
|
|
82
77
|
|
|
83
78
|
def node_image_get(self): ...
|
|
84
79
|
def node_mapping_get(self): ...
|
|
@@ -88,7 +83,6 @@ class ShaderImageTextureWrapper:
|
|
|
88
83
|
|
|
89
84
|
:param projection:
|
|
90
85
|
"""
|
|
91
|
-
...
|
|
92
86
|
|
|
93
87
|
def rotation_get(self): ...
|
|
94
88
|
def rotation_set(self, rotation):
|
|
@@ -96,7 +90,6 @@ class ShaderImageTextureWrapper:
|
|
|
96
90
|
|
|
97
91
|
:param rotation:
|
|
98
92
|
"""
|
|
99
|
-
...
|
|
100
93
|
|
|
101
94
|
def scale_get(self): ...
|
|
102
95
|
def scale_set(self, scale):
|
|
@@ -104,7 +97,6 @@ class ShaderImageTextureWrapper:
|
|
|
104
97
|
|
|
105
98
|
:param scale:
|
|
106
99
|
"""
|
|
107
|
-
...
|
|
108
100
|
|
|
109
101
|
def texcoords_get(self): ...
|
|
110
102
|
def texcoords_set(self, texcoords):
|
|
@@ -112,7 +104,6 @@ class ShaderImageTextureWrapper:
|
|
|
112
104
|
|
|
113
105
|
:param texcoords:
|
|
114
106
|
"""
|
|
115
|
-
...
|
|
116
107
|
|
|
117
108
|
def translation_get(self): ...
|
|
118
109
|
def translation_set(self, translation):
|
|
@@ -120,7 +111,6 @@ class ShaderImageTextureWrapper:
|
|
|
120
111
|
|
|
121
112
|
:param translation:
|
|
122
113
|
"""
|
|
123
|
-
...
|
|
124
114
|
|
|
125
115
|
class PrincipledBSDFWrapper(ShaderWrapper):
|
|
126
116
|
"""Hard coded shader setup, based in Principled BSDF.
|
|
@@ -165,7 +155,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
165
155
|
|
|
166
156
|
:param value:
|
|
167
157
|
"""
|
|
168
|
-
...
|
|
169
158
|
|
|
170
159
|
def alpha_texture_get(self): ...
|
|
171
160
|
def base_color_get(self): ...
|
|
@@ -174,7 +163,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
174
163
|
|
|
175
164
|
:param color:
|
|
176
165
|
"""
|
|
177
|
-
...
|
|
178
166
|
|
|
179
167
|
def base_color_texture_get(self): ...
|
|
180
168
|
def emission_color_get(self): ...
|
|
@@ -183,7 +171,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
183
171
|
|
|
184
172
|
:param color:
|
|
185
173
|
"""
|
|
186
|
-
...
|
|
187
174
|
|
|
188
175
|
def emission_color_texture_get(self): ...
|
|
189
176
|
def emission_strength_get(self): ...
|
|
@@ -192,7 +179,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
192
179
|
|
|
193
180
|
:param value:
|
|
194
181
|
"""
|
|
195
|
-
...
|
|
196
182
|
|
|
197
183
|
def emission_strength_texture_get(self): ...
|
|
198
184
|
def ior_get(self): ...
|
|
@@ -201,7 +187,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
201
187
|
|
|
202
188
|
:param value:
|
|
203
189
|
"""
|
|
204
|
-
...
|
|
205
190
|
|
|
206
191
|
def ior_texture_get(self): ...
|
|
207
192
|
def metallic_get(self): ...
|
|
@@ -210,7 +195,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
210
195
|
|
|
211
196
|
:param value:
|
|
212
197
|
"""
|
|
213
|
-
...
|
|
214
198
|
|
|
215
199
|
def metallic_texture_get(self): ...
|
|
216
200
|
def node_normalmap_get(self): ...
|
|
@@ -220,7 +204,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
220
204
|
|
|
221
205
|
:param value:
|
|
222
206
|
"""
|
|
223
|
-
...
|
|
224
207
|
|
|
225
208
|
def normalmap_texture_get(self): ...
|
|
226
209
|
def roughness_get(self): ...
|
|
@@ -229,7 +212,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
229
212
|
|
|
230
213
|
:param value:
|
|
231
214
|
"""
|
|
232
|
-
...
|
|
233
215
|
|
|
234
216
|
def roughness_texture_get(self): ...
|
|
235
217
|
def specular_get(self): ...
|
|
@@ -238,7 +220,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
238
220
|
|
|
239
221
|
:param value:
|
|
240
222
|
"""
|
|
241
|
-
...
|
|
242
223
|
|
|
243
224
|
def specular_texture_get(self): ...
|
|
244
225
|
def specular_tint_get(self): ...
|
|
@@ -247,7 +228,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
247
228
|
|
|
248
229
|
:param color:
|
|
249
230
|
"""
|
|
250
|
-
...
|
|
251
231
|
|
|
252
232
|
def specular_tint_texture_get(self): ...
|
|
253
233
|
def transmission_get(self): ...
|
|
@@ -256,7 +236,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
256
236
|
|
|
257
237
|
:param value:
|
|
258
238
|
"""
|
|
259
|
-
...
|
|
260
239
|
|
|
261
240
|
def transmission_texture_get(self): ...
|
|
262
241
|
def update(self): ...
|
|
@@ -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 connect_sockets(input, output):
|
|
9
9
|
"""Connect sockets in a node tree.This is useful because the links created through the normal Python API are
|
|
@@ -12,14 +12,10 @@ def connect_sockets(input, output):
|
|
|
12
12
|
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
|
-
...
|
|
16
|
-
|
|
17
15
|
def find_base_socket_type(socket):
|
|
18
16
|
"""Find the base class of the socket.Sockets can have a subtype such as NodeSocketFloatFactor,
|
|
19
17
|
but only the base type is allowed, e. g. NodeSocketFloat
|
|
20
18
|
|
|
21
19
|
"""
|
|
22
20
|
|
|
23
|
-
...
|
|
24
|
-
|
|
25
21
|
def find_node_input(node, name): ...
|
|
@@ -4,8 +4,8 @@ import typing_extensions
|
|
|
4
4
|
import bpy.types
|
|
5
5
|
import mathutils
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
8
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
9
9
|
|
|
10
10
|
class AddObjectHelper:
|
|
11
11
|
def align_update_callback(self, _context):
|
|
@@ -13,7 +13,6 @@ class AddObjectHelper:
|
|
|
13
13
|
|
|
14
14
|
:param _context:
|
|
15
15
|
"""
|
|
16
|
-
...
|
|
17
16
|
|
|
18
17
|
def add_object_align_init(
|
|
19
18
|
context: bpy.types.Context, operator: bpy.types.Operator
|
|
@@ -28,21 +27,15 @@ def add_object_align_init(
|
|
|
28
27
|
:rtype: mathutils.Matrix
|
|
29
28
|
"""
|
|
30
29
|
|
|
31
|
-
...
|
|
32
|
-
|
|
33
30
|
def object_add_grid_scale(context):
|
|
34
31
|
"""Return scale which should be applied on object
|
|
35
32
|
data to align it to grid scale
|
|
36
33
|
|
|
37
34
|
"""
|
|
38
35
|
|
|
39
|
-
...
|
|
40
|
-
|
|
41
36
|
def object_add_grid_scale_apply_operator(operator, context):
|
|
42
37
|
"""Scale an operators distance values by the grid size."""
|
|
43
38
|
|
|
44
|
-
...
|
|
45
|
-
|
|
46
39
|
def object_data_add(
|
|
47
40
|
context: bpy.types.Context,
|
|
48
41
|
obdata,
|
|
@@ -63,8 +56,6 @@ def object_data_add(
|
|
|
63
56
|
:rtype: bpy.types.Object
|
|
64
57
|
"""
|
|
65
58
|
|
|
66
|
-
...
|
|
67
|
-
|
|
68
59
|
def object_report_if_active_shape_key_is_locked(
|
|
69
60
|
obj: bpy.types.Object, operator: bpy.types.Operator
|
|
70
61
|
):
|
|
@@ -77,8 +68,6 @@ def object_report_if_active_shape_key_is_locked(
|
|
|
77
68
|
:return: True if the shape key was locked.
|
|
78
69
|
"""
|
|
79
70
|
|
|
80
|
-
...
|
|
81
|
-
|
|
82
71
|
def world_to_camera_view(
|
|
83
72
|
scene: bpy.types.Scene,
|
|
84
73
|
obj: bpy.types.Object,
|
|
@@ -101,5 +90,3 @@ def world_to_camera_view(
|
|
|
101
90
|
Z is the depth on the view axis.
|
|
102
91
|
:rtype: mathutils.Vector
|
|
103
92
|
"""
|
|
104
|
-
|
|
105
|
-
...
|
|
@@ -4,8 +4,8 @@ import typing_extensions
|
|
|
4
4
|
import bpy.types
|
|
5
5
|
import mathutils
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
8
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
9
9
|
|
|
10
10
|
def location_3d_to_region_2d(
|
|
11
11
|
region: bpy.types.Region,
|
|
@@ -28,8 +28,6 @@ def location_3d_to_region_2d(
|
|
|
28
28
|
:rtype: mathutils.Vector
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
|
-
...
|
|
32
|
-
|
|
33
31
|
def region_2d_to_location_3d(
|
|
34
32
|
region: bpy.types.Region,
|
|
35
33
|
rv3d: bpy.types.RegionView3D,
|
|
@@ -53,8 +51,6 @@ def region_2d_to_location_3d(
|
|
|
53
51
|
:rtype: mathutils.Vector
|
|
54
52
|
"""
|
|
55
53
|
|
|
56
|
-
...
|
|
57
|
-
|
|
58
54
|
def region_2d_to_origin_3d(
|
|
59
55
|
region: bpy.types.Region,
|
|
60
56
|
rv3d: bpy.types.RegionView3D,
|
|
@@ -78,8 +74,6 @@ def region_2d_to_origin_3d(
|
|
|
78
74
|
:rtype: mathutils.Vector
|
|
79
75
|
"""
|
|
80
76
|
|
|
81
|
-
...
|
|
82
|
-
|
|
83
77
|
def region_2d_to_vector_3d(
|
|
84
78
|
region: bpy.types.Region,
|
|
85
79
|
rv3d: bpy.types.RegionView3D,
|
|
@@ -98,5 +92,3 @@ def region_2d_to_vector_3d(
|
|
|
98
92
|
:return: normalized 3d vector.
|
|
99
93
|
:rtype: mathutils.Vector
|
|
100
94
|
"""
|
|
101
|
-
|
|
102
|
-
...
|
bpy_extras/wm_utils/__init__.pyi
CHANGED
|
@@ -3,5 +3,5 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
from . import progress_report as progress_report
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
7
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
@@ -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 ProgressReport:
|
|
9
9
|
curr_step: typing.Any
|
|
@@ -18,7 +18,6 @@ class ProgressReport:
|
|
|
18
18
|
:param nbr:
|
|
19
19
|
:param msg:
|
|
20
20
|
"""
|
|
21
|
-
...
|
|
22
21
|
|
|
23
22
|
def finalize(self): ...
|
|
24
23
|
def initialize(self, wm=None):
|
|
@@ -26,14 +25,12 @@ class ProgressReport:
|
|
|
26
25
|
|
|
27
26
|
:param wm:
|
|
28
27
|
"""
|
|
29
|
-
...
|
|
30
28
|
|
|
31
29
|
def leave_substeps(self, msg=""):
|
|
32
30
|
"""
|
|
33
31
|
|
|
34
32
|
:param msg:
|
|
35
33
|
"""
|
|
36
|
-
...
|
|
37
34
|
|
|
38
35
|
def start(self): ...
|
|
39
36
|
def step(self, msg="", nbr=1):
|
|
@@ -42,14 +39,12 @@ class ProgressReport:
|
|
|
42
39
|
:param msg:
|
|
43
40
|
:param nbr:
|
|
44
41
|
"""
|
|
45
|
-
...
|
|
46
42
|
|
|
47
43
|
def update(self, msg=""):
|
|
48
44
|
"""
|
|
49
45
|
|
|
50
46
|
:param msg:
|
|
51
47
|
"""
|
|
52
|
-
...
|
|
53
48
|
|
|
54
49
|
class ProgressReportSubstep:
|
|
55
50
|
"""A sub-step context manager for ProgressReport.It can be used to generate other sub-step contexts too, and can act as a (limited) proxy of its real ProgressReport.Its exit method always ensure ProgressReport is back on 'level' it was before entering this context.
|
|
@@ -69,14 +64,12 @@ class ProgressReportSubstep:
|
|
|
69
64
|
:param nbr:
|
|
70
65
|
:param msg:
|
|
71
66
|
"""
|
|
72
|
-
...
|
|
73
67
|
|
|
74
68
|
def leave_substeps(self, msg=""):
|
|
75
69
|
"""
|
|
76
70
|
|
|
77
71
|
:param msg:
|
|
78
72
|
"""
|
|
79
|
-
...
|
|
80
73
|
|
|
81
74
|
def step(self, msg="", nbr=1):
|
|
82
75
|
"""
|
|
@@ -84,4 +77,3 @@ class ProgressReportSubstep:
|
|
|
84
77
|
:param msg:
|
|
85
78
|
:param nbr:
|
|
86
79
|
"""
|
|
87
|
-
...
|
bpy_restrict_state/__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 RestrictBlend:
|
|
9
9
|
context: typing.Any
|
bpy_types/__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 _GenericUI:
|
|
9
9
|
@classmethod
|
|
@@ -13,7 +13,6 @@ class _GenericUI:
|
|
|
13
13
|
|
|
14
14
|
:param draw_func:
|
|
15
15
|
"""
|
|
16
|
-
...
|
|
17
16
|
|
|
18
17
|
@classmethod
|
|
19
18
|
def is_extended(cls): ...
|
|
@@ -24,7 +23,6 @@ class _GenericUI:
|
|
|
24
23
|
|
|
25
24
|
:param draw_func:
|
|
26
25
|
"""
|
|
27
|
-
...
|
|
28
26
|
|
|
29
27
|
@classmethod
|
|
30
28
|
def remove(cls, draw_func):
|
|
@@ -32,4 +30,3 @@ class _GenericUI:
|
|
|
32
30
|
|
|
33
31
|
:param draw_func:
|
|
34
32
|
"""
|
|
35
|
-
...
|
console_python/__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 _TempModuleOverride:
|
|
9
9
|
module: typing.Any
|
|
@@ -23,6 +23,4 @@ def get_console(console_id):
|
|
|
23
23
|
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
|
-
...
|
|
27
|
-
|
|
28
26
|
def replace_help(namespace): ...
|
console_shell/__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 add_scrollback(text, text_type): ...
|
|
9
9
|
def autocomplete(_context): ...
|