mirror of
https://gitlab.com/theadib/JSonRPCPlugin.git
synced 2026-08-29 07:30:24 +08:00
36 lines
727 B
Markdown
36 lines
727 B
Markdown
|
|
JSON RPC plugin for CloudCompare
|
||
|
|
================================
|
||
|
|
|
||
|
|
This plugin executes commands/actions via RPC from a different proccess/computer
|
||
|
|
The plugin opens a TCP-server port when activated.
|
||
|
|
The RPC communication is done via Websocket http JSON transfers.
|
||
|
|
|
||
|
|
Currently implemented commands:
|
||
|
|
- open: opens a file from filesystem
|
||
|
|
- clear: clears all clouds
|
||
|
|
|
||
|
|
|
||
|
|
howto build
|
||
|
|
-----------
|
||
|
|
|
||
|
|
1. clone CloudCompare
|
||
|
|
|
||
|
|
mkdir cc
|
||
|
|
cd cc
|
||
|
|
git clone https://github.com/CloudCompare/CloudCompare.git
|
||
|
|
|
||
|
|
2. add this plugin as submodule in plugins
|
||
|
|
|
||
|
|
cd CloudCompare/plugins/core/Standard
|
||
|
|
git submodule add git@gitlab.com:theadib/jsonrpcplugin.git
|
||
|
|
|
||
|
|
3. build CloudCompare
|
||
|
|
|
||
|
|
cd cc/CloudCompare
|
||
|
|
mkdir build
|
||
|
|
cd build
|
||
|
|
cmake ..
|
||
|
|
make -j
|
||
|
|
sudo make install
|
||
|
|
|