fake-bpy-module 20240422__py3-none-any.whl → 20240424__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_ui/space_toolsystem_toolbar/__init__.pyi +41 -0
- bl_ui/space_view3d/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +4 -4
- bpy/ops/grease_pencil/__init__.pyi +139 -0
- bpy/ops/nla/__init__.pyi +3 -3
- bpy/ops/sculpt/__init__.pyi +2 -2
- bpy/ops/wm/__init__.pyi +24 -0
- bpy/types/__init__.pyi +27674 -27202
- bpy/utils/units/__init__.pyi +1 -1
- {fake_bpy_module-20240422.dist-info → fake_bpy_module-20240424.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240422.dist-info → fake_bpy_module-20240424.dist-info}/RECORD +13 -13
- {fake_bpy_module-20240422.dist-info → fake_bpy_module-20240424.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240422.dist-info → fake_bpy_module-20240424.dist-info}/top_level.txt +0 -0
|
@@ -1268,6 +1268,16 @@ class _defs_grease_pencil_sculpt:
|
|
|
1268
1268
|
"""
|
|
1269
1269
|
...
|
|
1270
1270
|
|
|
1271
|
+
class _defs_grease_pencil_weight:
|
|
1272
|
+
""" """
|
|
1273
|
+
|
|
1274
|
+
def generate_from_brushes(self, context):
|
|
1275
|
+
"""
|
|
1276
|
+
|
|
1277
|
+
:param context:
|
|
1278
|
+
"""
|
|
1279
|
+
...
|
|
1280
|
+
|
|
1271
1281
|
class _defs_image_generic:
|
|
1272
1282
|
""" """
|
|
1273
1283
|
|
|
@@ -1354,15 +1364,46 @@ class _defs_node_select:
|
|
|
1354
1364
|
class _defs_paint_grease_pencil:
|
|
1355
1365
|
""" """
|
|
1356
1366
|
|
|
1367
|
+
arc: typing.Any
|
|
1368
|
+
""" """
|
|
1369
|
+
|
|
1370
|
+
box: typing.Any
|
|
1371
|
+
""" """
|
|
1372
|
+
|
|
1373
|
+
circle: typing.Any
|
|
1374
|
+
""" """
|
|
1375
|
+
|
|
1376
|
+
curve: typing.Any
|
|
1377
|
+
""" """
|
|
1378
|
+
|
|
1379
|
+
cutter: typing.Any
|
|
1380
|
+
""" """
|
|
1381
|
+
|
|
1357
1382
|
draw: typing.Any
|
|
1358
1383
|
""" """
|
|
1359
1384
|
|
|
1360
1385
|
erase: typing.Any
|
|
1361
1386
|
""" """
|
|
1362
1387
|
|
|
1388
|
+
line: typing.Any
|
|
1389
|
+
""" """
|
|
1390
|
+
|
|
1391
|
+
polyline: typing.Any
|
|
1392
|
+
""" """
|
|
1393
|
+
|
|
1363
1394
|
tint: typing.Any
|
|
1364
1395
|
""" """
|
|
1365
1396
|
|
|
1397
|
+
def grease_pencil_primitive_toolbar(self, context, layout, _tool, props):
|
|
1398
|
+
"""
|
|
1399
|
+
|
|
1400
|
+
:param context:
|
|
1401
|
+
:param layout:
|
|
1402
|
+
:param _tool:
|
|
1403
|
+
:param props:
|
|
1404
|
+
"""
|
|
1405
|
+
...
|
|
1406
|
+
|
|
1366
1407
|
class _defs_particle:
|
|
1367
1408
|
""" """
|
|
1368
1409
|
|
bl_ui/space_view3d/__init__.pyi
CHANGED
|
@@ -22803,10 +22803,10 @@ class VIEW3D_MT_paint_weight(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
22803
22803
|
""" """
|
|
22804
22804
|
...
|
|
22805
22805
|
|
|
22806
|
-
def draw(self,
|
|
22806
|
+
def draw(self, _context):
|
|
22807
22807
|
"""
|
|
22808
22808
|
|
|
22809
|
-
:param
|
|
22809
|
+
:param _context:
|
|
22810
22810
|
"""
|
|
22811
22811
|
...
|
|
22812
22812
|
|
|
@@ -20,12 +20,12 @@ def fbx(
|
|
|
20
20
|
use_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
21
21
|
bake_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
22
22
|
object_types: typing.Optional[typing.Any] = {
|
|
23
|
-
'"OTHER"',
|
|
24
|
-
'"CAMERA"',
|
|
25
|
-
'"MESH"',
|
|
26
|
-
'"EMPTY"',
|
|
27
23
|
'"LIGHT"',
|
|
28
24
|
'"ARMATURE"',
|
|
25
|
+
'"CAMERA"',
|
|
26
|
+
'"EMPTY"',
|
|
27
|
+
'"OTHER"',
|
|
28
|
+
'"MESH"',
|
|
29
29
|
},
|
|
30
30
|
use_mesh_modifiers: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
31
31
|
use_mesh_modifiers_render: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
@@ -616,6 +616,126 @@ def paste(
|
|
|
616
616
|
|
|
617
617
|
...
|
|
618
618
|
|
|
619
|
+
def primitive_arc(
|
|
620
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
621
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
622
|
+
undo: typing.Optional[bool] = None,
|
|
623
|
+
subdivision: typing.Optional[typing.Any] = 62,
|
|
624
|
+
type: typing.Optional[typing.Any] = "ARC",
|
|
625
|
+
):
|
|
626
|
+
"""Create predefined grease pencil stroke arcs
|
|
627
|
+
|
|
628
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
629
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
630
|
+
:type undo: typing.Optional[bool]
|
|
631
|
+
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
632
|
+
:type subdivision: typing.Optional[typing.Any]
|
|
633
|
+
:param type: Type, Type of shape
|
|
634
|
+
:type type: typing.Optional[typing.Any]
|
|
635
|
+
"""
|
|
636
|
+
|
|
637
|
+
...
|
|
638
|
+
|
|
639
|
+
def primitive_box(
|
|
640
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
641
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
642
|
+
undo: typing.Optional[bool] = None,
|
|
643
|
+
subdivision: typing.Optional[typing.Any] = 3,
|
|
644
|
+
type: typing.Optional[typing.Any] = "BOX",
|
|
645
|
+
):
|
|
646
|
+
"""Create predefined grease pencil stroke boxes
|
|
647
|
+
|
|
648
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
649
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
650
|
+
:type undo: typing.Optional[bool]
|
|
651
|
+
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
652
|
+
:type subdivision: typing.Optional[typing.Any]
|
|
653
|
+
:param type: Type, Type of shape
|
|
654
|
+
:type type: typing.Optional[typing.Any]
|
|
655
|
+
"""
|
|
656
|
+
|
|
657
|
+
...
|
|
658
|
+
|
|
659
|
+
def primitive_circle(
|
|
660
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
661
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
662
|
+
undo: typing.Optional[bool] = None,
|
|
663
|
+
subdivision: typing.Optional[typing.Any] = 94,
|
|
664
|
+
type: typing.Optional[typing.Any] = "CIRCLE",
|
|
665
|
+
):
|
|
666
|
+
"""Create predefined grease pencil stroke circles
|
|
667
|
+
|
|
668
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
669
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
670
|
+
:type undo: typing.Optional[bool]
|
|
671
|
+
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
672
|
+
:type subdivision: typing.Optional[typing.Any]
|
|
673
|
+
:param type: Type, Type of shape
|
|
674
|
+
:type type: typing.Optional[typing.Any]
|
|
675
|
+
"""
|
|
676
|
+
|
|
677
|
+
...
|
|
678
|
+
|
|
679
|
+
def primitive_curve(
|
|
680
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
681
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
682
|
+
undo: typing.Optional[bool] = None,
|
|
683
|
+
subdivision: typing.Optional[typing.Any] = 62,
|
|
684
|
+
type: typing.Optional[typing.Any] = "CURVE",
|
|
685
|
+
):
|
|
686
|
+
"""Create predefined grease pencil stroke curve shapes
|
|
687
|
+
|
|
688
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
689
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
690
|
+
:type undo: typing.Optional[bool]
|
|
691
|
+
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
692
|
+
:type subdivision: typing.Optional[typing.Any]
|
|
693
|
+
:param type: Type, Type of shape
|
|
694
|
+
:type type: typing.Optional[typing.Any]
|
|
695
|
+
"""
|
|
696
|
+
|
|
697
|
+
...
|
|
698
|
+
|
|
699
|
+
def primitive_line(
|
|
700
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
701
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
702
|
+
undo: typing.Optional[bool] = None,
|
|
703
|
+
subdivision: typing.Optional[typing.Any] = 6,
|
|
704
|
+
type: typing.Optional[typing.Any] = "LINE",
|
|
705
|
+
):
|
|
706
|
+
"""Create predefined grease pencil stroke lines
|
|
707
|
+
|
|
708
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
709
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
710
|
+
:type undo: typing.Optional[bool]
|
|
711
|
+
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
712
|
+
:type subdivision: typing.Optional[typing.Any]
|
|
713
|
+
:param type: Type, Type of shape
|
|
714
|
+
:type type: typing.Optional[typing.Any]
|
|
715
|
+
"""
|
|
716
|
+
|
|
717
|
+
...
|
|
718
|
+
|
|
719
|
+
def primitive_polyline(
|
|
720
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
721
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
722
|
+
undo: typing.Optional[bool] = None,
|
|
723
|
+
subdivision: typing.Optional[typing.Any] = 6,
|
|
724
|
+
type: typing.Optional[typing.Any] = "POLYLINE",
|
|
725
|
+
):
|
|
726
|
+
"""Create predefined grease pencil stroke polylines
|
|
727
|
+
|
|
728
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
729
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
730
|
+
:type undo: typing.Optional[bool]
|
|
731
|
+
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
732
|
+
:type subdivision: typing.Optional[typing.Any]
|
|
733
|
+
:param type: Type, Type of shape
|
|
734
|
+
:type type: typing.Optional[typing.Any]
|
|
735
|
+
"""
|
|
736
|
+
|
|
737
|
+
...
|
|
738
|
+
|
|
619
739
|
def reorder(
|
|
620
740
|
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
621
741
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
@@ -909,6 +1029,25 @@ def set_uniform_thickness(
|
|
|
909
1029
|
|
|
910
1030
|
...
|
|
911
1031
|
|
|
1032
|
+
def stroke_cutter(
|
|
1033
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1034
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1035
|
+
undo: typing.Optional[bool] = None,
|
|
1036
|
+
path: typing.Optional[
|
|
1037
|
+
bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
1038
|
+
] = None,
|
|
1039
|
+
):
|
|
1040
|
+
"""Delete stroke points in between intersecting strokes
|
|
1041
|
+
|
|
1042
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1043
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1044
|
+
:type undo: typing.Optional[bool]
|
|
1045
|
+
:param path: Path
|
|
1046
|
+
:type path: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]]
|
|
1047
|
+
"""
|
|
1048
|
+
|
|
1049
|
+
...
|
|
1050
|
+
|
|
912
1051
|
def stroke_material_set(
|
|
913
1052
|
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
914
1053
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
bpy/ops/nla/__init__.pyi
CHANGED
|
@@ -101,11 +101,11 @@ def bake(
|
|
|
101
101
|
clean_curves: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
102
102
|
bake_types: typing.Optional[typing.Any] = {'"POSE"'},
|
|
103
103
|
channel_types: typing.Optional[typing.Any] = {
|
|
104
|
-
'"PROPS"',
|
|
105
|
-
'"BBONE"',
|
|
106
104
|
'"LOCATION"',
|
|
107
|
-
'"
|
|
105
|
+
'"BBONE"',
|
|
108
106
|
'"SCALE"',
|
|
107
|
+
'"PROPS"',
|
|
108
|
+
'"ROTATION"',
|
|
109
109
|
},
|
|
110
110
|
):
|
|
111
111
|
"""Bake all selected objects location/scale/rotation animation to an action
|
bpy/ops/sculpt/__init__.pyi
CHANGED
|
@@ -49,7 +49,7 @@ def cloth_filter(
|
|
|
49
49
|
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
50
50
|
] = None,
|
|
51
51
|
type: typing.Optional[typing.Any] = "GRAVITY",
|
|
52
|
-
force_axis: typing.Optional[typing.Any] = {'"Y"', '"
|
|
52
|
+
force_axis: typing.Optional[typing.Any] = {'"Y"', '"Z"', '"X"'},
|
|
53
53
|
orientation: typing.Optional[typing.Any] = "LOCAL",
|
|
54
54
|
cloth_mass: typing.Optional[typing.Any] = 1.0,
|
|
55
55
|
cloth_damping: typing.Optional[typing.Any] = 0.0,
|
|
@@ -603,7 +603,7 @@ def mesh_filter(
|
|
|
603
603
|
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
604
604
|
] = None,
|
|
605
605
|
type: typing.Optional[typing.Any] = "INFLATE",
|
|
606
|
-
deform_axis: typing.Optional[typing.Any] = {'"Y"', '"
|
|
606
|
+
deform_axis: typing.Optional[typing.Any] = {'"Y"', '"Z"', '"X"'},
|
|
607
607
|
orientation: typing.Optional[typing.Any] = "LOCAL",
|
|
608
608
|
surface_smooth_shape_preservation: typing.Optional[typing.Any] = 0.5,
|
|
609
609
|
surface_smooth_current_vertex: typing.Optional[typing.Any] = 0.5,
|
bpy/ops/wm/__init__.pyi
CHANGED
|
@@ -2932,6 +2932,7 @@ def ply_export(
|
|
|
2932
2932
|
global_scale: typing.Optional[typing.Any] = 1.0,
|
|
2933
2933
|
apply_modifiers: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
2934
2934
|
export_selected_objects: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2935
|
+
collection: typing.Union[str, typing.Any] = "",
|
|
2935
2936
|
export_uv: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
2936
2937
|
export_normals: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2937
2938
|
export_colors: typing.Optional[typing.Any] = "SRGB",
|
|
@@ -3047,6 +3048,8 @@ def ply_export(
|
|
|
3047
3048
|
:type apply_modifiers: typing.Optional[typing.Union[bool, typing.Any]]
|
|
3048
3049
|
:param export_selected_objects: Export Selected Objects, Export only selected objects instead of all supported objects
|
|
3049
3050
|
:type export_selected_objects: typing.Optional[typing.Union[bool, typing.Any]]
|
|
3051
|
+
:param collection: Source Collection, Export only objects from this collection (and its children)
|
|
3052
|
+
:type collection: typing.Union[str, typing.Any]
|
|
3050
3053
|
:param export_uv: Export UVs
|
|
3051
3054
|
:type export_uv: typing.Optional[typing.Union[bool, typing.Any]]
|
|
3052
3055
|
:param export_normals: Export Vertex Normals, Export specific vertex normals if available, export calculated normals otherwise
|
|
@@ -4411,6 +4414,7 @@ def stl_export(
|
|
|
4411
4414
|
ascii_format: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
4412
4415
|
use_batch: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
4413
4416
|
export_selected_objects: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
4417
|
+
collection: typing.Union[str, typing.Any] = "",
|
|
4414
4418
|
global_scale: typing.Optional[typing.Any] = 1.0,
|
|
4415
4419
|
use_scene_unit: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
4416
4420
|
forward_axis: typing.Optional[typing.Any] = "Y",
|
|
@@ -4485,6 +4489,8 @@ def stl_export(
|
|
|
4485
4489
|
:type use_batch: typing.Optional[typing.Union[bool, typing.Any]]
|
|
4486
4490
|
:param export_selected_objects: Export Selected Objects, Export only selected objects instead of all supported objects
|
|
4487
4491
|
:type export_selected_objects: typing.Optional[typing.Union[bool, typing.Any]]
|
|
4492
|
+
:param collection: Source Collection, Export only objects from this collection (and its children)
|
|
4493
|
+
:type collection: typing.Union[str, typing.Any]
|
|
4488
4494
|
:param global_scale: Scale
|
|
4489
4495
|
:type global_scale: typing.Optional[typing.Any]
|
|
4490
4496
|
:param use_scene_unit: Scene Unit, Apply current scene's unit (as defined by unit scale) to exported data
|
|
@@ -4892,6 +4898,8 @@ def usd_export(
|
|
|
4892
4898
|
overwrite_textures: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
4893
4899
|
relative_paths: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
4894
4900
|
root_prim_path: typing.Union[str, typing.Any] = "/root",
|
|
4901
|
+
export_custom_properties: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
4902
|
+
author_blender_name: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
4895
4903
|
):
|
|
4896
4904
|
"""Export current scene in a USD archive
|
|
4897
4905
|
|
|
@@ -5010,6 +5018,10 @@ def usd_export(
|
|
|
5010
5018
|
:type relative_paths: typing.Optional[typing.Union[bool, typing.Any]]
|
|
5011
5019
|
:param root_prim_path: Root Prim, If set, add a transform primitive with the given path to the stage as the parent of all exported data
|
|
5012
5020
|
:type root_prim_path: typing.Union[str, typing.Any]
|
|
5021
|
+
:param export_custom_properties: Export Custom Properties, When checked, custom properties will be exported as USD User Properties
|
|
5022
|
+
:type export_custom_properties: typing.Optional[typing.Union[bool, typing.Any]]
|
|
5023
|
+
:param author_blender_name: Author Blender Name, When checked, custom userProperties will be authored to allow a round trip
|
|
5024
|
+
:type author_blender_name: typing.Optional[typing.Union[bool, typing.Any]]
|
|
5013
5025
|
"""
|
|
5014
5026
|
|
|
5015
5027
|
...
|
|
@@ -5072,6 +5084,7 @@ def usd_import(
|
|
|
5072
5084
|
import_textures_mode: typing.Optional[typing.Any] = "IMPORT_PACK",
|
|
5073
5085
|
import_textures_dir: typing.Union[str, typing.Any] = "//textures/",
|
|
5074
5086
|
tex_name_collision_mode: typing.Optional[typing.Any] = "USE_EXISTING",
|
|
5087
|
+
attr_import_mode: typing.Optional[typing.Any] = "ALL",
|
|
5075
5088
|
):
|
|
5076
5089
|
"""Import USD stage into current scene
|
|
5077
5090
|
|
|
@@ -5218,6 +5231,17 @@ def usd_import(
|
|
|
5218
5231
|
OVERWRITE
|
|
5219
5232
|
Overwrite -- Overwrite existing files.
|
|
5220
5233
|
:type tex_name_collision_mode: typing.Optional[typing.Any]
|
|
5234
|
+
:param attr_import_mode: Import Custom Properties, Behavior when importing USD attributes as Blender custom properties
|
|
5235
|
+
|
|
5236
|
+
NONE
|
|
5237
|
+
None -- Do not import attributes.
|
|
5238
|
+
|
|
5239
|
+
USER
|
|
5240
|
+
User -- Import attributes in the 'userProperties' namespace as Blender custom properties. The namespace will be stripped from the property names.
|
|
5241
|
+
|
|
5242
|
+
ALL
|
|
5243
|
+
All Custom -- Import all USD custom attributes as Blender custom properties. Namespaces will be retained in the property names.
|
|
5244
|
+
:type attr_import_mode: typing.Optional[typing.Any]
|
|
5221
5245
|
"""
|
|
5222
5246
|
|
|
5223
5247
|
...
|