fake-bpy-module 20240320__py3-none-any.whl → 20240322__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 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- 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 +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- 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 +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- 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 +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- 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 +253 -247
- bmesh/utils/__init__.pyi +54 -54
- 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 +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +642 -822
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +331 -429
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86358 -87091
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- 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 -1
- 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 +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.dist-info/RECORD +343 -0
- 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 +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- 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 +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- 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 +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240320.dist-info/RECORD +0 -343
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240320.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
bpy/ops/particle/__init__.pyi
CHANGED
|
@@ -4,63 +4,52 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def brush_edit(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
12
|
-
*,
|
|
13
|
-
stroke: typing.Optional[
|
|
14
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
|
|
15
|
-
] = 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,
|
|
16
11
|
):
|
|
17
12
|
"""Apply a stroke of brush to the particles
|
|
18
13
|
|
|
19
|
-
:type override_context: typing.
|
|
20
|
-
:type execution_context: typing.
|
|
21
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
22
17
|
:param stroke: Stroke
|
|
23
|
-
:type stroke:
|
|
18
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
24
19
|
"""
|
|
25
20
|
|
|
26
21
|
...
|
|
27
22
|
|
|
28
23
|
def connect_hair(
|
|
29
|
-
override_context: typing.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
undo: typing.Optional[bool] = None,
|
|
34
|
-
*,
|
|
35
|
-
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,
|
|
36
28
|
):
|
|
37
29
|
"""Connect hair to the emitter mesh
|
|
38
30
|
|
|
39
|
-
:type override_context: typing.
|
|
40
|
-
:type execution_context: typing.
|
|
41
|
-
:type undo:
|
|
31
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
32
|
+
:type execution_context: typing.Union[str, int]
|
|
33
|
+
:type undo: bool
|
|
42
34
|
:param all: All Hair, Connect all hair systems to the emitter mesh
|
|
43
|
-
:type all: typing.
|
|
35
|
+
:type all: typing.Union[bool, typing.Any]
|
|
44
36
|
"""
|
|
45
37
|
|
|
46
38
|
...
|
|
47
39
|
|
|
48
40
|
def copy_particle_systems(
|
|
49
|
-
override_context: typing.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
space: typing.Optional[typing.Any] = "OBJECT",
|
|
56
|
-
remove_target_particles: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
57
|
-
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,
|
|
58
47
|
):
|
|
59
48
|
"""Copy particle systems from the active object to selected objects
|
|
60
49
|
|
|
61
|
-
:type override_context: typing.
|
|
62
|
-
:type execution_context: typing.
|
|
63
|
-
:type undo:
|
|
50
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
51
|
+
:type execution_context: typing.Union[str, int]
|
|
52
|
+
:type undo: bool
|
|
64
53
|
:param space: Space, Space transform for copying from one object to another
|
|
65
54
|
|
|
66
55
|
OBJECT
|
|
@@ -68,355 +57,308 @@ def copy_particle_systems(
|
|
|
68
57
|
|
|
69
58
|
WORLD
|
|
70
59
|
World -- Copy in world space.
|
|
71
|
-
:type space: typing.
|
|
60
|
+
:type space: typing.Any
|
|
72
61
|
:param remove_target_particles: Remove Target Particles, Remove particle systems on the target objects
|
|
73
|
-
:type remove_target_particles: typing.
|
|
62
|
+
:type remove_target_particles: typing.Union[bool, typing.Any]
|
|
74
63
|
:param use_active: Use Active, Use the active particle system from the context
|
|
75
|
-
:type use_active: typing.
|
|
64
|
+
:type use_active: typing.Union[bool, typing.Any]
|
|
76
65
|
"""
|
|
77
66
|
|
|
78
67
|
...
|
|
79
68
|
|
|
80
69
|
def delete(
|
|
81
|
-
override_context: typing.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
undo: typing.Optional[bool] = None,
|
|
86
|
-
*,
|
|
87
|
-
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",
|
|
88
74
|
):
|
|
89
75
|
"""Delete selected particles or keys
|
|
90
76
|
|
|
91
|
-
:type override_context: typing.
|
|
92
|
-
:type execution_context: typing.
|
|
93
|
-
:type undo:
|
|
77
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
78
|
+
:type execution_context: typing.Union[str, int]
|
|
79
|
+
:type undo: bool
|
|
94
80
|
:param type: Type, Delete a full particle or only keys
|
|
95
|
-
:type type: typing.
|
|
81
|
+
:type type: typing.Any
|
|
96
82
|
"""
|
|
97
83
|
|
|
98
84
|
...
|
|
99
85
|
|
|
100
86
|
def disconnect_hair(
|
|
101
|
-
override_context: typing.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
undo: typing.Optional[bool] = None,
|
|
106
|
-
*,
|
|
107
|
-
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,
|
|
108
91
|
):
|
|
109
92
|
"""Disconnect hair from the emitter mesh
|
|
110
93
|
|
|
111
|
-
:type override_context: typing.
|
|
112
|
-
:type execution_context: typing.
|
|
113
|
-
:type undo:
|
|
94
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
95
|
+
:type execution_context: typing.Union[str, int]
|
|
96
|
+
:type undo: bool
|
|
114
97
|
:param all: All Hair, Disconnect all hair systems from the emitter mesh
|
|
115
|
-
:type all: typing.
|
|
98
|
+
:type all: typing.Union[bool, typing.Any]
|
|
116
99
|
"""
|
|
117
100
|
|
|
118
101
|
...
|
|
119
102
|
|
|
120
103
|
def duplicate_particle_system(
|
|
121
|
-
override_context: typing.
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
undo: typing.Optional[bool] = None,
|
|
126
|
-
*,
|
|
127
|
-
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,
|
|
128
108
|
):
|
|
129
109
|
"""Duplicate particle system within the active object
|
|
130
110
|
|
|
131
|
-
:type override_context: typing.
|
|
132
|
-
:type execution_context: typing.
|
|
133
|
-
:type undo:
|
|
111
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
112
|
+
:type execution_context: typing.Union[str, int]
|
|
113
|
+
:type undo: bool
|
|
134
114
|
:param use_duplicate_settings: Duplicate Settings, Duplicate settings as well, so the new particle system uses its own settings
|
|
135
|
-
:type use_duplicate_settings: typing.
|
|
115
|
+
:type use_duplicate_settings: typing.Union[bool, typing.Any]
|
|
136
116
|
"""
|
|
137
117
|
|
|
138
118
|
...
|
|
139
119
|
|
|
140
120
|
def dupliob_copy(
|
|
141
|
-
override_context: typing.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
145
|
-
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,
|
|
146
124
|
):
|
|
147
125
|
"""Duplicate the current instance object
|
|
148
126
|
|
|
149
|
-
:type override_context: typing.
|
|
150
|
-
:type execution_context: typing.
|
|
151
|
-
:type undo:
|
|
127
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
128
|
+
:type execution_context: typing.Union[str, int]
|
|
129
|
+
:type undo: bool
|
|
152
130
|
"""
|
|
153
131
|
|
|
154
132
|
...
|
|
155
133
|
|
|
156
134
|
def dupliob_move_down(
|
|
157
|
-
override_context: typing.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
161
|
-
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,
|
|
162
138
|
):
|
|
163
139
|
"""Move instance object down in the list
|
|
164
140
|
|
|
165
|
-
:type override_context: typing.
|
|
166
|
-
:type execution_context: typing.
|
|
167
|
-
:type undo:
|
|
141
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
142
|
+
:type execution_context: typing.Union[str, int]
|
|
143
|
+
:type undo: bool
|
|
168
144
|
"""
|
|
169
145
|
|
|
170
146
|
...
|
|
171
147
|
|
|
172
148
|
def dupliob_move_up(
|
|
173
|
-
override_context: typing.
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
177
|
-
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,
|
|
178
152
|
):
|
|
179
153
|
"""Move instance object up in the list
|
|
180
154
|
|
|
181
|
-
:type override_context: typing.
|
|
182
|
-
:type execution_context: typing.
|
|
183
|
-
:type undo:
|
|
155
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
156
|
+
:type execution_context: typing.Union[str, int]
|
|
157
|
+
:type undo: bool
|
|
184
158
|
"""
|
|
185
159
|
|
|
186
160
|
...
|
|
187
161
|
|
|
188
162
|
def dupliob_refresh(
|
|
189
|
-
override_context: typing.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
193
|
-
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,
|
|
194
166
|
):
|
|
195
167
|
"""Refresh list of instance objects and their weights
|
|
196
168
|
|
|
197
|
-
:type override_context: typing.
|
|
198
|
-
:type execution_context: typing.
|
|
199
|
-
:type undo:
|
|
169
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
170
|
+
:type execution_context: typing.Union[str, int]
|
|
171
|
+
:type undo: bool
|
|
200
172
|
"""
|
|
201
173
|
|
|
202
174
|
...
|
|
203
175
|
|
|
204
176
|
def dupliob_remove(
|
|
205
|
-
override_context: typing.
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
209
|
-
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,
|
|
210
180
|
):
|
|
211
181
|
"""Remove the selected instance object
|
|
212
182
|
|
|
213
|
-
:type override_context: typing.
|
|
214
|
-
:type execution_context: typing.
|
|
215
|
-
:type undo:
|
|
183
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
184
|
+
:type execution_context: typing.Union[str, int]
|
|
185
|
+
:type undo: bool
|
|
216
186
|
"""
|
|
217
187
|
|
|
218
188
|
...
|
|
219
189
|
|
|
220
190
|
def edited_clear(
|
|
221
|
-
override_context: typing.
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
225
|
-
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,
|
|
226
194
|
):
|
|
227
195
|
"""Undo all edition performed on the particle system
|
|
228
196
|
|
|
229
|
-
:type override_context: typing.
|
|
230
|
-
:type execution_context: typing.
|
|
231
|
-
:type undo:
|
|
197
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
198
|
+
:type execution_context: typing.Union[str, int]
|
|
199
|
+
:type undo: bool
|
|
232
200
|
"""
|
|
233
201
|
|
|
234
202
|
...
|
|
235
203
|
|
|
236
204
|
def hair_dynamics_preset_add(
|
|
237
|
-
override_context: typing.
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
241
|
-
undo: typing.Optional[bool] = None,
|
|
242
|
-
*,
|
|
205
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
206
|
+
execution_context: typing.Union[str, int] = None,
|
|
207
|
+
undo: bool = None,
|
|
243
208
|
name: typing.Union[str, typing.Any] = "",
|
|
244
|
-
remove_name: typing.
|
|
245
|
-
remove_active: typing.
|
|
209
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
210
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
246
211
|
):
|
|
247
212
|
"""Add or remove a Hair Dynamics Preset
|
|
248
213
|
|
|
249
|
-
:type override_context: typing.
|
|
250
|
-
:type execution_context: typing.
|
|
251
|
-
:type undo:
|
|
214
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
215
|
+
:type execution_context: typing.Union[str, int]
|
|
216
|
+
:type undo: bool
|
|
252
217
|
:param name: Name, Name of the preset, used to make the path name
|
|
253
218
|
:type name: typing.Union[str, typing.Any]
|
|
254
219
|
:param remove_name: remove_name
|
|
255
|
-
:type remove_name: typing.
|
|
220
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
256
221
|
:param remove_active: remove_active
|
|
257
|
-
:type remove_active: typing.
|
|
222
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
258
223
|
"""
|
|
259
224
|
|
|
260
225
|
...
|
|
261
226
|
|
|
262
227
|
def hide(
|
|
263
|
-
override_context: typing.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
undo: typing.Optional[bool] = None,
|
|
268
|
-
*,
|
|
269
|
-
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,
|
|
270
232
|
):
|
|
271
233
|
"""Hide selected particles
|
|
272
234
|
|
|
273
|
-
:type override_context: typing.
|
|
274
|
-
:type execution_context: typing.
|
|
275
|
-
:type undo:
|
|
235
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
236
|
+
:type execution_context: typing.Union[str, int]
|
|
237
|
+
:type undo: bool
|
|
276
238
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
277
|
-
:type unselected: typing.
|
|
239
|
+
:type unselected: typing.Union[bool, typing.Any]
|
|
278
240
|
"""
|
|
279
241
|
|
|
280
242
|
...
|
|
281
243
|
|
|
282
244
|
def mirror(
|
|
283
|
-
override_context: typing.
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
287
|
-
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,
|
|
288
248
|
):
|
|
289
249
|
"""Duplicate and mirror the selected particles along the local X axis
|
|
290
250
|
|
|
291
|
-
:type override_context: typing.
|
|
292
|
-
:type execution_context: typing.
|
|
293
|
-
:type undo:
|
|
251
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
252
|
+
:type execution_context: typing.Union[str, int]
|
|
253
|
+
:type undo: bool
|
|
294
254
|
"""
|
|
295
255
|
|
|
296
256
|
...
|
|
297
257
|
|
|
298
258
|
def new(
|
|
299
|
-
override_context: typing.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
303
|
-
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,
|
|
304
262
|
):
|
|
305
263
|
"""Add new particle settings
|
|
306
264
|
|
|
307
|
-
:type override_context: typing.
|
|
308
|
-
:type execution_context: typing.
|
|
309
|
-
:type undo:
|
|
265
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
266
|
+
:type execution_context: typing.Union[str, int]
|
|
267
|
+
:type undo: bool
|
|
310
268
|
"""
|
|
311
269
|
|
|
312
270
|
...
|
|
313
271
|
|
|
314
272
|
def new_target(
|
|
315
|
-
override_context: typing.
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
319
|
-
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,
|
|
320
276
|
):
|
|
321
277
|
"""Add a new particle target
|
|
322
278
|
|
|
323
|
-
:type override_context: typing.
|
|
324
|
-
:type execution_context: typing.
|
|
325
|
-
:type undo:
|
|
279
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
280
|
+
:type execution_context: typing.Union[str, int]
|
|
281
|
+
:type undo: bool
|
|
326
282
|
"""
|
|
327
283
|
|
|
328
284
|
...
|
|
329
285
|
|
|
330
286
|
def particle_edit_toggle(
|
|
331
|
-
override_context: typing.
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
335
|
-
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,
|
|
336
290
|
):
|
|
337
291
|
"""Toggle particle edit mode
|
|
338
292
|
|
|
339
|
-
:type override_context: typing.
|
|
340
|
-
:type execution_context: typing.
|
|
341
|
-
:type undo:
|
|
293
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
294
|
+
:type execution_context: typing.Union[str, int]
|
|
295
|
+
:type undo: bool
|
|
342
296
|
"""
|
|
343
297
|
|
|
344
298
|
...
|
|
345
299
|
|
|
346
300
|
def rekey(
|
|
347
|
-
override_context: typing.
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
undo: typing.Optional[bool] = None,
|
|
352
|
-
*,
|
|
353
|
-
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,
|
|
354
305
|
):
|
|
355
306
|
"""Change the number of keys of selected particles (root and tip keys included)
|
|
356
307
|
|
|
357
|
-
:type override_context: typing.
|
|
358
|
-
:type execution_context: typing.
|
|
359
|
-
:type undo:
|
|
308
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
309
|
+
:type execution_context: typing.Union[str, int]
|
|
310
|
+
:type undo: bool
|
|
360
311
|
:param keys_number: Number of Keys
|
|
361
|
-
:type keys_number: typing.
|
|
312
|
+
:type keys_number: typing.Any
|
|
362
313
|
"""
|
|
363
314
|
|
|
364
315
|
...
|
|
365
316
|
|
|
366
317
|
def remove_doubles(
|
|
367
|
-
override_context: typing.
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
undo: typing.Optional[bool] = None,
|
|
372
|
-
*,
|
|
373
|
-
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,
|
|
374
322
|
):
|
|
375
323
|
"""Remove selected particles close enough of others
|
|
376
324
|
|
|
377
|
-
:type override_context: typing.
|
|
378
|
-
:type execution_context: typing.
|
|
379
|
-
:type undo:
|
|
325
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
326
|
+
:type execution_context: typing.Union[str, int]
|
|
327
|
+
:type undo: bool
|
|
380
328
|
:param threshold: Merge Distance, Threshold distance within which particles are removed
|
|
381
|
-
:type threshold: typing.
|
|
329
|
+
:type threshold: typing.Any
|
|
382
330
|
"""
|
|
383
331
|
|
|
384
332
|
...
|
|
385
333
|
|
|
386
334
|
def reveal(
|
|
387
|
-
override_context: typing.
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
undo: typing.Optional[bool] = None,
|
|
392
|
-
*,
|
|
393
|
-
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,
|
|
394
339
|
):
|
|
395
340
|
"""Show hidden particles
|
|
396
341
|
|
|
397
|
-
:type override_context: typing.
|
|
398
|
-
:type execution_context: typing.
|
|
399
|
-
:type undo:
|
|
342
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
343
|
+
:type execution_context: typing.Union[str, int]
|
|
344
|
+
:type undo: bool
|
|
400
345
|
:param select: Select
|
|
401
|
-
:type select: typing.
|
|
346
|
+
:type select: typing.Union[bool, typing.Any]
|
|
402
347
|
"""
|
|
403
348
|
|
|
404
349
|
...
|
|
405
350
|
|
|
406
351
|
def select_all(
|
|
407
|
-
override_context: typing.
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
undo: typing.Optional[bool] = None,
|
|
412
|
-
*,
|
|
413
|
-
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",
|
|
414
356
|
):
|
|
415
357
|
"""(De)select all particles' keys
|
|
416
358
|
|
|
417
|
-
:type override_context: typing.
|
|
418
|
-
:type execution_context: typing.
|
|
419
|
-
:type undo:
|
|
359
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
360
|
+
:type execution_context: typing.Union[str, int]
|
|
361
|
+
:type undo: bool
|
|
420
362
|
:param action: Action, Selection action to execute
|
|
421
363
|
|
|
422
364
|
TOGGLE
|
|
@@ -430,103 +372,91 @@ def select_all(
|
|
|
430
372
|
|
|
431
373
|
INVERT
|
|
432
374
|
Invert -- Invert selection of all elements.
|
|
433
|
-
:type action: typing.
|
|
375
|
+
:type action: typing.Any
|
|
434
376
|
"""
|
|
435
377
|
|
|
436
378
|
...
|
|
437
379
|
|
|
438
380
|
def select_less(
|
|
439
|
-
override_context: typing.
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
443
|
-
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,
|
|
444
384
|
):
|
|
445
385
|
"""Deselect boundary selected keys of each particle
|
|
446
386
|
|
|
447
|
-
:type override_context: typing.
|
|
448
|
-
:type execution_context: typing.
|
|
449
|
-
:type undo:
|
|
387
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
388
|
+
:type execution_context: typing.Union[str, int]
|
|
389
|
+
:type undo: bool
|
|
450
390
|
"""
|
|
451
391
|
|
|
452
392
|
...
|
|
453
393
|
|
|
454
394
|
def select_linked(
|
|
455
|
-
override_context: typing.
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
459
|
-
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,
|
|
460
398
|
):
|
|
461
399
|
"""Select all keys linked to already selected ones
|
|
462
400
|
|
|
463
|
-
:type override_context: typing.
|
|
464
|
-
:type execution_context: typing.
|
|
465
|
-
:type undo:
|
|
401
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
402
|
+
:type execution_context: typing.Union[str, int]
|
|
403
|
+
:type undo: bool
|
|
466
404
|
"""
|
|
467
405
|
|
|
468
406
|
...
|
|
469
407
|
|
|
470
408
|
def select_linked_pick(
|
|
471
|
-
override_context: typing.
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
*,
|
|
477
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
478
|
-
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),
|
|
479
414
|
):
|
|
480
415
|
"""Select nearest particle from mouse pointer
|
|
481
416
|
|
|
482
|
-
:type override_context: typing.
|
|
483
|
-
:type execution_context: typing.
|
|
484
|
-
:type undo:
|
|
417
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
418
|
+
:type execution_context: typing.Union[str, int]
|
|
419
|
+
:type undo: bool
|
|
485
420
|
:param deselect: Deselect, Deselect linked keys rather than selecting them
|
|
486
|
-
:type deselect: typing.
|
|
421
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
487
422
|
:param location: Location
|
|
488
|
-
:type location: typing.
|
|
423
|
+
:type location: typing.Any
|
|
489
424
|
"""
|
|
490
425
|
|
|
491
426
|
...
|
|
492
427
|
|
|
493
428
|
def select_more(
|
|
494
|
-
override_context: typing.
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
498
|
-
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,
|
|
499
432
|
):
|
|
500
433
|
"""Select keys linked to boundary selected keys of each particle
|
|
501
434
|
|
|
502
|
-
:type override_context: typing.
|
|
503
|
-
:type execution_context: typing.
|
|
504
|
-
:type undo:
|
|
435
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
436
|
+
:type execution_context: typing.Union[str, int]
|
|
437
|
+
:type undo: bool
|
|
505
438
|
"""
|
|
506
439
|
|
|
507
440
|
...
|
|
508
441
|
|
|
509
442
|
def select_random(
|
|
510
|
-
override_context: typing.
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
seed: typing.Optional[typing.Any] = 0,
|
|
518
|
-
action: typing.Optional[typing.Any] = "SELECT",
|
|
519
|
-
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",
|
|
520
450
|
):
|
|
521
451
|
"""Select a randomly distributed set of hair or points
|
|
522
452
|
|
|
523
|
-
:type override_context: typing.
|
|
524
|
-
:type execution_context: typing.
|
|
525
|
-
:type undo:
|
|
453
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
454
|
+
:type execution_context: typing.Union[str, int]
|
|
455
|
+
:type undo: bool
|
|
526
456
|
:param ratio: Ratio, Portion of items to select randomly
|
|
527
|
-
:type ratio: typing.
|
|
457
|
+
:type ratio: typing.Any
|
|
528
458
|
:param seed: Random Seed, Seed for the random number generator
|
|
529
|
-
:type seed: typing.
|
|
459
|
+
:type seed: typing.Any
|
|
530
460
|
:param action: Action, Selection action to execute
|
|
531
461
|
|
|
532
462
|
SELECT
|
|
@@ -534,27 +464,24 @@ def select_random(
|
|
|
534
464
|
|
|
535
465
|
DESELECT
|
|
536
466
|
Deselect -- Deselect all elements.
|
|
537
|
-
:type action: typing.
|
|
467
|
+
:type action: typing.Any
|
|
538
468
|
:param type: Type, Select either hair or points
|
|
539
|
-
:type type: typing.
|
|
469
|
+
:type type: typing.Any
|
|
540
470
|
"""
|
|
541
471
|
|
|
542
472
|
...
|
|
543
473
|
|
|
544
474
|
def select_roots(
|
|
545
|
-
override_context: typing.
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
undo: typing.Optional[bool] = None,
|
|
550
|
-
*,
|
|
551
|
-
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",
|
|
552
479
|
):
|
|
553
480
|
"""Select roots of all visible particles
|
|
554
481
|
|
|
555
|
-
:type override_context: typing.
|
|
556
|
-
:type execution_context: typing.
|
|
557
|
-
:type undo:
|
|
482
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
483
|
+
:type execution_context: typing.Union[str, int]
|
|
484
|
+
:type undo: bool
|
|
558
485
|
:param action: Action, Selection action to execute
|
|
559
486
|
|
|
560
487
|
TOGGLE
|
|
@@ -568,25 +495,22 @@ def select_roots(
|
|
|
568
495
|
|
|
569
496
|
INVERT
|
|
570
497
|
Invert -- Invert selection of all elements.
|
|
571
|
-
:type action: typing.
|
|
498
|
+
:type action: typing.Any
|
|
572
499
|
"""
|
|
573
500
|
|
|
574
501
|
...
|
|
575
502
|
|
|
576
503
|
def select_tips(
|
|
577
|
-
override_context: typing.
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
undo: typing.Optional[bool] = None,
|
|
582
|
-
*,
|
|
583
|
-
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",
|
|
584
508
|
):
|
|
585
509
|
"""Select tips of all visible particles
|
|
586
510
|
|
|
587
|
-
:type override_context: typing.
|
|
588
|
-
:type execution_context: typing.
|
|
589
|
-
:type undo:
|
|
511
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
512
|
+
:type execution_context: typing.Union[str, int]
|
|
513
|
+
:type undo: bool
|
|
590
514
|
:param action: Action, Selection action to execute
|
|
591
515
|
|
|
592
516
|
TOGGLE
|
|
@@ -600,123 +524,108 @@ def select_tips(
|
|
|
600
524
|
|
|
601
525
|
INVERT
|
|
602
526
|
Invert -- Invert selection of all elements.
|
|
603
|
-
:type action: typing.
|
|
527
|
+
:type action: typing.Any
|
|
604
528
|
"""
|
|
605
529
|
|
|
606
530
|
...
|
|
607
531
|
|
|
608
532
|
def shape_cut(
|
|
609
|
-
override_context: typing.
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
613
|
-
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,
|
|
614
536
|
):
|
|
615
537
|
"""Cut hair to conform to the set shape object
|
|
616
538
|
|
|
617
|
-
:type override_context: typing.
|
|
618
|
-
:type execution_context: typing.
|
|
619
|
-
:type undo:
|
|
539
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
540
|
+
:type execution_context: typing.Union[str, int]
|
|
541
|
+
:type undo: bool
|
|
620
542
|
"""
|
|
621
543
|
|
|
622
544
|
...
|
|
623
545
|
|
|
624
546
|
def subdivide(
|
|
625
|
-
override_context: typing.
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
629
|
-
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,
|
|
630
550
|
):
|
|
631
551
|
"""Subdivide selected particles segments (adds keys)
|
|
632
552
|
|
|
633
|
-
:type override_context: typing.
|
|
634
|
-
:type execution_context: typing.
|
|
635
|
-
:type undo:
|
|
553
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
554
|
+
:type execution_context: typing.Union[str, int]
|
|
555
|
+
:type undo: bool
|
|
636
556
|
"""
|
|
637
557
|
|
|
638
558
|
...
|
|
639
559
|
|
|
640
560
|
def target_move_down(
|
|
641
|
-
override_context: typing.
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
645
|
-
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,
|
|
646
564
|
):
|
|
647
565
|
"""Move particle target down in the list
|
|
648
566
|
|
|
649
|
-
:type override_context: typing.
|
|
650
|
-
:type execution_context: typing.
|
|
651
|
-
:type undo:
|
|
567
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
568
|
+
:type execution_context: typing.Union[str, int]
|
|
569
|
+
:type undo: bool
|
|
652
570
|
"""
|
|
653
571
|
|
|
654
572
|
...
|
|
655
573
|
|
|
656
574
|
def target_move_up(
|
|
657
|
-
override_context: typing.
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
661
|
-
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,
|
|
662
578
|
):
|
|
663
579
|
"""Move particle target up in the list
|
|
664
580
|
|
|
665
|
-
:type override_context: typing.
|
|
666
|
-
:type execution_context: typing.
|
|
667
|
-
:type undo:
|
|
581
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
582
|
+
:type execution_context: typing.Union[str, int]
|
|
583
|
+
:type undo: bool
|
|
668
584
|
"""
|
|
669
585
|
|
|
670
586
|
...
|
|
671
587
|
|
|
672
588
|
def target_remove(
|
|
673
|
-
override_context: typing.
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
677
|
-
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,
|
|
678
592
|
):
|
|
679
593
|
"""Remove the selected particle target
|
|
680
594
|
|
|
681
|
-
:type override_context: typing.
|
|
682
|
-
:type execution_context: typing.
|
|
683
|
-
:type undo:
|
|
595
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
596
|
+
:type execution_context: typing.Union[str, int]
|
|
597
|
+
:type undo: bool
|
|
684
598
|
"""
|
|
685
599
|
|
|
686
600
|
...
|
|
687
601
|
|
|
688
602
|
def unify_length(
|
|
689
|
-
override_context: typing.
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
693
|
-
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,
|
|
694
606
|
):
|
|
695
607
|
"""Make selected hair the same length
|
|
696
608
|
|
|
697
|
-
:type override_context: typing.
|
|
698
|
-
:type execution_context: typing.
|
|
699
|
-
:type undo:
|
|
609
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
610
|
+
:type execution_context: typing.Union[str, int]
|
|
611
|
+
:type undo: bool
|
|
700
612
|
"""
|
|
701
613
|
|
|
702
614
|
...
|
|
703
615
|
|
|
704
616
|
def weight_set(
|
|
705
|
-
override_context: typing.
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
undo: typing.Optional[bool] = None,
|
|
710
|
-
*,
|
|
711
|
-
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,
|
|
712
621
|
):
|
|
713
622
|
"""Set the weight of selected keys
|
|
714
623
|
|
|
715
|
-
:type override_context: typing.
|
|
716
|
-
:type execution_context: typing.
|
|
717
|
-
:type undo:
|
|
624
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
625
|
+
:type execution_context: typing.Union[str, int]
|
|
626
|
+
:type undo: bool
|
|
718
627
|
:param factor: Factor, Interpolation factor between current brush weight, and keys' weights
|
|
719
|
-
:type factor: typing.
|
|
628
|
+
:type factor: typing.Any
|
|
720
629
|
"""
|
|
721
630
|
|
|
722
631
|
...
|