implement review comments

This commit is contained in:
Bernhard 2026-01-09 19:10:49 +01:00
parent 0bc16b491a
commit 19b40646f4
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ classifiers = [
]
dependencies = [
"cadquery-ocp-novtk >= 7.9.2.0.dev0, < 8.0",
"cadquery-ocp-novtk >= 7.9, < 8.0",
"typing_extensions >= 4.6.0, < 5",
"numpy >= 2, < 3",
"svgpathtools >= 1.5.1, < 2",

View file

@ -44,7 +44,7 @@ license:
"""
from typing import Any, Union
from typing import Any
import warnings
from build123d.topology import Shape
@ -117,7 +117,7 @@ def to_vtk_poly_data(
tolerance: float | None = None,
angular_tolerance: float | None = None,
normals: bool = False,
) -> Union["vtkPolyData", None]:
) -> "vtkPolyData" | None:
"""Convert shape to vtkPolyData
Args: