M_Rhino_Geometry_Mesh_CreateFromBox_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Mesh.CreateFromBox Method (Box, Int32, Int32, Int32)

Constructs new mesh that matches an aligned box.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Mesh CreateFromBox(
	Box box,
	int xCount,
	int yCount,
	int zCount
)

VB

Public Shared Function CreateFromBox ( 
	box As Box,
	xCount As Integer,
	yCount As Integer,
	zCount As Integer
) As Mesh

Parameters

 

box
Type: Rhino.Geometry.Box
Box to match.
xCount
Type: System.Int32
Number of faces in x-direction.
yCount
Type: System.Int32
Number of faces in y-direction.
zCount
Type: System.Int32
Number of faces in z-direction.

Return Value

Type: Mesh
[Missing documentation for "M:Rhino.Geometry.Mesh.CreateFromBox(Rhino.Geometry.Box,System.Int32,System.Int32,System.Int32)"]

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Mesh Class
CreateFromBox Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️