Design SImulation Technologies Homepage
Forum Home Forum Home > DST Products > SimWise > Motion
  New Posts New Posts RSS Feed - distance between coords
  FAQ FAQ  Forum Search   Register Register  Login Login

distance between coords

 Post Reply Post Reply
Author
Message
Healme View Drop Down
Newbie
Newbie
Avatar

Joined: Jul 02 2020
Location: Switzerland
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Healme Quote  Post ReplyReply Direct Link To This Post Topic: distance between coords
    Posted: Jun 13 2025 at 10:09am

How do I define the distance between two coordinate systems relative to each other with one of them as the base? This must also work if the base coordinate system moves and rotates. The coords lie on different bodies.

For example I need the x and y components of coord[1] regarding the base coord[2].

I couldn't figure it out with the express formula.

Back to Top
Healme View Drop Down
Newbie
Newbie
Avatar

Joined: Jul 02 2020
Location: Switzerland
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote Healme Quote  Post ReplyReply Direct Link To This Post Posted: Jun 13 2025 at 10:16am
I found the solution in an earlier post:
express(coord[1].p-coord[2].p,0,2).x
express(coord[1].p-coord[2].p,0,2).y
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.

This page was generated in 0.094 seconds.