Mesh Repair Workbench

Mesh Repair Workbench

Open a local triangular STL or OBJ surface. The workbench identifies boundary edges, orientation conflicts and nonmanifold edges or vertices with face IDs and coordinates. It can consistently orient one connected shell and cap at most four simple, planar, strictly convex holes of 3–12 edges. The repaired mesh is a new download after parsing it again; an ambiguous case is refused without changing the source. Topological closure is not a self-intersection, dimensional accuracy or 3D-printability certificate.

1. Open and constrain a mesh

Maximum 2 MiB, 5000 triangles, 15,000 input vertices and absolute coordinates ≤1,000,000. OBJ requires positive-index triangular faces; STL can be binary or ASCII.

Exact matching is safest. A nonzero tolerance merges distinct coordinates within that absolute distance to the first representative. A collapsed face is rejected.

Geometry-only repair. OBJ UV, normals, materials and groups and STL facet attributes are not preserved. The source file is never rewritten.

Open a triangular mesh or load the sample.

Comments & questions

Mesh Repair Workbench

Open a local triangular STL or OBJ surface. The workbench identifies boundary edges, orientation conflicts and nonmanifold edges or vertices with face IDs and coordinates. It can consistently orient one connected shell and cap at most four simple, planar, strictly convex holes of 3–12 edges. The repaired mesh is a new download after parsing it again; an ambiguous case is refused without changing the source. Topological closure is not a self-intersection, dimensional accuracy or 3D-printability certificate.

Key features

  • Strict local binary/ASCII STL and triangular OBJ parsing with file, face and coordinate limits
  • Exact coordinate welding by default and optional bounded near-weld tolerance
  • Boundary, reversed-edge, duplicate-face and nonmanifold edge/vertex diagnostics with locations
  • Conservative orientation repair and small planar convex hole capping with refusal of ambiguous cases
  • Topological closure and signed-volume check, followed by reimport validation of exported geometry
  • Download geometry-only repaired OBJ, verified binary STL when possible, and machine-readable change log

How to use

  1. Open a local .stl or .obj file under 2 MiB or load the tetrahedron hole example.
  2. Leave welding at exact matching unless your source coordinate units justify a small nonzero tolerance; inspect any near-weld warning.
  3. Review issue counts, projected edge preview, face IDs and coordinate locations before attempting repair.
  4. Run conservative repair. Nonmanifold, disconnected, nonplanar, concave or oversized holes are refused rather than silently rebuilt.
  5. Inspect the new shell and change counts, then download verified OBJ, available STL and a JSON change report; retain the original separately.

Use cases

  • Close a single missing triangular face on an otherwise manifold STL shell
  • Correct one reversed triangle in a closed OBJ surface
  • Find the coordinates of a nonmanifold edge before manual modeling work
  • Check whether a small exported triangular shell is topologically closed before a fuller CAD/printing check

Frequently asked questions

What file formats are accepted?

Binary or ASCII STL and UTF-8 OBJ with positive-index triangular f records and ordinary geometric v records. OBJ texture coordinates, normals, materials and groups, plus STL facet normals or optional attributes, are ignored in the geometry-only output. Quads, negative OBJ indices, curved surfaces, CAD solids and color preservation are unsupported.

Which holes can be filled automatically?

Only one connected orientable manifold shell with at most four simple boundary loops. Each loop must have 3–12 vertices and be sufficiently planar and strictly convex. The tool adds a triangle fan with reversed boundary direction. Concave, nonplanar, self-touching, nonmanifold or ambiguous boundaries are refused; sophisticated surface reconstruction is outside scope.

What does 'topologically closed' prove?

Every edge has two incident faces, vertex fans are manifold, orientations agree and signed volume is nonzero for this mesh. It does not test triangle self-intersections, nested shells, thickness, surface quality, real-world units, printability or physical safety.

Does tolerance alter geometry?

Exact coordinate equality is the default. Optional 10⁻⁶, 10⁻⁴ or 10⁻³ is an absolute distance in the input's own coordinate units. Near vertices may merge to the first representative; a collapsed triangle is rejected. Use zero unless you know the source scale and inspect the change count.

Why was repair refused?

A shared edge with more than two faces, a pinched vertex, duplicate face, disconnected component, orientation contradiction, difficult hole or zero-volume closed result is ambiguous. The original stays loaded and no repaired file is offered. Use a full mesh editor for a manual decision.

Is my model uploaded?

No. Files are read in browser memory, diagnostics and repair run locally, and files are created only when you select a download.

Privacy

The selected mesh remains in this browser tab. No model bytes are uploaded by the tool; generated OBJ, STL and report files are local downloads.

References

Related Tools

Low Poly Mesh MakerImage to SVG VectorGeometry Construction LabWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorPatch Review WorkbenchSource Map ExplorerLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchSchema Form BuilderPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapGPS Error SimulatorDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorOpenAPI Contract InspectorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabControl Response LabQueueing Simulation LabGeofence Event SimulatorCoordinate Reference LabSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerText File Encoding WorkbenchFilesystem Portability AuditorSBOM License ExplorerFile Signature Auditornpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorLog Template MinerResponsive Layout AuditorEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Protocol DesignerHex File EditorBinary Patch WorkbenchFile Signature WorkbenchAPI Mock SandboxSchema Column MapperEvent Log SessionizerER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerJSON Schema ValidatorBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchIndexNow Payload BuilderCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerGeoJSON Map EditorPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorGPX Track AnalyzerTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationJSON ↔ YAML ConverterXML ↔ JSON ConverterHTML FormatterJavaScript MinifierMock Data Generator.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorBase64 EncoderJSON FormatterURL EncoderSQL FormatterCron Expression GeneratorRegex TesterUUID GeneratorHash GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewCSS MinifierMeta Tag GeneratorJSON ↔ CSVCase ConverterImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →