geometor.elementarium.cad_render¶
High-resolution Z-buffered 3D CAD studio renderer (assembled & exploded views).
Functions¶
|
Render a 2x-supersampled Z-buffered 3D CAD studio plate of Mark I to PNG. |
Module Contents¶
- geometor.elementarium.cad_render.render_cad_studio_png(output_path: pathlib.Path, *, explode: float = 0.0, yaw_deg: float = 56.0, pitch_deg: float = 25.0, width: int = 1920, height: int = 1080) pathlib.Path¶
Render a 2x-supersampled Z-buffered 3D CAD studio plate of Mark I to PNG.
Uses a right-handed Z-up spherical camera elevated above the optical bench so
Z0(Plate 0 Keystone) sits on the front-left and the optical beam propagates left-to-right throughZ4(Ground-Silica Screen), with per-pixel Z-buffering and physical alpha transmittance across all fused-silica elements.- Parameters:
output_path – Destination PNG file path.
explode – Exploded-view factor
0.0(assembled) to1.0(exploded kit).yaw_deg – Right-handed Z-up turntable azimuth in degrees (
+56= front-right).pitch_deg – Camera elevation above XY plane in degrees (
+25= looking down).width – Output image width in pixels.
height – Output image height in pixels.
- Returns:
Resolved path to the rendered PNG image.