The J3 integration pass: every violation a typed finding addressed to its owner
curl --request POST \
--url https://api.eddy.engineer/v1/integrate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"icd_key": "<string>",
"assembly": {},
"contracts": {},
"cost_table_key": "<string>",
"dfm": true,
"ebom_key": "<string>",
"pairs": [
[
"<string>"
]
],
"parts": [
{}
],
"rule_packs": [
"<string>"
],
"segments": 32,
"stackups": [
{}
]
}
'import requests
url = "https://api.eddy.engineer/v1/integrate"
payload = {
"icd_key": "<string>",
"assembly": {},
"contracts": {},
"cost_table_key": "<string>",
"dfm": True,
"ebom_key": "<string>",
"pairs": [["<string>"]],
"parts": [{}],
"rule_packs": ["<string>"],
"segments": 32,
"stackups": [{}]
}
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({
icd_key: '<string>',
assembly: {},
contracts: {},
cost_table_key: '<string>',
dfm: true,
ebom_key: '<string>',
pairs: [['<string>']],
parts: [{}],
rule_packs: ['<string>'],
segments: 32,
stackups: [{}]
})
};
fetch('https://api.eddy.engineer/v1/integrate', 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/integrate",
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([
'icd_key' => '<string>',
'assembly' => [
],
'contracts' => [
],
'cost_table_key' => '<string>',
'dfm' => true,
'ebom_key' => '<string>',
'pairs' => [
[
'<string>'
]
],
'parts' => [
[
]
],
'rule_packs' => [
'<string>'
],
'segments' => 32,
'stackups' => [
[
]
]
]),
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/integrate"
payload := strings.NewReader("{\n \"icd_key\": \"<string>\",\n \"assembly\": {},\n \"contracts\": {},\n \"cost_table_key\": \"<string>\",\n \"dfm\": true,\n \"ebom_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"rule_packs\": [\n \"<string>\"\n ],\n \"segments\": 32,\n \"stackups\": [\n {}\n ]\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/integrate")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"icd_key\": \"<string>\",\n \"assembly\": {},\n \"contracts\": {},\n \"cost_table_key\": \"<string>\",\n \"dfm\": true,\n \"ebom_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"rule_packs\": [\n \"<string>\"\n ],\n \"segments\": 32,\n \"stackups\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/integrate")
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 \"icd_key\": \"<string>\",\n \"assembly\": {},\n \"contracts\": {},\n \"cost_table_key\": \"<string>\",\n \"dfm\": true,\n \"ebom_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"rule_packs\": [\n \"<string>\"\n ],\n \"segments\": 32,\n \"stackups\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"finding_set": {},
"finding_set_key": "<string>",
"measure_key": "<string>",
"report_kind": "<string>",
"report_measures": {}
}Requirements
The J3 integration pass: every violation a typed finding addressed to its owner
Measures an assembly (components at their solved poses) or explicit posed parts under a saved ICD module version — interference and clearance per pair, envelope excess, keep-out overlap, datum presence and mass per part, contracts joined from the ICD by part id — then runs the integration checks: interference (`overlap_volume <= 0`), envelope, keep-out, datum (`present == 1`), the ICD's own geom clauses through the Q4 evaluator, and the mass budget rolled up the ICD tree (governed parts' mass × EBOM quantity + children, against `budget_mass_kg`; an inner node without a `part` is structural). Each violation is a finding {id (stable across runs), kind, owners (both nodes for a pair), subjects, key, measure, cmp, threshold, unit, outcome = the Q4 fail{margin}}; a measure the kernel refused or a mass with no density is an `unevaluable` finding, never a silent pass; a `budget_cost` allocation is typed `unevaluable` until the J8 cost model. The finding set is stored content-addressed (`finding_set_key`, registered `finding_set`) and the `report_measures` are the same map /v1/req.verify reads — a finding and a matrix fail row are one number.
POST
/
v1
/
integrate
The J3 integration pass: every violation a typed finding addressed to its owner
curl --request POST \
--url https://api.eddy.engineer/v1/integrate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"icd_key": "<string>",
"assembly": {},
"contracts": {},
"cost_table_key": "<string>",
"dfm": true,
"ebom_key": "<string>",
"pairs": [
[
"<string>"
]
],
"parts": [
{}
],
"rule_packs": [
"<string>"
],
"segments": 32,
"stackups": [
{}
]
}
'import requests
url = "https://api.eddy.engineer/v1/integrate"
payload = {
"icd_key": "<string>",
"assembly": {},
"contracts": {},
"cost_table_key": "<string>",
"dfm": True,
"ebom_key": "<string>",
"pairs": [["<string>"]],
"parts": [{}],
"rule_packs": ["<string>"],
"segments": 32,
"stackups": [{}]
}
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({
icd_key: '<string>',
assembly: {},
contracts: {},
cost_table_key: '<string>',
dfm: true,
ebom_key: '<string>',
pairs: [['<string>']],
parts: [{}],
rule_packs: ['<string>'],
segments: 32,
stackups: [{}]
})
};
fetch('https://api.eddy.engineer/v1/integrate', 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/integrate",
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([
'icd_key' => '<string>',
'assembly' => [
],
'contracts' => [
],
'cost_table_key' => '<string>',
'dfm' => true,
'ebom_key' => '<string>',
'pairs' => [
[
'<string>'
]
],
'parts' => [
[
]
],
'rule_packs' => [
'<string>'
],
'segments' => 32,
'stackups' => [
[
]
]
]),
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/integrate"
payload := strings.NewReader("{\n \"icd_key\": \"<string>\",\n \"assembly\": {},\n \"contracts\": {},\n \"cost_table_key\": \"<string>\",\n \"dfm\": true,\n \"ebom_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"rule_packs\": [\n \"<string>\"\n ],\n \"segments\": 32,\n \"stackups\": [\n {}\n ]\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/integrate")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"icd_key\": \"<string>\",\n \"assembly\": {},\n \"contracts\": {},\n \"cost_table_key\": \"<string>\",\n \"dfm\": true,\n \"ebom_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"rule_packs\": [\n \"<string>\"\n ],\n \"segments\": 32,\n \"stackups\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/integrate")
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 \"icd_key\": \"<string>\",\n \"assembly\": {},\n \"contracts\": {},\n \"cost_table_key\": \"<string>\",\n \"dfm\": true,\n \"ebom_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"rule_packs\": [\n \"<string>\"\n ],\n \"segments\": 32,\n \"stackups\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"finding_set": {},
"finding_set_key": "<string>",
"measure_key": "<string>",
"report_kind": "<string>",
"report_measures": {}
}Body
application/json
J8: compute the DfM measures (geom:.dfm.): MF17b checks each part for its process (contracts..process, else the process the DfM rule packs name, else 3-axis milling) on the seeded shop, with the per-rule finding counts the dfm- packs read; the answer's dfm names each part's process and the measures it could not supply