Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

nathan_torggler
202 Vistas, 2 Respuestas

Align UCS to Spline

Hi.

Is there a option to align the UCS to a three-dimensional SPLINE?

This is my spline

nathan_torggler_0-1700131503712.png

nathan_torggler_1-1700131519026.png

What I did is using UCS and three-points methods to define the origin. First selected the first point, then the second point. 

nathan_torggler_2-1700131617468.png

 

Then I draw my profile and extruded it along the path. Obviously there is a small mistake in the ucs, since the profile is not fully aligned with the spline. Fortunately in this case the mistake is quite small, since the first two points are close to each other and don't generate a huge error, but basically my profile is not fully perpendicular to the spline.

Do you know by chance a way to align the UCS perpendicular to the threedimensional spline?

nathan_torggler_3-1700131738628.png

 

 

 

leeminardi
en respuesta a: nathan_torggler

If by " align the UCS to a three-dimensional SPLINE" you mean define a UCS that has it origin at the start of the spline and it z axis tangent to the spline at its beginning then (without the use of LISP) you can use the ZA option of the UCS command.  Input the first Control Vertex for the origin and the second CV for the second point.  You can use LIST to get the locations of the CVs.

lee.minardi
nathan_torggler
en respuesta a: leeminardi

Great. First UCS and then ZA. Works best when selecting Object: you can either choose start or end of spline. Aligns the UCS automatically to Spline! :símbolo_del_pulgar_hacia_arriba: