SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

Basic question on quaternions (by mantielero)
I am not that familiar with quaternions (I understand the basics). I know that they are used typically with rotations.

I have some questions:
1. It is not clear to me how they are used to defined normals. Could you explain a little bit about this topic?
2. If I use `Slvs_MakeQuaternion` with (1,0,0), (0,1,0). I understand that I get a non rotated basis coordinate system. The quaternion will be (1,0,0,0). Is this correct?
3. Secondly, if use `Slvs_QuaternionU`, `Slvs_QuaternionV`, `Slvs_QuaternionN`, I get the new basis coordinate system. The basis for quaternion (1,0,0,0), will be: u=(1,0,0), v=(0,1,0), n=(0,0,1). So the normal will be (0,0,1). Is this correct?

Thanks a lot,
José María
Fri Dec 24 2021, 03:37:51
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2021 SolveSpace contributors. Most recent update Apr 18 2021.