MeshBrepsHeimrathRefactoredsolve Method

meshes a list of breps such that their vertices coincide on common edges. The minimum mesh-size is hard-coded to 5mm. This is due to tolerance checks and will be removed in future.

Definition

Namespace: Karamba.GHopper.Utilities.Mesher
Assembly: karamba (in karamba.dll) Version: 1.0.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public static List<Mesh> solve(
	List<Brep> inputBreps,
	List<Point3d> inputInclusionPoints,
	out string warning,
	out string info,
	double mResolution = 1,
	int mMode = 0,
	double refineEdgeResFactor = 0.666666666666667,
	double cullDist = 0.5,
	double tolerance = 0.001,
	double smooth = 0.5,
	int steps = 0
)

Parameters

inputBreps  ListBrep
list of breps to be meshed.
inputInclusionPoints  ListPoint3d
points to be added to the mesh as vertices if their distance from the breps is not too large.
warning  String
warning encountered during mesh generation.
info  String
information regarding the meshing process.
mResolution  Double  (Optional)
characteristic length of the resulting face edges.
mMode  Int32  (Optional)
case 0: No Point Reduction (check Cull Mode), case 1: Point Reduction is set to 'Leave One', Culling Points at distance. lt "0.5" times Mesh Resolution case 2: Point Reduction is set to 'Average', Culling Points at distance lt "0.5" times Mesh Resolution.
refineEdgeResFactor  Double  (Optional)
Edges are refined with: Math.Round(refineEdgeResFactor, 2) x Mesh Resolution.
cullDist  Double  (Optional)
Vertices closer than cullDist get removed.
tolerance  Double  (Optional)
tolerance *0.1 = tolerance for Delauney triangulation.
smooth  Double  (Optional)
must be between 0 and 1; smoothes the mesh.
steps  Int32  (Optional)
number of steps for smoothing the mesh.

Return Value

ListMesh
resulting meshes.

See Also