Click or drag to resize

UtilsgenerateBeamMesh Method

Connect vertices of given mesh with faces. Is used to produce meshes for rendering beam cross sections. Each cross section is composed of groups of vertices. Vertices of different sections need to be connected.

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void generateBeamMesh(
	Mesh3 mesh,
	List<int> groupSizes,
	int start_ind,
	int n_crosec
)

Parameters

mesh
Type: Karamba.GeometryMesh3
mesh with vertices but no faces
groupSizes
Type: System.Collections.GenericListInt32
list of integers that depict the number of vertices in each subsection of a cross section
start_ind
Type: SystemInt32
index of first node to be used for generating the faces. Thus the mesh can contain vertices that are not connnected
n_crosec
Type: SystemInt32
number of consecutive cross sections to be generated
See Also