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
@@ -6,7 +6,7 @@ import subprocess
import sys
from pathlib import Path
from utils import ask_float, ask_int, ask_yes_no
from utils import ask_float, ask_int, ask_yes_no, check_openscad
BASE_DIR = Path(__file__).resolve().parent
@@ -70,6 +70,8 @@ def render_scad(
def main() -> None:
check_openscad()
if not SCAD_DIR.exists():
raise SystemExit(f"Missing SCAD directory: {SCAD_DIR}")