fake-bpy-module 20240224__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +36 -6
- aud/__init__.pyi +132 -125
- bgl/__init__.pyi +2545 -546
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +24 -2
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +53 -6
- bl_i18n_utils/utils/__init__.pyi +332 -44
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +171 -37
- bl_operators/anim/__init__.pyi +1065 -226
- bl_operators/assets/__init__.pyi +427 -92
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1342 -287
- bl_operators/console/__init__.pyi +647 -140
- bl_operators/constraint/__init__.pyi +524 -112
- bl_operators/file/__init__.pyi +396 -84
- bl_operators/freestyle/__init__.pyi +532 -113
- bl_operators/geometry_nodes/__init__.pyi +2412 -596
- bl_operators/image/__init__.pyi +380 -82
- bl_operators/mesh/__init__.pyi +401 -85
- bl_operators/node/__init__.pyi +1756 -384
- bl_operators/object/__init__.pyi +2022 -552
- bl_operators/object_align/__init__.pyi +145 -31
- bl_operators/object_quick_effects/__init__.pyi +555 -124
- bl_operators/object_randomize_transform/__init__.pyi +136 -32
- bl_operators/presets/__init__.pyi +3516 -708
- bl_operators/rigidbody/__init__.pyi +401 -85
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
- bl_operators/sequencer/__init__.pyi +731 -149
- bl_operators/spreadsheet/__init__.pyi +145 -30
- bl_operators/userpref/__init__.pyi +3416 -824
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
- bl_operators/uvcalc_transform/__init__.pyi +344 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
- bl_operators/view3d/__init__.pyi +697 -146
- bl_operators/wm/__init__.pyi +6287 -1533
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +504 -106
- bl_ui/anim/__init__.pyi +164 -33
- bl_ui/asset_shelf/__init__.pyi +146 -31
- bl_ui/generic_ui_list/__init__.pyi +471 -99
- bl_ui/node_add_menu/__init__.pyi +196 -40
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
- bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
- bl_ui/properties_animviz/__init__.pyi +32 -2
- bl_ui/properties_collection/__init__.pyi +787 -179
- bl_ui/properties_constraint/__init__.pyi +28635 -5523
- bl_ui/properties_data_armature/__init__.pyi +1905 -448
- bl_ui/properties_data_bone/__init__.pyi +1560 -336
- bl_ui/properties_data_camera/__init__.pyi +2269 -494
- bl_ui/properties_data_curve/__init__.pyi +2362 -534
- bl_ui/properties_data_curves/__init__.pyi +951 -203
- bl_ui/properties_data_empty/__init__.pyi +317 -69
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
- bl_ui/properties_data_lattice/__init__.pyi +472 -104
- bl_ui/properties_data_light/__init__.pyi +1570 -337
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
- bl_ui/properties_data_mesh/__init__.pyi +3205 -767
- bl_ui/properties_data_metaball/__init__.pyi +774 -170
- bl_ui/properties_data_modifier/__init__.pyi +1554 -328
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
- bl_ui/properties_data_speaker/__init__.pyi +782 -168
- bl_ui/properties_data_volume/__init__.pyi +1243 -281
- bl_ui/properties_freestyle/__init__.pyi +4071 -1030
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
- bl_ui/properties_mask_common/__init__.pyi +1256 -249
- bl_ui/properties_material/__init__.pyi +2351 -542
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
- bl_ui/properties_object/__init__.pyi +2179 -512
- bl_ui/properties_output/__init__.pyi +2956 -705
- bl_ui/properties_paint_common/__init__.pyi +947 -140
- bl_ui/properties_particle/__init__.pyi +8322 -1970
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
- bl_ui/properties_physics_common/__init__.pyi +200 -44
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
- bl_ui/properties_physics_field/__init__.pyi +1695 -364
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
- bl_ui/properties_render/__init__.pyi +8312 -1933
- bl_ui/properties_scene/__init__.pyi +2211 -539
- bl_ui/properties_texture/__init__.pyi +4185 -1013
- bl_ui/properties_view_layer/__init__.pyi +2803 -664
- bl_ui/properties_workspace/__init__.pyi +626 -148
- bl_ui/properties_world/__init__.pyi +1092 -234
- bl_ui/space_clip/__init__.pyi +11475 -2805
- bl_ui/space_console/__init__.pyi +967 -202
- bl_ui/space_dopesheet/__init__.pyi +4260 -966
- bl_ui/space_filebrowser/__init__.pyi +4852 -1187
- bl_ui/space_graph/__init__.pyi +3251 -702
- bl_ui/space_image/__init__.pyi +12219 -2968
- bl_ui/space_info/__init__.pyi +964 -200
- bl_ui/space_nla/__init__.pyi +2756 -584
- bl_ui/space_node/__init__.pyi +5661 -1265
- bl_ui/space_outliner/__init__.pyi +2294 -478
- bl_ui/space_properties/__init__.pyi +417 -92
- bl_ui/space_sequencer/__init__.pyi +12436 -3009
- bl_ui/space_spreadsheet/__init__.pyi +184 -36
- bl_ui/space_statusbar/__init__.pyi +135 -30
- bl_ui/space_text/__init__.pyi +2556 -542
- bl_ui/space_time/__init__.pyi +1151 -243
- bl_ui/space_toolsystem_common/__init__.pyi +368 -66
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
- bl_ui/space_topbar/__init__.pyi +4214 -887
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +43701 -10599
- bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
- bl_ui/utils/__init__.pyi +42 -4
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +268 -262
- bmesh/utils/__init__.pyi +55 -55
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +350 -305
- bpy/ops/anim/__init__.pyi +464 -426
- bpy/ops/armature/__init__.pyi +392 -360
- bpy/ops/asset/__init__.pyi +166 -129
- bpy/ops/boid/__init__.pyi +64 -37
- bpy/ops/brush/__init__.pyi +78 -72
- bpy/ops/buttons/__init__.pyi +136 -122
- bpy/ops/cachefile/__init__.pyi +128 -123
- bpy/ops/camera/__init__.pyi +22 -24
- bpy/ops/clip/__init__.pyi +844 -735
- bpy/ops/cloth/__init__.pyi +10 -11
- bpy/ops/collection/__init__.pyi +38 -38
- bpy/ops/console/__init__.pyi +170 -141
- bpy/ops/constraint/__init__.pyi +156 -159
- bpy/ops/curve/__init__.pyi +518 -461
- bpy/ops/curves/__init__.pyi +188 -159
- bpy/ops/cycles/__init__.pyi +20 -18
- bpy/ops/dpaint/__init__.pyi +40 -30
- bpy/ops/ed/__init__.pyi +136 -107
- bpy/ops/export_anim/__init__.pyi +18 -19
- bpy/ops/export_mesh/__init__.pyi +26 -27
- bpy/ops/export_scene/__init__.pyi +313 -334
- bpy/ops/file/__init__.pyi +394 -304
- bpy/ops/fluid/__init__.pyi +114 -63
- bpy/ops/font/__init__.pyi +272 -245
- bpy/ops/geometry/__init__.pyi +92 -87
- bpy/ops/gizmogroup/__init__.pyi +24 -21
- bpy/ops/gpencil/__init__.pyi +1530 -1476
- bpy/ops/graph/__init__.pyi +680 -659
- bpy/ops/grease_pencil/__init__.pyi +510 -390
- bpy/ops/image/__init__.pyi +650 -603
- bpy/ops/import_anim/__init__.pyi +26 -27
- bpy/ops/import_curve/__init__.pyi +6 -7
- bpy/ops/import_mesh/__init__.pyi +18 -21
- bpy/ops/import_scene/__init__.pyi +86 -95
- bpy/ops/info/__init__.pyi +68 -55
- bpy/ops/lattice/__init__.pyi +70 -63
- bpy/ops/marker/__init__.pyi +110 -111
- bpy/ops/mask/__init__.pyi +352 -308
- bpy/ops/material/__init__.pyi +24 -12
- bpy/ops/mball/__init__.pyi +72 -75
- bpy/ops/mesh/__init__.pyi +2052 -2088
- bpy/ops/nla/__init__.pyi +369 -313
- bpy/ops/node/__init__.pyi +944 -805
- bpy/ops/object/__init__.pyi +2662 -2461
- bpy/ops/outliner/__init__.pyi +582 -431
- bpy/ops/paint/__init__.pyi +605 -516
- bpy/ops/paintcurve/__init__.pyi +72 -60
- bpy/ops/palette/__init__.pyi +54 -46
- bpy/ops/particle/__init__.pyi +302 -245
- bpy/ops/pose/__init__.pyi +366 -330
- bpy/ops/poselib/__init__.pyi +78 -64
- bpy/ops/preferences/__init__.pyi +361 -341
- bpy/ops/ptcache/__init__.pyi +56 -38
- bpy/ops/render/__init__.pyi +120 -117
- bpy/ops/rigidbody/__init__.pyi +114 -97
- bpy/ops/scene/__init__.pyi +302 -240
- bpy/ops/screen/__init__.pyi +414 -363
- bpy/ops/script/__init__.pyi +20 -18
- bpy/ops/sculpt/__init__.pyi +414 -452
- bpy/ops/sculpt_curves/__init__.pyi +42 -43
- bpy/ops/sequencer/__init__.pyi +1094 -1053
- bpy/ops/sound/__init__.pyi +214 -206
- bpy/ops/spreadsheet/__init__.pyi +34 -28
- bpy/ops/surface/__init__.pyi +108 -114
- bpy/ops/text/__init__.pyi +432 -350
- bpy/ops/text_editor/__init__.pyi +10 -11
- bpy/ops/texture/__init__.pyi +32 -21
- bpy/ops/transform/__init__.pyi +801 -854
- bpy/ops/ui/__init__.pyi +254 -185
- bpy/ops/uilist/__init__.pyi +20 -23
- bpy/ops/uv/__init__.pyi +618 -626
- bpy/ops/view2d/__init__.pyi +162 -161
- bpy/ops/view3d/__init__.pyi +669 -658
- bpy/ops/wm/__init__.pyi +2433 -2415
- bpy/ops/workspace/__init__.pyi +54 -31
- bpy/ops/world/__init__.pyi +8 -4
- bpy/path/__init__.pyi +111 -68
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86789 -85719
- bpy/utils/__init__.pyi +265 -123
- bpy/utils/previews/__init__.pyi +103 -17
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/__init__.pyi +0 -4
- bpy_extras/anim_utils/__init__.pyi +11 -46
- bpy_extras/asset_utils/__init__.pyi +3 -12
- bpy_extras/id_map_utils/__init__.pyi +0 -2
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3873 -997
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +465 -472
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +28 -18
- gpu/capabilities/__init__.pyi +27 -19
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +27 -5
- gpu_extras/presets/__init__.pyi +52 -14
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +3149 -701
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +502 -427
- mathutils/bvhtree/__init__.pyi +28 -32
- mathutils/geometry/__init__.pyi +177 -186
- mathutils/kdtree/__init__.pyi +16 -18
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +50 -10
- nodeitems_utils/__init__.pyi +58 -10
- rna_info/__init__.pyi +230 -26
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +69 -12
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- bpy_extras/bmesh_utils/__init__.pyi +0 -6
- bpy_extras/extensions/__init__.pyi +0 -4
- bpy_extras/extensions/junction_module/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -131
- bpy_extras/wm_utils/__init__.pyi +0 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
- fake_bpy_module-20240224.dist-info/RECORD +0 -349
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/particle/__init__.pyi
CHANGED
|
@@ -4,57 +4,52 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def brush_edit(
|
|
7
|
-
override_context=None,
|
|
8
|
-
execution_context=None,
|
|
9
|
-
undo=None,
|
|
10
|
-
|
|
11
|
-
stroke: typing.Optional[
|
|
12
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
|
|
13
|
-
] = 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,
|
|
14
11
|
):
|
|
15
12
|
"""Apply a stroke of brush to the particles
|
|
16
13
|
|
|
17
|
-
:type override_context: typing.
|
|
18
|
-
:type execution_context: typing.
|
|
19
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
20
17
|
:param stroke: Stroke
|
|
21
|
-
:type stroke:
|
|
18
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
22
19
|
"""
|
|
23
20
|
|
|
24
21
|
...
|
|
25
22
|
|
|
26
23
|
def connect_hair(
|
|
27
|
-
override_context=None,
|
|
28
|
-
execution_context=None,
|
|
29
|
-
undo=None,
|
|
30
|
-
|
|
31
|
-
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,
|
|
32
28
|
):
|
|
33
29
|
"""Connect hair to the emitter mesh
|
|
34
30
|
|
|
35
|
-
:type override_context: typing.
|
|
36
|
-
:type execution_context: typing.
|
|
37
|
-
:type undo:
|
|
31
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
32
|
+
:type execution_context: typing.Union[str, int]
|
|
33
|
+
:type undo: bool
|
|
38
34
|
:param all: All Hair, Connect all hair systems to the emitter mesh
|
|
39
|
-
:type all: typing.
|
|
35
|
+
:type all: typing.Union[bool, typing.Any]
|
|
40
36
|
"""
|
|
41
37
|
|
|
42
38
|
...
|
|
43
39
|
|
|
44
40
|
def copy_particle_systems(
|
|
45
|
-
override_context=None,
|
|
46
|
-
execution_context=None,
|
|
47
|
-
undo=None,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
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,
|
|
52
47
|
):
|
|
53
48
|
"""Copy particle systems from the active object to selected objects
|
|
54
49
|
|
|
55
|
-
:type override_context: typing.
|
|
56
|
-
:type execution_context: typing.
|
|
57
|
-
:type undo:
|
|
50
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
51
|
+
:type execution_context: typing.Union[str, int]
|
|
52
|
+
:type undo: bool
|
|
58
53
|
:param space: Space, Space transform for copying from one object to another
|
|
59
54
|
|
|
60
55
|
OBJECT
|
|
@@ -62,277 +57,308 @@ def copy_particle_systems(
|
|
|
62
57
|
|
|
63
58
|
WORLD
|
|
64
59
|
World -- Copy in world space.
|
|
65
|
-
:type space: typing.
|
|
60
|
+
:type space: typing.Any
|
|
66
61
|
:param remove_target_particles: Remove Target Particles, Remove particle systems on the target objects
|
|
67
|
-
:type remove_target_particles: typing.
|
|
62
|
+
:type remove_target_particles: typing.Union[bool, typing.Any]
|
|
68
63
|
:param use_active: Use Active, Use the active particle system from the context
|
|
69
|
-
:type use_active: typing.
|
|
64
|
+
:type use_active: typing.Union[bool, typing.Any]
|
|
70
65
|
"""
|
|
71
66
|
|
|
72
67
|
...
|
|
73
68
|
|
|
74
69
|
def delete(
|
|
75
|
-
override_context=None,
|
|
76
|
-
execution_context=None,
|
|
77
|
-
undo=None,
|
|
78
|
-
|
|
79
|
-
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",
|
|
80
74
|
):
|
|
81
75
|
"""Delete selected particles or keys
|
|
82
76
|
|
|
83
|
-
:type override_context: typing.
|
|
84
|
-
:type execution_context: typing.
|
|
85
|
-
:type undo:
|
|
77
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
78
|
+
:type execution_context: typing.Union[str, int]
|
|
79
|
+
:type undo: bool
|
|
86
80
|
:param type: Type, Delete a full particle or only keys
|
|
87
|
-
:type type: typing.
|
|
81
|
+
:type type: typing.Any
|
|
88
82
|
"""
|
|
89
83
|
|
|
90
84
|
...
|
|
91
85
|
|
|
92
86
|
def disconnect_hair(
|
|
93
|
-
override_context=None,
|
|
94
|
-
execution_context=None,
|
|
95
|
-
undo=None,
|
|
96
|
-
|
|
97
|
-
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,
|
|
98
91
|
):
|
|
99
92
|
"""Disconnect hair from the emitter mesh
|
|
100
93
|
|
|
101
|
-
:type override_context: typing.
|
|
102
|
-
:type execution_context: typing.
|
|
103
|
-
:type undo:
|
|
94
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
95
|
+
:type execution_context: typing.Union[str, int]
|
|
96
|
+
:type undo: bool
|
|
104
97
|
:param all: All Hair, Disconnect all hair systems from the emitter mesh
|
|
105
|
-
:type all: typing.
|
|
98
|
+
:type all: typing.Union[bool, typing.Any]
|
|
106
99
|
"""
|
|
107
100
|
|
|
108
101
|
...
|
|
109
102
|
|
|
110
103
|
def duplicate_particle_system(
|
|
111
|
-
override_context=None,
|
|
112
|
-
execution_context=None,
|
|
113
|
-
undo=None,
|
|
114
|
-
|
|
115
|
-
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,
|
|
116
108
|
):
|
|
117
109
|
"""Duplicate particle system within the active object
|
|
118
110
|
|
|
119
|
-
:type override_context: typing.
|
|
120
|
-
:type execution_context: typing.
|
|
121
|
-
:type undo:
|
|
111
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
112
|
+
:type execution_context: typing.Union[str, int]
|
|
113
|
+
:type undo: bool
|
|
122
114
|
:param use_duplicate_settings: Duplicate Settings, Duplicate settings as well, so the new particle system uses its own settings
|
|
123
|
-
:type use_duplicate_settings: typing.
|
|
115
|
+
:type use_duplicate_settings: typing.Union[bool, typing.Any]
|
|
124
116
|
"""
|
|
125
117
|
|
|
126
118
|
...
|
|
127
119
|
|
|
128
|
-
def dupliob_copy(
|
|
120
|
+
def dupliob_copy(
|
|
121
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
122
|
+
execution_context: typing.Union[str, int] = None,
|
|
123
|
+
undo: bool = None,
|
|
124
|
+
):
|
|
129
125
|
"""Duplicate the current instance object
|
|
130
126
|
|
|
131
|
-
:type override_context: typing.
|
|
132
|
-
:type execution_context: typing.
|
|
133
|
-
:type undo:
|
|
127
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
128
|
+
:type execution_context: typing.Union[str, int]
|
|
129
|
+
:type undo: bool
|
|
134
130
|
"""
|
|
135
131
|
|
|
136
132
|
...
|
|
137
133
|
|
|
138
|
-
def dupliob_move_down(
|
|
134
|
+
def dupliob_move_down(
|
|
135
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
136
|
+
execution_context: typing.Union[str, int] = None,
|
|
137
|
+
undo: bool = None,
|
|
138
|
+
):
|
|
139
139
|
"""Move instance object down in the list
|
|
140
140
|
|
|
141
|
-
:type override_context: typing.
|
|
142
|
-
:type execution_context: typing.
|
|
143
|
-
:type undo:
|
|
141
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
142
|
+
:type execution_context: typing.Union[str, int]
|
|
143
|
+
:type undo: bool
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
...
|
|
147
147
|
|
|
148
|
-
def dupliob_move_up(
|
|
148
|
+
def dupliob_move_up(
|
|
149
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
150
|
+
execution_context: typing.Union[str, int] = None,
|
|
151
|
+
undo: bool = None,
|
|
152
|
+
):
|
|
149
153
|
"""Move instance object up in the list
|
|
150
154
|
|
|
151
|
-
:type override_context: typing.
|
|
152
|
-
:type execution_context: typing.
|
|
153
|
-
:type undo:
|
|
155
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
156
|
+
:type execution_context: typing.Union[str, int]
|
|
157
|
+
:type undo: bool
|
|
154
158
|
"""
|
|
155
159
|
|
|
156
160
|
...
|
|
157
161
|
|
|
158
|
-
def dupliob_refresh(
|
|
162
|
+
def dupliob_refresh(
|
|
163
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
164
|
+
execution_context: typing.Union[str, int] = None,
|
|
165
|
+
undo: bool = None,
|
|
166
|
+
):
|
|
159
167
|
"""Refresh list of instance objects and their weights
|
|
160
168
|
|
|
161
|
-
:type override_context: typing.
|
|
162
|
-
:type execution_context: typing.
|
|
163
|
-
:type undo:
|
|
169
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
170
|
+
:type execution_context: typing.Union[str, int]
|
|
171
|
+
:type undo: bool
|
|
164
172
|
"""
|
|
165
173
|
|
|
166
174
|
...
|
|
167
175
|
|
|
168
|
-
def dupliob_remove(
|
|
176
|
+
def dupliob_remove(
|
|
177
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
178
|
+
execution_context: typing.Union[str, int] = None,
|
|
179
|
+
undo: bool = None,
|
|
180
|
+
):
|
|
169
181
|
"""Remove the selected instance object
|
|
170
182
|
|
|
171
|
-
:type override_context: typing.
|
|
172
|
-
:type execution_context: typing.
|
|
173
|
-
:type undo:
|
|
183
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
184
|
+
:type execution_context: typing.Union[str, int]
|
|
185
|
+
:type undo: bool
|
|
174
186
|
"""
|
|
175
187
|
|
|
176
188
|
...
|
|
177
189
|
|
|
178
|
-
def edited_clear(
|
|
190
|
+
def edited_clear(
|
|
191
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
192
|
+
execution_context: typing.Union[str, int] = None,
|
|
193
|
+
undo: bool = None,
|
|
194
|
+
):
|
|
179
195
|
"""Undo all edition performed on the particle system
|
|
180
196
|
|
|
181
|
-
:type override_context: typing.
|
|
182
|
-
:type execution_context: typing.
|
|
183
|
-
:type undo:
|
|
197
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
198
|
+
:type execution_context: typing.Union[str, int]
|
|
199
|
+
:type undo: bool
|
|
184
200
|
"""
|
|
185
201
|
|
|
186
202
|
...
|
|
187
203
|
|
|
188
204
|
def hair_dynamics_preset_add(
|
|
189
|
-
override_context=None,
|
|
190
|
-
execution_context=None,
|
|
191
|
-
undo=None,
|
|
192
|
-
*,
|
|
205
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
206
|
+
execution_context: typing.Union[str, int] = None,
|
|
207
|
+
undo: bool = None,
|
|
193
208
|
name: typing.Union[str, typing.Any] = "",
|
|
194
|
-
remove_name: typing.
|
|
195
|
-
remove_active: typing.
|
|
209
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
210
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
196
211
|
):
|
|
197
212
|
"""Add or remove a Hair Dynamics Preset
|
|
198
213
|
|
|
199
|
-
:type override_context: typing.
|
|
200
|
-
:type execution_context: typing.
|
|
201
|
-
:type undo:
|
|
214
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
215
|
+
:type execution_context: typing.Union[str, int]
|
|
216
|
+
:type undo: bool
|
|
202
217
|
:param name: Name, Name of the preset, used to make the path name
|
|
203
218
|
:type name: typing.Union[str, typing.Any]
|
|
204
219
|
:param remove_name: remove_name
|
|
205
|
-
:type remove_name: typing.
|
|
220
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
206
221
|
:param remove_active: remove_active
|
|
207
|
-
:type remove_active: typing.
|
|
222
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
208
223
|
"""
|
|
209
224
|
|
|
210
225
|
...
|
|
211
226
|
|
|
212
227
|
def hide(
|
|
213
|
-
override_context=None,
|
|
214
|
-
execution_context=None,
|
|
215
|
-
undo=None,
|
|
216
|
-
|
|
217
|
-
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,
|
|
218
232
|
):
|
|
219
233
|
"""Hide selected particles
|
|
220
234
|
|
|
221
|
-
:type override_context: typing.
|
|
222
|
-
:type execution_context: typing.
|
|
223
|
-
:type undo:
|
|
235
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
236
|
+
:type execution_context: typing.Union[str, int]
|
|
237
|
+
:type undo: bool
|
|
224
238
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
225
|
-
:type unselected: typing.
|
|
239
|
+
:type unselected: typing.Union[bool, typing.Any]
|
|
226
240
|
"""
|
|
227
241
|
|
|
228
242
|
...
|
|
229
243
|
|
|
230
|
-
def mirror(
|
|
244
|
+
def mirror(
|
|
245
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
246
|
+
execution_context: typing.Union[str, int] = None,
|
|
247
|
+
undo: bool = None,
|
|
248
|
+
):
|
|
231
249
|
"""Duplicate and mirror the selected particles along the local X axis
|
|
232
250
|
|
|
233
|
-
:type override_context: typing.
|
|
234
|
-
:type execution_context: typing.
|
|
235
|
-
:type undo:
|
|
251
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
252
|
+
:type execution_context: typing.Union[str, int]
|
|
253
|
+
:type undo: bool
|
|
236
254
|
"""
|
|
237
255
|
|
|
238
256
|
...
|
|
239
257
|
|
|
240
|
-
def new(
|
|
258
|
+
def new(
|
|
259
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
260
|
+
execution_context: typing.Union[str, int] = None,
|
|
261
|
+
undo: bool = None,
|
|
262
|
+
):
|
|
241
263
|
"""Add new particle settings
|
|
242
264
|
|
|
243
|
-
:type override_context: typing.
|
|
244
|
-
:type execution_context: typing.
|
|
245
|
-
:type undo:
|
|
265
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
266
|
+
:type execution_context: typing.Union[str, int]
|
|
267
|
+
:type undo: bool
|
|
246
268
|
"""
|
|
247
269
|
|
|
248
270
|
...
|
|
249
271
|
|
|
250
|
-
def new_target(
|
|
272
|
+
def new_target(
|
|
273
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
274
|
+
execution_context: typing.Union[str, int] = None,
|
|
275
|
+
undo: bool = None,
|
|
276
|
+
):
|
|
251
277
|
"""Add a new particle target
|
|
252
278
|
|
|
253
|
-
:type override_context: typing.
|
|
254
|
-
:type execution_context: typing.
|
|
255
|
-
:type undo:
|
|
279
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
280
|
+
:type execution_context: typing.Union[str, int]
|
|
281
|
+
:type undo: bool
|
|
256
282
|
"""
|
|
257
283
|
|
|
258
284
|
...
|
|
259
285
|
|
|
260
|
-
def particle_edit_toggle(
|
|
286
|
+
def particle_edit_toggle(
|
|
287
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
288
|
+
execution_context: typing.Union[str, int] = None,
|
|
289
|
+
undo: bool = None,
|
|
290
|
+
):
|
|
261
291
|
"""Toggle particle edit mode
|
|
262
292
|
|
|
263
|
-
:type override_context: typing.
|
|
264
|
-
:type execution_context: typing.
|
|
265
|
-
:type undo:
|
|
293
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
294
|
+
:type execution_context: typing.Union[str, int]
|
|
295
|
+
:type undo: bool
|
|
266
296
|
"""
|
|
267
297
|
|
|
268
298
|
...
|
|
269
299
|
|
|
270
300
|
def rekey(
|
|
271
|
-
override_context=None,
|
|
272
|
-
execution_context=None,
|
|
273
|
-
undo=None,
|
|
274
|
-
|
|
275
|
-
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,
|
|
276
305
|
):
|
|
277
306
|
"""Change the number of keys of selected particles (root and tip keys included)
|
|
278
307
|
|
|
279
|
-
:type override_context: typing.
|
|
280
|
-
:type execution_context: typing.
|
|
281
|
-
:type undo:
|
|
308
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
309
|
+
:type execution_context: typing.Union[str, int]
|
|
310
|
+
:type undo: bool
|
|
282
311
|
:param keys_number: Number of Keys
|
|
283
|
-
:type keys_number: typing.
|
|
312
|
+
:type keys_number: typing.Any
|
|
284
313
|
"""
|
|
285
314
|
|
|
286
315
|
...
|
|
287
316
|
|
|
288
317
|
def remove_doubles(
|
|
289
|
-
override_context=None,
|
|
290
|
-
execution_context=None,
|
|
291
|
-
undo=None,
|
|
292
|
-
|
|
293
|
-
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,
|
|
294
322
|
):
|
|
295
323
|
"""Remove selected particles close enough of others
|
|
296
324
|
|
|
297
|
-
:type override_context: typing.
|
|
298
|
-
:type execution_context: typing.
|
|
299
|
-
:type undo:
|
|
325
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
326
|
+
:type execution_context: typing.Union[str, int]
|
|
327
|
+
:type undo: bool
|
|
300
328
|
:param threshold: Merge Distance, Threshold distance within which particles are removed
|
|
301
|
-
:type threshold: typing.
|
|
329
|
+
:type threshold: typing.Any
|
|
302
330
|
"""
|
|
303
331
|
|
|
304
332
|
...
|
|
305
333
|
|
|
306
334
|
def reveal(
|
|
307
|
-
override_context=None,
|
|
308
|
-
execution_context=None,
|
|
309
|
-
undo=None,
|
|
310
|
-
|
|
311
|
-
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,
|
|
312
339
|
):
|
|
313
340
|
"""Show hidden particles
|
|
314
341
|
|
|
315
|
-
:type override_context: typing.
|
|
316
|
-
:type execution_context: typing.
|
|
317
|
-
:type undo:
|
|
342
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
343
|
+
:type execution_context: typing.Union[str, int]
|
|
344
|
+
:type undo: bool
|
|
318
345
|
:param select: Select
|
|
319
|
-
:type select: typing.
|
|
346
|
+
:type select: typing.Union[bool, typing.Any]
|
|
320
347
|
"""
|
|
321
348
|
|
|
322
349
|
...
|
|
323
350
|
|
|
324
351
|
def select_all(
|
|
325
|
-
override_context=None,
|
|
326
|
-
execution_context=None,
|
|
327
|
-
undo=None,
|
|
328
|
-
|
|
329
|
-
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",
|
|
330
356
|
):
|
|
331
357
|
"""(De)select all particles' keys
|
|
332
358
|
|
|
333
|
-
:type override_context: typing.
|
|
334
|
-
:type execution_context: typing.
|
|
335
|
-
:type undo:
|
|
359
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
360
|
+
:type execution_context: typing.Union[str, int]
|
|
361
|
+
:type undo: bool
|
|
336
362
|
:param action: Action, Selection action to execute
|
|
337
363
|
|
|
338
364
|
TOGGLE
|
|
@@ -346,81 +372,91 @@ def select_all(
|
|
|
346
372
|
|
|
347
373
|
INVERT
|
|
348
374
|
Invert -- Invert selection of all elements.
|
|
349
|
-
:type action: typing.
|
|
375
|
+
:type action: typing.Any
|
|
350
376
|
"""
|
|
351
377
|
|
|
352
378
|
...
|
|
353
379
|
|
|
354
|
-
def select_less(
|
|
380
|
+
def select_less(
|
|
381
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
382
|
+
execution_context: typing.Union[str, int] = None,
|
|
383
|
+
undo: bool = None,
|
|
384
|
+
):
|
|
355
385
|
"""Deselect boundary selected keys of each particle
|
|
356
386
|
|
|
357
|
-
:type override_context: typing.
|
|
358
|
-
:type execution_context: typing.
|
|
359
|
-
:type undo:
|
|
387
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
388
|
+
:type execution_context: typing.Union[str, int]
|
|
389
|
+
:type undo: bool
|
|
360
390
|
"""
|
|
361
391
|
|
|
362
392
|
...
|
|
363
393
|
|
|
364
|
-
def select_linked(
|
|
394
|
+
def select_linked(
|
|
395
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
396
|
+
execution_context: typing.Union[str, int] = None,
|
|
397
|
+
undo: bool = None,
|
|
398
|
+
):
|
|
365
399
|
"""Select all keys linked to already selected ones
|
|
366
400
|
|
|
367
|
-
:type override_context: typing.
|
|
368
|
-
:type execution_context: typing.
|
|
369
|
-
:type undo:
|
|
401
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
402
|
+
:type execution_context: typing.Union[str, int]
|
|
403
|
+
:type undo: bool
|
|
370
404
|
"""
|
|
371
405
|
|
|
372
406
|
...
|
|
373
407
|
|
|
374
408
|
def select_linked_pick(
|
|
375
|
-
override_context=None,
|
|
376
|
-
execution_context=None,
|
|
377
|
-
undo=None,
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
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),
|
|
381
414
|
):
|
|
382
415
|
"""Select nearest particle from mouse pointer
|
|
383
416
|
|
|
384
|
-
:type override_context: typing.
|
|
385
|
-
:type execution_context: typing.
|
|
386
|
-
:type undo:
|
|
417
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
418
|
+
:type execution_context: typing.Union[str, int]
|
|
419
|
+
:type undo: bool
|
|
387
420
|
:param deselect: Deselect, Deselect linked keys rather than selecting them
|
|
388
|
-
:type deselect: typing.
|
|
421
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
389
422
|
:param location: Location
|
|
390
|
-
:type location: typing.
|
|
423
|
+
:type location: typing.Any
|
|
391
424
|
"""
|
|
392
425
|
|
|
393
426
|
...
|
|
394
427
|
|
|
395
|
-
def select_more(
|
|
428
|
+
def select_more(
|
|
429
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
430
|
+
execution_context: typing.Union[str, int] = None,
|
|
431
|
+
undo: bool = None,
|
|
432
|
+
):
|
|
396
433
|
"""Select keys linked to boundary selected keys of each particle
|
|
397
434
|
|
|
398
|
-
:type override_context: typing.
|
|
399
|
-
:type execution_context: typing.
|
|
400
|
-
:type undo:
|
|
435
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
436
|
+
:type execution_context: typing.Union[str, int]
|
|
437
|
+
:type undo: bool
|
|
401
438
|
"""
|
|
402
439
|
|
|
403
440
|
...
|
|
404
441
|
|
|
405
442
|
def select_random(
|
|
406
|
-
override_context=None,
|
|
407
|
-
execution_context=None,
|
|
408
|
-
undo=None,
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
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",
|
|
414
450
|
):
|
|
415
451
|
"""Select a randomly distributed set of hair or points
|
|
416
452
|
|
|
417
|
-
:type override_context: typing.
|
|
418
|
-
:type execution_context: typing.
|
|
419
|
-
:type undo:
|
|
453
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
454
|
+
:type execution_context: typing.Union[str, int]
|
|
455
|
+
:type undo: bool
|
|
420
456
|
:param ratio: Ratio, Portion of items to select randomly
|
|
421
|
-
:type ratio: typing.
|
|
457
|
+
:type ratio: typing.Any
|
|
422
458
|
:param seed: Random Seed, Seed for the random number generator
|
|
423
|
-
:type seed: typing.
|
|
459
|
+
:type seed: typing.Any
|
|
424
460
|
:param action: Action, Selection action to execute
|
|
425
461
|
|
|
426
462
|
SELECT
|
|
@@ -428,25 +464,24 @@ def select_random(
|
|
|
428
464
|
|
|
429
465
|
DESELECT
|
|
430
466
|
Deselect -- Deselect all elements.
|
|
431
|
-
:type action: typing.
|
|
467
|
+
:type action: typing.Any
|
|
432
468
|
:param type: Type, Select either hair or points
|
|
433
|
-
:type type: typing.
|
|
469
|
+
:type type: typing.Any
|
|
434
470
|
"""
|
|
435
471
|
|
|
436
472
|
...
|
|
437
473
|
|
|
438
474
|
def select_roots(
|
|
439
|
-
override_context=None,
|
|
440
|
-
execution_context=None,
|
|
441
|
-
undo=None,
|
|
442
|
-
|
|
443
|
-
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",
|
|
444
479
|
):
|
|
445
480
|
"""Select roots of all visible particles
|
|
446
481
|
|
|
447
|
-
:type override_context: typing.
|
|
448
|
-
:type execution_context: typing.
|
|
449
|
-
:type undo:
|
|
482
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
483
|
+
:type execution_context: typing.Union[str, int]
|
|
484
|
+
:type undo: bool
|
|
450
485
|
:param action: Action, Selection action to execute
|
|
451
486
|
|
|
452
487
|
TOGGLE
|
|
@@ -460,23 +495,22 @@ def select_roots(
|
|
|
460
495
|
|
|
461
496
|
INVERT
|
|
462
497
|
Invert -- Invert selection of all elements.
|
|
463
|
-
:type action: typing.
|
|
498
|
+
:type action: typing.Any
|
|
464
499
|
"""
|
|
465
500
|
|
|
466
501
|
...
|
|
467
502
|
|
|
468
503
|
def select_tips(
|
|
469
|
-
override_context=None,
|
|
470
|
-
execution_context=None,
|
|
471
|
-
undo=None,
|
|
472
|
-
|
|
473
|
-
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",
|
|
474
508
|
):
|
|
475
509
|
"""Select tips of all visible particles
|
|
476
510
|
|
|
477
|
-
:type override_context: typing.
|
|
478
|
-
:type execution_context: typing.
|
|
479
|
-
:type undo:
|
|
511
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
512
|
+
:type execution_context: typing.Union[str, int]
|
|
513
|
+
:type undo: bool
|
|
480
514
|
:param action: Action, Selection action to execute
|
|
481
515
|
|
|
482
516
|
TOGGLE
|
|
@@ -490,85 +524,108 @@ def select_tips(
|
|
|
490
524
|
|
|
491
525
|
INVERT
|
|
492
526
|
Invert -- Invert selection of all elements.
|
|
493
|
-
:type action: typing.
|
|
527
|
+
:type action: typing.Any
|
|
494
528
|
"""
|
|
495
529
|
|
|
496
530
|
...
|
|
497
531
|
|
|
498
|
-
def shape_cut(
|
|
532
|
+
def shape_cut(
|
|
533
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
534
|
+
execution_context: typing.Union[str, int] = None,
|
|
535
|
+
undo: bool = None,
|
|
536
|
+
):
|
|
499
537
|
"""Cut hair to conform to the set shape object
|
|
500
538
|
|
|
501
|
-
:type override_context: typing.
|
|
502
|
-
:type execution_context: typing.
|
|
503
|
-
:type undo:
|
|
539
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
540
|
+
:type execution_context: typing.Union[str, int]
|
|
541
|
+
:type undo: bool
|
|
504
542
|
"""
|
|
505
543
|
|
|
506
544
|
...
|
|
507
545
|
|
|
508
|
-
def subdivide(
|
|
546
|
+
def subdivide(
|
|
547
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
548
|
+
execution_context: typing.Union[str, int] = None,
|
|
549
|
+
undo: bool = None,
|
|
550
|
+
):
|
|
509
551
|
"""Subdivide selected particles segments (adds keys)
|
|
510
552
|
|
|
511
|
-
:type override_context: typing.
|
|
512
|
-
:type execution_context: typing.
|
|
513
|
-
:type undo:
|
|
553
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
554
|
+
:type execution_context: typing.Union[str, int]
|
|
555
|
+
:type undo: bool
|
|
514
556
|
"""
|
|
515
557
|
|
|
516
558
|
...
|
|
517
559
|
|
|
518
|
-
def target_move_down(
|
|
560
|
+
def target_move_down(
|
|
561
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
562
|
+
execution_context: typing.Union[str, int] = None,
|
|
563
|
+
undo: bool = None,
|
|
564
|
+
):
|
|
519
565
|
"""Move particle target down in the list
|
|
520
566
|
|
|
521
|
-
:type override_context: typing.
|
|
522
|
-
:type execution_context: typing.
|
|
523
|
-
:type undo:
|
|
567
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
568
|
+
:type execution_context: typing.Union[str, int]
|
|
569
|
+
:type undo: bool
|
|
524
570
|
"""
|
|
525
571
|
|
|
526
572
|
...
|
|
527
573
|
|
|
528
|
-
def target_move_up(
|
|
574
|
+
def target_move_up(
|
|
575
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
576
|
+
execution_context: typing.Union[str, int] = None,
|
|
577
|
+
undo: bool = None,
|
|
578
|
+
):
|
|
529
579
|
"""Move particle target up in the list
|
|
530
580
|
|
|
531
|
-
:type override_context: typing.
|
|
532
|
-
:type execution_context: typing.
|
|
533
|
-
:type undo:
|
|
581
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
582
|
+
:type execution_context: typing.Union[str, int]
|
|
583
|
+
:type undo: bool
|
|
534
584
|
"""
|
|
535
585
|
|
|
536
586
|
...
|
|
537
587
|
|
|
538
|
-
def target_remove(
|
|
588
|
+
def target_remove(
|
|
589
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
590
|
+
execution_context: typing.Union[str, int] = None,
|
|
591
|
+
undo: bool = None,
|
|
592
|
+
):
|
|
539
593
|
"""Remove the selected particle target
|
|
540
594
|
|
|
541
|
-
:type override_context: typing.
|
|
542
|
-
:type execution_context: typing.
|
|
543
|
-
:type undo:
|
|
595
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
596
|
+
:type execution_context: typing.Union[str, int]
|
|
597
|
+
:type undo: bool
|
|
544
598
|
"""
|
|
545
599
|
|
|
546
600
|
...
|
|
547
601
|
|
|
548
|
-
def unify_length(
|
|
602
|
+
def unify_length(
|
|
603
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
604
|
+
execution_context: typing.Union[str, int] = None,
|
|
605
|
+
undo: bool = None,
|
|
606
|
+
):
|
|
549
607
|
"""Make selected hair the same length
|
|
550
608
|
|
|
551
|
-
:type override_context: typing.
|
|
552
|
-
:type execution_context: typing.
|
|
553
|
-
:type undo:
|
|
609
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
610
|
+
:type execution_context: typing.Union[str, int]
|
|
611
|
+
:type undo: bool
|
|
554
612
|
"""
|
|
555
613
|
|
|
556
614
|
...
|
|
557
615
|
|
|
558
616
|
def weight_set(
|
|
559
|
-
override_context=None,
|
|
560
|
-
execution_context=None,
|
|
561
|
-
undo=None,
|
|
562
|
-
|
|
563
|
-
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,
|
|
564
621
|
):
|
|
565
622
|
"""Set the weight of selected keys
|
|
566
623
|
|
|
567
|
-
:type override_context: typing.
|
|
568
|
-
:type execution_context: typing.
|
|
569
|
-
:type undo:
|
|
624
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
625
|
+
:type execution_context: typing.Union[str, int]
|
|
626
|
+
:type undo: bool
|
|
570
627
|
:param factor: Factor, Interpolation factor between current brush weight, and keys' weights
|
|
571
|
-
:type factor: typing.
|
|
628
|
+
:type factor: typing.Any
|
|
572
629
|
"""
|
|
573
630
|
|
|
574
631
|
...
|