fake-bpy-module 20240421__py3-none-any.whl → 20240422__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_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 +21 -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 +441 -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 +330 -329
- 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 +2412 -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 +106351 -103198
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +20 -17
- 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-20240422.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.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-20240422.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
bpy/ops/geometry/__init__.pyi
CHANGED
|
@@ -4,150 +4,150 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def attribute_add(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
name: typing.Union[str, typing.Any] = "",
|
|
11
|
-
domain: typing.Union[str, int] = "POINT",
|
|
12
|
-
data_type: typing.Union[str, int] = "FLOAT",
|
|
11
|
+
domain: typing.Optional[typing.Union[str, int]] = "POINT",
|
|
12
|
+
data_type: typing.Optional[typing.Union[str, int]] = "FLOAT",
|
|
13
13
|
):
|
|
14
14
|
"""Add attribute to geometry
|
|
15
15
|
|
|
16
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
17
|
-
:type execution_context: typing.Union[str, int]
|
|
18
|
-
:type undo: bool
|
|
16
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
17
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
18
|
+
:type undo: typing.Optional[bool]
|
|
19
19
|
:param name: Name, Name of new attribute
|
|
20
20
|
:type name: typing.Union[str, typing.Any]
|
|
21
21
|
:param domain: Domain, Type of element that attribute is stored on
|
|
22
|
-
:type domain: typing.Union[str, int]
|
|
22
|
+
:type domain: typing.Optional[typing.Union[str, int]]
|
|
23
23
|
:param data_type: Data Type, Type of data stored in attribute
|
|
24
|
-
:type data_type: typing.Union[str, int]
|
|
24
|
+
:type data_type: typing.Optional[typing.Union[str, int]]
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
...
|
|
28
28
|
|
|
29
29
|
def attribute_convert(
|
|
30
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
31
|
-
execution_context: typing.Union[str, int] = None,
|
|
32
|
-
undo: bool = None,
|
|
33
|
-
mode: typing.Any = "GENERIC",
|
|
34
|
-
domain: typing.Union[str, int] = "POINT",
|
|
35
|
-
data_type: typing.Union[str, int] = "FLOAT",
|
|
30
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
31
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
32
|
+
undo: typing.Optional[bool] = None,
|
|
33
|
+
mode: typing.Optional[typing.Any] = "GENERIC",
|
|
34
|
+
domain: typing.Optional[typing.Union[str, int]] = "POINT",
|
|
35
|
+
data_type: typing.Optional[typing.Union[str, int]] = "FLOAT",
|
|
36
36
|
):
|
|
37
37
|
"""Change how the attribute is stored
|
|
38
38
|
|
|
39
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
40
|
-
:type execution_context: typing.Union[str, int]
|
|
41
|
-
:type undo: bool
|
|
39
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
40
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
41
|
+
:type undo: typing.Optional[bool]
|
|
42
42
|
:param mode: Mode
|
|
43
|
-
:type mode: typing.Any
|
|
43
|
+
:type mode: typing.Optional[typing.Any]
|
|
44
44
|
:param domain: Domain, Which geometry element to move the attribute to
|
|
45
|
-
:type domain: typing.Union[str, int]
|
|
45
|
+
:type domain: typing.Optional[typing.Union[str, int]]
|
|
46
46
|
:param data_type: Data Type
|
|
47
|
-
:type data_type: typing.Union[str, int]
|
|
47
|
+
:type data_type: typing.Optional[typing.Union[str, int]]
|
|
48
48
|
"""
|
|
49
49
|
|
|
50
50
|
...
|
|
51
51
|
|
|
52
52
|
def attribute_remove(
|
|
53
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
54
|
-
execution_context: typing.Union[str, int] = None,
|
|
55
|
-
undo: bool = None,
|
|
53
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
54
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
55
|
+
undo: typing.Optional[bool] = None,
|
|
56
56
|
):
|
|
57
57
|
"""Remove attribute from geometry
|
|
58
58
|
|
|
59
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
60
|
-
:type execution_context: typing.Union[str, int]
|
|
61
|
-
:type undo: bool
|
|
59
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
60
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
61
|
+
:type undo: typing.Optional[bool]
|
|
62
62
|
"""
|
|
63
63
|
|
|
64
64
|
...
|
|
65
65
|
|
|
66
66
|
def color_attribute_add(
|
|
67
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
68
|
-
execution_context: typing.Union[str, int] = None,
|
|
69
|
-
undo: bool = None,
|
|
67
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
68
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
69
|
+
undo: typing.Optional[bool] = None,
|
|
70
70
|
name: typing.Union[str, typing.Any] = "",
|
|
71
|
-
domain: typing.Union[str, int] = "POINT",
|
|
72
|
-
data_type: typing.Union[str, int] = "FLOAT_COLOR",
|
|
73
|
-
color: typing.Any = (0.0, 0.0, 0.0, 1.0),
|
|
71
|
+
domain: typing.Optional[typing.Union[str, int]] = "POINT",
|
|
72
|
+
data_type: typing.Optional[typing.Union[str, int]] = "FLOAT_COLOR",
|
|
73
|
+
color: typing.Optional[typing.Any] = (0.0, 0.0, 0.0, 1.0),
|
|
74
74
|
):
|
|
75
75
|
"""Add color attribute to geometry
|
|
76
76
|
|
|
77
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
78
|
-
:type execution_context: typing.Union[str, int]
|
|
79
|
-
:type undo: bool
|
|
77
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
78
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
79
|
+
:type undo: typing.Optional[bool]
|
|
80
80
|
:param name: Name, Name of new color attribute
|
|
81
81
|
:type name: typing.Union[str, typing.Any]
|
|
82
82
|
:param domain: Domain, Type of element that attribute is stored on
|
|
83
|
-
:type domain: typing.Union[str, int]
|
|
83
|
+
:type domain: typing.Optional[typing.Union[str, int]]
|
|
84
84
|
:param data_type: Data Type, Type of data stored in attribute
|
|
85
|
-
:type data_type: typing.Union[str, int]
|
|
85
|
+
:type data_type: typing.Optional[typing.Union[str, int]]
|
|
86
86
|
:param color: Color, Default fill color
|
|
87
|
-
:type color: typing.Any
|
|
87
|
+
:type color: typing.Optional[typing.Any]
|
|
88
88
|
"""
|
|
89
89
|
|
|
90
90
|
...
|
|
91
91
|
|
|
92
92
|
def color_attribute_convert(
|
|
93
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
94
|
-
execution_context: typing.Union[str, int] = None,
|
|
95
|
-
undo: bool = None,
|
|
96
|
-
domain: typing.Union[str, int] = "POINT",
|
|
97
|
-
data_type: typing.Union[str, int] = "FLOAT_COLOR",
|
|
93
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
94
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
95
|
+
undo: typing.Optional[bool] = None,
|
|
96
|
+
domain: typing.Optional[typing.Union[str, int]] = "POINT",
|
|
97
|
+
data_type: typing.Optional[typing.Union[str, int]] = "FLOAT_COLOR",
|
|
98
98
|
):
|
|
99
99
|
"""Change how the color attribute is stored
|
|
100
100
|
|
|
101
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
102
|
-
:type execution_context: typing.Union[str, int]
|
|
103
|
-
:type undo: bool
|
|
101
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
102
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
103
|
+
:type undo: typing.Optional[bool]
|
|
104
104
|
:param domain: Domain, Type of element that attribute is stored on
|
|
105
|
-
:type domain: typing.Union[str, int]
|
|
105
|
+
:type domain: typing.Optional[typing.Union[str, int]]
|
|
106
106
|
:param data_type: Data Type, Type of data stored in attribute
|
|
107
|
-
:type data_type: typing.Union[str, int]
|
|
107
|
+
:type data_type: typing.Optional[typing.Union[str, int]]
|
|
108
108
|
"""
|
|
109
109
|
|
|
110
110
|
...
|
|
111
111
|
|
|
112
112
|
def color_attribute_duplicate(
|
|
113
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
114
|
-
execution_context: typing.Union[str, int] = None,
|
|
115
|
-
undo: bool = None,
|
|
113
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
114
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
115
|
+
undo: typing.Optional[bool] = None,
|
|
116
116
|
):
|
|
117
117
|
"""Duplicate color attribute
|
|
118
118
|
|
|
119
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
120
|
-
:type execution_context: typing.Union[str, int]
|
|
121
|
-
:type undo: bool
|
|
119
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
120
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
121
|
+
:type undo: typing.Optional[bool]
|
|
122
122
|
"""
|
|
123
123
|
|
|
124
124
|
...
|
|
125
125
|
|
|
126
126
|
def color_attribute_remove(
|
|
127
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
128
|
-
execution_context: typing.Union[str, int] = None,
|
|
129
|
-
undo: bool = None,
|
|
127
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
128
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
129
|
+
undo: typing.Optional[bool] = None,
|
|
130
130
|
):
|
|
131
131
|
"""Remove color attribute from geometry
|
|
132
132
|
|
|
133
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
134
|
-
:type execution_context: typing.Union[str, int]
|
|
135
|
-
:type undo: bool
|
|
133
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
134
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
135
|
+
:type undo: typing.Optional[bool]
|
|
136
136
|
"""
|
|
137
137
|
|
|
138
138
|
...
|
|
139
139
|
|
|
140
140
|
def color_attribute_render_set(
|
|
141
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
142
|
-
execution_context: typing.Union[str, int] = None,
|
|
143
|
-
undo: bool = None,
|
|
141
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
142
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
143
|
+
undo: typing.Optional[bool] = None,
|
|
144
144
|
name: typing.Union[str, typing.Any] = "Color",
|
|
145
145
|
):
|
|
146
146
|
"""Set default color attribute used for rendering
|
|
147
147
|
|
|
148
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
149
|
-
:type execution_context: typing.Union[str, int]
|
|
150
|
-
:type undo: bool
|
|
148
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
149
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
150
|
+
:type undo: typing.Optional[bool]
|
|
151
151
|
:param name: Name, Name of color attribute
|
|
152
152
|
:type name: typing.Union[str, typing.Any]
|
|
153
153
|
"""
|
|
@@ -155,22 +155,22 @@ def color_attribute_render_set(
|
|
|
155
155
|
...
|
|
156
156
|
|
|
157
157
|
def execute_node_group(
|
|
158
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
159
|
-
execution_context: typing.Union[str, int] = None,
|
|
160
|
-
undo: bool = None,
|
|
161
|
-
asset_library_type: typing.Union[str, int] = "LOCAL",
|
|
158
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
159
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
160
|
+
undo: typing.Optional[bool] = None,
|
|
161
|
+
asset_library_type: typing.Optional[typing.Union[str, int]] = "LOCAL",
|
|
162
162
|
asset_library_identifier: typing.Union[str, typing.Any] = "",
|
|
163
163
|
relative_asset_identifier: typing.Union[str, typing.Any] = "",
|
|
164
164
|
name: typing.Union[str, typing.Any] = "",
|
|
165
|
-
session_uid: typing.Any = 0,
|
|
165
|
+
session_uid: typing.Optional[typing.Any] = 0,
|
|
166
166
|
):
|
|
167
167
|
"""Execute a node group on geometry
|
|
168
168
|
|
|
169
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
170
|
-
:type execution_context: typing.Union[str, int]
|
|
171
|
-
:type undo: bool
|
|
169
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
170
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
171
|
+
:type undo: typing.Optional[bool]
|
|
172
172
|
:param asset_library_type: Asset Library Type
|
|
173
|
-
:type asset_library_type: typing.Union[str, int]
|
|
173
|
+
:type asset_library_type: typing.Optional[typing.Union[str, int]]
|
|
174
174
|
:param asset_library_identifier: Asset Library Identifier
|
|
175
175
|
:type asset_library_identifier: typing.Union[str, typing.Any]
|
|
176
176
|
:param relative_asset_identifier: Relative Asset Identifier
|
|
@@ -178,24 +178,24 @@ def execute_node_group(
|
|
|
178
178
|
:param name: Name, Name of the data-block to use by the operator
|
|
179
179
|
:type name: typing.Union[str, typing.Any]
|
|
180
180
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
181
|
-
:type session_uid: typing.Any
|
|
181
|
+
:type session_uid: typing.Optional[typing.Any]
|
|
182
182
|
"""
|
|
183
183
|
|
|
184
184
|
...
|
|
185
185
|
|
|
186
186
|
def geometry_randomization(
|
|
187
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
188
|
-
execution_context: typing.Union[str, int] = None,
|
|
189
|
-
undo: bool = None,
|
|
190
|
-
value: typing.Union[bool, typing.Any] = False,
|
|
187
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
188
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
189
|
+
undo: typing.Optional[bool] = None,
|
|
190
|
+
value: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
191
191
|
):
|
|
192
192
|
"""Toggle geometry randomization for debugging purposes
|
|
193
193
|
|
|
194
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
-
:type execution_context: typing.Union[str, int]
|
|
196
|
-
:type undo: bool
|
|
194
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
195
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
196
|
+
:type undo: typing.Optional[bool]
|
|
197
197
|
:param value: Value, Randomize the order of geometry elements (e.g. vertices or edges) after some operations where there are no guarantees about the order. This avoids accidentally depending on something that may change in the future
|
|
198
|
-
:type value: typing.Union[bool, typing.Any]
|
|
198
|
+
:type value: typing.Optional[typing.Union[bool, typing.Any]]
|
|
199
199
|
"""
|
|
200
200
|
|
|
201
201
|
...
|
bpy/ops/gizmogroup/__init__.pyi
CHANGED
|
@@ -4,44 +4,44 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def gizmo_select(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
10
|
-
extend: typing.Union[bool, typing.Any] = False,
|
|
11
|
-
deselect: typing.Union[bool, typing.Any] = False,
|
|
12
|
-
toggle: typing.Union[bool, typing.Any] = False,
|
|
13
|
-
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
14
|
-
select_passthrough: typing.Union[bool, typing.Any] = False,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
|
+
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
11
|
+
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
12
|
+
toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
13
|
+
deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
14
|
+
select_passthrough: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
15
15
|
):
|
|
16
16
|
"""Select the currently highlighted gizmo
|
|
17
17
|
|
|
18
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
19
|
-
:type execution_context: typing.Union[str, int]
|
|
20
|
-
:type undo: bool
|
|
18
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
19
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
20
|
+
:type undo: typing.Optional[bool]
|
|
21
21
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
22
|
-
:type extend: typing.Union[bool, typing.Any]
|
|
22
|
+
:type extend: typing.Optional[typing.Union[bool, typing.Any]]
|
|
23
23
|
:param deselect: Deselect, Remove from selection
|
|
24
|
-
:type deselect: typing.Union[bool, typing.Any]
|
|
24
|
+
:type deselect: typing.Optional[typing.Union[bool, typing.Any]]
|
|
25
25
|
:param toggle: Toggle Selection, Toggle the selection
|
|
26
|
-
:type toggle: typing.Union[bool, typing.Any]
|
|
26
|
+
:type toggle: typing.Optional[typing.Union[bool, typing.Any]]
|
|
27
27
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
28
|
-
:type deselect_all: typing.Union[bool, typing.Any]
|
|
28
|
+
:type deselect_all: typing.Optional[typing.Union[bool, typing.Any]]
|
|
29
29
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
30
|
-
:type select_passthrough: typing.Union[bool, typing.Any]
|
|
30
|
+
:type select_passthrough: typing.Optional[typing.Union[bool, typing.Any]]
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
33
|
...
|
|
34
34
|
|
|
35
35
|
def gizmo_tweak(
|
|
36
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
37
|
-
execution_context: typing.Union[str, int] = None,
|
|
38
|
-
undo: bool = None,
|
|
36
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
37
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
38
|
+
undo: typing.Optional[bool] = None,
|
|
39
39
|
):
|
|
40
40
|
"""Tweak the active gizmo
|
|
41
41
|
|
|
42
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
43
|
-
:type execution_context: typing.Union[str, int]
|
|
44
|
-
:type undo: bool
|
|
42
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
43
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
44
|
+
:type undo: typing.Optional[bool]
|
|
45
45
|
"""
|
|
46
46
|
|
|
47
47
|
...
|