Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kanzure/python-brlcad Py3 compatibility #1

Open
scorp08 opened this issue Jun 21, 2019 · 8 comments
Open

kanzure/python-brlcad Py3 compatibility #1

scorp08 opened this issue Jun 21, 2019 · 8 comments

Comments

@scorp08
Copy link

scorp08 commented Jun 21, 2019

Hello
I tired to install brl_cad through pip install -U brlcad with py3. Returned with error. And It seems that development is stopped as nobody is repyling issues. How can I install brlcad for py3??
Thnks

@nmz787
Copy link
Owner

nmz787 commented Jun 23, 2019

kanzure's python library is completely different than mine which you've posted this issue on.

@scorp08
Copy link
Author

scorp08 commented Jun 24, 2019

I know but nobody is replying like development is stopped. That is why I asked on this topic

@brlcad
Copy link

brlcad commented Jun 24, 2019

@scorp08 the python interface to BRL-CAD is not in active development, but happy to support you as much as we can, especially if you're interested in getting involved with it. Getting it to work with python3 shouldn't actually be too difficult but will undoubtedly require some minor changes as the python interface was last worked a few years ago now. Last I recall someone looking, the ctypes layer wasn't yet ready for python 3 and that was the only problem, and that's since been resolved.

If you have a specific use-case in mind, please come talk with us on brlcad.zulipchat.com as there may be alternative ways to get what you're needing faster.

@nmz787
Copy link
Owner

nmz787 commented Jun 25, 2019

@scorp08 have you tried this library? It simply wraps a Python API around command line calls (thus it should also be cross-platform)... The main downside is it's slower due to the added latency from opening subprocesses, instead of using a library function from the same thread. Depending on what your goals are, this package might suffice as is. I'm also open to suggestions for how to improve it.

@nmz787
Copy link
Owner

nmz787 commented Jun 25, 2019

All the unit-tests for Py2 and Py3 pass with this package for me (brlcad binaries on the system PATH).

@scorp08
Copy link
Author

scorp08 commented Jun 28, 2019

I am writing a software whlch brl cad is a part of. Requred to sent input to library or mged and collect output. Also it need to run brlcad gui in a screen. Is it possible with this module??

@nmz787
Copy link
Owner

nmz787 commented Jun 28, 2019 via email

@nmz787
Copy link
Owner

nmz787 commented Jun 28, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants