This guide covers the native macOS build of AI Image Studio for Rhino 8.
The macOS version is implemented as a separate Rhino plug-in project:
- Plug-in:
src/RhinoImageStudio.Plugin.Mac - Solution:
src/RhinoImageStudio.Mac.sln - Installer script:
scripts/install-mac-plugin.sh - Installed location:
~/Library/Application Support/McNeel/Rhinoceros/8.0/MacPlugIns/RhinoImageStudio.rhp
The current macOS build has been verified with Rhino 8 on Apple Silicon:
- Rhino loads the plug-in.
- The plug-in starts the backend as a self-contained sidecar process.
ImageStudioOpenopens the React UI fromhttp://localhost:17532.- Viewport capture works through the macOS HTTP bridge and writes captures/thumbnails to local storage.
AI generation still requires valid provider API keys configured in the app.
- macOS with Rhino 8 installed at
/Applications/Rhino 8.app - .NET 8 SDK
- Node.js 22.x
- pnpm
- jq for command-line smoke tests
On this workstation the .NET 8 SDK is installed through Homebrew as dotnet@8, so build commands use:
DOTNET_ROOT=/opt/homebrew/opt/dotnet@8/libexec
PATH=/opt/homebrew/opt/dotnet@8/libexec:$PATHFrom the repository root:
cd AI-Image-StudioBuild the React UI into the backend wwwroot folder:
cd src/RhinoImageStudio.UI
pnpm run buildBuild and install the macOS plug-in:
cd ../..
DOTNET_BIN=/opt/homebrew/opt/dotnet@8/libexec/dotnet \
DOTNET_ROOT=/opt/homebrew/opt/dotnet@8/libexec \
PATH=/opt/homebrew/opt/dotnet@8/libexec:$PATH \
scripts/install-mac-plugin.shThe installer:
- Builds
src/RhinoImageStudio.Mac.sln. - Publishes
src/RhinoImageStudio.Backendas a self-containedosx-arm64sidecar. - Copies the plug-in and backend to Rhino's macOS plug-in directory.
Start Rhino:
open -n "/Applications/Rhino 8.app" --args -nosplashRun the status command in Rhino:
ImageStudioMacStatus
Or from Terminal:
/Applications/Rhino\ 8.app/Contents/Resources/bin/rhinocode command ImageStudioMacStatusConfirm the status marker:
cat "$HOME/Library/Application Support/RhinoImageStudio/mac-plugin-status.json"Expected result includes:
{"loaded":true}Run in Rhino:
ImageStudioStartBackend
Or from Terminal:
/Applications/Rhino\ 8.app/Contents/Resources/bin/rhinocode command ImageStudioStartBackendVerify backend and bridge:
curl -fsS http://localhost:17532/api/health
curl -fsS http://localhost:17532/api/rhino/statusExpected bridge status:
{"connected":true}Open the UI:
ImageStudioOpen
The browser should open:
http://localhost:17532
This tests the complete path:
UI/backend -> Rhino macOS plug-in -> viewport capture -> /api/captures
Run:
project_id=$(curl -fsS \
-H 'Content-Type: application/json' \
-d '{"name":"Mac plugin test"}' \
http://localhost:17532/api/projects | jq -r '.id')
capture_id=$(curl -fsS \
-H 'Content-Type: application/json' \
-d "{\"projectId\":\"$project_id\",\"width\":640,\"height\":480,\"displayMode\":\"Shaded\"}" \
http://localhost:17532/api/rhino/capture | jq -r '.captureId')
echo "project_id=$project_id"
echo "capture_id=$capture_id"
curl -fsS "http://localhost:17532/api/projects/$project_id/captures" | jq .The capture should report:
width: 640height: 480displayMode: "Shaded"- non-empty
imageUrlandthumbnailUrl
Verify files:
find "$HOME/Library/Application Support/RhinoImageStudio/data" \
-type f \
-name "*$capture_id*" \
-exec file {} \;Expected files:
captures/{capture_id}.pngthumbnails/{capture_id}_thumb.png
| Command | Purpose |
|---|---|
ImageStudioMacStatus |
Confirms that the macOS plug-in loaded and writes a status marker. |
ImageStudioStartBackend |
Starts or connects to the AI Image Studio backend sidecar. |
ImageStudioOpen |
Starts the backend if needed and opens the UI in the default browser. |
The Windows plug-in uses WebView2 and COM host objects for the JavaScript-to-C# bridge. macOS cannot use that path.
The macOS build uses a backend-mediated bridge instead:
- React calls HTTP endpoints under
/api/rhino/*. - The backend queues Rhino work items in
RhinoBridgeService. MacRhinoBridgeClientlong-polls/api/rhino/bridge/nextfrom inside Rhino.- The plug-in executes viewport capture on the Rhino UI thread; display/query RPCs currently call the shared RhinoCommon query helpers directly.
- The plug-in uploads captures through the existing
/api/capturesendpoint.
This keeps the React app mostly shared between Windows and macOS while replacing the platform-specific bridge layer.
- macOS currently opens the UI in the system browser, not a docked Rhino panel.
- The bridge currently covers status, display modes and viewport capture. Additional Rhino UI actions from the Windows bridge can be added through the same queue pattern.
- The backend sidecar is published for
osx-arm64by default. - AI generation depends on valid Gemini and/or fal.ai API keys configured through the app. OpenAI-branded image models are routed through fal.ai.