Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
Connect an AI tool test: a terminal line may carry the path inside JSON (code --add-mcp); guide menu path in the new layout
islandmed2f3d0f4363f7
diff --git a/docs/guide/scripting.md b/docs/guide/scripting.mdindex efa12dc4..16a59f1e 100644--- a/docs/guide/scripting.md+++ b/docs/guide/scripting.md@@ -250,7 +250,7 @@ models, sculpt strokes, remesh, paint and export. The AI tool starts `sculptforgit over standard input and output. Nothing listens on the network, and nothing is installed into the AI tool.The easy way: **Help > Connect an AI tool...** shows, for your install, the exact command or settings for each tool-below, with Copy buttons. It is there while AI features are on (**Preferences > AI**).+below, with Copy buttons. It is there while AI features are on (**Edit > Preferences > AI**).### I have a subscriptiondiff --git a/tests/test_connect_ai.cpp b/tests/test_connect_ai.cppindex 4746ba3c..dbeef656 100644--- a/tests/test_connect_ai.cpp+++ b/tests/test_connect_ai.cpp@@ -32,11 +32,13 @@ int checkClients(const connect::Launch& launch, connect::Os os) {++problems;}for (const connect::Snippet& s : c.snippets) {- // The path must appear exactly as typed in a terminal, or escaped in a file.- const bool hasPath = s.text.find(s.kind == connect::Snippet::Kind::Terminal ? connect::shellWord(launch.command, os)- : s.kind == connect::Snippet::Kind::Fields ? launch.command- : connect::jsonString(launch.command)) !=- std::string::npos;+ // The path must appear exactly as typed in a terminal, or escaped in a file (or in JSON on a command line:+ // code --add-mcp '{...}').+ auto has = [&](const std::string& t) { return s.text.find(t) != std::string::npos; };+ const bool hasPath = s.kind == connect::Snippet::Kind::Terminal+ ? has(connect::shellWord(launch.command, os)) || has(connect::jsonString(launch.command))+ : s.kind == connect::Snippet::Kind::Fields ? has(launch.command)+ : has(connect::jsonString(launch.command));if (!hasPath || s.text.find("--mcp") == std::string::npos) {std::printf(" %s: the command or --mcp is missing:\n%s\n", c.id, s.text.c_str());++problems;