fake-bpy-module 20250104__py3-none-any.whl → 20250109__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.
- bgl/__init__.pyi +2 -2
- bl_ui/node_add_menu_shader/__init__.pyi +0 -1
- bl_ui/properties_data_camera/__init__.pyi +0 -2
- bl_ui/space_node/__init__.pyi +0 -1
- bpy/__init__.pyi +0 -1
- bpy/_typing/__init__.pyi +4 -0
- bpy/{typing → _typing/rna_enums}/__init__.pyi +9 -9
- bpy/app/__init__.pyi +3 -3
- bpy/ops/action/__init__.pyi +13 -13
- bpy/ops/boid/__init__.pyi +3 -3
- bpy/ops/brush/__init__.pyi +3 -3
- bpy/ops/clip/__init__.pyi +3 -3
- bpy/ops/curve/__init__.pyi +5 -5
- bpy/ops/curves/__init__.pyi +9 -9
- bpy/ops/dpaint/__init__.pyi +3 -3
- bpy/ops/geometry/__init__.pyi +19 -19
- bpy/ops/graph/__init__.pyi +17 -17
- bpy/ops/grease_pencil/__init__.pyi +9 -27
- bpy/ops/image/__init__.pyi +9 -9
- bpy/ops/lattice/__init__.pyi +3 -3
- bpy/ops/mesh/__init__.pyi +54 -43
- bpy/ops/nla/__init__.pyi +3 -3
- bpy/ops/node/__init__.pyi +3 -3
- bpy/ops/object/__init__.pyi +69 -69
- bpy/ops/outliner/__init__.pyi +5 -5
- bpy/ops/paint/__init__.pyi +7 -7
- bpy/ops/pose/__init__.pyi +13 -13
- bpy/ops/rigidbody/__init__.pyi +9 -9
- bpy/ops/scene/__init__.pyi +10 -9
- bpy/ops/screen/__init__.pyi +7 -7
- bpy/ops/sequencer/__init__.pyi +3 -3
- bpy/ops/sound/__init__.pyi +3 -3
- bpy/ops/transform/__init__.pyi +87 -73
- bpy/ops/uv/__init__.pyi +9 -9
- bpy/ops/wm/__init__.pyi +18 -15
- bpy/props/__init__.pyi +63 -63
- bpy/types/__init__.pyi +32616 -32500
- bpy/utils/__init__.pyi +29 -10
- {fake_bpy_module-20250104.dist-info → fake_bpy_module-20250109.dist-info}/METADATA +2 -2
- {fake_bpy_module-20250104.dist-info → fake_bpy_module-20250109.dist-info}/RECORD +46 -45
- {fake_bpy_module-20250104.dist-info → fake_bpy_module-20250109.dist-info}/WHEEL +1 -1
- freestyle/shaders/__init__.pyi +5 -1
- freestyle/types/__init__.pyi +5 -2
- freestyle/utils/__init__.pyi +1 -1
- gpu_extras/batch/__init__.pyi +2 -3
- {fake_bpy_module-20250104.dist-info → fake_bpy_module-20250109.dist-info}/top_level.txt +0 -0
bpy/ops/transform/__init__.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.
|
|
4
|
+
import bpy._typing.rna_enums
|
|
5
5
|
import mathutils
|
|
6
6
|
|
|
7
7
|
def bbone_resize(
|
|
@@ -50,7 +50,8 @@ def bend(
|
|
|
50
50
|
value: collections.abc.Iterable[float] | None = 0.0,
|
|
51
51
|
mirror: bool | None = False,
|
|
52
52
|
use_proportional_edit: bool | None = False,
|
|
53
|
-
proportional_edit_falloff: bpy.
|
|
53
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
54
|
+
| None = "SMOOTH",
|
|
54
55
|
proportional_size: float | None = 1.0,
|
|
55
56
|
use_proportional_connected: bool | None = False,
|
|
56
57
|
use_proportional_projected: bool | None = False,
|
|
@@ -75,7 +76,7 @@ def bend(
|
|
|
75
76
|
:param use_proportional_edit: Proportional Editing
|
|
76
77
|
:type use_proportional_edit: bool | None
|
|
77
78
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
78
|
-
:type proportional_edit_falloff: bpy.
|
|
79
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
79
80
|
:param proportional_size: Proportional Size
|
|
80
81
|
:type proportional_size: float | None
|
|
81
82
|
:param use_proportional_connected: Connected
|
|
@@ -187,9 +188,9 @@ def edge_slide(
|
|
|
187
188
|
use_clamp: bool | None = True,
|
|
188
189
|
mirror: bool | None = False,
|
|
189
190
|
snap: bool | None = False,
|
|
190
|
-
snap_elements: set[bpy.
|
|
191
|
+
snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None = {"INCREMENT"},
|
|
191
192
|
use_snap_project: bool | None = False,
|
|
192
|
-
snap_target: bpy.
|
|
193
|
+
snap_target: bpy._typing.rna_enums.SnapSourceItems | None = "CLOSEST",
|
|
193
194
|
use_snap_self: bool | None = True,
|
|
194
195
|
use_snap_edit: bool | None = True,
|
|
195
196
|
use_snap_nonedit: bool | None = True,
|
|
@@ -222,11 +223,11 @@ def edge_slide(
|
|
|
222
223
|
:param snap: Use Snapping Options
|
|
223
224
|
:type snap: bool | None
|
|
224
225
|
:param snap_elements: Snap to Elements
|
|
225
|
-
:type snap_elements: set[bpy.
|
|
226
|
+
:type snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None
|
|
226
227
|
:param use_snap_project: Project Individual Elements
|
|
227
228
|
:type use_snap_project: bool | None
|
|
228
229
|
:param snap_target: Snap Base, Point on source that will snap to target
|
|
229
|
-
:type snap_target: bpy.
|
|
230
|
+
:type snap_target: bpy._typing.rna_enums.SnapSourceItems | None
|
|
230
231
|
:param use_snap_self: Target: Include Active
|
|
231
232
|
:type use_snap_self: bool | None
|
|
232
233
|
:param use_snap_edit: Target: Include Edit
|
|
@@ -302,7 +303,8 @@ def push_pull(
|
|
|
302
303
|
value: float | None = 0.0,
|
|
303
304
|
mirror: bool | None = False,
|
|
304
305
|
use_proportional_edit: bool | None = False,
|
|
305
|
-
proportional_edit_falloff: bpy.
|
|
306
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
307
|
+
| None = "SMOOTH",
|
|
306
308
|
proportional_size: float | None = 1.0,
|
|
307
309
|
use_proportional_connected: bool | None = False,
|
|
308
310
|
use_proportional_projected: bool | None = False,
|
|
@@ -326,7 +328,7 @@ def push_pull(
|
|
|
326
328
|
:param use_proportional_edit: Proportional Editing
|
|
327
329
|
:type use_proportional_edit: bool | None
|
|
328
330
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
329
|
-
:type proportional_edit_falloff: bpy.
|
|
331
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
330
332
|
:param proportional_size: Proportional Size
|
|
331
333
|
:type proportional_size: float | None
|
|
332
334
|
:param use_proportional_connected: Connected
|
|
@@ -362,14 +364,15 @@ def resize(
|
|
|
362
364
|
constraint_axis: collections.abc.Iterable[bool] | None = (False, False, False),
|
|
363
365
|
mirror: bool | None = False,
|
|
364
366
|
use_proportional_edit: bool | None = False,
|
|
365
|
-
proportional_edit_falloff: bpy.
|
|
367
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
368
|
+
| None = "SMOOTH",
|
|
366
369
|
proportional_size: float | None = 1.0,
|
|
367
370
|
use_proportional_connected: bool | None = False,
|
|
368
371
|
use_proportional_projected: bool | None = False,
|
|
369
372
|
snap: bool | None = False,
|
|
370
|
-
snap_elements: set[bpy.
|
|
373
|
+
snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None = {"INCREMENT"},
|
|
371
374
|
use_snap_project: bool | None = False,
|
|
372
|
-
snap_target: bpy.
|
|
375
|
+
snap_target: bpy._typing.rna_enums.SnapSourceItems | None = "CLOSEST",
|
|
373
376
|
use_snap_self: bool | None = True,
|
|
374
377
|
use_snap_edit: bool | None = True,
|
|
375
378
|
use_snap_nonedit: bool | None = True,
|
|
@@ -412,7 +415,7 @@ def resize(
|
|
|
412
415
|
:param use_proportional_edit: Proportional Editing
|
|
413
416
|
:type use_proportional_edit: bool | None
|
|
414
417
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
415
|
-
:type proportional_edit_falloff: bpy.
|
|
418
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
416
419
|
:param proportional_size: Proportional Size
|
|
417
420
|
:type proportional_size: float | None
|
|
418
421
|
:param use_proportional_connected: Connected
|
|
@@ -422,11 +425,11 @@ def resize(
|
|
|
422
425
|
:param snap: Use Snapping Options
|
|
423
426
|
:type snap: bool | None
|
|
424
427
|
:param snap_elements: Snap to Elements
|
|
425
|
-
:type snap_elements: set[bpy.
|
|
428
|
+
:type snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None
|
|
426
429
|
:param use_snap_project: Project Individual Elements
|
|
427
430
|
:type use_snap_project: bool | None
|
|
428
431
|
:param snap_target: Snap Base, Point on source that will snap to target
|
|
429
|
-
:type snap_target: bpy.
|
|
432
|
+
:type snap_target: bpy._typing.rna_enums.SnapSourceItems | None
|
|
430
433
|
:param use_snap_self: Target: Include Active
|
|
431
434
|
:type use_snap_self: bool | None
|
|
432
435
|
:param use_snap_edit: Target: Include Edit
|
|
@@ -459,7 +462,7 @@ def rotate(
|
|
|
459
462
|
/,
|
|
460
463
|
*,
|
|
461
464
|
value: float | None = 0.0,
|
|
462
|
-
orient_axis: bpy.
|
|
465
|
+
orient_axis: bpy._typing.rna_enums.AxisXyzItems | None = "Z",
|
|
463
466
|
orient_type: str | None = "GLOBAL",
|
|
464
467
|
orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
465
468
|
| mathutils.Matrix
|
|
@@ -468,14 +471,15 @@ def rotate(
|
|
|
468
471
|
constraint_axis: collections.abc.Iterable[bool] | None = (False, False, False),
|
|
469
472
|
mirror: bool | None = False,
|
|
470
473
|
use_proportional_edit: bool | None = False,
|
|
471
|
-
proportional_edit_falloff: bpy.
|
|
474
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
475
|
+
| None = "SMOOTH",
|
|
472
476
|
proportional_size: float | None = 1.0,
|
|
473
477
|
use_proportional_connected: bool | None = False,
|
|
474
478
|
use_proportional_projected: bool | None = False,
|
|
475
479
|
snap: bool | None = False,
|
|
476
|
-
snap_elements: set[bpy.
|
|
480
|
+
snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None = {"INCREMENT"},
|
|
477
481
|
use_snap_project: bool | None = False,
|
|
478
|
-
snap_target: bpy.
|
|
482
|
+
snap_target: bpy._typing.rna_enums.SnapSourceItems | None = "CLOSEST",
|
|
479
483
|
use_snap_self: bool | None = True,
|
|
480
484
|
use_snap_edit: bool | None = True,
|
|
481
485
|
use_snap_nonedit: bool | None = True,
|
|
@@ -501,7 +505,7 @@ def rotate(
|
|
|
501
505
|
:param value: Angle
|
|
502
506
|
:type value: float | None
|
|
503
507
|
:param orient_axis: Axis
|
|
504
|
-
:type orient_axis: bpy.
|
|
508
|
+
:type orient_axis: bpy._typing.rna_enums.AxisXyzItems | None
|
|
505
509
|
:param orient_type: Orientation, Transformation orientation
|
|
506
510
|
:type orient_type: str | None
|
|
507
511
|
:param orient_matrix: Matrix
|
|
@@ -515,7 +519,7 @@ def rotate(
|
|
|
515
519
|
:param use_proportional_edit: Proportional Editing
|
|
516
520
|
:type use_proportional_edit: bool | None
|
|
517
521
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
518
|
-
:type proportional_edit_falloff: bpy.
|
|
522
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
519
523
|
:param proportional_size: Proportional Size
|
|
520
524
|
:type proportional_size: float | None
|
|
521
525
|
:param use_proportional_connected: Connected
|
|
@@ -525,11 +529,11 @@ def rotate(
|
|
|
525
529
|
:param snap: Use Snapping Options
|
|
526
530
|
:type snap: bool | None
|
|
527
531
|
:param snap_elements: Snap to Elements
|
|
528
|
-
:type snap_elements: set[bpy.
|
|
532
|
+
:type snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None
|
|
529
533
|
:param use_snap_project: Project Individual Elements
|
|
530
534
|
:type use_snap_project: bool | None
|
|
531
535
|
:param snap_target: Snap Base, Point on source that will snap to target
|
|
532
|
-
:type snap_target: bpy.
|
|
536
|
+
:type snap_target: bpy._typing.rna_enums.SnapSourceItems | None
|
|
533
537
|
:param use_snap_self: Target: Include Active
|
|
534
538
|
:type use_snap_self: bool | None
|
|
535
539
|
:param use_snap_edit: Target: Include Edit
|
|
@@ -556,7 +560,7 @@ def rotate_normal(
|
|
|
556
560
|
/,
|
|
557
561
|
*,
|
|
558
562
|
value: float | None = 0.0,
|
|
559
|
-
orient_axis: bpy.
|
|
563
|
+
orient_axis: bpy._typing.rna_enums.AxisXyzItems | None = "Z",
|
|
560
564
|
orient_type: str | None = "GLOBAL",
|
|
561
565
|
orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
562
566
|
| mathutils.Matrix
|
|
@@ -574,7 +578,7 @@ def rotate_normal(
|
|
|
574
578
|
:param value: Angle
|
|
575
579
|
:type value: float | None
|
|
576
580
|
:param orient_axis: Axis
|
|
577
|
-
:type orient_axis: bpy.
|
|
581
|
+
:type orient_axis: bpy._typing.rna_enums.AxisXyzItems | None
|
|
578
582
|
:param orient_type: Orientation, Transformation orientation
|
|
579
583
|
:type orient_type: str | None
|
|
580
584
|
:param orient_matrix: Matrix
|
|
@@ -642,8 +646,8 @@ def shear(
|
|
|
642
646
|
/,
|
|
643
647
|
*,
|
|
644
648
|
value: float | None = 0.0,
|
|
645
|
-
orient_axis: bpy.
|
|
646
|
-
orient_axis_ortho: bpy.
|
|
649
|
+
orient_axis: bpy._typing.rna_enums.AxisXyzItems | None = "Z",
|
|
650
|
+
orient_axis_ortho: bpy._typing.rna_enums.AxisXyzItems | None = "X",
|
|
647
651
|
orient_type: str | None = "GLOBAL",
|
|
648
652
|
orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
649
653
|
| mathutils.Matrix
|
|
@@ -651,7 +655,8 @@ def shear(
|
|
|
651
655
|
orient_matrix_type: str | None = "GLOBAL",
|
|
652
656
|
mirror: bool | None = False,
|
|
653
657
|
use_proportional_edit: bool | None = False,
|
|
654
|
-
proportional_edit_falloff: bpy.
|
|
658
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
659
|
+
| None = "SMOOTH",
|
|
655
660
|
proportional_size: float | None = 1.0,
|
|
656
661
|
use_proportional_connected: bool | None = False,
|
|
657
662
|
use_proportional_projected: bool | None = False,
|
|
@@ -667,9 +672,9 @@ def shear(
|
|
|
667
672
|
:param value: Offset
|
|
668
673
|
:type value: float | None
|
|
669
674
|
:param orient_axis: Axis
|
|
670
|
-
:type orient_axis: bpy.
|
|
675
|
+
:type orient_axis: bpy._typing.rna_enums.AxisXyzItems | None
|
|
671
676
|
:param orient_axis_ortho: Axis Ortho
|
|
672
|
-
:type orient_axis_ortho: bpy.
|
|
677
|
+
:type orient_axis_ortho: bpy._typing.rna_enums.AxisXyzItems | None
|
|
673
678
|
:param orient_type: Orientation, Transformation orientation
|
|
674
679
|
:type orient_type: str | None
|
|
675
680
|
:param orient_matrix: Matrix
|
|
@@ -681,7 +686,7 @@ def shear(
|
|
|
681
686
|
:param use_proportional_edit: Proportional Editing
|
|
682
687
|
:type use_proportional_edit: bool | None
|
|
683
688
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
684
|
-
:type proportional_edit_falloff: bpy.
|
|
689
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
685
690
|
:param proportional_size: Proportional Size
|
|
686
691
|
:type proportional_size: float | None
|
|
687
692
|
:param use_proportional_connected: Connected
|
|
@@ -707,7 +712,8 @@ def shrink_fatten(
|
|
|
707
712
|
use_even_offset: bool | None = False,
|
|
708
713
|
mirror: bool | None = False,
|
|
709
714
|
use_proportional_edit: bool | None = False,
|
|
710
|
-
proportional_edit_falloff: bpy.
|
|
715
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
716
|
+
| None = "SMOOTH",
|
|
711
717
|
proportional_size: float | None = 1.0,
|
|
712
718
|
use_proportional_connected: bool | None = False,
|
|
713
719
|
use_proportional_projected: bool | None = False,
|
|
@@ -728,7 +734,7 @@ def shrink_fatten(
|
|
|
728
734
|
:param use_proportional_edit: Proportional Editing
|
|
729
735
|
:type use_proportional_edit: bool | None
|
|
730
736
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
731
|
-
:type proportional_edit_falloff: bpy.
|
|
737
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
732
738
|
:param proportional_size: Proportional Size
|
|
733
739
|
:type proportional_size: float | None
|
|
734
740
|
:param use_proportional_connected: Connected
|
|
@@ -757,14 +763,15 @@ def skin_resize(
|
|
|
757
763
|
constraint_axis: collections.abc.Iterable[bool] | None = (False, False, False),
|
|
758
764
|
mirror: bool | None = False,
|
|
759
765
|
use_proportional_edit: bool | None = False,
|
|
760
|
-
proportional_edit_falloff: bpy.
|
|
766
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
767
|
+
| None = "SMOOTH",
|
|
761
768
|
proportional_size: float | None = 1.0,
|
|
762
769
|
use_proportional_connected: bool | None = False,
|
|
763
770
|
use_proportional_projected: bool | None = False,
|
|
764
771
|
snap: bool | None = False,
|
|
765
|
-
snap_elements: set[bpy.
|
|
772
|
+
snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None = {"INCREMENT"},
|
|
766
773
|
use_snap_project: bool | None = False,
|
|
767
|
-
snap_target: bpy.
|
|
774
|
+
snap_target: bpy._typing.rna_enums.SnapSourceItems | None = "CLOSEST",
|
|
768
775
|
use_snap_self: bool | None = True,
|
|
769
776
|
use_snap_edit: bool | None = True,
|
|
770
777
|
use_snap_nonedit: bool | None = True,
|
|
@@ -796,7 +803,7 @@ def skin_resize(
|
|
|
796
803
|
:param use_proportional_edit: Proportional Editing
|
|
797
804
|
:type use_proportional_edit: bool | None
|
|
798
805
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
799
|
-
:type proportional_edit_falloff: bpy.
|
|
806
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
800
807
|
:param proportional_size: Proportional Size
|
|
801
808
|
:type proportional_size: float | None
|
|
802
809
|
:param use_proportional_connected: Connected
|
|
@@ -806,11 +813,11 @@ def skin_resize(
|
|
|
806
813
|
:param snap: Use Snapping Options
|
|
807
814
|
:type snap: bool | None
|
|
808
815
|
:param snap_elements: Snap to Elements
|
|
809
|
-
:type snap_elements: set[bpy.
|
|
816
|
+
:type snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None
|
|
810
817
|
:param use_snap_project: Project Individual Elements
|
|
811
818
|
:type use_snap_project: bool | None
|
|
812
819
|
:param snap_target: Snap Base, Point on source that will snap to target
|
|
813
|
-
:type snap_target: bpy.
|
|
820
|
+
:type snap_target: bpy._typing.rna_enums.SnapSourceItems | None
|
|
814
821
|
:param use_snap_self: Target: Include Active
|
|
815
822
|
:type use_snap_self: bool | None
|
|
816
823
|
:param use_snap_edit: Target: Include Edit
|
|
@@ -835,7 +842,8 @@ def tilt(
|
|
|
835
842
|
value: float | None = 0.0,
|
|
836
843
|
mirror: bool | None = False,
|
|
837
844
|
use_proportional_edit: bool | None = False,
|
|
838
|
-
proportional_edit_falloff: bpy.
|
|
845
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
846
|
+
| None = "SMOOTH",
|
|
839
847
|
proportional_size: float | None = 1.0,
|
|
840
848
|
use_proportional_connected: bool | None = False,
|
|
841
849
|
use_proportional_projected: bool | None = False,
|
|
@@ -854,7 +862,7 @@ def tilt(
|
|
|
854
862
|
:param use_proportional_edit: Proportional Editing
|
|
855
863
|
:type use_proportional_edit: bool | None
|
|
856
864
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
857
|
-
:type proportional_edit_falloff: bpy.
|
|
865
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
858
866
|
:param proportional_size: Proportional Size
|
|
859
867
|
:type proportional_size: float | None
|
|
860
868
|
:param use_proportional_connected: Connected
|
|
@@ -877,7 +885,8 @@ def tosphere(
|
|
|
877
885
|
value: float | None = 0.0,
|
|
878
886
|
mirror: bool | None = False,
|
|
879
887
|
use_proportional_edit: bool | None = False,
|
|
880
|
-
proportional_edit_falloff: bpy.
|
|
888
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
889
|
+
| None = "SMOOTH",
|
|
881
890
|
proportional_size: float | None = 1.0,
|
|
882
891
|
use_proportional_connected: bool | None = False,
|
|
883
892
|
use_proportional_projected: bool | None = False,
|
|
@@ -902,7 +911,7 @@ def tosphere(
|
|
|
902
911
|
:param use_proportional_edit: Proportional Editing
|
|
903
912
|
:type use_proportional_edit: bool | None
|
|
904
913
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
905
|
-
:type proportional_edit_falloff: bpy.
|
|
914
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
906
915
|
:param proportional_size: Proportional Size
|
|
907
916
|
:type proportional_size: float | None
|
|
908
917
|
:param use_proportional_connected: Connected
|
|
@@ -929,7 +938,8 @@ def trackball(
|
|
|
929
938
|
value: collections.abc.Iterable[float] | None = (0.0, 0.0),
|
|
930
939
|
mirror: bool | None = False,
|
|
931
940
|
use_proportional_edit: bool | None = False,
|
|
932
|
-
proportional_edit_falloff: bpy.
|
|
941
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
942
|
+
| None = "SMOOTH",
|
|
933
943
|
proportional_size: float | None = 1.0,
|
|
934
944
|
use_proportional_connected: bool | None = False,
|
|
935
945
|
use_proportional_projected: bool | None = False,
|
|
@@ -954,7 +964,7 @@ def trackball(
|
|
|
954
964
|
:param use_proportional_edit: Proportional Editing
|
|
955
965
|
:type use_proportional_edit: bool | None
|
|
956
966
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
957
|
-
:type proportional_edit_falloff: bpy.
|
|
967
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
958
968
|
:param proportional_size: Proportional Size
|
|
959
969
|
:type proportional_size: float | None
|
|
960
970
|
:param use_proportional_connected: Connected
|
|
@@ -978,30 +988,32 @@ def transform(
|
|
|
978
988
|
undo: bool | None = None,
|
|
979
989
|
/,
|
|
980
990
|
*,
|
|
981
|
-
mode: bpy.
|
|
991
|
+
mode: bpy._typing.rna_enums.TransformModeTypeItems | None = "TRANSLATION",
|
|
982
992
|
value: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
983
993
|
0.0,
|
|
984
994
|
0.0,
|
|
985
995
|
0.0,
|
|
986
996
|
0.0,
|
|
987
997
|
),
|
|
988
|
-
orient_axis: bpy.
|
|
989
|
-
orient_type: bpy.
|
|
998
|
+
orient_axis: bpy._typing.rna_enums.AxisXyzItems | None = "Z",
|
|
999
|
+
orient_type: bpy._typing.rna_enums.TransformOrientationItems | None = "GLOBAL",
|
|
990
1000
|
orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
991
1001
|
| mathutils.Matrix
|
|
992
1002
|
| None = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
993
|
-
orient_matrix_type: bpy.
|
|
1003
|
+
orient_matrix_type: bpy._typing.rna_enums.TransformOrientationItems
|
|
1004
|
+
| None = "GLOBAL",
|
|
994
1005
|
constraint_axis: collections.abc.Iterable[bool] | None = (False, False, False),
|
|
995
1006
|
mirror: bool | None = False,
|
|
996
1007
|
use_proportional_edit: bool | None = False,
|
|
997
|
-
proportional_edit_falloff: bpy.
|
|
1008
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
1009
|
+
| None = "SMOOTH",
|
|
998
1010
|
proportional_size: float | None = 1.0,
|
|
999
1011
|
use_proportional_connected: bool | None = False,
|
|
1000
1012
|
use_proportional_projected: bool | None = False,
|
|
1001
1013
|
snap: bool | None = False,
|
|
1002
|
-
snap_elements: set[bpy.
|
|
1014
|
+
snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None = {"INCREMENT"},
|
|
1003
1015
|
use_snap_project: bool | None = False,
|
|
1004
|
-
snap_target: bpy.
|
|
1016
|
+
snap_target: bpy._typing.rna_enums.SnapSourceItems | None = "CLOSEST",
|
|
1005
1017
|
use_snap_self: bool | None = True,
|
|
1006
1018
|
use_snap_edit: bool | None = True,
|
|
1007
1019
|
use_snap_nonedit: bool | None = True,
|
|
@@ -1035,17 +1047,17 @@ def transform(
|
|
|
1035
1047
|
:type execution_context: int | str | None
|
|
1036
1048
|
:type undo: bool | None
|
|
1037
1049
|
:param mode: Mode
|
|
1038
|
-
:type mode: bpy.
|
|
1050
|
+
:type mode: bpy._typing.rna_enums.TransformModeTypeItems | None
|
|
1039
1051
|
:param value: Values
|
|
1040
1052
|
:type value: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1041
1053
|
:param orient_axis: Axis
|
|
1042
|
-
:type orient_axis: bpy.
|
|
1054
|
+
:type orient_axis: bpy._typing.rna_enums.AxisXyzItems | None
|
|
1043
1055
|
:param orient_type: Orientation, Transformation orientation
|
|
1044
|
-
:type orient_type: bpy.
|
|
1056
|
+
:type orient_type: bpy._typing.rna_enums.TransformOrientationItems | None
|
|
1045
1057
|
:param orient_matrix: Matrix
|
|
1046
1058
|
:type orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix | None
|
|
1047
1059
|
:param orient_matrix_type: Matrix Orientation
|
|
1048
|
-
:type orient_matrix_type: bpy.
|
|
1060
|
+
:type orient_matrix_type: bpy._typing.rna_enums.TransformOrientationItems | None
|
|
1049
1061
|
:param constraint_axis: Constraint Axis
|
|
1050
1062
|
:type constraint_axis: collections.abc.Iterable[bool] | None
|
|
1051
1063
|
:param mirror: Mirror Editing
|
|
@@ -1053,7 +1065,7 @@ def transform(
|
|
|
1053
1065
|
:param use_proportional_edit: Proportional Editing
|
|
1054
1066
|
:type use_proportional_edit: bool | None
|
|
1055
1067
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
1056
|
-
:type proportional_edit_falloff: bpy.
|
|
1068
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
1057
1069
|
:param proportional_size: Proportional Size
|
|
1058
1070
|
:type proportional_size: float | None
|
|
1059
1071
|
:param use_proportional_connected: Connected
|
|
@@ -1063,11 +1075,11 @@ def transform(
|
|
|
1063
1075
|
:param snap: Use Snapping Options
|
|
1064
1076
|
:type snap: bool | None
|
|
1065
1077
|
:param snap_elements: Snap to Elements
|
|
1066
|
-
:type snap_elements: set[bpy.
|
|
1078
|
+
:type snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None
|
|
1067
1079
|
:param use_snap_project: Project Individual Elements
|
|
1068
1080
|
:type use_snap_project: bool | None
|
|
1069
1081
|
:param snap_target: Snap Base, Point on source that will snap to target
|
|
1070
|
-
:type snap_target: bpy.
|
|
1082
|
+
:type snap_target: bpy._typing.rna_enums.SnapSourceItems | None
|
|
1071
1083
|
:param use_snap_self: Target: Include Active
|
|
1072
1084
|
:type use_snap_self: bool | None
|
|
1073
1085
|
:param use_snap_edit: Target: Include Edit
|
|
@@ -1106,22 +1118,24 @@ def translate(
|
|
|
1106
1118
|
/,
|
|
1107
1119
|
*,
|
|
1108
1120
|
value: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1109
|
-
orient_type: bpy.
|
|
1121
|
+
orient_type: bpy._typing.rna_enums.TransformOrientationItems | None = "GLOBAL",
|
|
1110
1122
|
orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
1111
1123
|
| mathutils.Matrix
|
|
1112
1124
|
| None = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
1113
|
-
orient_matrix_type: bpy.
|
|
1125
|
+
orient_matrix_type: bpy._typing.rna_enums.TransformOrientationItems
|
|
1126
|
+
| None = "GLOBAL",
|
|
1114
1127
|
constraint_axis: collections.abc.Iterable[bool] | None = (False, False, False),
|
|
1115
1128
|
mirror: bool | None = False,
|
|
1116
1129
|
use_proportional_edit: bool | None = False,
|
|
1117
|
-
proportional_edit_falloff: bpy.
|
|
1130
|
+
proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems
|
|
1131
|
+
| None = "SMOOTH",
|
|
1118
1132
|
proportional_size: float | None = 1.0,
|
|
1119
1133
|
use_proportional_connected: bool | None = False,
|
|
1120
1134
|
use_proportional_projected: bool | None = False,
|
|
1121
1135
|
snap: bool | None = False,
|
|
1122
|
-
snap_elements: set[bpy.
|
|
1136
|
+
snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None = {"INCREMENT"},
|
|
1123
1137
|
use_snap_project: bool | None = False,
|
|
1124
|
-
snap_target: bpy.
|
|
1138
|
+
snap_target: bpy._typing.rna_enums.SnapSourceItems | None = "CLOSEST",
|
|
1125
1139
|
use_snap_self: bool | None = True,
|
|
1126
1140
|
use_snap_edit: bool | None = True,
|
|
1127
1141
|
use_snap_nonedit: bool | None = True,
|
|
@@ -1154,11 +1168,11 @@ def translate(
|
|
|
1154
1168
|
:param value: Move
|
|
1155
1169
|
:type value: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1156
1170
|
:param orient_type: Orientation, Transformation orientation
|
|
1157
|
-
:type orient_type: bpy.
|
|
1171
|
+
:type orient_type: bpy._typing.rna_enums.TransformOrientationItems | None
|
|
1158
1172
|
:param orient_matrix: Matrix
|
|
1159
1173
|
:type orient_matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix | None
|
|
1160
1174
|
:param orient_matrix_type: Matrix Orientation
|
|
1161
|
-
:type orient_matrix_type: bpy.
|
|
1175
|
+
:type orient_matrix_type: bpy._typing.rna_enums.TransformOrientationItems | None
|
|
1162
1176
|
:param constraint_axis: Constraint Axis
|
|
1163
1177
|
:type constraint_axis: collections.abc.Iterable[bool] | None
|
|
1164
1178
|
:param mirror: Mirror Editing
|
|
@@ -1166,7 +1180,7 @@ def translate(
|
|
|
1166
1180
|
:param use_proportional_edit: Proportional Editing
|
|
1167
1181
|
:type use_proportional_edit: bool | None
|
|
1168
1182
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
1169
|
-
:type proportional_edit_falloff: bpy.
|
|
1183
|
+
:type proportional_edit_falloff: bpy._typing.rna_enums.ProportionalFalloffItems | None
|
|
1170
1184
|
:param proportional_size: Proportional Size
|
|
1171
1185
|
:type proportional_size: float | None
|
|
1172
1186
|
:param use_proportional_connected: Connected
|
|
@@ -1176,11 +1190,11 @@ def translate(
|
|
|
1176
1190
|
:param snap: Use Snapping Options
|
|
1177
1191
|
:type snap: bool | None
|
|
1178
1192
|
:param snap_elements: Snap to Elements
|
|
1179
|
-
:type snap_elements: set[bpy.
|
|
1193
|
+
:type snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None
|
|
1180
1194
|
:param use_snap_project: Project Individual Elements
|
|
1181
1195
|
:type use_snap_project: bool | None
|
|
1182
1196
|
:param snap_target: Snap Base, Point on source that will snap to target
|
|
1183
|
-
:type snap_target: bpy.
|
|
1197
|
+
:type snap_target: bpy._typing.rna_enums.SnapSourceItems | None
|
|
1184
1198
|
:param use_snap_self: Target: Include Active
|
|
1185
1199
|
:type use_snap_self: bool | None
|
|
1186
1200
|
:param use_snap_edit: Target: Include Edit
|
|
@@ -1250,9 +1264,9 @@ def vert_slide(
|
|
|
1250
1264
|
use_clamp: bool | None = True,
|
|
1251
1265
|
mirror: bool | None = False,
|
|
1252
1266
|
snap: bool | None = False,
|
|
1253
|
-
snap_elements: set[bpy.
|
|
1267
|
+
snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None = {"INCREMENT"},
|
|
1254
1268
|
use_snap_project: bool | None = False,
|
|
1255
|
-
snap_target: bpy.
|
|
1269
|
+
snap_target: bpy._typing.rna_enums.SnapSourceItems | None = "CLOSEST",
|
|
1256
1270
|
use_snap_self: bool | None = True,
|
|
1257
1271
|
use_snap_edit: bool | None = True,
|
|
1258
1272
|
use_snap_nonedit: bool | None = True,
|
|
@@ -1283,11 +1297,11 @@ def vert_slide(
|
|
|
1283
1297
|
:param snap: Use Snapping Options
|
|
1284
1298
|
:type snap: bool | None
|
|
1285
1299
|
:param snap_elements: Snap to Elements
|
|
1286
|
-
:type snap_elements: set[bpy.
|
|
1300
|
+
:type snap_elements: set[bpy._typing.rna_enums.SnapElementItems] | None
|
|
1287
1301
|
:param use_snap_project: Project Individual Elements
|
|
1288
1302
|
:type use_snap_project: bool | None
|
|
1289
1303
|
:param snap_target: Snap Base, Point on source that will snap to target
|
|
1290
|
-
:type snap_target: bpy.
|
|
1304
|
+
:type snap_target: bpy._typing.rna_enums.SnapSourceItems | None
|
|
1291
1305
|
:param use_snap_self: Target: Include Active
|
|
1292
1306
|
:type use_snap_self: bool | None
|
|
1293
1307
|
:param use_snap_edit: Target: Include Edit
|
bpy/ops/uv/__init__.pyi
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import bpy._typing.rna_enums
|
|
4
5
|
import bpy.ops.transform
|
|
5
6
|
import bpy.types
|
|
6
|
-
import bpy.typing
|
|
7
7
|
import mathutils
|
|
8
8
|
|
|
9
9
|
def align(
|
|
@@ -122,7 +122,7 @@ def cube_project(
|
|
|
122
122
|
:type undo: bool | None
|
|
123
123
|
:param cube_size: Cube Size, Size of the cube to project on
|
|
124
124
|
:type cube_size: float | None
|
|
125
|
-
:param correct_aspect: Correct Aspect, Map UVs taking
|
|
125
|
+
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
126
126
|
:type correct_aspect: bool | None
|
|
127
127
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
128
128
|
:type clip_to_bounds: bool | None
|
|
@@ -195,7 +195,7 @@ def cylinder_project(
|
|
|
195
195
|
:type seam: bool | None
|
|
196
196
|
:param radius: Radius, Radius of the sphere or cylinder
|
|
197
197
|
:type radius: float | None
|
|
198
|
-
:param correct_aspect: Correct Aspect, Map UVs taking
|
|
198
|
+
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
199
199
|
:type correct_aspect: bool | None
|
|
200
200
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
201
201
|
:type clip_to_bounds: bool | None
|
|
@@ -510,7 +510,7 @@ def project_from_view(
|
|
|
510
510
|
:type orthographic: bool | None
|
|
511
511
|
:param camera_bounds: Camera Bounds, Map UVs to the camera region taking resolution and aspect into account
|
|
512
512
|
:type camera_bounds: bool | None
|
|
513
|
-
:param correct_aspect: Correct Aspect, Map UVs taking
|
|
513
|
+
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
514
514
|
:type correct_aspect: bool | None
|
|
515
515
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
516
516
|
:type clip_to_bounds: bool | None
|
|
@@ -904,14 +904,14 @@ def select_mode(
|
|
|
904
904
|
undo: bool | None = None,
|
|
905
905
|
/,
|
|
906
906
|
*,
|
|
907
|
-
type: bpy.
|
|
907
|
+
type: bpy._typing.rna_enums.MeshSelectModeUvItems | None = "VERTEX",
|
|
908
908
|
):
|
|
909
909
|
"""Change UV selection mode
|
|
910
910
|
|
|
911
911
|
:type execution_context: int | str | None
|
|
912
912
|
:type undo: bool | None
|
|
913
913
|
:param type: Type
|
|
914
|
-
:type type: bpy.
|
|
914
|
+
:type type: bpy._typing.rna_enums.MeshSelectModeUvItems | None
|
|
915
915
|
"""
|
|
916
916
|
|
|
917
917
|
def select_more(execution_context: int | str | None = None, undo: bool | None = None):
|
|
@@ -1093,7 +1093,7 @@ def smart_project(
|
|
|
1093
1093
|
:type island_margin: float | None
|
|
1094
1094
|
:param area_weight: Area Weight, Weight projection's vector by faces with larger areas
|
|
1095
1095
|
:type area_weight: float | None
|
|
1096
|
-
:param correct_aspect: Correct Aspect, Map UVs taking
|
|
1096
|
+
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
1097
1097
|
:type correct_aspect: bool | None
|
|
1098
1098
|
:param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
|
|
1099
1099
|
:type scale_to_bounds: bool | None
|
|
@@ -1177,7 +1177,7 @@ def sphere_project(
|
|
|
1177
1177
|
:type pole: typing.Literal['PINCH','FAN'] | None
|
|
1178
1178
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
1179
1179
|
:type seam: bool | None
|
|
1180
|
-
:param correct_aspect: Correct Aspect, Map UVs taking
|
|
1180
|
+
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
1181
1181
|
:type correct_aspect: bool | None
|
|
1182
1182
|
:param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
|
|
1183
1183
|
:type clip_to_bounds: bool | None
|
|
@@ -1256,7 +1256,7 @@ def unwrap(
|
|
|
1256
1256
|
:type method: typing.Literal['ANGLE_BASED','CONFORMAL','MINIMUM_STRETCH'] | None
|
|
1257
1257
|
:param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
|
|
1258
1258
|
:type fill_holes: bool | None
|
|
1259
|
-
:param correct_aspect: Correct Aspect, Map UVs taking
|
|
1259
|
+
:param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
|
|
1260
1260
|
:type correct_aspect: bool | None
|
|
1261
1261
|
:param use_subsurf_data: Use Subdivision Surface, Map UVs taking vertex position after Subdivision Surface modifier has been applied
|
|
1262
1262
|
:type use_subsurf_data: bool | None
|