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
{{ message }}
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.
I believe Rhino.Geometry.Curve.ProjectToPlane has a bug.
The projected curve seems to be mirrored around the projection plane.
or am I doing something wrong here ?
test this code on any 3d curve not in the Cplane:
import rhinoscriptsyntax as rs
import Rhino.Geometry as geo
import scriptcontext as sc ; ot = sc.doc.Objects
o = rs.GetObject()
c = rs.coercecurve(o)
m = rs.CurveMidPoint(c)
pl= rs.WorldXYPlane()
pl.OriginZ = m.Z
p = geo.Curve.ProjectToPlane(c,pl)
ot.AddCurve(p)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I believe Rhino.Geometry.Curve.ProjectToPlane has a bug.
The projected curve seems to be mirrored around the projection plane.
or am I doing something wrong here ?
test this code on any 3d curve not in the Cplane:
import rhinoscriptsyntax as rs
import Rhino.Geometry as geo
import scriptcontext as sc ; ot = sc.doc.Objects
o = rs.GetObject()
c = rs.coercecurve(o)
m = rs.CurveMidPoint(c)
pl= rs.WorldXYPlane()
pl.OriginZ = m.Z
p = geo.Curve.ProjectToPlane(c,pl)
ot.AddCurve(p)
The text was updated successfully, but these errors were encountered: