fake-bpy-module 20240421__py3-none-any.whl → 20240423__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.
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +12 -12
- bl_operators/geometry_nodes/__init__.pyi +256 -238
- bl_operators/node/__init__.pyi +262 -260
- bl_operators/object_quick_effects/__init__.pyi +19 -19
- bl_operators/presets/__init__.pyi +371 -368
- bl_operators/wm/__init__.pyi +4 -4
- bl_ui/__init__.pyi +3 -3
- bl_ui/anim/__init__.pyi +1 -1
- bl_ui/asset_shelf/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
- bl_ui/node_add_menu_shader/__init__.pyi +10 -10
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_collection/__init__.pyi +39 -25
- bl_ui/properties_constraint/__init__.pyi +1257 -1041
- bl_ui/properties_data_armature/__init__.pyi +120 -96
- bl_ui/properties_data_bone/__init__.pyi +36 -29
- bl_ui/properties_data_camera/__init__.pyi +32 -14
- bl_ui/properties_data_curve/__init__.pyi +143 -116
- bl_ui/properties_data_curves/__init__.pyi +30 -25
- bl_ui/properties_data_empty/__init__.pyi +21 -21
- bl_ui/properties_data_gpencil/__init__.pyi +297 -260
- bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
- bl_ui/properties_data_lattice/__init__.pyi +25 -22
- bl_ui/properties_data_light/__init__.pyi +44 -31
- bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
- bl_ui/properties_data_mesh/__init__.pyi +579 -570
- bl_ui/properties_data_metaball/__init__.pyi +29 -24
- bl_ui/properties_data_modifier/__init__.pyi +55 -43
- bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
- bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
- bl_ui/properties_data_speaker/__init__.pyi +27 -24
- bl_ui/properties_data_volume/__init__.pyi +75 -68
- bl_ui/properties_freestyle/__init__.pyi +407 -284
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
- bl_ui/properties_mask_common/__init__.pyi +7 -7
- bl_ui/properties_material/__init__.pyi +186 -162
- bl_ui/properties_material_gpencil/__init__.pyi +111 -87
- bl_ui/properties_object/__init__.pyi +102 -84
- bl_ui/properties_output/__init__.pyi +255 -228
- bl_ui/properties_paint_common/__init__.pyi +9 -9
- bl_ui/properties_particle/__init__.pyi +341 -254
- bl_ui/properties_physics_cloth/__init__.pyi +54 -33
- bl_ui/properties_physics_common/__init__.pyi +20 -20
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
- bl_ui/properties_physics_field/__init__.pyi +52 -36
- bl_ui/properties_physics_fluid/__init__.pyi +119 -96
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
- bl_ui/properties_physics_softbody/__init__.pyi +62 -34
- bl_ui/properties_render/__init__.pyi +275 -187
- bl_ui/properties_scene/__init__.pyi +173 -154
- bl_ui/properties_texture/__init__.pyi +251 -205
- bl_ui/properties_view_layer/__init__.pyi +126 -93
- bl_ui/properties_workspace/__init__.pyi +82 -76
- bl_ui/properties_world/__init__.pyi +31 -26
- bl_ui/space_clip/__init__.pyi +495 -433
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +209 -174
- bl_ui/space_filebrowser/__init__.pyi +691 -679
- bl_ui/space_graph/__init__.pyi +25 -20
- bl_ui/space_image/__init__.pyi +959 -845
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +26 -17
- bl_ui/space_node/__init__.pyi +49 -36
- bl_ui/space_outliner/__init__.pyi +14 -14
- bl_ui/space_properties/__init__.pyi +3 -3
- bl_ui/space_sequencer/__init__.pyi +510 -444
- bl_ui/space_spreadsheet/__init__.pyi +1 -1
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +16 -16
- bl_ui/space_time/__init__.pyi +27 -23
- bl_ui/space_toolsystem_common/__init__.pyi +1 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +52 -4
- bl_ui/space_topbar/__init__.pyi +26 -26
- bl_ui/space_userpref/__init__.pyi +795 -658
- bl_ui/space_view3d/__init__.pyi +1460 -1428
- bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
- bl_ui/temp_anim_layers/__init__.pyi +1 -1
- bmesh/types/__init__.pyi +13 -6
- bpy/app/__init__.pyi +4 -4
- bpy/app/icons/__init__.pyi +8 -6
- bpy/app/timers/__init__.pyi +10 -8
- bpy/app/translations/__init__.pyi +22 -20
- bpy/msgbus/__init__.pyi +4 -2
- bpy/ops/action/__init__.pyi +319 -316
- bpy/ops/anim/__init__.pyi +428 -428
- bpy/ops/armature/__init__.pyi +359 -358
- bpy/ops/asset/__init__.pyi +146 -146
- bpy/ops/boid/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +72 -72
- bpy/ops/buttons/__init__.pyi +128 -128
- bpy/ops/cachefile/__init__.pyi +124 -124
- bpy/ops/camera/__init__.pyi +22 -22
- bpy/ops/clip/__init__.pyi +773 -768
- bpy/ops/cloth/__init__.pyi +10 -10
- bpy/ops/collection/__init__.pyi +64 -64
- bpy/ops/console/__init__.pyi +150 -150
- bpy/ops/constraint/__init__.pyi +150 -150
- bpy/ops/curve/__init__.pyi +475 -472
- bpy/ops/curves/__init__.pyi +247 -244
- bpy/ops/cycles/__init__.pyi +18 -18
- bpy/ops/dpaint/__init__.pyi +34 -34
- bpy/ops/ed/__init__.pyi +122 -122
- bpy/ops/export_anim/__init__.pyi +18 -18
- bpy/ops/export_mesh/__init__.pyi +26 -26
- bpy/ops/export_scene/__init__.pyi +333 -307
- bpy/ops/file/__init__.pyi +340 -340
- bpy/ops/fluid/__init__.pyi +88 -88
- bpy/ops/font/__init__.pyi +252 -252
- bpy/ops/geometry/__init__.pyi +86 -86
- bpy/ops/gizmogroup/__init__.pyi +22 -22
- bpy/ops/gpencil/__init__.pyi +1459 -1444
- bpy/ops/graph/__init__.pyi +645 -642
- bpy/ops/grease_pencil/__init__.pyi +580 -436
- bpy/ops/image/__init__.pyi +614 -612
- bpy/ops/import_anim/__init__.pyi +26 -26
- bpy/ops/import_curve/__init__.pyi +6 -6
- bpy/ops/import_mesh/__init__.pyi +20 -18
- bpy/ops/import_scene/__init__.pyi +92 -86
- bpy/ops/info/__init__.pyi +60 -60
- bpy/ops/lattice/__init__.pyi +64 -64
- bpy/ops/marker/__init__.pyi +106 -106
- bpy/ops/mask/__init__.pyi +321 -318
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +71 -70
- bpy/ops/mesh/__init__.pyi +1997 -1990
- bpy/ops/nla/__init__.pyi +331 -330
- bpy/ops/node/__init__.pyi +867 -852
- bpy/ops/object/__init__.pyi +2433 -2430
- bpy/ops/outliner/__init__.pyi +498 -498
- bpy/ops/paint/__init__.pyi +554 -544
- bpy/ops/paintcurve/__init__.pyi +64 -64
- bpy/ops/palette/__init__.pyi +48 -48
- bpy/ops/particle/__init__.pyi +266 -264
- bpy/ops/pose/__init__.pyi +336 -336
- bpy/ops/poselib/__init__.pyi +70 -70
- bpy/ops/preferences/__init__.pyi +338 -336
- bpy/ops/ptcache/__init__.pyi +46 -46
- bpy/ops/render/__init__.pyi +114 -114
- bpy/ops/rigidbody/__init__.pyi +102 -102
- bpy/ops/scene/__init__.pyi +270 -270
- bpy/ops/screen/__init__.pyi +378 -378
- bpy/ops/script/__init__.pyi +18 -18
- bpy/ops/sculpt/__init__.pyi +411 -405
- bpy/ops/sculpt_curves/__init__.pyi +42 -40
- bpy/ops/sequencer/__init__.pyi +1053 -1040
- bpy/ops/sound/__init__.pyi +208 -208
- bpy/ops/spreadsheet/__init__.pyi +30 -30
- bpy/ops/surface/__init__.pyi +108 -108
- bpy/ops/text/__init__.pyi +382 -382
- bpy/ops/text_editor/__init__.pyi +10 -10
- bpy/ops/texture/__init__.pyi +26 -26
- bpy/ops/transform/__init__.pyi +826 -790
- bpy/ops/ui/__init__.pyi +216 -216
- bpy/ops/uilist/__init__.pyi +20 -20
- bpy/ops/uv/__init__.pyi +605 -600
- bpy/ops/view2d/__init__.pyi +156 -156
- bpy/ops/view3d/__init__.pyi +578 -576
- bpy/ops/wm/__init__.pyi +2418 -2376
- bpy/ops/workspace/__init__.pyi +42 -42
- bpy/ops/world/__init__.pyi +6 -6
- bpy/path/__init__.pyi +48 -33
- bpy/props/__init__.pyi +263 -261
- bpy/types/__init__.pyi +105733 -102298
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +21 -18
- bpy_extras/anim_utils/__init__.pyi +9 -2
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_types/__init__.pyi +236 -236
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/RECORD +187 -187
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/types/__init__.pyi +8 -3
- gpu_extras/presets/__init__.pyi +14 -2
- keyingsets_builtins/__init__.pyi +92 -92
- mathutils/__init__.pyi +9 -5
- mathutils/geometry/__init__.pyi +8 -4
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/top_level.txt +0 -0
|
@@ -32,7 +32,7 @@ class ChainPredicateIterator:
|
|
|
32
32
|
bpred: freestyle.types.BinaryPredicate1D,
|
|
33
33
|
restrict_to_selection: bool = True,
|
|
34
34
|
restrict_to_unvisited: bool = True,
|
|
35
|
-
begin=None,
|
|
35
|
+
begin: typing.Optional[freestyle.types.ViewEdge] = None,
|
|
36
36
|
orientation: bool = True,
|
|
37
37
|
):
|
|
38
38
|
"""Builds a ChainPredicateIterator from a unary predicate, a binary
|
|
@@ -50,6 +50,7 @@ class ChainPredicateIterator:
|
|
|
50
50
|
already been chained must be ignored ot not.
|
|
51
51
|
:type restrict_to_unvisited: bool
|
|
52
52
|
:param begin: The ViewEdge from where to start the iteration.
|
|
53
|
+
:type begin: typing.Optional[freestyle.types.ViewEdge]
|
|
53
54
|
:param orientation: If true, we'll look for the next ViewEdge among
|
|
54
55
|
the ViewEdges that surround the ending ViewVertex of begin. If
|
|
55
56
|
false, we'll search over the ViewEdges surrounding the ending
|
|
@@ -80,7 +81,10 @@ class ChainSilhouetteIterator:
|
|
|
80
81
|
"""
|
|
81
82
|
|
|
82
83
|
def __init__(
|
|
83
|
-
self,
|
|
84
|
+
self,
|
|
85
|
+
restrict_to_selection: bool = True,
|
|
86
|
+
begin: typing.Optional[freestyle.types.ViewEdge] = None,
|
|
87
|
+
orientation: bool = True,
|
|
84
88
|
):
|
|
85
89
|
"""Builds a ChainSilhouetteIterator from the first ViewEdge used for
|
|
86
90
|
iteration and its orientation or the copy constructor.
|
|
@@ -89,6 +93,7 @@ class ChainSilhouetteIterator:
|
|
|
89
93
|
to stay within the set of selected ViewEdges or not.
|
|
90
94
|
:type restrict_to_selection: bool
|
|
91
95
|
:param begin: The ViewEdge from where to start the iteration.
|
|
96
|
+
:type begin: typing.Optional[freestyle.types.ViewEdge]
|
|
92
97
|
:param orientation: If true, we'll look for the next ViewEdge among
|
|
93
98
|
the ViewEdges that surround the ending ViewVertex of begin. If
|
|
94
99
|
false, we'll search over the ViewEdges surrounding the ending
|
freestyle/types/__init__.pyi
CHANGED
|
@@ -286,7 +286,7 @@ class ChainingIterator:
|
|
|
286
286
|
self,
|
|
287
287
|
restrict_to_selection: bool = True,
|
|
288
288
|
restrict_to_unvisited: bool = True,
|
|
289
|
-
begin=None,
|
|
289
|
+
begin: typing.Optional[ViewEdge] = None,
|
|
290
290
|
orientation: bool = True,
|
|
291
291
|
):
|
|
292
292
|
"""Builds a Chaining Iterator from the first ViewEdge used for
|
|
@@ -299,6 +299,7 @@ class ChainingIterator:
|
|
|
299
299
|
already been chained must be ignored ot not.
|
|
300
300
|
:type restrict_to_unvisited: bool
|
|
301
301
|
:param begin: The ViewEdge from which to start the chain.
|
|
302
|
+
:type begin: typing.Optional[ViewEdge]
|
|
302
303
|
:param orientation: The direction to follow to explore the graph. If
|
|
303
304
|
true, the direction indicated by the first ViewEdge is used.
|
|
304
305
|
:type orientation: bool
|
|
@@ -322,7 +323,7 @@ class ChainingIterator:
|
|
|
322
323
|
"""
|
|
323
324
|
...
|
|
324
325
|
|
|
325
|
-
def traverse(self, it: AdjacencyIterator):
|
|
326
|
+
def traverse(self, it: AdjacencyIterator) -> ViewEdge:
|
|
326
327
|
"""This method iterates over the potential next ViewEdges and returns
|
|
327
328
|
the one that will be followed next. Returns the next ViewEdge to
|
|
328
329
|
follow or None when the end of the chain is reached.
|
|
@@ -332,6 +333,7 @@ class ChainingIterator:
|
|
|
332
333
|
restriction rules by only iterating over the valid ViewEdges.
|
|
333
334
|
:type it: AdjacencyIterator
|
|
334
335
|
:return: Returns the next ViewEdge to follow, or None if chaining ends.
|
|
336
|
+
:rtype: ViewEdge
|
|
335
337
|
"""
|
|
336
338
|
...
|
|
337
339
|
|
|
@@ -2929,11 +2931,14 @@ of the "begin" ViewEdge.
|
|
|
2929
2931
|
:type: bool
|
|
2930
2932
|
"""
|
|
2931
2933
|
|
|
2932
|
-
def __init__(
|
|
2934
|
+
def __init__(
|
|
2935
|
+
self, begin: typing.Optional[ViewEdge] = None, orientation: bool = True
|
|
2936
|
+
):
|
|
2933
2937
|
"""Builds a ViewEdgeIterator from a starting ViewEdge and its
|
|
2934
2938
|
orientation or the copy constructor.
|
|
2935
2939
|
|
|
2936
2940
|
:param begin: The ViewEdge from where to start the iteration.
|
|
2941
|
+
:type begin: typing.Optional[ViewEdge]
|
|
2937
2942
|
:param orientation: If true, we'll look for the next ViewEdge among
|
|
2938
2943
|
the ViewEdges that surround the ending ViewVertex of begin. If
|
|
2939
2944
|
false, we'll search over the ViewEdges surrounding the ending
|
gpu_extras/presets/__init__.pyi
CHANGED
|
@@ -4,7 +4,12 @@ import mathutils
|
|
|
4
4
|
|
|
5
5
|
GenericType = typing.TypeVar("GenericType")
|
|
6
6
|
|
|
7
|
-
def draw_circle_2d(
|
|
7
|
+
def draw_circle_2d(
|
|
8
|
+
position: mathutils.Vector,
|
|
9
|
+
color,
|
|
10
|
+
radius: float,
|
|
11
|
+
segments: typing.Optional[int] = None,
|
|
12
|
+
):
|
|
8
13
|
"""Draw a circle.
|
|
9
14
|
|
|
10
15
|
:param position: Position where the circle will be drawn.
|
|
@@ -15,11 +20,17 @@ def draw_circle_2d(position: mathutils.Vector, color, radius: float, segments=No
|
|
|
15
20
|
:param segments: How many segments will be used to draw the circle.
|
|
16
21
|
Higher values give better results but the drawing will take longer.
|
|
17
22
|
If None or not specified, an automatic value will be calculated.
|
|
23
|
+
:type segments: typing.Optional[int]
|
|
18
24
|
"""
|
|
19
25
|
|
|
20
26
|
...
|
|
21
27
|
|
|
22
|
-
def draw_circle_2d(
|
|
28
|
+
def draw_circle_2d(
|
|
29
|
+
position: mathutils.Vector,
|
|
30
|
+
color,
|
|
31
|
+
radius: float,
|
|
32
|
+
segments: typing.Optional[int] = None,
|
|
33
|
+
):
|
|
23
34
|
"""Draw a circle.
|
|
24
35
|
|
|
25
36
|
:param position: Position where the circle will be drawn.
|
|
@@ -30,6 +41,7 @@ def draw_circle_2d(position: mathutils.Vector, color, radius: float, segments=No
|
|
|
30
41
|
:param segments: How many segments will be used to draw the circle.
|
|
31
42
|
Higher values give better results but the drawing will take longer.
|
|
32
43
|
If None or not specified, an automatic value will be calculated.
|
|
44
|
+
:type segments: typing.Optional[int]
|
|
33
45
|
"""
|
|
34
46
|
|
|
35
47
|
...
|
keyingsets_builtins/__init__.pyi
CHANGED
|
@@ -2729,7 +2729,97 @@ class BUILTIN_KSI_VisualScaling(bpy_types.KeyingSetInfo):
|
|
|
2729
2729
|
""" """
|
|
2730
2730
|
...
|
|
2731
2731
|
|
|
2732
|
-
class
|
|
2732
|
+
class WholeCharacterMixin:
|
|
2733
|
+
""" """
|
|
2734
|
+
|
|
2735
|
+
badBonePrefixes: typing.Any
|
|
2736
|
+
""" """
|
|
2737
|
+
|
|
2738
|
+
def addProp(self, ks, bone, prop, index, use_groups):
|
|
2739
|
+
"""
|
|
2740
|
+
|
|
2741
|
+
:param ks:
|
|
2742
|
+
:param bone:
|
|
2743
|
+
:param prop:
|
|
2744
|
+
:param index:
|
|
2745
|
+
:param use_groups:
|
|
2746
|
+
"""
|
|
2747
|
+
...
|
|
2748
|
+
|
|
2749
|
+
def doBBone(self, context, ks, pchan):
|
|
2750
|
+
"""
|
|
2751
|
+
|
|
2752
|
+
:param context:
|
|
2753
|
+
:param ks:
|
|
2754
|
+
:param pchan:
|
|
2755
|
+
"""
|
|
2756
|
+
...
|
|
2757
|
+
|
|
2758
|
+
def doCustomProps(self, ks, bone):
|
|
2759
|
+
"""
|
|
2760
|
+
|
|
2761
|
+
:param ks:
|
|
2762
|
+
:param bone:
|
|
2763
|
+
"""
|
|
2764
|
+
...
|
|
2765
|
+
|
|
2766
|
+
def doLoc(self, ks, bone):
|
|
2767
|
+
"""
|
|
2768
|
+
|
|
2769
|
+
:param ks:
|
|
2770
|
+
:param bone:
|
|
2771
|
+
"""
|
|
2772
|
+
...
|
|
2773
|
+
|
|
2774
|
+
def doRot3d(self, ks, bone):
|
|
2775
|
+
"""
|
|
2776
|
+
|
|
2777
|
+
:param ks:
|
|
2778
|
+
:param bone:
|
|
2779
|
+
"""
|
|
2780
|
+
...
|
|
2781
|
+
|
|
2782
|
+
def doRot4d(self, ks, bone):
|
|
2783
|
+
"""
|
|
2784
|
+
|
|
2785
|
+
:param ks:
|
|
2786
|
+
:param bone:
|
|
2787
|
+
"""
|
|
2788
|
+
...
|
|
2789
|
+
|
|
2790
|
+
def doScale(self, ks, bone):
|
|
2791
|
+
"""
|
|
2792
|
+
|
|
2793
|
+
:param ks:
|
|
2794
|
+
:param bone:
|
|
2795
|
+
"""
|
|
2796
|
+
...
|
|
2797
|
+
|
|
2798
|
+
def generate(self, context, ks, bone):
|
|
2799
|
+
"""
|
|
2800
|
+
|
|
2801
|
+
:param context:
|
|
2802
|
+
:param ks:
|
|
2803
|
+
:param bone:
|
|
2804
|
+
"""
|
|
2805
|
+
...
|
|
2806
|
+
|
|
2807
|
+
def iterator(self, context, ks):
|
|
2808
|
+
"""
|
|
2809
|
+
|
|
2810
|
+
:param context:
|
|
2811
|
+
:param ks:
|
|
2812
|
+
"""
|
|
2813
|
+
...
|
|
2814
|
+
|
|
2815
|
+
def poll(self, context):
|
|
2816
|
+
"""
|
|
2817
|
+
|
|
2818
|
+
:param context:
|
|
2819
|
+
"""
|
|
2820
|
+
...
|
|
2821
|
+
|
|
2822
|
+
class BUILTIN_KSI_WholeCharacter(WholeCharacterMixin, bpy_types.KeyingSetInfo):
|
|
2733
2823
|
""" """
|
|
2734
2824
|
|
|
2735
2825
|
badBonePrefixes: typing.Any
|
|
@@ -2927,7 +3017,7 @@ class BUILTIN_KSI_WholeCharacter(bpy_types.KeyingSetInfo):
|
|
|
2927
3017
|
""" """
|
|
2928
3018
|
...
|
|
2929
3019
|
|
|
2930
|
-
class BUILTIN_KSI_WholeCharacterSelected(bpy_types.KeyingSetInfo):
|
|
3020
|
+
class BUILTIN_KSI_WholeCharacterSelected(WholeCharacterMixin, bpy_types.KeyingSetInfo):
|
|
2931
3021
|
""" """
|
|
2932
3022
|
|
|
2933
3023
|
badBonePrefixes: typing.Any
|
|
@@ -3125,96 +3215,6 @@ class BUILTIN_KSI_WholeCharacterSelected(bpy_types.KeyingSetInfo):
|
|
|
3125
3215
|
""" """
|
|
3126
3216
|
...
|
|
3127
3217
|
|
|
3128
|
-
class WholeCharacterMixin:
|
|
3129
|
-
""" """
|
|
3130
|
-
|
|
3131
|
-
badBonePrefixes: typing.Any
|
|
3132
|
-
""" """
|
|
3133
|
-
|
|
3134
|
-
def addProp(self, ks, bone, prop, index, use_groups):
|
|
3135
|
-
"""
|
|
3136
|
-
|
|
3137
|
-
:param ks:
|
|
3138
|
-
:param bone:
|
|
3139
|
-
:param prop:
|
|
3140
|
-
:param index:
|
|
3141
|
-
:param use_groups:
|
|
3142
|
-
"""
|
|
3143
|
-
...
|
|
3144
|
-
|
|
3145
|
-
def doBBone(self, context, ks, pchan):
|
|
3146
|
-
"""
|
|
3147
|
-
|
|
3148
|
-
:param context:
|
|
3149
|
-
:param ks:
|
|
3150
|
-
:param pchan:
|
|
3151
|
-
"""
|
|
3152
|
-
...
|
|
3153
|
-
|
|
3154
|
-
def doCustomProps(self, ks, bone):
|
|
3155
|
-
"""
|
|
3156
|
-
|
|
3157
|
-
:param ks:
|
|
3158
|
-
:param bone:
|
|
3159
|
-
"""
|
|
3160
|
-
...
|
|
3161
|
-
|
|
3162
|
-
def doLoc(self, ks, bone):
|
|
3163
|
-
"""
|
|
3164
|
-
|
|
3165
|
-
:param ks:
|
|
3166
|
-
:param bone:
|
|
3167
|
-
"""
|
|
3168
|
-
...
|
|
3169
|
-
|
|
3170
|
-
def doRot3d(self, ks, bone):
|
|
3171
|
-
"""
|
|
3172
|
-
|
|
3173
|
-
:param ks:
|
|
3174
|
-
:param bone:
|
|
3175
|
-
"""
|
|
3176
|
-
...
|
|
3177
|
-
|
|
3178
|
-
def doRot4d(self, ks, bone):
|
|
3179
|
-
"""
|
|
3180
|
-
|
|
3181
|
-
:param ks:
|
|
3182
|
-
:param bone:
|
|
3183
|
-
"""
|
|
3184
|
-
...
|
|
3185
|
-
|
|
3186
|
-
def doScale(self, ks, bone):
|
|
3187
|
-
"""
|
|
3188
|
-
|
|
3189
|
-
:param ks:
|
|
3190
|
-
:param bone:
|
|
3191
|
-
"""
|
|
3192
|
-
...
|
|
3193
|
-
|
|
3194
|
-
def generate(self, context, ks, bone):
|
|
3195
|
-
"""
|
|
3196
|
-
|
|
3197
|
-
:param context:
|
|
3198
|
-
:param ks:
|
|
3199
|
-
:param bone:
|
|
3200
|
-
"""
|
|
3201
|
-
...
|
|
3202
|
-
|
|
3203
|
-
def iterator(self, context, ks):
|
|
3204
|
-
"""
|
|
3205
|
-
|
|
3206
|
-
:param context:
|
|
3207
|
-
:param ks:
|
|
3208
|
-
"""
|
|
3209
|
-
...
|
|
3210
|
-
|
|
3211
|
-
def poll(self, context):
|
|
3212
|
-
"""
|
|
3213
|
-
|
|
3214
|
-
:param context:
|
|
3215
|
-
"""
|
|
3216
|
-
...
|
|
3217
|
-
|
|
3218
3218
|
def register():
|
|
3219
3219
|
""" """
|
|
3220
3220
|
|
mathutils/__init__.pyi
CHANGED
|
@@ -525,19 +525,23 @@ class Matrix:
|
|
|
525
525
|
@classmethod
|
|
526
526
|
def LocRotScale(
|
|
527
527
|
cls,
|
|
528
|
-
location,
|
|
529
|
-
rotation: typing.
|
|
530
|
-
typing.
|
|
528
|
+
location: typing.Optional[typing.Union[typing.Sequence[float], Vector]],
|
|
529
|
+
rotation: typing.Optional[
|
|
530
|
+
typing.Union[
|
|
531
|
+
typing.Sequence[float], Quaternion, typing.Sequence[float], Euler
|
|
532
|
+
]
|
|
531
533
|
],
|
|
532
|
-
scale,
|
|
534
|
+
scale: typing.Optional[typing.Union[typing.Sequence[float], Vector]],
|
|
533
535
|
):
|
|
534
536
|
"""Create a matrix combining translation, rotation and scale,
|
|
535
537
|
acting as the inverse of the decompose() method.Any of the inputs may be replaced with None if not needed.
|
|
536
538
|
|
|
537
539
|
:param location: The translation component.
|
|
540
|
+
:type location: typing.Optional[typing.Union[typing.Sequence[float], Vector]]
|
|
538
541
|
:param rotation: The rotation component.
|
|
539
|
-
:type rotation: typing.Union[typing.Sequence[float], Quaternion, typing.Sequence[float], Euler]
|
|
542
|
+
:type rotation: typing.Optional[typing.Union[typing.Sequence[float], Quaternion, typing.Sequence[float], Euler]]
|
|
540
543
|
:param scale: The scale component.
|
|
544
|
+
:type scale: typing.Optional[typing.Union[typing.Sequence[float], Vector]]
|
|
541
545
|
:return: Combined transformation matrix.
|
|
542
546
|
"""
|
|
543
547
|
...
|
mathutils/geometry/__init__.pyi
CHANGED
|
@@ -210,7 +210,7 @@ def intersect_line_line_2d(
|
|
|
210
210
|
lineA_p2: typing.Union[typing.Sequence[float], mathutils.Vector],
|
|
211
211
|
lineB_p1: typing.Union[typing.Sequence[float], mathutils.Vector],
|
|
212
212
|
lineB_p2: typing.Union[typing.Sequence[float], mathutils.Vector],
|
|
213
|
-
):
|
|
213
|
+
) -> mathutils.Vector:
|
|
214
214
|
"""Takes 2 segments (defined by 4 vectors) and returns a vector for their point of intersection or None.
|
|
215
215
|
|
|
216
216
|
:param lineA_p1: First point of the first line
|
|
@@ -222,6 +222,7 @@ def intersect_line_line_2d(
|
|
|
222
222
|
:param lineB_p2: Second point of the second line
|
|
223
223
|
:type lineB_p2: typing.Union[typing.Sequence[float], mathutils.Vector]
|
|
224
224
|
:return: The point of intersection or None when not found
|
|
225
|
+
:rtype: mathutils.Vector
|
|
225
226
|
"""
|
|
226
227
|
|
|
227
228
|
...
|
|
@@ -232,7 +233,7 @@ def intersect_line_plane(
|
|
|
232
233
|
plane_co: typing.Union[typing.Sequence[float], mathutils.Vector],
|
|
233
234
|
plane_no: typing.Union[typing.Sequence[float], mathutils.Vector],
|
|
234
235
|
no_flip=False,
|
|
235
|
-
):
|
|
236
|
+
) -> mathutils.Vector:
|
|
236
237
|
"""Calculate the intersection between a line (as 2 vectors) and a plane.
|
|
237
238
|
Returns a vector for the intersection or None.
|
|
238
239
|
|
|
@@ -245,6 +246,7 @@ def intersect_line_plane(
|
|
|
245
246
|
:param plane_no: The direction the plane is facing
|
|
246
247
|
:type plane_no: typing.Union[typing.Sequence[float], mathutils.Vector]
|
|
247
248
|
:return: The point of intersection or None when not found
|
|
249
|
+
:rtype: mathutils.Vector
|
|
248
250
|
"""
|
|
249
251
|
|
|
250
252
|
...
|
|
@@ -365,7 +367,7 @@ def intersect_point_tri(
|
|
|
365
367
|
tri_p1: typing.Union[typing.Sequence[float], mathutils.Vector],
|
|
366
368
|
tri_p2: typing.Union[typing.Sequence[float], mathutils.Vector],
|
|
367
369
|
tri_p3: typing.Union[typing.Sequence[float], mathutils.Vector],
|
|
368
|
-
):
|
|
370
|
+
) -> mathutils.Vector:
|
|
369
371
|
"""Takes 4 vectors: one is the point and the next 3 define the triangle. Projects the point onto the triangle plane and checks if it is within the triangle.
|
|
370
372
|
|
|
371
373
|
:param pt: Point
|
|
@@ -377,6 +379,7 @@ def intersect_point_tri(
|
|
|
377
379
|
:param tri_p3: Third point of the triangle
|
|
378
380
|
:type tri_p3: typing.Union[typing.Sequence[float], mathutils.Vector]
|
|
379
381
|
:return: Point on the triangles plane or None if its outside the triangle
|
|
382
|
+
:rtype: mathutils.Vector
|
|
380
383
|
"""
|
|
381
384
|
|
|
382
385
|
...
|
|
@@ -409,7 +412,7 @@ def intersect_ray_tri(
|
|
|
409
412
|
ray: typing.Union[typing.Sequence[float], mathutils.Vector],
|
|
410
413
|
orig: typing.Union[typing.Sequence[float], mathutils.Vector],
|
|
411
414
|
clip: bool = True,
|
|
412
|
-
):
|
|
415
|
+
) -> mathutils.Vector:
|
|
413
416
|
"""Returns the intersection between a ray and a triangle, if possible, returns None otherwise.
|
|
414
417
|
|
|
415
418
|
:param v1: Point1
|
|
@@ -425,6 +428,7 @@ def intersect_ray_tri(
|
|
|
425
428
|
:param clip: When False, don't restrict the intersection to the area of the triangle, use the infinite plane defined by the triangle.
|
|
426
429
|
:type clip: bool
|
|
427
430
|
:return: The point of intersection or None if no intersection is found
|
|
431
|
+
:rtype: mathutils.Vector
|
|
428
432
|
"""
|
|
429
433
|
|
|
430
434
|
...
|
nodeitems_builtins/__init__.pyi
CHANGED
|
@@ -3,17 +3,17 @@ import nodeitems_utils
|
|
|
3
3
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
|
-
class
|
|
6
|
+
class SortedNodeCategory(nodeitems_utils.NodeCategory):
|
|
7
7
|
""" """
|
|
8
8
|
|
|
9
|
-
def poll(self,
|
|
9
|
+
def poll(self, _context):
|
|
10
10
|
"""
|
|
11
11
|
|
|
12
|
-
:param
|
|
12
|
+
:param _context:
|
|
13
13
|
"""
|
|
14
14
|
...
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class CompositorNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
|
|
17
17
|
""" """
|
|
18
18
|
|
|
19
19
|
def poll(self, context):
|
|
@@ -23,13 +23,13 @@ class ShaderNodeCategory(nodeitems_utils.NodeCategory):
|
|
|
23
23
|
"""
|
|
24
24
|
...
|
|
25
25
|
|
|
26
|
-
class SortedNodeCategory
|
|
26
|
+
class ShaderNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
|
|
27
27
|
""" """
|
|
28
28
|
|
|
29
|
-
def poll(self,
|
|
29
|
+
def poll(self, context):
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
|
-
:param
|
|
32
|
+
:param context:
|
|
33
33
|
"""
|
|
34
34
|
...
|
|
35
35
|
|
|
File without changes
|
|
File without changes
|