Shell
One-shell document (Shell style): fromFaces, thicken, transform, face evaluate. Display mesh: Shell.tessellate → TriangleMesh.
import { Shell } from '@huukhanhnguyen/geometry'API reference
Shell.dump
Shell.dump(json: string): stringWasm: brep_shell_dump
Shell.entityCounts
Shell.entityCounts(json: string): Uint32ArrayWasm: brep_shell_entity_counts
Shell.faceDocument
Shell.faceDocument(json: string, face_index: number): stringWasm: brep_shell_face_document
Shell.faceFormsJson
Shell.faceFormsJson(json: string): stringWasm: brep_shell_face_forms_json
Shell.faceLoops
Shell.faceLoops(json: string, tolerance: number): stringWasm: brep_shell_face_loops
Shell.faceOutwardNormal
Shell.faceOutwardNormal(json: string, face_index: number, u: number, v: number): Float64ArrayWasm: brep_shell_face_outward_normal
Shell.faceValue
Shell.faceValue(json: string, face_index: number, u: number, v: number): Float64ArrayWasm: brep_shell_face_value
Shell.fromFaces
Shell.fromFaces(documents_json: string, tolerance: number): stringWasm: brep_shell_from_faces
Shell.isClosed
Shell.isClosed(json: string): booleanWasm: brep_shell_is_closed
Shell.mirror
Shell.mirror(json: string, normal_x: number, normal_y: number, normal_z: number, point_x: number, point_y: number, point_z: number): stringWasm: brep_shell_mirror
Shell.splitByLoops
Shell.splitByLoops(json: string, loops_json: string, tolerance: number): stringWasm: brep_shell_split_by_loops
Shell.thicken
Shell.thicken(json: string, thickness: number, symmetric: boolean, tolerance: number): stringWasm: brep_shell_thicken
Shell.transform
Shell.transform(json: string, matrix: Float64Array): stringWasm: brep_shell_transform
Shell.vertexPositions
Shell.vertexPositions(json: string): Float64ArrayWasm: brep_shell_vertex_positions
See GEOMETRY_CATALOG.md for catalog ownership.