To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 7869
7868  |  7870
Subject: 
Re: Rotation of Systems
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 20 Sep 2002 13:27:34 GMT
Viewed: 
457 times
  
In lugnet.cad.dev, Ross Crawford writes:
In lugnet.cad.dev, Orion Pobursky writes:
I've been puzzling with this for days and I give up.

Here's my problem:

I can rotate a single part about it's origin but I'm having trouble figuring
out how to rotate a system of parts about the origin of a given part in the
system.  Can someone point me in the right direction?

Put the system of parts in a sub-model, with the origin at the point of
rotation, then include the sub-model and rotate that.

HTH

ROSCO

Actually, I am wanting to know how to do this programmatically (i.e. with
rotation matricies)

-Orion



Message has 2 Replies:
  Re: Rotation of Systems
 
(...) How about this? s.origin = singlepart.origin For (each part) diff.origin = part.origin - s.origin part.origin += diff.origin rotate part about part.origin part.origin -= diff.origin Scribble the movement on paper and see if it works. I think (...) (22 years ago, 20-Sep-02, to lugnet.cad.dev)
  Re: Rotation of Systems
 
[X-posted to .mlcad] (...) While I can't help because of what Orion revealed here (I'm no programmer!), perhaps Michael Lachmann can help. I have discovered that a simple way to (as a user) rotate around one object's origin is to select the origin (...) (22 years ago, 20-Sep-02, to lugnet.cad.dev, lugnet.cad.mlcad)

Message is in Reply To:
  Re: Rotation of Systems
 
(...) Put the system of parts in a sub-model, with the origin at the point of rotation, then include the sub-model and rotate that. HTH ROSCO (22 years ago, 20-Sep-02, to lugnet.cad.dev)

10 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