HENMESH · Beginner · Overview
Overview
Beginner start guide for the HENMESH API — what it is, first steps, and hello examples.
HENMESH is the cloud API for mesh prep (2D, wing extrude, volume screen) before solver nights. You send HTTPS JSON to https://henmesh.hendoi.com with a product key that starts with hmk_.
Who this is for
- Analysts who want mesh quality checks before expensive cfd/fea solves.
- Developers who want the same workflow the browser app uses, but from scripts or CI.
- Beginners who want one clear first call before reading every endpoint page.
What you need
- A HENDOI account (sign in at hendoi.com/login).
- A live HENMESH API key starting with
hmk_(Settings → Generate API key for HENMESH). - The product host:
https://henmesh.hendoi.com(local API while developing:http://localhost:8005). - Optional: Python (
pip install henmesh) or JavaScript (npm install @hendoi/henmesh).
First five steps
- Create a key. Open HENDOI Settings and generate an API key for HENMESH. Copy it once. Store it in an environment variable named
HENMESH_API_KEY. - Prove the key. Call
GET https://henmesh.hendoi.com/api/v1/usagewith headerAuthorization: Bearer hmk_…. Expect HTTP200. - Read remaining meters. The usage JSON tells you how many automation calls you still have this month.
- Try the SDK hello (below) or stay on raw HTTPS — both talk to the same API.
- Open one analysis page in the sidebar — start with Browse mesh methods after Auth and Limits make sense.
Hello in Python
pip install henmesh
set HENMESH_API_KEY=hmk_your_live_key_here
from henmesh import Client
print(Client().usage())
Hello in JavaScript
npm install @hendoi/henmesh
# set HENMESH_API_KEY=hmk_your_live_key_here
import { Client } from "@hendoi/henmesh";
const usage = await new Client().usage();
console.log(usage);
Hello with cURL
curl -sS "https://henmesh.hendoi.com/api/v1/usage" ^
-H "Authorization: Bearer hmk_demo_4c91e2ab8d07"
Replace the demo key with your live key. On Unix shells use \ instead of ^ for line breaks.
What success and failure look like
200— request accepted; read the JSON fields named in the docs (sample numbers are shapes only).401— key missing, wrong product, or deactivated. Generate a new HENMESH key.403— key recognized but a meter is empty (oftenQUOTA_EXCEEDED). See Limits and errors.202— long job queued; poll Jobs until it finishes.
What this product cannot claim
It is not HyperMesh or a mesh certification stamp. It helps you catch bad meshes early.
Where to go next
- Authentication — create and prove your key.
- Limits and errors — read status codes before overnight batches.
- Python SDK · JavaScript / TypeScript SDK — shared install patterns (use the HENMESH package names above).
- Official examples on GitHub.
- Browse mesh methods — first real analysis page.
Docs UI: https://api.hendoi.com (local http://localhost:3006). Docs JSON: local http://localhost:8006.
