fake-bpy-module 20231210__py3-none-any.whl → 20231212__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.
- bl_console_utils/autocomplete/__init__.pyi +2 -2
- bl_i18n_utils/__init__.pyi +4 -4
- bl_keymap_utils/__init__.pyi +2 -2
- bl_operators/__init__.pyi +20 -20
- bl_ui/__init__.pyi +60 -60
- bl_ui/properties_render/__init__.pyi +134 -2333
- bl_ui/space_toolsystem_toolbar/__init__.pyi +13 -0
- bl_ui_utils/__init__.pyi +1 -1
- bmesh/ops/__init__.pyi +6 -6
- bpy/__init__.pyi +3 -3
- bpy/app/__init__.pyi +2 -2
- bpy/ops/__init__.pyi +62 -62
- bpy/ops/anim/__init__.pyi +1 -1
- bpy/ops/curves/__init__.pyi +77 -0
- bpy/ops/grease_pencil/__init__.pyi +1 -1
- bpy/ops/nla/__init__.pyi +2 -2
- bpy/ops/paint/__init__.pyi +2 -2
- bpy/types/__init__.pyi +118 -150
- bpy_extras/__init__.pyi +2 -2
- bpy_extras/anim_utils/__init__.pyi +2 -2
- {fake_bpy_module-20231210.dist-info → fake_bpy_module-20231212.dist-info}/METADATA +1 -1
- {fake_bpy_module-20231210.dist-info → fake_bpy_module-20231212.dist-info}/RECORD +24 -24
- {fake_bpy_module-20231210.dist-info → fake_bpy_module-20231212.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20231210.dist-info → fake_bpy_module-20231212.dist-info}/top_level.txt +0 -0
|
@@ -1129,6 +1129,11 @@ class _defs_edit_curve:
|
|
|
1129
1129
|
''' '''
|
|
1130
1130
|
|
|
1131
1131
|
|
|
1132
|
+
class _defs_edit_curves:
|
|
1133
|
+
draw: typing.Any
|
|
1134
|
+
''' '''
|
|
1135
|
+
|
|
1136
|
+
|
|
1132
1137
|
class _defs_edit_mesh:
|
|
1133
1138
|
bevel: typing.Any
|
|
1134
1139
|
''' '''
|
|
@@ -1654,6 +1659,14 @@ class _template_widget:
|
|
|
1654
1659
|
...
|
|
1655
1660
|
|
|
1656
1661
|
|
|
1662
|
+
def curve_draw_settings(context, layout, _tool, extra):
|
|
1663
|
+
'''
|
|
1664
|
+
|
|
1665
|
+
'''
|
|
1666
|
+
|
|
1667
|
+
...
|
|
1668
|
+
|
|
1669
|
+
|
|
1657
1670
|
def generate_from_enum_ex(_context, idname_prefix, icon_prefix, type, attr,
|
|
1658
1671
|
cursor, tooldef_keywords, icon_map, use_separators):
|
|
1659
1672
|
'''
|
bl_ui_utils/__init__.pyi
CHANGED
bmesh/ops/__init__.pyi
CHANGED
|
@@ -572,7 +572,7 @@ def create_vert(bm: 'bmesh.types.BMesh',
|
|
|
572
572
|
co: typing.Union[typing.Sequence[float],
|
|
573
573
|
'mathutils.Vector'] = 'mathutils.Vector()'
|
|
574
574
|
) -> typing.Dict:
|
|
575
|
-
''' Make Vertex. Creates a single vertex; this
|
|
575
|
+
''' Make Vertex. Creates a single vertex; this BMOP was necessary for click-create-vertex.
|
|
576
576
|
|
|
577
577
|
:param bm: The bmesh to operate on.
|
|
578
578
|
:type bm: 'bmesh.types.BMesh'
|
|
@@ -912,7 +912,7 @@ def find_doubles(bm: 'bmesh.types.BMesh',
|
|
|
912
912
|
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
913
913
|
keep_verts: typing.List['bmesh.types.BMVert'] = [],
|
|
914
914
|
dist: float = 0) -> typing.Dict:
|
|
915
|
-
''' Find Doubles. Takes input verts and find vertices they should weld to. Outputs a mapping slot suitable for use with the weld verts
|
|
915
|
+
''' Find Doubles. Takes input verts and find vertices they should weld to. Outputs a mapping slot suitable for use with the weld verts BMOP. If keep_verts is used, vertices outside that set can only be merged with vertices in that set.
|
|
916
916
|
|
|
917
917
|
:param bm: The bmesh to operate on.
|
|
918
918
|
:type bm: 'bmesh.types.BMesh'
|
|
@@ -1096,7 +1096,7 @@ def mesh_to_bmesh(bm: 'bmesh.types.BMesh',
|
|
|
1096
1096
|
mesh: 'bpy.types.Mesh',
|
|
1097
1097
|
object: 'bpy.types.Object',
|
|
1098
1098
|
use_shapekey: bool = False):
|
|
1099
|
-
''' Mesh to BMesh. Load the contents of a mesh into the bmesh. this
|
|
1099
|
+
''' Mesh to BMesh. Load the contents of a mesh into the bmesh. this BMOP is private, it's reserved exclusively for entering editmode.
|
|
1100
1100
|
|
|
1101
1101
|
:param bm: The bmesh to operate on.
|
|
1102
1102
|
:type bm: 'bmesh.types.BMesh'
|
|
@@ -1153,7 +1153,7 @@ def mirror(bm: 'bmesh.types.BMesh',
|
|
|
1153
1153
|
|
|
1154
1154
|
def object_load_bmesh(bm: 'bmesh.types.BMesh', scene: 'bpy.types.Scene',
|
|
1155
1155
|
object: 'bpy.types.Object'):
|
|
1156
|
-
''' Object Load BMesh. Loads a bmesh into an object/mesh. This is a "private"
|
|
1156
|
+
''' Object Load BMesh. Loads a bmesh into an object/mesh. This is a "private" BMOP.
|
|
1157
1157
|
|
|
1158
1158
|
:param bm: The bmesh to operate on.
|
|
1159
1159
|
:type bm: 'bmesh.types.BMesh'
|
|
@@ -1306,7 +1306,7 @@ def region_extend(bm: 'bmesh.types.BMesh',
|
|
|
1306
1306
|
def remove_doubles(bm: 'bmesh.types.BMesh',
|
|
1307
1307
|
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1308
1308
|
dist: float = 0):
|
|
1309
|
-
''' Remove Doubles. Finds groups of vertices closer than dist and merges them together, using the weld verts
|
|
1309
|
+
''' Remove Doubles. Finds groups of vertices closer than dist and merges them together, using the weld verts BMOP.
|
|
1310
1310
|
|
|
1311
1311
|
:param bm: The bmesh to operate on.
|
|
1312
1312
|
:type bm: 'bmesh.types.BMesh'
|
|
@@ -1882,7 +1882,7 @@ def unsubdivide(bm: 'bmesh.types.BMesh',
|
|
|
1882
1882
|
|
|
1883
1883
|
|
|
1884
1884
|
def weld_verts(bm: 'bmesh.types.BMesh', targetmap: typing.Dict = {}):
|
|
1885
|
-
''' Weld Verts. Welds verts together (kind-of like remove doubles, merge, etc, all of which use or will use this
|
|
1885
|
+
''' Weld Verts. Welds verts together (kind-of like remove doubles, merge, etc, all of which use or will use this BMOP). You pass in mappings from vertices to the vertices they weld with.
|
|
1886
1886
|
|
|
1887
1887
|
:param bm: The bmesh to operate on.
|
|
1888
1888
|
:type bm: 'bmesh.types.BMesh'
|
bpy/__init__.pyi
CHANGED
|
@@ -4,11 +4,11 @@ import bpy.types
|
|
|
4
4
|
|
|
5
5
|
from . import types
|
|
6
6
|
from . import ops
|
|
7
|
-
from . import app
|
|
8
7
|
from . import utils
|
|
9
|
-
from . import
|
|
10
|
-
from . import path
|
|
8
|
+
from . import app
|
|
11
9
|
from . import props
|
|
10
|
+
from . import path
|
|
11
|
+
from . import msgbus
|
|
12
12
|
|
|
13
13
|
GenericType = typing.TypeVar("GenericType")
|
|
14
14
|
context: 'bpy.types.Context'
|
bpy/app/__init__.pyi
CHANGED
bpy/ops/__init__.pyi
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
import sys
|
|
2
2
|
import typing
|
|
3
|
-
from . import
|
|
4
|
-
from . import
|
|
5
|
-
from . import
|
|
3
|
+
from . import camera
|
|
4
|
+
from . import fluid
|
|
5
|
+
from . import marker
|
|
6
|
+
from . import sequencer
|
|
7
|
+
from . import transform
|
|
8
|
+
from . import text_editor
|
|
9
|
+
from . import ed
|
|
10
|
+
from . import action
|
|
6
11
|
from . import object
|
|
7
|
-
from . import
|
|
8
|
-
from . import import_anim
|
|
9
|
-
from . import import_mesh
|
|
12
|
+
from . import wm
|
|
10
13
|
from . import nla
|
|
11
|
-
from . import
|
|
14
|
+
from . import text
|
|
12
15
|
from . import node
|
|
13
|
-
from . import gizmogroup
|
|
14
|
-
from . import curves
|
|
15
|
-
from . import collection
|
|
16
|
-
from . import import_scene
|
|
17
|
-
from . import paint
|
|
18
|
-
from . import geometry
|
|
19
|
-
from . import console
|
|
20
|
-
from . import mask
|
|
21
|
-
from . import asset
|
|
22
16
|
from . import script
|
|
23
|
-
from . import spreadsheet
|
|
24
|
-
from . import render
|
|
25
|
-
from . import wm
|
|
26
|
-
from . import palette
|
|
27
|
-
from . import paintcurve
|
|
28
|
-
from . import fluid
|
|
29
|
-
from . import particle
|
|
30
|
-
from . import mball
|
|
31
|
-
from . import preferences
|
|
32
|
-
from . import texture
|
|
33
|
-
from . import material
|
|
34
|
-
from . import brush
|
|
35
17
|
from . import lattice
|
|
18
|
+
from . import armature
|
|
19
|
+
from . import grease_pencil
|
|
20
|
+
from . import mask
|
|
21
|
+
from . import import_curve
|
|
22
|
+
from . import rigidbody
|
|
23
|
+
from . import sculpt
|
|
36
24
|
from . import buttons
|
|
37
|
-
from . import
|
|
38
|
-
from . import
|
|
39
|
-
from . import world
|
|
40
|
-
from . import action
|
|
25
|
+
from . import gpencil
|
|
26
|
+
from . import ui
|
|
41
27
|
from . import view2d
|
|
28
|
+
from . import outliner
|
|
29
|
+
from . import world
|
|
30
|
+
from . import font
|
|
31
|
+
from . import export_mesh
|
|
32
|
+
from . import import_scene
|
|
33
|
+
from . import material
|
|
34
|
+
from . import cachefile
|
|
35
|
+
from . import boid
|
|
36
|
+
from . import paintcurve
|
|
37
|
+
from . import surface
|
|
38
|
+
from . import export_anim
|
|
39
|
+
from . import import_mesh
|
|
40
|
+
from . import gizmogroup
|
|
41
|
+
from . import render
|
|
42
|
+
from . import brush
|
|
43
|
+
from . import curve
|
|
44
|
+
from . import sculpt_curves
|
|
45
|
+
from . import collection
|
|
46
|
+
from . import cloth
|
|
47
|
+
from . import asset
|
|
48
|
+
from . import texture
|
|
49
|
+
from . import dpaint
|
|
50
|
+
from . import workspace
|
|
51
|
+
from . import paint
|
|
52
|
+
from . import particle
|
|
53
|
+
from . import spreadsheet
|
|
54
|
+
from . import curves
|
|
55
|
+
from . import clip
|
|
56
|
+
from . import uv
|
|
57
|
+
from . import file
|
|
42
58
|
from . import scene
|
|
59
|
+
from . import mball
|
|
43
60
|
from . import cycles
|
|
44
|
-
from . import import_curve
|
|
45
|
-
from . import rigidbody
|
|
46
|
-
from . import graph
|
|
47
61
|
from . import view3d
|
|
48
|
-
from . import
|
|
62
|
+
from . import info
|
|
63
|
+
from . import poselib
|
|
64
|
+
from . import sound
|
|
65
|
+
from . import graph
|
|
66
|
+
from . import anim
|
|
67
|
+
from . import constraint
|
|
68
|
+
from . import preferences
|
|
49
69
|
from . import pose
|
|
50
|
-
from . import
|
|
70
|
+
from . import geometry
|
|
51
71
|
from . import export_scene
|
|
52
|
-
from . import poselib
|
|
53
72
|
from . import uilist
|
|
54
|
-
from . import
|
|
55
|
-
from . import armature
|
|
56
|
-
from . import curve
|
|
57
|
-
from . import uv
|
|
58
|
-
from . import camera
|
|
73
|
+
from . import palette
|
|
59
74
|
from . import mesh
|
|
60
|
-
from . import
|
|
61
|
-
from . import
|
|
62
|
-
from . import
|
|
63
|
-
from . import export_mesh
|
|
64
|
-
from . import font
|
|
65
|
-
from . import grease_pencil
|
|
66
|
-
from . import info
|
|
67
|
-
from . import text_editor
|
|
68
|
-
from . import cloth
|
|
69
|
-
from . import gpencil
|
|
70
|
-
from . import export_anim
|
|
71
|
-
from . import constraint
|
|
72
|
-
from . import anim
|
|
73
|
-
from . import outliner
|
|
74
|
-
from . import cachefile
|
|
75
|
-
from . import ed
|
|
76
|
-
from . import surface
|
|
75
|
+
from . import screen
|
|
76
|
+
from . import import_anim
|
|
77
|
+
from . import console
|
|
77
78
|
from . import image
|
|
78
|
-
from . import
|
|
79
|
-
from . import clip
|
|
79
|
+
from . import ptcache
|
|
80
80
|
|
|
81
81
|
GenericType = typing.TypeVar("GenericType")
|
bpy/ops/anim/__init__.pyi
CHANGED
|
@@ -971,7 +971,7 @@ def view_curve_in_graph_editor(
|
|
|
971
971
|
:type undo: typing.Optional[bool]
|
|
972
972
|
:param all: Show All, Frame the whole array property instead of only the index under the cursor
|
|
973
973
|
:type all: typing.Optional[typing.Union[bool, typing.Any]]
|
|
974
|
-
:param isolate: Isolate, Hides all
|
|
974
|
+
:param isolate: Isolate, Hides all F-Curves other than the ones being framed
|
|
975
975
|
:type isolate: typing.Optional[typing.Union[bool, typing.Any]]
|
|
976
976
|
'''
|
|
977
977
|
|
bpy/ops/curves/__init__.pyi
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import sys
|
|
2
2
|
import typing
|
|
3
3
|
import bpy.types
|
|
4
|
+
import bpy.ops.transform
|
|
4
5
|
|
|
5
6
|
GenericType = typing.TypeVar("GenericType")
|
|
6
7
|
|
|
@@ -83,6 +84,82 @@ def delete(override_context: typing.Optional[
|
|
|
83
84
|
...
|
|
84
85
|
|
|
85
86
|
|
|
87
|
+
def draw(
|
|
88
|
+
override_context: typing.Optional[
|
|
89
|
+
typing.Union[typing.Dict, 'bpy.types.Context']] = None,
|
|
90
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
91
|
+
undo: typing.Optional[bool] = None,
|
|
92
|
+
*,
|
|
93
|
+
error_threshold: typing.Optional[typing.Any] = 0.0,
|
|
94
|
+
fit_method: typing.Optional[typing.Union[str, int]] = 'REFIT',
|
|
95
|
+
corner_angle: typing.Optional[typing.Any] = 1.22173,
|
|
96
|
+
use_cyclic: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
97
|
+
stroke: typing.Optional[bpy.types.bpy_prop_collection[
|
|
98
|
+
'bpy.types.OperatorStrokeElement']] = None,
|
|
99
|
+
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
100
|
+
is_curve_2d: typing.Optional[typing.Union[bool, typing.Any]] = False):
|
|
101
|
+
''' Draw a freehand curve
|
|
102
|
+
|
|
103
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
104
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
105
|
+
:type undo: typing.Optional[bool]
|
|
106
|
+
:param error_threshold: Error, Error distance threshold (in object units)
|
|
107
|
+
:type error_threshold: typing.Optional[typing.Any]
|
|
108
|
+
:param fit_method: Fit Method
|
|
109
|
+
:type fit_method: typing.Optional[typing.Union[str, int]]
|
|
110
|
+
:param corner_angle: Corner Angle
|
|
111
|
+
:type corner_angle: typing.Optional[typing.Any]
|
|
112
|
+
:param use_cyclic: Cyclic
|
|
113
|
+
:type use_cyclic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
114
|
+
:param stroke: Stroke
|
|
115
|
+
:type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
|
|
116
|
+
:param wait_for_input: Wait for Input
|
|
117
|
+
:type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
|
|
118
|
+
:param is_curve_2d: Curve 2D
|
|
119
|
+
:type is_curve_2d: typing.Optional[typing.Union[bool, typing.Any]]
|
|
120
|
+
'''
|
|
121
|
+
|
|
122
|
+
...
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def duplicate(
|
|
126
|
+
override_context: typing.Optional[
|
|
127
|
+
typing.Union[typing.Dict, 'bpy.types.Context']] = None,
|
|
128
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
129
|
+
undo: typing.Optional[bool] = None):
|
|
130
|
+
''' Copy selected points or curves
|
|
131
|
+
|
|
132
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
133
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
134
|
+
:type undo: typing.Optional[bool]
|
|
135
|
+
'''
|
|
136
|
+
|
|
137
|
+
...
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
def duplicate_move(
|
|
141
|
+
override_context: typing.Optional[
|
|
142
|
+
typing.Union[typing.Dict, 'bpy.types.Context']] = None,
|
|
143
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
144
|
+
undo: typing.Optional[bool] = None,
|
|
145
|
+
*,
|
|
146
|
+
CURVES_OT_duplicate: typing.Optional['duplicate'] = None,
|
|
147
|
+
TRANSFORM_OT_translate: typing.
|
|
148
|
+
Optional['bpy.ops.transform.translate'] = None):
|
|
149
|
+
''' Make copies of selected elements and move them
|
|
150
|
+
|
|
151
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
152
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
153
|
+
:type undo: typing.Optional[bool]
|
|
154
|
+
:param CURVES_OT_duplicate: Duplicate, Copy selected points or curves
|
|
155
|
+
:type CURVES_OT_duplicate: typing.Optional['duplicate']
|
|
156
|
+
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
157
|
+
:type TRANSFORM_OT_translate: typing.Optional['bpy.ops.transform.translate']
|
|
158
|
+
'''
|
|
159
|
+
|
|
160
|
+
...
|
|
161
|
+
|
|
162
|
+
|
|
86
163
|
def sculptmode_toggle(
|
|
87
164
|
override_context: typing.Optional[
|
|
88
165
|
typing.Union[typing.Dict, 'bpy.types.Context']] = None,
|
|
@@ -660,7 +660,7 @@ def stroke_material_set(
|
|
|
660
660
|
typing.Union[typing.Dict, 'bpy.types.Context']] = None,
|
|
661
661
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
662
662
|
undo: typing.Optional[bool] = None):
|
|
663
|
-
'''
|
|
663
|
+
''' Assign the active material slot to the selected strokes
|
|
664
664
|
|
|
665
665
|
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
666
666
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
bpy/ops/nla/__init__.pyi
CHANGED
|
@@ -127,7 +127,7 @@ def bake(
|
|
|
127
127
|
:type frame_start: typing.Optional[typing.Any]
|
|
128
128
|
:param frame_end: End Frame, End frame for baking
|
|
129
129
|
:type frame_end: typing.Optional[typing.Any]
|
|
130
|
-
:param step: Frame Step,
|
|
130
|
+
:param step: Frame Step, Number of frames to skip forward while baking each frame
|
|
131
131
|
:type step: typing.Optional[typing.Any]
|
|
132
132
|
:param only_selected: Only Selected Bones, Only key selected bones (Pose baking only)
|
|
133
133
|
:type only_selected: typing.Optional[typing.Union[bool, typing.Any]]
|
|
@@ -143,7 +143,7 @@ def bake(
|
|
|
143
143
|
:type clean_curves: typing.Optional[typing.Union[bool, typing.Any]]
|
|
144
144
|
:param bake_types: Bake Data, Which data's transformations to bake * ``POSE`` Pose -- Bake bones transformations. * ``OBJECT`` Object -- Bake object transformations.
|
|
145
145
|
:type bake_types: typing.Optional[typing.Any]
|
|
146
|
-
:param channel_types: Channels, Which channels to bake * ``LOCATION`` Location -- Bake location channels. * ``ROTATION`` Rotation -- Bake rotation channels. * ``SCALE`` Scale -- Bake scale channels. * ``BBONE`` B-Bone -- Bake
|
|
146
|
+
:param channel_types: Channels, Which channels to bake * ``LOCATION`` Location -- Bake location channels. * ``ROTATION`` Rotation -- Bake rotation channels. * ``SCALE`` Scale -- Bake scale channels. * ``BBONE`` B-Bone -- Bake B-Bone channels.
|
|
147
147
|
:type channel_types: typing.Optional[typing.Any]
|
|
148
148
|
'''
|
|
149
149
|
|
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -325,9 +325,9 @@ def hide_show(
|
|
|
325
325
|
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
326
326
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
327
327
|
:type undo: typing.Optional[bool]
|
|
328
|
-
:param action:
|
|
328
|
+
:param action: Visibility Action, Whether to hide or show vertices * ``HIDE`` Hide -- Hide vertices. * ``SHOW`` Show -- Show vertices.
|
|
329
329
|
:type action: typing.Optional[typing.Any]
|
|
330
|
-
:param area:
|
|
330
|
+
:param area: Visibility Area, Which vertices to hide or show * ``OUTSIDE`` Outside -- Hide or show vertices outside the selection. * ``INSIDE`` Inside -- Hide or show vertices inside the selection. * ``ALL`` All -- Hide or show all vertices. * ``MASKED`` Masked -- Hide or show vertices that are masked (minimum mask value of 0.5).
|
|
331
331
|
:type area: typing.Optional[typing.Any]
|
|
332
332
|
:param xmin: X Min
|
|
333
333
|
:type xmin: typing.Optional[typing.Any]
|