Amni-CAD › Reference › AI assistant tools › extract_fluid
Extract the fluid volume of the part's closed passages from its own surface, with no cell mesh: every hole in a port face gets a planar cap, so the walls and caps make a watertight fluid body. Returns the volume, wetted and port areas per region, each port's caps or lid, and every opening with no port (center, area, diameter, face and a pick point that selects that face as a port). Run it before run_flow on closed passages to check that the ports seal the fluid. Ports default to the flow panel's ports; give ports [{name, faces}] (faces: a face id, {side:"-X"}, {pts:[[x,y,z]]} or {at,normal}) to try others. format "stl" or "obj" also returns the fluid surface as text in mm, one solid or group per port.
The Amni-CAD assistant uses this tool for you when you ask in plain words. Other AI apps (Claude, ChatGPT and any app that speaks MCP) can call it through the Amni-CAD connector while your Amni-CAD tab is open.
Swipe sideways to see every column.
| Argument | Type | Required | Meaning |
|---|---|---|---|
ports | array of objects | no | |
format | string | no | Choices: stl obj |
Last updated