RPC interface for CloudCompare

To post any request/idea for new functionalities
Post Reply
theadib
Posts: 7
Joined: Wed Oct 21, 2020 8:07 pm

RPC interface for CloudCompare

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

Re: RPC interface for CloudCompare

Post 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
Daniel, CloudCompare admin
theadib
Posts: 7
Joined: Wed Oct 21, 2020 8:07 pm

Re: RPC interface for CloudCompare

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

Re: RPC interface for CloudCompare

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

Re: RPC interface for CloudCompare

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

Re: RPC interface for CloudCompare

Post by daniel »

Oh and maybe you'll want also to fill the "copyright" parts, and remove the unnecessary comments that come from the template?
Daniel, CloudCompare admin
theadib
Posts: 7
Joined: Wed Oct 21, 2020 8:07 pm

Re: RPC interface for CloudCompare

Post by theadib »

Hi Daniel, I updated the repo. Hope is all fine now. Adib.
Post Reply