fix invalid direction vector creation
@@ -1440,8 +1440,7 @@ class ArcEdge:
def transform(self, ocs: OCSTransform, elevation: float) -> None:
self.center = ocs.transform_2d_vertex(self.center, elevation)
- radius_vec = (self.radius, 0)
- self.radius = ocs.transform_length(radius_vec)
+ self.radius = ocs.transform_length(Vec3(self.radius, 0, 0))
if not math.isclose(arc_angle_span_deg(
self.start_angle, self.end_angle), 360.0):
self.start_angle = ocs.transform_deg_angle(self.start_angle)
