Page 1 of 1

New plunging with pycc, cccorelib and CloudCompy

Posted: Mon Mar 25, 2024 12:59 pm
by Jrvalza
Hello
This is the first time I try to develop a plugin in CloudCompare. I am currently studying the documentation to develop a plugin using python. According to the official Cloudcompare website, there are only 2 libraries that can be used with python, Python Runtime (pycc, cccorelib) and CloudCompy.
My Doubt here is. Is it possible to integrate CloudCompy tools in a plugin that is developed with pycc and cccorelib?

Thank you very much in advance for the information provided.
Thank you.

Translated with DeepL.com (free version)

Re: New plunging with pycc, cccorelib and CloudCompy

Posted: Mon Mar 25, 2024 8:28 pm
by daniel
Yes, it's possible with the Python Runtime.

For now, the only example is the 3DFin plugin by Swansee University (https://www.cloudcompare.org/doc/wiki/i ... n_(plugin)).

You can look at the code and maybe ask questions to its authors via github: https://github.com/3DFin/3DFin/tree/main

Re: New plunging with pycc, cccorelib and CloudCompy

Posted: Tue Mar 26, 2024 2:16 pm
by Jrvalza
Thank you very much for your reply.
I have installed the latest version of CloudCompare (2.13.1v) together with the python plugin, but I don't know how to proceed with the installation of CloudCompy. Is it likely that I should install the dependencies for CloudCompy with pip in the site-package of the python plugin (where for example 3DForest INventory is installed) and then copy and paste the CloudCompy binary folder in this same directory?

Re: New plunging with pycc, cccorelib and CloudCompy

Posted: Tue Mar 26, 2024 6:57 pm
by daniel
So CloudCompy is a different project (here I was suggesting to use 'Python Runtime').

For CloudCompy, you'll have to follow the instruction on the project website or on its github page: https://github.com/CloudCompare/CloudCo ... /README.md

It's also more efficient to ask questions on both projects github space (as the authors of these 2 projects don't come on this forum).

Re: New plunging with pycc, cccorelib and CloudCompy

Posted: Tue Mar 26, 2024 7:20 pm
by Jälv
I don't think it makes much sense to create a python pluging with CloudComPy + pycc + cccorelib, as CloudComPy has the same functionnalities than pycc+cccorelib: it exposes data structures and functions from the libraries of CloudCompare