As far as I can tell, Pivy is (was?) a part of the Coin project, which is currently hosted on bitbucket.
The last commit to pivy, though, was merging a change that was made by the FreeCAD community back in August of last year.
Is this project active?
If so, where does one find support? I've seen it mentioned in multiple places that Coin3D in general, and Pivy specifically, may be "dying" projects, and that FreeCAD may be the biggest (only?) project that are using them.
As it stands here is my issue - my OS does not have a pre-packaged version of pivy available. This shouldn't be an issue: I downloaded the source and attempted to build with "python setup.py build" then "python setup.py install".
However, the setup.py fails because it can't find Coin or SoQT using cmake.
Ok...so I use "python setup_old.py build" and then install that. great! However, upon entering an interactive python prompt, I attempt to "import pivy" and am met with:
Code: Select all
>>> import pivy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/wolfie/Program/CAD_dev/pivy/pivy/__init__.py", line 30, in <module>
from .coin import SoDB, SoNodeKit, SoInteraction
ImportError: cannot import name 'SoDB'
Well, I figure maybe the "setup.py" has some fixes that "setup_old.py" does not. So, I edit CMakeLists.txt by adding the following lines:
Code: Select all
set(Coin_FOUND TRUE)
set(Coin_VERSION "3.1.3-r2")
set(Coin_INCLUDE_DIR "/usr/include/coin")
set(Coin_LIB_DIR "/usr/lib64")
set(SoQt_FOUND FALSE)
Therefore, in conclusion, TL;DR:
If pivy is so minimally (poorly?) maintained, should we continue to rely on it so heavily?
If not, what are our alternatives?
I'm willing to spend some time helping to transition to something else, for the sake of my own sanity, and for the sake of the community