From 1f91bc48de5afa9e6f926c106ab2692a0e930e96 Mon Sep 17 00:00:00 2001 From: Michael Brunner Date: Fri, 20 Feb 2026 15:52:00 +0100 Subject: [PATCH 1/3] Update type hints in `polygon_list` class methods Signed-off-by: Michael Brunner --- src/cadwork/polygon_list.pyi | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/cadwork/polygon_list.pyi b/src/cadwork/polygon_list.pyi index 8055c95..6b9cf32 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: - int + Returns: int """ - def at(self, index: int) -> point_3d: + def at(self, index: int) -> vertex_list: """at Parameters: index: index Returns: - point_3d + vertex_list: vertex_list """ - From 7ec5e7d3b46461c48a5408be9c6a3dc9086af391 Mon Sep 17 00:00:00 2001 From: Michael Brunner Date: Fri, 20 Feb 2026 15:52:43 +0100 Subject: [PATCH 2/3] Update version to 32.443.1 Signed-off-by: Michael Brunner --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' From e6008fdce82bcba9300c2d680fdc71290d07e835 Mon Sep 17 00:00:00 2001 From: Andrea Settimi Date: Sun, 22 Feb 2026 20:56:29 +0100 Subject: [PATCH 3/3] [UNASSIGNED] extra verbose for the docstring --- src/cadwork/polygon_list.pyi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cadwork/polygon_list.pyi b/src/cadwork/polygon_list.pyi index 6b9cf32..bdf1f38 100644 --- a/src/cadwork/polygon_list.pyi +++ b/src/cadwork/polygon_list.pyi @@ -4,17 +4,17 @@ from cadwork import vertex_list class polygon_list: def count(self) -> int: - """count + """Returns the number of polygons in the list. Returns: int """ def at(self, index: int) -> vertex_list: - """at + """Returns the polygon vertices at the given index. Parameters: - index: index + index: The zero-based polygon index. Returns: - vertex_list: vertex_list + vertex_list: The ordered vertices defining the polygon. """