""" ViewDesignEngine — CAD computational geometry engine for Python. Two binding paths: 1. **Native pybind11 module** (`_vde`): rich typed API (`vde.core/curves/mesh/brep/sdf/cam/assembly`). Requires building with `-DVDE_BUILD_PYTHON=ON` and a toolchain ABI-compatible with the CPython interpreter (on Windows: MSVC matching the CPython build). 2. **ctypes path** (`vde._ctypes`): offline, compiler-independent binding over the shared C API (`vde_capi_shared` target). Works with any CPython (verified with Python 3.14.6) and is the supported fallback. `vde.native` tells which path was loaded. """ __version__ = "1.0.8" native = False try: # rich native module (when built) from ._vde import core, curves, mesh, brep, sdf, cam, assembly # noqa: F401 native = True __all__ = ["core", "curves", "mesh", "brep", "sdf", "cam", "assembly", "native", "__version__"] except ImportError: # pragma: no cover - exercised when native module absent from ._ctypes import ( # noqa: F401 Body, Mesh, load, load_mesh, version, last_error, ) __all__ = ["Body", "Mesh", "load", "load_mesh", "version", "last_error", "native", "__version__"]