fake-bpy-module 20240210__py3-none-any.whl → 20240326__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.
- addon_utils/__init__.pyi +54 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/scene/__init__.pyi
CHANGED
|
@@ -1,632 +1,598 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def delete(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
13
10
|
):
|
|
14
11
|
"""Delete active scene
|
|
15
12
|
|
|
16
|
-
:type override_context: typing.
|
|
17
|
-
:type execution_context: typing.
|
|
18
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
19
16
|
"""
|
|
20
17
|
|
|
21
18
|
...
|
|
22
19
|
|
|
23
20
|
def freestyle_add_edge_marks_to_keying_set(
|
|
24
|
-
override_context: typing.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
28
|
-
undo: typing.Optional[bool] = None,
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
29
24
|
):
|
|
30
|
-
"""Add the data paths to the Freestyle Edge Mark property of selected edges to the active keying set
|
|
25
|
+
"""Add the data paths to the Freestyle Edge Mark property of selected edges to the active keying set
|
|
31
26
|
|
|
32
|
-
:type override_context: typing.
|
|
33
|
-
:type execution_context: typing.
|
|
34
|
-
:type undo:
|
|
27
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
+
:type execution_context: typing.Union[str, int]
|
|
29
|
+
:type undo: bool
|
|
35
30
|
"""
|
|
36
31
|
|
|
37
32
|
...
|
|
38
33
|
|
|
39
34
|
def freestyle_add_face_marks_to_keying_set(
|
|
40
|
-
override_context: typing.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
44
|
-
undo: typing.Optional[bool] = None,
|
|
35
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
+
execution_context: typing.Union[str, int] = None,
|
|
37
|
+
undo: bool = None,
|
|
45
38
|
):
|
|
46
|
-
"""Add the data paths to the Freestyle Face Mark property of selected polygons to the active keying set
|
|
39
|
+
"""Add the data paths to the Freestyle Face Mark property of selected polygons to the active keying set
|
|
47
40
|
|
|
48
|
-
:type override_context: typing.
|
|
49
|
-
:type execution_context: typing.
|
|
50
|
-
:type undo:
|
|
41
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
42
|
+
:type execution_context: typing.Union[str, int]
|
|
43
|
+
:type undo: bool
|
|
51
44
|
"""
|
|
52
45
|
|
|
53
46
|
...
|
|
54
47
|
|
|
55
48
|
def freestyle_alpha_modifier_add(
|
|
56
|
-
override_context: typing.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
undo: typing.Optional[bool] = None,
|
|
61
|
-
*,
|
|
62
|
-
type: typing.Optional[typing.Union[str, int]] = "ALONG_STROKE",
|
|
49
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
50
|
+
execution_context: typing.Union[str, int] = None,
|
|
51
|
+
undo: bool = None,
|
|
52
|
+
type: typing.Any = "ALONG_STROKE",
|
|
63
53
|
):
|
|
64
54
|
"""Add an alpha transparency modifier to the line style associated with the active lineset
|
|
65
55
|
|
|
66
|
-
:type override_context: typing.
|
|
67
|
-
:type execution_context: typing.
|
|
68
|
-
:type undo:
|
|
56
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
57
|
+
:type execution_context: typing.Union[str, int]
|
|
58
|
+
:type undo: bool
|
|
69
59
|
:param type: Type
|
|
70
|
-
:type type: typing.
|
|
60
|
+
:type type: typing.Any
|
|
71
61
|
"""
|
|
72
62
|
|
|
73
63
|
...
|
|
74
64
|
|
|
75
65
|
def freestyle_color_modifier_add(
|
|
76
|
-
override_context: typing.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
undo: typing.Optional[bool] = None,
|
|
81
|
-
*,
|
|
82
|
-
type: typing.Optional[typing.Union[str, int]] = "ALONG_STROKE",
|
|
66
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
67
|
+
execution_context: typing.Union[str, int] = None,
|
|
68
|
+
undo: bool = None,
|
|
69
|
+
type: typing.Any = "ALONG_STROKE",
|
|
83
70
|
):
|
|
84
71
|
"""Add a line color modifier to the line style associated with the active lineset
|
|
85
72
|
|
|
86
|
-
:type override_context: typing.
|
|
87
|
-
:type execution_context: typing.
|
|
88
|
-
:type undo:
|
|
73
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
74
|
+
:type execution_context: typing.Union[str, int]
|
|
75
|
+
:type undo: bool
|
|
89
76
|
:param type: Type
|
|
90
|
-
:type type: typing.
|
|
77
|
+
:type type: typing.Any
|
|
91
78
|
"""
|
|
92
79
|
|
|
93
80
|
...
|
|
94
81
|
|
|
95
82
|
def freestyle_fill_range_by_selection(
|
|
96
|
-
override_context: typing.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
undo: typing.Optional[bool] = None,
|
|
101
|
-
*,
|
|
102
|
-
type: typing.Optional[typing.Any] = "COLOR",
|
|
83
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
84
|
+
execution_context: typing.Union[str, int] = None,
|
|
85
|
+
undo: bool = None,
|
|
86
|
+
type: typing.Any = "COLOR",
|
|
103
87
|
name: typing.Union[str, typing.Any] = "",
|
|
104
88
|
):
|
|
105
|
-
"""Fill the Range Min/Max entries by the min/max distance between selected mesh objects and the source object (either a user-specified object or the active camera)
|
|
89
|
+
"""Fill the Range Min/Max entries by the min/max distance between selected mesh objects and the source object (either a user-specified object or the active camera)
|
|
106
90
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
91
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
92
|
+
:type execution_context: typing.Union[str, int]
|
|
93
|
+
:type undo: bool
|
|
94
|
+
:param type: Type, Type of the modifier to work on
|
|
95
|
+
|
|
96
|
+
COLOR
|
|
97
|
+
Color -- Color modifier type.
|
|
98
|
+
|
|
99
|
+
ALPHA
|
|
100
|
+
Alpha -- Alpha modifier type.
|
|
101
|
+
|
|
102
|
+
THICKNESS
|
|
103
|
+
Thickness -- Thickness modifier type.
|
|
104
|
+
:type type: typing.Any
|
|
105
|
+
:param name: Name, Name of the modifier to work on
|
|
106
|
+
:type name: typing.Union[str, typing.Any]
|
|
114
107
|
"""
|
|
115
108
|
|
|
116
109
|
...
|
|
117
110
|
|
|
118
111
|
def freestyle_geometry_modifier_add(
|
|
119
|
-
override_context: typing.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
undo: typing.Optional[bool] = None,
|
|
124
|
-
*,
|
|
125
|
-
type: typing.Optional[typing.Union[str, int]] = "2D_OFFSET",
|
|
112
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
113
|
+
execution_context: typing.Union[str, int] = None,
|
|
114
|
+
undo: bool = None,
|
|
115
|
+
type: typing.Any = "2D_OFFSET",
|
|
126
116
|
):
|
|
127
117
|
"""Add a stroke geometry modifier to the line style associated with the active lineset
|
|
128
118
|
|
|
129
|
-
:type override_context: typing.
|
|
130
|
-
:type execution_context: typing.
|
|
131
|
-
:type undo:
|
|
119
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
120
|
+
:type execution_context: typing.Union[str, int]
|
|
121
|
+
:type undo: bool
|
|
132
122
|
:param type: Type
|
|
133
|
-
:type type: typing.
|
|
123
|
+
:type type: typing.Any
|
|
134
124
|
"""
|
|
135
125
|
|
|
136
126
|
...
|
|
137
127
|
|
|
138
128
|
def freestyle_lineset_add(
|
|
139
|
-
override_context: typing.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
143
|
-
undo: typing.Optional[bool] = None,
|
|
129
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
130
|
+
execution_context: typing.Union[str, int] = None,
|
|
131
|
+
undo: bool = None,
|
|
144
132
|
):
|
|
145
133
|
"""Add a line set into the list of line sets
|
|
146
134
|
|
|
147
|
-
:type override_context: typing.
|
|
148
|
-
:type execution_context: typing.
|
|
149
|
-
:type undo:
|
|
135
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
136
|
+
:type execution_context: typing.Union[str, int]
|
|
137
|
+
:type undo: bool
|
|
150
138
|
"""
|
|
151
139
|
|
|
152
140
|
...
|
|
153
141
|
|
|
154
142
|
def freestyle_lineset_copy(
|
|
155
|
-
override_context: typing.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
159
|
-
undo: typing.Optional[bool] = None,
|
|
143
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
144
|
+
execution_context: typing.Union[str, int] = None,
|
|
145
|
+
undo: bool = None,
|
|
160
146
|
):
|
|
161
147
|
"""Copy the active line set to the internal clipboard
|
|
162
148
|
|
|
163
|
-
:type override_context: typing.
|
|
164
|
-
:type execution_context: typing.
|
|
165
|
-
:type undo:
|
|
149
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
150
|
+
:type execution_context: typing.Union[str, int]
|
|
151
|
+
:type undo: bool
|
|
166
152
|
"""
|
|
167
153
|
|
|
168
154
|
...
|
|
169
155
|
|
|
170
156
|
def freestyle_lineset_move(
|
|
171
|
-
override_context: typing.
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
undo: typing.Optional[bool] = None,
|
|
176
|
-
*,
|
|
177
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
157
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
158
|
+
execution_context: typing.Union[str, int] = None,
|
|
159
|
+
undo: bool = None,
|
|
160
|
+
direction: typing.Any = "UP",
|
|
178
161
|
):
|
|
179
162
|
"""Change the position of the active line set within the list of line sets
|
|
180
163
|
|
|
181
|
-
:type override_context: typing.
|
|
182
|
-
:type execution_context: typing.
|
|
183
|
-
:type undo:
|
|
164
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
165
|
+
:type execution_context: typing.Union[str, int]
|
|
166
|
+
:type undo: bool
|
|
184
167
|
:param direction: Direction, Direction to move the active line set towards
|
|
185
|
-
:type direction: typing.
|
|
168
|
+
:type direction: typing.Any
|
|
186
169
|
"""
|
|
187
170
|
|
|
188
171
|
...
|
|
189
172
|
|
|
190
173
|
def freestyle_lineset_paste(
|
|
191
|
-
override_context: typing.
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
195
|
-
undo: typing.Optional[bool] = None,
|
|
174
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
175
|
+
execution_context: typing.Union[str, int] = None,
|
|
176
|
+
undo: bool = None,
|
|
196
177
|
):
|
|
197
178
|
"""Paste the internal clipboard content to the active line set
|
|
198
179
|
|
|
199
|
-
:type override_context: typing.
|
|
200
|
-
:type execution_context: typing.
|
|
201
|
-
:type undo:
|
|
180
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
181
|
+
:type execution_context: typing.Union[str, int]
|
|
182
|
+
:type undo: bool
|
|
202
183
|
"""
|
|
203
184
|
|
|
204
185
|
...
|
|
205
186
|
|
|
206
187
|
def freestyle_lineset_remove(
|
|
207
|
-
override_context: typing.
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
211
|
-
undo: typing.Optional[bool] = None,
|
|
188
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
+
execution_context: typing.Union[str, int] = None,
|
|
190
|
+
undo: bool = None,
|
|
212
191
|
):
|
|
213
192
|
"""Remove the active line set from the list of line sets
|
|
214
193
|
|
|
215
|
-
:type override_context: typing.
|
|
216
|
-
:type execution_context: typing.
|
|
217
|
-
:type undo:
|
|
194
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
+
:type execution_context: typing.Union[str, int]
|
|
196
|
+
:type undo: bool
|
|
218
197
|
"""
|
|
219
198
|
|
|
220
199
|
...
|
|
221
200
|
|
|
222
201
|
def freestyle_linestyle_new(
|
|
223
|
-
override_context: typing.
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
227
|
-
undo: typing.Optional[bool] = None,
|
|
202
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
203
|
+
execution_context: typing.Union[str, int] = None,
|
|
204
|
+
undo: bool = None,
|
|
228
205
|
):
|
|
229
206
|
"""Create a new line style, reusable by multiple line sets
|
|
230
207
|
|
|
231
|
-
:type override_context: typing.
|
|
232
|
-
:type execution_context: typing.
|
|
233
|
-
:type undo:
|
|
208
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
209
|
+
:type execution_context: typing.Union[str, int]
|
|
210
|
+
:type undo: bool
|
|
234
211
|
"""
|
|
235
212
|
|
|
236
213
|
...
|
|
237
214
|
|
|
238
215
|
def freestyle_modifier_copy(
|
|
239
|
-
override_context: typing.
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
243
|
-
undo: typing.Optional[bool] = None,
|
|
216
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
217
|
+
execution_context: typing.Union[str, int] = None,
|
|
218
|
+
undo: bool = None,
|
|
244
219
|
):
|
|
245
220
|
"""Duplicate the modifier within the list of modifiers
|
|
246
221
|
|
|
247
|
-
:type override_context: typing.
|
|
248
|
-
:type execution_context: typing.
|
|
249
|
-
:type undo:
|
|
222
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
223
|
+
:type execution_context: typing.Union[str, int]
|
|
224
|
+
:type undo: bool
|
|
250
225
|
"""
|
|
251
226
|
|
|
252
227
|
...
|
|
253
228
|
|
|
254
229
|
def freestyle_modifier_move(
|
|
255
|
-
override_context: typing.
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
undo: typing.Optional[bool] = None,
|
|
260
|
-
*,
|
|
261
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
230
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
231
|
+
execution_context: typing.Union[str, int] = None,
|
|
232
|
+
undo: bool = None,
|
|
233
|
+
direction: typing.Any = "UP",
|
|
262
234
|
):
|
|
263
235
|
"""Move the modifier within the list of modifiers
|
|
264
236
|
|
|
265
|
-
:type override_context: typing.
|
|
266
|
-
:type execution_context: typing.
|
|
267
|
-
:type undo:
|
|
237
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
238
|
+
:type execution_context: typing.Union[str, int]
|
|
239
|
+
:type undo: bool
|
|
268
240
|
:param direction: Direction, Direction to move the chosen modifier towards
|
|
269
|
-
:type direction: typing.
|
|
241
|
+
:type direction: typing.Any
|
|
270
242
|
"""
|
|
271
243
|
|
|
272
244
|
...
|
|
273
245
|
|
|
274
246
|
def freestyle_modifier_remove(
|
|
275
|
-
override_context: typing.
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
279
|
-
undo: typing.Optional[bool] = None,
|
|
247
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
248
|
+
execution_context: typing.Union[str, int] = None,
|
|
249
|
+
undo: bool = None,
|
|
280
250
|
):
|
|
281
251
|
"""Remove the modifier from the list of modifiers
|
|
282
252
|
|
|
283
|
-
:type override_context: typing.
|
|
284
|
-
:type execution_context: typing.
|
|
285
|
-
:type undo:
|
|
253
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
254
|
+
:type execution_context: typing.Union[str, int]
|
|
255
|
+
:type undo: bool
|
|
286
256
|
"""
|
|
287
257
|
|
|
288
258
|
...
|
|
289
259
|
|
|
290
260
|
def freestyle_module_add(
|
|
291
|
-
override_context: typing.
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
295
|
-
undo: typing.Optional[bool] = None,
|
|
261
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
262
|
+
execution_context: typing.Union[str, int] = None,
|
|
263
|
+
undo: bool = None,
|
|
296
264
|
):
|
|
297
265
|
"""Add a style module into the list of modules
|
|
298
266
|
|
|
299
|
-
:type override_context: typing.
|
|
300
|
-
:type execution_context: typing.
|
|
301
|
-
:type undo:
|
|
267
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
+
:type execution_context: typing.Union[str, int]
|
|
269
|
+
:type undo: bool
|
|
302
270
|
"""
|
|
303
271
|
|
|
304
272
|
...
|
|
305
273
|
|
|
306
274
|
def freestyle_module_move(
|
|
307
|
-
override_context: typing.
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
undo: typing.Optional[bool] = None,
|
|
312
|
-
*,
|
|
313
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
275
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
276
|
+
execution_context: typing.Union[str, int] = None,
|
|
277
|
+
undo: bool = None,
|
|
278
|
+
direction: typing.Any = "UP",
|
|
314
279
|
):
|
|
315
280
|
"""Change the position of the style module within in the list of style modules
|
|
316
281
|
|
|
317
|
-
:type override_context: typing.
|
|
318
|
-
:type execution_context: typing.
|
|
319
|
-
:type undo:
|
|
282
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
283
|
+
:type execution_context: typing.Union[str, int]
|
|
284
|
+
:type undo: bool
|
|
320
285
|
:param direction: Direction, Direction to move the chosen style module towards
|
|
321
|
-
:type direction: typing.
|
|
286
|
+
:type direction: typing.Any
|
|
322
287
|
"""
|
|
323
288
|
|
|
324
289
|
...
|
|
325
290
|
|
|
326
291
|
def freestyle_module_open(
|
|
327
|
-
override_context: typing.
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
331
|
-
undo: typing.Optional[bool] = None,
|
|
332
|
-
*,
|
|
292
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
293
|
+
execution_context: typing.Union[str, int] = None,
|
|
294
|
+
undo: bool = None,
|
|
333
295
|
filepath: typing.Union[str, typing.Any] = "",
|
|
334
|
-
make_internal: typing.
|
|
296
|
+
make_internal: typing.Union[bool, typing.Any] = True,
|
|
335
297
|
):
|
|
336
|
-
"""Open a style module file
|
|
298
|
+
"""Open a style module file
|
|
337
299
|
|
|
338
|
-
:type override_context: typing.
|
|
339
|
-
:type execution_context: typing.
|
|
340
|
-
:type undo:
|
|
300
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
301
|
+
:type execution_context: typing.Union[str, int]
|
|
302
|
+
:type undo: bool
|
|
341
303
|
:param filepath: filepath
|
|
342
304
|
:type filepath: typing.Union[str, typing.Any]
|
|
343
305
|
:param make_internal: Make internal, Make module file internal after loading
|
|
344
|
-
:type make_internal: typing.
|
|
306
|
+
:type make_internal: typing.Union[bool, typing.Any]
|
|
345
307
|
"""
|
|
346
308
|
|
|
347
309
|
...
|
|
348
310
|
|
|
349
311
|
def freestyle_module_remove(
|
|
350
|
-
override_context: typing.
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
354
|
-
undo: typing.Optional[bool] = None,
|
|
312
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
313
|
+
execution_context: typing.Union[str, int] = None,
|
|
314
|
+
undo: bool = None,
|
|
355
315
|
):
|
|
356
316
|
"""Remove the style module from the stack
|
|
357
317
|
|
|
358
|
-
:type override_context: typing.
|
|
359
|
-
:type execution_context: typing.
|
|
360
|
-
:type undo:
|
|
318
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
319
|
+
:type execution_context: typing.Union[str, int]
|
|
320
|
+
:type undo: bool
|
|
361
321
|
"""
|
|
362
322
|
|
|
363
323
|
...
|
|
364
324
|
|
|
365
325
|
def freestyle_stroke_material_create(
|
|
366
|
-
override_context: typing.
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
370
|
-
undo: typing.Optional[bool] = None,
|
|
326
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
327
|
+
execution_context: typing.Union[str, int] = None,
|
|
328
|
+
undo: bool = None,
|
|
371
329
|
):
|
|
372
330
|
"""Create Freestyle stroke material for testing
|
|
373
331
|
|
|
374
|
-
:type override_context: typing.
|
|
375
|
-
:type execution_context: typing.
|
|
376
|
-
:type undo:
|
|
332
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
333
|
+
:type execution_context: typing.Union[str, int]
|
|
334
|
+
:type undo: bool
|
|
377
335
|
"""
|
|
378
336
|
|
|
379
337
|
...
|
|
380
338
|
|
|
381
339
|
def freestyle_thickness_modifier_add(
|
|
382
|
-
override_context: typing.
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
undo: typing.Optional[bool] = None,
|
|
387
|
-
*,
|
|
388
|
-
type: typing.Optional[typing.Union[str, int]] = "ALONG_STROKE",
|
|
340
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
341
|
+
execution_context: typing.Union[str, int] = None,
|
|
342
|
+
undo: bool = None,
|
|
343
|
+
type: typing.Any = "ALONG_STROKE",
|
|
389
344
|
):
|
|
390
345
|
"""Add a line thickness modifier to the line style associated with the active lineset
|
|
391
346
|
|
|
392
|
-
:type override_context: typing.
|
|
393
|
-
:type execution_context: typing.
|
|
394
|
-
:type undo:
|
|
347
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
348
|
+
:type execution_context: typing.Union[str, int]
|
|
349
|
+
:type undo: bool
|
|
395
350
|
:param type: Type
|
|
396
|
-
:type type: typing.
|
|
351
|
+
:type type: typing.Any
|
|
397
352
|
"""
|
|
398
353
|
|
|
399
354
|
...
|
|
400
355
|
|
|
401
356
|
def gltf2_action_filter_refresh(
|
|
402
|
-
override_context: typing.
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
406
|
-
undo: typing.Optional[bool] = None,
|
|
357
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
358
|
+
execution_context: typing.Union[str, int] = None,
|
|
359
|
+
undo: bool = None,
|
|
407
360
|
):
|
|
408
|
-
"""Refresh list of actions
|
|
361
|
+
"""Refresh list of actions
|
|
409
362
|
|
|
410
|
-
:type override_context: typing.
|
|
411
|
-
:type execution_context: typing.
|
|
412
|
-
:type undo:
|
|
363
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
364
|
+
:type execution_context: typing.Union[str, int]
|
|
365
|
+
:type undo: bool
|
|
413
366
|
"""
|
|
414
367
|
|
|
415
368
|
...
|
|
416
369
|
|
|
417
370
|
def gpencil_brush_preset_add(
|
|
418
|
-
override_context: typing.
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
422
|
-
undo: typing.Optional[bool] = None,
|
|
423
|
-
*,
|
|
371
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
372
|
+
execution_context: typing.Union[str, int] = None,
|
|
373
|
+
undo: bool = None,
|
|
424
374
|
name: typing.Union[str, typing.Any] = "",
|
|
425
|
-
remove_name: typing.
|
|
426
|
-
remove_active: typing.
|
|
375
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
376
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
427
377
|
):
|
|
428
|
-
"""Add or remove grease pencil brush preset
|
|
378
|
+
"""Add or remove grease pencil brush preset
|
|
429
379
|
|
|
430
|
-
:type override_context: typing.
|
|
431
|
-
:type execution_context: typing.
|
|
432
|
-
:type undo:
|
|
380
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
381
|
+
:type execution_context: typing.Union[str, int]
|
|
382
|
+
:type undo: bool
|
|
433
383
|
:param name: Name, Name of the preset, used to make the path name
|
|
434
384
|
:type name: typing.Union[str, typing.Any]
|
|
435
385
|
:param remove_name: remove_name
|
|
436
|
-
:type remove_name: typing.
|
|
386
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
437
387
|
:param remove_active: remove_active
|
|
438
|
-
:type remove_active: typing.
|
|
388
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
439
389
|
"""
|
|
440
390
|
|
|
441
391
|
...
|
|
442
392
|
|
|
443
393
|
def gpencil_material_preset_add(
|
|
444
|
-
override_context: typing.
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
448
|
-
undo: typing.Optional[bool] = None,
|
|
449
|
-
*,
|
|
394
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
395
|
+
execution_context: typing.Union[str, int] = None,
|
|
396
|
+
undo: bool = None,
|
|
450
397
|
name: typing.Union[str, typing.Any] = "",
|
|
451
|
-
remove_name: typing.
|
|
452
|
-
remove_active: typing.
|
|
398
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
399
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
453
400
|
):
|
|
454
|
-
"""Add or remove grease pencil material preset
|
|
401
|
+
"""Add or remove grease pencil material preset
|
|
455
402
|
|
|
456
|
-
:type override_context: typing.
|
|
457
|
-
:type execution_context: typing.
|
|
458
|
-
:type undo:
|
|
403
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
404
|
+
:type execution_context: typing.Union[str, int]
|
|
405
|
+
:type undo: bool
|
|
459
406
|
:param name: Name, Name of the preset, used to make the path name
|
|
460
407
|
:type name: typing.Union[str, typing.Any]
|
|
461
408
|
:param remove_name: remove_name
|
|
462
|
-
:type remove_name: typing.
|
|
409
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
463
410
|
:param remove_active: remove_active
|
|
464
|
-
:type remove_active: typing.
|
|
411
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
465
412
|
"""
|
|
466
413
|
|
|
467
414
|
...
|
|
468
415
|
|
|
469
416
|
def light_cache_bake(
|
|
470
|
-
override_context: typing.
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
*,
|
|
476
|
-
delay: typing.Optional[typing.Any] = 0,
|
|
477
|
-
subset: typing.Optional[typing.Any] = "ALL",
|
|
417
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
418
|
+
execution_context: typing.Union[str, int] = None,
|
|
419
|
+
undo: bool = None,
|
|
420
|
+
delay: typing.Any = 0,
|
|
421
|
+
subset: typing.Any = "ALL",
|
|
478
422
|
):
|
|
479
423
|
"""Bake the active view layer lighting
|
|
480
424
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
425
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
426
|
+
:type execution_context: typing.Union[str, int]
|
|
427
|
+
:type undo: bool
|
|
428
|
+
:param delay: Delay, Delay in millisecond before baking starts
|
|
429
|
+
:type delay: typing.Any
|
|
430
|
+
:param subset: Subset, Subset of probes to update
|
|
431
|
+
|
|
432
|
+
ALL
|
|
433
|
+
All Light Probes -- Bake both irradiance grids and reflection cubemaps.
|
|
434
|
+
|
|
435
|
+
DIRTY
|
|
436
|
+
Dirty Only -- Only bake light probes that are marked as dirty.
|
|
437
|
+
|
|
438
|
+
CUBEMAPS
|
|
439
|
+
Cubemaps Only -- Try to only bake reflection cubemaps if irradiance grids are up to date.
|
|
440
|
+
:type subset: typing.Any
|
|
488
441
|
"""
|
|
489
442
|
|
|
490
443
|
...
|
|
491
444
|
|
|
492
445
|
def light_cache_free(
|
|
493
|
-
override_context: typing.
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
497
|
-
undo: typing.Optional[bool] = None,
|
|
446
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
447
|
+
execution_context: typing.Union[str, int] = None,
|
|
448
|
+
undo: bool = None,
|
|
498
449
|
):
|
|
499
450
|
"""Delete cached indirect lighting
|
|
500
451
|
|
|
501
|
-
:type override_context: typing.
|
|
502
|
-
:type execution_context: typing.
|
|
503
|
-
:type undo:
|
|
452
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
453
|
+
:type execution_context: typing.Union[str, int]
|
|
454
|
+
:type undo: bool
|
|
504
455
|
"""
|
|
505
456
|
|
|
506
457
|
...
|
|
507
458
|
|
|
508
459
|
def new(
|
|
509
|
-
override_context: typing.
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
undo: typing.Optional[bool] = None,
|
|
514
|
-
*,
|
|
515
|
-
type: typing.Optional[typing.Any] = "NEW",
|
|
460
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
461
|
+
execution_context: typing.Union[str, int] = None,
|
|
462
|
+
undo: bool = None,
|
|
463
|
+
type: typing.Any = "NEW",
|
|
516
464
|
):
|
|
517
465
|
"""Add new scene by type
|
|
518
466
|
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
467
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
468
|
+
:type execution_context: typing.Union[str, int]
|
|
469
|
+
:type undo: bool
|
|
470
|
+
:param type: Type
|
|
471
|
+
|
|
472
|
+
NEW
|
|
473
|
+
New -- Add a new, empty scene with default settings.
|
|
474
|
+
|
|
475
|
+
EMPTY
|
|
476
|
+
Copy Settings -- Add a new, empty scene, and copy settings from the current scene.
|
|
477
|
+
|
|
478
|
+
LINK_COPY
|
|
479
|
+
Linked Copy -- Link in the collections from the current scene (shallow copy).
|
|
480
|
+
|
|
481
|
+
FULL_COPY
|
|
482
|
+
Full Copy -- Make a full copy of the current scene.
|
|
483
|
+
:type type: typing.Any
|
|
524
484
|
"""
|
|
525
485
|
|
|
526
486
|
...
|
|
527
487
|
|
|
528
488
|
def new_sequencer(
|
|
529
|
-
override_context: typing.
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
undo: typing.Optional[bool] = None,
|
|
534
|
-
*,
|
|
535
|
-
type: typing.Optional[typing.Any] = "NEW",
|
|
489
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
490
|
+
execution_context: typing.Union[str, int] = None,
|
|
491
|
+
undo: bool = None,
|
|
492
|
+
type: typing.Any = "NEW",
|
|
536
493
|
):
|
|
537
494
|
"""Add new scene by type in the sequence editor and assign to active strip
|
|
538
495
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
496
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
497
|
+
:type execution_context: typing.Union[str, int]
|
|
498
|
+
:type undo: bool
|
|
499
|
+
:param type: Type
|
|
500
|
+
|
|
501
|
+
NEW
|
|
502
|
+
New -- Add a new, empty scene with default settings.
|
|
503
|
+
|
|
504
|
+
EMPTY
|
|
505
|
+
Copy Settings -- Add a new, empty scene, and copy settings from the current scene.
|
|
506
|
+
|
|
507
|
+
LINK_COPY
|
|
508
|
+
Linked Copy -- Link in the collections from the current scene (shallow copy).
|
|
509
|
+
|
|
510
|
+
FULL_COPY
|
|
511
|
+
Full Copy -- Make a full copy of the current scene.
|
|
512
|
+
:type type: typing.Any
|
|
544
513
|
"""
|
|
545
514
|
|
|
546
515
|
...
|
|
547
516
|
|
|
548
517
|
def render_view_add(
|
|
549
|
-
override_context: typing.
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
553
|
-
undo: typing.Optional[bool] = None,
|
|
518
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
519
|
+
execution_context: typing.Union[str, int] = None,
|
|
520
|
+
undo: bool = None,
|
|
554
521
|
):
|
|
555
522
|
"""Add a render view
|
|
556
523
|
|
|
557
|
-
:type override_context: typing.
|
|
558
|
-
:type execution_context: typing.
|
|
559
|
-
:type undo:
|
|
524
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
525
|
+
:type execution_context: typing.Union[str, int]
|
|
526
|
+
:type undo: bool
|
|
560
527
|
"""
|
|
561
528
|
|
|
562
529
|
...
|
|
563
530
|
|
|
564
531
|
def render_view_remove(
|
|
565
|
-
override_context: typing.
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
569
|
-
undo: typing.Optional[bool] = None,
|
|
532
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
533
|
+
execution_context: typing.Union[str, int] = None,
|
|
534
|
+
undo: bool = None,
|
|
570
535
|
):
|
|
571
536
|
"""Remove the selected render view
|
|
572
537
|
|
|
573
|
-
:type override_context: typing.
|
|
574
|
-
:type execution_context: typing.
|
|
575
|
-
:type undo:
|
|
538
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
539
|
+
:type execution_context: typing.Union[str, int]
|
|
540
|
+
:type undo: bool
|
|
576
541
|
"""
|
|
577
542
|
|
|
578
543
|
...
|
|
579
544
|
|
|
580
545
|
def view_layer_add(
|
|
581
|
-
override_context: typing.
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
undo: typing.Optional[bool] = None,
|
|
586
|
-
*,
|
|
587
|
-
type: typing.Optional[typing.Any] = "NEW",
|
|
546
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
547
|
+
execution_context: typing.Union[str, int] = None,
|
|
548
|
+
undo: bool = None,
|
|
549
|
+
type: typing.Any = "NEW",
|
|
588
550
|
):
|
|
589
551
|
"""Add a view layer
|
|
590
552
|
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
553
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
554
|
+
:type execution_context: typing.Union[str, int]
|
|
555
|
+
:type undo: bool
|
|
556
|
+
:param type: Type
|
|
557
|
+
|
|
558
|
+
NEW
|
|
559
|
+
New -- Add a new view layer.
|
|
560
|
+
|
|
561
|
+
COPY
|
|
562
|
+
Copy Settings -- Copy settings of current view layer.
|
|
563
|
+
|
|
564
|
+
EMPTY
|
|
565
|
+
Blank -- Add a new view layer with all collections disabled.
|
|
566
|
+
:type type: typing.Any
|
|
596
567
|
"""
|
|
597
568
|
|
|
598
569
|
...
|
|
599
570
|
|
|
600
571
|
def view_layer_add_aov(
|
|
601
|
-
override_context: typing.
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
605
|
-
undo: typing.Optional[bool] = None,
|
|
572
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
573
|
+
execution_context: typing.Union[str, int] = None,
|
|
574
|
+
undo: bool = None,
|
|
606
575
|
):
|
|
607
576
|
"""Add a Shader AOV
|
|
608
577
|
|
|
609
|
-
:type override_context: typing.
|
|
610
|
-
:type execution_context: typing.
|
|
611
|
-
:type undo:
|
|
578
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
579
|
+
:type execution_context: typing.Union[str, int]
|
|
580
|
+
:type undo: bool
|
|
612
581
|
"""
|
|
613
582
|
|
|
614
583
|
...
|
|
615
584
|
|
|
616
585
|
def view_layer_add_lightgroup(
|
|
617
|
-
override_context: typing.
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
621
|
-
undo: typing.Optional[bool] = None,
|
|
622
|
-
*,
|
|
586
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
587
|
+
execution_context: typing.Union[str, int] = None,
|
|
588
|
+
undo: bool = None,
|
|
623
589
|
name: typing.Union[str, typing.Any] = "",
|
|
624
590
|
):
|
|
625
591
|
"""Add a Light Group
|
|
626
592
|
|
|
627
|
-
:type override_context: typing.
|
|
628
|
-
:type execution_context: typing.
|
|
629
|
-
:type undo:
|
|
593
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
594
|
+
:type execution_context: typing.Union[str, int]
|
|
595
|
+
:type undo: bool
|
|
630
596
|
:param name: Name, Name of newly created lightgroup
|
|
631
597
|
:type name: typing.Union[str, typing.Any]
|
|
632
598
|
"""
|
|
@@ -634,81 +600,71 @@ def view_layer_add_lightgroup(
|
|
|
634
600
|
...
|
|
635
601
|
|
|
636
602
|
def view_layer_add_used_lightgroups(
|
|
637
|
-
override_context: typing.
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
641
|
-
undo: typing.Optional[bool] = None,
|
|
603
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
604
|
+
execution_context: typing.Union[str, int] = None,
|
|
605
|
+
undo: bool = None,
|
|
642
606
|
):
|
|
643
607
|
"""Add all used Light Groups
|
|
644
608
|
|
|
645
|
-
:type override_context: typing.
|
|
646
|
-
:type execution_context: typing.
|
|
647
|
-
:type undo:
|
|
609
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
610
|
+
:type execution_context: typing.Union[str, int]
|
|
611
|
+
:type undo: bool
|
|
648
612
|
"""
|
|
649
613
|
|
|
650
614
|
...
|
|
651
615
|
|
|
652
616
|
def view_layer_remove(
|
|
653
|
-
override_context: typing.
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
657
|
-
undo: typing.Optional[bool] = None,
|
|
617
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
618
|
+
execution_context: typing.Union[str, int] = None,
|
|
619
|
+
undo: bool = None,
|
|
658
620
|
):
|
|
659
621
|
"""Remove the selected view layer
|
|
660
622
|
|
|
661
|
-
:type override_context: typing.
|
|
662
|
-
:type execution_context: typing.
|
|
663
|
-
:type undo:
|
|
623
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
624
|
+
:type execution_context: typing.Union[str, int]
|
|
625
|
+
:type undo: bool
|
|
664
626
|
"""
|
|
665
627
|
|
|
666
628
|
...
|
|
667
629
|
|
|
668
630
|
def view_layer_remove_aov(
|
|
669
|
-
override_context: typing.
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
673
|
-
undo: typing.Optional[bool] = None,
|
|
631
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
632
|
+
execution_context: typing.Union[str, int] = None,
|
|
633
|
+
undo: bool = None,
|
|
674
634
|
):
|
|
675
635
|
"""Remove Active AOV
|
|
676
636
|
|
|
677
|
-
:type override_context: typing.
|
|
678
|
-
:type execution_context: typing.
|
|
679
|
-
:type undo:
|
|
637
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
638
|
+
:type execution_context: typing.Union[str, int]
|
|
639
|
+
:type undo: bool
|
|
680
640
|
"""
|
|
681
641
|
|
|
682
642
|
...
|
|
683
643
|
|
|
684
644
|
def view_layer_remove_lightgroup(
|
|
685
|
-
override_context: typing.
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
689
|
-
undo: typing.Optional[bool] = None,
|
|
645
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
646
|
+
execution_context: typing.Union[str, int] = None,
|
|
647
|
+
undo: bool = None,
|
|
690
648
|
):
|
|
691
649
|
"""Remove Active Lightgroup
|
|
692
650
|
|
|
693
|
-
:type override_context: typing.
|
|
694
|
-
:type execution_context: typing.
|
|
695
|
-
:type undo:
|
|
651
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
652
|
+
:type execution_context: typing.Union[str, int]
|
|
653
|
+
:type undo: bool
|
|
696
654
|
"""
|
|
697
655
|
|
|
698
656
|
...
|
|
699
657
|
|
|
700
658
|
def view_layer_remove_unused_lightgroups(
|
|
701
|
-
override_context: typing.
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
705
|
-
undo: typing.Optional[bool] = None,
|
|
659
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
660
|
+
execution_context: typing.Union[str, int] = None,
|
|
661
|
+
undo: bool = None,
|
|
706
662
|
):
|
|
707
663
|
"""Remove all unused Light Groups
|
|
708
664
|
|
|
709
|
-
:type override_context: typing.
|
|
710
|
-
:type execution_context: typing.
|
|
711
|
-
:type undo:
|
|
665
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
666
|
+
:type execution_context: typing.Union[str, int]
|
|
667
|
+
:type undo: bool
|
|
712
668
|
"""
|
|
713
669
|
|
|
714
670
|
...
|