Flipping GH Planes forever? What is going on and how to fix it?

That’s hypnotic.

2 Likes

I added a method ( to v8 )

ON_Plane::CreateFromNormalYup(
    const ON_3dPoint& origin,
    const ON_3dVector& normal,
    const ON_3dVector& y_up)

I couldn’t add a new constructor because there is already a constructor with that signature.

The function FromToRotation is not well defined as there are many rotations that produce a unit “toDirection” vector when applied to a unit “fromDirection” vector. So I don’t see how this solves the problem of continuously producing a plane ( i.e. oriented frame) from normal vector. In fact David’s reference explains that this is impossible.

1 Like