fake-bpy-module 20251001__py3-none-any.whl → 20251003__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.

@@ -40,32 +40,30 @@ class KeyframesCo:
40
40
  """
41
41
 
42
42
  def insert_keyframes_into_existing_action(
43
- self, lookup_fcurves, total_new_keys, action, action_slot
43
+ self, lookup_fcurves, total_new_keys, channelbag
44
44
  ) -> None:
45
45
  """Assumes the action already exists, that it might already have F-curves. Otherwise, the
46
46
  only difference between versions is performance and implementation simplicity.
47
47
 
48
48
  :param lookup_fcurves: : This is only used for efficiency.
49
- Its a substitute for action.fcurves.find() which is a potentially expensive linear search.
49
+ Its a substitute for channelbag.fcurves.find() which is a potentially expensive linear search.
50
50
  :param total_new_keys:
51
- :param action:
52
- :param action_slot:
51
+ :param channelbag:
53
52
  """
54
53
 
55
54
  def insert_keyframes_into_new_action(
56
- self, total_new_keys, action, action_group_name: str
55
+ self, total_new_keys, channelbag, group_name
57
56
  ) -> None:
58
57
  """Assumes the action is new, that it has no F-curves. Otherwise, the only difference between versions is
59
58
  performance and implementation simplicity.
60
59
 
61
60
  :param total_new_keys:
62
- :param action:
63
- :param action_group_name: Name of Action Group that F-curves are added to.
64
- :type action_group_name: str
61
+ :param channelbag:
62
+ :param group_name: Name of the Group that F-curves are added to.
65
63
  """
66
64
 
67
65
  def action_ensure_channelbag_for_slot(action, slot) -> None:
68
- """Ensure a layer and a keyframe strip exists, then ensure that that strip has a channelbag for the slot."""
66
+ """Ensure a layer and a keyframe strip exists, then ensure that strip has a channelbag for the slot."""
69
67
 
70
68
  def action_get_channelbag_for_slot(action, slot) -> None:
71
69
  """Returns the first channelbag found for the slot.
@@ -74,6 +72,12 @@ def action_get_channelbag_for_slot(action, slot) -> None:
74
72
 
75
73
  """
76
74
 
75
+ def action_get_first_suitable_slot(action, target_id_type) -> None:
76
+ """Return the first Slot of the given Action thats suitable for the given ID type.Typically you should not need this function; when an Action is assigned to a
77
+ data-block, just use the slot that was assigned along with it.
78
+
79
+ """
80
+
77
81
  def bake_action(
78
82
  obj: bpy.types.Object, *, action: None | bpy.types.Action, frames: int, bake_options
79
83
  ) -> None | bpy.types.Action:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fake-bpy-module
3
- Version: 20251001
3
+ Version: 20251003
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -62,7 +62,7 @@ bl_math/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  bl_operators/__init__.pyi,sha256=HgPdeHpf1n07eUDjLxujiq3uBqlb0uREEc-ynFkIm6o,1569
63
63
  bl_operators/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
64
  bl_operators/add_mesh_torus/__init__.pyi,sha256=cWqmMnxwTELFEkBtCt3BOYJt326DjyMDp47AmZgUMJw,1252
65
- bl_operators/anim/__init__.pyi,sha256=CxhFJ23epPLillrhhkFOTqkRiowDpQGJk05E-uUUF6M,10733
65
+ bl_operators/anim/__init__.pyi,sha256=rzTKyqrqA5w5kSbrBV_prOKY_Ls3uPojVJUDOBWsLqg,10837
66
66
  bl_operators/assets/__init__.pyi,sha256=HbMfxxjRi7p3OWolri_NUKYsDOG9UjBe5M0RIIH5-o8,2813
67
67
  bl_operators/bmesh/__init__.pyi,sha256=xhgZcx4fJyNE_cbXB-d3TFNHw2Y2k9IYMD3Af8WPt4M,134
68
68
  bl_operators/bmesh/find_adjacent/__init__.pyi,sha256=OVIFK2kJ27sIE9wl94D3I3tZNHzTR_h94yI7Tqf8iCk,695
@@ -113,9 +113,9 @@ bl_ui/anim/__init__.pyi,sha256=aUUQB5sqG7wizgoB77tVmFLfhOWMyuHcEUY06w1FW5k,938
113
113
  bl_ui/asset_shelf/__init__.pyi,sha256=zy0z1qh-gQXQufHFrEggbXWlihKF9l2OihuhN-iS4NE,825
114
114
  bl_ui/generic_ui_list/__init__.pyi,sha256=wKDC1TOAxmPZ4kY86_96aBa-DTcNHrGXNucUNp1UzpY,4303
115
115
  bl_ui/node_add_menu/__init__.pyi,sha256=heYX5ZcwyvyzHbTVr2yTSd4isQvJm7adnHov7nH_mlg,8118
116
- bl_ui/node_add_menu_compositor/__init__.pyi,sha256=vNqJhWuyye9R5rIsIOEekuaanSf0d7yVdGFjw_GYMDM,11430
117
- bl_ui/node_add_menu_geometry/__init__.pyi,sha256=SWFbeRIkfB79FHLiL44XaLS6QQ3p_SOXagconqR6WLQ,37294
118
- bl_ui/node_add_menu_shader/__init__.pyi,sha256=tjOzNbhMqdbKI8VOkT-wTCNoxn1RzZ-DiY0RvlWxrZE,7022
116
+ bl_ui/node_add_menu_compositor/__init__.pyi,sha256=475dV7FAy2g3Rw-MsbYRmaZe5lw7peQWAQSpj3tBtvs,12778
117
+ bl_ui/node_add_menu_geometry/__init__.pyi,sha256=S2WdLHLqSjxaT5vVStxtcxiN2VhUcbLniI9a8tpepWs,37284
118
+ bl_ui/node_add_menu_shader/__init__.pyi,sha256=UrFPbOVsIcNGBxhetNRnKRU9QI7E4r9TSwGRmoumEQY,7073
119
119
  bl_ui/node_add_menu_texture/__init__.pyi,sha256=5eHBvXUpNxk7MqVqfjeGVMmoszAX8Fr_FLndOX8TS7M,4744
120
120
  bl_ui/properties_animviz/__init__.pyi,sha256=MVsoAibpBh5BrQ6ReemJJN3zOegs3QRdBFv9rOefocM,705
121
121
  bl_ui/properties_collection/__init__.pyi,sha256=Vc5-O8TKo3-St-3d3c5TDjleZGy8wk3N8Je-c6Y2edk,5131
@@ -144,7 +144,7 @@ bl_ui/properties_material/__init__.pyi,sha256=umksBehoHZj_Jkn6xWX0WQH1sCwyqSpCA9
144
144
  bl_ui/properties_material_gpencil/__init__.pyi,sha256=MPq6SsAQKqz8jJbpcmGK6zF0cbAUKB2rcsG2TIoGDMo,8744
145
145
  bl_ui/properties_object/__init__.pyi,sha256=CzGxZhQxo1rcRb58UdawZd9xAXZ8OcoD_L9xb-jhPF8,15771
146
146
  bl_ui/properties_output/__init__.pyi,sha256=5GXVxRcb0hPK_VmFnkZy_PqohxLlPPBwwDYzhI6UUUk,15439
147
- bl_ui/properties_paint_common/__init__.pyi,sha256=ay_2b_CZhG023FMFOr28gIDnHdCj_3yy_P8XvEUDsh4,8510
147
+ bl_ui/properties_paint_common/__init__.pyi,sha256=Xfcfx4li1nguQGLr4Yc_sqy7qKEWeQPMNtybJaABzl8,8359
148
148
  bl_ui/properties_particle/__init__.pyi,sha256=PP0aeNih2eDjO-j5UgyyCmuySLPKPAyKb6wERtdUJUM,44322
149
149
  bl_ui/properties_physics_cloth/__init__.pyi,sha256=1d62dy9gKmAnfiSUO-4EfBYoSMAmmoT3G6dI-WMd0ww,10866
150
150
  bl_ui/properties_physics_common/__init__.pyi,sha256=nwBOYs0jv2XSayR_PYRyDUxO2Lf-4BQh0jCluVBpm6A,1448
@@ -169,14 +169,14 @@ bl_ui/space_graph/__init__.pyi,sha256=TIljcrouLfS7ICU4fUZaRP5ybcUfd81xiOONIRGbyz
169
169
  bl_ui/space_image/__init__.pyi,sha256=9jCK_TJ83BC_nZl9NweAKGpbvYvM-gzDuEkXFhGwgqk,47001
170
170
  bl_ui/space_info/__init__.pyi,sha256=xS8fd5VIJX3mvOvrjgftzsHAx3ZbNggmUGyJIRv6Pcs,3384
171
171
  bl_ui/space_nla/__init__.pyi,sha256=qogAgjcs_TFfi4eoTjkVsPi8GkXRA7s4cO9xip2N-Ss,10324
172
- bl_ui/space_node/__init__.pyi,sha256=Fn2kIFZ4PxrgtMx9s-l_uDIUC-WZgH6EqTmsO_3AJKw,22442
172
+ bl_ui/space_node/__init__.pyi,sha256=c2M4LfOmYSIDchMzyx5E2FdiODBKD2HBXidmhMsVZ6M,21757
173
173
  bl_ui/space_outliner/__init__.pyi,sha256=1N93UIu-iU2UkqM7tQxeaxob3PRnnUjqY6rKdnT_sAE,8938
174
174
  bl_ui/space_properties/__init__.pyi,sha256=KJdc80dXfvxv5XYmO8CRmheQxff_jLYiS_6zzRG_xwg,2802
175
175
  bl_ui/space_sequencer/__init__.pyi,sha256=uYCt0g3AkdS55wUe5kywRn7eNFv56_Hn42jU3shsd4k,59948
176
176
  bl_ui/space_spreadsheet/__init__.pyi,sha256=qoO65GoJn8WObsqXqRzdEq2Zq1AZQEDWVpli-4lXOow,1769
177
177
  bl_ui/space_statusbar/__init__.pyi,sha256=V-oUoxSsgIpi-jzqct_gz2vjFYkIqOffmuI4W7xlsbw,667
178
178
  bl_ui/space_text/__init__.pyi,sha256=k864SRJgY7mgqqsu8KAhNGilMHMgMzjew1aeEHTtiYo,8996
179
- bl_ui/space_time/__init__.pyi,sha256=8X_nL7ELI6i44TF4T6ONWMvBgpGbqHJV-By_XHBiv10,4745
179
+ bl_ui/space_time/__init__.pyi,sha256=KYLslF1mOTVkHwHSTPY4pNRHtUs1NjoGO4BpTbJNnXg,3128
180
180
  bl_ui/space_toolsystem_common/__init__.pyi,sha256=0wapsLJDJuc7K6B5kjWvB9_dWN5e3_6WNWf_ZEChlmk,3436
181
181
  bl_ui/space_toolsystem_toolbar/__init__.pyi,sha256=1NzcfTRSQBrrTgvP5Ny3GxkCCKay-oKOA-8po5_TYsE,10803
182
182
  bl_ui/space_topbar/__init__.pyi,sha256=9MO703ewWr9Av2UGhd_tTQK8Okq8N3qw2SXOhZodeTk,15642
@@ -195,11 +195,11 @@ bmesh/__init__.pyi,sha256=nhi3aUMSLycSJTzr1Txhjt_NU0y_82NN0NBe8pZYTkE,1541
195
195
  bmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
196
196
  bmesh/geometry/__init__.pyi,sha256=MZzpN0T12x1QweeZUui1LVTrnWyqyBgWsF6tPs1Pe9g,682
197
197
  bmesh/ops/__init__.pyi,sha256=p-7LAeeK1gD00D6TxnOz_JbD5b-_jW0rUQrwZrAfFsw,76498
198
- bmesh/types/__init__.pyi,sha256=hg20wS0G5DzRFJvHb5TCF3ZlVOOVLthbbprCsMHrOro,44342
198
+ bmesh/types/__init__.pyi,sha256=JBZwuzFtHu8bOyUuaYY08RlsXtmki0b0ZngHUF0IQks,41956
199
199
  bmesh/utils/__init__.pyi,sha256=N2mRD0u1ipJkw2nokIb-FCL858ikNQrOM_mqJPiCEXY,6285
200
200
  bpy/__init__.pyi,sha256=2c24IZe013Q0UbFSvpU9JKRYusCUwGYTXbNDx17dK5g,490
201
201
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
202
- bpy/app/__init__.pyi,sha256=D5x1kSVxAhNcsIGo_56bxKHD_Ftt8NVbNngBJ3VU04A,8891
202
+ bpy/app/__init__.pyi,sha256=wqcquQycHyVuLbAOFBOAcCkcs-P7Y5LYvUo_H3UxtrM,8891
203
203
  bpy/app/handlers/__init__.pyi,sha256=vxcj3vFmnFwA2JI8EdkC7ABpZkKNQs5AVadOyAamNe4,8062
204
204
  bpy/app/icons/__init__.pyi,sha256=OEb8rxBfK1sVaLsDUrGC90Pd7ZTo8Vrq_nUsC8TCvfQ,963
205
205
  bpy/app/timers/__init__.pyi,sha256=nD-TlDqICpcquEyk__OLIagSX4mNCH_jJxAKgfmrIYo,1813
@@ -248,7 +248,7 @@ bpy/ops/material/__init__.pyi,sha256=7yA8XRBaeLm-2IGqQqXcDGNctp3amhdmBMTPoWHw5G8
248
248
  bpy/ops/mball/__init__.pyi,sha256=3avjhyGC4WLxkWeTp16xJjaN3dp05ecbIXJnc2EtXVs,4258
249
249
  bpy/ops/mesh/__init__.pyi,sha256=ORj5lR7JCJdr3ZQrWVfe5p40LGnbAI8cxegrPOfmV8I,132167
250
250
  bpy/ops/nla/__init__.pyi,sha256=F0RGCo7T4Y6FAIZ9Jv-TtkDlV1PnWhWjZ2G3EACL0PM,19052
251
- bpy/ops/node/__init__.pyi,sha256=nTBrBhDJSM5bvXxwm_ZDDEZgdJrsTgD4OUs8X4i_eqY,82790
251
+ bpy/ops/node/__init__.pyi,sha256=8v3qxwZpe9rXce3-w_YCtZUSig6zMaSXIEGZ1pS7gt4,84184
252
252
  bpy/ops/object/__init__.pyi,sha256=CdW1k_qlZI0fFdNO0xv1nZpdvrx6NiTLd1u0SCLPIJ4,175903
253
253
  bpy/ops/outliner/__init__.pyi,sha256=ynP3AYcSIvRaROgjkuUMwL2F5P085Q_VVOZjhVC4VeY,29325
254
254
  bpy/ops/paint/__init__.pyi,sha256=14ik0wFRdTfSOMWb-ZQBc5FLHtq8xFeGiLMqrmtj374,38326
@@ -260,14 +260,14 @@ bpy/ops/pose/__init__.pyi,sha256=A3-d0foPDJrVEdxWK27m7rtwsv3jvgzG3vrn39YC6S0,281
260
260
  bpy/ops/poselib/__init__.pyi,sha256=39eQ57Dd5_Etnkso2FMfF-x385RljybQRPg9sTLzTII,5877
261
261
  bpy/ops/preferences/__init__.pyi,sha256=ExaBIhejgkAc7k2DPX7S8II-gEXFmfZOoQVcw_Iom0E,19795
262
262
  bpy/ops/ptcache/__init__.pyi,sha256=alDSJmgA1aKoMo46EDHirj_L-9Xc7RvfCh27DRnRuWc,1834
263
- bpy/ops/render/__init__.pyi,sha256=1RwH4v1gGzN1loZmAd2B_Ff_kaAYSuPd2TbDkDFjB6E,8109
263
+ bpy/ops/render/__init__.pyi,sha256=kyyhLsEn8haWo_q_s8joVp-qY0BGB3NJN5Zt_HvmTY4,8109
264
264
  bpy/ops/rigidbody/__init__.pyi,sha256=v64_7HMafJtwLVXcSTnPOLtjSGmKECr3nq80TRtDWhU,6971
265
265
  bpy/ops/scene/__init__.pyi,sha256=NoezoIil56K989Z2JgdR0xIclzZApS5FimH7AlLrPJk,15611
266
266
  bpy/ops/screen/__init__.pyi,sha256=JVe5VWQxsb64V0cJ5DATt1h7wlBwW16qhjlQdzoux3s,20369
267
267
  bpy/ops/script/__init__.pyi,sha256=xMWzlcdSykwWgk_ck_Mnv6pbex532LfNek21C_cWAjU,1047
268
268
  bpy/ops/sculpt/__init__.pyi,sha256=7bpCfzikCt-_OCb-4SVg022NttPW760VWCgcoOvhcMc,51571
269
269
  bpy/ops/sculpt_curves/__init__.pyi,sha256=Pp-SNyuO82Y1Ksm2ygzZK14X5Nil2cZUOE798KYG5EE,2919
270
- bpy/ops/sequencer/__init__.pyi,sha256=FUngjYRbj2sybwn4mvF-2f_Q4HNOktzRQZyWsPqQXis,90950
270
+ bpy/ops/sequencer/__init__.pyi,sha256=yBwBMcOCJqhdwVVsOo4XC-7oRGASoWEB2wmupOkQ_Co,90742
271
271
  bpy/ops/sound/__init__.pyi,sha256=x0KuxcCFRcLVHsSLxqfNcPi0CyqYVMIUGkBvznDroNk,16665
272
272
  bpy/ops/spreadsheet/__init__.pyi,sha256=vJX-uQpmdhiHh6dB9yhaqOKkyQKPpRH1Ay2PSwLTEoQ,2175
273
273
  bpy/ops/surface/__init__.pyi,sha256=2zsyLcEMeA71sYw44yeIY6l1dRzf77ITk17JWlz2JTk,10390
@@ -280,20 +280,20 @@ bpy/ops/uilist/__init__.pyi,sha256=CSwrFuqez9Ia24-_yFa5gAudByRrRqmaQVKrfExyRYc,1
280
280
  bpy/ops/uv/__init__.pyi,sha256=AfM3c8aTkjexYVvmRWS5ZZu0uEY8DdO63Gmz_dT-bz4,50521
281
281
  bpy/ops/view2d/__init__.pyi,sha256=bXpaqKJa4WVVOib1-e_jWpSirho63ignV5z0LPxfLCs,7173
282
282
  bpy/ops/view3d/__init__.pyi,sha256=JET9fsqbX7Yqaf1IYsV2tvT4FwhYMklB_rOnEbG2OK8,31946
283
- bpy/ops/wm/__init__.pyi,sha256=LCvr1AupUVbhC9Vz6YDRYqncptUbVzK5pevFpYqnxoc,210003
283
+ bpy/ops/wm/__init__.pyi,sha256=hqc2YwoYGlDGSOC52z44uIbLtF6XhZiSSRwXWBJzDUw,213472
284
284
  bpy/ops/workspace/__init__.pyi,sha256=Yfe-bzDigcZkkMulfyDa0wbwqzHBrfp5mn0u_sCN7wo,2418
285
285
  bpy/ops/world/__init__.pyi,sha256=VTCqEUTLL6yJroZCNcMYQgEKVmjwkIwIy70vB78rdOM,673
286
286
  bpy/path/__init__.pyi,sha256=Phd8a6fB3496L7_LUhdwPNwkh3qy_4O-MS5br9RMfO0,5536
287
287
  bpy/props/__init__.pyi,sha256=_gmJ54eKwSmNZHQyDK1CiQn9fSy_L9K3jfSeX9nhCK4,51038
288
288
  bpy/stub_internal/__init__.pyi,sha256=h3K2LGZ8lcLY-Oo9ym-HEopjGScc4iTfpT1MU_6smTI,126
289
- bpy/stub_internal/rna_enums/__init__.pyi,sha256=xWXL-ZOUpGKbQfAEuaQDUEYWiR46Jsvr8xexC_UzUoU,142780
290
- bpy/types/__init__.pyi,sha256=3yOXYncSDKlG-EnYwb4B94M7EePT_rX01IYZhM9_Pxg,5901277
289
+ bpy/stub_internal/rna_enums/__init__.pyi,sha256=7BHlckTJnSDOAYFnZVo298v42YQQjYSXyM_uJdE-sN4,142761
290
+ bpy/types/__init__.pyi,sha256=FvpNNWeqY8lyDS9LHzbDcqwD03raLDgjPKvDcMSWq5o,5991861
291
291
  bpy/utils/__init__.pyi,sha256=GGYp2g381aOdE7tWXvRGVbmhijbfgt4wGAtJGgbvyJg,15526
292
292
  bpy/utils/previews/__init__.pyi,sha256=iSZemSCPu1S2BjAQO83Z-FqEo1nGHRCEIEduXB6hQhc,2357
293
293
  bpy/utils/units/__init__.pyi,sha256=cpE9IZPkYPBexru7R9HQ_c0931d7R7Dvib2Uf7V0JJs,2645
294
294
  bpy_extras/__init__.pyi,sha256=Vish0mn6IfEYsdv9gWh6VDSpzvOwYavpgAC_PleMtFE,995
295
295
  bpy_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
296
- bpy_extras/anim_utils/__init__.pyi,sha256=f45U4OdWKjzrrw7fkuDJk8HjJad2jHEldoVTo_slilU,4751
296
+ bpy_extras/anim_utils/__init__.pyi,sha256=XexIREN2bvTObwG7B0vbXw-Likv2riGIbTHjNC2eEc8,4958
297
297
  bpy_extras/asset_utils/__init__.pyi,sha256=aM9iiUUy5PcxHY5lz-UxfvLzAc9bH5Y-z3kRRB9IzvY,221
298
298
  bpy_extras/bmesh_utils/__init__.pyi,sha256=KrJhW9Esut9jZKqcogqgPnrC9LbJOOe3szRluEd5j-E,513
299
299
  bpy_extras/id_map_utils/__init__.pyi,sha256=IXrJ93ipXCEEwjJ09T_NNbc0S2RZRvckkjqTNeYk9dY,503
@@ -320,7 +320,7 @@ freestyle/functions/__init__.pyi,sha256=dGcOMrCayIE_OXrHIm36aQUAsCyNwvX63DjLjJw6
320
320
  freestyle/predicates/__init__.pyi,sha256=3Y8x157YP6udskhuFb_UZYvGyZjjEhGIJWQoj0BMLsw,13550
321
321
  freestyle/shaders/__init__.pyi,sha256=SUbnzfs9aX629SUz1vacJUkTQS2F8-E4TS1SetN0yFs,24630
322
322
  freestyle/types/__init__.pyi,sha256=LkVRkopB5Ntk0LeBeq4vnaVE-4CVtDcMVCKy75_sM9Y,101295
323
- freestyle/utils/__init__.pyi,sha256=I5thoI3sH_4ZEpx_7KK1Tl76DjREB7C-8g7A_IdQunQ,5328
323
+ freestyle/utils/__init__.pyi,sha256=vrxmLboZoETh1_GfhS4xYZ7vzW6Oh3vElX7y16Ftw0c,5328
324
324
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=IKNZD__52vYS5eT32F_WZwW1dco_6G2kZC_1IVCAwLs,3486
325
325
  gpu/__init__.pyi,sha256=TLoatdrTMM6vfjnbuQA6cW38ARW5nuLa4Y-eicnJU5Q,8900
326
326
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -331,7 +331,7 @@ gpu/select/__init__.pyi,sha256=u7L8-mg3F6PD60rvGcJ1CUehZTDaPSGtmXzs1LNKK7g,242
331
331
  gpu/shader/__init__.pyi,sha256=vTyHoiXVvNiPyXwCNy1EEN4TGlzqFjQKfD3ySHBaM7A,2443
332
332
  gpu/state/__init__.pyi,sha256=XC4KxVmSTDPNQP57tfsP5gqDwuhlwjLiVGTedL_KN7U,4487
333
333
  gpu/texture/__init__.pyi,sha256=TzwOXJ7KCVQrBiujMTZ0AWx_IF4yNe2vWmhkkvnHuKg,674
334
- gpu/types/__init__.pyi,sha256=jibv0AvUnNx5FWs3M57Fz5Upx9mymqHqhehwttK3jUw,29291
334
+ gpu/types/__init__.pyi,sha256=XJvDX4l4Pekl_gG5OzGECBR1yyZam8d_4xFjZFIJwLs,29302
335
335
  gpu_extras/__init__.pyi,sha256=XscwC-5DTPC0yc2HB_XMgvX61rT5Qs5RaImqNwR6c40,240
336
336
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
337
337
  gpu_extras/batch/__init__.pyi,sha256=inV4OR_YJrG76oiq-8PZW2dDyx8pzf4jp818hX9alqw,1298
@@ -351,7 +351,7 @@ keyingsets_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
351
351
  mathutils/__init__.pyi,sha256=QBvmsVe5brYs9KpGoF1DdHKze2iRn5i3pGapskxYzRU,91364
352
352
  mathutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
353
353
  mathutils/bvhtree/__init__.pyi,sha256=rjuZMGm2Jxi0bnaU60v18BuJyO2JWdfRdr5Mp0bYUuk,5138
354
- mathutils/geometry/__init__.pyi,sha256=N3LtfyhHPnBim_PgIa5likQdcVxOMDvUC-eTqv70ruY,23817
354
+ mathutils/geometry/__init__.pyi,sha256=znfthz0P_KR3n8C6RHqm9K-rTFKR0dGlnlKOb2htmkM,24696
355
355
  mathutils/interpolate/__init__.pyi,sha256=ndZoeTg3JKLj5Uskd-TU2BmCEAe8k_-MY-jGzzNj0O4,575
356
356
  mathutils/kdtree/__init__.pyi,sha256=99pXd0pG1J4JBPexQBa87d-DAg-3KZ1lmDL3ZLiVA-Q,2309
357
357
  mathutils/noise/__init__.pyi,sha256=Zg1rSqWCinxZ9dzzKreAatID67q05SeBQJr1hOy6Gdk,10879
@@ -367,7 +367,7 @@ rna_prop_ui/__init__.pyi,sha256=Gn7kc9WhI3qPObIz8QiFbjeVIP7GCeF6liywBzIEcnE,1402
367
367
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
368
368
  rna_xml/__init__.pyi,sha256=E0_ajcifhpiiQJVaNKnAa2ju-w5Tg9-lk7IqhsPjrw4,652
369
369
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
370
- fake_bpy_module-20251001.dist-info/METADATA,sha256=EotPeHQRCQm8V2rq0CAvG693V3NjuYf36D2z_sgXHc0,7429
371
- fake_bpy_module-20251001.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
372
- fake_bpy_module-20251001.dist-info/top_level.txt,sha256=xwHlW-cY033y5uA7GsGZDdOwWdNIzrHETvaZ_rWuR4I,539
373
- fake_bpy_module-20251001.dist-info/RECORD,,
370
+ fake_bpy_module-20251003.dist-info/METADATA,sha256=aKIcrIJRXDuCrZbAySZhcxcJUU_AGmqTltr31XPl_Rg,7429
371
+ fake_bpy_module-20251003.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
372
+ fake_bpy_module-20251003.dist-info/top_level.txt,sha256=xwHlW-cY033y5uA7GsGZDdOwWdNIzrHETvaZ_rWuR4I,539
373
+ fake_bpy_module-20251003.dist-info/RECORD,,
@@ -125,7 +125,7 @@ def material_from_fedge(fe) -> None:
125
125
  """get the diffuse RGBA color from an FEdge"""
126
126
 
127
127
  def normal_at_I0D(it) -> None: ...
128
- def pairwise(iterable, types={StrokeVertexIterator, Stroke}) -> None:
128
+ def pairwise(iterable, types={Stroke, StrokeVertexIterator}) -> None:
129
129
  """Yields a tuple containing the previous and current object"""
130
130
 
131
131
  def rgb_to_bw(r, g, b) -> None:
gpu/types/__init__.pyi CHANGED
@@ -76,6 +76,101 @@ class GPUBatch:
76
76
  :type buf: GPUVertBuf
77
77
  """
78
78
 
79
+ class GPUFrameBuffer:
80
+ """This object gives access to framebuffer functionalities.
81
+ When a layer is specified in a argument, a single layer of a 3D or array texture is attached to the frame-buffer.
82
+ For cube map textures, layer is translated into a cube map face.
83
+ """
84
+
85
+ is_bound: typing.Any
86
+ """ Checks if this is the active frame-buffer in the context."""
87
+
88
+ def bind(self) -> None:
89
+ """Context manager to ensure balanced bind calls, even in the case of an error."""
90
+
91
+ def clear(
92
+ self,
93
+ *,
94
+ color: collections.abc.Sequence[float] | None = None,
95
+ depth: float | None = None,
96
+ stencil: int | None = None,
97
+ ) -> None:
98
+ """Fill color, depth and stencil textures with specific value.
99
+ Common values: color=(0.0, 0.0, 0.0, 1.0), depth=1.0, stencil=0.
100
+
101
+ :param color: Sequence of 3 or 4 floats representing (r, g, b, a).
102
+ :type color: collections.abc.Sequence[float] | None
103
+ :param depth: depth value.
104
+ :type depth: float | None
105
+ :param stencil: stencil value.
106
+ :type stencil: int | None
107
+ """
108
+
109
+ def read_color(
110
+ self,
111
+ x: int,
112
+ y,
113
+ xsize,
114
+ ysize,
115
+ channels: int,
116
+ slot: int,
117
+ format: str,
118
+ *,
119
+ data: Buffer = data,
120
+ ) -> Buffer:
121
+ """Read a block of pixels from the frame buffer.
122
+
123
+ :param x: Lower left corner of a rectangular block of pixels.
124
+ :type x: int
125
+ :param y:
126
+ :param xsize: Dimensions of the pixel rectangle.
127
+ :param ysize:
128
+ :param channels: Number of components to read.
129
+ :type channels: int
130
+ :param slot: The framebuffer slot to read data from.
131
+ :type slot: int
132
+ :param format: The format that describes the content of a single channel.
133
+ Possible values are FLOAT, INT, UINT, UBYTE, UINT_24_8 & 10_11_11_REV.
134
+ UINT_24_8 is deprecated, use FLOAT instead.
135
+ :type format: str
136
+ :param data: Optional Buffer object to fill with the pixels values.
137
+ :type data: Buffer
138
+ :return: The Buffer with the read pixels.
139
+ :rtype: Buffer
140
+ """
141
+
142
+ def read_depth(
143
+ self, x: int, y, xsize: int, ysize, *, data: Buffer = data
144
+ ) -> Buffer:
145
+ """Read a pixel depth block from the frame buffer.
146
+
147
+ :param x: Lower left corner of a rectangular block of pixels.
148
+ :type x: int
149
+ :param y:
150
+ :param xsize: Dimensions of the pixel rectangle.
151
+ :type xsize: int
152
+ :param ysize:
153
+ :param data: Optional Buffer object to fill with the pixels values.
154
+ :type data: Buffer
155
+ :return: The Buffer with the read pixels.
156
+ :rtype: Buffer
157
+ """
158
+
159
+ def viewport_get(self) -> None:
160
+ """Returns position and dimension to current viewport."""
161
+
162
+ def viewport_set(self, x: int, y, xsize: int, ysize) -> None:
163
+ """Set the viewport for this framebuffer object.
164
+ Note: The viewport state is not saved upon framebuffer rebind.
165
+
166
+ :param x: lower left corner of the viewport_set rectangle, in pixels.
167
+ :type x: int
168
+ :param y:
169
+ :param xsize: width and height of the viewport_set.
170
+ :type xsize: int
171
+ :param ysize:
172
+ """
173
+
79
174
  class GPUIndexBuf:
80
175
  """Contains an index buffer."""
81
176
 
@@ -984,98 +1079,3 @@ class GPUVertFormat:
984
1079
  Possible values are FLOAT, INT or INT_TO_FLOAT_UNIT.
985
1080
  :type fetch_mode: str
986
1081
  """
987
-
988
- class gpu:
989
- """This object gives access to framebuffer functionalities.
990
- When a layer is specified in a argument, a single layer of a 3D or array texture is attached to the frame-buffer.
991
- For cube map textures, layer is translated into a cube map face.
992
- """
993
-
994
- is_bound: typing.Any
995
- """ Checks if this is the active frame-buffer in the context."""
996
-
997
- def bind(self) -> None:
998
- """Context manager to ensure balanced bind calls, even in the case of an error."""
999
-
1000
- def clear(
1001
- self,
1002
- *,
1003
- color: collections.abc.Sequence[float] | None = None,
1004
- depth: float | None = None,
1005
- stencil: int | None = None,
1006
- ) -> None:
1007
- """Fill color, depth and stencil textures with specific value.
1008
- Common values: color=(0.0, 0.0, 0.0, 1.0), depth=1.0, stencil=0.
1009
-
1010
- :param color: Sequence of 3 or 4 floats representing (r, g, b, a).
1011
- :type color: collections.abc.Sequence[float] | None
1012
- :param depth: depth value.
1013
- :type depth: float | None
1014
- :param stencil: stencil value.
1015
- :type stencil: int | None
1016
- """
1017
-
1018
- def read_color(
1019
- self,
1020
- x: int,
1021
- y,
1022
- xsize,
1023
- ysize,
1024
- channels: int,
1025
- slot: int,
1026
- format: str,
1027
- *,
1028
- data: Buffer = data,
1029
- ) -> Buffer:
1030
- """Read a block of pixels from the frame buffer.
1031
-
1032
- :param x: Lower left corner of a rectangular block of pixels.
1033
- :type x: int
1034
- :param y:
1035
- :param xsize: Dimensions of the pixel rectangle.
1036
- :param ysize:
1037
- :param channels: Number of components to read.
1038
- :type channels: int
1039
- :param slot: The framebuffer slot to read data from.
1040
- :type slot: int
1041
- :param format: The format that describes the content of a single channel.
1042
- Possible values are FLOAT, INT, UINT, UBYTE, UINT_24_8 & 10_11_11_REV.
1043
- UINT_24_8 is deprecated, use FLOAT instead.
1044
- :type format: str
1045
- :param data: Optional Buffer object to fill with the pixels values.
1046
- :type data: Buffer
1047
- :return: The Buffer with the read pixels.
1048
- :rtype: Buffer
1049
- """
1050
-
1051
- def read_depth(
1052
- self, x: int, y, xsize: int, ysize, *, data: Buffer = data
1053
- ) -> Buffer:
1054
- """Read a pixel depth block from the frame buffer.
1055
-
1056
- :param x: Lower left corner of a rectangular block of pixels.
1057
- :type x: int
1058
- :param y:
1059
- :param xsize: Dimensions of the pixel rectangle.
1060
- :type xsize: int
1061
- :param ysize:
1062
- :param data: Optional Buffer object to fill with the pixels values.
1063
- :type data: Buffer
1064
- :return: The Buffer with the read pixels.
1065
- :rtype: Buffer
1066
- """
1067
-
1068
- def viewport_get(self) -> None:
1069
- """Returns position and dimension to current viewport."""
1070
-
1071
- def viewport_set(self, x: int, y, xsize: int, ysize) -> None:
1072
- """Set the viewport for this framebuffer object.
1073
- Note: The viewport state is not saved upon framebuffer rebind.
1074
-
1075
- :param x: lower left corner of the viewport_set rectangle, in pixels.
1076
- :type x: int
1077
- :param y:
1078
- :param xsize: width and height of the viewport_set.
1079
- :type xsize: int
1080
- :param ysize:
1081
- """
@@ -341,15 +341,34 @@ def intersect_plane_plane(
341
341
  def intersect_point_line(
342
342
  pt: collections.abc.Sequence[float] | mathutils.Vector,
343
343
  line_p1: collections.abc.Sequence[float] | mathutils.Vector,
344
- line_p2,
344
+ line_p2: collections.abc.Sequence[float] | mathutils.Vector,
345
345
  /,
346
346
  ) -> tuple[mathutils.Vector, float]:
347
- """Takes a point and a line and returns a tuple with the closest point on the line and its distance from the first point of the line as a percentage of the length of the line.
347
+ """Takes a point and a line and returns the closest point on the line and its distance from the first point of the line as a percentage of the length of the line.
348
348
 
349
349
  :param pt: Point
350
350
  :type pt: collections.abc.Sequence[float] | mathutils.Vector
351
- :param line_p1: First point of the lineSecond point of the line
351
+ :param line_p1: First point of the line
352
352
  :type line_p1: collections.abc.Sequence[float] | mathutils.Vector
353
+ :param line_p2: Second point of the line
354
+ :type line_p2: collections.abc.Sequence[float] | mathutils.Vector
355
+ :rtype: tuple[mathutils.Vector, float]
356
+ """
357
+
358
+ def intersect_point_line_segment(
359
+ pt: collections.abc.Sequence[float] | mathutils.Vector,
360
+ seg_p1: collections.abc.Sequence[float] | mathutils.Vector,
361
+ seg_p2: collections.abc.Sequence[float] | mathutils.Vector,
362
+ /,
363
+ ) -> tuple[mathutils.Vector, float]:
364
+ """Takes a point and a segment and returns the closest point on the segment and the distance to the segment.
365
+
366
+ :param pt: Point
367
+ :type pt: collections.abc.Sequence[float] | mathutils.Vector
368
+ :param seg_p1: First point of the segment
369
+ :type seg_p1: collections.abc.Sequence[float] | mathutils.Vector
370
+ :param seg_p2: Second point of the segment
371
+ :type seg_p2: collections.abc.Sequence[float] | mathutils.Vector
353
372
  :rtype: tuple[mathutils.Vector, float]
354
373
  """
355
374