2020-10-25 10:39:21 +01:00
2020-10-25 10:39:21 +01:00
2020-10-25 10:39:21 +01:00
2020-10-25 10:39:21 +01:00
2020-10-25 10:39:21 +01:00
2020-10-25 11:23:43 +00:00

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 --recursive https://github.com/CloudCompare/CloudCompare.git
  1. add this plugin as submodule in plugins
cd CloudCompare/plugins/core/Standard
git submodule add git@gitlab.com:theadib/JsonRPCPlugin.git
  1. patch CMakeLists.txt
nano CMakeLists.txt

then add the plugin as indicated below

 set( submod_plugins
                ${CMAKE_CURRENT_SOURCE_DIR}/qColorimetricSegmenter
                ${CMAKE_CURRENT_SOURCE_DIR}/qMasonry
                ${CMAKE_CURRENT_SOURCE_DIR}/qMPlane
+               ${CMAKE_CURRENT_SOURCE_DIR}/JsonRPCPlugin
 )

  1. build CloudCompare
cd cc/CloudCompare
mkdir build
cd build
cmake-gui ..
make -j
sudo make install
S
Description
No description provided
Readme GPL-3.0 111 KiB
Languages
C++ 77.1%
Python 13.4%
CMake 9.5%