CAD and BIM review
An optional add-on. When an agent writes or changes a 3D model, the chat shows it in a viewer you can turn, measure and cut. Click a spot to pin a comment, and the agent gets it with the exact place you meant.
Turn it on
Open Settings, then Add-ons.
Set CAD & BIM review to On. Cocobox downloads the two engines it needs for STEP, IGES and IFC, about 15 MB, and shows the progress.
Set it to Off to hide the viewer. Remove engines deletes the download and frees the space at any time.

It is off until you turn it on. While it is off, a model in the chat is a plain file name and none of the viewer loads.
What it opens
- STL, 3MF, OBJ, glTF and GLB: built in.
- DXF: built in. Lines, polylines, circles, arcs and 3D faces; text and hatches are not drawn.
- STEP and IGES: with the downloaded engine.
- IFC (IFC2x3 and IFC4): with the downloaded engine. Each element keeps its IFC GlobalId, type and name.
Review a model


- Turn and zoom: drag to orbit, scroll to zoom, right-drag to pan. Fit brings the whole model back into view.
- Measure: click two points for the distance between them, in the model’s own units.
- Section: cut the model with a plane on X, Y or Z and slide it through.
- Before and After: when the agent changes a file you already looked at in this session, switch between the two versions.
Pin a comment
Click Comment, then click the spot on the model.
Write what you want changed and click Send to agent.

The agent gets your comment with the file, the 3D point, the part or element you clicked (its IFC GlobalId when the model is IFC), the camera and the section plane, much like a BCF viewpoint. If the agent is busy, the comment waits its turn like any message.

In the chat your comment shows as a chip naming what you clicked. Click the chip to see the model again from where you pinned it; Viewpoint unfolds the exact details the agent got.
When the agent writes the file again, its answer shows the new version with Before and After, so you can check the change before you move on.


It works the same on parts. Here the comment “Add a fillet here” on the gearbox housing came back with a 5 mm fillet where the walls meet the flange.



Getting agents to write models
Agents write models with their own tools, in their own environment; Cocobox does not install them. Good choices: build123d or CadQuery for STEP, STL and glTF, IfcOpenShell for IFC, and ezdxf for DXF. Cocobox already tells every agent which formats the chat shows and to embed the model in its answer, like .
The models on this page were made that way, from short scripts: a change is a rerun. Try them in the viewer: house.ifc (IfcOpenShell: two storeys, walls, slabs, openings, a stair, materials and properties) and gearbox.step (build123d: involute gears, bearings, a filleted housing, 2.5 MB).
Agents see their models
Since 0.14.3 an agent can look at what it built before it shows you. With the add-on on, it renders the model to pictures and checks them against what you asked for.
- cad_render draws a model or a federation file to PNG pictures, with the same viewer you use: front, back, left, right, a 3D view, a flat view from above, a cutaway of each floor, and a flat plan of each floor. The agent can leave disciplines out. The pictures are saved in a
rendersfolder next to the model, and the agent can embed them in its answer. - cad_kit writes
cocobox_bim.pyinto the project: ready-made IFC building blocks for IfcOpenShell. Walls with doors and windows cut in, round-topped doors, bay windows, garage doors, gable, hip and shed roofs, stairs with rails, chimneys, porches, and furniture for every kind of room, with storeys, materials and colours set. Agents use it instead of building every part from boxes. - cad_render only works with the add-on on, and both tools stay inside the tab’s folder.


For a building, the agent first writes a design brief and asks you to confirm it; see the design brief.
Revit and DWG
- Revit (.rvt) cannot be read outside Revit. Export IFC from Revit (File › Export › IFC) and share the .ifc file.
- DWG opens if you installed LibreDWG (
brew install libredwg). Cocobox runs itsdwg2dxfas a separate program to convert the drawing, then shows the DXF. Settings › Add-ons says whether it found it. Otherwise, save the drawing as DXF.
The engines and your Mac
- The STEP/IGES engine is occt-import-js (LGPL-2.1) and the IFC engine is web-ifc (MPL-2.0), both unmodified. They come only from releases.cocobox.io.
- Every engine file is checked against a fingerprint built into the app before it is saved, and again each time it loads. A file that does not match is refused.
- The engines live in Cocobox’s settings folder, under
addons/cad/. Your models are read from your Mac and never uploaded.