Skip to content
ForCADDocumentation
Browse guide contents ↓

Studio command line

Run forcad-studio to open Home. When launching from the source checkout, put Studio arguments after fpm's -- separator. This command opens Chess from above using the GNU build.

pixi run -e gnu fpm run --profile release -- --sample chess --view top

Open projects

forcad-studio example/studio/chess.fcad example/studio/head.fcad

Studio opens the files in order and activates the last tab. Repeating a file selects its existing tab. Quote paths containing spaces. You can also use --project FILE for each path.

Use --new to start an empty workspace. Use --list-samples to see the bundled samples. Each --sample NAME opens an editable copy, just like choosing it from Home. You can mix samples and project paths.

Choose a camera and capture an image

forcad-studio --sample head --view front --size 1600 900 --viewport-only --screenshot head.png

--view sets the camera for the active tab. Available orientations are isometric (or iso), front, back, left, right, top and bottom.

--screenshot FILE saves the window and exits. Add --viewport-only for an image of the visible 3D drawing area, excluding the ribbon, side panels and Assistant. --size WIDTH HEIGHT sets the window size in logical pixels, with a minimum of 1180 × 740. The viewport image follows the size of the drawing area inside that window. For unattended captures, set QT_QPA_PLATFORM=offscreen in the environment.

Help and exit codes

Use --help for options, --version for the installed version, --help previews for documentation screenshots, and --help mcp for local Assistant connections. Studio returns 0 on success, 2 for invalid arguments and 1 when a project cannot be loaded or a screenshot cannot be written. A failed capture leaves an existing output file intact.