fake-bpy-module 20240518__py3-none-any.whl → 20240520__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.
- _bpy_internal/__init__.pyi +3 -1
- _bpy_internal/freedesktop/__init__.pyi +3 -1
- addon_utils/__init__.pyi +3 -1
- animsys_refactor/__init__.pyi +3 -1
- aud/__init__.pyi +3 -1
- bgl/__init__.pyi +121 -146
- bl_app_override/__init__.pyi +3 -1
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +3 -1
- bl_console_utils/__init__.pyi +3 -1
- bl_console_utils/autocomplete/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +3 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
- bl_i18n_utils/__init__.pyi +3 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +3 -1
- bl_i18n_utils/merge_po/__init__.pyi +3 -1
- bl_i18n_utils/settings/__init__.pyi +3 -1
- bl_i18n_utils/utils/__init__.pyi +3 -1
- bl_i18n_utils/utils_cli/__init__.pyi +3 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +3 -1
- bl_keymap_utils/__init__.pyi +3 -1
- bl_keymap_utils/io/__init__.pyi +3 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +3 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -1
- bl_keymap_utils/versioning/__init__.pyi +3 -1
- bl_math/__init__.pyi +3 -1
- bl_operators/__init__.pyi +3 -1
- bl_operators/add_mesh_torus/__init__.pyi +3 -1
- bl_operators/anim/__init__.pyi +3 -1
- bl_operators/assets/__init__.pyi +3 -1
- bl_operators/bmesh/__init__.pyi +3 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -1
- bl_operators/clip/__init__.pyi +3 -1
- bl_operators/console/__init__.pyi +3 -1
- bl_operators/constraint/__init__.pyi +3 -1
- bl_operators/file/__init__.pyi +3 -1
- bl_operators/freestyle/__init__.pyi +3 -1
- bl_operators/geometry_nodes/__init__.pyi +3 -1
- bl_operators/image/__init__.pyi +3 -1
- bl_operators/mesh/__init__.pyi +3 -1
- bl_operators/node/__init__.pyi +3 -1
- bl_operators/object/__init__.pyi +3 -1
- bl_operators/object_align/__init__.pyi +3 -1
- bl_operators/object_quick_effects/__init__.pyi +3 -1
- bl_operators/object_randomize_transform/__init__.pyi +3 -1
- bl_operators/presets/__init__.pyi +3 -1
- bl_operators/rigidbody/__init__.pyi +3 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -1
- bl_operators/sequencer/__init__.pyi +3 -1
- bl_operators/spreadsheet/__init__.pyi +3 -1
- bl_operators/userpref/__init__.pyi +3 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -1
- bl_operators/uvcalc_transform/__init__.pyi +3 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +3 -1
- bl_operators/view3d/__init__.pyi +3 -1
- bl_operators/wm/__init__.pyi +3 -1
- bl_operators/world/__init__.pyi +3 -1
- bl_previews_utils/__init__.pyi +3 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +3 -1
- bl_rna_utils/__init__.pyi +3 -1
- bl_rna_utils/data_path/__init__.pyi +3 -1
- bl_text_utils/__init__.pyi +3 -1
- bl_text_utils/external_editor/__init__.pyi +3 -1
- bl_ui/__init__.pyi +3 -1
- bl_ui/anim/__init__.pyi +3 -1
- bl_ui/asset_shelf/__init__.pyi +3 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -1
- bl_ui/node_add_menu/__init__.pyi +3 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +3 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +3 -1
- bl_ui/node_add_menu_shader/__init__.pyi +3 -1
- bl_ui/node_add_menu_texture/__init__.pyi +3 -1
- bl_ui/properties_animviz/__init__.pyi +3 -1
- bl_ui/properties_collection/__init__.pyi +3 -1
- bl_ui/properties_constraint/__init__.pyi +3 -1
- bl_ui/properties_data_armature/__init__.pyi +3 -1
- bl_ui/properties_data_bone/__init__.pyi +3 -1
- bl_ui/properties_data_camera/__init__.pyi +3 -1
- bl_ui/properties_data_curve/__init__.pyi +3 -1
- bl_ui/properties_data_curves/__init__.pyi +3 -1
- bl_ui/properties_data_empty/__init__.pyi +3 -1
- bl_ui/properties_data_gpencil/__init__.pyi +3 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +3 -1
- bl_ui/properties_data_lattice/__init__.pyi +3 -1
- bl_ui/properties_data_light/__init__.pyi +3 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +3 -1
- bl_ui/properties_data_mesh/__init__.pyi +3 -1
- bl_ui/properties_data_metaball/__init__.pyi +3 -1
- bl_ui/properties_data_modifier/__init__.pyi +3 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +3 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -1
- bl_ui/properties_data_speaker/__init__.pyi +3 -1
- bl_ui/properties_data_volume/__init__.pyi +3 -1
- bl_ui/properties_freestyle/__init__.pyi +3 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +3 -1
- bl_ui/properties_mask_common/__init__.pyi +3 -1
- bl_ui/properties_material/__init__.pyi +3 -1
- bl_ui/properties_material_gpencil/__init__.pyi +3 -1
- bl_ui/properties_object/__init__.pyi +3 -1
- bl_ui/properties_output/__init__.pyi +3 -1
- bl_ui/properties_paint_common/__init__.pyi +3 -1
- bl_ui/properties_particle/__init__.pyi +3 -1
- bl_ui/properties_physics_cloth/__init__.pyi +3 -1
- bl_ui/properties_physics_common/__init__.pyi +3 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -1
- bl_ui/properties_physics_field/__init__.pyi +3 -1
- bl_ui/properties_physics_fluid/__init__.pyi +3 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +3 -1
- bl_ui/properties_physics_softbody/__init__.pyi +3 -1
- bl_ui/properties_render/__init__.pyi +3 -1
- bl_ui/properties_scene/__init__.pyi +3 -1
- bl_ui/properties_texture/__init__.pyi +3 -1
- bl_ui/properties_view_layer/__init__.pyi +3 -1
- bl_ui/properties_workspace/__init__.pyi +3 -1
- bl_ui/properties_world/__init__.pyi +3 -1
- bl_ui/space_clip/__init__.pyi +3 -1
- bl_ui/space_console/__init__.pyi +3 -1
- bl_ui/space_dopesheet/__init__.pyi +3 -1
- bl_ui/space_filebrowser/__init__.pyi +3 -1
- bl_ui/space_graph/__init__.pyi +3 -1
- bl_ui/space_image/__init__.pyi +3 -1
- bl_ui/space_info/__init__.pyi +3 -1
- bl_ui/space_nla/__init__.pyi +3 -1
- bl_ui/space_node/__init__.pyi +3 -1
- bl_ui/space_outliner/__init__.pyi +3 -1
- bl_ui/space_properties/__init__.pyi +3 -1
- bl_ui/space_sequencer/__init__.pyi +3 -1
- bl_ui/space_spreadsheet/__init__.pyi +3 -1
- bl_ui/space_statusbar/__init__.pyi +3 -1
- bl_ui/space_text/__init__.pyi +3 -1
- bl_ui/space_time/__init__.pyi +3 -1
- bl_ui/space_toolsystem_common/__init__.pyi +3 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -1
- bl_ui/space_topbar/__init__.pyi +3 -1
- bl_ui/space_userpref/__init__.pyi +3 -1
- bl_ui/space_view3d/__init__.pyi +3 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +3 -1
- bl_ui/temp_anim_layers/__init__.pyi +3 -1
- bl_ui/utils/__init__.pyi +3 -1
- bl_ui_utils/__init__.pyi +3 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -1
- bl_ui_utils/layout/__init__.pyi +3 -1
- blend_render_info/__init__.pyi +3 -1
- blf/__init__.pyi +3 -1
- bmesh/__init__.pyi +3 -1
- bmesh/geometry/__init__.pyi +3 -1
- bmesh/ops/__init__.pyi +39 -37
- bmesh/types/__init__.pyi +31 -28
- bmesh/utils/__init__.pyi +3 -1
- bpy/__init__.pyi +3 -1
- bpy/app/__init__.pyi +3 -1
- bpy/app/handlers/__init__.pyi +3 -1
- bpy/app/icons/__init__.pyi +3 -1
- bpy/app/timers/__init__.pyi +9 -15
- bpy/app/translations/__init__.pyi +3 -1
- bpy/msgbus/__init__.pyi +3 -1
- bpy/ops/__init__.pyi +3 -1
- bpy/ops/action/__init__.pyi +35 -33
- bpy/ops/anim/__init__.pyi +33 -31
- bpy/ops/armature/__init__.pyi +23 -21
- bpy/ops/asset/__init__.pyi +9 -7
- bpy/ops/bl_pkg/__init__.pyi +5 -3
- bpy/ops/boid/__init__.pyi +5 -3
- bpy/ops/brush/__init__.pyi +11 -9
- bpy/ops/buttons/__init__.pyi +11 -9
- bpy/ops/cachefile/__init__.pyi +13 -11
- bpy/ops/camera/__init__.pyi +3 -1
- bpy/ops/clip/__init__.pyi +41 -39
- bpy/ops/cloth/__init__.pyi +3 -1
- bpy/ops/collection/__init__.pyi +9 -7
- bpy/ops/console/__init__.pyi +9 -7
- bpy/ops/constraint/__init__.pyi +31 -29
- bpy/ops/curve/__init__.pyi +37 -35
- bpy/ops/curves/__init__.pyi +19 -17
- bpy/ops/cycles/__init__.pyi +3 -1
- bpy/ops/dpaint/__init__.pyi +7 -5
- bpy/ops/ed/__init__.pyi +7 -5
- bpy/ops/export_anim/__init__.pyi +5 -3
- bpy/ops/export_scene/__init__.pyi +41 -39
- bpy/ops/file/__init__.pyi +21 -19
- bpy/ops/fluid/__init__.pyi +3 -1
- bpy/ops/font/__init__.pyi +23 -21
- bpy/ops/geometry/__init__.pyi +23 -21
- bpy/ops/gizmogroup/__init__.pyi +3 -1
- bpy/ops/gpencil/__init__.pyi +135 -133
- bpy/ops/graph/__init__.pyi +57 -55
- bpy/ops/grease_pencil/__init__.pyi +45 -43
- bpy/ops/image/__init__.pyi +31 -29
- bpy/ops/import_anim/__init__.pyi +11 -9
- bpy/ops/import_curve/__init__.pyi +3 -1
- bpy/ops/import_scene/__init__.pyi +21 -19
- bpy/ops/info/__init__.pyi +7 -5
- bpy/ops/lattice/__init__.pyi +9 -7
- bpy/ops/marker/__init__.pyi +11 -9
- bpy/ops/mask/__init__.pyi +15 -13
- bpy/ops/material/__init__.pyi +3 -1
- bpy/ops/mball/__init__.pyi +9 -7
- bpy/ops/mesh/__init__.pyi +147 -145
- bpy/ops/nla/__init__.pyi +19 -17
- bpy/ops/node/__init__.pyi +35 -33
- bpy/ops/object/__init__.pyi +255 -253
- bpy/ops/outliner/__init__.pyi +43 -41
- bpy/ops/paint/__init__.pyi +75 -73
- bpy/ops/paintcurve/__init__.pyi +3 -1
- bpy/ops/palette/__init__.pyi +7 -5
- bpy/ops/particle/__init__.pyi +17 -15
- bpy/ops/pose/__init__.pyi +45 -43
- bpy/ops/poselib/__init__.pyi +3 -1
- bpy/ops/preferences/__init__.pyi +15 -13
- bpy/ops/ptcache/__init__.pyi +3 -1
- bpy/ops/render/__init__.pyi +5 -3
- bpy/ops/rigidbody/__init__.pyi +19 -17
- bpy/ops/scene/__init__.pyi +27 -25
- bpy/ops/screen/__init__.pyi +23 -21
- bpy/ops/script/__init__.pyi +3 -1
- bpy/ops/sculpt/__init__.pyi +69 -67
- bpy/ops/sculpt_curves/__init__.pyi +5 -3
- bpy/ops/sequencer/__init__.pyi +77 -75
- bpy/ops/sound/__init__.pyi +23 -21
- bpy/ops/spreadsheet/__init__.pyi +3 -1
- bpy/ops/surface/__init__.pyi +15 -13
- bpy/ops/text/__init__.pyi +25 -23
- bpy/ops/text_editor/__init__.pyi +3 -1
- bpy/ops/texture/__init__.pyi +5 -3
- bpy/ops/transform/__init__.pyi +91 -89
- bpy/ops/ui/__init__.pyi +9 -7
- bpy/ops/uilist/__init__.pyi +5 -3
- bpy/ops/uv/__init__.pyi +69 -67
- bpy/ops/view2d/__init__.pyi +3 -1
- bpy/ops/view3d/__init__.pyi +37 -35
- bpy/ops/wm/__init__.pyi +199 -197
- bpy/ops/workspace/__init__.pyi +3 -1
- bpy/ops/world/__init__.pyi +3 -1
- bpy/path/__init__.pyi +3 -1
- bpy/props/__init__.pyi +3 -1
- bpy/types/__init__.pyi +3448 -3370
- bpy/utils/__init__.pyi +3 -1
- bpy/utils/previews/__init__.pyi +3 -1
- bpy/utils/units/__init__.pyi +3 -1
- bpy_extras/__init__.pyi +3 -1
- bpy_extras/anim_utils/__init__.pyi +3 -1
- bpy_extras/asset_utils/__init__.pyi +3 -1
- bpy_extras/bmesh_utils/__init__.pyi +3 -1
- bpy_extras/extensions/__init__.pyi +3 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -1
- bpy_extras/image_utils/__init__.pyi +3 -1
- bpy_extras/io_utils/__init__.pyi +3 -1
- bpy_extras/keyconfig_utils/__init__.pyi +3 -1
- bpy_extras/mesh_utils/__init__.pyi +3 -1
- bpy_extras/node_shader_utils/__init__.pyi +3 -1
- bpy_extras/node_utils/__init__.pyi +3 -1
- bpy_extras/object_utils/__init__.pyi +3 -1
- bpy_extras/view3d_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +3 -1
- bpy_restrict_state/__init__.pyi +3 -1
- bpy_types/__init__.pyi +3 -1
- console_python/__init__.pyi +3 -1
- console_shell/__init__.pyi +3 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
- fake_bpy_module-20240520.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +3 -1
- freestyle/chainingiterators/__init__.pyi +3 -1
- freestyle/functions/__init__.pyi +3 -1
- freestyle/predicates/__init__.pyi +3 -1
- freestyle/shaders/__init__.pyi +3 -1
- freestyle/types/__init__.pyi +3 -1
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +3 -1
- gpu/__init__.pyi +3 -1
- gpu/capabilities/__init__.pyi +3 -1
- gpu/matrix/__init__.pyi +3 -1
- gpu/platform/__init__.pyi +3 -1
- gpu/select/__init__.pyi +3 -1
- gpu/shader/__init__.pyi +3 -1
- gpu/state/__init__.pyi +3 -1
- gpu/texture/__init__.pyi +3 -1
- gpu/types/__init__.pyi +3 -1
- gpu_extras/__init__.pyi +3 -1
- gpu_extras/batch/__init__.pyi +3 -1
- gpu_extras/presets/__init__.pyi +3 -1
- graphviz_export/__init__.pyi +3 -1
- idprop/__init__.pyi +3 -1
- idprop/types/__init__.pyi +3 -1
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -1
- keyingsets_builtins/__init__.pyi +3 -1
- keyingsets_utils/__init__.pyi +3 -1
- mathutils/__init__.pyi +5 -2
- mathutils/bvhtree/__init__.pyi +3 -1
- mathutils/geometry/__init__.pyi +3 -1
- mathutils/interpolate/__init__.pyi +3 -1
- mathutils/kdtree/__init__.pyi +3 -1
- mathutils/noise/__init__.pyi +3 -1
- nodeitems_builtins/__init__.pyi +3 -1
- nodeitems_utils/__init__.pyi +3 -1
- rna_info/__init__.pyi +3 -1
- rna_keymap_ui/__init__.pyi +3 -1
- rna_prop_ui/__init__.pyi +3 -1
- rna_xml/__init__.pyi +3 -1
- sys_info/__init__.pyi +3 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
bpy/ops/collection/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def create(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -89,7 +91,7 @@ def objects_add_active(
|
|
|
89
91
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
90
92
|
execution_context: str | int | None = None,
|
|
91
93
|
undo: bool | None = None,
|
|
92
|
-
collection: str |
|
|
94
|
+
collection: str | None = "",
|
|
93
95
|
):
|
|
94
96
|
"""Add the object to an object collection that contains the active object
|
|
95
97
|
|
|
@@ -97,7 +99,7 @@ def objects_add_active(
|
|
|
97
99
|
:type execution_context: str | int | None
|
|
98
100
|
:type undo: bool | None
|
|
99
101
|
:param collection: Collection, The collection to add other selected objects to
|
|
100
|
-
:type collection: str |
|
|
102
|
+
:type collection: str | None
|
|
101
103
|
"""
|
|
102
104
|
|
|
103
105
|
...
|
|
@@ -106,7 +108,7 @@ def objects_remove(
|
|
|
106
108
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
107
109
|
execution_context: str | int | None = None,
|
|
108
110
|
undo: bool | None = None,
|
|
109
|
-
collection: str |
|
|
111
|
+
collection: str | None = "",
|
|
110
112
|
):
|
|
111
113
|
"""Remove selected objects from a collection
|
|
112
114
|
|
|
@@ -114,7 +116,7 @@ def objects_remove(
|
|
|
114
116
|
:type execution_context: str | int | None
|
|
115
117
|
:type undo: bool | None
|
|
116
118
|
:param collection: Collection, The collection to remove this object from
|
|
117
|
-
:type collection: str |
|
|
119
|
+
:type collection: str | None
|
|
118
120
|
"""
|
|
119
121
|
|
|
120
122
|
...
|
|
@@ -123,7 +125,7 @@ def objects_remove_active(
|
|
|
123
125
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
124
126
|
execution_context: str | int | None = None,
|
|
125
127
|
undo: bool | None = None,
|
|
126
|
-
collection: str |
|
|
128
|
+
collection: str | None = "",
|
|
127
129
|
):
|
|
128
130
|
"""Remove the object from an object collection that contains the active object
|
|
129
131
|
|
|
@@ -131,7 +133,7 @@ def objects_remove_active(
|
|
|
131
133
|
:type execution_context: str | int | None
|
|
132
134
|
:type undo: bool | None
|
|
133
135
|
:param collection: Collection, The collection to remove other selected objects from
|
|
134
|
-
:type collection: str |
|
|
136
|
+
:type collection: str | None
|
|
135
137
|
"""
|
|
136
138
|
|
|
137
139
|
...
|
bpy/ops/console/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def autocomplete(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -100,7 +102,7 @@ def delete(
|
|
|
100
102
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
101
103
|
execution_context: str | int | None = None,
|
|
102
104
|
undo: bool | None = None,
|
|
103
|
-
type:
|
|
105
|
+
type: str | None = "NEXT_CHARACTER",
|
|
104
106
|
):
|
|
105
107
|
"""Delete text by cursor position
|
|
106
108
|
|
|
@@ -108,7 +110,7 @@ def delete(
|
|
|
108
110
|
:type execution_context: str | int | None
|
|
109
111
|
:type undo: bool | None
|
|
110
112
|
:param type: Type, Which part of the text to delete
|
|
111
|
-
:type type:
|
|
113
|
+
:type type: str | None
|
|
112
114
|
"""
|
|
113
115
|
|
|
114
116
|
...
|
|
@@ -236,7 +238,7 @@ def move(
|
|
|
236
238
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
237
239
|
execution_context: str | int | None = None,
|
|
238
240
|
undo: bool | None = None,
|
|
239
|
-
type:
|
|
241
|
+
type: str | None = "LINE_BEGIN",
|
|
240
242
|
select: bool | typing.Any | None = False,
|
|
241
243
|
):
|
|
242
244
|
"""Move cursor position
|
|
@@ -245,7 +247,7 @@ def move(
|
|
|
245
247
|
:type execution_context: str | int | None
|
|
246
248
|
:type undo: bool | None
|
|
247
249
|
:param type: Type, Where to move cursor to
|
|
248
|
-
:type type:
|
|
250
|
+
:type type: str | None
|
|
249
251
|
:param select: Select, Whether to select while moving
|
|
250
252
|
:type select: bool | typing.Any | None
|
|
251
253
|
"""
|
|
@@ -274,7 +276,7 @@ def scrollback_append(
|
|
|
274
276
|
execution_context: str | int | None = None,
|
|
275
277
|
undo: bool | None = None,
|
|
276
278
|
text: str | typing.Any = "",
|
|
277
|
-
type:
|
|
279
|
+
type: str | None = "OUTPUT",
|
|
278
280
|
):
|
|
279
281
|
"""Append scrollback text by type
|
|
280
282
|
|
|
@@ -284,7 +286,7 @@ def scrollback_append(
|
|
|
284
286
|
:param text: Text, Text to insert at the cursor position
|
|
285
287
|
:type text: str | typing.Any
|
|
286
288
|
:param type: Type, Console output type
|
|
287
|
-
:type type:
|
|
289
|
+
:type type: str | None
|
|
288
290
|
"""
|
|
289
291
|
|
|
290
292
|
...
|
bpy/ops/constraint/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def add_target(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -22,7 +24,7 @@ def apply(
|
|
|
22
24
|
execution_context: str | int | None = None,
|
|
23
25
|
undo: bool | None = None,
|
|
24
26
|
constraint: str | typing.Any = "",
|
|
25
|
-
owner:
|
|
27
|
+
owner: str | None = "OBJECT",
|
|
26
28
|
report: bool | typing.Any | None = False,
|
|
27
29
|
):
|
|
28
30
|
"""Apply constraint and remove from the stack
|
|
@@ -39,7 +41,7 @@ def apply(
|
|
|
39
41
|
|
|
40
42
|
BONE
|
|
41
43
|
Bone -- Edit a constraint on the active bone.
|
|
42
|
-
:type owner:
|
|
44
|
+
:type owner: str | None
|
|
43
45
|
:param report: Report, Create a notification after the operation
|
|
44
46
|
:type report: bool | typing.Any | None
|
|
45
47
|
"""
|
|
@@ -51,7 +53,7 @@ def childof_clear_inverse(
|
|
|
51
53
|
execution_context: str | int | None = None,
|
|
52
54
|
undo: bool | None = None,
|
|
53
55
|
constraint: str | typing.Any = "",
|
|
54
|
-
owner:
|
|
56
|
+
owner: str | None = "OBJECT",
|
|
55
57
|
):
|
|
56
58
|
"""Clear inverse correction for Child Of constraint
|
|
57
59
|
|
|
@@ -67,7 +69,7 @@ def childof_clear_inverse(
|
|
|
67
69
|
|
|
68
70
|
BONE
|
|
69
71
|
Bone -- Edit a constraint on the active bone.
|
|
70
|
-
:type owner:
|
|
72
|
+
:type owner: str | None
|
|
71
73
|
"""
|
|
72
74
|
|
|
73
75
|
...
|
|
@@ -77,7 +79,7 @@ def childof_set_inverse(
|
|
|
77
79
|
execution_context: str | int | None = None,
|
|
78
80
|
undo: bool | None = None,
|
|
79
81
|
constraint: str | typing.Any = "",
|
|
80
|
-
owner:
|
|
82
|
+
owner: str | None = "OBJECT",
|
|
81
83
|
):
|
|
82
84
|
"""Set inverse correction for Child Of constraint
|
|
83
85
|
|
|
@@ -93,7 +95,7 @@ def childof_set_inverse(
|
|
|
93
95
|
|
|
94
96
|
BONE
|
|
95
97
|
Bone -- Edit a constraint on the active bone.
|
|
96
|
-
:type owner:
|
|
98
|
+
:type owner: str | None
|
|
97
99
|
"""
|
|
98
100
|
|
|
99
101
|
...
|
|
@@ -103,7 +105,7 @@ def copy(
|
|
|
103
105
|
execution_context: str | int | None = None,
|
|
104
106
|
undo: bool | None = None,
|
|
105
107
|
constraint: str | typing.Any = "",
|
|
106
|
-
owner:
|
|
108
|
+
owner: str | None = "OBJECT",
|
|
107
109
|
report: bool | typing.Any | None = False,
|
|
108
110
|
):
|
|
109
111
|
"""Duplicate constraint at the same position in the stack
|
|
@@ -120,7 +122,7 @@ def copy(
|
|
|
120
122
|
|
|
121
123
|
BONE
|
|
122
124
|
Bone -- Edit a constraint on the active bone.
|
|
123
|
-
:type owner:
|
|
125
|
+
:type owner: str | None
|
|
124
126
|
:param report: Report, Create a notification after the operation
|
|
125
127
|
:type report: bool | typing.Any | None
|
|
126
128
|
"""
|
|
@@ -132,7 +134,7 @@ def copy_to_selected(
|
|
|
132
134
|
execution_context: str | int | None = None,
|
|
133
135
|
undo: bool | None = None,
|
|
134
136
|
constraint: str | typing.Any = "",
|
|
135
|
-
owner:
|
|
137
|
+
owner: str | None = "OBJECT",
|
|
136
138
|
):
|
|
137
139
|
"""Copy constraint to other selected objects/bones
|
|
138
140
|
|
|
@@ -148,7 +150,7 @@ def copy_to_selected(
|
|
|
148
150
|
|
|
149
151
|
BONE
|
|
150
152
|
Bone -- Edit a constraint on the active bone.
|
|
151
|
-
:type owner:
|
|
153
|
+
:type owner: str | None
|
|
152
154
|
"""
|
|
153
155
|
|
|
154
156
|
...
|
|
@@ -158,7 +160,7 @@ def delete(
|
|
|
158
160
|
execution_context: str | int | None = None,
|
|
159
161
|
undo: bool | None = None,
|
|
160
162
|
constraint: str | typing.Any = "",
|
|
161
|
-
owner:
|
|
163
|
+
owner: str | None = "OBJECT",
|
|
162
164
|
report: bool | typing.Any | None = False,
|
|
163
165
|
):
|
|
164
166
|
"""Remove constraint from constraint stack
|
|
@@ -175,7 +177,7 @@ def delete(
|
|
|
175
177
|
|
|
176
178
|
BONE
|
|
177
179
|
Bone -- Edit a constraint on the active bone.
|
|
178
|
-
:type owner:
|
|
180
|
+
:type owner: str | None
|
|
179
181
|
:param report: Report, Create a notification after the operation
|
|
180
182
|
:type report: bool | typing.Any | None
|
|
181
183
|
"""
|
|
@@ -201,7 +203,7 @@ def followpath_path_animate(
|
|
|
201
203
|
execution_context: str | int | None = None,
|
|
202
204
|
undo: bool | None = None,
|
|
203
205
|
constraint: str | typing.Any = "",
|
|
204
|
-
owner:
|
|
206
|
+
owner: str | None = "OBJECT",
|
|
205
207
|
frame_start: typing.Any | None = 1,
|
|
206
208
|
length: typing.Any | None = 100,
|
|
207
209
|
):
|
|
@@ -219,7 +221,7 @@ def followpath_path_animate(
|
|
|
219
221
|
|
|
220
222
|
BONE
|
|
221
223
|
Bone -- Edit a constraint on the active bone.
|
|
222
|
-
:type owner:
|
|
224
|
+
:type owner: str | None
|
|
223
225
|
:param frame_start: Start Frame, First frame of path animation
|
|
224
226
|
:type frame_start: typing.Any | None
|
|
225
227
|
:param length: Length, Number of frames that path animation should take
|
|
@@ -233,7 +235,7 @@ def limitdistance_reset(
|
|
|
233
235
|
execution_context: str | int | None = None,
|
|
234
236
|
undo: bool | None = None,
|
|
235
237
|
constraint: str | typing.Any = "",
|
|
236
|
-
owner:
|
|
238
|
+
owner: str | None = "OBJECT",
|
|
237
239
|
):
|
|
238
240
|
"""Reset limiting distance for Limit Distance Constraint
|
|
239
241
|
|
|
@@ -249,7 +251,7 @@ def limitdistance_reset(
|
|
|
249
251
|
|
|
250
252
|
BONE
|
|
251
253
|
Bone -- Edit a constraint on the active bone.
|
|
252
|
-
:type owner:
|
|
254
|
+
:type owner: str | None
|
|
253
255
|
"""
|
|
254
256
|
|
|
255
257
|
...
|
|
@@ -259,7 +261,7 @@ def move_down(
|
|
|
259
261
|
execution_context: str | int | None = None,
|
|
260
262
|
undo: bool | None = None,
|
|
261
263
|
constraint: str | typing.Any = "",
|
|
262
|
-
owner:
|
|
264
|
+
owner: str | None = "OBJECT",
|
|
263
265
|
):
|
|
264
266
|
"""Move constraint down in constraint stack
|
|
265
267
|
|
|
@@ -275,7 +277,7 @@ def move_down(
|
|
|
275
277
|
|
|
276
278
|
BONE
|
|
277
279
|
Bone -- Edit a constraint on the active bone.
|
|
278
|
-
:type owner:
|
|
280
|
+
:type owner: str | None
|
|
279
281
|
"""
|
|
280
282
|
|
|
281
283
|
...
|
|
@@ -285,7 +287,7 @@ def move_to_index(
|
|
|
285
287
|
execution_context: str | int | None = None,
|
|
286
288
|
undo: bool | None = None,
|
|
287
289
|
constraint: str | typing.Any = "",
|
|
288
|
-
owner:
|
|
290
|
+
owner: str | None = "OBJECT",
|
|
289
291
|
index: typing.Any | None = 0,
|
|
290
292
|
):
|
|
291
293
|
"""Change the constraint's position in the list so it evaluates after the set number of others
|
|
@@ -302,7 +304,7 @@ def move_to_index(
|
|
|
302
304
|
|
|
303
305
|
BONE
|
|
304
306
|
Bone -- Edit a constraint on the active bone.
|
|
305
|
-
:type owner:
|
|
307
|
+
:type owner: str | None
|
|
306
308
|
:param index: Index, The index to move the constraint to
|
|
307
309
|
:type index: typing.Any | None
|
|
308
310
|
"""
|
|
@@ -314,7 +316,7 @@ def move_up(
|
|
|
314
316
|
execution_context: str | int | None = None,
|
|
315
317
|
undo: bool | None = None,
|
|
316
318
|
constraint: str | typing.Any = "",
|
|
317
|
-
owner:
|
|
319
|
+
owner: str | None = "OBJECT",
|
|
318
320
|
):
|
|
319
321
|
"""Move constraint up in constraint stack
|
|
320
322
|
|
|
@@ -330,7 +332,7 @@ def move_up(
|
|
|
330
332
|
|
|
331
333
|
BONE
|
|
332
334
|
Bone -- Edit a constraint on the active bone.
|
|
333
|
-
:type owner:
|
|
335
|
+
:type owner: str | None
|
|
334
336
|
"""
|
|
335
337
|
|
|
336
338
|
...
|
|
@@ -354,7 +356,7 @@ def objectsolver_clear_inverse(
|
|
|
354
356
|
execution_context: str | int | None = None,
|
|
355
357
|
undo: bool | None = None,
|
|
356
358
|
constraint: str | typing.Any = "",
|
|
357
|
-
owner:
|
|
359
|
+
owner: str | None = "OBJECT",
|
|
358
360
|
):
|
|
359
361
|
"""Clear inverse correction for Object Solver constraint
|
|
360
362
|
|
|
@@ -370,7 +372,7 @@ def objectsolver_clear_inverse(
|
|
|
370
372
|
|
|
371
373
|
BONE
|
|
372
374
|
Bone -- Edit a constraint on the active bone.
|
|
373
|
-
:type owner:
|
|
375
|
+
:type owner: str | None
|
|
374
376
|
"""
|
|
375
377
|
|
|
376
378
|
...
|
|
@@ -380,7 +382,7 @@ def objectsolver_set_inverse(
|
|
|
380
382
|
execution_context: str | int | None = None,
|
|
381
383
|
undo: bool | None = None,
|
|
382
384
|
constraint: str | typing.Any = "",
|
|
383
|
-
owner:
|
|
385
|
+
owner: str | None = "OBJECT",
|
|
384
386
|
):
|
|
385
387
|
"""Set inverse correction for Object Solver constraint
|
|
386
388
|
|
|
@@ -396,7 +398,7 @@ def objectsolver_set_inverse(
|
|
|
396
398
|
|
|
397
399
|
BONE
|
|
398
400
|
Bone -- Edit a constraint on the active bone.
|
|
399
|
-
:type owner:
|
|
401
|
+
:type owner: str | None
|
|
400
402
|
"""
|
|
401
403
|
|
|
402
404
|
...
|
|
@@ -423,7 +425,7 @@ def stretchto_reset(
|
|
|
423
425
|
execution_context: str | int | None = None,
|
|
424
426
|
undo: bool | None = None,
|
|
425
427
|
constraint: str | typing.Any = "",
|
|
426
|
-
owner:
|
|
428
|
+
owner: str | None = "OBJECT",
|
|
427
429
|
):
|
|
428
430
|
"""Reset original length of bone for Stretch To Constraint
|
|
429
431
|
|
|
@@ -439,7 +441,7 @@ def stretchto_reset(
|
|
|
439
441
|
|
|
440
442
|
BONE
|
|
441
443
|
Bone -- Edit a constraint on the active bone.
|
|
442
|
-
:type owner:
|
|
444
|
+
:type owner: str | None
|
|
443
445
|
"""
|
|
444
446
|
|
|
445
447
|
...
|
bpy/ops/curve/__init__.pyi
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.ops.transform
|
|
3
4
|
import bpy.types
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
8
|
|
|
7
9
|
def cyclic_toggle(
|
|
8
10
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
9
11
|
execution_context: str | int | None = None,
|
|
10
12
|
undo: bool | None = None,
|
|
11
|
-
direction:
|
|
13
|
+
direction: str | None = "CYCLIC_U",
|
|
12
14
|
):
|
|
13
15
|
"""Make active spline closed/opened loop
|
|
14
16
|
|
|
@@ -16,7 +18,7 @@ def cyclic_toggle(
|
|
|
16
18
|
:type execution_context: str | int | None
|
|
17
19
|
:type undo: bool | None
|
|
18
20
|
:param direction: Direction, Direction to make surface cyclic in
|
|
19
|
-
:type direction:
|
|
21
|
+
:type direction: str | None
|
|
20
22
|
"""
|
|
21
23
|
|
|
22
24
|
...
|
|
@@ -70,7 +72,7 @@ def delete(
|
|
|
70
72
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
71
73
|
execution_context: str | int | None = None,
|
|
72
74
|
undo: bool | None = None,
|
|
73
|
-
type:
|
|
75
|
+
type: str | None = "VERT",
|
|
74
76
|
):
|
|
75
77
|
"""Delete selected control points or segments
|
|
76
78
|
|
|
@@ -78,7 +80,7 @@ def delete(
|
|
|
78
80
|
:type execution_context: str | int | None
|
|
79
81
|
:type undo: bool | None
|
|
80
82
|
:param type: Type, Which elements to delete
|
|
81
|
-
:type type:
|
|
83
|
+
:type type: str | None
|
|
82
84
|
"""
|
|
83
85
|
|
|
84
86
|
...
|
|
@@ -102,7 +104,7 @@ def draw(
|
|
|
102
104
|
execution_context: str | int | None = None,
|
|
103
105
|
undo: bool | None = None,
|
|
104
106
|
error_threshold: typing.Any | None = 0.0,
|
|
105
|
-
fit_method: str |
|
|
107
|
+
fit_method: str | None = "REFIT",
|
|
106
108
|
corner_angle: typing.Any | None = 1.22173,
|
|
107
109
|
use_cyclic: bool | typing.Any | None = True,
|
|
108
110
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -117,7 +119,7 @@ def draw(
|
|
|
117
119
|
:param error_threshold: Error, Error distance threshold (in object units)
|
|
118
120
|
:type error_threshold: typing.Any | None
|
|
119
121
|
:param fit_method: Fit Method
|
|
120
|
-
:type fit_method: str |
|
|
122
|
+
:type fit_method: str | None
|
|
121
123
|
:param corner_angle: Corner Angle
|
|
122
124
|
:type corner_angle: typing.Any | None
|
|
123
125
|
:param use_cyclic: Cyclic
|
|
@@ -168,7 +170,7 @@ def extrude(
|
|
|
168
170
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
169
171
|
execution_context: str | int | None = None,
|
|
170
172
|
undo: bool | None = None,
|
|
171
|
-
mode: str |
|
|
173
|
+
mode: str | None = "TRANSLATION",
|
|
172
174
|
):
|
|
173
175
|
"""Extrude selected control point(s)
|
|
174
176
|
|
|
@@ -176,7 +178,7 @@ def extrude(
|
|
|
176
178
|
:type execution_context: str | int | None
|
|
177
179
|
:type undo: bool | None
|
|
178
180
|
:param mode: Mode
|
|
179
|
-
:type mode: str |
|
|
181
|
+
:type mode: str | None
|
|
180
182
|
"""
|
|
181
183
|
|
|
182
184
|
...
|
|
@@ -205,7 +207,7 @@ def handle_type_set(
|
|
|
205
207
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
206
208
|
execution_context: str | int | None = None,
|
|
207
209
|
undo: bool | None = None,
|
|
208
|
-
type:
|
|
210
|
+
type: str | None = "AUTOMATIC",
|
|
209
211
|
):
|
|
210
212
|
"""Set type of handles for selected control points
|
|
211
213
|
|
|
@@ -213,7 +215,7 @@ def handle_type_set(
|
|
|
213
215
|
:type execution_context: str | int | None
|
|
214
216
|
:type undo: bool | None
|
|
215
217
|
:param type: Type, Spline type
|
|
216
|
-
:type type:
|
|
218
|
+
:type type: str | None
|
|
217
219
|
"""
|
|
218
220
|
|
|
219
221
|
...
|
|
@@ -290,14 +292,14 @@ def pen(
|
|
|
290
292
|
deselect_all: bool | typing.Any | None = False,
|
|
291
293
|
select_passthrough: bool | typing.Any | None = False,
|
|
292
294
|
extrude_point: bool | typing.Any | None = False,
|
|
293
|
-
extrude_handle:
|
|
295
|
+
extrude_handle: str | None = "VECTOR",
|
|
294
296
|
delete_point: bool | typing.Any | None = False,
|
|
295
297
|
insert_point: bool | typing.Any | None = False,
|
|
296
298
|
move_segment: bool | typing.Any | None = False,
|
|
297
299
|
select_point: bool | typing.Any | None = False,
|
|
298
300
|
move_point: bool | typing.Any | None = False,
|
|
299
301
|
close_spline: bool | typing.Any | None = True,
|
|
300
|
-
close_spline_method:
|
|
302
|
+
close_spline_method: str | None = "OFF",
|
|
301
303
|
toggle_vector: bool | typing.Any | None = False,
|
|
302
304
|
cycle_handle_type: bool | typing.Any | None = False,
|
|
303
305
|
):
|
|
@@ -319,7 +321,7 @@ def pen(
|
|
|
319
321
|
:param extrude_point: Extrude Point, Add a point connected to the last selected point
|
|
320
322
|
:type extrude_point: bool | typing.Any | None
|
|
321
323
|
:param extrude_handle: Extrude Handle Type, Type of the extruded handle
|
|
322
|
-
:type extrude_handle:
|
|
324
|
+
:type extrude_handle: str | None
|
|
323
325
|
:param delete_point: Delete Point, Delete an existing point
|
|
324
326
|
:type delete_point: bool | typing.Any | None
|
|
325
327
|
:param insert_point: Insert Point, Insert Point into a curve segment
|
|
@@ -342,7 +344,7 @@ def pen(
|
|
|
342
344
|
|
|
343
345
|
ON_CLICK
|
|
344
346
|
On Click -- Spline closes on release if not dragged.
|
|
345
|
-
:type close_spline_method:
|
|
347
|
+
:type close_spline_method: str | None
|
|
346
348
|
:param toggle_vector: Toggle Vector, Toggle between Vector and Auto handles
|
|
347
349
|
:type toggle_vector: bool | typing.Any | None
|
|
348
350
|
:param cycle_handle_type: Cycle Handle Type, Cycle between all four handle types
|
|
@@ -357,7 +359,7 @@ def primitive_bezier_circle_add(
|
|
|
357
359
|
undo: bool | None = None,
|
|
358
360
|
radius: typing.Any | None = 1.0,
|
|
359
361
|
enter_editmode: bool | typing.Any | None = False,
|
|
360
|
-
align:
|
|
362
|
+
align: str | None = "WORLD",
|
|
361
363
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
362
364
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
363
365
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -381,7 +383,7 @@ def primitive_bezier_circle_add(
|
|
|
381
383
|
|
|
382
384
|
CURSOR
|
|
383
385
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
384
|
-
:type align:
|
|
386
|
+
:type align: str | None
|
|
385
387
|
:param location: Location, Location for the newly added object
|
|
386
388
|
:type location: typing.Any | None
|
|
387
389
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -398,7 +400,7 @@ def primitive_bezier_curve_add(
|
|
|
398
400
|
undo: bool | None = None,
|
|
399
401
|
radius: typing.Any | None = 1.0,
|
|
400
402
|
enter_editmode: bool | typing.Any | None = False,
|
|
401
|
-
align:
|
|
403
|
+
align: str | None = "WORLD",
|
|
402
404
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
403
405
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
404
406
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -422,7 +424,7 @@ def primitive_bezier_curve_add(
|
|
|
422
424
|
|
|
423
425
|
CURSOR
|
|
424
426
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
425
|
-
:type align:
|
|
427
|
+
:type align: str | None
|
|
426
428
|
:param location: Location, Location for the newly added object
|
|
427
429
|
:type location: typing.Any | None
|
|
428
430
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -439,7 +441,7 @@ def primitive_nurbs_circle_add(
|
|
|
439
441
|
undo: bool | None = None,
|
|
440
442
|
radius: typing.Any | None = 1.0,
|
|
441
443
|
enter_editmode: bool | typing.Any | None = False,
|
|
442
|
-
align:
|
|
444
|
+
align: str | None = "WORLD",
|
|
443
445
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
444
446
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
445
447
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -463,7 +465,7 @@ def primitive_nurbs_circle_add(
|
|
|
463
465
|
|
|
464
466
|
CURSOR
|
|
465
467
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
466
|
-
:type align:
|
|
468
|
+
:type align: str | None
|
|
467
469
|
:param location: Location, Location for the newly added object
|
|
468
470
|
:type location: typing.Any | None
|
|
469
471
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -480,7 +482,7 @@ def primitive_nurbs_curve_add(
|
|
|
480
482
|
undo: bool | None = None,
|
|
481
483
|
radius: typing.Any | None = 1.0,
|
|
482
484
|
enter_editmode: bool | typing.Any | None = False,
|
|
483
|
-
align:
|
|
485
|
+
align: str | None = "WORLD",
|
|
484
486
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
485
487
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
486
488
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -504,7 +506,7 @@ def primitive_nurbs_curve_add(
|
|
|
504
506
|
|
|
505
507
|
CURSOR
|
|
506
508
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
507
|
-
:type align:
|
|
509
|
+
:type align: str | None
|
|
508
510
|
:param location: Location, Location for the newly added object
|
|
509
511
|
:type location: typing.Any | None
|
|
510
512
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -521,7 +523,7 @@ def primitive_nurbs_path_add(
|
|
|
521
523
|
undo: bool | None = None,
|
|
522
524
|
radius: typing.Any | None = 1.0,
|
|
523
525
|
enter_editmode: bool | typing.Any | None = False,
|
|
524
|
-
align:
|
|
526
|
+
align: str | None = "WORLD",
|
|
525
527
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
526
528
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
527
529
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -545,7 +547,7 @@ def primitive_nurbs_path_add(
|
|
|
545
547
|
|
|
546
548
|
CURSOR
|
|
547
549
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
548
|
-
:type align:
|
|
550
|
+
:type align: str | None
|
|
549
551
|
:param location: Location, Location for the newly added object
|
|
550
552
|
:type location: typing.Any | None
|
|
551
553
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -594,7 +596,7 @@ def select_all(
|
|
|
594
596
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
595
597
|
execution_context: str | int | None = None,
|
|
596
598
|
undo: bool | None = None,
|
|
597
|
-
action:
|
|
599
|
+
action: str | None = "TOGGLE",
|
|
598
600
|
):
|
|
599
601
|
"""(De)select all control points
|
|
600
602
|
|
|
@@ -614,7 +616,7 @@ def select_all(
|
|
|
614
616
|
|
|
615
617
|
INVERT
|
|
616
618
|
Invert -- Invert selection of all elements.
|
|
617
|
-
:type action:
|
|
619
|
+
:type action: str | None
|
|
618
620
|
"""
|
|
619
621
|
|
|
620
622
|
...
|
|
@@ -735,7 +737,7 @@ def select_random(
|
|
|
735
737
|
undo: bool | None = None,
|
|
736
738
|
ratio: typing.Any | None = 0.5,
|
|
737
739
|
seed: typing.Any | None = 0,
|
|
738
|
-
action:
|
|
740
|
+
action: str | None = "SELECT",
|
|
739
741
|
):
|
|
740
742
|
"""Randomly select some control points
|
|
741
743
|
|
|
@@ -753,7 +755,7 @@ def select_random(
|
|
|
753
755
|
|
|
754
756
|
DESELECT
|
|
755
757
|
Deselect -- Deselect all elements.
|
|
756
|
-
:type action:
|
|
758
|
+
:type action: str | None
|
|
757
759
|
"""
|
|
758
760
|
|
|
759
761
|
...
|
|
@@ -776,8 +778,8 @@ def select_similar(
|
|
|
776
778
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
777
779
|
execution_context: str | int | None = None,
|
|
778
780
|
undo: bool | None = None,
|
|
779
|
-
type:
|
|
780
|
-
compare:
|
|
781
|
+
type: str | None = "WEIGHT",
|
|
782
|
+
compare: str | None = "EQUAL",
|
|
781
783
|
threshold: typing.Any | None = 0.1,
|
|
782
784
|
):
|
|
783
785
|
"""Select similar curve points by property type
|
|
@@ -786,9 +788,9 @@ def select_similar(
|
|
|
786
788
|
:type execution_context: str | int | None
|
|
787
789
|
:type undo: bool | None
|
|
788
790
|
:param type: Type
|
|
789
|
-
:type type:
|
|
791
|
+
:type type: str | None
|
|
790
792
|
:param compare: Compare
|
|
791
|
-
:type compare:
|
|
793
|
+
:type compare: str | None
|
|
792
794
|
:param threshold: Threshold
|
|
793
795
|
:type threshold: typing.Any | None
|
|
794
796
|
"""
|
|
@@ -931,7 +933,7 @@ def spline_type_set(
|
|
|
931
933
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
932
934
|
execution_context: str | int | None = None,
|
|
933
935
|
undo: bool | None = None,
|
|
934
|
-
type:
|
|
936
|
+
type: str | None = "POLY",
|
|
935
937
|
use_handles: bool | typing.Any | None = False,
|
|
936
938
|
):
|
|
937
939
|
"""Set type of active spline
|
|
@@ -940,7 +942,7 @@ def spline_type_set(
|
|
|
940
942
|
:type execution_context: str | int | None
|
|
941
943
|
:type undo: bool | None
|
|
942
944
|
:param type: Type, Spline type
|
|
943
|
-
:type type:
|
|
945
|
+
:type type: str | None
|
|
944
946
|
:param use_handles: Handles, Use handles when converting Bézier curves into polygons
|
|
945
947
|
:type use_handles: bool | typing.Any | None
|
|
946
948
|
"""
|