Skip to content

Render a project with Blender

Desktop

Open a project and choose Render in the toolbar. Choose Image, Explosion animation or Blender scene, then select the parts, camera, image size and sample count. Visible includes the currently visible components; Selection includes selected components. Cameras are studio presets, independent of the viewport.

Blender must be installed separately. CadKit uses Blender on PATH or in a common installation location; choose the Blender button to locate its executable. Animations also require FFmpeg on PATH and declared explosion offsets. They show an explosion sequence, not joint motion.

Render uses the current built geometry. Image previews appear in the panel; Open opens the result and Folder opens its files. Every job keeps an editable scene.blend, assets and a log under build/desktop-renders/. Results stay listed while the project is open. Closing the panel allows rendering to continue; Cancel, closing the project or quitting the app stops it.

CLI

You need an importable CadKit project, its Python environment and a separate Blender installation. Run these commands from the project directory. Geometry remains authored in Python; Blender receives a presentation scene.

Export the scene

uv run cadkit --project project:PROJECT render-assets --output-dir render/exports

The output includes component meshes and scene.json, with installed placement, materials and optional explosion offsets. Add --printed-only to include only installed manufactured parts, excluding purchased components and fastening hardware. Use --view service to select a named project view.

Make a still image

uv run cadkit blender \
  --assets render/exports/scene.json \
  --output render/model.blend \
  --render render/model.png

If Blender is not on PATH, add --blender /absolute/path/to/blender. Use --width 800 --height 600 --camera Front to change the image and camera. Use --samples 8 for a quick preview before a longer render. The Blender command does not take --project; it consumes the exported scene manifest.

Open the image and check that all intended components, materials and placements are present. CadKit converts scene millimetres to Blender metres once; avoid adding a second unit conversion in a custom Blender script.

Make an exploded view

Give components explicit explode offsets in your project, then export:

uv run cadkit --project project:PROJECT render-assets \
  --exploded --output-dir render/exploded
uv run cadkit blender \
  --assets render/exploded/scene.json \
  --output render/exploded.blend \
  --render render/exploded.png

For an animation, add --animation and choose an .mp4 render path; this also requires FFmpeg. Exploded offsets are presentation instructions, not evidence of a feasible assembly sequence.

See the CLI reference for render options.