CC for 3d geometry inspection

Feel free to ask any question here
Post Reply
arjunwarrier2000
Posts: 1
Joined: Thu Jun 29, 2023 2:28 pm

CC for 3d geometry inspection

Post by arjunwarrier2000 »

Hello Cloud Compare team,

First of all...... Wow !! And hats off to you for developing and maintaining such an amazing project.

There are basically two things I'm kind of stuck at this moment.

1. Iam trying to use cc for geometry inspection of some components. I was able to load my ASCII file, crop it, etc. The object is a rectangular solid block with a circular hole in the approx middle. My goal is to grab the data directly from my 2d line scanner by having some buttons on main gui. I prefer doing it in python. Is there a way i can add functionality to existing cloudcompare by only writing the required addons in python. Means by stripping down or modifying the .ui file of cloud compare itself, and open the file, call existing cloudcompare functions like registration, segmentation etc. Get it's results, compare against some tolerances, display it as labels in the app. Is this all possible with python ? Or do I need to modify the original source in CPP ?

2. I need to measure the diameter and the location of the circular hole , evaluate it against my tolerances and give out outputs. I tried segmenting the region around the hole and ransac detection of plane, sphere, cone cylinder etc . I could fit the plane, but not cylinder or sphere. What is a work around for this ? Am I supposed to do it in some other way ??

Any guidance is highly appreciated.

Thanks in advance
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CC for 3d geometry inspection

Post by daniel »

1. Well, that looks challenging, especially since the Python wrappers (CloudCompy or the Python plugin) don't have access to the GUI components.

You'd better create your own C++ plugin indeed (you can add one or several icons in a single plugin, each corresponding to a new action). And you'll have access to the other functions as well.
Daniel, CloudCompare admin
Post Reply