Welcome to py4dgeo-cloudcompare
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.
An additional Compute M3C2 (py4dgeo, Tkinter) action provides the same calculation through a standard-library Tkinter window. This variant constructs the window and runs M3C2 in the CloudCompare process; it does not spawn a child process. While the window is open, the action cooperatively services both the Tk and CloudCompare event queues and refreshes its list of loaded clouds. The original PySide6/subprocess plugin remains available unchanged.
Acknowledgments
This repository was set up using the SSC Cookiecutter for Python Packages.
Metadata
Release files for p4gcc 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| p4gcc-0.1.3.tar.gz | 19.8 kB | With provenance | Details for p4gcc-0.1.3.tar.gz |
Release files / p4gcc-0.1.3.tar.gz
| Download URL | p4gcc-0.1.3.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e671b8528be8cbf45689abcb8edec956d659894d38ab24d97158ee9675f10a3a
|
|
BLAKE2b-256 checksum How to use checksums |
500d7ccd2f10d8623ecf01e3b4abb7423caf6ee780b816f779b7e725fdcb548c
|
| 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 logSecurity for p4gcc 0.1.3
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.3.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 logA 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.