Skip to main content

Welcome to py4dgeo-cloudcompare

License: MIT GitHub Workflow Status Documentation Status codecov

Installation

The Python package py4dgeo_cloudcompare can be installed from PyPI:

python -m pip install py4dgeo_cloudcompare

Development installation

If you want to contribute to the development of py4dgeo_cloudcompare, we recommend the following editable installation from this repository:

git clone git@github.com:dokempf/py4dgeo-cloudcompare.git
cd py4dgeo-cloudcompare
python -m pip install --editable .[tests]

Having done so, the test suite can be run using pytest:

python -m pytest

CloudCompare plugin

This package provides a Python M3C2 plugin for CloudCompare-PythonRuntime. Install the package into the Python environment used by CloudCompare:

python -m pip install .

After restarting CloudCompare, run Compute M3C2 (py4dgeo) from the Python action launcher or the Python plugins menu. The configuration window starts even if fewer than two point clouds are loaded and reports the current availability; computation requires at least two. It runs in a separate PySide6 process and lets you assign the reference, compared, and core point clouds. An existing selection is used only to choose convenient defaults. The dialog also configures normal radii, projection radius and depth, registration error, normal orientation, and robust aggregation.

CloudCompare remains responsive while the window is open because the plugin pumps CloudCompare's native Qt event loop while waiting for configuration. No PySide6 module is imported into the CloudCompare process. The window's cloud choices refresh as point clouds are added to or removed from the database.

CloudCompare sends only cloud IDs, display labels, and default selections to the window. The window returns only the selected IDs and M3C2 parameters as JSON. Point-cloud objects and coordinate data never leave CloudCompare. After the window closes, the original CloudCompare action thread runs M3C2 synchronously and adds the result to the database there.

The result is added to CloudCompare as a new point cloud at the core-point locations. It displays the signed M3C2 distance and also contains scalar fields for the level of detection, cloud spreads and sample counts, computed normal components, and selected normal radius. CloudCompare global shifts and scales are respected when clouds use different local coordinate systems. CloudCompare discovers the plugin through the cloudcompare.plugins package entry point declared in pyproject.toml.

Acknowledgments

This repository was set up using the SSC Cookiecutter for Python Packages.

Metadata

Release files for p4gcc 0.1.0

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

Source distribution (sdist)

Source distribution for p4gcc 0.1.0
File Size Uploaded Provenance Actions
p4gcc-0.1.0.tar.gz 16.8 kB With provenance Details for p4gcc-0.1.0.tar.gz

Release files / p4gcc-0.1.0.tar.gz

Download URL p4gcc-0.1.0.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
130fd984576453a37fe723c02b656f248eddff44d45458ab0bac77854d3a5dce
BLAKE2b-256 checksum
How to use checksums
bad63ba471465286368a506bee6d77369304343b5c8783e4e5c1800bccd68168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for p4gcc 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for p4gcc-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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