curl --request POST \
--url https://api.eddy.engineer/v1/ideate.mesh \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"board_key": "<string>",
"created_at": "<string>",
"async": false,
"envelope": {
"hi": [
123
],
"lo": [
123
]
},
"face_count": 200000,
"fit": "inside",
"icd_key": "<string>",
"images": [
"<string>"
],
"part": "<string>",
"pin_min_iou": 123
}
'import requests
url = "https://api.eddy.engineer/v1/ideate.mesh"
payload = {
"board_key": "<string>",
"created_at": "<string>",
"async": False,
"envelope": {
"hi": [123],
"lo": [123]
},
"face_count": 200000,
"fit": "inside",
"icd_key": "<string>",
"images": ["<string>"],
"part": "<string>",
"pin_min_iou": 123
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
board_key: '<string>',
created_at: '<string>',
async: false,
envelope: {hi: [123], lo: [123]},
face_count: 200000,
fit: 'inside',
icd_key: '<string>',
images: ['<string>'],
part: '<string>',
pin_min_iou: 123
})
};
fetch('https://api.eddy.engineer/v1/ideate.mesh', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/ideate.mesh",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'board_key' => '<string>',
'created_at' => '<string>',
'async' => false,
'envelope' => [
'hi' => [
123
],
'lo' => [
123
]
],
'face_count' => 200000,
'fit' => 'inside',
'icd_key' => '<string>',
'images' => [
'<string>'
],
'part' => '<string>',
'pin_min_iou' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/ideate.mesh"
payload := strings.NewReader("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"async\": false,\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"face_count\": 200000,\n \"fit\": \"inside\",\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<string>\",\n \"pin_min_iou\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/ideate.mesh")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"async\": false,\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"face_count\": 200000,\n \"fit\": \"inside\",\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<string>\",\n \"pin_min_iou\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/ideate.mesh")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"async\": false,\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"face_count\": 200000,\n \"fit\": \"inside\",\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<string>\",\n \"pin_min_iou\": 123\n}"
response = http.request(request)
puts response.read_body{}{}{}A concept mesh from the board's views, fitted into the keep-in, as a reference the engine grades against (V2)
Sends the named board positions (default: every image of variant 1) to the boundary-class mesh generator — SS_MESH_PROVIDER=krea with SS_IMAGE_KEY (default model tencent/hunyuan3d-3.1-pro, a multi-view image-to-3D model that takes the front view as the main image and the board’s back / side / top / bottom / iso views in their slots); otherwise a FIXTURE mesh, the engine’s own tessellation of a small cased solid — exports it as STL, fits it into the box (envelope, or the contract’s keep-in through icd_key + part) with ONE uniform scale so its proportions stay the picture’s, stores the fitted mesh as a binary STL blob in world metres and the manifest as a content-addressed concept_mesh artifact (triangles, scale, raw and fitted bbox, occupancy volume, provider, job). pin_min_iou also pins it on the contract as the goal’s require_mesh_iou clause: from then on every design step’s reward carries mesh_iou, the exact-to-the-cell volume overlap of the recipe with the mesh on a grid over the keep-in, and satisfied needs it at or above the floor. A mesh is a REFERENCE, never the part. IDEATE_MESH_GENERATOR (502) names the generator’s failure.
curl --request POST \
--url https://api.eddy.engineer/v1/ideate.mesh \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"board_key": "<string>",
"created_at": "<string>",
"async": false,
"envelope": {
"hi": [
123
],
"lo": [
123
]
},
"face_count": 200000,
"fit": "inside",
"icd_key": "<string>",
"images": [
"<string>"
],
"part": "<string>",
"pin_min_iou": 123
}
'import requests
url = "https://api.eddy.engineer/v1/ideate.mesh"
payload = {
"board_key": "<string>",
"created_at": "<string>",
"async": False,
"envelope": {
"hi": [123],
"lo": [123]
},
"face_count": 200000,
"fit": "inside",
"icd_key": "<string>",
"images": ["<string>"],
"part": "<string>",
"pin_min_iou": 123
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
board_key: '<string>',
created_at: '<string>',
async: false,
envelope: {hi: [123], lo: [123]},
face_count: 200000,
fit: 'inside',
icd_key: '<string>',
images: ['<string>'],
part: '<string>',
pin_min_iou: 123
})
};
fetch('https://api.eddy.engineer/v1/ideate.mesh', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/ideate.mesh",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'board_key' => '<string>',
'created_at' => '<string>',
'async' => false,
'envelope' => [
'hi' => [
123
],
'lo' => [
123
]
],
'face_count' => 200000,
'fit' => 'inside',
'icd_key' => '<string>',
'images' => [
'<string>'
],
'part' => '<string>',
'pin_min_iou' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/ideate.mesh"
payload := strings.NewReader("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"async\": false,\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"face_count\": 200000,\n \"fit\": \"inside\",\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<string>\",\n \"pin_min_iou\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/ideate.mesh")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"async\": false,\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"face_count\": 200000,\n \"fit\": \"inside\",\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<string>\",\n \"pin_min_iou\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/ideate.mesh")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"board_key\": \"<string>\",\n \"created_at\": \"<string>\",\n \"async\": false,\n \"envelope\": {\n \"hi\": [\n 123\n ],\n \"lo\": [\n 123\n ]\n },\n \"face_count\": 200000,\n \"fit\": \"inside\",\n \"icd_key\": \"<string>\",\n \"images\": [\n \"<string>\"\n ],\n \"part\": \"<string>\",\n \"pin_min_iou\": 123\n}"
response = http.request(request)
puts response.read_body{}{}{}Body
Response
The concept mesh: its key, the fitted STL blob, triangles, scale, bboxes; pinned with the new ICD key when asked
The response is of type object.