Hello,
what is the best way to draw one solid in 3d space?
I need draw 3D object in different position, different coordinate and different inclinations.
Regard
Gianpaolo
Hi,
create the solid in WCS. Next create a matrix that defines the position/rotation/scaling and use ,TransformBy to get the solid to where you want to have it.
Good luck, - alfred -
Thank you to your reply,
please give me more information to create the trasformation matrix...
Regards
Gianpaolo
Check out the "Create 3D Objects" section in the .NET development guide.
http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html
-Mark
Hi,
>> please give me more information to create the trasformation matrix...
Look at >>>this blog<<< about understanding AutoCAD Matrix3D.
- alfred -
hello,
the translation matrix is very powerful we can modify (rotate, traslate,scale, etc) but is very hard to use...
we can use other Matrix3D funcion:
Matrix3d.Rotation
Matrix3d.Scaling
Matrix3d.Displacement
remenber that we work in 3D space and we need rotate the objetc in 3 axix...
Regards
Gianpaolo