# Vehicle sun visor plan

## Overall envelope and orientation

Model a typical passenger-car visor with a **365 x 170 x 18 mm padded board** with 22 mm rounded plan corners. Its parked assembly spans about **413 mm across the visor and clip**, with a **42 x 34 mm compact pivot base** and a narrow concealed reinforcement between the pivot mount and the separate retaining clip. The complete assembly geometry and its joint pivots are raised 220 mm in the model frame so the 91-degree lowered pose stays visible in motion renders, including the fixed roof hardware. Dimensions are metres in `build.py`; X follows the visor width, +Y runs from the hinge edge into the board, and +Z is away from the roof/headliner mounting surface. The parked board is horizontal beneath the roof. Its hinge axis is along X, and rotating it toward negative Z swings it down, away from the roof.

## Rigid bodies and mounted parts

1. **`roof_anchor` (root, fixed to the vehicle roof)** — a compact headliner pivot base with a rubber bearing bushing, two fasteners, a narrow roof reinforcement and the outboard spring retaining clip with a tapered molded web. These parts are rigidly fixed to the roof structure.
2. **`swivel_bracket`** — the rotating pivot flange and shoulder, tapered stamped-steel support web, rod saddle and polished steel support rod. The rod is fixed to this body and is the visor's sliding track.
3. **`hinge_carriage`** — two small sliding rod collars, a connecting yoke, hinge barrel and pin head. These make one sliding hinge unit on the support rod.
4. **`visor`** — the round-cornered, deeply softened sandwich board, woven fabric faces with a stitched seam and fine perimeter welt, recessed cabin-facing vanity mirror cassette with a single continuous bezel ring on the broad +Z face, elastic ticket strap on the opposite face, and small safety label. These all move together as one padded panel.

The retaining clip is attached to `roof_anchor` at the free end of the parked visor. It sits within 2 mm of the board edge so the parked panel reads as captured, while remaining clear of the sweep as the visor pivots or slides.

## Joints

| Joint | Type | Parent -> child | Assembly-local rest pivot (m) | Axis | Limits |
|---|---|---|---|---|---|
| `bracket_swivel` | revolute | `roof_anchor` -> `swivel_bracket` | (-0.190, -0.115, 0.261) | world +Z | 0 to +96 deg; swings the bracket from the windshield toward the side window |
| `visor_slide` | prismatic | `swivel_bracket` -> `hinge_carriage` | (-0.155, -0.079, 0.235) | world +X along the support rod | -35 to 0 mm; extends the visor toward the outboard/mount end |
| `visor_hinge` | revolute | `hinge_carriage` -> `visor` | (-0.1425, -0.075, 0.229) | world +X along the hinge barrel | -91 to 0 deg; negative rotation lowers the parked panel |

The board's inner hinge edge butts against the hinge barrel at rest; the carriage collars wrap the support rod, and the bracket flange bears on the fixed pivot pedestal. Each joint pivot lies on the actual mating hardware.

## Visual treatment

Use a light warm-grey headliner plastic with a fine grain, a dark elastomer bearing, zinc/aluminium coloured bracket and rod, a textured taupe woven visor face, charcoal mirror cassette and bezel, and a silver mirror insert. Add a machined pivot bushing, compact base fasteners, a shaped spring clip, a formed support web, rod collars, a double-stitched seam, soft perimeter welting and a restrained underside safety label. The mirror and ticket strap are fixed directly to the visor body. All raised or separate detail pieces touch their mounting surface or a neighbouring part within the 2 mm contact tolerance.
