The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 XYZ Coordinate System Rotation

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AKazak Posted - 07/16/2021 : 1:20:13 PM
OriginPro 2021b (64-bit) SR2 9.8.5.212
Windows 10 21H1 x64

Greetings!

Before do coding, I'm curious if Origin has a ready-to-use function of 3D coordinate system rotation for XYZ points using rotation matrix (https://en.wikipedia.org/wiki/Rotation_matrix#In_three_dimensions).

Thank you.

---
Andrey
2   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 07/26/2021 : 11:06:07 AM
It would be easy to write a Python function in such case, the input can be the original X,Y,Z values and the output the rotated X,Y,Z values. Please refer to this page on setting multiple inputs and outputs using Python in Set Column Values dialog:
https://www.originlab.com/doc/python/tools/Set-Column-Values#Example_2

James
AKazak Posted - 07/25/2021 : 11:47:27 PM
It seems that there is no built-in function for this.
Is it worth developing an Origin function or just use the Python function (for example, https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.transform.Rotation.html) in a worksheet?

---
Andrey

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000