curl --request POST \
--url https://api.eddy.engineer/v1/geom.measures \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"assembly": {},
"contracts": {},
"icd_key": "<string>",
"pairs": [
[
"<string>"
]
],
"parts": [
{}
],
"segments": 32
}
'import requests
url = "https://api.eddy.engineer/v1/geom.measures"
payload = {
"assembly": {},
"contracts": {},
"icd_key": "<string>",
"pairs": [["<string>"]],
"parts": [{}],
"segments": 32
}
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({
assembly: {},
contracts: {},
icd_key: '<string>',
pairs: [['<string>']],
parts: [{}],
segments: 32
})
};
fetch('https://api.eddy.engineer/v1/geom.measures', 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/geom.measures",
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([
'assembly' => [
],
'contracts' => [
],
'icd_key' => '<string>',
'pairs' => [
[
'<string>'
]
],
'parts' => [
[
]
],
'segments' => 32
]),
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/geom.measures"
payload := strings.NewReader("{\n \"assembly\": {},\n \"contracts\": {},\n \"icd_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"segments\": 32\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/geom.measures")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"assembly\": {},\n \"contracts\": {},\n \"icd_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"segments\": 32\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/geom.measures")
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 \"assembly\": {},\n \"contracts\": {},\n \"icd_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"segments\": 32\n}"
response = http.request(request)
puts response.read_body{
"measure_key": "<string>",
"pairs": 123,
"parts": 123,
"refusals": "<array>",
"report_kind": "<string>",
"report_measures": {},
"segments": 123
}Geometry goals as exact measures shaped for /v1/req.verify (J1)
Builds the parts (explicit posed parts, or an assembly at its solved poses) and emits report_measures under report kind geom, in SI units: geom:<part>.volume|surface_area|mass|envelope_excess_volume|keepout_overlap_volume, geom:<part>.datum.<name>.present, geom:<a>|<b>.clearance|overlap_volume (ids sorted). Contracts come per part id — inline density / F8 material name / region set / datum set, a b3 address of a stored set, or from a saved ICD module (icd_key, nodes joined by their part id). Volumes are the S4 exact kernel lens, clearances the S3 refined minimum; a part or pair the kernel refuses emits NO measure and a typed refusal by key, so the matrix row is unevaluable, never a silent pass. The SAME function evaluates /v1/env.step’s keep_in / keep_out / max_mass / require_datums goals, byte-for-byte. The map is stored content-addressed (measure_key) and registered as geom_measures.
curl --request POST \
--url https://api.eddy.engineer/v1/geom.measures \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"assembly": {},
"contracts": {},
"icd_key": "<string>",
"pairs": [
[
"<string>"
]
],
"parts": [
{}
],
"segments": 32
}
'import requests
url = "https://api.eddy.engineer/v1/geom.measures"
payload = {
"assembly": {},
"contracts": {},
"icd_key": "<string>",
"pairs": [["<string>"]],
"parts": [{}],
"segments": 32
}
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({
assembly: {},
contracts: {},
icd_key: '<string>',
pairs: [['<string>']],
parts: [{}],
segments: 32
})
};
fetch('https://api.eddy.engineer/v1/geom.measures', 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/geom.measures",
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([
'assembly' => [
],
'contracts' => [
],
'icd_key' => '<string>',
'pairs' => [
[
'<string>'
]
],
'parts' => [
[
]
],
'segments' => 32
]),
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/geom.measures"
payload := strings.NewReader("{\n \"assembly\": {},\n \"contracts\": {},\n \"icd_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"segments\": 32\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/geom.measures")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"assembly\": {},\n \"contracts\": {},\n \"icd_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"segments\": 32\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/geom.measures")
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 \"assembly\": {},\n \"contracts\": {},\n \"icd_key\": \"<string>\",\n \"pairs\": [\n [\n \"<string>\"\n ]\n ],\n \"parts\": [\n {}\n ],\n \"segments\": 32\n}"
response = http.request(request)
puts response.read_body{
"measure_key": "<string>",
"pairs": 123,
"parts": 123,
"refusals": "<array>",
"report_kind": "<string>",
"report_measures": {},
"segments": 123
}