OpenCASCADE?
https://dev.opencascade.org/
pythonocc is a joy
https://github.com/tpaviot/pythonocc-core
Notably wrapped by build123d into cad as a code package
pythonocc is a joy
https://github.com/tpaviot/pythonocc-core