Gets or sets a value indicating whether or not surface curvature data will be embedded in the mesh.
Gets or sets the grid amplification factor. Values lower than 1.0 will decrease the number of initial quads, values higher than 1.0 will increase the number of initial quads.
Gets or sets the maximum allowed angle difference (in radians) for a single sampling quad. The angle pertains to the surface normals.
Gets or sets the maximum allowed aspect ratio of sampling quads.
Gets or sets the maximum number of grid quads in the initial sampling grid.
Gets or sets the minimum number of grid quads in the initial sampling grid.
Gets or sets whether or not the mesh is allowed to have jagged seams. When this flag is set to true, meshes on either side of a Brep Edge will not match up.
Gets or sets the maximum allowed mesh edge length.
Gets or sets the minimum allowed mesh edge length.
Gets or sets the minimum tolerance.
Gets or sets the mesh parameter refine angle in radians.
Gets or sets a value indicating whether or not the sampling grid can be refined when certain tolerances are not met.
Gets or sets the relative tolerance.
Gets or sets a value indicating whether or not planar areas are allowed to be meshed in a simplified manner.
Gets or sets how and if textures will be packed.
Gets or sets the maximum allowed edge deviation. This tolerance is measured between the center of the mesh edge and the surface.
Static
decodeA js object in the following format (values are orientative):
{ TextureRange: 2,
JaggedSeams: false,
RefineGrid: true,
SimplePlanes: false,
ComputeCurvature: false,
ClosedObjectPostProcess: false,
GridMinCount: 0,
GridMaxCount: 0,
GridAngle: 0.3490658503988659,
GridAspectRatio: 6,
GridAmplification: 1,
Tolerance: 0,
MinimumTolerance: 0,
RelativeTolerance: 0,
MinimumEdgeLength: 0.0001,
MaximumEdgeLength: 0,
RefineAngle: 0.3490658503988659
}
Creates a MeshingParameters object from json data
Static
default...
Static
default...
Static
fast...
Static
quality...
Generated using TypeDoc
Gets or sets a value indicating whether or not to post process non-closed meshes that should be closed. If the Brep being meshed is closed, JaggedSeams = false, and ClosedObjectPostProcess = true, and the resulting mesh is not closed, then a post meshing process is applied to find and close gaps in the mesh. Typically the resulting mesh is not closed because the input Brep has a geometric flaw, like loops in trimming curve.