fake-bpy-module 20240528__py3-none-any.whl → 20240529__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.
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -3
- bl_operators/__init__.pyi +2 -0
- bl_operators/connect_to_output/__init__.pyi +325 -0
- bl_operators/image_as_planes/__init__.pyi +11 -5
- bl_operators/node_editor/__init__.pyi +6 -0
- bl_operators/node_editor/node_functions/__init__.pyi +23 -0
- bl_operators/presets/__init__.pyi +12 -12
- bl_operators/wm/__init__.pyi +24 -24
- bl_ui/__init__.pyi +12 -12
- bl_ui/anim/__init__.pyi +6 -6
- bl_ui/node_add_menu/__init__.pyi +6 -6
- bl_ui/node_add_menu_compositor/__init__.pyi +108 -108
- bl_ui/node_add_menu_geometry/__init__.pyi +288 -288
- bl_ui/node_add_menu_shader/__init__.pyi +60 -60
- bl_ui/node_add_menu_texture/__init__.pyi +54 -54
- bl_ui/properties_collection/__init__.pyi +6 -6
- bl_ui/properties_data_armature/__init__.pyi +12 -12
- bl_ui/properties_data_camera/__init__.pyi +12 -12
- bl_ui/properties_data_curves/__init__.pyi +6 -6
- bl_ui/properties_data_gpencil/__init__.pyi +12 -12
- bl_ui/properties_data_grease_pencil/__init__.pyi +18 -18
- bl_ui/properties_data_mesh/__init__.pyi +24 -24
- bl_ui/properties_data_modifier/__init__.pyi +42 -42
- bl_ui/properties_data_pointcloud/__init__.pyi +6 -6
- bl_ui/properties_freestyle/__init__.pyi +6 -6
- bl_ui/properties_grease_pencil_common/__init__.pyi +72 -72
- bl_ui/properties_mask_common/__init__.pyi +36 -36
- bl_ui/properties_material/__init__.pyi +6 -6
- bl_ui/properties_material_gpencil/__init__.pyi +12 -12
- bl_ui/properties_object/__init__.pyi +6 -6
- bl_ui/properties_output/__init__.pyi +18 -18
- bl_ui/properties_paint_common/__init__.pyi +6 -6
- bl_ui/properties_particle/__init__.pyi +12 -12
- bl_ui/properties_physics_cloth/__init__.pyi +6 -6
- bl_ui/properties_physics_fluid/__init__.pyi +6 -6
- bl_ui/properties_render/__init__.pyi +6 -6
- bl_ui/properties_texture/__init__.pyi +6 -6
- bl_ui/properties_view_layer/__init__.pyi +6 -6
- bl_ui/space_clip/__init__.pyi +186 -186
- bl_ui/space_console/__init__.pyi +30 -30
- bl_ui/space_dopesheet/__init__.pyi +84 -84
- bl_ui/space_filebrowser/__init__.pyi +78 -78
- bl_ui/space_graph/__init__.pyi +96 -96
- bl_ui/space_image/__init__.pyi +138 -138
- bl_ui/space_info/__init__.pyi +30 -30
- bl_ui/space_nla/__init__.pyi +78 -78
- bl_ui/space_node/__init__.pyi +72 -72
- bl_ui/space_outliner/__init__.pyi +72 -72
- bl_ui/space_sequencer/__init__.pyi +204 -204
- bl_ui/space_text/__init__.pyi +72 -72
- bl_ui/space_time/__init__.pyi +24 -24
- bl_ui/space_toolsystem_toolbar/__init__.pyi +4 -0
- bl_ui/space_topbar/__init__.pyi +114 -114
- bl_ui/space_userpref/__init__.pyi +36 -36
- bl_ui/space_view3d/__init__.pyi +1446 -1176
- bl_ui/space_view3d_toolbar/__init__.pyi +30 -30
- bl_ui/utils/__init__.pyi +6 -6
- bmesh/geometry/__init__.pyi +2 -2
- bmesh/ops/__init__.pyi +55 -54
- bmesh/types/__init__.pyi +43 -33
- bmesh/utils/__init__.pyi +2 -2
- bpy/app/handlers/__init__.pyi +37 -37
- bpy/app/icons/__init__.pyi +4 -4
- bpy/app/timers/__init__.pyi +6 -6
- bpy/ops/bl_pkg/__init__.pyi +4 -4
- bpy/ops/image/__init__.pyi +55 -55
- bpy/ops/node/__init__.pyi +18 -0
- bpy/ops/paint/__init__.pyi +66 -0
- bpy/ops/preferences/__init__.pyi +2 -2
- bpy/ops/sculpt/__init__.pyi +126 -0
- bpy/props/__init__.pyi +16 -14
- bpy/types/__init__.pyi +269 -54
- bpy/utils/__init__.pyi +2 -2
- bpy_extras/anim_utils/__init__.pyi +4 -4
- bpy_extras/io_utils/__init__.pyi +4 -4
- bpy_extras/mesh_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +8 -8
- bpy_types/__init__.pyi +12 -12
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/RECORD +92 -89
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +64 -56
- gpu/matrix/__init__.pyi +6 -6
- gpu/types/__init__.pyi +10 -8
- imbuf/__init__.pyi +2 -2
- mathutils/__init__.pyi +176 -137
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/geometry/__init__.pyi +139 -139
- mathutils/kdtree/__init__.pyi +14 -10
- mathutils/noise/__init__.pyi +26 -26
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/top_level.txt +0 -0
bpy/ops/image/__init__.pyi
CHANGED
|
@@ -294,7 +294,7 @@ def import_as_mesh_planes(
|
|
|
294
294
|
force_reload: bool | typing.Any | None = False,
|
|
295
295
|
image_sequence: bool | typing.Any | None = False,
|
|
296
296
|
offset: bool | typing.Any | None = True,
|
|
297
|
-
offset_axis: str | None = "X
|
|
297
|
+
offset_axis: str | None = "+X",
|
|
298
298
|
offset_amount: typing.Any | None = 0.1,
|
|
299
299
|
align_axis: str | None = "CAM_AX",
|
|
300
300
|
prev_align_axis: str | None = "NONE",
|
|
@@ -349,106 +349,106 @@ def import_as_mesh_planes(
|
|
|
349
349
|
:type filter_movie: bool | typing.Any | None
|
|
350
350
|
:param filter_folder: filter_folder
|
|
351
351
|
:type filter_folder: bool | typing.Any | None
|
|
352
|
-
:param force_reload: Force Reload, Force
|
|
352
|
+
:param force_reload: Force Reload, Force reload the image if it is already opened elsewhere in Blender
|
|
353
353
|
:type force_reload: bool | typing.Any | None
|
|
354
|
-
:param image_sequence:
|
|
354
|
+
:param image_sequence: Detect Image Sequences, Import sequentially numbered images as an animated image sequence instead of separate planes
|
|
355
355
|
:type image_sequence: bool | typing.Any | None
|
|
356
|
-
:param offset: Offset Planes, Offset
|
|
356
|
+
:param offset: Offset Planes, Offset planes from each other. If disabled, multiple planes will be created at the same location
|
|
357
357
|
:type offset: bool | typing.Any | None
|
|
358
|
-
:param offset_axis:
|
|
358
|
+
:param offset_axis: Offset Direction, How planes are oriented relative to each others' local axis
|
|
359
359
|
|
|
360
|
-
X
|
|
361
|
-
X
|
|
360
|
+
+X
|
|
361
|
+
+X -- Side by Side to the Left.
|
|
362
362
|
|
|
363
|
-
Y
|
|
364
|
-
Y
|
|
363
|
+
+Y
|
|
364
|
+
+Y -- Side by Side, Downward.
|
|
365
365
|
|
|
366
|
-
Z
|
|
367
|
-
Z
|
|
366
|
+
+Z
|
|
367
|
+
+Z -- Stacked Above.
|
|
368
368
|
|
|
369
|
-
X
|
|
370
|
-
X
|
|
369
|
+
-X
|
|
370
|
+
-X -- Side by Side to the Right.
|
|
371
371
|
|
|
372
|
-
Y
|
|
373
|
-
Y
|
|
372
|
+
-Y
|
|
373
|
+
-Y -- Side by Side, Upward.
|
|
374
374
|
|
|
375
|
-
Z
|
|
376
|
-
Z
|
|
375
|
+
-Z
|
|
376
|
+
-Z -- Stacked Below.
|
|
377
377
|
:type offset_axis: str | None
|
|
378
|
-
:param offset_amount: Offset,
|
|
378
|
+
:param offset_amount: Offset Distance, Set distance between each plane
|
|
379
379
|
:type offset_amount: typing.Any | None
|
|
380
380
|
:param align_axis: Align, How to align the planes
|
|
381
381
|
|
|
382
|
-
X
|
|
383
|
-
X
|
|
382
|
+
+X
|
|
383
|
+
+X -- Facing positive X.
|
|
384
384
|
|
|
385
|
-
Y
|
|
386
|
-
Y
|
|
385
|
+
+Y
|
|
386
|
+
+Y -- Facing positive Y.
|
|
387
387
|
|
|
388
|
-
Z
|
|
389
|
-
Z
|
|
388
|
+
+Z
|
|
389
|
+
+Z -- Facing positive Z.
|
|
390
390
|
|
|
391
|
-
X
|
|
392
|
-
X
|
|
391
|
+
-X
|
|
392
|
+
-X -- Facing negative X.
|
|
393
393
|
|
|
394
|
-
Y
|
|
395
|
-
Y
|
|
394
|
+
-Y
|
|
395
|
+
-Y -- Facing negative Y.
|
|
396
396
|
|
|
397
|
-
Z
|
|
398
|
-
Z
|
|
397
|
+
-Z
|
|
398
|
+
-Z -- Facing negative Z.
|
|
399
399
|
|
|
400
400
|
CAM
|
|
401
|
-
Face Camera -- Facing
|
|
401
|
+
Face Camera -- Facing camera.
|
|
402
402
|
|
|
403
403
|
CAM_AX
|
|
404
|
-
Main Axis -- Facing the
|
|
404
|
+
Camera's Main Axis -- Facing the camera's dominant axis.
|
|
405
405
|
:type align_axis: str | None
|
|
406
406
|
:param prev_align_axis: prev_align_axis
|
|
407
407
|
|
|
408
|
-
X
|
|
409
|
-
X
|
|
408
|
+
+X
|
|
409
|
+
+X -- Facing positive X.
|
|
410
410
|
|
|
411
|
-
Y
|
|
412
|
-
Y
|
|
411
|
+
+Y
|
|
412
|
+
+Y -- Facing positive Y.
|
|
413
413
|
|
|
414
|
-
Z
|
|
415
|
-
Z
|
|
414
|
+
+Z
|
|
415
|
+
+Z -- Facing positive Z.
|
|
416
416
|
|
|
417
|
-
X
|
|
418
|
-
X
|
|
417
|
+
-X
|
|
418
|
+
-X -- Facing negative X.
|
|
419
419
|
|
|
420
|
-
Y
|
|
421
|
-
Y
|
|
420
|
+
-Y
|
|
421
|
+
-Y -- Facing negative Y.
|
|
422
422
|
|
|
423
|
-
Z
|
|
424
|
-
Z
|
|
423
|
+
-Z
|
|
424
|
+
-Z -- Facing negative Z.
|
|
425
425
|
|
|
426
426
|
CAM
|
|
427
|
-
Face Camera -- Facing
|
|
427
|
+
Face Camera -- Facing camera.
|
|
428
428
|
|
|
429
429
|
CAM_AX
|
|
430
|
-
Main Axis -- Facing the
|
|
430
|
+
Camera's Main Axis -- Facing the camera's dominant axis.
|
|
431
431
|
|
|
432
432
|
NONE
|
|
433
433
|
Undocumented.
|
|
434
434
|
:type prev_align_axis: str | None
|
|
435
|
-
:param align_track: Track Camera,
|
|
435
|
+
:param align_track: Track Camera, Add a constraint to make the planes track the camera
|
|
436
436
|
:type align_track: bool | typing.Any | None
|
|
437
|
-
:param size_mode: Size Mode,
|
|
437
|
+
:param size_mode: Size Mode, Method for computing the plane size
|
|
438
438
|
|
|
439
439
|
ABSOLUTE
|
|
440
440
|
Absolute -- Use absolute size.
|
|
441
441
|
|
|
442
442
|
CAMERA
|
|
443
|
-
Camera
|
|
443
|
+
Scale to Camera Frame -- Scale to fit or fill the camera frame.
|
|
444
444
|
|
|
445
445
|
DPI
|
|
446
|
-
|
|
446
|
+
Pixels per Inch -- Scale based on pixels per inch.
|
|
447
447
|
|
|
448
448
|
DPBU
|
|
449
|
-
|
|
449
|
+
Pixels per Blender Unit -- Scale based on pixels per Blender Unit.
|
|
450
450
|
:type size_mode: str | None
|
|
451
|
-
:param fill_mode: Scale,
|
|
451
|
+
:param fill_mode: Scale, Method to scale the plane with the camera frame
|
|
452
452
|
|
|
453
453
|
FILL
|
|
454
454
|
Fill -- Fill camera frame, spilling outside the frame.
|
|
@@ -471,7 +471,7 @@ def import_as_mesh_planes(
|
|
|
471
471
|
EMISSION
|
|
472
472
|
Emit -- Emission Shader.
|
|
473
473
|
:type shader: str | None
|
|
474
|
-
:param emit_strength: Strength,
|
|
474
|
+
:param emit_strength: Emission Strength, Strength of emission
|
|
475
475
|
:type emit_strength: typing.Any | None
|
|
476
476
|
:param use_transparency: Use Alpha, Use alpha channel for transparency
|
|
477
477
|
:type use_transparency: bool | typing.Any | None
|
|
@@ -503,11 +503,11 @@ def import_as_mesh_planes(
|
|
|
503
503
|
NONE
|
|
504
504
|
None -- Material will cast no shadow.
|
|
505
505
|
:type shadow_method: str | None
|
|
506
|
-
:param use_backface_culling: Backface Culling, Use
|
|
506
|
+
:param use_backface_culling: Backface Culling, Use backface culling to hide the back side of faces
|
|
507
507
|
:type use_backface_culling: bool | typing.Any | None
|
|
508
508
|
:param show_transparent_back: Show Backface, Render multiple transparent layers (may introduce transparency sorting problems)
|
|
509
509
|
:type show_transparent_back: bool | typing.Any | None
|
|
510
|
-
:param overwrite_material: Overwrite Material, Overwrite existing
|
|
510
|
+
:param overwrite_material: Overwrite Material, Overwrite existing material with the same name
|
|
511
511
|
:type overwrite_material: bool | typing.Any | None
|
|
512
512
|
:param interpolation: Interpolation, Texture interpolation
|
|
513
513
|
|
bpy/ops/node/__init__.pyi
CHANGED
|
@@ -548,6 +548,24 @@ def collapse_hide_unused_toggle(
|
|
|
548
548
|
|
|
549
549
|
...
|
|
550
550
|
|
|
551
|
+
def connect_to_output(
|
|
552
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
553
|
+
execution_context: str | int | None = None,
|
|
554
|
+
undo: bool | None = None,
|
|
555
|
+
*,
|
|
556
|
+
run_in_geometry_nodes: bool | typing.Any | None = True,
|
|
557
|
+
):
|
|
558
|
+
"""Connect active node to the active output node of the node tree
|
|
559
|
+
|
|
560
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
561
|
+
:type execution_context: str | int | None
|
|
562
|
+
:type undo: bool | None
|
|
563
|
+
:param run_in_geometry_nodes: Run in Geometry Nodes Editor
|
|
564
|
+
:type run_in_geometry_nodes: bool | typing.Any | None
|
|
565
|
+
"""
|
|
566
|
+
|
|
567
|
+
...
|
|
568
|
+
|
|
551
569
|
def cryptomatte_layer_add(
|
|
552
570
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
553
571
|
execution_context: str | int | None = None,
|
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -753,6 +753,42 @@ def mask_line_gesture(
|
|
|
753
753
|
|
|
754
754
|
...
|
|
755
755
|
|
|
756
|
+
def mask_polyline_gesture(
|
|
757
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
758
|
+
execution_context: str | int | None = None,
|
|
759
|
+
undo: bool | None = None,
|
|
760
|
+
*,
|
|
761
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
762
|
+
use_front_faces_only: bool | typing.Any | None = False,
|
|
763
|
+
mode: str | None = "VALUE",
|
|
764
|
+
value: typing.Any | None = 1.0,
|
|
765
|
+
):
|
|
766
|
+
"""Mask within a shape defined by the cursor
|
|
767
|
+
|
|
768
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
769
|
+
:type execution_context: str | int | None
|
|
770
|
+
:type undo: bool | None
|
|
771
|
+
:param path: Path
|
|
772
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
773
|
+
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
774
|
+
:type use_front_faces_only: bool | typing.Any | None
|
|
775
|
+
:param mode: Mode
|
|
776
|
+
|
|
777
|
+
VALUE
|
|
778
|
+
Value -- Set mask to the level specified by the 'value' property.
|
|
779
|
+
|
|
780
|
+
VALUE_INVERSE
|
|
781
|
+
Value Inverted -- Set mask to the level specified by the inverted 'value' property.
|
|
782
|
+
|
|
783
|
+
INVERT
|
|
784
|
+
Invert -- Invert the mask.
|
|
785
|
+
:type mode: str | None
|
|
786
|
+
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
787
|
+
:type value: typing.Any | None
|
|
788
|
+
"""
|
|
789
|
+
|
|
790
|
+
...
|
|
791
|
+
|
|
756
792
|
def project_image(
|
|
757
793
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
758
794
|
execution_context: str | int | None = None,
|
|
@@ -1147,6 +1183,36 @@ def vertex_paint_toggle(
|
|
|
1147
1183
|
|
|
1148
1184
|
...
|
|
1149
1185
|
|
|
1186
|
+
def visibility_filter(
|
|
1187
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1188
|
+
execution_context: str | int | None = None,
|
|
1189
|
+
undo: bool | None = None,
|
|
1190
|
+
*,
|
|
1191
|
+
action: str | None = "GROW",
|
|
1192
|
+
iterations: typing.Any | None = 1,
|
|
1193
|
+
auto_iteration_count: bool | typing.Any | None = True,
|
|
1194
|
+
):
|
|
1195
|
+
"""Edit the visibility of the current mesh
|
|
1196
|
+
|
|
1197
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1198
|
+
:type execution_context: str | int | None
|
|
1199
|
+
:type undo: bool | None
|
|
1200
|
+
:param action: Action
|
|
1201
|
+
|
|
1202
|
+
GROW
|
|
1203
|
+
Grow Visibility -- Grow the visibility by one face based on mesh topology.
|
|
1204
|
+
|
|
1205
|
+
SHRINK
|
|
1206
|
+
Shrink Visibility -- Shrink the visibility by one face based on mesh topology.
|
|
1207
|
+
:type action: str | None
|
|
1208
|
+
:param iterations: Iterations, Number of times that the filter is going to be applied
|
|
1209
|
+
:type iterations: typing.Any | None
|
|
1210
|
+
:param auto_iteration_count: Auto Iteration Count, Use an automatic number of iterations based on the number of vertices of the sculpt
|
|
1211
|
+
:type auto_iteration_count: bool | typing.Any | None
|
|
1212
|
+
"""
|
|
1213
|
+
|
|
1214
|
+
...
|
|
1215
|
+
|
|
1150
1216
|
def visibility_invert(
|
|
1151
1217
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1152
1218
|
execution_context: str | int | None = None,
|
bpy/ops/preferences/__init__.pyi
CHANGED
|
@@ -420,7 +420,7 @@ def extension_repo_sync(
|
|
|
420
420
|
execution_context: str | int | None = None,
|
|
421
421
|
undo: bool | None = None,
|
|
422
422
|
):
|
|
423
|
-
"""
|
|
423
|
+
"""Refresh the list of extensions for the active repository
|
|
424
424
|
|
|
425
425
|
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
426
426
|
:type execution_context: str | int | None
|
|
@@ -434,7 +434,7 @@ def extension_repo_upgrade(
|
|
|
434
434
|
execution_context: str | int | None = None,
|
|
435
435
|
undo: bool | None = None,
|
|
436
436
|
):
|
|
437
|
-
"""
|
|
437
|
+
"""Upgrade all the extensions to their latest version for the active repository
|
|
438
438
|
|
|
439
439
|
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
440
440
|
:type execution_context: str | int | None
|
bpy/ops/sculpt/__init__.pyi
CHANGED
|
@@ -399,6 +399,66 @@ def face_set_lasso_gesture(
|
|
|
399
399
|
|
|
400
400
|
...
|
|
401
401
|
|
|
402
|
+
def face_set_line_gesture(
|
|
403
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
404
|
+
execution_context: str | int | None = None,
|
|
405
|
+
undo: bool | None = None,
|
|
406
|
+
*,
|
|
407
|
+
xstart: typing.Any | None = 0,
|
|
408
|
+
xend: typing.Any | None = 0,
|
|
409
|
+
ystart: typing.Any | None = 0,
|
|
410
|
+
yend: typing.Any | None = 0,
|
|
411
|
+
flip: bool | typing.Any | None = False,
|
|
412
|
+
cursor: typing.Any | None = 5,
|
|
413
|
+
use_front_faces_only: bool | typing.Any | None = False,
|
|
414
|
+
use_limit_to_segment: bool | typing.Any | None = False,
|
|
415
|
+
):
|
|
416
|
+
"""Add a face set to one side of a line defined by the cursor
|
|
417
|
+
|
|
418
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
419
|
+
:type execution_context: str | int | None
|
|
420
|
+
:type undo: bool | None
|
|
421
|
+
:param xstart: X Start
|
|
422
|
+
:type xstart: typing.Any | None
|
|
423
|
+
:param xend: X End
|
|
424
|
+
:type xend: typing.Any | None
|
|
425
|
+
:param ystart: Y Start
|
|
426
|
+
:type ystart: typing.Any | None
|
|
427
|
+
:param yend: Y End
|
|
428
|
+
:type yend: typing.Any | None
|
|
429
|
+
:param flip: Flip
|
|
430
|
+
:type flip: bool | typing.Any | None
|
|
431
|
+
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
432
|
+
:type cursor: typing.Any | None
|
|
433
|
+
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
434
|
+
:type use_front_faces_only: bool | typing.Any | None
|
|
435
|
+
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
436
|
+
:type use_limit_to_segment: bool | typing.Any | None
|
|
437
|
+
"""
|
|
438
|
+
|
|
439
|
+
...
|
|
440
|
+
|
|
441
|
+
def face_set_polyline_gesture(
|
|
442
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
443
|
+
execution_context: str | int | None = None,
|
|
444
|
+
undo: bool | None = None,
|
|
445
|
+
*,
|
|
446
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
447
|
+
use_front_faces_only: bool | typing.Any | None = False,
|
|
448
|
+
):
|
|
449
|
+
"""Add a face set in a shape defined by the cursor
|
|
450
|
+
|
|
451
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
452
|
+
:type execution_context: str | int | None
|
|
453
|
+
:type undo: bool | None
|
|
454
|
+
:param path: Path
|
|
455
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
456
|
+
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
457
|
+
:type use_front_faces_only: bool | typing.Any | None
|
|
458
|
+
"""
|
|
459
|
+
|
|
460
|
+
...
|
|
461
|
+
|
|
402
462
|
def face_sets_create(
|
|
403
463
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
404
464
|
execution_context: str | int | None = None,
|
|
@@ -1114,6 +1174,72 @@ def trim_line_gesture(
|
|
|
1114
1174
|
|
|
1115
1175
|
...
|
|
1116
1176
|
|
|
1177
|
+
def trim_polyline_gesture(
|
|
1178
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1179
|
+
execution_context: str | int | None = None,
|
|
1180
|
+
undo: bool | None = None,
|
|
1181
|
+
*,
|
|
1182
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
1183
|
+
use_front_faces_only: bool | typing.Any | None = False,
|
|
1184
|
+
location: typing.Any | None = (0, 0),
|
|
1185
|
+
trim_mode: str | None = "DIFFERENCE",
|
|
1186
|
+
use_cursor_depth: bool | typing.Any | None = False,
|
|
1187
|
+
trim_orientation: str | None = "VIEW",
|
|
1188
|
+
trim_extrude_mode: str | None = "FIXED",
|
|
1189
|
+
trim_solver: str | None = "FAST",
|
|
1190
|
+
):
|
|
1191
|
+
"""Execute a boolean operation on the mesh and a polygonal shape defined by the cursor
|
|
1192
|
+
|
|
1193
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1194
|
+
:type execution_context: str | int | None
|
|
1195
|
+
:type undo: bool | None
|
|
1196
|
+
:param path: Path
|
|
1197
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
1198
|
+
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
1199
|
+
:type use_front_faces_only: bool | typing.Any | None
|
|
1200
|
+
:param location: Location, Mouse location
|
|
1201
|
+
:type location: typing.Any | None
|
|
1202
|
+
:param trim_mode: Trim Mode
|
|
1203
|
+
|
|
1204
|
+
DIFFERENCE
|
|
1205
|
+
Difference -- Use a difference boolean operation.
|
|
1206
|
+
|
|
1207
|
+
UNION
|
|
1208
|
+
Union -- Use a union boolean operation.
|
|
1209
|
+
|
|
1210
|
+
JOIN
|
|
1211
|
+
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
1212
|
+
:type trim_mode: str | None
|
|
1213
|
+
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
1214
|
+
:type use_cursor_depth: bool | typing.Any | None
|
|
1215
|
+
:param trim_orientation: Shape Orientation
|
|
1216
|
+
|
|
1217
|
+
VIEW
|
|
1218
|
+
View -- Use the view to orientate the trimming shape.
|
|
1219
|
+
|
|
1220
|
+
SURFACE
|
|
1221
|
+
Surface -- Use the surface normal to orientate the trimming shape.
|
|
1222
|
+
:type trim_orientation: str | None
|
|
1223
|
+
:param trim_extrude_mode: Extrude Mode
|
|
1224
|
+
|
|
1225
|
+
PROJECT
|
|
1226
|
+
Project -- Project back faces when extruding.
|
|
1227
|
+
|
|
1228
|
+
FIXED
|
|
1229
|
+
Fixed -- Extrude back faces by fixed amount.
|
|
1230
|
+
:type trim_extrude_mode: str | None
|
|
1231
|
+
:param trim_solver: Solver
|
|
1232
|
+
|
|
1233
|
+
EXACT
|
|
1234
|
+
Exact -- Use the exact boolean solver.
|
|
1235
|
+
|
|
1236
|
+
FAST
|
|
1237
|
+
Fast -- Use the fast float boolean solver.
|
|
1238
|
+
:type trim_solver: str | None
|
|
1239
|
+
"""
|
|
1240
|
+
|
|
1241
|
+
...
|
|
1242
|
+
|
|
1117
1243
|
def uv_sculpt_grab(
|
|
1118
1244
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1119
1245
|
execution_context: str | int | None = None,
|
bpy/props/__init__.pyi
CHANGED
|
@@ -142,12 +142,12 @@ def BoolVectorProperty(
|
|
|
142
142
|
name: str | None = "",
|
|
143
143
|
description: str | None = "",
|
|
144
144
|
translation_context: str | None = "*",
|
|
145
|
-
default:
|
|
145
|
+
default: collections.abc.Sequence | None = (False, False, False),
|
|
146
146
|
options: set | None = {"ANIMATABLE"},
|
|
147
147
|
override: set | None = None(),
|
|
148
148
|
tags: set | None = None(),
|
|
149
149
|
subtype: str | None = "NONE",
|
|
150
|
-
size: int |
|
|
150
|
+
size: int | collections.abc.Sequence[int] | None = 3,
|
|
151
151
|
update: typing.Any | None = None,
|
|
152
152
|
get: typing.Any | None = None,
|
|
153
153
|
set: typing.Any | None = None,
|
|
@@ -161,7 +161,7 @@ def BoolVectorProperty(
|
|
|
161
161
|
:param translation_context: Text used as context to disambiguate translations.
|
|
162
162
|
:type translation_context: str | None
|
|
163
163
|
:param default: sequence of booleans the length of size.
|
|
164
|
-
:type default:
|
|
164
|
+
:type default: collections.abc.Sequence | None
|
|
165
165
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
166
166
|
:type options: set | None
|
|
167
167
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
@@ -171,7 +171,7 @@ def BoolVectorProperty(
|
|
|
171
171
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
172
172
|
:type subtype: str | None
|
|
173
173
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
174
|
-
:type size: int |
|
|
174
|
+
:type size: int | collections.abc.Sequence[int] | None
|
|
175
175
|
:param update: Function to be called when this value is modified,
|
|
176
176
|
This function must take 2 values (self, context) and return None.
|
|
177
177
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -217,7 +217,9 @@ def CollectionProperty(
|
|
|
217
217
|
|
|
218
218
|
def EnumProperty(
|
|
219
219
|
*,
|
|
220
|
-
items:
|
|
220
|
+
items: collections.abc.Iterable[collections.abc.Iterable[str]]
|
|
221
|
+
| collections.abc.Callable
|
|
222
|
+
| None,
|
|
221
223
|
name: str | None = "",
|
|
222
224
|
description: str | None = "",
|
|
223
225
|
translation_context: str | None = "*",
|
|
@@ -269,7 +271,7 @@ def EnumProperty(
|
|
|
269
271
|
There is a known bug with using a callback,
|
|
270
272
|
Python must keep a reference to the strings returned by the callback or Blender
|
|
271
273
|
will misbehave or even crash.
|
|
272
|
-
:type items:
|
|
274
|
+
:type items: collections.abc.Iterable[collections.abc.Iterable[str]] | collections.abc.Callable | None
|
|
273
275
|
:param name: Name used in the user interface.
|
|
274
276
|
:type name: str | None
|
|
275
277
|
:param description: Text used for the tooltip and api documentation.
|
|
@@ -371,7 +373,7 @@ def FloatVectorProperty(
|
|
|
371
373
|
name: str | None = "",
|
|
372
374
|
description: str | None = "",
|
|
373
375
|
translation_context: str | None = "*",
|
|
374
|
-
default:
|
|
376
|
+
default: collections.abc.Sequence | None = (0.0, 0.0, 0.0),
|
|
375
377
|
min: float | None = None,
|
|
376
378
|
max: float | None = None,
|
|
377
379
|
soft_min: float | None = None,
|
|
@@ -383,7 +385,7 @@ def FloatVectorProperty(
|
|
|
383
385
|
tags: set | None = None(),
|
|
384
386
|
subtype: str | None = "NONE",
|
|
385
387
|
unit: str | None = "NONE",
|
|
386
|
-
size: int |
|
|
388
|
+
size: int | collections.abc.Sequence[int] | None = 3,
|
|
387
389
|
update: typing.Any | None = None,
|
|
388
390
|
get: typing.Any | None = None,
|
|
389
391
|
set: typing.Any | None = None,
|
|
@@ -397,7 +399,7 @@ def FloatVectorProperty(
|
|
|
397
399
|
:param translation_context: Text used as context to disambiguate translations.
|
|
398
400
|
:type translation_context: str | None
|
|
399
401
|
:param default: sequence of floats the length of size.
|
|
400
|
-
:type default:
|
|
402
|
+
:type default: collections.abc.Sequence | None
|
|
401
403
|
:param min: Hard minimum, trying to assign a value below will silently assign this minimum instead.
|
|
402
404
|
:type min: float | None
|
|
403
405
|
:param max: Hard maximum, trying to assign a value above will silently assign this maximum instead.
|
|
@@ -421,7 +423,7 @@ def FloatVectorProperty(
|
|
|
421
423
|
:param unit: Enumerator in `rna_enum_property_unit_items`.
|
|
422
424
|
:type unit: str | None
|
|
423
425
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
424
|
-
:type size: int |
|
|
426
|
+
:type size: int | collections.abc.Sequence[int] | None
|
|
425
427
|
:param update: Function to be called when this value is modified,
|
|
426
428
|
This function must take 2 values (self, context) and return None.
|
|
427
429
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -500,7 +502,7 @@ def IntVectorProperty(
|
|
|
500
502
|
name: str | None = "",
|
|
501
503
|
description: str | None = "",
|
|
502
504
|
translation_context: str | None = "*",
|
|
503
|
-
default:
|
|
505
|
+
default: collections.abc.Sequence | None = (0, 0, 0),
|
|
504
506
|
min: int | None = None,
|
|
505
507
|
max: int | None = None,
|
|
506
508
|
soft_min: int | None = None,
|
|
@@ -510,7 +512,7 @@ def IntVectorProperty(
|
|
|
510
512
|
override: set | None = None(),
|
|
511
513
|
tags: set | None = None(),
|
|
512
514
|
subtype: str | None = "NONE",
|
|
513
|
-
size: int |
|
|
515
|
+
size: int | collections.abc.Sequence[int] | None = 3,
|
|
514
516
|
update: typing.Any | None = None,
|
|
515
517
|
get: typing.Any | None = None,
|
|
516
518
|
set: typing.Any | None = None,
|
|
@@ -524,7 +526,7 @@ def IntVectorProperty(
|
|
|
524
526
|
:param translation_context: Text used as context to disambiguate translations.
|
|
525
527
|
:type translation_context: str | None
|
|
526
528
|
:param default: sequence of ints the length of size.
|
|
527
|
-
:type default:
|
|
529
|
+
:type default: collections.abc.Sequence | None
|
|
528
530
|
:param min: Hard minimum, trying to assign a value below will silently assign this minimum instead.
|
|
529
531
|
:type min: int | None
|
|
530
532
|
:param max: Hard maximum, trying to assign a value above will silently assign this maximum instead.
|
|
@@ -544,7 +546,7 @@ def IntVectorProperty(
|
|
|
544
546
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
545
547
|
:type subtype: str | None
|
|
546
548
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
547
|
-
:type size: int |
|
|
549
|
+
:type size: int | collections.abc.Sequence[int] | None
|
|
548
550
|
:param update: Function to be called when this value is modified,
|
|
549
551
|
This function must take 2 values (self, context) and return None.
|
|
550
552
|
Warning there are no safety checks to avoid infinite recursion.
|