check if openscad is installed on system

This commit is contained in:
sam.hadow committed 2026-10-07 17:30:37 +02:00
1 parent bcb20a9a5d
commit ec1939a2e1
6 files changed
+22 -11

No files matched your search

Regular → Executable
+3 -1
View File
@@ -5,7 +5,7 @@ import subprocess
import sys
from pathlib import Path
from utils import ask_int, ask_float
from utils import ask_int, ask_float, check_openscad
BASE_DIR = Path(__file__).resolve().parent
@@ -54,6 +54,8 @@ def render_scad(
def main() -> None:
check_openscad()
if not SCAD_DIR.exists():
raise SystemExit(f"Missing SCAD directory: {SCAD_DIR}")