Skip to content

Commit

Permalink
topology.py -> use abs_tol=TOLERANCE in param_at_point again
Browse files Browse the repository at this point in the history
  • Loading branch information
jdegenstein authored Aug 29, 2024
1 parent e1c649e commit 084d3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build123d/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -4786,7 +4786,7 @@ def _project_point_on_curve(curve, gp_pnt) -> float:

point = Vector(point)

if not isclose_b(self.distance_to(point), 0):
if not isclose_b(self.distance_to(point), 0, abs_tol=TOLERANCE):
raise ValueError(f"point ({point}) is not on edge")

# Get the extreme of the parameter values for this Edge/Wire
Expand Down

0 comments on commit 084d3cc

Please sign in to comment.