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

@@ -180,22 +180,22 @@ bl_ui_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
180
180
  bl_ui_utils/layout/__init__.pyi,sha256=mp1VvL3NIJFMzYp8X0cqNC7mxqQOFPhgPr1FkF_HuDk,180
181
181
  blend_render_info/__init__.pyi,sha256=WHFzkXpAfG0YtOpMooq3ToN7pSljEX7aKloDANKjmFo,239
182
182
  blend_render_info/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
183
- blf/__init__.pyi,sha256=Ha0gvu4wt090rvPWP9REmE0iZ439hHmq7wfSoDQqr4M,5578
183
+ blf/__init__.pyi,sha256=0n46YN4nuYtABay59u_t6R5wn-NjN9ijO1bKBJLFak8,5668
184
184
  blf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
185
185
  bmesh/__init__.pyi,sha256=6QP0wBMiFIY5MtM1Yuw4Qj2ZPtEZHFUdAf1ay4z-SQE,1500
186
186
  bmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
187
187
  bmesh/geometry/__init__.pyi,sha256=fgGEevkhB2IEtja2X5rm6OQU5EoDfkPaqiKeNGfWZ6c,656
188
188
  bmesh/ops/__init__.pyi,sha256=2g2v8SvrQSXdMYnHnvmvF8KXoHLvEfVTU9dQMhLVoRY,71350
189
- bmesh/types/__init__.pyi,sha256=l2iJ0Jw3nmGVljBNkTLxwnxlQrUJ2h05Aj4dT8Q4-RA,42007
189
+ bmesh/types/__init__.pyi,sha256=A9C3CsQTwg9Rl3sjBBKTPFO29o3QSFn_GlGxsgnPv4Q,42040
190
190
  bmesh/utils/__init__.pyi,sha256=SJYkdKVf0mB5pw8YuWXAW-7pZye2RXUF0F-Wo3Rd5gQ,5602
191
191
  bpy/__init__.pyi,sha256=dozab_KhjTikiJAE59kzHS9tbX9OJc8U1vPdj6gNFJY,502
192
192
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
193
193
  bpy/app/__init__.pyi,sha256=gQJdiazscopU-G66fjv1pOLRZykYpJ-6L0aIAYBvzKA,8205
194
194
  bpy/app/handlers/__init__.pyi,sha256=Gxao8v-gF10WpVRUdswsB4QndzHjO1UtymwrorJef-4,6911
195
- bpy/app/icons/__init__.pyi,sha256=ZUL0UMY3r1vNNCKttKYZAABLnn4JNj6yxjm6LtKC5Ik,815
195
+ bpy/app/icons/__init__.pyi,sha256=m54z2uWnZ-R36iQuE_rnREcjYq3Fj9Ts0f8-q6suPco,858
196
196
  bpy/app/timers/__init__.pyi,sha256=vtrATRAmkTfP1CknievwpOCC19cPOMowyLTE6Ie9GSg,2126
197
- bpy/app/translations/__init__.pyi,sha256=aYjEv1Qdg_jCJ6ud1KcVUhQmOum3t6Au24NBs4Ti9Ws,6478
198
- bpy/msgbus/__init__.pyi,sha256=w2F54K3kVUG6ld8Hm8S2zC__jNuUP5dYh4ATHnsUFEs,2505
197
+ bpy/app/translations/__init__.pyi,sha256=ypfv8I8Y4IuZPZYLjME93WvmF3-fS-rABAftNuCUmoU,6742
198
+ bpy/msgbus/__init__.pyi,sha256=WwfCka6NRfyJwg3AEU2T4xXILRZeZa8k1hepTBpt7hM,2765
199
199
  bpy/ops/__init__.pyi,sha256=JptIpKHRAy3jrKGANEBzrwmfNuZx8JLP9ofvWLCaLBU,5396
200
200
  bpy/ops/action/__init__.pyi,sha256=trRizaf6_HV4y0-jN7nhaAd0xQxFnzXuC8RinfgRbJ0,24480
201
201
  bpy/ops/anim/__init__.pyi,sha256=YFwVzrwUyXXNubpsPs1bD4YLxPJqBiB_uhCwqiak96M,34424
@@ -273,27 +273,27 @@ bpy/ops/view3d/__init__.pyi,sha256=2lr2OOlmYao1DxhG3UugV_WXB8IViYGBL5WXvxHUXOE,4
273
273
  bpy/ops/wm/__init__.pyi,sha256=e0xoKjfY5DXDKcPUqZB3wuIOgaLLBboUZpfpdxJPA_M,231415
274
274
  bpy/ops/workspace/__init__.pyi,sha256=4qG0-HkVfaGfdBe9QvBCKUox03nb1ZfeV1fz-0b3KJY,3133
275
275
  bpy/ops/world/__init__.pyi,sha256=ytaDhwJ-K4SbWylChL1za6lvMNM2-RX1S0BR7892Afg,946
276
- bpy/path/__init__.pyi,sha256=b_M-IUy-VEWMDZJH0bP9P-HHcLLcQo59S1dARRQrP9E,5064
277
- bpy/props/__init__.pyi,sha256=TfulJGBHgbMIc1aadTzLWiL6Q2NQdeO9Q4_ePasNesU,30717
278
- bpy/types/__init__.pyi,sha256=GKCQFIGI6Xi8r9yeJOICFgOZ9egHC5EnNzwmGkUsHho,5366928
276
+ bpy/path/__init__.pyi,sha256=XexWcsHek4S2exWHw2eiJvEkKEyWXE3E34hjXf-Od1g,5329
277
+ bpy/props/__init__.pyi,sha256=eHzPsDSyDTa92O5TvPpi1yflmxv7vVGW_ZocCqudgw4,31027
278
+ bpy/types/__init__.pyi,sha256=XSk-3casqlhiIOwlcEz-aBQvXf8YOpCCAN7yriBOWlM,5367299
279
279
  bpy/typing/__init__.pyi,sha256=u2XKjd6ZB1Wjt7JwabxexZdswEZLYR2jQpxzzp6AThg,138679
280
- bpy/utils/__init__.pyi,sha256=XXoE6J8aW13NQ-2FvnFORXyNVUFfO8hSno-xfgJ6ZNI,13078
281
- bpy/utils/previews/__init__.pyi,sha256=XEThA7jxMWet1sPTJ3mmngM6LdAdKiIVSZOKbCsbvzw,2217
282
- bpy/utils/units/__init__.pyi,sha256=-NsCsGdfcIsC2lnZwzUrQFe1CXdnSjA80MCWSSxwbbk,2578
280
+ bpy/utils/__init__.pyi,sha256=fNpt-kiiVP9XWNCXbG1LPnq0TRjMWrDUZInAzrc2hUk,13239
281
+ bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
282
+ bpy/utils/units/__init__.pyi,sha256=r9G6UXferw_5pDijn-FmpyhYSnEng3_y-5apdkPAKl0,2631
283
283
  bpy_extras/__init__.pyi,sha256=wejK55NeAEGsAzM9psNhBokX9H0DBihwOdNQ5XlCHB4,968
284
284
  bpy_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
285
- bpy_extras/anim_utils/__init__.pyi,sha256=WQ0RoRdA5OLWvN2Y_8tZpiLLCOBjsRdwQaFPK0p43Zs,3888
285
+ bpy_extras/anim_utils/__init__.pyi,sha256=LGnLuRoBzyZOOgCS5bS4IX-gue67k7pEhemshXNzP8U,4061
286
286
  bpy_extras/asset_utils/__init__.pyi,sha256=UVqJmdeah5Uca5VTLpU43l5xIzQf4RGfcXdiQ9AmX6g,584
287
287
  bpy_extras/bmesh_utils/__init__.pyi,sha256=7Zc-cplpLSSrJNfXWE-WDsl8w3RGkuPwWFp1ILTw_N8,431
288
288
  bpy_extras/id_map_utils/__init__.pyi,sha256=oTM7UGvrLRIhWXjHhXcwE20PNjSyRVXlV9FLAn_QCk4,450
289
- bpy_extras/image_utils/__init__.pyi,sha256=AUzn7pboAKyaeGJyLOdUCuEZwO1f1GvPjgA0gIRMxiM,1971
290
- bpy_extras/io_utils/__init__.pyi,sha256=koB7uD57AQKUkFP7DBpFa72fWRti7fX_ZIPiCxtnvKs,4985
289
+ bpy_extras/image_utils/__init__.pyi,sha256=c3O1nv_u-Kr3VtKV8SBDvutYzIjPORiZ3--K5UNRgFw,2087
290
+ bpy_extras/io_utils/__init__.pyi,sha256=puXyL8XrKToDgjv7TqqmMujAuZ30rcdmvMv9C6Q_nFU,5061
291
291
  bpy_extras/keyconfig_utils/__init__.pyi,sha256=152lGc6wB3z4qLyEuthYUfB_vggCQKqnyonGni0lNNo,361
292
- bpy_extras/mesh_utils/__init__.pyi,sha256=NfVl4DnwOUUTa-MZ09l5AJ2i3E4WkohhmBDWePV77Iw,2210
292
+ bpy_extras/mesh_utils/__init__.pyi,sha256=oBjcLxt000jV4FXu6Eg3YjrQB28zhYPeCDrLSQiVjgE,2272
293
293
  bpy_extras/node_shader_utils/__init__.pyi,sha256=wUnsxxIUgiZ2-KL6A4duhnEmP9r1SgViTomWqGSOOes,5602
