--camera-view
<angle>Set the camera angle -- as an integer index -- for the PNG rendered by --export-png, with 0 (Iso) as the default and four axis-aligned plus four isometric variants available; the integer is embedded in the output filename.
Details
--camera-view controls which viewpoint is used when the engine renders a per-plate PNG during an --export-png run. It is meaningless without --export-png; when that companion flag is absent the value is read and stored but never consulted, and no PNG is produced.
The flag takes an **integer**, not a named string. The config definition maps accepted values to angle names in its tooltip: 0 = Iso, 1 = Top_Front, 2 = Left, 3 = Right, 10 = Iso_1, 11 = Iso_2, 12 = Iso_3. The default is 0. The enum in the source also includes Top (4), Bottom (5), Front (6), and Rear (7), and passing those integers will select those orientations through the same dispatch path, but they are not listed in the official CLI config tooltip, so treat them as undocumented. Value 8 (an internal count sentinel) is not handled by the dispatch and produces no view. Value 9 is handled by the same dispatch branch as Top (4) and renders an identical top-down view; it is an internal entry intended for 3MF thumbnail generation, not for CLI callers, so it too should be treated as undocumented.
All four Iso variants share the same 45-degree elevation angle; they differ only in horizontal rotation. Iso (0) sits at the standard position with a 45-degree Z-axis rotation. Iso_1, Iso_2, and Iso_3 rotate that viewpoint clockwise by 90 degrees, 180 degrees, and 270 degrees respectively around the vertical axis. The rendering is always orthographic regardless of what projection the interactive session uses. The integer value is baked directly into the output filename: a plate 1 render at view 0 writes plate_1_0.png, at view 10 writes plate_1_10.png. That makes the value self-documenting in the filename but also means that switching --camera-view without changing the output directory will produce files with different names, not overwrite each other.
Examples
--export-png 0 --camera-view 0 ...Watch out for
- ▲ The flag accepts an integer, not a name string. Passing `Iso` or `Top_Front` as text will be rejected or silently zero-valued; pass `0` or `1`.
- ▲ The rendered image is always orthographic (the camera type used in the interactive session is not consulted), so depth cues from perspective are absent regardless of slicer settings.
- ▲ Integer values 4 through 7 (Top, Bottom, Front, Rear) work through the same dispatch but are not documented in the CLI config tooltip and should be considered undocumented behavior. Value 8 produces no view; value 9 is an undocumented alias for the top-down view.
Related flags
Sign up for free today
No credit card required. Connect unlimited printers and get production automation running in minutes.