Files
ViewDesignEngine/python/README.md
T

884 B

VDE Python binding (ctypes bootstrap)

This package is a minimal ctypes binding for the VDE C API. It is a bootstrap, not the final pybind11 extension.

Usage

export VDE_CAPI_LIBRARY=/path/to/libvde_capi.so   # or .dll/.dylib
python -c "import vde; print(vde.version())"

Windows MinGW runtime DLLs (libgcc/libstdc++/libgomp) must be findable; the loader also adds the directory of g++ found on PATH.

Covered API

  • vde_version
  • Kernel create/destroy/last_error
  • load_mesh / save_mesh (OBJ/STL/PLY read; OBJ write)
  • num_vertices / num_faces / bounds

Tests

python python/tests/test_ctypes_smoke.py -v

Limitations

  • not pybind11; no native wheel yet
  • no B-Rep/STEP/IGES calls, no plugin manager
  • wheel build requires setuptools; the current local environment has neither setuptools nor working PyPI access, so wheel/sdist verification is pending.