294
294
  bpy_extras/node_utils/__init__.pyi,sha256=WgqDrr6jIHW77WeGCy8WutcNcCr6zoqgTvMh_A1ToZo,630
295
- bpy_extras/object_utils/__init__.pyi,sha256=MbeAMo1XkUzBrgLhhQs1fMV0AciF_swdCNSPdaaFW90,3287
296
- bpy_extras/view3d_utils/__init__.pyi,sha256=d7YoqJhKU39IyxOQkHW5XruxwmEshxUyd7Fs48JmqsU,3524
295
+ bpy_extras/object_utils/__init__.pyi,sha256=wQX9CMYSh1nyTVCbmgVPXyzwHokfNd8ZGqC9MyVnZG4,3336
296
+ bpy_extras/view3d_utils/__init__.pyi,sha256=JFJaQakidVSqtuo8yhdHdwVY1i_JQSt3SRv6fVk3xE8,3644
297
297
  bpy_extras/wm_utils/__init__.pyi,sha256=cnc2h-NDlAYDb9e5F5jCxnK4h96Mg-9QkdC6HH5p1VE,111
298
298
  bpy_extras/wm_utils/progress_report/__init__.pyi,sha256=lRvwzdkIKLAIIgS6BKRwHdZsnb8LRUNvIAVcA9vuysU,1708
299
299
  bpy_restrict_state/__init__.pyi,sha256=hz85c3uVSt_QKxJE6xtdNQmvOWzNM4P5GXwc7Xet5bg,239
@@ -306,12 +306,12 @@ console_shell/__init__.pyi,sha256=0JnVxvEsJuNJKxTcWGvWMeZg168-ckmqDoWE8TzuakU,22
306
306
  console_shell/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
307
307
  freestyle/__init__.pyi,sha256=bjebH-BOh6r_bsMIXX2toGAPc183HD23o_UR8VvqZA0,716
308
308
  freestyle/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
309
- freestyle/chainingiterators/__init__.pyi,sha256=21-TW8anDnuuvRflQGbP4PCdGPT1DbylkFFa1nLzPkw,10347
309
+ freestyle/chainingiterators/__init__.pyi,sha256=N7cwNzpTKVAv-ZdBTj0nqhICvHGVqBE8OdijmbT5HIo,10564
310
310
  freestyle/functions/__init__.pyi,sha256=XYveitaHq0iT_FRPa9-h7r_Qz1kuEOknwlIDy5hRzjY,48448
311
311
  freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
312
312
  freestyle/shaders/__init__.pyi,sha256=1Ov48B4P7LV3dwjBqHqqqbPFRBZWjENqIDaFb97Qdj0,23835
313
- freestyle/types/__init__.pyi,sha256=Gqn4Lt8Z7R3JhDQDF70AhHcWw7v4zE3ot9CUXZAlsds,97165
314
- freestyle/utils/__init__.pyi,sha256=CrWHBvKHm2p1i7_ND1rQJLSjutpEx7YANq2OViTvXNs,5077
313
+ freestyle/types/__init__.pyi,sha256=G8vXeRcV3eG11cMwc1xOGd07E8iR9ymQ-68po_WihK8,98860
314
+ freestyle/utils/__init__.pyi,sha256=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
315
315
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=AdK38eLUN8YDE2Y-Am3gNUYxduClt0jmaDbr-WNv_cA,3401
316
316
  gpu/__init__.pyi,sha256=Q-AbyJO85pPYcwXNWtvgAhFGGJ6OnnHrlsXQxur9jhs,7999
317
317
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -322,27 +322,27 @@ gpu/select/__init__.pyi,sha256=piRQyAtE8YnDjLSqF8S_SSttxzZTickDlbHRONYYdV8,207
322
322
  gpu/shader/__init__.pyi,sha256=JsSm0Zagw7GAVxeaLK4cUAa1oyjSckfNwpweWfepUQg,2138
323
323
  gpu/state/__init__.pyi,sha256=leYzxw4fK1piFODBnpxCce3qqQN61CIV-dJO7bALhaY,4266
324
324
  gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
- gpu/types/__init__.pyi,sha256=uuUwD-LoXTb3WpnklSX7SZJQ8Lul8wS7BWuCXnwKY-8,26704
325
+ gpu/types/__init__.pyi,sha256=VLRILy5hoGUiVYoRyplS8B_fo08s5UZ6nsXqNwu1FEg,26871
326
326
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
327
327
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
328
- gpu_extras/batch/__init__.pyi,sha256=ku028fXUbcLhqJQVUqYBINwJ7ptBrWlth_opQT6OgWg,759
329
- gpu_extras/presets/__init__.pyi,sha256=f4wEMUbbpE23GUpmfvV9q64x2NKBNCzVJXZsiAUznwE,1386
328
+ gpu_extras/batch/__init__.pyi,sha256=AUcLCHedxFZIY0swMU0pQK2WfPeShEh0ZzuwAAMJ7Hc,817
329
+ gpu_extras/presets/__init__.pyi,sha256=XARWkuQ0koiQPC3Cjh2l7D2f9n3IgHRf5Ymd9xKkjBg,1435
330
330
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
331
331
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
332
332
  idprop/__init__.pyi,sha256=k99082XuBl1__FNGc7dZUujlxTi6jK3J93dNtKNdgkE,91
