Page 1 of 1

RPC interface for CloudCompare

Posted: Wed Oct 21, 2020 8:21 pm
by theadib
Hi Daniel,

I have programmed a plugin that allows one to
- open a file in qCC and
- clear the objects
via WebSocket based JSON RPC calls.

That plugin is used to control the objects shown based on an application that has the filelist.
I think that could be useful for others as well.

You can find my project in gitlab https://gitlab.com/theadib/cloudcompare

Currently it creates verbose output.
I want to implement an option to give a transformation matrix.

Do you have any feedback?
How can this plugin integrated into the CloudCompare release?

Thanks and regards, Adib.
--

Re: RPC interface for CloudCompare

Posted: Thu Oct 22, 2020 10:09 am
by daniel
Hi,

New plugins are always welcome!

To integrate that in the main repository, we now use "submodules".

The idea is that you store only the plugin sources in dedicated repository, and then we had a (submodule) link to this repository under our 'plugins/Core/Standard' folder. This way people can optionally pull the submodule and compile it (or not).

See how this work with the newest qMPlane or qMasonry plugins:
https://github.com/CloudCompare/CloudCo ... e/Standard

Re: RPC interface for CloudCompare

Posted: Sun Oct 25, 2020 11:29 am
by theadib
Hi Daniel,

I pulled all relevant plugin code out into separate project.

You can now find the plugin only code here:
https://gitlab.com/theadib/JSonRPCPlugin

Regards, Adib.
--

Re: RPC interface for CloudCompare

Posted: Fri Oct 30, 2020 5:37 pm
by daniel
Ok, almost good ;)

Can you rename the qrc file 'qJSonRPCPlugin.qrc'? (as I will integrate the plugin as 'qJSonRPCPlugin' so as to follow the plugin names convention - they all start by a 'q')

Re: RPC interface for CloudCompare

Posted: Fri Oct 30, 2020 5:37 pm
by daniel
Ok, almost good ;)

Can you rename the qrc file 'qJSonRPCPlugin.qrc'? (as I will integrate the plugin as 'qJSonRPCPlugin' so as to follow the plugin names convention - they all start by a 'q')

Re: RPC interface for CloudCompare

Posted: Fri Oct 30, 2020 6:01 pm
by daniel
Oh and maybe you'll want also to fill the "copyright" parts, and remove the unnecessary comments that come from the template?

Re: RPC interface for CloudCompare

Posted: Wed Nov 04, 2020 1:01 pm
by theadib
Hi Daniel, I updated the repo. Hope is all fine now. Adib.