PiQ SaaS
Welcome to ParametrIQ SaaS
PiQ SaaS is ParametrIQ as a web service: your own programs send it requests over HTTPS, and it answers them with ParametrIQ's parametric engine, the same one that runs ParametrIQ CAD and PiQ Lang.
- API: what the service does, with a page for each operation and an example of each.
- Using your API Key: how each request is authorised.
- OpenAPI: the API's OpenAPI document, and generating a client from it.
- Clients: calling the service from your own code, with examples in JavaScript, Python, C#, Go, Java, PHP, Ruby and curl.
What it does
Each request is a template (a ParametrIQ drawing, its sizes as labelled variables) and values for those sizes. Back comes the drawing:
- complete, as ParametrIQ drawing text, still parametric (Drawing);
- as a file: PDF, SVG, EPS, AI, PNG, JPEG, WebP, G-code, HP-GL, CF2, DDES3 or DXF, or a format for a particular machine or trade (a print-ready dieline PDF, print-and-cut PDF and EPS, GP-GL, LightBurn, SVG for lasers or for Cricut and Silhouette, DSTV NC, AAMA/ASTM pattern DXF, tiled print and projector PDFs, mat cutter DXF and HP-GL) (Export);
- worked out: what values it takes (Inputs), its variables, points and any expression in it (Variables, Points, Evaluate), its cut and crease lengths and blank area (Measure), and the steel-rule die it needs, with an estimate of its cost (Die);
- folded in 3D: meshes to draw with WebGL or a game engine, at steps from flat to folded, in the look of its material (Fold, Appearances), or as glTF and USDZ models to show in augmented reality (Export).
On the web site, the Viewer runs templates in the browser, shows them in 3D and in augmented reality on phones, and shares them with customers for review: comments pinned to the model, and approval.
Templates are ordinary ParametrIQ drawings: draw and test one in ParametrIQ CAD with Run Parametric, and it runs the same here.
Your own storage
Register your own S3-compatible storage (AWS S3, Cloudflare R2, Backblaze B2, Wasabi, MinIO …) once, by name (Register a storage). Then name a template kept in it instead of sending it, and have exported files saved to it (Save) rather than downloaded.
Getting started
To use it you need a PiQ SaaS subscription, which gives you an API key. Copy it from Account › Licenses, then send your first request: the Clients pages have a complete example in each language.