333
333
  idprop/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
334
- idprop/types/__init__.pyi,sha256=Ad0fVVR1qw0a__JS18u2g9hu5-mNoyxFNisxsuzGeRQ,1605
335
- imbuf/__init__.pyi,sha256=BFKQg8ioZeRDWp1YA9y4kLYH1ebQv5Jp02q5KSZ2xmw,976
334
+ idprop/types/__init__.pyi,sha256=AkFwX4Vc3ETak9udajrwSoXHCOJGrKYqdJz5WJ9NOQI,1673
335
+ imbuf/__init__.pyi,sha256=XCQdYclqUX0CpOc6T-OFWZV6IzIDufmINKcnrq9yNUg,1068
336
336
  imbuf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
337
337
  imbuf/types/__init__.pyi,sha256=NRVrN1gQm43xslIyHpaAHl8xSAHnfdnC1SRRA4nKpSk,1218
338
338
  keyingsets_builtins/__init__.pyi,sha256=FmSnRj8eAiQ_O-X_-kAHM_a8rCv_HZBrjXLXDRssvYU,15769
339
339
  keyingsets_builtins/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
340
340
  keyingsets_utils/__init__.pyi,sha256=UpGuAqOVl6bmy3rffJhqFS8ZKhUtAV-MfVyuuHtqXQI,770
341
341
  keyingsets_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
342
- mathutils/__init__.pyi,sha256=3udxVUkLdDN4OGc8TkIrsbhk79aq1bBWoJze-PNbloQ,85115
342
+ mathutils/__init__.pyi,sha256=SrGCUnVJl9bJ4pT3hQmYvh6MKsGYm4vug3mmysid4YQ,87703
343
343
  mathutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
344
- mathutils/bvhtree/__init__.pyi,sha256=QYzvayvePk9ZRSoLBU37C_qILQLka94FGfuUmguKIRo,4061
345
- mathutils/geometry/__init__.pyi,sha256=0zip3XQVFWaYQFyF5LWiFYP6zdU31SLJHq2BEymlinM,20563
344
+ mathutils/bvhtree/__init__.pyi,sha256=zi6oZH7hH7hPxukwcJbvfJzi08duh8Pcd-lpco4jgxU,4229
345
+ mathutils/geometry/__init__.pyi,sha256=hhY7bHKIbnN52XbiD1PNr2tFoHWQAd1Xe5BGVJ55tiI,20869
346
346
  mathutils/interpolate/__init__.pyi,sha256=nkP4MKX_cRjTbiXBtnZ6qi0eKyCzD3MNSwL4YvknABU,354
347
347
  mathutils/kdtree/__init__.pyi,sha256=nVAhyduLex6fTfxBhVRwudTbdOElbYXZjVUG1P-zgTA,1601
348
348
  mathutils/noise/__init__.pyi,sha256=YjVyhOr2LpaOINyz6s2werSFOJFT8gH2hcZRg2VTVTo,12626
@@ -350,7 +350,7 @@ nodeitems_builtins/__init__.pyi,sha256=gRwW_X7_tLGgO61KqtWfQKCrN67pI1P53HotRBFwD
350
350
  nodeitems_builtins/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
351
351
  nodeitems_utils/__init__.pyi,sha256=F82sRq2Foowt3d9IUxloVB_qg7pTQP5w8qYvMJhwvFs,747
352
352
  nodeitems_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
353
- rna_info/__init__.pyi,sha256=pg6fv9B63Eh336CEl0KzRY3J8lzAjHxOUwHi4OpE9io,3075
353
+ rna_info/__init__.pyi,sha256=sSGo1cH7Z0vV6m5FqAxQkU95CIPvXfuYF24k-MoaQHo,3143
354
354
  rna_info/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
355
355
  rna_keymap_ui/__init__.pyi,sha256=_NxiagnZt0BpMFhk-f0ArWcANpUAJZ3h3KAs6U12Kjs,413
356
356
  rna_keymap_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -358,7 +358,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
