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.
--
RPC interface for CloudCompare
Re: RPC interface for CloudCompare
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
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
Re: RPC interface for CloudCompare
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.
--
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
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')
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
Re: RPC interface for CloudCompare
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')
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
Re: RPC interface for CloudCompare
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
Re: RPC interface for CloudCompare
Hi Daniel, I updated the repo. Hope is all fine now. Adib.