RhinoCommon API
MeshCreateFromBox Method (Box, Int32, Int32, Int32) |
Constructs new mesh that matches an aligned box.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Mesh CreateFromBox( Box box, int xCount, int yCount, int zCount )
Public Shared Function CreateFromBox ( box As Box, xCount As Integer, yCount As Integer, zCount As Integer ) As Mesh
Parameters
- box
- Type: Rhino.GeometryBox
Box to match. - xCount
- Type: SystemInt32
Number of faces in x-direction. - yCount
- Type: SystemInt32
Number of faces in y-direction. - zCount
- Type: SystemInt32
Number of faces in z-direction.
Return Value
Type: Mesh[Missing <returns> documentation for "M:Rhino.Geometry.Mesh.CreateFromBox(Rhino.Geometry.Box,System.Int32,System.Int32,System.Int32)"]

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14