fake-bpy-module 20240517__py3-none-any.whl → 20240519__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 -1
- _bpy_internal/freedesktop/__init__.pyi +20 -86
- addon_utils/__init__.pyi +7 -31
- animsys_refactor/__init__.pyi +7 -26
- aud/__init__.pyi +3 -5
- bgl/__init__.pyi +2 -1630
- bl_app_override/__init__.pyi +5 -15
- bl_app_override/helpers/__init__.pyi +4 -23
- bl_app_template_utils/__init__.pyi +5 -16
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
- bl_i18n_utils/merge_po/__init__.pyi +3 -5
- bl_i18n_utils/settings/__init__.pyi +4 -23
- bl_i18n_utils/utils/__init__.pyi +10 -66
- bl_i18n_utils/utils_cli/__init__.pyi +9 -31
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +10 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
- bl_keymap_utils/versioning/__init__.pyi +3 -5
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +4 -10
- bl_operators/add_mesh_torus/__init__.pyi +4 -19
- bl_operators/anim/__init__.pyi +2 -71
- bl_operators/assets/__init__.pyi +2 -30
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
- bl_operators/clip/__init__.pyi +7 -115
- bl_operators/console/__init__.pyi +2 -38
- bl_operators/constraint/__init__.pyi +2 -37
- bl_operators/file/__init__.pyi +2 -28
- bl_operators/freestyle/__init__.pyi +2 -37
- bl_operators/geometry_nodes/__init__.pyi +15 -103
- bl_operators/image/__init__.pyi +2 -52
- bl_operators/mesh/__init__.pyi +2 -28
- bl_operators/node/__init__.pyi +2 -105
- bl_operators/object/__init__.pyi +2 -138
- bl_operators/object_align/__init__.pyi +5 -24
- bl_operators/object_quick_effects/__init__.pyi +4 -49
- bl_operators/object_randomize_transform/__init__.pyi +5 -14
- bl_operators/presets/__init__.pyi +4 -376
- bl_operators/rigidbody/__init__.pyi +2 -28
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
- bl_operators/sequencer/__init__.pyi +3 -104
- bl_operators/spreadsheet/__init__.pyi +2 -10
- bl_operators/userpref/__init__.pyi +3 -201
- bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
- bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
- bl_operators/uvcalc_transform/__init__.pyi +13 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
- bl_operators/view3d/__init__.pyi +2 -64
- bl_operators/wm/__init__.pyi +16 -451
- bl_operators/world/__init__.pyi +2 -10
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +3 -5
- bl_ui/__init__.pyi +32 -141
- bl_ui/anim/__init__.pyi +3 -12
- bl_ui/asset_shelf/__init__.pyi +3 -16
- bl_ui/generic_ui_list/__init__.pyi +4 -31
- bl_ui/node_add_menu/__init__.pyi +6 -28
- bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
- bl_ui/node_add_menu_shader/__init__.pyi +20 -170
- bl_ui/node_add_menu_texture/__init__.pyi +11 -118
- bl_ui/properties_animviz/__init__.pyi +2 -15
- bl_ui/properties_collection/__init__.pyi +9 -112
- bl_ui/properties_constraint/__init__.pyi +81 -1524
- bl_ui/properties_data_armature/__init__.pyi +14 -214
- bl_ui/properties_data_bone/__init__.pyi +12 -198
- bl_ui/properties_data_camera/__init__.pyi +17 -312
- bl_ui/properties_data_curve/__init__.pyi +17 -319
- bl_ui/properties_data_curves/__init__.pyi +8 -108
- bl_ui/properties_data_empty/__init__.pyi +4 -44
- bl_ui/properties_data_gpencil/__init__.pyi +20 -350
- bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
- bl_ui/properties_data_lattice/__init__.pyi +5 -65
- bl_ui/properties_data_light/__init__.pyi +14 -264
- bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
- bl_ui/properties_data_mesh/__init__.pyi +23 -325
- bl_ui/properties_data_metaball/__init__.pyi +7 -103
- bl_ui/properties_data_modifier/__init__.pyi +10 -178
- bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
- bl_ui/properties_data_speaker/__init__.pyi +7 -111
- bl_ui/properties_data_volume/__init__.pyi +10 -156
- bl_ui/properties_freestyle/__init__.pyi +31 -615
- bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
- bl_ui/properties_mask_common/__init__.pyi +10 -111
- bl_ui/properties_material/__init__.pyi +20 -331
- bl_ui/properties_material_gpencil/__init__.pyi +12 -182
- bl_ui/properties_object/__init__.pyi +16 -276
- bl_ui/properties_output/__init__.pyi +20 -370
- bl_ui/properties_paint_common/__init__.pyi +14 -106
- bl_ui/properties_particle/__init__.pyi +58 -1159
- bl_ui/properties_physics_cloth/__init__.pyi +17 -314
- bl_ui/properties_physics_common/__init__.pyi +9 -58
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
- bl_ui/properties_physics_field/__init__.pyi +13 -218
- bl_ui/properties_physics_fluid/__init__.pyi +30 -626
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
- bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
- bl_ui/properties_physics_softbody/__init__.pyi +18 -353
- bl_ui/properties_render/__init__.pyi +56 -1146
- bl_ui/properties_scene/__init__.pyi +17 -298
- bl_ui/properties_texture/__init__.pyi +30 -577
- bl_ui/properties_view_layer/__init__.pyi +20 -346
- bl_ui/properties_workspace/__init__.pyi +6 -80
- bl_ui/properties_world/__init__.pyi +12 -220
- bl_ui/space_clip/__init__.pyi +73 -1090
- bl_ui/space_console/__init__.pyi +9 -73
- bl_ui/space_dopesheet/__init__.pyi +33 -485
- bl_ui/space_filebrowser/__init__.pyi +36 -431
- bl_ui/space_graph/__init__.pyi +22 -237
- bl_ui/space_image/__init__.pyi +70 -1089
- bl_ui/space_info/__init__.pyi +8 -71
- bl_ui/space_nla/__init__.pyi +19 -210
- bl_ui/space_node/__init__.pyi +32 -436
- bl_ui/space_outliner/__init__.pyi +17 -165
- bl_ui/space_properties/__init__.pyi +5 -42
- bl_ui/space_sequencer/__init__.pyi +79 -1142
- bl_ui/space_spreadsheet/__init__.pyi +3 -12
- bl_ui/space_statusbar/__init__.pyi +3 -12
- bl_ui/space_text/__init__.pyi +18 -193
- bl_ui/space_time/__init__.pyi +10 -111
- bl_ui/space_toolsystem_common/__init__.pyi +42 -200
- bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
- bl_ui/space_topbar/__init__.pyi +29 -335
- bl_ui/space_userpref/__init__.pyi +94 -1576
- bl_ui/space_view3d/__init__.pyi +271 -3438
- bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
- bl_ui/temp_anim_layers/__init__.pyi +4 -22
- bl_ui/utils/__init__.pyi +2 -8
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -5
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +4 -10
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +29 -45
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +191 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +546 -4852
- bpy/utils/__init__.pyi +16 -71
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -2
- bpy_extras/asset_utils/__init__.pyi +2 -11
- bpy_extras/bmesh_utils/__init__.pyi +3 -5
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -7
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +6 -25
- bpy_extras/keyconfig_utils/__init__.pyi +4 -10
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +46 -286
- bpy_extras/node_utils/__init__.pyi +4 -10
- bpy_extras/object_utils/__init__.pyi +2 -3
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
- bpy_restrict_state/__init__.pyi +3 -15
- bpy_types/__init__.pyi +10 -275
- console_python/__init__.pyi +8 -37
- console_shell/__init__.pyi +8 -26
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +12 -41
- freestyle/functions/__init__.pyi +9 -34
- freestyle/predicates/__init__.pyi +46 -218
- freestyle/shaders/__init__.pyi +2 -11
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +5 -16
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +4 -10
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +8 -34
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -3
- keyingsets_builtins/__init__.pyi +4 -157
- keyingsets_utils/__init__.pyi +17 -71
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -3
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +7 -31
- nodeitems_utils/__init__.pyi +10 -46
- rna_info/__init__.pyi +24 -201
- rna_keymap_ui/__init__.pyi +9 -31
- rna_prop_ui/__init__.pyi +11 -50
- rna_xml/__init__.pyi +8 -30
- sys_info/__init__.pyi +3 -5
- fake_bpy_module-20240517.dist-info/RECORD +0 -353
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
|
@@ -1,40 +1,21 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
class ShaderWrapper:
|
|
6
7
|
"""Base class with minimal common ground for all types of shader interfaces we may want/need to implement."""
|
|
7
8
|
|
|
8
9
|
NODES_LIST: typing.Any
|
|
9
|
-
""" """
|
|
10
|
-
|
|
11
10
|
is_readonly: typing.Any
|
|
12
|
-
""" """
|
|
13
|
-
|
|
14
11
|
material: typing.Any
|
|
15
|
-
""" """
|
|
16
|
-
|
|
17
12
|
node_out: typing.Any
|
|
18
|
-
""" """
|
|
19
|
-
|
|
20
13
|
node_texcoords: typing.Any
|
|
21
|
-
""" """
|
|
22
|
-
|
|
23
14
|
use_nodes: typing.Any
|
|
24
|
-
""" """
|
|
25
|
-
|
|
26
|
-
def node_texcoords_get(self):
|
|
27
|
-
""" """
|
|
28
|
-
...
|
|
29
|
-
|
|
30
|
-
def update(self):
|
|
31
|
-
""" """
|
|
32
|
-
...
|
|
33
|
-
|
|
34
|
-
def use_nodes_get(self):
|
|
35
|
-
""" """
|
|
36
|
-
...
|
|
37
15
|
|
|
16
|
+
def node_texcoords_get(self): ...
|
|
17
|
+
def update(self): ...
|
|
18
|
+
def use_nodes_get(self): ...
|
|
38
19
|
def use_nodes_set(self, val):
|
|
39
20
|
"""
|
|
40
21
|
|
|
@@ -48,58 +29,23 @@ class ShaderImageTextureWrapper:
|
|
|
48
29
|
"""
|
|
49
30
|
|
|
50
31
|
NODES_LIST: typing.Any
|
|
51
|
-
""" """
|
|
52
|
-
|
|
53
32
|
colorspace_is_data: typing.Any
|
|
54
|
-
""" """
|
|
55
|
-
|
|
56
33
|
colorspace_name: typing.Any
|
|
57
|
-
""" """
|
|
58
|
-
|
|
59
34
|
extension: typing.Any
|
|
60
|
-
""" """
|
|
61
|
-
|
|
62
35
|
grid_row_diff: typing.Any
|
|
63
|
-
""" """
|
|
64
|
-
|
|
65
36
|
image: typing.Any
|
|
66
|
-
""" """
|
|
67
|
-
|
|
68
37
|
is_readonly: typing.Any
|
|
69
|
-
""" """
|
|
70
|
-
|
|
71
38
|
node_dst: typing.Any
|
|
72
|
-
""" """
|
|
73
|
-
|
|
74
39
|
node_image: typing.Any
|
|
75
|
-
""" """
|
|
76
|
-
|
|
77
40
|
node_mapping: typing.Any
|
|
78
|
-
""" """
|
|
79
|
-
|
|
80
41
|
owner_shader: typing.Any
|
|
81
|
-
""" """
|
|
82
|
-
|
|
83
42
|
projection: typing.Any
|
|
84
|
-
""" """
|
|
85
|
-
|
|
86
43
|
rotation: typing.Any
|
|
87
|
-
""" """
|
|
88
|
-
|
|
89
44
|
scale: typing.Any
|
|
90
|
-
""" """
|
|
91
|
-
|
|
92
45
|
socket_dst: typing.Any
|
|
93
|
-
""" """
|
|
94
|
-
|
|
95
46
|
texcoords: typing.Any
|
|
96
|
-
""" """
|
|
97
|
-
|
|
98
47
|
translation: typing.Any
|
|
99
|
-
""" """
|
|
100
|
-
|
|
101
48
|
use_alpha: typing.Any
|
|
102
|
-
""" """
|
|
103
49
|
|
|
104
50
|
def copy_from(self, tex):
|
|
105
51
|
"""
|
|
@@ -115,10 +61,7 @@ class ShaderImageTextureWrapper:
|
|
|
115
61
|
"""
|
|
116
62
|
...
|
|
117
63
|
|
|
118
|
-
def extension_get(self):
|
|
119
|
-
""" """
|
|
120
|
-
...
|
|
121
|
-
|
|
64
|
+
def extension_get(self): ...
|
|
122
65
|
def extension_set(self, extension):
|
|
123
66
|
"""
|
|
124
67
|
|
|
@@ -126,14 +69,8 @@ class ShaderImageTextureWrapper:
|
|
|
126
69
|
"""
|
|
127
70
|
...
|
|
128
71
|
|
|
129
|
-
def has_mapping_node(self):
|
|
130
|
-
|
|
131
|
-
...
|
|
132
|
-
|
|
133
|
-
def image_get(self):
|
|
134
|
-
""" """
|
|
135
|
-
...
|
|
136
|
-
|
|
72
|
+
def has_mapping_node(self): ...
|
|
73
|
+
def image_get(self): ...
|
|
137
74
|
def image_set(self, image):
|
|
138
75
|
"""
|
|
139
76
|
|
|
@@ -141,18 +78,9 @@ class ShaderImageTextureWrapper:
|
|
|
141
78
|
"""
|
|
142
79
|
...
|
|
143
80
|
|
|
144
|
-
def node_image_get(self):
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
def node_mapping_get(self):
|
|
149
|
-
""" """
|
|
150
|
-
...
|
|
151
|
-
|
|
152
|
-
def projection_get(self):
|
|
153
|
-
""" """
|
|
154
|
-
...
|
|
155
|
-
|
|
81
|
+
def node_image_get(self): ...
|
|
82
|
+
def node_mapping_get(self): ...
|
|
83
|
+
def projection_get(self): ...
|
|
156
84
|
def projection_set(self, projection):
|
|
157
85
|
"""
|
|
158
86
|
|
|
@@ -160,10 +88,7 @@ class ShaderImageTextureWrapper:
|
|
|
160
88
|
"""
|
|
161
89
|
...
|
|
162
90
|
|
|
163
|
-
def rotation_get(self):
|
|
164
|
-
""" """
|
|
165
|
-
...
|
|
166
|
-
|
|
91
|
+
def rotation_get(self): ...
|
|
167
92
|
def rotation_set(self, rotation):
|
|
168
93
|
"""
|
|
169
94
|
|
|
@@ -171,10 +96,7 @@ class ShaderImageTextureWrapper:
|
|
|
171
96
|
"""
|
|
172
97
|
...
|
|
173
98
|
|
|
174
|
-
def scale_get(self):
|
|
175
|
-
""" """
|
|
176
|
-
...
|
|
177
|
-
|
|
99
|
+
def scale_get(self): ...
|
|
178
100
|
def scale_set(self, scale):
|
|
179
101
|
"""
|
|
180
102
|
|
|
@@ -182,10 +104,7 @@ class ShaderImageTextureWrapper:
|
|
|
182
104
|
"""
|
|
183
105
|
...
|
|
184
106
|
|
|
185
|
-
def texcoords_get(self):
|
|
186
|
-
""" """
|
|
187
|
-
...
|
|
188
|
-
|
|
107
|
+
def texcoords_get(self): ...
|
|
189
108
|
def texcoords_set(self, texcoords):
|
|
190
109
|
"""
|
|
191
110
|
|
|
@@ -193,10 +112,7 @@ class ShaderImageTextureWrapper:
|
|
|
193
112
|
"""
|
|
194
113
|
...
|
|
195
114
|
|
|
196
|
-
def translation_get(self):
|
|
197
|
-
""" """
|
|
198
|
-
...
|
|
199
|
-
|
|
115
|
+
def translation_get(self): ...
|
|
200
116
|
def translation_set(self, translation):
|
|
201
117
|
"""
|
|
202
118
|
|
|
@@ -211,99 +127,37 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
211
127
|
"""
|
|
212
128
|
|
|
213
129
|
NODES_LIST: typing.Any
|
|
214
|
-
""" """
|
|
215
|
-
|
|
216
130
|
alpha: typing.Any
|
|
217
|
-
""" """
|
|
218
|
-
|
|
219
131
|
alpha_texture: typing.Any
|
|
220
|
-
""" """
|
|
221
|
-
|
|
222
132
|
base_color: typing.Any
|
|
223
|
-
""" """
|
|
224
|
-
|
|
225
133
|
base_color_texture: typing.Any
|
|
226
|
-
""" """
|
|
227
|
-
|
|
228
134
|
emission_color: typing.Any
|
|
229
|
-
""" """
|
|
230
|
-
|
|
231
135
|
emission_color_texture: typing.Any
|
|
232
|
-
""" """
|
|
233
|
-
|
|
234
136
|
emission_strength: typing.Any
|
|
235
|
-
""" """
|
|
236
|
-
|
|
237
137
|
emission_strength_texture: typing.Any
|
|
238
|
-
""" """
|
|
239
|
-
|
|
240
138
|
ior: typing.Any
|
|
241
|
-
""" """
|
|
242
|
-
|
|
243
139
|
ior_texture: typing.Any
|
|
244
|
-
""" """
|
|
245
|
-
|
|
246
140
|
is_readonly: typing.Any
|
|
247
|
-
""" """
|
|
248
|
-
|
|
249
141
|
material: typing.Any
|
|
250
|
-
""" """
|
|
251
|
-
|
|
252
142
|
metallic: typing.Any
|
|
253
|
-
""" """
|
|
254
|
-
|
|
255
143
|
metallic_texture: typing.Any
|
|
256
|
-
""" """
|
|
257
|
-
|
|
258
144
|
node_normalmap: typing.Any
|
|
259
|
-
""" """
|
|
260
|
-
|
|
261
145
|
node_out: typing.Any
|
|
262
|
-
""" """
|
|
263
|
-
|
|
264
146
|
node_principled_bsdf: typing.Any
|
|
265
|
-
""" """
|
|
266
|
-
|
|
267
147
|
node_texcoords: typing.Any
|
|
268
|
-
""" """
|
|
269
|
-
|
|
270
148
|
normalmap_strength: typing.Any
|
|
271
|
-
""" """
|
|
272
|
-
|
|
273
149
|
normalmap_texture: typing.Any
|
|
274
|
-
""" """
|
|
275
|
-
|
|
276
150
|
roughness: typing.Any
|
|
277
|
-
""" """
|
|
278
|
-
|
|
279
151
|
roughness_texture: typing.Any
|
|
280
|
-
""" """
|
|
281
|
-
|
|
282
152
|
specular: typing.Any
|
|
283
|
-
""" """
|
|
284
|
-
|
|
285
153
|
specular_texture: typing.Any
|
|
286
|
-
""" """
|
|
287
|
-
|
|
288
154
|
specular_tint: typing.Any
|
|
289
|
-
""" """
|
|
290
|
-
|
|
291
155
|
specular_tint_texture: typing.Any
|
|
292
|
-
""" """
|
|
293
|
-
|
|
294
156
|
transmission: typing.Any
|
|
295
|
-
""" """
|
|
296
|
-
|
|
297
157
|
transmission_texture: typing.Any
|
|
298
|
-
""" """
|
|
299
|
-
|
|
300
158
|
use_nodes: typing.Any
|
|
301
|
-
""" """
|
|
302
|
-
|
|
303
|
-
def alpha_get(self):
|
|
304
|
-
""" """
|
|
305
|
-
...
|
|
306
159
|
|
|
160
|
+
def alpha_get(self): ...
|
|
307
161
|
def alpha_set(self, value):
|
|
308
162
|
"""
|
|
309
163
|
|
|
@@ -311,14 +165,8 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
311
165
|
"""
|
|
312
166
|
...
|
|
313
167
|
|
|
314
|
-
def alpha_texture_get(self):
|
|
315
|
-
|
|
316
|
-
...
|
|
317
|
-
|
|
318
|
-
def base_color_get(self):
|
|
319
|
-
""" """
|
|
320
|
-
...
|
|
321
|
-
|
|
168
|
+
def alpha_texture_get(self): ...
|
|
169
|
+
def base_color_get(self): ...
|
|
322
170
|
def base_color_set(self, color):
|
|
323
171
|
"""
|
|
324
172
|
|
|
@@ -326,14 +174,8 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
326
174
|
"""
|
|
327
175
|
...
|
|
328
176
|
|
|
329
|
-
def base_color_texture_get(self):
|
|
330
|
-
|
|
331
|
-
...
|
|
332
|
-
|
|
333
|
-
def emission_color_get(self):
|
|
334
|
-
""" """
|
|
335
|
-
...
|
|
336
|
-
|
|
177
|
+
def base_color_texture_get(self): ...
|
|
178
|
+
def emission_color_get(self): ...
|
|
337
179
|
def emission_color_set(self, color):
|
|
338
180
|
"""
|
|
339
181
|
|
|
@@ -341,14 +183,8 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
341
183
|
"""
|
|
342
184
|
...
|
|
343
185
|
|
|
344
|
-
def emission_color_texture_get(self):
|
|
345
|
-
|
|
346
|
-
...
|
|
347
|
-
|
|
348
|
-
def emission_strength_get(self):
|
|
349
|
-
""" """
|
|
350
|
-
...
|
|
351
|
-
|
|
186
|
+
def emission_color_texture_get(self): ...
|
|
187
|
+
def emission_strength_get(self): ...
|
|
352
188
|
def emission_strength_set(self, value):
|
|
353
189
|
"""
|
|
354
190
|
|
|
@@ -356,14 +192,8 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
356
192
|
"""
|
|
357
193
|
...
|
|
358
194
|
|
|
359
|
-
def emission_strength_texture_get(self):
|
|
360
|
-
|
|
361
|
-
...
|
|
362
|
-
|
|
363
|
-
def ior_get(self):
|
|
364
|
-
""" """
|
|
365
|
-
...
|
|
366
|
-
|
|
195
|
+
def emission_strength_texture_get(self): ...
|
|
196
|
+
def ior_get(self): ...
|
|
367
197
|
def ior_set(self, value):
|
|
368
198
|
"""
|
|
369
199
|
|
|
@@ -371,14 +201,8 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
371
201
|
"""
|
|
372
202
|
...
|
|
373
203
|
|
|
374
|
-
def ior_texture_get(self):
|
|
375
|
-
|
|
376
|
-
...
|
|
377
|
-
|
|
378
|
-
def metallic_get(self):
|
|
379
|
-
""" """
|
|
380
|
-
...
|
|
381
|
-
|
|
204
|
+
def ior_texture_get(self): ...
|
|
205
|
+
def metallic_get(self): ...
|
|
382
206
|
def metallic_set(self, value):
|
|
383
207
|
"""
|
|
384
208
|
|
|
@@ -386,22 +210,10 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
386
210
|
"""
|
|
387
211
|
...
|
|
388
212
|
|
|
389
|
-
def metallic_texture_get(self):
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
def node_normalmap_get(self):
|
|
394
|
-
""" """
|
|
395
|
-
...
|
|
396
|
-
|
|
397
|
-
def node_texcoords_get(self):
|
|
398
|
-
""" """
|
|
399
|
-
...
|
|
400
|
-
|
|
401
|
-
def normalmap_strength_get(self):
|
|
402
|
-
""" """
|
|
403
|
-
...
|
|
404
|
-
|
|
213
|
+
def metallic_texture_get(self): ...
|
|
214
|
+
def node_normalmap_get(self): ...
|
|
215
|
+
def node_texcoords_get(self): ...
|
|
216
|
+
def normalmap_strength_get(self): ...
|
|
405
217
|
def normalmap_strength_set(self, value):
|
|
406
218
|
"""
|
|
407
219
|
|
|
@@ -409,14 +221,8 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
409
221
|
"""
|
|
410
222
|
...
|
|
411
223
|
|
|
412
|
-
def normalmap_texture_get(self):
|
|
413
|
-
|
|
414
|
-
...
|
|
415
|
-
|
|
416
|
-
def roughness_get(self):
|
|
417
|
-
""" """
|
|
418
|
-
...
|
|
419
|
-
|
|
224
|
+
def normalmap_texture_get(self): ...
|
|
225
|
+
def roughness_get(self): ...
|
|
420
226
|
def roughness_set(self, value):
|
|
421
227
|
"""
|
|
422
228
|
|
|
@@ -424,14 +230,8 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
424
230
|
"""
|
|
425
231
|
...
|
|
426
232
|
|
|
427
|
-
def roughness_texture_get(self):
|
|
428
|
-
|
|
429
|
-
...
|
|
430
|
-
|
|
431
|
-
def specular_get(self):
|
|
432
|
-
""" """
|
|
433
|
-
...
|
|
434
|
-
|
|
233
|
+
def roughness_texture_get(self): ...
|
|
234
|
+
def specular_get(self): ...
|
|
435
235
|
def specular_set(self, value):
|
|
436
236
|
"""
|
|
437
237
|
|
|
@@ -439,14 +239,8 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
439
239
|
"""
|
|
440
240
|
...
|
|
441
241
|
|
|
442
|
-
def specular_texture_get(self):
|
|
443
|
-
|
|
444
|
-
...
|
|
445
|
-
|
|
446
|
-
def specular_tint_get(self):
|
|
447
|
-
""" """
|
|
448
|
-
...
|
|
449
|
-
|
|
242
|
+
def specular_texture_get(self): ...
|
|
243
|
+
def specular_tint_get(self): ...
|
|
450
244
|
def specular_tint_set(self, color):
|
|
451
245
|
"""
|
|
452
246
|
|
|
@@ -454,14 +248,8 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
454
248
|
"""
|
|
455
249
|
...
|
|
456
250
|
|
|
457
|
-
def specular_tint_texture_get(self):
|
|
458
|
-
|
|
459
|
-
...
|
|
460
|
-
|
|
461
|
-
def transmission_get(self):
|
|
462
|
-
""" """
|
|
463
|
-
...
|
|
464
|
-
|
|
251
|
+
def specular_tint_texture_get(self): ...
|
|
252
|
+
def transmission_get(self): ...
|
|
465
253
|
def transmission_set(self, value):
|
|
466
254
|
"""
|
|
467
255
|
|
|
@@ -469,18 +257,9 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
469
257
|
"""
|
|
470
258
|
...
|
|
471
259
|
|
|
472
|
-
def transmission_texture_get(self):
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
def update(self):
|
|
477
|
-
""" """
|
|
478
|
-
...
|
|
479
|
-
|
|
480
|
-
def use_nodes_get(self):
|
|
481
|
-
""" """
|
|
482
|
-
...
|
|
483
|
-
|
|
260
|
+
def transmission_texture_get(self): ...
|
|
261
|
+
def update(self): ...
|
|
262
|
+
def use_nodes_get(self): ...
|
|
484
263
|
def use_nodes_set(self, val):
|
|
485
264
|
"""
|
|
486
265
|
|
|
@@ -488,27 +267,8 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
488
267
|
"""
|
|
489
268
|
...
|
|
490
269
|
|
|
491
|
-
def node_input_value_get(node, input, default_value=None):
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
def node_input_value_set(node, input, value):
|
|
497
|
-
""" """
|
|
498
|
-
|
|
499
|
-
...
|
|
500
|
-
|
|
501
|
-
def rgb_to_rgba(rgb):
|
|
502
|
-
""" """
|
|
503
|
-
|
|
504
|
-
...
|
|
505
|
-
|
|
506
|
-
def rgba_to_rgb(rgba):
|
|
507
|
-
""" """
|
|
508
|
-
|
|
509
|
-
...
|
|
510
|
-
|
|
511
|
-
def values_clamp(val, minv, maxv):
|
|
512
|
-
""" """
|
|
513
|
-
|
|
514
|
-
...
|
|
270
|
+
def node_input_value_get(node, input, default_value=None): ...
|
|
271
|
+
def node_input_value_set(node, input, value): ...
|
|
272
|
+
def rgb_to_rgba(rgb): ...
|
|
273
|
+
def rgba_to_rgb(rgba): ...
|
|
274
|
+
def values_clamp(val, minv, maxv): ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
def connect_sockets(input, output):
|
|
6
7
|
"""Connect sockets in a node tree.This is useful because the links created through the normal Python API are
|
|
@@ -19,12 +20,5 @@ def find_base_socket_type(socket):
|
|
|
19
20
|
|
|
20
21
|
...
|
|
21
22
|
|
|
22
|
-
def find_node_input(node, name):
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
...
|
|
26
|
-
|
|
27
|
-
def find_node_input(node, name):
|
|
28
|
-
""" """
|
|
29
|
-
|
|
30
|
-
...
|
|
23
|
+
def find_node_input(node, name): ...
|
|
24
|
+
def find_node_input(node, name): ...
|
|
@@ -2,11 +2,10 @@ import typing
|
|
|
2
2
|
import bpy.types
|
|
3
3
|
import mathutils
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
7
|
|
|
7
8
|
class AddObjectHelper:
|
|
8
|
-
""" """
|
|
9
|
-
|
|
10
9
|
def align_update_callback(self, _context):
|
|
11
10
|
"""
|
|
12
11
|
|
bpy_extras/wm_utils/__init__.pyi
CHANGED
|
@@ -1,24 +1,14 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
class ProgressReport:
|
|
6
|
-
""" """
|
|
7
|
-
|
|
8
7
|
curr_step: typing.Any
|
|
9
|
-
""" """
|
|
10
|
-
|
|
11
8
|
running: typing.Any
|
|
12
|
-
""" """
|
|
13
|
-
|
|
14
9
|
start_time: typing.Any
|
|
15
|
-
""" """
|
|
16
|
-
|
|
17
10
|
steps: typing.Any
|
|
18
|
-
""" """
|
|
19
|
-
|
|
20
11
|
wm: typing.Any
|
|
21
|
-
""" """
|
|
22
12
|
|
|
23
13
|
def enter_substeps(self, nbr, msg=""):
|
|
24
14
|
"""
|
|
@@ -28,10 +18,7 @@ class ProgressReport:
|
|
|
28
18
|
"""
|
|
29
19
|
...
|
|
30
20
|
|
|
31
|
-
def finalize(self):
|
|
32
|
-
""" """
|
|
33
|
-
...
|
|
34
|
-
|
|
21
|
+
def finalize(self): ...
|
|
35
22
|
def initialize(self, wm=None):
|
|
36
23
|
"""Initialize self. See help(type(self)) for accurate signature.
|
|
37
24
|
|
|
@@ -46,10 +33,7 @@ class ProgressReport:
|
|
|
46
33
|
"""
|
|
47
34
|
...
|
|
48
35
|
|
|
49
|
-
def start(self):
|
|
50
|
-
""" """
|
|
51
|
-
...
|
|
52
|
-
|
|
36
|
+
def start(self): ...
|
|
53
37
|
def step(self, msg="", nbr=1):
|
|
54
38
|
"""
|
|
55
39
|
|
|
@@ -72,19 +56,10 @@ class ProgressReportSubstep:
|
|
|
72
56
|
"""
|
|
73
57
|
|
|
74
58
|
final_msg: typing.Any
|
|
75
|
-
""" """
|
|
76
|
-
|
|
77
59
|
level: typing.Any
|
|
78
|
-
""" """
|
|
79
|
-
|
|
80
60
|
msg: typing.Any
|
|
81
|
-
""" """
|
|
82
|
-
|
|
83
61
|
nbr: typing.Any
|
|
84
|
-
""" """
|
|
85
|
-
|
|
86
62
|
progress: typing.Any
|
|
87
|
-
""" """
|
|
88
63
|
|
|
89
64
|
def enter_substeps(self, nbr, msg=""):
|
|
90
65
|
"""
|
bpy_restrict_state/__init__.pyi
CHANGED
|
@@ -1,26 +1,14 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
class RestrictBlend:
|
|
6
|
-
""" """
|
|
7
|
-
|
|
8
7
|
context: typing.Any
|
|
9
|
-
""" """
|
|
10
|
-
|
|
11
8
|
data: typing.Any
|
|
12
|
-
""" """
|
|
13
9
|
|
|
14
10
|
class _RestrictContext:
|
|
15
|
-
""" """
|
|
16
|
-
|
|
17
11
|
preferences: typing.Any
|
|
18
|
-
""" """
|
|
19
|
-
|
|
20
12
|
window_manager: typing.Any
|
|
21
|
-
""" """
|
|
22
|
-
|
|
23
|
-
class _RestrictData:
|
|
24
|
-
""" """
|
|
25
13
|
|
|
26
|
-
|
|
14
|
+
class _RestrictData: ...
|