Back to BRL-CAD
GSoC 2026

BRLCAD Python bindings

I plan to make BRL-CAD python bindings. Basically my goal is to make a Python interface for BRL-CAD using MOOSE as the core modeling backend, with a thin C bridge between Python and C++ for stability and portability. The architecture is: Python interface -> moose_rt3 adapter (ctypes) -> C bridge -> MOOSE C++ API -> BRL-CAD database engine -> .g file. I plan to work around 3 goals: 1. Database lifecycle behavior should be consistent across read-only, writable and in memory modes with clear errors when operations are invalid 2. Core primitives and CSG operations should be exported correctly and transforms must be stored as combination-member matrices so results are verifiable by MGED. 3. Unified read access: provide one Python read entrypoint for supported object families with a stable return format and desterministic errors for missing or unsupported objects

Project details

Contributor

Waleed05

Mentors

Not available

Technologies

Not listed in the archive