Function Entry: VLE-VECTOR-GETUCS
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VLE-VECTOR-GETUCS
Name
vle-vector-getucs
Class
BricsCAD VLE Library Function
Syntax
(vle-vector-getucs normal)
Arguments and Values
- normal a 2d or 3d vector list
Description
This function returns the list of u-axis and v-axis for the given normal vector.
Return Values
'((uX uY uZ) (vX vY vZ)) always a list of 2 3d vectors, representing the x-axis and y-axis
Examples
(setq vec '(2 0 0)) (vle-vector-getucs vec) ((0.0 1.0 0.0) (0.0 0.0 1.0) (setq vec '(2 2 1)) (vle-vector-getucs vec) ((-0.707106781186547 0.707106781186547 0.0) (-0.235702260395516 -0.235702260395516 0.942809041582063))
Notes
input vector must not be unit-length (non-normalised vectors are allowed);
returned X and Y axis vectors are always normalised (1-unit length)
Availability
- AutoCAD 2026: not documented.
- BricsCAD V26: documented.
- Status: BricsCAD-only.
Source Notes
- [vle-vector-getucs (BricsCAD V26 DevRef)](https://developer.bricsys.com/bricscad/help/en_US/V26/DevRef/source/vle-vector-getucs.htm)
- Status: documented (Phase 3 follow-up: body filled from the BricsCAD V26 per-symbol page on 2026-04-26).