@Cyver wrote:
Hi all,
i need to determine in wich direction is oriented my cplanes Z axisFor example, i set a cplane on planar curves with Rhino.curvePlane.
on pictures we have 2 similar curves, but one put the Cplane Zaxis upside the other.in script, arrPlane (3) return the Z axis, but i got a vector value, with 3 index, sometimes positive or negatives value depending of curves placement.
How can i determine the direction of my axis with these values ?
or may be another solution ?
Thanks.
Call Main() Sub Main() Dim strCrv, arrPlane strCrv = rhino.getObject("Curve", 4) arrPlane = Rhino.CurvePlane(strCrv) Rhino.ViewCplane, arrPlane End Sub
Posts: 1
Participants: 1