358
358
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
359
359
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
360
360
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
361
- fake_bpy_module-20241130.dist-info/METADATA,sha256=e_oV8Q2vF8s0cKs6AL2rinyVLWoiHsIFsd7eXm547qc,7289
362
- fake_bpy_module-20241130.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
- fake_bpy_module-20241130.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20241130.dist-info/RECORD,,
361
+ fake_bpy_module-20241201.dist-info/METADATA,sha256=ZE0IxN_eWbo6k3Oz47SMHmyNi4GgS_XK23GzX04HPUY,7289
362
+ fake_bpy_module-20241201.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20241201.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241201.dist-info/RECORD,,
@@ -32,7 +32,7 @@ class ChainPredicateIterator:
32
32
  bpred: freestyle.types.BinaryPredicate1D,
33
33
  restrict_to_selection: bool = True,
34
34
  restrict_to_unvisited: bool = True,
35
- begin=None,
35
+ begin: freestyle.types.ViewEdge | None = None,
36
36
  orientation: bool = True,
37
37
  ):
38
38
  """Builds a ChainPredicateIterator from a unary predicate, a binary
@@ -50,6 +50,7 @@ class ChainPredicateIterator:
50
50
  already been chained must be ignored ot not.
51
51
  :type restrict_to_unvisited: bool
52
52
  :param begin: The ViewEdge from where to start the iteration.
53
+ :type begin: freestyle.types.ViewEdge | None
53
54
  :param orientation: If true, we'll look for the next ViewEdge among
54
55
  the ViewEdges that surround the ending ViewVertex of begin. If
55
56
  false, we'll search over the ViewEdges surrounding the ending
@@ -78,7 +79,10 @@ class ChainSilhouetteIterator:
78
79
  """
79
80
 
80
81
  def __init__(
81
- self, restrict_to_selection: bool = True, begin=None, orientation: bool = True
82
+ self,
83
+ restrict_to_selection: bool = True,
84
+ begin: freestyle.types.ViewEdge | None = None,
85
+ orientation: bool = True,
82
86
  ):
83
87
  """Builds a ChainSilhouetteIterator from the first ViewEdge used for
84
88
  iteration and its orientation or the copy constructor.
@@ -87,6 +91,7 @@ class ChainSilhouetteIterator:
87
91
  to stay within the set of selected ViewEdges or not.
88
92
  :type restrict_to_selection: bool
89
93
  :param begin: The ViewEdge from where to start the iteration.
94
+ :type begin: freestyle.types.ViewEdge | None
90
95
  :param orientation: If true, we'll look for the next ViewEdge among
91
96
  the ViewEdges that surround the ending ViewVertex of begin. If
92
97
  false, we'll search over the ViewEdges surrounding the ending
@@ -273,7 +273,7 @@ class ChainingIterator:
273
273
  self,
274
274
  restrict_to_selection: bool = True,
275
275
  restrict_to_unvisited: bool = True,
276
- begin=None,
276
+ begin: ViewEdge | None = None,
277
277
  orientation: bool = True,
278
278
  ):
279
279
  """Builds a Chaining Iterator from the first ViewEdge used for
@@ -286,6 +286,7 @@ class ChainingIterator:
286
286
  already been chained must be ignored ot not.
287
287
  :type restrict_to_unvisited: bool
288
288
  :param begin: The ViewEdge from which to start the chain.
289
+ :type begin: ViewEdge | None
289
290
  :param orientation: The direction to follow to explore the graph. If
290
291
  true, the direction indicated by the first ViewEdge is used.
291
292
  :type orientation: bool
@@ -306,7 +307,7 @@ class ChainingIterator:
306
307
 
307
308
  """
308
309
 
309
- def traverse(self, it: AdjacencyIterator):
310
+ def traverse(self, it: AdjacencyIterator) -> ViewEdge:
310
311
  """This method iterates over the potential next ViewEdges and returns
311
312
  the one that will be followed next. Returns the next ViewEdge to
312
313
  follow or None when the end of the chain is reached.
@@ -316,6 +317,7 @@ class ChainingIterator:
316
317
  restriction rules by only iterating over the valid ViewEdges.
317
318
  :type it: AdjacencyIterator
318
319
  :return: Returns the next ViewEdge to follow, or None if chaining ends.
320
+ :rtype: ViewEdge
319
321
  """
320
322
 
321
323
  class Curve:
@@ -358,16 +360,18 @@ class Curve:
358
360
  :type id: Id
359
361
  """
360
362
 
361
- def push_vertex_back(self, vertex):
363
+ def push_vertex_back(self, vertex: CurvePoint | SVertex):
362
364
  """Adds a single vertex at the end of the Curve.
363
365
 
364
366
  :param vertex: A vertex object.
367
+ :type vertex: CurvePoint | SVertex
365
368
  """
366
369
 
367
- def push_vertex_front(self, vertex):
370
+ def push_vertex_front(self, vertex: CurvePoint | SVertex):
368
371
  """Adds a single vertex at the front of the Curve.
369
372
 
370
373
  :param vertex: A vertex object.
374
+ :type vertex: CurvePoint | SVertex
371
375
  """
372
376
 
373
377
  class CurvePoint:
@@ -1042,11 +1046,11 @@ class Material:
1042
1046
 
1043
1047
  def __init__(
1044
1048
  self,
1045
- line: float,
1049
+ line: collections.abc.Sequence[float] | float | mathutils.Vector,
1046
1050
  diffuse: typing.Any,
1047
- ambient: float,
1048
- specular: float,
1049
- emission: float,
1051
+ ambient: collections.abc.Sequence[float] | float | mathutils.Vector,
1052
+ specular: collections.abc.Sequence[float] | float | mathutils.Vector,
1053
+ emission: collections.abc.Sequence[float] | float | mathutils.Vector,
1050
1054
  shininess: float,
1051
1055
  priority: int,
1052
1056
  ):
@@ -1054,15 +1058,15 @@ class Material:
1054
1058
  copy constructor, or an overloaded constructor
1055
1059
 
1056
1060
  :param line: The line color.
1057
- :type line: float
1061
+ :type line: collections.abc.Sequence[float] | float | mathutils.Vector
1058
1062
  :param diffuse: The diffuse color.
1059
1063
  :type diffuse: typing.Any
1060
1064
  :param ambient: The ambient color.
1061
- :type ambient: float
1065
+ :type ambient: collections.abc.Sequence[float] | float | mathutils.Vector
1062
1066
  :param specular: The specular color.
1063
- :type specular: float
1067
+ :type specular: collections.abc.Sequence[float] | float | mathutils.Vector
1064
1068
  :param emission: The emissive color.
1065
- :type emission: float
1069
+ :type emission: collections.abc.Sequence[float] | float | mathutils.Vector
1066
1070
  :param shininess: The shininess coefficient.
1067
1071
  :type shininess: float
1068
1072
  :param priority: The line color priority.
@@ -1098,19 +1102,24 @@ class Noise:
1098
1102
  :rtype: float
1099
1103
  """
1100
1104
 
1101
- def smoothNoise2(self, v) -> float:
1105
+ def smoothNoise2(
1106
+ self, v: collections.abc.Sequence[float] | mathutils.Vector
1107
+ ) -> float:
1102
1108
  """Returns a smooth noise value for a 2D element.
1103
1109
 
1104
1110
  :param v: Two-dimensional sample point.
1111
+ :type v: collections.abc.Sequence[float] | mathutils.Vector
1105
1112
  :return: A smooth noise value.
1106
1113
  :rtype: float
1107
1114
  """
1108
1115
 
1109
- def smoothNoise3(self, v: float) -> float:
1116
+ def smoothNoise3(
1117
+ self, v: collections.abc.Sequence[float] | float | mathutils.Vector
1118
+ ) -> float:
1110
1119
  """Returns a smooth noise value for a 3D element.
1111
1120
 
1112
1121
  :param v: Three-dimensional sample point.
1113
- :type v: float
1122
+ :type v: collections.abc.Sequence[float] | float | mathutils.Vector
1114
1123
  :return: A smooth noise value.
1115
1124
  :rtype: float
1116
1125
  """
@@ -1130,10 +1139,17 @@ class Noise:
1130
1139
  :rtype: float
1131
1140
  """
1132
1141
 
1133
- def turbulence2(self, v, freq: float, amp: float, oct: int = 4) -> float:
1142
+ def turbulence2(
1143
+ self,
1144
+ v: collections.abc.Sequence[float] | mathutils.Vector,
1145
+ freq: float,
1146
+ amp: float,
1147
+ oct: int = 4,
1148
+ ) -> float:
1134
1149
  """Returns a noise value for a 2D element.
1135
1150
 
1136
1151
  :param v: Two-dimensional sample point.
1152
+ :type v: collections.abc.Sequence[float] | mathutils.Vector
1137
1153
  :param freq: Noise frequency.
1138
1154
  :type freq: float
1139
1155
  :param amp: Amplitude.
@@ -1144,11 +1160,17 @@ class Noise:
1144
1160
  :rtype: float
1145
1161
  """
1146
1162
 
1147
- def turbulence3(self, v: float, freq: float, amp: float, oct: int = 4) -> float:
1163
+ def turbulence3(
1164
+ self,
1165
+ v: collections.abc.Sequence[float] | float | mathutils.Vector,
1166
+ freq: float,
1167
+ amp: float,
1168
+ oct: int = 4,
1169
+ ) -> float:
1148
1170
  """Returns a noise value for a 3D element.
1149
1171
 
1150
1172
  :param v: Three-dimensional sample point.
1151
- :type v: float
1173
+ :type v: collections.abc.Sequence[float] | float | mathutils.Vector
1152
1174
  :param freq: Noise frequency.
1153
1175
  :type freq: float
1154
1176
  :param amp: Amplitude.
@@ -1621,12 +1643,14 @@ ViewVertex, and None otherwise.
1621
1643
  :type fedge: FEdge
1622
1644
  """
