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

@@ -231,6 +231,27 @@ def open_containing_blend_file(
231
231
  :type undo: bool | None
232
232
  """
233
233
 
234
+ def screenshot_preview(
235
+ execution_context: int | str | None = None,
236
+ undo: bool | None = None,
237
+ /,
238
+ *,
239
+ p1: collections.abc.Iterable[int] | None = (0, 0),
240
+ p2: collections.abc.Iterable[int] | None = (0, 0),
241
+ force_square: bool | None = True,
242
+ ):
243
+ """Capture a screenshot to use as a preview for the selected asset
244
+
245
+ :type execution_context: int | str | None
246
+ :type undo: bool | None
247
+ :param p1: Point 1, First point of the screenshot in screenspace
248
+ :type p1: collections.abc.Iterable[int] | None
249
+ :param p2: Point 2, Second point of the screenshot in screenspace
250
+ :type p2: collections.abc.Iterable[int] | None
251
+ :param force_square: Force Square, If enabled, the screenshot will have the same height as width
252
+ :type force_square: bool | None
253
+ """
254
+
234
255
  def tag_add(execution_context: int | str | None = None, undo: bool | None = None):
235
256
  """Add a new keyword tag to the active asset
236
257
 
bpy/ops/pose/__init__.pyi CHANGED
@@ -656,7 +656,16 @@ def select_grouped(
656
656
  /,
657
657
  *,
658
658
  extend: bool | None = False,
659
- type: typing.Literal["COLLECTION", "COLOR", "KEYINGSET"] | None = "COLLECTION",
659
+ type: typing.Literal[
660
+ "COLLECTION",
661
+ "COLOR",
662
+ "KEYINGSET",
663
+ "CHILDREN",
664
+ "CHILDREN_IMMEDIATE",
665
+ "PARENT",
666
+ "SIBILINGS",
667
+ ]
668
+ | None = "COLLECTION",
660
669
  ):
661
670
  """Select all visible bones grouped by similar properties
662
671
 
@@ -674,7 +683,19 @@ def select_grouped(
674
683
 
675
684
  KEYINGSET
676
685
  Keying Set -- All bones affected by active Keying Set.
677
- :type type: typing.Literal['COLLECTION','COLOR','KEYINGSET'] | None
686
+
687
+ CHILDREN
688
+ Children -- Select all children of currently selected bones.
689
+
690
+ CHILDREN_IMMEDIATE
691
+ Immediate Children -- Select direct children of currently selected bones.
692
+
693
+ PARENT
694
+ Parents -- Select the parents of currently selected bones.
695
+
696
+ SIBILINGS
697
+ Siblings -- Select all bones that have the same parent as currently selected bones.
698
+ :type type: typing.Literal['COLLECTION','COLOR','KEYINGSET','CHILDREN','CHILDREN_IMMEDIATE','PARENT','SIBILINGS'] | None
678
699
  """
679
700
 
680
701
  def select_hierarchy(
@@ -52,6 +52,15 @@ def remove_row_filter_rule(
52
52
  :type index: int | None
53
53
  """
54
54
 
55
+ def reorder_columns(
56
+ execution_context: int | str | None = None, undo: bool | None = None
57
+ ):
58
+ """Change the order of columns
59
+
60
+ :type execution_context: int | str | None
61
+ :type undo: bool | None
62
+ """
63
+
55
64
  def resize_column(execution_context: int | str | None = None, undo: bool | None = None):
56
65
  """Resize a spreadsheet column
57
66
 
bpy/types/__init__.pyi CHANGED
@@ -39175,6 +39175,104 @@ database.
39175
39175
  :columns: 2
39176
39176
 
39177
39177
 
39178
+ --------------------
39179
+
39180
+ * bpy_struct.id_data
39181
+ * Node.type
39182
+ * Node.location
39183
+ * Node.location_absolute
39184
+ * Node.width
39185
+ * Node.height
39186
+ * Node.dimensions
39187
+ * Node.name
39188
+ * Node.label
39189
+ * Node.inputs
39190
+ * Node.outputs
39191
+ * Node.internal_links
39192
+ * Node.parent
39193
+ * Node.warning_propagation
39194
+ * Node.use_custom_color
39195
+ * Node.color
39196
+ * Node.color_tag
39197
+ * Node.select
39198
+ * Node.show_options
39199
+ * Node.show_preview
39200
+ * Node.hide
39201
+ * Node.mute
39202
+ * Node.show_texture
39203
+ * Node.bl_idname
39204
+ * Node.bl_label
39205
+ * Node.bl_description
39206
+ * Node.bl_icon
39207
+ * Node.bl_static_type
39208
+ * Node.bl_width_default
39209
+ * Node.bl_width_min
39210
+ * Node.bl_width_max
39211
+ * Node.bl_height_default
39212
+ * Node.bl_height_min
39213
+ * Node.bl_height_max
39214
+
39215
+ :columns: 2
39216
+
39217
+
39218
+ --------------------
39219
+
39220
+ * bpy_struct.as_pointer
39221
+ * bpy_struct.driver_add
39222
+ * bpy_struct.driver_remove
39223
+ * bpy_struct.get
39224
+ * bpy_struct.id_properties_clear
39225
+ * bpy_struct.id_properties_ensure
39226
+ * bpy_struct.id_properties_ui
39227
+ * bpy_struct.is_property_hidden
39228
+ * bpy_struct.is_property_overridable_library
39229
+ * bpy_struct.is_property_readonly
39230
+ * bpy_struct.is_property_set
39231
+ * bpy_struct.items
39232
+ * bpy_struct.keyframe_delete
39233
+ * bpy_struct.keyframe_insert
39234
+ * bpy_struct.keys
39235
+ * bpy_struct.path_from_id
39236
+ * bpy_struct.path_resolve
39237
+ * bpy_struct.pop
39238
+ * bpy_struct.property_overridable_library_set
39239
+ * bpy_struct.property_unset
39240
+ * bpy_struct.rna_ancestors
39241
+ * bpy_struct.type_recast
39242
+ * bpy_struct.values
39243
+ * Node.socket_value_update
39244
+ * Node.is_registered_node_type
39245
+ * Node.poll
39246
+ * Node.poll_instance
39247
+ * Node.update
39248
+ * Node.insert_link
39249
+ * Node.init
39250
+ * Node.copy
39251
+ * Node.free
39252
+ * Node.draw_buttons
39253
+ * Node.draw_buttons_ext
39254
+ * Node.draw_label
39255
+ * Node.debug_zone_body_lazy_function_graph
39256
+ * Node.debug_zone_lazy_function_graph
39257
+ * Node.poll
39258
+ * Node.bl_rna_get_subclass
39259
+ * Node.bl_rna_get_subclass_py
39260
+ * NodeInternal.poll
39261
+ * NodeInternal.poll_instance
39262
+ * NodeInternal.update
39263
+ * NodeInternal.draw_buttons
39264
+ * NodeInternal.draw_buttons_ext
39265
+ * NodeInternal.bl_rna_get_subclass
39266
+ * NodeInternal.bl_rna_get_subclass_py
39267
+ * CompositorNode.tag_need_exec
39268
+ * CompositorNode.poll
39269
+ * CompositorNode.update
39270
+ * CompositorNode.bl_rna_get_subclass
39271
+ * CompositorNode.bl_rna_get_subclass_py
39272
+
39273
+ :columns: 2
39274
+
39275
+
39178
39276
  --------------------
39179
39277
 
39180
39278
  * bpy_struct.id_data
@@ -96981,6 +97079,8 @@ of the scene and only show nodes of the renderer they are designed for.
96981
97079
  * CompositorNodeRGBToBW.output_template
96982
97080
  * CompositorNodeRLayers.input_template
96983
97081
  * CompositorNodeRLayers.output_template
97082
+ * CompositorNodeRelativeToPixel.input_template
97083
+ * CompositorNodeRelativeToPixel.output_template
96984
97084
  * CompositorNodeRotate.input_template
96985
97085
  * CompositorNodeRotate.output_template
96986
97086
  * CompositorNodeScale.input_template
@@ -135629,6 +135729,74 @@ class CompositorNodeRLayers(CompositorNode, NodeInternal, Node, bpy_struct):
135629
135729
  :rtype: typing.Any
135630
135730
  """
135631
135731
 
135732
+ class CompositorNodeRelativeToPixel(CompositorNode, NodeInternal, Node, bpy_struct):
135733
+ """Converts values that are relative to the image size to be in terms of pixels"""
135734
+
135735
+ data_type: typing.Literal["FLOAT", "VECTOR"]
135736
+ """ The type of data
135737
+
135738
+ :type: typing.Literal['FLOAT','VECTOR']
135739
+ """
135740
+
135741
+ reference_dimension: typing.Literal[
135742
+ "PER_DIMENSION", "X", "Y", "Greater", "Smaller", "Diagonal"
135743
+ ]
135744
+ """ Defines the dimension of the image that the relative value is in reference to
135745
+
135746
+ :type: typing.Literal['PER_DIMENSION','X','Y','Greater','Smaller','Diagonal']
135747
+ """
135748
+
135749
+ @classmethod
135750
+ def is_registered_node_type(cls) -> bool:
135751
+ """True if a registered node type
135752
+
135753
+ :return: Result
135754
+ :rtype: bool
135755
+ """
135756
+
135757
+ @classmethod
135758
+ def input_template(cls, index: int | None) -> NodeInternalSocketTemplate:
135759
+ """Input socket template
135760
+
135761
+ :param index: Index
135762
+ :type index: int | None
135763
+ :return: result
135764
+ :rtype: NodeInternalSocketTemplate
135765
+ """
135766
+
135767
+ @classmethod
135768
+ def output_template(cls, index: int | None) -> NodeInternalSocketTemplate:
135769
+ """Output socket template
135770
+
135771
+ :param index: Index
135772
+ :type index: int | None
135773
+ :return: result
135774
+ :rtype: NodeInternalSocketTemplate
135775
+ """
135776
+
135777
+ def update(self): ...
135778
+ @classmethod
135779
+ def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
135780
+ """
135781
+
135782
+ :param id: The RNA type identifier.
135783
+ :type id: str | None
135784
+ :param default:
135785
+ :return: The RNA type or default when not found.
135786
+ :rtype: Struct
135787
+ """
135788
+
135789
+ @classmethod
135790
+ def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
135791
+ """
135792
+
135793
+ :param id: The RNA type identifier.
135794
+ :type id: str | None
135795
+ :param default:
135796
+ :return: The class or default when not found.
135797
+ :rtype: typing.Any
135798
+ """
135799
+
135632
135800
  class CompositorNodeRotate(CompositorNode, NodeInternal, Node, bpy_struct):
135633
135801
  """Rotate image by specified angle"""
135634
135802
 
@@ -136943,7 +137111,7 @@ class CompositorNodeTranslate(CompositorNode, NodeInternal, Node, bpy_struct):
136943
137111
  """
136944
137112
 
136945
137113
  use_relative: bool
136946
- """ Use relative (fraction of input image size) values to define translation
137114
+ """ Use relative (fraction of input image size) values to define translation. (Deprecated: Unused.)
136947
137115
 
136948
137116
  :type: bool
136949
137117
  """
@@ -147129,7 +147297,7 @@ class FluidFlowSettings(bpy_struct):
147129
147297
  """
147130
147298
 
147131
147299
  surface_distance: float
147132
- """ Controls fluid emission from the mesh surface (higher value results in emission further away from the mesh surface
147300
+ """ Height (in domain grid units) of fluid emission above the mesh surface. Higher values result in emission further away from the mesh surface. If this value and the emitter size are smaller than the domain grid unit, fluid will not be created
147133
147301
 
147134
147302
  :type: float
147135
147303
  """
@@ -189503,10 +189671,19 @@ class NodeTreeInterfaceSocket(NodeTreeInterfaceItem, bpy_struct):
189503
189671
  :type: str
189504
189672
  """
189505
189673
 
189506
- default_input: str
189674
+ default_input: typing.Literal[
189675
+ "VALUE",
189676
+ "INDEX",
189677
+ "ID_OR_INDEX",
189678
+ "NORMAL",
189679
+ "POSITION",
189680
+ "INSTANCE_TRANSFORM",
189681
+ "HANDLE_LEFT",
189682
+ "HANDLE_RIGHT",
189683
+ ]
189507
189684
  """ Input to use when the socket is unconnected. Requires "Hide Value".
189508
189685
 
189509
- :type: str
189686
+ :type: typing.Literal['VALUE','INDEX','ID_OR_INDEX','NORMAL','POSITION','INSTANCE_TRANSFORM','HANDLE_LEFT','HANDLE_RIGHT']
189510
189687
  """
189511
189688
 
189512
189689
  description: str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fake-bpy-module
3
- Version: 20250520
3
+ Version: 20250521
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
@@ -203,7 +203,7 @@ bpy/ops/__init__.pyi,sha256=oyhZEf0VnUeUM7XXXOg9k4qnzcpqDDS14azXU-N0ZRA,5992
203
203
  bpy/ops/action/__init__.pyi,sha256=mTwxnCJvbOYwe7oTBQwpBIDV1KVtKy4LGXZ3q7n4Z9E,18672
204
204
  bpy/ops/anim/__init__.pyi,sha256=cIJ1ofgeymkB0WnZNfK6Igo2c1gX43SKGwOfsAJCqQk,25133
205
205
  bpy/ops/armature/__init__.pyi,sha256=rljv88OGIvV0_Wd3TeRRBghGOvZikghfc5q4HOehvlg,20936
206
- bpy/ops/asset/__init__.pyi,sha256=nBGMUdpYiduhM3kkA3t87WzO4fT3c4DPEMEjAR5eUvs,8721
206
+ bpy/ops/asset/__init__.pyi,sha256=pzrGoMMWW0uIYSXBo3La8KEl10EhaCRScSK6eoRCPZU,9521
207
207
  bpy/ops/boid/__init__.pyi,sha256=kcmRuTJK7CNmzW-xm3kUF3nD4mmksH_LOUW9ag_AEzA,1990
208
208
  bpy/ops/brush/__init__.pyi,sha256=D8LbYkNbc-M9XHguxT5Y3Alww9n6MB2tmrvCJTAz9zc,9974
209
209
  bpy/ops/buttons/__init__.pyi,sha256=3O2yKte61LV-xffPhGGj1D_zeNxmezFdZXCUUaayx5k,9058
@@ -250,7 +250,7 @@ bpy/ops/paintcurve/__init__.pyi,sha256=3V3HI5tmtyehUcJyiNj8NO4uj-Q7B9xIvBgnAn3Bl
250
250
  bpy/ops/palette/__init__.pyi,sha256=pknbUb-AUd1IJ5sehVq2_VRvvfgwAe39OYpgG6QnaHw,2120
251
251
  bpy/ops/particle/__init__.pyi,sha256=dKf96ehvWhAYThLCRBhQIFg1Zj7USpgyHsE__QNKbkE,13648
252
252
  bpy/ops/pointcloud/__init__.pyi,sha256=OfQd4JOQRSEs9lhwgdYHXHfAygXc_Nt8t4SUdmzhkYM,3870
253
- bpy/ops/pose/__init__.pyi,sha256=5M-2rKom3JxsvsfvXHuL0rw2onY2zw1Ohey6yt934jg,26797
253
+ bpy/ops/pose/__init__.pyi,sha256=Ro9EdScs7Tshqhz1lnuR6SXP3QrS3WPoM4ne-QG_uyU,27333
254
254
  bpy/ops/poselib/__init__.pyi,sha256=EryOg2n7QU-LEbik7logmai9VatSHB4sy4v65mpr_7Y,5401
255
255
  bpy/ops/preferences/__init__.pyi,sha256=g6mwdC8PskEDcjC6h0NxwNj1LxcvBJop0GV1TIqNXbU,19526
256
256
  bpy/ops/ptcache/__init__.pyi,sha256=KQQA6WXJZuEDScyLQsvdBne2ucXRnS8b-JwkDVwmEm0,1694
@@ -263,7 +263,7 @@ bpy/ops/sculpt/__init__.pyi,sha256=nLSruQTsL9fUNExK5N8wDGncsbmBhGaH8ZVTBmI_MWo,5
263
263
  bpy/ops/sculpt_curves/__init__.pyi,sha256=mx1sIk4zA2ValmxBpDXO6SJccf-Jpvb7y1pXaWX1EI0,2876
264
264
  bpy/ops/sequencer/__init__.pyi,sha256=k55Sa5rQkpi4Z15YogG2jeM6CtqcZ7zoGBpBcfUA6uA,78310
265
265
  bpy/ops/sound/__init__.pyi,sha256=1cAvk2eDLTyU2JrwXd5-AJfPHHFrbv35MZgaer7b6pc,16956
266
- bpy/ops/spreadsheet/__init__.pyi,sha256=7-UPlT1vUUavzN7jbKicEW_g63sshiaXjbqpDMU2AZw,1825
266
+ bpy/ops/spreadsheet/__init__.pyi,sha256=mkVDCT6dsYBPSpPln3AxxNZx8qEQyuG4IkY-xjiWHIk,2041
267
267
  bpy/ops/surface/__init__.pyi,sha256=tvTVuqkjV4znlQBD0F2E52tkGnYDttaPQl7sHwyaOSo,10342
268
268
  bpy/ops/text/__init__.pyi,sha256=he6eb_hke7BAVQ2QvLjDw9pyNceRtuPtSswA1Yy85cA,21242
269
269
  bpy/ops/text_editor/__init__.pyi,sha256=OqbysVhPRNHYqVJT13zQk3KFZYovjE3QDXbrz1evDTs,662
@@ -279,7 +279,7 @@ bpy/ops/workspace/__init__.pyi,sha256=NdaJuwz3A-gStNuzp_OWR9DIj7oeSgLjn9SUEBLYuN
279
279
  bpy/ops/world/__init__.pyi,sha256=9OhY87-WRRLor-4GQJhDiDJG3M9W5s9yFo9x45Iiycs,628
280
280
  bpy/path/__init__.pyi,sha256=yGX45MUnn9fJYw32UWTsBQ646iN5DbbxfvnoDkREWvI,5537
281
281
  bpy/props/__init__.pyi,sha256=4SYl5qfPLRwe3zGyHowQy_i_mU-gjImdiqidFOHP6Tc,35264
282
- bpy/types/__init__.pyi,sha256=wUFuec13fj1Pg1bg2BeXffGzC15EwkkzyzVJbyvEgQk,5631137
282
+ bpy/types/__init__.pyi,sha256=8egfDs3jNWeH_7odDJ-6j2fWetKavsEqMcU_BAFEBEk,5635657
283
283
  bpy/utils/__init__.pyi,sha256=NwKl40t0SfvM2Lce9VmXS9zh6T-ZE1JxleSh9te_d5E,15351
284
284
  bpy/utils/previews/__init__.pyi,sha256=Pji8UKqvI3AJTk5v3nCK92URlJfehxuoaaJW6n9L7XU,2342
285
285
  bpy/utils/units/__init__.pyi,sha256=zULS_4qRrtzpHLtSU-jfO2761J4WeYBZyK-BTlL4KG0,2671
@@ -314,7 +314,7 @@ freestyle/functions/__init__.pyi,sha256=RGdlJWbBctqKBR3p81MsXBk9OWdTuvEoOfBXvxjf
314
314
  freestyle/predicates/__init__.pyi,sha256=Liq_1krkT25RfeNPeEgvKWkLnWtHCuO9-7vXX3lE71E,13488
315
315
  freestyle/shaders/__init__.pyi,sha256=imuo4jXkwaN4dazDARvErEGdn9XuMGlWIKGpnqd3Po0,24041
316
316
  freestyle/types/__init__.pyi,sha256=zCVqLakrYPiSTlYVHLg-455C9aPCEo-eeO-0A1fYFYs,100227
317
- freestyle/utils/__init__.pyi,sha256=k2JFp4C3DUpnkVgR1B32ZDux08pAcsceSuWBnIEHD9A,5135
317
+ freestyle/utils/__init__.pyi,sha256=ub0HsAFKN7jMbNu3fuP9OpaOSHywBpSckuXSexz0Bos,5135
318
318
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=YvDLJXMxKbbqBS0so4MnfuSN1g4wNAFOXbpW7_g4AR0,3472
319
319
  gpu/__init__.pyi,sha256=zVeZ4mRNYZyEgbp-j6uZ6ZQTpWFGh7j3R8UT9JOZ_0w,8026
320
320
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -328,7 +328,7 @@ gpu/texture/__init__.pyi,sha256=eXL-ZQU-gsMFo_Yv6ShF_YjBQ-yPDLRZno-T3P59nhE,668
328
328
  gpu/types/__init__.pyi,sha256=PfUYX85LRnCooX_sDiaZkHVaQLrnM6fPJdOTsRewH4I,29313
329
329
  gpu_extras/__init__.pyi,sha256=XscwC-5DTPC0yc2HB_XMgvX61rT5Qs5RaImqNwR6c40,240
330
330
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
331
- gpu_extras/batch/__init__.pyi,sha256=0z8rIEm4SFuC-rUGyoOMU0L6i_TsaW5nJN9cGR6u40Y,1306
331
+ gpu_extras/batch/__init__.pyi,sha256=P0KwOXu_4yBZvCupG7WJ08TQ6yvocr5NZLAhJK_qLtQ,1305
332
332
  gpu_extras/presets/__init__.pyi,sha256=9MrG1r0CUOxBYWyp_vZSYxs47oElIxca1uMyuFPLKdw,1674
333
333
  graphviz_export/__init__.pyi,sha256=_breciGLRC6qTh-HOor-Ufn_fI5HXnoQego6mmvTAIQ,242
334
334
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -361,7 +361,7 @@ rna_prop_ui/__init__.pyi,sha256=o3yE2C_BSi2O_ZJM_Jao06i6seWMRNQcZaI6keKjpFE,1308
361
361
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
362
  rna_xml/__init__.pyi,sha256=EBP-inpL9KRsjGftcoza9_G_Do5UjXw62eAvuEMoaO0,604
363
363
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
364
- fake_bpy_module-20250520.dist-info/METADATA,sha256=Co0g1wPwt1YuiWIFJxrNJzEZ73dIguJy7kZ5XVV3gww,7429
365
- fake_bpy_module-20250520.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
366
- fake_bpy_module-20250520.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
- fake_bpy_module-20250520.dist-info/RECORD,,
364
+ fake_bpy_module-20250521.dist-info/METADATA,sha256=aClCIOvp81OInQCpnhv6c5oiJpXxdSW8qMZVh6h4jpA,7429
365
+ fake_bpy_module-20250521.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
366
+ fake_bpy_module-20250521.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
+ fake_bpy_module-20250521.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.7.1)
2
+ Generator: setuptools (80.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -125,7 +125,7 @@ def material_from_fedge(fe):
125
125
  """get the diffuse RGBA color from an FEdge"""
126
126
 
127
127
  def normal_at_I0D(it): ...
128
- def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
128
+ def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
129
129
  """Yields a tuple containing the previous and current object"""
130
130
 
131
131
  def rgb_to_bw(r, g, b):
@@ -2,6 +2,7 @@ import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
+ import bgl
5
6
  import gpu.types
6
7
 
7
8
  def batch_for_shader(
@@ -9,7 +10,7 @@ def batch_for_shader(
9
10
  type: str,
10
11
  content: dict[
11
12
  str,
12
- gpu.types.Buffer
13
+ bgl.Buffer
13
14
  | collections.abc.Sequence[float]
14
15
  | collections.abc.Sequence[int]
15
16
  | collections.abc.Sequence[collections.abc.Sequence[float]]
@@ -26,7 +27,7 @@ def batch_for_shader(
26
27
  :type type: str
27
28
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
28
29
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
29
- :type content: dict[str, gpu.types.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
30
+ :type content: dict[str, bgl.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
30
31
  :return: compatible batch
31
32
  :rtype: gpu.types.GPUBatch
32
33
  """