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

[.NET] Align Object with Plane

2 REPLIES 2
Reply
Message 1 of 3
AdriDicri
432 Views, 2 Replies

[.NET] Align Object with Plane

Hello !

 

For one of our project, we have a very precise scanner that picks 3 points on a material to generate a plane.

(First point is always (0,0,0))

 

On autocad, I have to align different object with this plane.

 

I'd like to know if there is a method to directly align object with this plane?

(I can easily have the normal to this plane, and other informations, if needed)

 

We already try to calculate angles and make a rotation, but it's not very accurate.

 

Thanks for help !

 

Best regards,

 

Adri DiCri

2 REPLIES 2
Message 2 of 3

Hi,

 

Not sure if a direct method exists, this is really specific. Anyway, the Matrix3d struct is the base for all those changes, have you looked at Matrix3d.WorldToPlane method? It can be a start point.

 

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
Message 3 of 3

Hello. Thanks for your answer !

 

Finally, i've found the command "3DALIGN" that do exactly what I want. It's not "automatic", but our custommer is happy with that.

 

Thanks again.

 

Adri Dicri

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost