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/curves/__init__.pyi
CHANGED
|
@@ -5,239 +5,210 @@ import bpy.types
|
|
|
5
5
|
GenericType = typing.TypeVar("GenericType")
|
|
6
6
|
|
|
7
7
|
def attribute_set(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
value_int: typing.Optional[typing.Any] = 0,
|
|
18
|
-
value_color: typing.Optional[typing.Any] = (1.0, 1.0, 1.0, 1.0),
|
|
19
|
-
value_bool: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
8
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
9
|
+
execution_context: typing.Union[str, int] = None,
|
|
10
|
+
undo: bool = None,
|
|
11
|
+
value_float: typing.Any = 0.0,
|
|
12
|
+
value_float_vector_2d: typing.Any = (0.0, 0.0),
|
|
13
|
+
value_float_vector_3d: typing.Any = (0.0, 0.0, 0.0),
|
|
14
|
+
value_int: typing.Any = 0,
|
|
15
|
+
value_color: typing.Any = (1.0, 1.0, 1.0, 1.0),
|
|
16
|
+
value_bool: typing.Union[bool, typing.Any] = False,
|
|
20
17
|
):
|
|
21
18
|
"""Set values of the active attribute for selected elements
|
|
22
19
|
|
|
23
|
-
:type override_context: typing.
|
|
24
|
-
:type execution_context: typing.
|
|
25
|
-
:type undo:
|
|
20
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
21
|
+
:type execution_context: typing.Union[str, int]
|
|
22
|
+
:type undo: bool
|
|
26
23
|
:param value_float: Value
|
|
27
|
-
:type value_float: typing.
|
|
24
|
+
:type value_float: typing.Any
|
|
28
25
|
:param value_float_vector_2d: Value
|
|
29
|
-
:type value_float_vector_2d: typing.
|
|
26
|
+
:type value_float_vector_2d: typing.Any
|
|
30
27
|
:param value_float_vector_3d: Value
|
|
31
|
-
:type value_float_vector_3d: typing.
|
|
28
|
+
:type value_float_vector_3d: typing.Any
|
|
32
29
|
:param value_int: Value
|
|
33
|
-
:type value_int: typing.
|
|
30
|
+
:type value_int: typing.Any
|
|
34
31
|
:param value_color: Value
|
|
35
|
-
:type value_color: typing.
|
|
32
|
+
:type value_color: typing.Any
|
|
36
33
|
:param value_bool: Value
|
|
37
|
-
:type value_bool: typing.
|
|
34
|
+
:type value_bool: typing.Union[bool, typing.Any]
|
|
38
35
|
"""
|
|
39
36
|
|
|
40
37
|
...
|
|
41
38
|
|
|
42
39
|
def convert_from_particle_system(
|
|
43
|
-
override_context: typing.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
47
|
-
undo: typing.Optional[bool] = None,
|
|
40
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
41
|
+
execution_context: typing.Union[str, int] = None,
|
|
42
|
+
undo: bool = None,
|
|
48
43
|
):
|
|
49
44
|
"""Add a new curves object based on the current state of the particle system
|
|
50
45
|
|
|
51
|
-
:type override_context: typing.
|
|
52
|
-
:type execution_context: typing.
|
|
53
|
-
:type undo:
|
|
46
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
47
|
+
:type execution_context: typing.Union[str, int]
|
|
48
|
+
:type undo: bool
|
|
54
49
|
"""
|
|
55
50
|
|
|
56
51
|
...
|
|
57
52
|
|
|
58
53
|
def convert_to_particle_system(
|
|
59
|
-
override_context: typing.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
63
|
-
undo: typing.Optional[bool] = None,
|
|
54
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
55
|
+
execution_context: typing.Union[str, int] = None,
|
|
56
|
+
undo: bool = None,
|
|
64
57
|
):
|
|
65
58
|
"""Add a new or update an existing hair particle system on the surface object
|
|
66
59
|
|
|
67
|
-
:type override_context: typing.
|
|
68
|
-
:type execution_context: typing.
|
|
69
|
-
:type undo:
|
|
60
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
61
|
+
:type execution_context: typing.Union[str, int]
|
|
62
|
+
:type undo: bool
|
|
70
63
|
"""
|
|
71
64
|
|
|
72
65
|
...
|
|
73
66
|
|
|
74
67
|
def delete(
|
|
75
|
-
override_context: typing.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
79
|
-
undo: typing.Optional[bool] = None,
|
|
68
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
69
|
+
execution_context: typing.Union[str, int] = None,
|
|
70
|
+
undo: bool = None,
|
|
80
71
|
):
|
|
81
72
|
"""Remove selected control points or curves
|
|
82
73
|
|
|
83
|
-
:type override_context: typing.
|
|
84
|
-
:type execution_context: typing.
|
|
85
|
-
:type undo:
|
|
74
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
75
|
+
:type execution_context: typing.Union[str, int]
|
|
76
|
+
:type undo: bool
|
|
86
77
|
"""
|
|
87
78
|
|
|
88
79
|
...
|
|
89
80
|
|
|
90
81
|
def draw(
|
|
91
|
-
override_context: typing.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
|
|
103
|
-
] = None,
|
|
104
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
105
|
-
is_curve_2d: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
106
|
-
bezier_as_nurbs: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
82
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
83
|
+
execution_context: typing.Union[str, int] = None,
|
|
84
|
+
undo: bool = None,
|
|
85
|
+
error_threshold: typing.Any = 0.0,
|
|
86
|
+
fit_method: typing.Any = "REFIT",
|
|
87
|
+
corner_angle: typing.Any = 1.22173,
|
|
88
|
+
use_cyclic: typing.Union[bool, typing.Any] = True,
|
|
89
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
90
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
91
|
+
is_curve_2d: typing.Union[bool, typing.Any] = False,
|
|
92
|
+
bezier_as_nurbs: typing.Union[bool, typing.Any] = False,
|
|
107
93
|
):
|
|
108
94
|
"""Draw a freehand curve
|
|
109
95
|
|
|
110
|
-
:type override_context: typing.
|
|
111
|
-
:type execution_context: typing.
|
|
112
|
-
:type undo:
|
|
96
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
97
|
+
:type execution_context: typing.Union[str, int]
|
|
98
|
+
:type undo: bool
|
|
113
99
|
:param error_threshold: Error, Error distance threshold (in object units)
|
|
114
|
-
:type error_threshold: typing.
|
|
100
|
+
:type error_threshold: typing.Any
|
|
115
101
|
:param fit_method: Fit Method
|
|
116
|
-
:type fit_method: typing.
|
|
102
|
+
:type fit_method: typing.Any
|
|
117
103
|
:param corner_angle: Corner Angle
|
|
118
|
-
:type corner_angle: typing.
|
|
104
|
+
:type corner_angle: typing.Any
|
|
119
105
|
:param use_cyclic: Cyclic
|
|
120
|
-
:type use_cyclic: typing.
|
|
106
|
+
:type use_cyclic: typing.Union[bool, typing.Any]
|
|
121
107
|
:param stroke: Stroke
|
|
122
|
-
:type stroke:
|
|
108
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
123
109
|
:param wait_for_input: Wait for Input
|
|
124
|
-
:type wait_for_input: typing.
|
|
110
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
125
111
|
:param is_curve_2d: Curve 2D
|
|
126
|
-
:type is_curve_2d: typing.
|
|
112
|
+
:type is_curve_2d: typing.Union[bool, typing.Any]
|
|
127
113
|
:param bezier_as_nurbs: As NURBS
|
|
128
|
-
:type bezier_as_nurbs: typing.
|
|
114
|
+
:type bezier_as_nurbs: typing.Union[bool, typing.Any]
|
|
129
115
|
"""
|
|
130
116
|
|
|
131
117
|
...
|
|
132
118
|
|
|
133
119
|
def duplicate(
|
|
134
|
-
override_context: typing.
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
138
|
-
undo: typing.Optional[bool] = None,
|
|
120
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
121
|
+
execution_context: typing.Union[str, int] = None,
|
|
122
|
+
undo: bool = None,
|
|
139
123
|
):
|
|
140
124
|
"""Copy selected points or curves
|
|
141
125
|
|
|
142
|
-
:type override_context: typing.
|
|
143
|
-
:type execution_context: typing.
|
|
144
|
-
:type undo:
|
|
126
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
127
|
+
:type execution_context: typing.Union[str, int]
|
|
128
|
+
:type undo: bool
|
|
145
129
|
"""
|
|
146
130
|
|
|
147
131
|
...
|
|
148
132
|
|
|
149
133
|
def duplicate_move(
|
|
150
|
-
override_context: typing.
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
*,
|
|
156
|
-
CURVES_OT_duplicate: typing.Optional["duplicate"] = None,
|
|
157
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
134
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
135
|
+
execution_context: typing.Union[str, int] = None,
|
|
136
|
+
undo: bool = None,
|
|
137
|
+
CURVES_OT_duplicate: duplicate = None,
|
|
138
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
158
139
|
):
|
|
159
140
|
"""Make copies of selected elements and move them
|
|
160
141
|
|
|
161
|
-
:type override_context: typing.
|
|
162
|
-
:type execution_context: typing.
|
|
163
|
-
:type undo:
|
|
142
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
143
|
+
:type execution_context: typing.Union[str, int]
|
|
144
|
+
:type undo: bool
|
|
164
145
|
:param CURVES_OT_duplicate: Duplicate, Copy selected points or curves
|
|
165
|
-
:type CURVES_OT_duplicate:
|
|
146
|
+
:type CURVES_OT_duplicate: duplicate
|
|
166
147
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
167
|
-
:type TRANSFORM_OT_translate:
|
|
148
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
168
149
|
"""
|
|
169
150
|
|
|
170
151
|
...
|
|
171
152
|
|
|
172
153
|
def extrude(
|
|
173
|
-
override_context: typing.
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
177
|
-
undo: typing.Optional[bool] = None,
|
|
154
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
155
|
+
execution_context: typing.Union[str, int] = None,
|
|
156
|
+
undo: bool = None,
|
|
178
157
|
):
|
|
179
158
|
"""Extrude selected control point(s)
|
|
180
159
|
|
|
181
|
-
:type override_context: typing.
|
|
182
|
-
:type execution_context: typing.
|
|
183
|
-
:type undo:
|
|
160
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
161
|
+
:type execution_context: typing.Union[str, int]
|
|
162
|
+
:type undo: bool
|
|
184
163
|
"""
|
|
185
164
|
|
|
186
165
|
...
|
|
187
166
|
|
|
188
167
|
def extrude_move(
|
|
189
|
-
override_context: typing.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
*,
|
|
195
|
-
CURVES_OT_extrude: typing.Optional["extrude"] = None,
|
|
196
|
-
TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
|
|
168
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
169
|
+
execution_context: typing.Union[str, int] = None,
|
|
170
|
+
undo: bool = None,
|
|
171
|
+
CURVES_OT_extrude: extrude = None,
|
|
172
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
|
|
197
173
|
):
|
|
198
174
|
"""Extrude curve and move result
|
|
199
175
|
|
|
200
|
-
:type override_context: typing.
|
|
201
|
-
:type execution_context: typing.
|
|
202
|
-
:type undo:
|
|
176
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
177
|
+
:type execution_context: typing.Union[str, int]
|
|
178
|
+
:type undo: bool
|
|
203
179
|
:param CURVES_OT_extrude: Extrude, Extrude selected control point(s)
|
|
204
|
-
:type CURVES_OT_extrude:
|
|
180
|
+
:type CURVES_OT_extrude: extrude
|
|
205
181
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
206
|
-
:type TRANSFORM_OT_translate:
|
|
182
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate
|
|
207
183
|
"""
|
|
208
184
|
|
|
209
185
|
...
|
|
210
186
|
|
|
211
187
|
def sculptmode_toggle(
|
|
212
|
-
override_context: typing.
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
216
|
-
undo: typing.Optional[bool] = None,
|
|
188
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
+
execution_context: typing.Union[str, int] = None,
|
|
190
|
+
undo: bool = None,
|
|
217
191
|
):
|
|
218
192
|
"""Enter/Exit sculpt mode for curves
|
|
219
193
|
|
|
220
|
-
:type override_context: typing.
|
|
221
|
-
:type execution_context: typing.
|
|
222
|
-
:type undo:
|
|
194
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
+
:type execution_context: typing.Union[str, int]
|
|
196
|
+
:type undo: bool
|
|
223
197
|
"""
|
|
224
198
|
|
|
225
199
|
...
|
|
226
200
|
|
|
227
201
|
def select_all(
|
|
228
|
-
override_context: typing.
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
undo: typing.Optional[bool] = None,
|
|
233
|
-
*,
|
|
234
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
202
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
203
|
+
execution_context: typing.Union[str, int] = None,
|
|
204
|
+
undo: bool = None,
|
|
205
|
+
action: typing.Any = "TOGGLE",
|
|
235
206
|
):
|
|
236
207
|
"""(De)select all control points
|
|
237
208
|
|
|
238
|
-
:type override_context: typing.
|
|
239
|
-
:type execution_context: typing.
|
|
240
|
-
:type undo:
|
|
209
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
210
|
+
:type execution_context: typing.Union[str, int]
|
|
211
|
+
:type undo: bool
|
|
241
212
|
:param action: Action, Selection action to execute
|
|
242
213
|
|
|
243
214
|
TOGGLE
|
|
@@ -251,139 +222,121 @@ def select_all(
|
|
|
251
222
|
|
|
252
223
|
INVERT
|
|
253
224
|
Invert -- Invert selection of all elements.
|
|
254
|
-
:type action: typing.
|
|
225
|
+
:type action: typing.Any
|
|
255
226
|
"""
|
|
256
227
|
|
|
257
228
|
...
|
|
258
229
|
|
|
259
230
|
def select_ends(
|
|
260
|
-
override_context: typing.
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
*,
|
|
266
|
-
amount_start: typing.Optional[typing.Any] = 0,
|
|
267
|
-
amount_end: typing.Optional[typing.Any] = 1,
|
|
231
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
232
|
+
execution_context: typing.Union[str, int] = None,
|
|
233
|
+
undo: bool = None,
|
|
234
|
+
amount_start: typing.Any = 0,
|
|
235
|
+
amount_end: typing.Any = 1,
|
|
268
236
|
):
|
|
269
237
|
"""Select end points of curves
|
|
270
238
|
|
|
271
|
-
:type override_context: typing.
|
|
272
|
-
:type execution_context: typing.
|
|
273
|
-
:type undo:
|
|
239
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
240
|
+
:type execution_context: typing.Union[str, int]
|
|
241
|
+
:type undo: bool
|
|
274
242
|
:param amount_start: Amount Front, Number of points to select from the front
|
|
275
|
-
:type amount_start: typing.
|
|
243
|
+
:type amount_start: typing.Any
|
|
276
244
|
:param amount_end: Amount Back, Number of points to select from the back
|
|
277
|
-
:type amount_end: typing.
|
|
245
|
+
:type amount_end: typing.Any
|
|
278
246
|
"""
|
|
279
247
|
|
|
280
248
|
...
|
|
281
249
|
|
|
282
250
|
def select_less(
|
|
283
|
-
override_context: typing.
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
287
|
-
undo: typing.Optional[bool] = None,
|
|
251
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
252
|
+
execution_context: typing.Union[str, int] = None,
|
|
253
|
+
undo: bool = None,
|
|
288
254
|
):
|
|
289
255
|
"""Shrink the selection by one point
|
|
290
256
|
|
|
291
|
-
:type override_context: typing.
|
|
292
|
-
:type execution_context: typing.
|
|
293
|
-
:type undo:
|
|
257
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
258
|
+
:type execution_context: typing.Union[str, int]
|
|
259
|
+
:type undo: bool
|
|
294
260
|
"""
|
|
295
261
|
|
|
296
262
|
...
|
|
297
263
|
|
|
298
264
|
def select_linked(
|
|
299
|
-
override_context: typing.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
303
|
-
undo: typing.Optional[bool] = None,
|
|
265
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
266
|
+
execution_context: typing.Union[str, int] = None,
|
|
267
|
+
undo: bool = None,
|
|
304
268
|
):
|
|
305
269
|
"""Select all points in curves with any point selection
|
|
306
270
|
|
|
307
|
-
:type override_context: typing.
|
|
308
|
-
:type execution_context: typing.
|
|
309
|
-
:type undo:
|
|
271
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
272
|
+
:type execution_context: typing.Union[str, int]
|
|
273
|
+
:type undo: bool
|
|
310
274
|
"""
|
|
311
275
|
|
|
312
276
|
...
|
|
313
277
|
|
|
314
278
|
def select_more(
|
|
315
|
-
override_context: typing.
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
319
|
-
undo: typing.Optional[bool] = None,
|
|
279
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
280
|
+
execution_context: typing.Union[str, int] = None,
|
|
281
|
+
undo: bool = None,
|
|
320
282
|
):
|
|
321
283
|
"""Grow the selection by one point
|
|
322
284
|
|
|
323
|
-
:type override_context: typing.
|
|
324
|
-
:type execution_context: typing.
|
|
325
|
-
:type undo:
|
|
285
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
286
|
+
:type execution_context: typing.Union[str, int]
|
|
287
|
+
:type undo: bool
|
|
326
288
|
"""
|
|
327
289
|
|
|
328
290
|
...
|
|
329
291
|
|
|
330
292
|
def select_random(
|
|
331
|
-
override_context: typing.
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
*,
|
|
337
|
-
seed: typing.Optional[typing.Any] = 0,
|
|
338
|
-
probability: typing.Optional[typing.Any] = 0.5,
|
|
293
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
294
|
+
execution_context: typing.Union[str, int] = None,
|
|
295
|
+
undo: bool = None,
|
|
296
|
+
seed: typing.Any = 0,
|
|
297
|
+
probability: typing.Any = 0.5,
|
|
339
298
|
):
|
|
340
299
|
"""Randomizes existing selection or create new random selection
|
|
341
300
|
|
|
342
|
-
:type override_context: typing.
|
|
343
|
-
:type execution_context: typing.
|
|
344
|
-
:type undo:
|
|
301
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
302
|
+
:type execution_context: typing.Union[str, int]
|
|
303
|
+
:type undo: bool
|
|
345
304
|
:param seed: Seed, Source of randomness
|
|
346
|
-
:type seed: typing.
|
|
305
|
+
:type seed: typing.Any
|
|
347
306
|
:param probability: Probability, Chance of every point or curve being included in the selection
|
|
348
|
-
:type probability: typing.
|
|
307
|
+
:type probability: typing.Any
|
|
349
308
|
"""
|
|
350
309
|
|
|
351
310
|
...
|
|
352
311
|
|
|
353
312
|
def set_selection_domain(
|
|
354
|
-
override_context: typing.
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
undo: typing.Optional[bool] = None,
|
|
359
|
-
*,
|
|
360
|
-
domain: typing.Optional[typing.Any] = "POINT",
|
|
313
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
314
|
+
execution_context: typing.Union[str, int] = None,
|
|
315
|
+
undo: bool = None,
|
|
316
|
+
domain: typing.Any = "POINT",
|
|
361
317
|
):
|
|
362
318
|
"""Change the mode used for selection masking in curves sculpt mode
|
|
363
319
|
|
|
364
|
-
:type override_context: typing.
|
|
365
|
-
:type execution_context: typing.
|
|
366
|
-
:type undo:
|
|
320
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
321
|
+
:type execution_context: typing.Union[str, int]
|
|
322
|
+
:type undo: bool
|
|
367
323
|
:param domain: Domain
|
|
368
|
-
:type domain: typing.
|
|
324
|
+
:type domain: typing.Any
|
|
369
325
|
"""
|
|
370
326
|
|
|
371
327
|
...
|
|
372
328
|
|
|
373
329
|
def snap_curves_to_surface(
|
|
374
|
-
override_context: typing.
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
undo: typing.Optional[bool] = None,
|
|
379
|
-
*,
|
|
380
|
-
attach_mode: typing.Optional[typing.Any] = "NEAREST",
|
|
330
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
331
|
+
execution_context: typing.Union[str, int] = None,
|
|
332
|
+
undo: bool = None,
|
|
333
|
+
attach_mode: typing.Any = "NEAREST",
|
|
381
334
|
):
|
|
382
335
|
"""Move curves so that the first point is exactly on the surface mesh
|
|
383
336
|
|
|
384
|
-
:type override_context: typing.
|
|
385
|
-
:type execution_context: typing.
|
|
386
|
-
:type undo:
|
|
337
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
338
|
+
:type execution_context: typing.Union[str, int]
|
|
339
|
+
:type undo: bool
|
|
387
340
|
:param attach_mode: Attach Mode, How to find the point on the surface to attach to
|
|
388
341
|
|
|
389
342
|
NEAREST
|
|
@@ -391,39 +344,35 @@ def snap_curves_to_surface(
|
|
|
391
344
|
|
|
392
345
|
DEFORM
|
|
393
346
|
Deform -- Re-attach curves to a deformed surface using the existing attachment information. This only works when the topology of the surface mesh has not changed.
|
|
394
|
-
:type attach_mode: typing.
|
|
347
|
+
:type attach_mode: typing.Any
|
|
395
348
|
"""
|
|
396
349
|
|
|
397
350
|
...
|
|
398
351
|
|
|
399
352
|
def surface_set(
|
|
400
|
-
override_context: typing.
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
404
|
-
undo: typing.Optional[bool] = None,
|
|
353
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
354
|
+
execution_context: typing.Union[str, int] = None,
|
|
355
|
+
undo: bool = None,
|
|
405
356
|
):
|
|
406
357
|
"""Use the active object as surface for selected curves objects and set it as the parent
|
|
407
358
|
|
|
408
|
-
:type override_context: typing.
|
|
409
|
-
:type execution_context: typing.
|
|
410
|
-
:type undo:
|
|
359
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
360
|
+
:type execution_context: typing.Union[str, int]
|
|
361
|
+
:type undo: bool
|
|
411
362
|
"""
|
|
412
363
|
|
|
413
364
|
...
|
|
414
365
|
|
|
415
366
|
def tilt_clear(
|
|
416
|
-
override_context: typing.
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
420
|
-
undo: typing.Optional[bool] = None,
|
|
367
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
368
|
+
execution_context: typing.Union[str, int] = None,
|
|
369
|
+
undo: bool = None,
|
|
421
370
|
):
|
|
422
371
|
"""Clear the tilt of selected control points
|
|
423
372
|
|
|
424
|
-
:type override_context: typing.
|
|
425
|
-
:type execution_context: typing.
|
|
426
|
-
:type undo:
|
|
373
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
374
|
+
:type execution_context: typing.Union[str, int]
|
|
375
|
+
:type undo: bool
|
|
427
376
|
"""
|
|
428
377
|
|
|
429
378
|
...
|