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/particle/__init__.pyi
CHANGED
|
@@ -1,675 +1,631 @@
|
|
|
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 brush_edit(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
13
|
-
*,
|
|
14
|
-
stroke: typing.Optional[
|
|
15
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
|
|
16
|
-
] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
10
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
17
11
|
):
|
|
18
12
|
"""Apply a stroke of brush to the particles
|
|
19
13
|
|
|
20
|
-
:type override_context: typing.
|
|
21
|
-
:type execution_context: typing.
|
|
22
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
23
17
|
:param stroke: Stroke
|
|
24
|
-
:type stroke:
|
|
18
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
25
19
|
"""
|
|
26
20
|
|
|
27
21
|
...
|
|
28
22
|
|
|
29
23
|
def connect_hair(
|
|
30
|
-
override_context: typing.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
undo: typing.Optional[bool] = None,
|
|
35
|
-
*,
|
|
36
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
24
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
25
|
+
execution_context: typing.Union[str, int] = None,
|
|
26
|
+
undo: bool = None,
|
|
27
|
+
all: typing.Union[bool, typing.Any] = False,
|
|
37
28
|
):
|
|
38
29
|
"""Connect hair to the emitter mesh
|
|
39
30
|
|
|
40
|
-
:type override_context: typing.
|
|
41
|
-
:type execution_context: typing.
|
|
42
|
-
:type undo:
|
|
31
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
32
|
+
:type execution_context: typing.Union[str, int]
|
|
33
|
+
:type undo: bool
|
|
43
34
|
:param all: All Hair, Connect all hair systems to the emitter mesh
|
|
44
|
-
:type all: typing.
|
|
35
|
+
:type all: typing.Union[bool, typing.Any]
|
|
45
36
|
"""
|
|
46
37
|
|
|
47
38
|
...
|
|
48
39
|
|
|
49
40
|
def copy_particle_systems(
|
|
50
|
-
override_context: typing.
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
space: typing.Optional[typing.Any] = "OBJECT",
|
|
57
|
-
remove_target_particles: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
58
|
-
use_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
41
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
42
|
+
execution_context: typing.Union[str, int] = None,
|
|
43
|
+
undo: bool = None,
|
|
44
|
+
space: typing.Any = "OBJECT",
|
|
45
|
+
remove_target_particles: typing.Union[bool, typing.Any] = True,
|
|
46
|
+
use_active: typing.Union[bool, typing.Any] = False,
|
|
59
47
|
):
|
|
60
48
|
"""Copy particle systems from the active object to selected objects
|
|
61
49
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
50
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
51
|
+
:type execution_context: typing.Union[str, int]
|
|
52
|
+
:type undo: bool
|
|
53
|
+
:param space: Space, Space transform for copying from one object to another
|
|
54
|
+
|
|
55
|
+
OBJECT
|
|
56
|
+
Object -- Copy inside each object's local space.
|
|
57
|
+
|
|
58
|
+
WORLD
|
|
59
|
+
World -- Copy in world space.
|
|
60
|
+
:type space: typing.Any
|
|
61
|
+
:param remove_target_particles: Remove Target Particles, Remove particle systems on the target objects
|
|
62
|
+
:type remove_target_particles: typing.Union[bool, typing.Any]
|
|
63
|
+
:param use_active: Use Active, Use the active particle system from the context
|
|
64
|
+
:type use_active: typing.Union[bool, typing.Any]
|
|
71
65
|
"""
|
|
72
66
|
|
|
73
67
|
...
|
|
74
68
|
|
|
75
69
|
def delete(
|
|
76
|
-
override_context: typing.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
undo: typing.Optional[bool] = None,
|
|
81
|
-
*,
|
|
82
|
-
type: typing.Optional[typing.Any] = "PARTICLE",
|
|
70
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
71
|
+
execution_context: typing.Union[str, int] = None,
|
|
72
|
+
undo: bool = None,
|
|
73
|
+
type: typing.Any = "PARTICLE",
|
|
83
74
|
):
|
|
84
75
|
"""Delete selected particles or keys
|
|
85
76
|
|
|
86
|
-
:type override_context: typing.
|
|
87
|
-
:type execution_context: typing.
|
|
88
|
-
:type undo:
|
|
77
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
78
|
+
:type execution_context: typing.Union[str, int]
|
|
79
|
+
:type undo: bool
|
|
89
80
|
:param type: Type, Delete a full particle or only keys
|
|
90
|
-
:type type: typing.
|
|
81
|
+
:type type: typing.Any
|
|
91
82
|
"""
|
|
92
83
|
|
|
93
84
|
...
|
|
94
85
|
|
|
95
86
|
def disconnect_hair(
|
|
96
|
-
override_context: typing.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
undo: typing.Optional[bool] = None,
|
|
101
|
-
*,
|
|
102
|
-
all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
87
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
88
|
+
execution_context: typing.Union[str, int] = None,
|
|
89
|
+
undo: bool = None,
|
|
90
|
+
all: typing.Union[bool, typing.Any] = False,
|
|
103
91
|
):
|
|
104
92
|
"""Disconnect hair from the emitter mesh
|
|
105
93
|
|
|
106
|
-
:type override_context: typing.
|
|
107
|
-
:type execution_context: typing.
|
|
108
|
-
:type undo:
|
|
94
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
95
|
+
:type execution_context: typing.Union[str, int]
|
|
96
|
+
:type undo: bool
|
|
109
97
|
:param all: All Hair, Disconnect all hair systems from the emitter mesh
|
|
110
|
-
:type all: typing.
|
|
98
|
+
:type all: typing.Union[bool, typing.Any]
|
|
111
99
|
"""
|
|
112
100
|
|
|
113
101
|
...
|
|
114
102
|
|
|
115
103
|
def duplicate_particle_system(
|
|
116
|
-
override_context: typing.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
undo: typing.Optional[bool] = None,
|
|
121
|
-
*,
|
|
122
|
-
use_duplicate_settings: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
104
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
105
|
+
execution_context: typing.Union[str, int] = None,
|
|
106
|
+
undo: bool = None,
|
|
107
|
+
use_duplicate_settings: typing.Union[bool, typing.Any] = False,
|
|
123
108
|
):
|
|
124
109
|
"""Duplicate particle system within the active object
|
|
125
110
|
|
|
126
|
-
:type override_context: typing.
|
|
127
|
-
:type execution_context: typing.
|
|
128
|
-
:type undo:
|
|
111
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
112
|
+
:type execution_context: typing.Union[str, int]
|
|
113
|
+
:type undo: bool
|
|
129
114
|
:param use_duplicate_settings: Duplicate Settings, Duplicate settings as well, so the new particle system uses its own settings
|
|
130
|
-
:type use_duplicate_settings: typing.
|
|
115
|
+
:type use_duplicate_settings: typing.Union[bool, typing.Any]
|
|
131
116
|
"""
|
|
132
117
|
|
|
133
118
|
...
|
|
134
119
|
|
|
135
120
|
def dupliob_copy(
|
|
136
|
-
override_context: typing.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
140
|
-
undo: typing.Optional[bool] = None,
|
|
121
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
122
|
+
execution_context: typing.Union[str, int] = None,
|
|
123
|
+
undo: bool = None,
|
|
141
124
|
):
|
|
142
125
|
"""Duplicate the current instance object
|
|
143
126
|
|
|
144
|
-
:type override_context: typing.
|
|
145
|
-
:type execution_context: typing.
|
|
146
|
-
:type undo:
|
|
127
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
128
|
+
:type execution_context: typing.Union[str, int]
|
|
129
|
+
:type undo: bool
|
|
147
130
|
"""
|
|
148
131
|
|
|
149
132
|
...
|
|
150
133
|
|
|
151
134
|
def dupliob_move_down(
|
|
152
|
-
override_context: typing.
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
156
|
-
undo: typing.Optional[bool] = None,
|
|
135
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
136
|
+
execution_context: typing.Union[str, int] = None,
|
|
137
|
+
undo: bool = None,
|
|
157
138
|
):
|
|
158
139
|
"""Move instance object down in the list
|
|
159
140
|
|
|
160
|
-
:type override_context: typing.
|
|
161
|
-
:type execution_context: typing.
|
|
162
|
-
:type undo:
|
|
141
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
142
|
+
:type execution_context: typing.Union[str, int]
|
|
143
|
+
:type undo: bool
|
|
163
144
|
"""
|
|
164
145
|
|
|
165
146
|
...
|
|
166
147
|
|
|
167
148
|
def dupliob_move_up(
|
|
168
|
-
override_context: typing.
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
172
|
-
undo: typing.Optional[bool] = None,
|
|
149
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
150
|
+
execution_context: typing.Union[str, int] = None,
|
|
151
|
+
undo: bool = None,
|
|
173
152
|
):
|
|
174
153
|
"""Move instance object up in the list
|
|
175
154
|
|
|
176
|
-
:type override_context: typing.
|
|
177
|
-
:type execution_context: typing.
|
|
178
|
-
:type undo:
|
|
155
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
156
|
+
:type execution_context: typing.Union[str, int]
|
|
157
|
+
:type undo: bool
|
|
179
158
|
"""
|
|
180
159
|
|
|
181
160
|
...
|
|
182
161
|
|
|
183
162
|
def dupliob_refresh(
|
|
184
|
-
override_context: typing.
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
188
|
-
undo: typing.Optional[bool] = None,
|
|
163
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
164
|
+
execution_context: typing.Union[str, int] = None,
|
|
165
|
+
undo: bool = None,
|
|
189
166
|
):
|
|
190
167
|
"""Refresh list of instance objects and their weights
|
|
191
168
|
|
|
192
|
-
:type override_context: typing.
|
|
193
|
-
:type execution_context: typing.
|
|
194
|
-
:type undo:
|
|
169
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
170
|
+
:type execution_context: typing.Union[str, int]
|
|
171
|
+
:type undo: bool
|
|
195
172
|
"""
|
|
196
173
|
|
|
197
174
|
...
|
|
198
175
|
|
|
199
176
|
def dupliob_remove(
|
|
200
|
-
override_context: typing.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
204
|
-
undo: typing.Optional[bool] = None,
|
|
177
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
178
|
+
execution_context: typing.Union[str, int] = None,
|
|
179
|
+
undo: bool = None,
|
|
205
180
|
):
|
|
206
181
|
"""Remove the selected instance object
|
|
207
182
|
|
|
208
|
-
:type override_context: typing.
|
|
209
|
-
:type execution_context: typing.
|
|
210
|
-
:type undo:
|
|
183
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
184
|
+
:type execution_context: typing.Union[str, int]
|
|
185
|
+
:type undo: bool
|
|
211
186
|
"""
|
|
212
187
|
|
|
213
188
|
...
|
|
214
189
|
|
|
215
190
|
def edited_clear(
|
|
216
|
-
override_context: typing.
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
220
|
-
undo: typing.Optional[bool] = None,
|
|
191
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
192
|
+
execution_context: typing.Union[str, int] = None,
|
|
193
|
+
undo: bool = None,
|
|
221
194
|
):
|
|
222
195
|
"""Undo all edition performed on the particle system
|
|
223
196
|
|
|
224
|
-
:type override_context: typing.
|
|
225
|
-
:type execution_context: typing.
|
|
226
|
-
:type undo:
|
|
197
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
198
|
+
:type execution_context: typing.Union[str, int]
|
|
199
|
+
:type undo: bool
|
|
227
200
|
"""
|
|
228
201
|
|
|
229
202
|
...
|
|
230
203
|
|
|
231
204
|
def hair_dynamics_preset_add(
|
|
232
|
-
override_context: typing.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
236
|
-
undo: typing.Optional[bool] = None,
|
|
237
|
-
*,
|
|
205
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
206
|
+
execution_context: typing.Union[str, int] = None,
|
|
207
|
+
undo: bool = None,
|
|
238
208
|
name: typing.Union[str, typing.Any] = "",
|
|
239
|
-
remove_name: typing.
|
|
240
|
-
remove_active: typing.
|
|
209
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
210
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
241
211
|
):
|
|
242
|
-
"""Add or remove a Hair Dynamics Preset
|
|
212
|
+
"""Add or remove a Hair Dynamics Preset
|
|
243
213
|
|
|
244
|
-
:type override_context: typing.
|
|
245
|
-
:type execution_context: typing.
|
|
246
|
-
:type undo:
|
|
214
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
215
|
+
:type execution_context: typing.Union[str, int]
|
|
216
|
+
:type undo: bool
|
|
247
217
|
:param name: Name, Name of the preset, used to make the path name
|
|
248
218
|
:type name: typing.Union[str, typing.Any]
|
|
249
219
|
:param remove_name: remove_name
|
|
250
|
-
:type remove_name: typing.
|
|
220
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
251
221
|
:param remove_active: remove_active
|
|
252
|
-
:type remove_active: typing.
|
|
222
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
253
223
|
"""
|
|
254
224
|
|
|
255
225
|
...
|
|
256
226
|
|
|
257
227
|
def hide(
|
|
258
|
-
override_context: typing.
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
undo: typing.Optional[bool] = None,
|
|
263
|
-
*,
|
|
264
|
-
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
228
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
229
|
+
execution_context: typing.Union[str, int] = None,
|
|
230
|
+
undo: bool = None,
|
|
231
|
+
unselected: typing.Union[bool, typing.Any] = False,
|
|
265
232
|
):
|
|
266
233
|
"""Hide selected particles
|
|
267
234
|
|
|
268
|
-
:type override_context: typing.
|
|
269
|
-
:type execution_context: typing.
|
|
270
|
-
:type undo:
|
|
235
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
236
|
+
:type execution_context: typing.Union[str, int]
|
|
237
|
+
:type undo: bool
|
|
271
238
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
272
|
-
:type unselected: typing.
|
|
239
|
+
:type unselected: typing.Union[bool, typing.Any]
|
|
273
240
|
"""
|
|
274
241
|
|
|
275
242
|
...
|
|
276
243
|
|
|
277
244
|
def mirror(
|
|
278
|
-
override_context: typing.
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
282
|
-
undo: typing.Optional[bool] = None,
|
|
245
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
246
|
+
execution_context: typing.Union[str, int] = None,
|
|
247
|
+
undo: bool = None,
|
|
283
248
|
):
|
|
284
249
|
"""Duplicate and mirror the selected particles along the local X axis
|
|
285
250
|
|
|
286
|
-
:type override_context: typing.
|
|
287
|
-
:type execution_context: typing.
|
|
288
|
-
:type undo:
|
|
251
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
252
|
+
:type execution_context: typing.Union[str, int]
|
|
253
|
+
:type undo: bool
|
|
289
254
|
"""
|
|
290
255
|
|
|
291
256
|
...
|
|
292
257
|
|
|
293
258
|
def new(
|
|
294
|
-
override_context: typing.
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
298
|
-
undo: typing.Optional[bool] = None,
|
|
259
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
260
|
+
execution_context: typing.Union[str, int] = None,
|
|
261
|
+
undo: bool = None,
|
|
299
262
|
):
|
|
300
263
|
"""Add new particle settings
|
|
301
264
|
|
|
302
|
-
:type override_context: typing.
|
|
303
|
-
:type execution_context: typing.
|
|
304
|
-
:type undo:
|
|
265
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
266
|
+
:type execution_context: typing.Union[str, int]
|
|
267
|
+
:type undo: bool
|
|
305
268
|
"""
|
|
306
269
|
|
|
307
270
|
...
|
|
308
271
|
|
|
309
272
|
def new_target(
|
|
310
|
-
override_context: typing.
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
314
|
-
undo: typing.Optional[bool] = None,
|
|
273
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
274
|
+
execution_context: typing.Union[str, int] = None,
|
|
275
|
+
undo: bool = None,
|
|
315
276
|
):
|
|
316
277
|
"""Add a new particle target
|
|
317
278
|
|
|
318
|
-
:type override_context: typing.
|
|
319
|
-
:type execution_context: typing.
|
|
320
|
-
:type undo:
|
|
279
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
280
|
+
:type execution_context: typing.Union[str, int]
|
|
281
|
+
:type undo: bool
|
|
321
282
|
"""
|
|
322
283
|
|
|
323
284
|
...
|
|
324
285
|
|
|
325
286
|
def particle_edit_toggle(
|
|
326
|
-
override_context: typing.
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
330
|
-
undo: typing.Optional[bool] = None,
|
|
287
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
288
|
+
execution_context: typing.Union[str, int] = None,
|
|
289
|
+
undo: bool = None,
|
|
331
290
|
):
|
|
332
291
|
"""Toggle particle edit mode
|
|
333
292
|
|
|
334
|
-
:type override_context: typing.
|
|
335
|
-
:type execution_context: typing.
|
|
336
|
-
:type undo:
|
|
293
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
294
|
+
:type execution_context: typing.Union[str, int]
|
|
295
|
+
:type undo: bool
|
|
337
296
|
"""
|
|
338
297
|
|
|
339
298
|
...
|
|
340
299
|
|
|
341
300
|
def rekey(
|
|
342
|
-
override_context: typing.
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
undo: typing.Optional[bool] = None,
|
|
347
|
-
*,
|
|
348
|
-
keys_number: typing.Optional[typing.Any] = 2,
|
|
301
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
302
|
+
execution_context: typing.Union[str, int] = None,
|
|
303
|
+
undo: bool = None,
|
|
304
|
+
keys_number: typing.Any = 2,
|
|
349
305
|
):
|
|
350
306
|
"""Change the number of keys of selected particles (root and tip keys included)
|
|
351
307
|
|
|
352
|
-
:type override_context: typing.
|
|
353
|
-
:type execution_context: typing.
|
|
354
|
-
:type undo:
|
|
308
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
309
|
+
:type execution_context: typing.Union[str, int]
|
|
310
|
+
:type undo: bool
|
|
355
311
|
:param keys_number: Number of Keys
|
|
356
|
-
:type keys_number: typing.
|
|
312
|
+
:type keys_number: typing.Any
|
|
357
313
|
"""
|
|
358
314
|
|
|
359
315
|
...
|
|
360
316
|
|
|
361
317
|
def remove_doubles(
|
|
362
|
-
override_context: typing.
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
undo: typing.Optional[bool] = None,
|
|
367
|
-
*,
|
|
368
|
-
threshold: typing.Optional[typing.Any] = 0.0002,
|
|
318
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
319
|
+
execution_context: typing.Union[str, int] = None,
|
|
320
|
+
undo: bool = None,
|
|
321
|
+
threshold: typing.Any = 0.0002,
|
|
369
322
|
):
|
|
370
323
|
"""Remove selected particles close enough of others
|
|
371
324
|
|
|
372
|
-
:type override_context: typing.
|
|
373
|
-
:type execution_context: typing.
|
|
374
|
-
:type undo:
|
|
325
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
326
|
+
:type execution_context: typing.Union[str, int]
|
|
327
|
+
:type undo: bool
|
|
375
328
|
:param threshold: Merge Distance, Threshold distance within which particles are removed
|
|
376
|
-
:type threshold: typing.
|
|
329
|
+
:type threshold: typing.Any
|
|
377
330
|
"""
|
|
378
331
|
|
|
379
332
|
...
|
|
380
333
|
|
|
381
334
|
def reveal(
|
|
382
|
-
override_context: typing.
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
undo: typing.Optional[bool] = None,
|
|
387
|
-
*,
|
|
388
|
-
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
335
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
336
|
+
execution_context: typing.Union[str, int] = None,
|
|
337
|
+
undo: bool = None,
|
|
338
|
+
select: typing.Union[bool, typing.Any] = True,
|
|
389
339
|
):
|
|
390
340
|
"""Show hidden particles
|
|
391
341
|
|
|
392
|
-
:type override_context: typing.
|
|
393
|
-
:type execution_context: typing.
|
|
394
|
-
:type undo:
|
|
342
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
343
|
+
:type execution_context: typing.Union[str, int]
|
|
344
|
+
:type undo: bool
|
|
395
345
|
:param select: Select
|
|
396
|
-
:type select: typing.
|
|
346
|
+
:type select: typing.Union[bool, typing.Any]
|
|
397
347
|
"""
|
|
398
348
|
|
|
399
349
|
...
|
|
400
350
|
|
|
401
351
|
def select_all(
|
|
402
|
-
override_context: typing.
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
undo: typing.Optional[bool] = None,
|
|
407
|
-
*,
|
|
408
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
352
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
353
|
+
execution_context: typing.Union[str, int] = None,
|
|
354
|
+
undo: bool = None,
|
|
355
|
+
action: typing.Any = "TOGGLE",
|
|
409
356
|
):
|
|
410
357
|
"""(De)select all particles' keys
|
|
411
358
|
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
359
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
360
|
+
:type execution_context: typing.Union[str, int]
|
|
361
|
+
:type undo: bool
|
|
362
|
+
:param action: Action, Selection action to execute
|
|
363
|
+
|
|
364
|
+
TOGGLE
|
|
365
|
+
Toggle -- Toggle selection for all elements.
|
|
366
|
+
|
|
367
|
+
SELECT
|
|
368
|
+
Select -- Select all elements.
|
|
369
|
+
|
|
370
|
+
DESELECT
|
|
371
|
+
Deselect -- Deselect all elements.
|
|
372
|
+
|
|
373
|
+
INVERT
|
|
374
|
+
Invert -- Invert selection of all elements.
|
|
375
|
+
:type action: typing.Any
|
|
417
376
|
"""
|
|
418
377
|
|
|
419
378
|
...
|
|
420
379
|
|
|
421
380
|
def select_less(
|
|
422
|
-
override_context: typing.
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
426
|
-
undo: typing.Optional[bool] = None,
|
|
381
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
382
|
+
execution_context: typing.Union[str, int] = None,
|
|
383
|
+
undo: bool = None,
|
|
427
384
|
):
|
|
428
385
|
"""Deselect boundary selected keys of each particle
|
|
429
386
|
|
|
430
|
-
:type override_context: typing.
|
|
431
|
-
:type execution_context: typing.
|
|
432
|
-
:type undo:
|
|
387
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
388
|
+
:type execution_context: typing.Union[str, int]
|
|
389
|
+
:type undo: bool
|
|
433
390
|
"""
|
|
434
391
|
|
|
435
392
|
...
|
|
436
393
|
|
|
437
394
|
def select_linked(
|
|
438
|
-
override_context: typing.
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
442
|
-
undo: typing.Optional[bool] = None,
|
|
395
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
396
|
+
execution_context: typing.Union[str, int] = None,
|
|
397
|
+
undo: bool = None,
|
|
443
398
|
):
|
|
444
399
|
"""Select all keys linked to already selected ones
|
|
445
400
|
|
|
446
|
-
:type override_context: typing.
|
|
447
|
-
:type execution_context: typing.
|
|
448
|
-
:type undo:
|
|
401
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
402
|
+
:type execution_context: typing.Union[str, int]
|
|
403
|
+
:type undo: bool
|
|
449
404
|
"""
|
|
450
405
|
|
|
451
406
|
...
|
|
452
407
|
|
|
453
408
|
def select_linked_pick(
|
|
454
|
-
override_context: typing.
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
*,
|
|
460
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
461
|
-
location: typing.Optional[typing.Any] = (0, 0),
|
|
409
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
410
|
+
execution_context: typing.Union[str, int] = None,
|
|
411
|
+
undo: bool = None,
|
|
412
|
+
deselect: typing.Union[bool, typing.Any] = False,
|
|
413
|
+
location: typing.Any = (0, 0),
|
|
462
414
|
):
|
|
463
415
|
"""Select nearest particle from mouse pointer
|
|
464
416
|
|
|
465
|
-
:type override_context: typing.
|
|
466
|
-
:type execution_context: typing.
|
|
467
|
-
:type undo:
|
|
417
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
418
|
+
:type execution_context: typing.Union[str, int]
|
|
419
|
+
:type undo: bool
|
|
468
420
|
:param deselect: Deselect, Deselect linked keys rather than selecting them
|
|
469
|
-
:type deselect: typing.
|
|
421
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
470
422
|
:param location: Location
|
|
471
|
-
:type location: typing.
|
|
423
|
+
:type location: typing.Any
|
|
472
424
|
"""
|
|
473
425
|
|
|
474
426
|
...
|
|
475
427
|
|
|
476
428
|
def select_more(
|
|
477
|
-
override_context: typing.
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
481
|
-
undo: typing.Optional[bool] = None,
|
|
429
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
430
|
+
execution_context: typing.Union[str, int] = None,
|
|
431
|
+
undo: bool = None,
|
|
482
432
|
):
|
|
483
433
|
"""Select keys linked to boundary selected keys of each particle
|
|
484
434
|
|
|
485
|
-
:type override_context: typing.
|
|
486
|
-
:type execution_context: typing.
|
|
487
|
-
:type undo:
|
|
435
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
436
|
+
:type execution_context: typing.Union[str, int]
|
|
437
|
+
:type undo: bool
|
|
488
438
|
"""
|
|
489
439
|
|
|
490
440
|
...
|
|
491
441
|
|
|
492
442
|
def select_random(
|
|
493
|
-
override_context: typing.
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
seed: typing.Optional[typing.Any] = 0,
|
|
501
|
-
action: typing.Optional[typing.Any] = "SELECT",
|
|
502
|
-
type: typing.Optional[typing.Any] = "HAIR",
|
|
443
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
444
|
+
execution_context: typing.Union[str, int] = None,
|
|
445
|
+
undo: bool = None,
|
|
446
|
+
ratio: typing.Any = 0.5,
|
|
447
|
+
seed: typing.Any = 0,
|
|
448
|
+
action: typing.Any = "SELECT",
|
|
449
|
+
type: typing.Any = "HAIR",
|
|
503
450
|
):
|
|
504
451
|
"""Select a randomly distributed set of hair or points
|
|
505
452
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
453
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
454
|
+
:type execution_context: typing.Union[str, int]
|
|
455
|
+
:type undo: bool
|
|
456
|
+
:param ratio: Ratio, Portion of items to select randomly
|
|
457
|
+
:type ratio: typing.Any
|
|
458
|
+
:param seed: Random Seed, Seed for the random number generator
|
|
459
|
+
:type seed: typing.Any
|
|
460
|
+
:param action: Action, Selection action to execute
|
|
461
|
+
|
|
462
|
+
SELECT
|
|
463
|
+
Select -- Select all elements.
|
|
464
|
+
|
|
465
|
+
DESELECT
|
|
466
|
+
Deselect -- Deselect all elements.
|
|
467
|
+
:type action: typing.Any
|
|
468
|
+
:param type: Type, Select either hair or points
|
|
469
|
+
:type type: typing.Any
|
|
517
470
|
"""
|
|
518
471
|
|
|
519
472
|
...
|
|
520
473
|
|
|
521
474
|
def select_roots(
|
|
522
|
-
override_context: typing.
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
undo: typing.Optional[bool] = None,
|
|
527
|
-
*,
|
|
528
|
-
action: typing.Optional[typing.Any] = "SELECT",
|
|
475
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
476
|
+
execution_context: typing.Union[str, int] = None,
|
|
477
|
+
undo: bool = None,
|
|
478
|
+
action: typing.Any = "SELECT",
|
|
529
479
|
):
|
|
530
480
|
"""Select roots of all visible particles
|
|
531
481
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
482
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
483
|
+
:type execution_context: typing.Union[str, int]
|
|
484
|
+
:type undo: bool
|
|
485
|
+
:param action: Action, Selection action to execute
|
|
486
|
+
|
|
487
|
+
TOGGLE
|
|
488
|
+
Toggle -- Toggle selection for all elements.
|
|
489
|
+
|
|
490
|
+
SELECT
|
|
491
|
+
Select -- Select all elements.
|
|
492
|
+
|
|
493
|
+
DESELECT
|
|
494
|
+
Deselect -- Deselect all elements.
|
|
495
|
+
|
|
496
|
+
INVERT
|
|
497
|
+
Invert -- Invert selection of all elements.
|
|
498
|
+
:type action: typing.Any
|
|
537
499
|
"""
|
|
538
500
|
|
|
539
501
|
...
|
|
540
502
|
|
|
541
503
|
def select_tips(
|
|
542
|
-
override_context: typing.
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
undo: typing.Optional[bool] = None,
|
|
547
|
-
*,
|
|
548
|
-
action: typing.Optional[typing.Any] = "SELECT",
|
|
504
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
505
|
+
execution_context: typing.Union[str, int] = None,
|
|
506
|
+
undo: bool = None,
|
|
507
|
+
action: typing.Any = "SELECT",
|
|
549
508
|
):
|
|
550
509
|
"""Select tips of all visible particles
|
|
551
510
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
511
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
512
|
+
:type execution_context: typing.Union[str, int]
|
|
513
|
+
:type undo: bool
|
|
514
|
+
:param action: Action, Selection action to execute
|
|
515
|
+
|
|
516
|
+
TOGGLE
|
|
517
|
+
Toggle -- Toggle selection for all elements.
|
|
518
|
+
|
|
519
|
+
SELECT
|
|
520
|
+
Select -- Select all elements.
|
|
521
|
+
|
|
522
|
+
DESELECT
|
|
523
|
+
Deselect -- Deselect all elements.
|
|
524
|
+
|
|
525
|
+
INVERT
|
|
526
|
+
Invert -- Invert selection of all elements.
|
|
527
|
+
:type action: typing.Any
|
|
557
528
|
"""
|
|
558
529
|
|
|
559
530
|
...
|
|
560
531
|
|
|
561
532
|
def shape_cut(
|
|
562
|
-
override_context: typing.
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
566
|
-
undo: typing.Optional[bool] = None,
|
|
533
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
534
|
+
execution_context: typing.Union[str, int] = None,
|
|
535
|
+
undo: bool = None,
|
|
567
536
|
):
|
|
568
537
|
"""Cut hair to conform to the set shape object
|
|
569
538
|
|
|
570
|
-
:type override_context: typing.
|
|
571
|
-
:type execution_context: typing.
|
|
572
|
-
:type undo:
|
|
539
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
540
|
+
:type execution_context: typing.Union[str, int]
|
|
541
|
+
:type undo: bool
|
|
573
542
|
"""
|
|
574
543
|
|
|
575
544
|
...
|
|
576
545
|
|
|
577
546
|
def subdivide(
|
|
578
|
-
override_context: typing.
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
582
|
-
undo: typing.Optional[bool] = None,
|
|
547
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
548
|
+
execution_context: typing.Union[str, int] = None,
|
|
549
|
+
undo: bool = None,
|
|
583
550
|
):
|
|
584
551
|
"""Subdivide selected particles segments (adds keys)
|
|
585
552
|
|
|
586
|
-
:type override_context: typing.
|
|
587
|
-
:type execution_context: typing.
|
|
588
|
-
:type undo:
|
|
553
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
554
|
+
:type execution_context: typing.Union[str, int]
|
|
555
|
+
:type undo: bool
|
|
589
556
|
"""
|
|
590
557
|
|
|
591
558
|
...
|
|
592
559
|
|
|
593
560
|
def target_move_down(
|
|
594
|
-
override_context: typing.
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
598
|
-
undo: typing.Optional[bool] = None,
|
|
561
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
562
|
+
execution_context: typing.Union[str, int] = None,
|
|
563
|
+
undo: bool = None,
|
|
599
564
|
):
|
|
600
565
|
"""Move particle target down in the list
|
|
601
566
|
|
|
602
|
-
:type override_context: typing.
|
|
603
|
-
:type execution_context: typing.
|
|
604
|
-
:type undo:
|
|
567
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
568
|
+
:type execution_context: typing.Union[str, int]
|
|
569
|
+
:type undo: bool
|
|
605
570
|
"""
|
|
606
571
|
|
|
607
572
|
...
|
|
608
573
|
|
|
609
574
|
def target_move_up(
|
|
610
|
-
override_context: typing.
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
614
|
-
undo: typing.Optional[bool] = None,
|
|
575
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
576
|
+
execution_context: typing.Union[str, int] = None,
|
|
577
|
+
undo: bool = None,
|
|
615
578
|
):
|
|
616
579
|
"""Move particle target up in the list
|
|
617
580
|
|
|
618
|
-
:type override_context: typing.
|
|
619
|
-
:type execution_context: typing.
|
|
620
|
-
:type undo:
|
|
581
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
582
|
+
:type execution_context: typing.Union[str, int]
|
|
583
|
+
:type undo: bool
|
|
621
584
|
"""
|
|
622
585
|
|
|
623
586
|
...
|
|
624
587
|
|
|
625
588
|
def target_remove(
|
|
626
|
-
override_context: typing.
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
630
|
-
undo: typing.Optional[bool] = None,
|
|
589
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
590
|
+
execution_context: typing.Union[str, int] = None,
|
|
591
|
+
undo: bool = None,
|
|
631
592
|
):
|
|
632
593
|
"""Remove the selected particle target
|
|
633
594
|
|
|
634
|
-
:type override_context: typing.
|
|
635
|
-
:type execution_context: typing.
|
|
636
|
-
:type undo:
|
|
595
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
596
|
+
:type execution_context: typing.Union[str, int]
|
|
597
|
+
:type undo: bool
|
|
637
598
|
"""
|
|
638
599
|
|
|
639
600
|
...
|
|
640
601
|
|
|
641
602
|
def unify_length(
|
|
642
|
-
override_context: typing.
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
646
|
-
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,
|
|
647
606
|
):
|
|
648
607
|
"""Make selected hair the same length
|
|
649
608
|
|
|
650
|
-
:type override_context: typing.
|
|
651
|
-
:type execution_context: typing.
|
|
652
|
-
:type undo:
|
|
609
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
610
|
+
:type execution_context: typing.Union[str, int]
|
|
611
|
+
:type undo: bool
|
|
653
612
|
"""
|
|
654
613
|
|
|
655
614
|
...
|
|
656
615
|
|
|
657
616
|
def weight_set(
|
|
658
|
-
override_context: typing.
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
undo: typing.Optional[bool] = None,
|
|
663
|
-
*,
|
|
664
|
-
factor: typing.Optional[typing.Any] = 1.0,
|
|
617
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
618
|
+
execution_context: typing.Union[str, int] = None,
|
|
619
|
+
undo: bool = None,
|
|
620
|
+
factor: typing.Any = 1.0,
|
|
665
621
|
):
|
|
666
622
|
"""Set the weight of selected keys
|
|
667
623
|
|
|
668
|
-
:type override_context: typing.
|
|
669
|
-
:type execution_context: typing.
|
|
670
|
-
:type undo:
|
|
624
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
625
|
+
:type execution_context: typing.Union[str, int]
|
|
626
|
+
:type undo: bool
|
|
671
627
|
:param factor: Factor, Interpolation factor between current brush weight, and keys' weights
|
|
672
|
-
:type factor: typing.
|
|
628
|
+
:type factor: typing.Any
|
|
673
629
|
"""
|
|
674
630
|
|
|
675
631
|
...
|