Files
synthetic-defect-factory/reports/base_usd.md
T

54 lines
4.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Base USDA Scene Specification: `usd/base/station.usda`
**Generated By:** `src/make_base_usd.py`
**Rendered Via:** Blender 5.2.2 LTS (Cycles GPU / OptiX)
**Preview Artifacts:**
- Top-Down Inspection: `renders/samples/base_preview.png`
- 3D Workstation Overview: `renders/samples/station_overview.png`
**Interactive 3D File:** `station.blend`
**Stage Metadata:**
- `upAxis`: `"Z"`
- `metersPerUnit`: `1.0`
- `defaultPrim`: `"World"`
---
## 1. Scene Architecture & Hierarchy
The scene contains 118 prims organized cleanly under standard USD schemas:
| Subsystem Path | Type | Applied Schemas | Description / Realism Features |
| :--- | :--- | :--- | :--- |
| `/World` | `Xform` | — | World root coordinates. |
| `/World/Materials` | `Scope` | — | 15 PBR materials (`UsdPreviewSurface`): Brushed steel, anodized aluminum, rubber, camera paint, safety yellow, cast iron, 3-tier andon indicators, black polymer conduit, chrome piston rod, RAL 7035 enclosure paint, stainless reject chute, etc. |
| `/World/FactoryFloor` | `Mesh` | `MaterialBindingAPI` | Factory floor plane (1.8m x 1.8m) at $z = -0.30\text{ m}$. |
| `/World/Conveyor` | `Xform` | — | 800mm conveyor assembly: continuous vulcanized rubber belt, fine splice seam line, extruded aluminum side channels, safety yellow guide rails, end pulley rollers, pillow-block bearing blocks, electric drive motor/gearbox, 4 support legs with rubber foot pads, photoelectric part detector, and emergency stop station with red mushroom button. |
| `/World/InspectionRig` | `Xform` | — | Corner mounting mast ($x = -0.12, y = 0.20$), floor mounting flange, 3-tier Andon signal tower (Red/Amber/Green), articulated boom arm, swivel knuckle, industrial camera casing with heat-sink fins, C-mount lens barrel, ring illuminator housing, status green LED, cable connector, corrugated cable conduits, and electrical enclosure cabinet. |
| `/World/RejectStation` | `Xform` | — | Automated downstream defect sorting station: side rail clamp, pneumatic air cylinder, chrome piston rod, black polymer pusher paddle, and slanted stainless steel reject slide chute. |
| `/World/StreamBrackets` | `Xform` | — | Upstream ($x = -0.24\text{ m}$) and downstream ($x = +0.24\text{ m}$) brackets on the conveyor belt with natural physical pose variation ($\pm 2.8^\circ$ yaw angle and lateral offsets). |
| `/World/Product` | `Xform` | — | Primary inspection assembly centered at origin $(0, 0, 0)$. |
| `/World/Product/Body` | `Mesh` | `MaterialBindingAPI` | Bracket body ($80 \times 40 \times 6\text{ mm}$), 4 holes, $64 \times 32$ subdivided top face quad grid, linear UVs. |
| `/World/Product/Screw_1` | `Mesh` | `MaterialBindingAPI` | Pan-head fastener seated in Hole 1 at local $(-0.025, -0.010, 0.006)$. |
| `/World/Product/Screw_2` | `Mesh` | `MaterialBindingAPI` | Pan-head fastener seated in Hole 4 at local $(0.025, 0.010, 0.006)$. |
| `/World/Camera` | `Camera` | — | Machine vision top-down perspective camera at $(0.0, 0.0, 0.22)$, 50mm focal length, 1:1 sensor (640x640). |
| `/World/Lights/*` | `Scope` | — | Calibrated lighting suite: soft diffused KeyLight, two balanced SideLights, and RingLight around the lens barrel. |
---
## 2. USD Compliance Validation Results
Validated via `pxr.UsdValidation` across all 30 standard validator suites:
- **Total Errors:** `0`
- **Total Warnings:** `0`
- **Result:** **100% COMPLIANT** (Complies strictly with `PROJECT_BRIEF.md`: pure ASCII USDA, meter units, Z up-axis, standard `UsdPreviewSurface` materials, standard named prims).
---
## 3. Headless Render Verification
- **Render Engine:** Blender 5.2.2 LTS Cycles with OptiX GPU acceleration on NVIDIA GeForce RTX 3050 Laptop GPU.
- **Outputs Produced:**
- `renders/samples/base_preview.png`: 640 × 640 inspection camera view.
- `renders/samples/station_overview.png`: 1024 × 640 3D overview with depth-of-field, factory ceiling illumination, full machine vision stanchion, Andon tower, and reject station.
- `station.blend`: Saved and configured in Material Preview mode for interactive inspection.