open-point-cloud
/open-point-cloud
Podpina chmury punktów PLY i E57 do modelu Revit przez dodatek Open Point Cloud, z poziomu agenta lub skryptu.
- Autor
- jdwit ↗
- Repozytorium
- revit-open-pointcloud ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Podpina chmury punktów PLY i E57 do modelu Revit przez dodatek Open Point Cloud, z poziomu agenta lub skryptu.
Oryginalny opis (EN)
Link a PLY or E57 point cloud into a Revit model with the Open Point Cloud add-in, from an agent or a script. Use it when a user asks to link, import or check a PLY or E57 point cloud in Revit.
Jak działa
- Requirements
- API
- Procedure
- Examples
- Facts and traps
Podgląd SKILL.md
---
name: open-point-cloud
description: Link a PLY or E57 point cloud into a Revit model with the Open Point Cloud add-in, from an agent or a script. Use it when a user asks to link, import or check a PLY or E57 point cloud in Revit.
---
# Open Point Cloud for agents
The Open Point Cloud add-in links a binary PLY or an E57 file as a native Revit point cloud. Agents and scripts use the public API in the namespace `OpenPointCloud`. The API shows no dialogs.
## Requirements
- Revit 2025, 2026 or 2027 with the add-in installed (see README). Revit loads the assembly `OpenPointCloud` at start-up.
- A binary little-endian PLY with `x`, `y` and `z` (float, double or int). Colour (`red`, `green`, `blue`) is optional.
- Or an E57 file. The add-in reads all scans and applies the pose of each scan. Colour and intensity are optional.
- For LAS or LAZ: convert to binary PLY first, for example with CloudCompare.
## API
| Call | Result |
|---|---|
| `Api.Inspect(path)` | `CloudInfo`: file, bytes, points, hasColour, min, max, size (meters, file coordinates), indexFromCache. Needs no document. Makes the index if necessary. |
| `Api.Link(doc, path)` | `LinkResult`: elementId of the point cloud instance, the `CloudInfo` and the time in seconds. |
| `result.ToJson()` | The result as JSON. |
`Api.Link` starts its own transaction. Call it when no transaction is open.
## Procedure
1. Make sure that the active document is the correct model. Do not link test clouds into a production model. Use a copy.
2. Call `Api.Inspect` and report the points, the size and the position to the user.
3. Call `Api.Link`. Keep the `elementId`.
4. Tell the user to align the cloud with Move and Rotate, or align it with the Revit API (`ElementTransformUtils`).
5. Save the model only if the user wants that.
## Examples
pyRevit (no transaction open):
```python
import clr
clr.AddReference("OpenPointCloud")
from OpenPointCloud import Api
print(Api.Link(__revit__.ActiveUIDocument.Document, r"C:\scans\house.ply").ToJson())
```
C# in a Revit MCP server or another add-in (reflection, so no build reference is necessary):
```csharp
var api = Type.GetType("OpenPointCloud.Api, OpenPointCloud");
var result = api.GetMethod("Link").Invoke(null, new object[] { doc, @"C:\scans\house.ply" });
return result.GetType().GetMethod("ToJson").Invoke(result, null);
```
## Facts and traps
- The first link of a file makes a cache next to it: `<name>.ply.opc` or `<name>.e57.opc`. Do not delete it. The next link uses it and takes less than a second.
- The add-in keeps large coordinates (for example national grid coordinates) exact. It puts a 100 m origin in the instance transform.
- Revit tests the view range of a plan against the cloud. If a plan shows no points, compare the Z values of the cloud (`min`, `max`) with the level height.
- An optional sidecar `<name>.ply.align` (or `<name>.e57.align`) with `dx dy dz` in meters moves all points. A change to it makes a new cache.
- Without colour, the add-in uses the E57 intensity as grey. Without colour and intensity, Revit shows the points grey.
Wersje
W bazie nie ma innych skilli o nazwie open-point-cloud.
Migawka bazy z 13.11.2026 · wersja paczki 5106633fcff3 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90revit-ai-test-automation
Prowadzi asystenta AI przez tworzenie i uruchamianie testów wtyczek Revit na Windows, od scenariuszy po regresję w kopii modelu. - 98revit-api-references
Dodaje do projektu referencje do zestawów Revit API przez pakiety NuGet Nice3point. - 100matlab-read-write-point-cloud-file
Odczytuje i zapisuje chmury punktów 3D przez Lidar Toolbox w formatach PLY, PCD, LAS i LAZ, PCAP, E57 oraz IDC, z zachowaniem atrybutów punktów i konwersją między formatami. - 100revit-sdk-project-configuration
Konfiguruje plik csproj projektu Revit przez MSBuild Nice3point.Revit.Sdk, w tym wersję frameworka i domyślne ustawienia dodatku. - 82p6-revit-4d
Łączy harmonogram Primavera P6 (XER) z elementami modelu Revit i zapisuje go jako wymiar 4D, z widokami budowy. - 100open3d
Przetwarza chmury punktów i siatki 3D w Pythonie z Open3D: odczyt i zapis PLY i PCD, downsampling, normalne, usuwanie odstających, rejestracja RANSAC i ICP oraz rekonstrukcja Poissona.