Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cwapi3d"
version = "32.443.0"
version = "32.443.1"
authors = [{ name = "Cadwork", email = "it@cadwork.ca" }]
requires-python = ">= 3.12"
description = 'Python bindings for CwAPI3D'
Expand Down
19 changes: 9 additions & 10 deletions src/cadwork/polygon_list.pyi
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
from cadwork import point_3d
from cadwork import vertex_list


class polygon_list:

def count(self) -> int:
"""count
"""Returns the number of polygons in the list.

Returns:
int
Returns: int
"""

def at(self, index: int) -> point_3d:
"""at
def at(self, index: int) -> vertex_list:
"""Returns the polygon vertices at the given index.

Parameters:
index: index
index: The zero-based polygon index.

Returns:
point_3d
vertex_list: The ordered vertices defining the polygon.
"""

Loading