curl --request POST \
--url https://api.eddy.engineer/v1/mesh2cad.synth \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"created_at": "<string>",
"degrade": {
"cells": 128,
"jitter_frac": 0.0015,
"max_triangles": 60000,
"smooth_passes": 3
},
"max_features": 8,
"min_features": 2,
"n": 16,
"seed": 1,
"segments": 24,
"size": 0.3,
"wide": true
}
'import requests
url = "https://api.eddy.engineer/v1/mesh2cad.synth"
payload = {
"created_at": "<string>",
"degrade": {
"cells": 128,
"jitter_frac": 0.0015,
"max_triangles": 60000,
"smooth_passes": 3
},
"max_features": 8,
"min_features": 2,
"n": 16,
"seed": 1,
"segments": 24,
"size": 0.3,
"wide": True
}
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({
created_at: '<string>',
degrade: {cells: 128, jitter_frac: 0.0015, max_triangles: 60000, smooth_passes: 3},
max_features: 8,
min_features: 2,
n: 16,
seed: 1,
segments: 24,
size: 0.3,
wide: true
})
};
fetch('https://api.eddy.engineer/v1/mesh2cad.synth', 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/mesh2cad.synth",
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([
'created_at' => '<string>',
'degrade' => [
'cells' => 128,
'jitter_frac' => 0.0015,
'max_triangles' => 60000,
'smooth_passes' => 3
],
'max_features' => 8,
'min_features' => 2,
'n' => 16,
'seed' => 1,
'segments' => 24,
'size' => 0.3,
'wide' => true
]),
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/mesh2cad.synth"
payload := strings.NewReader("{\n \"created_at\": \"<string>\",\n \"degrade\": {\n \"cells\": 128,\n \"jitter_frac\": 0.0015,\n \"max_triangles\": 60000,\n \"smooth_passes\": 3\n },\n \"max_features\": 8,\n \"min_features\": 2,\n \"n\": 16,\n \"seed\": 1,\n \"segments\": 24,\n \"size\": 0.3,\n \"wide\": true\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/mesh2cad.synth")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"created_at\": \"<string>\",\n \"degrade\": {\n \"cells\": 128,\n \"jitter_frac\": 0.0015,\n \"max_triangles\": 60000,\n \"smooth_passes\": 3\n },\n \"max_features\": 8,\n \"min_features\": 2,\n \"n\": 16,\n \"seed\": 1,\n \"segments\": 24,\n \"size\": 0.3,\n \"wide\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/mesh2cad.synth")
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 \"created_at\": \"<string>\",\n \"degrade\": {\n \"cells\": 128,\n \"jitter_frac\": 0.0015,\n \"max_triangles\": 60000,\n \"smooth_passes\": 3\n },\n \"max_features\": 8,\n \"min_features\": 2,\n \"n\": 16,\n \"seed\": 1,\n \"segments\": 24,\n \"size\": 0.3,\n \"wide\": true\n}"
response = http.request(request)
puts response.read_body{}The synthetic generator with provenance, as a dataset (M2C1)
n random parts drawn in the engine’s own grammar from consecutive seeds (a box or rounded-corner body, then pads, bosses, holes, pockets, ribs, stubs and hole patterns), each built by the kernel — a feature it refuses is dropped and recorded with its reason — tessellated with a FEATURE LABEL on every triangle (the face provenance: the step that first produced the face), and degraded to look like an AI-generated mesh (the solid re-meshed from its occupancy on a grid by surface nets — the way an image-to-3D model’s mesh comes off its implicit field, features under a cell or two blurring away — every triangle labelled by the nearest clean triangle, then jittered and Taubin-smoothed). Deterministic from the seed. Every sample lands as blobs: the recipe (JSON), the clean and degraded meshes (binary STL), the labels (JSON: one feature index per triangle for both meshes); the manifest is a content-addressed mesh2cad_dataset artifact. The first unit of the mesh-to-recipe method: dense supervision and the kernel’s legality signal, generated without limit.
curl --request POST \
--url https://api.eddy.engineer/v1/mesh2cad.synth \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"created_at": "<string>",
"degrade": {
"cells": 128,
"jitter_frac": 0.0015,
"max_triangles": 60000,
"smooth_passes": 3
},
"max_features": 8,
"min_features": 2,
"n": 16,
"seed": 1,
"segments": 24,
"size": 0.3,
"wide": true
}
'import requests
url = "https://api.eddy.engineer/v1/mesh2cad.synth"
payload = {
"created_at": "<string>",
"degrade": {
"cells": 128,
"jitter_frac": 0.0015,
"max_triangles": 60000,
"smooth_passes": 3
},
"max_features": 8,
"min_features": 2,
"n": 16,
"seed": 1,
"segments": 24,
"size": 0.3,
"wide": True
}
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({
created_at: '<string>',
degrade: {cells: 128, jitter_frac: 0.0015, max_triangles: 60000, smooth_passes: 3},
max_features: 8,
min_features: 2,
n: 16,
seed: 1,
segments: 24,
size: 0.3,
wide: true
})
};
fetch('https://api.eddy.engineer/v1/mesh2cad.synth', 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/mesh2cad.synth",
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([
'created_at' => '<string>',
'degrade' => [
'cells' => 128,
'jitter_frac' => 0.0015,
'max_triangles' => 60000,
'smooth_passes' => 3
],
'max_features' => 8,
'min_features' => 2,
'n' => 16,
'seed' => 1,
'segments' => 24,
'size' => 0.3,
'wide' => true
]),
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/mesh2cad.synth"
payload := strings.NewReader("{\n \"created_at\": \"<string>\",\n \"degrade\": {\n \"cells\": 128,\n \"jitter_frac\": 0.0015,\n \"max_triangles\": 60000,\n \"smooth_passes\": 3\n },\n \"max_features\": 8,\n \"min_features\": 2,\n \"n\": 16,\n \"seed\": 1,\n \"segments\": 24,\n \"size\": 0.3,\n \"wide\": true\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/mesh2cad.synth")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"created_at\": \"<string>\",\n \"degrade\": {\n \"cells\": 128,\n \"jitter_frac\": 0.0015,\n \"max_triangles\": 60000,\n \"smooth_passes\": 3\n },\n \"max_features\": 8,\n \"min_features\": 2,\n \"n\": 16,\n \"seed\": 1,\n \"segments\": 24,\n \"size\": 0.3,\n \"wide\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/mesh2cad.synth")
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 \"created_at\": \"<string>\",\n \"degrade\": {\n \"cells\": 128,\n \"jitter_frac\": 0.0015,\n \"max_triangles\": 60000,\n \"smooth_passes\": 3\n },\n \"max_features\": 8,\n \"min_features\": 2,\n \"n\": 16,\n \"seed\": 1,\n \"segments\": 24,\n \"size\": 0.3,\n \"wide\": true\n}"
response = http.request(request)
puts response.read_body{}Body
Response
dataset_key (the manifest artifact), summary (n, features_total, refusals_total, kinds, triangle totals) and samples (per part: seed, features, kinds, refused, bbox, triangle counts and the four blob ids).
The response is of type object.