To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 4562
4561  |  4563
Subject: 
Re: HELP !!! Rotating a cylinder
Newsgroups: 
lugnet.cad
Date: 
Thu, 7 Sep 2000 18:45:33 GMT
Viewed: 
502 times
  
A few things.  First, I thought I'd point out that the code actually has two
spheres, SLIGHTLY offset from each other (If you zoom in far enough, you can
see the a slight crease).  You'll have to remove one of them in order in
order to truly line up the cylinder.

As for lining the two up, I would suggest to first line them up
axis-aligned, and then multiply both matrices by a rotation matrix that
rotates about the shoulder.  Or, if the sphere is positioned just the way
you want it, then rotate about the center of the sphere.  Do you know how to
do this?  If not, get it lined up along some axis, and then post what you
have, along with how exactly you want it rotated, and I'll post the rotated
version, along with notes on how I produced it.

--Travis Cobbs (tcobbs@san.REMOVE.rr.com)

"Dennis Osborn" <osbodr01@holmes.ipfw.edu> wrote in message
news:G0J0z2.Jo8@lugnet.com...
Hi all.  I am modeling the torso of the skeleton and I need help in • rotating a
cylinder to an exact position. The cylinder is part of the ball-joint. • See
photo at http://www.student.ipfw.edu/~osbodr01/torso.jpg

I use MLCad for view the file I write in notepad.  But I can not position • the
cylinder exactly flush to the plane to the sphere.  Can anyone help me?

Here is the code that show what I am attempting.  It shows the sphere,
cylinder, and the plane that is the shoulder.


2 24 14.8 -16.4 6.1 16.8 -5 6.1
4 16 14.8 -16.4 6.1 16.8 -5 6.1 16.8 -5 -6.1 14.8 -16.4 -6.1
1 15 19 -11 0 0.621166 -3.8637 0 2.31822 1.03528 0 0 0 2.4 4-4CYLI.DAT
1 14 21 -11.2 0 3.15 0 0 0 3.15 0 0 0 3.15 4-8SPHE.DAT
1 14 21 -11 0 3.15 0 0 0 -3.15 0 0 0 -3.15 4-8SPHE.DAT
0



Message has 1 Reply:
  Re: HELP !!! Rotating a cylinder  [DAT]
 
(...) no (...) 2 24 14.8 -16.4 6.1 16.8 -5 6.1 4 16 14.8 -16.4 6.1 16.8 -5 6.1 16.8 -5 -6.1 14.8 -16.4 -6.1 1 14 21.2 -11.2 0 3.15 0 0 0 3.15 0 0 0 3.15 4-8SPHE.DAT 1 14 21.2 -11.2 0 3.15 0 0 0 -3.15 0 0 0 -3.15 4-8SPHE.DAT 0 Travis, I need a (...) (24 years ago, 8-Sep-00, to lugnet.cad)

Message is in Reply To:
  HELP !!! Rotating a cylinder  [DAT]
 
Hi all. I am modeling the torso of the skeleton and I need help in rotating a cylinder to an exact position. The cylinder is part of the ball-joint. See photo at (URL) use MLCad for view the file I write in notepad. But I can not position the (...) (24 years ago, 7-Sep-00, to lugnet.cad)

9 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR