fake-bge-module 20250217__py3-none-any.whl → 20250218__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.
bpy/ops/__init__.pyi CHANGED
@@ -208,6 +208,7 @@ from . import paint as paint
208
208
  from . import paintcurve as paintcurve
209
209
  from . import palette as palette
210
210
  from . import particle as particle
211
+ from . import point_cloud as point_cloud
211
212
  from . import pose as pose
212
213
  from . import poselib as poselib
213
214
  from . import preferences as preferences
@@ -0,0 +1,109 @@
1
+ import typing
2
+ import collections.abc
3
+ import typing_extensions
4
+ import bpy.ops.transform
5
+
6
+ def attribute_set(
7
+ execution_context: int | str | None = None,
8
+ undo: bool | None = None,
9
+ /,
10
+ *,
11
+ value_float: float | None = 0.0,
12
+ value_float_vector_2d: collections.abc.Iterable[float] | None = (0.0, 0.0),
13
+ value_float_vector_3d: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0),
14
+ value_int: int | None = 0,
15
+ value_int_vector_2d: collections.abc.Iterable[int] | None = (0, 0),
16
+ value_color: collections.abc.Iterable[float] | None = (1.0, 1.0, 1.0, 1.0),
17
+ value_bool: bool | None = False,
18
+ ):
19
+ """Set values of the active attribute for selected elements
20
+
21
+ :type execution_context: int | str | None
22
+ :type undo: bool | None
23
+ :param value_float: Value
24
+ :type value_float: float | None
25
+ :param value_float_vector_2d: Value
26
+ :type value_float_vector_2d: collections.abc.Iterable[float] | None
27
+ :param value_float_vector_3d: Value
28
+ :type value_float_vector_3d: collections.abc.Iterable[float] | None
29
+ :param value_int: Value
30
+ :type value_int: int | None
31
+ :param value_int_vector_2d: Value
32
+ :type value_int_vector_2d: collections.abc.Iterable[int] | None
33
+ :param value_color: Value
34
+ :type value_color: collections.abc.Iterable[float] | None
35
+ :param value_bool: Value
36
+ :type value_bool: bool | None
37
+ """
38
+
39
+ def duplicate(
40
+ execution_context: int | str | None = None,
41
+ undo: bool | None = None,
42
+ /,
43
+ *,
44
+ action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
45
+ ):
46
+ """Copy selected points
47
+
48
+ :type execution_context: int | str | None
49
+ :type undo: bool | None
50
+ :param action: Action, Selection action to execute
51
+
52
+ TOGGLE
53
+ Toggle -- Toggle selection for all elements.
54
+
55
+ SELECT
56
+ Select -- Select all elements.
57
+
58
+ DESELECT
59
+ Deselect -- Deselect all elements.
60
+
61
+ INVERT
62
+ Invert -- Invert selection of all elements.
63
+ :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
64
+ """
65
+
66
+ def duplicate_move(
67
+ execution_context: int | str | None = None,
68
+ undo: bool | None = None,
69
+ /,
70
+ *,
71
+ POINT_CLOUD_OT_duplicate: typing.Any | None = None,
72
+ TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
73
+ ):
74
+ """Make copies of selected elements and move them
75
+
76
+ :type execution_context: int | str | None
77
+ :type undo: bool | None
78
+ :param POINT_CLOUD_OT_duplicate: Duplicate, Copy selected points
79
+ :type POINT_CLOUD_OT_duplicate: typing.Any | None
80
+ :param TRANSFORM_OT_translate: Move, Move selected items
81
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
82
+ """
83
+
84
+ def select_all(
85
+ execution_context: int | str | None = None,
86
+ undo: bool | None = None,
87
+ /,
88
+ *,
89
+ action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
90
+ ):
91
+ """(De)select all point cloud
92
+
93
+ :type execution_context: int | str | None
94
+ :type undo: bool | None
95
+ :param action: Action, Selection action to execute
96
+
97
+ TOGGLE
98
+ Toggle -- Toggle selection for all elements.
99
+
100
+ SELECT
101
+ Select -- Select all elements.
102
+
103
+ DESELECT
104
+ Deselect -- Deselect all elements.
105
+
106
+ INVERT
107
+ Invert -- Invert selection of all elements.
108
+ :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
109
+ """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bge-module
3
- Version: 20250217
3
+ Version: 20250218
4
4
  Summary: Collection of the fake Blender Game Engine (BGE) Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -226,7 +226,7 @@ bpy/app/icons/__init__.pyi,sha256=w18Xn9y0T54WlpHyhC3_y8a3Lq9kuo3U72Bu7wOY41A,92
226
226
  bpy/app/timers/__init__.pyi,sha256=vtrATRAmkTfP1CknievwpOCC19cPOMowyLTE6Ie9GSg,2126
227
227
  bpy/app/translations/__init__.pyi,sha256=rrUs88RJakTJ8IZzE7oRunD_HqLByX5tqmLSrQ_e8dQ,7007
228
228
  bpy/msgbus/__init__.pyi,sha256=e9cmp_Wq7FA5pDTQQJ2s0_I84bEJMu8J-5Lu5gNoClM,2954
229
- bpy/ops/__init__.pyi,sha256=_4i2lHJ_bmf5dn4SYHZylTetAzZtm5FPhq3hL9DXMh4,5588
229
+ bpy/ops/__init__.pyi,sha256=33_Mt8LkTG1fZzOtVusVGPvboMjUzvQUHsra46POHBQ,5629
230
230
  bpy/ops/action/__init__.pyi,sha256=LBNWtp-Nd2C-ae5OK4WTxg-ztiufJ4OLan-f6W7EJXo,18645
231
231
  bpy/ops/anim/__init__.pyi,sha256=VM6kJF9mPnpDINvcVqrf-fEHlSRzn-P1vmCPvK8KDwA,24980
232
232
  bpy/ops/armature/__init__.pyi,sha256=k6XyBQsnS9j-7cKqfmN4qYVyhv9gQVwX45g-3DJ8jro,20909
@@ -277,6 +277,7 @@ bpy/ops/paint/__init__.pyi,sha256=Q-EnWEXXc_RyYXxGY0x4zTQbmNwd4HOaPxashYEWwpk,37
277
277
  bpy/ops/paintcurve/__init__.pyi,sha256=sJfa-6TohaHNlvBFZ5X2vhjeMCp91in2K6UqwIF3d80,2980
278
278
  bpy/ops/palette/__init__.pyi,sha256=RD7rkE6f28SyME46hM3HwjWKCgKFtOXZDDPOO6mQB0Q,2093
279
279
  bpy/ops/particle/__init__.pyi,sha256=fvUbIxeb5nxdxJAK6wWu0AsCBIpy3cCKXMNKY2ZIJqM,13621
280
+ bpy/ops/point_cloud/__init__.pyi,sha256=d24meFdM0mt-MRZIRFpRbOyJOrFuQPA5eUMl_TxiVGE,3384
280
281
  bpy/ops/pose/__init__.pyi,sha256=X3uT13DBbdw1nsmBhbId71DYAjYEGL6WtapfpwpihzA,26770
281
282
  bpy/ops/poselib/__init__.pyi,sha256=gznUsY5ppqRYjKMHdUHXvCYF0n568JR6t-djfMV9rrU,5374
282
283
  bpy/ops/preferences/__init__.pyi,sha256=iG82fOc0EGoI0_KoSgUbtUEMlcN71gxdq3SlVkCz01w,19499
@@ -341,7 +342,7 @@ freestyle/functions/__init__.pyi,sha256=sEPnGHwZm8XBlfE7CKLros3CKJlAh1h1FI74nBTE
341
342
  freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
342
343
  freestyle/shaders/__init__.pyi,sha256=4a-rY8mkkIcsnIvYGcP8YgAULdJENDJnncju2CjhQVg,24014
343
344
  freestyle/types/__init__.pyi,sha256=Dmb8LokYlO2lCfmDwPX5MwwpnHHSRaXU2t6Nu37Rzjg,100200
344
- freestyle/utils/__init__.pyi,sha256=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
345
+ freestyle/utils/__init__.pyi,sha256=lW5JWrilkFTvRmtYoS3hbmWfj2abo2hHsvp4eyGLbcQ,5108
345
346
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=fPDfiBEjpoqXQhBhmHJ6WxG9oLMItwQ32MxKQz_c9_I,3445
346
347
  gpu/__init__.pyi,sha256=Q-AbyJO85pPYcwXNWtvgAhFGGJ6OnnHrlsXQxur9jhs,7999
347
348
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -372,10 +373,10 @@ keyingsets_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
372
373
  mathutils/__init__.pyi,sha256=I80TgzGwK0Xvj-9lrikpgylvmC5DiE6PYt0NTpKXCgg,89255
373
374
  mathutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
374
375
  mathutils/bvhtree/__init__.pyi,sha256=UtzuOlaUjgPwVQZnDiZhPrzgrFmgpyVY7z9WqoZzNsI,4933
375
- mathutils/geometry/__init__.pyi,sha256=q6y5a8T54ZNoIlqkfjx2nZ8iF7G-uHfeFrN7SJqrapc,23278
376
+ mathutils/geometry/__init__.pyi,sha256=Flbctbyann3JzPiTWOILM8KxiiiHLAK39INr-HHNMlo,23219
376
377
  mathutils/interpolate/__init__.pyi,sha256=3MaN3gfetfW_J0ZGye7U9Ae-O5cT7Ok2nyRWjy6HuV4,535
377
378
  mathutils/kdtree/__init__.pyi,sha256=R7efrHFwgdpF3LKlQzW25s-GxVCECQgTuXOwSGoKJTk,2247
378
- mathutils/noise/__init__.pyi,sha256=nDUTZpaghLXZwQG_8sVJnR-vdPeN7qk0p343sAsovgI,12725
379
+ mathutils/noise/__init__.pyi,sha256=zJMNhWV5lwqH09UqfUZ8Kf5kkB4T1kpLBTgfRffwRbE,12727
379
380
  nodeitems_builtins/__init__.pyi,sha256=UEiW_FT6HF0dl6FrM3-n3OnTE1SiufVzyyLjCsGCqPc,475
380
381
  nodeitems_builtins/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
381
382
  nodeitems_utils/__init__.pyi,sha256=F82sRq2Foowt3d9IUxloVB_qg7pTQP5w8qYvMJhwvFs,747
@@ -388,7 +389,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
388
389
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
389
390
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
390
391
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
391
- fake_bge_module-20250217.dist-info/METADATA,sha256=saLou88p0ExmHyZjLKKY3Ch5Jp3g0wkwS9QxZrQnInE,4872
392
- fake_bge_module-20250217.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
393
- fake_bge_module-20250217.dist-info/top_level.txt,sha256=eE5ylpw84TnTp2h-RCfTJgCBykd4PsHdymQwBM_dVls,544
394
- fake_bge_module-20250217.dist-info/RECORD,,
392
+ fake_bge_module-20250218.dist-info/METADATA,sha256=pw0ZTh-byuE58MFyUqwMgD53h4PcjXOhDZzTdyzEd_8,4872
393
+ fake_bge_module-20250218.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
394
+ fake_bge_module-20250218.dist-info/top_level.txt,sha256=eE5ylpw84TnTp2h-RCfTJgCBykd4PsHdymQwBM_dVls,544
395
+ fake_bge_module-20250218.dist-info/RECORD,,
@@ -124,7 +124,7 @@ def material_from_fedge(fe):
124
124
  """get the diffuse RGBA color from an FEdge"""
125
125
 
126
126
  def normal_at_I0D(it): ...
127
- def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
127
+ def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
128
128
  """Yields a tuple containing the previous and current object"""
129
129
 
130
130
  def rgb_to_bw(r, g, b):
@@ -64,13 +64,11 @@ def box_fit_2d(
64
64
  :rtype: float
65
65
  """
66
66
 
67
- def box_pack_2d(
68
- boxes: list[list[float, float, float, float, ...]],
69
- ) -> tuple[float, float]:
67
+ def box_pack_2d(boxes: list[list[float]]) -> tuple[float, float]:
70
68
  """Returns a tuple with the width and height of the packed bounding box.
71
69
 
72
70
  :param boxes: list of boxes, each box is a list where the first 4 items are [X, Y, width, height, ...] other items are ignored. The X & Y values in this list are modified to set the packed positions.
73
- :type boxes: list[list[float, float, float, float, ...]]
71
+ :type boxes: list[list[float]]
74
72
  :return: The width and height of the packed bounding box.
75
73
  :rtype: tuple[float, float]
76
74
  """
@@ -295,7 +295,7 @@ def voronoi(
295
295
  position: collections.abc.Sequence[float] | mathutils.Vector,
296
296
  distance_metric: str = "DISTANCE",
297
297
  exponent: float = 2.5,
298
- ) -> list[list[float], list[mathutils.Vector]]:
298
+ ) -> list[list[float] | list[mathutils.Vector]]:
299
299
  """Returns a list of distances to the four closest features and their locations.
300
300
 
301
301
  :param position: The position to evaluate the selected noise function.
@@ -305,5 +305,5 @@ def voronoi(
305
305
  :param exponent: The exponent for Minkowski distance metric.
306
306
  :type exponent: float
307
307
  :return: A list of distances to the four closest features and their locations.
308
- :rtype: list[list[float], list[mathutils.Vector]]
308
+ :rtype: list[list[float] | list[mathutils.Vector]]
309
309
  """