New plunging with pycc, cccorelib and CloudCompy

Questions related to plugins development
Post Reply
Jrvalza
Posts: 2
Joined: Mon Mar 25, 2024 12:49 pm

New plunging with pycc, cccorelib and CloudCompy

Post 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)
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: New plunging with pycc, cccorelib and CloudCompy

Post 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
Daniel, CloudCompare admin
Jrvalza
Posts: 2
Joined: Mon Mar 25, 2024 12:49 pm

Re: New plunging with pycc, cccorelib and CloudCompy

Post 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?
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: New plunging with pycc, cccorelib and CloudCompy

Post 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).
Daniel, CloudCompare admin
Jälv
Posts: 28
Joined: Sun Jul 02, 2017 8:35 pm

Re: New plunging with pycc, cccorelib and CloudCompy

Post 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
Post Reply