format.halowerk.com/v1/hpgl-plot-window-clipping
Plot window clipping measures how much drawn centerline lies inside and outside a supplied rectangle. Use it when an agent needs estimating the ink lost when cropping a vector plot.
POST
https://format.halowerk.com/v1/hpgl-plot-window-clippingUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://format.halowerk.com/v1/hpgl-plot-window-clipping", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"hpgl":"IN;SP1;PA;PU0,0;PD400,0,400,400,0,400,0,0;PU;SP2;PU0,200;PD400,200;PU;","window_mm":[0,0,5,10]}),
});
console.log(await res.json());Example input
{
"hpgl": "IN;SP1;PA;PU0,0;PD400,0,400,400,0,400,0,0;PU;SP2;PU0,200;PD400,200;PU;",
"window_mm": [
0,
0,
5,
10
]
}