What is the deal with pivy?

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: What is the deal with pivy?

Post by looo »

What is realthunders privy? Does he have a replacement?
User avatar
iplayfast
Posts: 256
Joined: Sat Sep 07, 2019 6:55 am

Re: What is the deal with pivy?

Post by iplayfast »

looo wrote: Thu Jan 19, 2023 9:02 pm What is realthunders privy? Does he have a replacement?
I must have been thinking of coin, https://github.com/realthunder/coin
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: What is the deal with pivy?

Post by looo »

Would be nice to have these changes merged with the main coin repo...
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: What is the deal with pivy?

Post by adrianinsaval »

I think he ended up making a full separate renderer due to coins limitations, eitherway, just adding more code to freecad is not a real solution, if the problem is with maintaining the code putting it inside FreeCAD's source would do nothing to improve that (in fact it might make it worse). In reality you are not facing a FreeCAD or a pivy problem, you are facing an Ubuntu problem...
User avatar
iplayfast
Posts: 256
Joined: Sat Sep 07, 2019 6:55 am

Re: What is the deal with pivy?

Post by iplayfast »

adrianinsaval wrote: Thu Jan 19, 2023 11:52 pm I think he ended up making a full separate renderer due to coins limitations, eitherway, just adding more code to freecad is not a real solution, if the problem is with maintaining the code putting it inside FreeCAD's source would do nothing to improve that (in fact it might make it worse). In reality you are not facing a FreeCAD or a pivy problem, you are facing an Ubuntu problem...
I understand that we can't be responsible for ubuntu's release schedule.
I'm thinking if we added the coin repo, to the source as a sub-git. (I don't know much about them but I've seen it done in other projects). Where the coin repo is pulled in as git submodule update --init
(borrowed from this cool project) https://github.com/curv3d/curv/blob/master/BUILD.md

This way we aren't maintaining the code, but have the latest without waiting on Ubuntu.

Code: Select all

from chatgpt
The command 'git submodule update --init' is used to fetch the latest changes from a submodule, if your project is utilizing them. A submodule is a repository or project contained within another repository. This command will recursively fetch all submodules of the current project and update them to the latest commit referenced by the parent repository.
User avatar
onekk
Veteran
Posts: 6146
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: What is the deal with pivy?

Post by onekk »

iplayfast wrote: Fri Jan 20, 2023 5:49 am ...

This way we aren't maintaining the code, but have the latest without waiting on Ubuntu.

Code: Select all

from chatgpt
...
Appimages already do why complicate things to dolve problem of old code in recent distributions?

And chatgpt is like citying "spread sentiments" as it simply suggest most found concept expressed "around"
without doing "fact checks" if you know what a GPT3 system is. (Artificial deficiency).

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: What is the deal with pivy?

Post by adrianinsaval »

iplayfast wrote: Fri Jan 20, 2023 5:49 am I'm thinking if we added the coin repo, to the source as a sub-git. (I don't know much about them but I've seen it done in other projects). Where the coin repo is pulled in as git submodule update --init
(borrowed from this cool project) https://github.com/curv3d/curv/blob/master/BUILD.md

This way we aren't maintaining the code, but have the latest without waiting on Ubuntu.
Won't help because Ubuntu wouldn't update FreeCAD either, and would likely package coin and pivy separately anyways
User avatar
iplayfast
Posts: 256
Joined: Sat Sep 07, 2019 6:55 am

Re: What is the deal with pivy?

Post by iplayfast »

onekk wrote: Fri Jan 20, 2023 6:23 am Appimages already do why complicate things to dolve problem of old code in recent distributions?

And chatgpt is like citying "spread sentiments" as it simply suggest most found concept expressed "around"
without doing "fact checks" if you know what a GPT3 system is. (Artificial deficiency).
I'm talking as someone who like to compile FreeCAD on a daily basis, but currently can't due to Pivy/Coin issues. Appimages don't solve this problem.

I cited chatgtp to let you know that it's NOT a trusted source.
User avatar
onekk
Veteran
Posts: 6146
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: What is the deal with pivy?

Post by onekk »

Once I had Debian and probably there are chances that there is around something backported.

And that you could easily compile a new version yourself.

Regards

Carlo
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: What is the deal with pivy?

Post by looo »

What's the problem with compiling pivy? Which system are you using?
Post Reply