What’s the difference between that and just drawing a plane surface on the CPlane?
Thanks.Just to see if it does. If it can be done then I can move or rotate or split something with it. Actually i want to toggle between cplane and this wished surface.
In Rhino 8, there is the InfinitePlane option in a number of commands (including Split) that allow you to use a virtual plane like the CPlane to split objects. Just run Split, select your objects, then type ip
and enter:
Thank you for your reply.
This will make a plane surface from the active viewport’s CPlane to the grid extents:
import rhinoscriptsyntax as rs
import scriptcontext as sc
import Rhino
def MakePlanarSrfFromCPlaneGrid():
cp_obj=sc.doc.Views.ActiveView.ActiveViewport.GetConstructionPlane()
quad=cp_obj.GridSpacing*cp_obj.GridLineCount
iv=Rhino.Geometry.Interval(-quad,quad)
srf=Rhino.Geometry.PlaneSurface(cp_obj.Plane,iv,iv)
sc.doc.Objects.AddSurface(srf)
sc.doc.Views.Redraw()
MakePlanarSrfFromCPlaneGrid()
Wow.superb.Thank you so much.
Nice Is it possible to have exact same cplane as before from a plane?
CPlane>Surface will possibly do that…
It would be great if it is possible.
Sir, you made a script which creates surface from c plane.Is it possible to create a cplane from the same surface?
I think the answer was in the post above…