What would be the best solution (fewest scriptable steps) to set cplane perp to a curve but also vertical in respect to world plane. If it is too easy could anyone make such script and share it here? Thank you very much. I even think this option could be default in rhino since sections in civil engineering are usually vertical and perp to some alignment curve. The same goes with clipping plane definition (there is along curve option but not vertical and along curve)
screenshot still shows world xy cplane
tangent of 3d curve (pink)
projected (by black vector) tangent to be parallel to World xy (blue)
becomes normal of new c-plane (grey surface for illustration)
rotation of c-plane - x axis parallel to world xy
as a non native speaker - but i would try to describe like this:
the x,y component of the tangent of the curve will become the normal of the new c-plane ?
x-axis parallel to world-xy plane