Docs: clarify Mesh.from_pydata edges argument usage

Addresses T70617
This commit is contained in:
Campbell Barton 2019-10-09 12:06:01 +11:00
parent 0812949bbc
commit 7468227aea
Notes: blender-bot 2023-04-14 09:18:04 +02:00
Referenced by issue #70617, Python mesh.from_pydata() misses first edge if there are faces
1 changed files with 7 additions and 0 deletions

View File

@ -439,6 +439,13 @@ class Mesh(bpy_types.ID):
int pairs, each pair contains two indices to the
*vertices* argument. eg: [(1, 2), ...]
When an empty iterable is passed in, the edsges are inferred from the polygons.
When non-emtpy, either:
- Edges must be provided for all polygons.
- Edges must be calculated afterwards using :class:`Mesh.update` with ``calc_edges=True``.
:type edges: iterable object
:arg faces: