algorithmic modeling for Rhino
It's a transform, so the C# alternative is:
YourObject.Transform(Transform.Project(YourPlane));
thank you for reply,but...i have try but non works....
the code is:
private void RunScript(Brep x, ref object A)
{
Plane p = new Plane(Point3d.Origin, Vector3d.ZAxis);
A = x.Transform(Transform.PlanarProjection(p));
}
A only returns "True"...but i want a projected object on the XY plane....
but meanwhile ...the project component works well...
the file is upload
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by