{"uid":"cap_cHGS8FaGP61GJtaxC5Cn5","slug":"relief-forge-curve-clearance-bezier-segment-gap-inspector-53d070a5","name":"Relief Forge Curve Clearance — Bezier Segment Gap Inspector","description":"Focused APIs for SVG print risks, fine print details, Bezier clearance, tiny objects and holes, vector quality, cutting contours and native SVG/CorelDRAW EPS curves. From 0.02 USDC per request with x402 on Base. Free fixed samples and MCP discovery. Not a certified production approval.","url":"https://first-ruble-agent.tohaa28.workers.dev/api/curve-clearance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"array","description":"Line, quadratic or cubic Bezier control points in mm: 2-4 [x,y] pairs"},"b":{"type":"array","description":"Second Bezier segment: 2-4 [x,y] control points"},"thresholdMm":{"type":"number","description":"Minimum permitted clearance in millimeters, >0 and <=1000"}}},"responseSchema":{"type":"json","example":{"tool":"Relief Forge Curve Clearance","status":"gap_below_threshold","complete":true,"distanceMm":0.2,"thresholdMm":0.3}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-TFL_vntOcwUpPYbbDjAK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the minimum clearance distance between two Bezier curve segments and checks whether it meets a specified threshold, for print prepress safety validation.","exampleAgentPrompt":"Check whether these two cubic Bezier curves are safely separated for print: segment A has control points [0,0], [5,10], [15,10], [20,0] and segment B has control points [0,3], [5,13], [15,13], [20,3] — flag it if the gap is less than 0.3 mm.","exampleUseCases":[{"title":"Die-cut path safety check","prompt":"I have two Bezier curves on my die-cut template — segment A goes through [0,0], [8,12], [16,12], [24,0] and segment B through [0,2], [8,14], [16,14], [24,2]. Can you check if they're at least 0.25 mm apart so the cutter won't collide?"},{"title":"Automated prepress pipeline validation","prompt":"Before we send this job to the press, run a curve clearance check on these two paths: segment A control points are [2,5], [7,15], [13,15] and segment B is [2,7], [7,17], [13,17] — the minimum clearance threshold is 0.5 mm."},{"title":"Laser engraving path proximity alert","prompt":"I'm setting up a laser engraving file and need to confirm two Bezier paths won't burn too close together. Segment A is [1,1], [4,8], [8,1] and segment B is [1,2.5], [4,9.5], [8,2.5] — alert me if they come within 0.4 mm of each other."}],"resultDescription":"Returns a JSON object with the tool name ('Relief Forge Curve Clearance'), a status string (e.g. 'gap_below_threshold' or similar pass/fail indicator), a boolean 'complete' flag, the computed minimum distance between the two Bezier segments in millimeters ('distanceMm'), and the input threshold value ('thresholdMm').","failureModes":["Missing or malformed control point arrays returns an error — each segment needs 2–4 [x,y] pairs","thresholdMm outside the valid range (<=0 or >1000) causes a validation error","Degenerate or zero-length Bezier segments may produce unexpected distance results","Network or Cloudflare Worker timeout on complex geometry","x402 payment failure (insufficient USDC balance) blocks the request entirely"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that two specific Bezier curve segments maintain a minimum physical separation in millimeters — particularly in prepress, print production, laser cutting, or die-cutting workflows where path proximity is a safety or quality constraint. It is especially valuable inside automated prepress pipelines that need a cheap, fast geometric check without spinning up a full CAD or vector graphics library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T12:35:58.701Z","isFirstParty":false,"canonicalSlug":"relief-forge-curve-clearance-bezier-segment-gap-inspector-53d070a5"}