mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Fixing typing errors
This commit is contained in:
parent
60cd260e74
commit
8a603f17ee
1 changed files with 4 additions and 2 deletions
|
|
@ -301,7 +301,9 @@ class Mixin2D(Shape):
|
|||
axis = Axis(point, direction)
|
||||
face = self.faces_intersected_by_axis(axis).sort_by(
|
||||
lambda f: f.distance_to(point)
|
||||
)[0]
|
||||
)[
|
||||
0
|
||||
] # type: ignore[type-var]
|
||||
intersections = face.find_intersection_points(axis)
|
||||
if not intersections:
|
||||
raise RuntimeError(
|
||||
|
|
@ -342,7 +344,7 @@ class Mixin2D(Shape):
|
|||
surface_normal = surface_loc.z_axis.direction
|
||||
|
||||
# Seed the wrapped path
|
||||
wrapped_edge_points: list[Vector] = []
|
||||
wrapped_edge_points: list[VectorLike] = []
|
||||
planar_position = planar_edge.position_at(0)
|
||||
current_point, current_normal = _find_point_on_surface(
|
||||
surface_origin, surface_normal, planar_position
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue