diff --git a/pyproject.toml b/pyproject.toml index 1ce9c7c..1912917 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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' diff --git a/src/cadwork/polygon_list.pyi b/src/cadwork/polygon_list.pyi index 8055c95..bdf1f38 100644 --- a/src/cadwork/polygon_list.pyi +++ b/src/cadwork/polygon_list.pyi @@ -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. """ -