Skip to main content

CloudCompare CLI Python Wrapper

This is a python wrapper for CloudCompare CLI based on this Wiki Page.

You can build and chain commands which can be executed.

Installation

This package is uploaded to pypi, so you can install it with pip:

pip install pyCloudCompareCLI

Otherwise you can just install it from source using the Github-Repository.

Requirements

Basic Usage

Read ply-file and save in ascii-format with extension ".xyz".

import pyCloudCompare as cc

cli = cc.CloudCompareCLI()
cmd = cli.new_command()
cmd.silent()  # Disable console
cmd.open("pointcloud.ply")  # Read file
cmd.cloud_export_format(cc.CLOUD_EXPORT_FORMAT.ASCII, extension="xyz")
cmd.save_clouds("newPointcloud.xyz")
print(cmd)
cmd.execute()

Same example with Context-Manager:

import pyCloudCompare as cc

cli = cc.CloudCompareCLI()
with cli.new_command() as cmd:
    cmd.silent()  # Disable console
    cmd.open("pointcloud.ply")  # Read file
    cmd.cloud_export_format(cc.CLOUD_EXPORT_FORMAT.ASCII, extension="xyz")
    cmd.save_clouds("newPointcloud.xyz")
    print(cmd)

Acknowledgements

The work in the scope of the CloudCompare CLI Python Wrapper in this repository is supported by the Institute of Geo-Engineering at Clausthal University of Technology.

Release files for pyCloudCompareCLI 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyCloudCompareCLI 0.3.2
File Size Uploaded
pycloudcomparecli-0.3.2.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyCloudCompareCLI 0.3.2
File Interpreter ABI Platform
pyCloudCompareCLI-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 19.8 kB

Release files / pycloudcomparecli-0.3.2.tar.gz

Download URL pycloudcomparecli-0.3.2.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0b925f3c79bd4721b1b20ee55d0cc5da7e86fecc318335f50d0913259834691f
BLAKE2b-256 checksum
How to use checksums
9da3e3b18234137d972739daaff24866f58ef83b0a4a021f6addc617ee796c3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / pyCloudCompareCLI-0.3.2-py3-none-any.whl

Download URL pyCloudCompareCLI-0.3.2-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91374d2cf8025b12a9d4f6ae9fed3c9c46797110048a176b36da6c67e0bd1e05
BLAKE2b-256 checksum
How to use checksums
ddf62e97a654af08b0391c33062db42917fc8377b7b3506fb47e52c9c348bc8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page