# FreeCAD Render - FikoYT

## 🎬 Animasyon Render

**Python Scripts:**
- `freesim-yatay-dikey.py` - Horizontal+Vertical
- `freesim-spiral.py` - Spiral path
- `headless_render.py` - Batch processing

## 🔄 Render Pipeline

```python
# Phase 1: Horizontal (Y-axis, 360°)
for frame in range(180):
    angle = frame * 2 * math.pi / 180
    camera.position = rotate_around_y(position, angle)
    render_frame(camera)

# Phase 2: Vertical (X-axis, 360°)
for frame in range(180):
    angle = frame * 2 * math.pi / 180
    camera.position = rotate_around_x(position, angle)
    render_frame(camera)
```

## 📸 Render Özellikleri

- **Resolution:** 1920x1080
- **Frames:** 360 total (180+180)
- **Delay:** 8ms per frame
- **Format:** PNG → GIF

## ⚙️ Komut

```bash
# GIF creation
convert frames/* -delay 8 -loop 0 output.gif
```

## 🖥️ Headless Mode

- **Xvfb:** Virtual display
- **No GUI:** Server rendering
- **Batch:** Multiple files
- **GPU:** CUDA acceleration

---
2025-11-06