1623
1645
 
1624
- def add_normal(self, normal: float):
1646
+ def add_normal(
1647
+ self, normal: collections.abc.Sequence[float] | float | mathutils.Vector
1648
+ ):
1625
1649
  """Adds a normal to the SVertex's set of normals. If the same normal
1626
1650
  is already in the set, nothing changes.
1627
1651
 
1628
1652
  :param normal: A three-dimensional vector.
1629
- :type normal: float
1653
+ :type normal: collections.abc.Sequence[float] | float | mathutils.Vector
1630
1654
  """
1631
1655
 
1632
1656
  class SVertexIterator:
@@ -1978,7 +2002,11 @@ when following the stroke.
1978
2002
  :type value: float
1979
2003
  """
1980
2004
 
1981
- def set_attribute_vec2(self, name: str, value: float):
2005
+ def set_attribute_vec2(
2006
+ self,
2007
+ name: str,
2008
+ value: collections.abc.Sequence[float] | float | mathutils.Vector,
2009
+ ):
1982
2010
  """Adds a user-defined attribute of two-dimensional vector type. If
1983
2011
  there is no attribute of the given name, it is added. Otherwise,
1984
2012
  the new value replaces the old one.
@@ -1986,10 +2014,14 @@ when following the stroke.
1986
2014
  :param name: The name of the attribute.
1987
2015
  :type name: str
1988
2016
  :param value: The attribute value.
1989
- :type value: float
2017
+ :type value: collections.abc.Sequence[float] | float | mathutils.Vector
1990
2018
  """
1991
2019
 
1992
- def set_attribute_vec3(self, name: str, value: float):
2020
+ def set_attribute_vec3(
2021
+ self,
2022
+ name: str,
2023
+ value: collections.abc.Sequence[float] | float | mathutils.Vector,
2024
+ ):
1993
2025
  """Adds a user-defined attribute of three-dimensional vector type.
1994
2026
  If there is no attribute of the given name, it is added.
1995
2027
  Otherwise, the new value replaces the old one.
@@ -1997,7 +2029,7 @@ when following the stroke.
1997
2029
  :param name: The name of the attribute.
1998
2030
  :type name: str
1999
2031
  :param value: The attribute value as a 3D vector.
2000
- :type value: float
2032
+ :type value: collections.abc.Sequence[float] | float | mathutils.Vector
2001
2033
  """
2002
2034
 
2003
2035
  class StrokeShader:
@@ -2737,11 +2769,12 @@ of the "begin" ViewEdge.
2737
2769
  :type: bool
2738
2770
  """
2739
2771
 
2740
- def __init__(self, begin=None, orientation: bool = True):
2772
+ def __init__(self, begin: ViewEdge | None = None, orientation: bool = True):
2741
2773
  """Builds a ViewEdgeIterator from a starting ViewEdge and its
2742
2774
  orientation or the copy constructor.
2743
2775
 
2744
2776
  :param begin: The ViewEdge from where to start the iteration.
2777
+ :type begin: ViewEdge | None
2745
2778
  :param orientation: If true, we'll look for the next ViewEdge among
2746
2779
  the ViewEdges that surround the ending ViewVertex of begin. If
2747
2780
  false, we'll search over the ViewEdges surrounding the ending
@@ -70,7 +70,7 @@ def integrate(
70
70
  it: freestyle.types.Interface0DIterator,
71
71
  it_end: freestyle.types.Interface0DIterator,
72
72
  integration_type: freestyle.types.IntegrationType,
73
- ):
73
+ ) -> float:
74
74
  """Returns a single value from a set of values evaluated at each 0D
75
75
  element of this 1D element.
76
76
 
