curl --request POST \
--url https://api.eddy.engineer/v1/dfm.intent \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"include_replies": true,
"intent": {},
"material": "<string>",
"max_steps": 123,
"model": "<string>",
"part": "<string>",
"pmi": {},
"process": "<string>",
"profile": "<string>",
"quantity": 123,
"repair": true,
"request": {},
"store": true,
"subject": {},
"text": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/dfm.intent"
payload = {
"include_replies": True,
"intent": {},
"material": "<string>",
"max_steps": 123,
"model": "<string>",
"part": "<string>",
"pmi": {},
"process": "<string>",
"profile": "<string>",
"quantity": 123,
"repair": True,
"request": {},
"store": True,
"subject": {},
"text": "<string>"
}
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({
include_replies: true,
intent: {},
material: '<string>',
max_steps: 123,
model: '<string>',
part: '<string>',
pmi: {},
process: '<string>',
profile: '<string>',
quantity: 123,
repair: true,
request: {},
store: true,
subject: {},
text: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/dfm.intent', 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/dfm.intent",
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([
'include_replies' => true,
'intent' => [
],
'material' => '<string>',
'max_steps' => 123,
'model' => '<string>',
'part' => '<string>',
'pmi' => [
],
'process' => '<string>',
'profile' => '<string>',
'quantity' => 123,
'repair' => true,
'request' => [
],
'store' => true,
'subject' => [
],
'text' => '<string>'
]),
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/dfm.intent"
payload := strings.NewReader("{\n \"include_replies\": true,\n \"intent\": {},\n \"material\": \"<string>\",\n \"max_steps\": 123,\n \"model\": \"<string>\",\n \"part\": \"<string>\",\n \"pmi\": {},\n \"process\": \"<string>\",\n \"profile\": \"<string>\",\n \"quantity\": 123,\n \"repair\": true,\n \"request\": {},\n \"store\": true,\n \"subject\": {},\n \"text\": \"<string>\"\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/dfm.intent")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"include_replies\": true,\n \"intent\": {},\n \"material\": \"<string>\",\n \"max_steps\": 123,\n \"model\": \"<string>\",\n \"part\": \"<string>\",\n \"pmi\": {},\n \"process\": \"<string>\",\n \"profile\": \"<string>\",\n \"quantity\": 123,\n \"repair\": true,\n \"request\": {},\n \"store\": true,\n \"subject\": {},\n \"text\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/dfm.intent")
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 \"include_replies\": true,\n \"intent\": {},\n \"material\": \"<string>\",\n \"max_steps\": 123,\n \"model\": \"<string>\",\n \"part\": \"<string>\",\n \"pmi\": {},\n \"process\": \"<string>\",\n \"profile\": \"<string>\",\n \"quantity\": 123,\n \"repair\": true,\n \"request\": {},\n \"store\": true,\n \"subject\": {},\n \"text\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Turn a manufacturability ask in words into the engine's plan: target process, verified fixes composed and re-checked (MF19)
MF19’s intent. Exactly one of text (read by the model into a typed request, validated), intent (typed) or request. The model only reads the words into ss.mf19.intent/1 — a process or a family, a quantity, a material, a goal (manufacturable: clear the errors; cheaper: also take fixes that save money; clean: errors and warnings), rules — and the validator refuses any process, quantity or material the words do not state (“make it printable” is the additive family, never SLS picked for you). Everything after is the engine: the target profile (the named process; else dfm.select over the family’s candidates, the cheapest feasible; else the current profile), the part checked on it, then MF16’s verified fixes composed one finding at a time, highest ranked first: each offered edit applied, the part checked again, and the edit kept only when the finding is gone and no rule gained an error; a finding with no verified fix is set aside. It stops when no target finding is left, none has a verified fix, or the step limit is reached. The answer carries the plan (ss.mf19.plan/1: the intent, the target and how it was chosen, every step with its fix, re-check and reports, the counts before and after, the stop reason, what remains and why), the edited subject (a recipe in the request’s units, or a STEP blob) and its final report. The model never sets a pass or fail.
curl --request POST \
--url https://api.eddy.engineer/v1/dfm.intent \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"include_replies": true,
"intent": {},
"material": "<string>",
"max_steps": 123,
"model": "<string>",
"part": "<string>",
"pmi": {},
"process": "<string>",
"profile": "<string>",
"quantity": 123,
"repair": true,
"request": {},
"store": true,
"subject": {},
"text": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/dfm.intent"
payload = {
"include_replies": True,
"intent": {},
"material": "<string>",
"max_steps": 123,
"model": "<string>",
"part": "<string>",
"pmi": {},
"process": "<string>",
"profile": "<string>",
"quantity": 123,
"repair": True,
"request": {},
"store": True,
"subject": {},
"text": "<string>"
}
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({
include_replies: true,
intent: {},
material: '<string>',
max_steps: 123,
model: '<string>',
part: '<string>',
pmi: {},
process: '<string>',
profile: '<string>',
quantity: 123,
repair: true,
request: {},
store: true,
subject: {},
text: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/dfm.intent', 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/dfm.intent",
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([
'include_replies' => true,
'intent' => [
],
'material' => '<string>',
'max_steps' => 123,
'model' => '<string>',
'part' => '<string>',
'pmi' => [
],
'process' => '<string>',
'profile' => '<string>',
'quantity' => 123,
'repair' => true,
'request' => [
],
'store' => true,
'subject' => [
],
'text' => '<string>'
]),
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/dfm.intent"
payload := strings.NewReader("{\n \"include_replies\": true,\n \"intent\": {},\n \"material\": \"<string>\",\n \"max_steps\": 123,\n \"model\": \"<string>\",\n \"part\": \"<string>\",\n \"pmi\": {},\n \"process\": \"<string>\",\n \"profile\": \"<string>\",\n \"quantity\": 123,\n \"repair\": true,\n \"request\": {},\n \"store\": true,\n \"subject\": {},\n \"text\": \"<string>\"\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/dfm.intent")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"include_replies\": true,\n \"intent\": {},\n \"material\": \"<string>\",\n \"max_steps\": 123,\n \"model\": \"<string>\",\n \"part\": \"<string>\",\n \"pmi\": {},\n \"process\": \"<string>\",\n \"profile\": \"<string>\",\n \"quantity\": 123,\n \"repair\": true,\n \"request\": {},\n \"store\": true,\n \"subject\": {},\n \"text\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/dfm.intent")
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 \"include_replies\": true,\n \"intent\": {},\n \"material\": \"<string>\",\n \"max_steps\": 123,\n \"model\": \"<string>\",\n \"part\": \"<string>\",\n \"pmi\": {},\n \"process\": \"<string>\",\n \"profile\": \"<string>\",\n \"quantity\": 123,\n \"repair\": true,\n \"request\": {},\n \"store\": true,\n \"subject\": {},\n \"text\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
The person's words (≤ 2000 characters): "make this mouldable", "make it cheaper to machine at 500 off", "make it printable on SLS".
Response
intent (the accepted ss.mf19.intent/1, or the typed one), typed {process?, family?, quantity?, material?, goal, rules?}, provider (gateway | engine | given), model, live, prompt_version, usage, attempts[], request_key, cached; with a subject: plan_key, plan (ss.mf19.plan/1: kind, intent, target {process, shop, material, quantity, profile, chosen_by (intent | current | select), select?, ranked[]}, report_before, report_after, before, after {findings, errors, warnings, advice}, steps[] {n, finding, rule, severity, status (kept | refused | not_offered | none | skipped), fix?, what?, reason?, cost_delta?, report_before, report_after?, before, after?, recheck?}, stop (target_clear | no_verified_fix | step_limit), kept, remaining[] {finding, rule, severity, reason}, notes[]), report_key, report (ss.dfm.report/1 of the edited part), select_key?, subject ({recipe, units} | {brep_blob}), stored