gumyr/build123d

param_at_point fails for an EllipticalCenterArc

Opened this issue · 0 comments

p2 = Vector(6.239269457014147, 2.41089213826002, 0.0)
l7 = EllipticalCenterArc((15, 0), 10, 5, start_angle=90, end_angle=270)
param = l7.edge().param_at_point(p2)
p3 = l7 @ param
print(f"{p2=}, {p3=}")
p2=Vector: (6.239269457014147, 2.41089213826002, 0.0), p3=Vector: (7.103320014699106, 3.067671967867013, 0.0)

image

p2 must be equal to p3 (within TOLERANCE)