@@ -91,6 +91,7 @@ def integrate(
91
91
  value type is float if func is of the `UnaryFunction0DDouble`
92
92
  or `UnaryFunction0DFloat` type, and int if func is of the
93
93
  `UnaryFunction0DUnsigned` type.
94
+ :rtype: float
94
95
  """
95
96
 
96
97
  def is_poly_clockwise(stroke):
gpu/types/__init__.pyi CHANGED
@@ -271,10 +271,11 @@ class GPUShader:
271
271
  :rtype: int
272
272
  """
273
273
 
274
- def attrs_info_get(self):
274
+ def attrs_info_get(self) -> str:
275
275
  """Information about the attributes used in the Shader.
276
276
 
277
277
  :return: tuples containing information about the attributes in order (name, type)
278
+ :rtype: str
278
279
  """
279
280
 
280
281
  def bind(self):
@@ -313,20 +314,22 @@ class GPUShader:
313
314
  :rtype: int
314
315
  """
315
316
 
316
- def uniform_bool(self, name: str, value):
317
+ def uniform_bool(self, name: str, value: bool):
317
318
  """Specify the value of a uniform variable for the current program object.
318
319
 
319
320
  :param name: Name of the uniform variable whose value is to be changed.
320
321
  :type name: str
321
322
  :param value: Value that will be used to update the specified uniform variable.
323
+ :type value: bool
322
324
  """
323
325
 
324
- def uniform_float(self, name: str, value):
326
+ def uniform_float(self, name: str, value: float):
325
327
  """Specify the value of a uniform variable for the current program object.
326
328
 
327
329
  :param name: Name of the uniform variable whose value is to be changed.
328
330
  :type name: str
329
331
  :param value: Value that will be used to update the specified uniform variable.
332
+ :type value: float
330
333
  """
331
334
 
332
335
  def uniform_from_name(self, name: str) -> int:
@@ -996,11 +999,13 @@ class GPUUniformBuf:
996
999
  class GPUVertBuf:
997
1000
  """Contains a VBO."""
998
1001
 
999
- def attr_fill(self, id, data):
1002
+ def attr_fill(self, id: int | str, data: Buffer):
1000
1003
  """Insert data into the buffer for a single attribute.
1001
1004
 
1002
1005
  :param id: Either the name or the id of the attribute.
1006
+ :type id: int | str
1003
1007
  :param data: Buffer or sequence of data that should be stored in the buffer
1008
+ :type data: Buffer
1004
1009
  """
1005
1010
 
1006
1011
  class GPUVertFormat:
@@ -4,7 +4,7 @@ import typing_extensions
4
4
  import gpu.types
5
5
 
6
6
  def batch_for_shader(
7
- shader: gpu.types.GPUShader, type: str, content, *, indices=None
7
+ shader: gpu.types.GPUShader, type: str, content: gpu.types.Buffer, *, indices=None
8
8
  ) -> gpu.types.GPUBatch:
9
9
  """Return a batch already configured and compatible with the shader.
10
10
 
@@ -14,6 +14,7 @@ def batch_for_shader(
14
14
  :type type: str
15
15
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
16
16
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
17
+ :type content: gpu.types.Buffer
17
18
  :return: compatible batch
18
19
  :rtype: gpu.types.GPUBatch
19
20
  """
@@ -4,7 +4,7 @@ import typing_extensions
4
4
  import gpu.types
5
5
  import mathutils
6
6
 
7
- def draw_circle_2d(position, color, radius: float, *, segments=None):
7
+ def draw_circle_2d(position, color, radius: float, *, segments: int | None = None):
8
8
  """Draw a circle.
9
9
 
10
10
  :param position: 2D position where the circle will be drawn.
@@ -15,6 +15,7 @@ def draw_circle_2d(position, color, radius: float, *, segments=None):
15
15
  :param segments: How many segments will be used to draw the circle.
16
16
  Higher values give better results but the drawing will take longer.
17
17
  If None or not specified, an automatic value will be calculated.
18
+ :type segments: int | None
18
19
  """
19
20
 
20
21
  def draw_texture_2d(
idprop/types/__init__.pyi CHANGED
@@ -40,10 +40,11 @@ class IDPropertyGroup:
40
40
  def to_dict(self):
41
41
  """Return a purely Python version of the group."""
42
42
 
43
- def update(self, other):
43
+ def update(self, other: typing_extensions.Self):
44
44
  """Update key, values.
45
45
 
46
46
  :param other: Updates the values in the group with this.
47
+ :type other: typing_extensions.Self
47
48
  """
48
49
 
49
50
  def values(self):
imbuf/__init__.pyi CHANGED
@@ -18,10 +18,11 @@ import imbuf.types
18
18
 
19
19
  from . import types as types
20
20
 
21
- def load(filepath) -> imbuf.types.ImBuf:
21
+ def load(filepath: bytes | str) -> imbuf.types.ImBuf:
22
22
  """Load an image from a file.
23
23
 
24
24
  :param filepath: the filepath of the image.
25
+ :type filepath: bytes | str
25
26
  :return: the newly loaded image.
26
27
  :rtype: imbuf.types.ImBuf
27
28
  """
@@ -34,10 +35,11 @@ def new(size) -> imbuf.types.ImBuf:
34
35
  :rtype: imbuf.types.ImBuf
35
36
  """
36
37
 
37
- def write(image: imbuf.types.ImBuf, filepath=image.filepath):
38
+ def write(image: imbuf.types.ImBuf, filepath: bytes | str = image.filepath):
38
39
  """Write an image.
39
40
 
40
41
  :param image: the image to write.
41
42
  :type image: imbuf.types.ImBuf
42
43
  :param filepath: Optional filepath of the image (fallback to the images file path).
44
+ :type filepath: bytes | str
43
45
  """