You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found it helpful to have the following function.
{-| Try to find the unique intersection point of an axis with a sketch plane. If the axis does not intersect the sketch plane, or if it is coplanar with it (lying perfectly in the sketch plane), returns Nothing.-}intersectionWithSketchPlane:SketchPlane3dunitscoordinates { defines : coordinates2d } ->Axis3dunitscoordinates->Maybe (Point2dunitscoordinates2d)
intersectionWithSketchPlane sketchPlane axis3d =Axis3d.intersectionWithPlane (SketchPlane3d.toPlane sketchPlane) axis3d |>Maybe.map (Point3d.projectInto sketchPlane)
It behaves the same way as Axis3d.intersectionWithPlane except that it returns a 2d point on the sketch plane rather than a 3d point in global coordinates.
The text was updated successfully, but these errors were encountered:
I've found it helpful to have the following function.
It behaves the same way as
Axis3d.intersectionWithPlane
except that it returns a 2d point on the sketch plane rather than a 3d point in global coordinates.The text was updated successfully, but these errors were encountered: