Align a 3d point cloud so that it would look like a single line
Align a 3d point cloud so that it would look like a single line
Actually I have https://justpaste.it/4tb1h file it contains 3d points x y z, . Now is there any way to know the angle at which it seems like a line, If given is that we have to rotate this point cloud only in x-z plane. ( I mean any logic , which would work in any case like this.. )
Re: Align a 3d point cloud so that it would look like a single line
Well, you can do it manually (with the 'Edit > Translate/Rotate' tool, and constrain the rotation about 'Y').
And to do this more accurately, you could fit a plane (Tools > Fit > Plane) on the cloud, then select the plane in the DB tree, right-click on it, select 'Edit' (you'll need a recent version of CC), and change the 'dip direction' to something like 90 degrees (or 270 degrees). But the trick is that the 'dip direction' is relative to Z by default, and not Y. So you would first have to rotate your cloud (with 'Edit > Apply transformation') in order to transform 'Y' in 'Z', and at the end of the process, apply the inverse rotation... And eventually retrieving the total transformation is not that easy ;)
And to do this more accurately, you could fit a plane (Tools > Fit > Plane) on the cloud, then select the plane in the DB tree, right-click on it, select 'Edit' (you'll need a recent version of CC), and change the 'dip direction' to something like 90 degrees (or 270 degrees). But the trick is that the 'dip direction' is relative to Z by default, and not Y. So you would first have to rotate your cloud (with 'Edit > Apply transformation') in order to transform 'Y' in 'Z', and at the end of the process, apply the inverse rotation... And eventually retrieving the total transformation is not that easy ;)
Daniel, CloudCompare admin