{"uid":"cap_8yb3ZuPSM8VSqRKQSkecX","slug":"writerslogic-stl-mesh-validity-checker-a8cc14ec","name":"WritersLogic STL Mesh Validity Checker","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/mesh-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","maxLength":266780,"description":"Padded base64 of the STL file, binary or ASCII."},"weldTolerance":{"type":"number","maximum":1,"minimum":0,"description":"Vertices closer than this (grid-snapped, model units) are treated as the same vertex. Default 0: exact float32 equality."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ANde_nhdcWYvjTtnjS50l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a binary or ASCII STL mesh (up to 4000 triangles) for 3D-printing or CAD readiness by checking manifoldness, winding consistency, degenerate triangles, and mesh orientation.","exampleAgentPrompt":"Can you check my STL file for any mesh problems like open edges, flipped normals, or degenerate triangles before I send it to the printer? Here's the base64-encoded STL data.","exampleUseCases":[{"title":"Pre-print mesh sanity check","prompt":"I've exported an STL from my CAD software and want to make sure it's manifold and watertight before sending it to my 3D print service — can you run it through the mesh checker and tell me if there are any open edges, winding issues, or degenerate triangles? Here's the base64 of the file."},{"title":"Detecting inside-out model orientation","prompt":"My 3D model keeps printing wrong and I think the mesh might be inside-out — can you check the signed volume and winding consistency of this STL to confirm whether the normals are pointing outward? Use a weld tolerance of 0.001."},{"title":"CAD export QA before pipeline handoff","prompt":"Before this STL gets handed off to the downstream slicing pipeline, I need to validate it programmatically for non-manifold edges, duplicate triangles, and inconsistent normals — can you run the mesh check and give me the triangle indices where any problems are found?"}],"resultDescription":"A structured report listing each detected issue category (open/boundary edges, non-manifold edges shared by more than two triangles, inconsistent winding, degenerate triangles, duplicate triangles, normal-vs-vertex-order disagreements, inside-out closed mesh) with the specific triangle indices as witnesses for each problem, plus an overall pass/fail indicating the mesh is closed, manifold, consistently wound, and outward-facing.","failureModes":["STL exceeds 4000 triangle limit — rejected with size error","base64 payload exceeds 200084 bytes — rejected","malformed or non-STL base64 input — parse error returned","weldTolerance outside [0,1] range — validation error","mesh passes all checks but is still not printable due to wall thickness or self-intersections (not detected by this endpoint)"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, geometry-level validity check on an STL mesh before 3D printing or CAD pipeline handoff — specifically for manifoldness, winding, normals, and closure properties. Prefer this over general file validators when you need triangle-level witness indices for each defect. Not suitable for wall thickness measurement, mesh repair, self-intersection detection, or meshes larger than 4000 triangles.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:44:08.503Z","isFirstParty":false,"canonicalSlug":"writerslogic-stl-mesh-validity-checker-a8cc14ec"}