3D spatial systems: does CAD/CAM axis rotation have a zero reference?


Results 1 to 2 of 2

Thread: 3D spatial systems: does CAD/CAM axis rotation have a zero reference?

  1. #1
    Member
    Join Date
    Sep 2009
    Location
    USA
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default 3D spatial systems: does CAD/CAM axis rotation have a zero reference?

    I am attempting to write my own CAD/CAM software as an exercise. I am familiar with computer programming/3d-graphics programming (DirectX) but I'm not sure if the same conventions are used in CAD software. I am not very familiar with g-code, but there's different versions anyway so I'm not sure which version would be definitive or even most-common. I'm not planning on using g-code anyway, so I don't strictly need to hold to any existing conventions of it.

    I understand the difference of right-handed vs left-handed coordinates, and I have found online that the positive rotation around an axis is clockwise, when viewing the axis from the origin point (and so the origin end of any >3rd axis would be the end opposite of the tool, or opposite of the work being held...? I like this explanation as it can be applied to any possible axis). What I am wondering is if the axis rotation has a zero-degrees reference point or not? This doesn't matter much if you are just using the software maybe, but it is a big factor in writing it.

    In particular for greater-than-3-axis setups, it seems like such reference points would be required. The zero point would be the 'home switches' on the 4th and 5th axis in hardware, but how is that defined in the software?

    Like for example: if you set the zero-degrees point of the x-axis rotation and the zero-degrees point of the y axis to each other, then if you rotate any line or plane on either axis to zero degrees, then it would be sitting "flat" with the x-y plane. Which makes a lot of sense IMO.

    For the z-axis you could use either the x or the y axis, and I'm inclined to use the x-axis (so that anything rotated to zero degrees on the z-axis would be "directly facing" the observer) but it would be annoying to start coding on that and find out later it was not the convention.

    Similar Threads:


  2. #2
    Member routalot's Avatar
    Join Date
    Dec 2003
    Posts
    1206
    Downloads
    0
    Uploads
    0

    Default Re: 3D spatial systems: does CAD/CAM axis rotation have a zero reference?



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

3D spatial systems: does CAD/CAM axis rotation have a zero reference?

3D spatial systems: does CAD/CAM axis rotation have a zero reference?