.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

3D solid point cloud crop

1 REPLY 1
Reply
Message 1 of 2
milenX9343
349 Views, 1 Reply

3D solid point cloud crop

Good afternoon,

I am new to Autocad development. I am trying to follow the tutorial (https://adndevblog.typepad.com/autocad/2017/02/how-to-crop-a-point-cloud-using-api.html), I dont think I fully understand how to setup the Plane for cropping. Given I have created a 3d solid in the point cloud, how can I calculate the plane? Everytime I execute the code, my entire pointcloud gets cropped. I tried using (with loads more variations):
Vector3d norm = new Vector3d(0, 1, 0);
Vector3d norm = new Vector3d(0, 90, 0);
Vector3d norm = new Vector3d(0, 0, -90);
and then using the 1st point of the solid3d, but always get the same result.
Plane cropPlane = new Plane(pt1, norm);

Any help will be appreciated.

Thank you.

Labels (3)
1 REPLY 1
Message 2 of 2
Jkirkla
in reply to: milenX9343

Hi, I also had this problem a while ago. The problem is probably due to your units not matching in autocad and with the point cloud file. Try the "UN" command in autocad and changing your insertion scale to match that of the pointcloud, for me it was meters.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report