private Mesh NearSide() { Plane plane1 = OrientedBox.FaceOffsetPlane(bayBoundary.SideXmin, 2000); Mesh side = CaveTools.split(slice, plane1); //RhinoDoc.ActiveDoc.Objects.AddMesh(side); return(side); }
private Mesh midSection() { Plane plane1 = OrientedBox.FaceOffsetPlane(bayBoundary.SideXmax, 2500); plane1.Flip(); Plane plane2 = OrientedBox.FaceOffsetPlane(bayBoundary.SideXmin, 2000); plane2.Flip(); Mesh ceiling = CaveTools.splitTwoPlanes(plane1, plane2, slice); //RhinoDoc.ActiveDoc.Objects.AddMesh(ceiling); return(ceiling); }