diff --git a/services/html_generator.py b/services/html_generator.py deleted file mode 100644 index 2924e0a..0000000 --- a/services/html_generator.py +++ /dev/null @@ -1,87 +0,0 @@ -from pathlib import Path -from typing import Optional -from config import EPT_DIR, POTREE_URL -import config - -def generate_viewer_html(pc_id: str, ept_dir: Optional[str], - embed: bool = False, potree_url: Optional[str] = None) -> str: - # Fallback : cherche ept.json si le manifest est absent - if not ept_dir: - out_dir = EPT_DIR / pc_id - ept_json = out_dir / "ept.json" - if ept_json.exists(): - ept_dir = pc_id - else: - return "