Skip to content

Feature/point cloud utils #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: release/2.0.0
Choose a base branch
from

Conversation

DamienGilliard
Copy link
Collaborator

@DamienGilliard DamienGilliard commented Jun 17, 2025

This PR concerns the addition of point cloud utilities to diffCheck: cropping, substraction (one PC - other PC by comparing the distances of their points using KDSearch)

Cropping:

This component crops a point cloud based on a bbox or boundary values (set a minimum value for z coordinate, for example

Capture d'écran 2025-06-17 152404
Using bbox:
ViewCapture20250617_152500
Using boundary to coordinates:
ViewCapture20250617_152555

Subtracting

This component removes points from a point cloud when they are too close to another point cloud

image In the image hereunder, the blue point cloud is the one we subtract from, in red the one we subtract with, and in green the resulting point cloud: ViewCapture20250722_144116

@DamienGilliard DamienGilliard marked this pull request as draft June 17, 2025 13:30
@DamienGilliard DamienGilliard changed the base branch from main to release/2.0.0 June 17, 2025 13:31
@DamienGilliard
Copy link
Collaborator Author

  • Use 3D domain instead of individual boundaries

@DamienGilliard
Copy link
Collaborator Author

  • Use 3D domain instead of individual boundaries

I did not find 3D domain, but I think that by providing the possibility to give individual boundary coordinates, I am solving a problem that does not exist and no one asked for it, so I have remove it !

@DamienGilliard DamienGilliard self-assigned this Jul 24, 2025
@DamienGilliard
Copy link
Collaborator Author

  • For point clouds, get all 3 boolean operations: intersect, union, difference. But no volume, so how do you define the boolean velues, only by distance ? TBD
  • for cropping, have one case if a box is given and use o3d, or if any brep given, other case with .IsPointInside method of Rhino.Geometry
  • for Cropping, output the points IN and Out separately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant