Subject:
|
Re: Rotation of Systems
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 20 Sep 2002 13:44:35 GMT
|
Viewed:
|
620 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.cad.dev, Orion Pobursky writes:
> 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.
>
> Actually, I am wanting to know how to do this programmatically (i.e. with
> rotation matricies)
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 it's
right, but I'm not positive.
Don
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: Rotation of Systems
|
| To make rotation work like you want, you have to move the group to the origin of the MLCAD space, rotate the group, then relocate the group to where it started. Kevin (...) figuring (...) (22 years ago, 20-Sep-02, to lugnet.cad.dev)
|
Message is in Reply To:
10 Messages in This Thread: ![Rotation of Systems -Orion Pobursky (20-Sep-02 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Rotation of Systems -Ross Crawford (20-Sep-02 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Rotation of Systems -Orion Pobursky (20-Sep-02 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Rotation of Systems -Kevin Clague (20-Sep-02 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Rotation of Systems -Orion Pobursky (20-Sep-02 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Rotation of Systems -Don Heyse (20-Sep-02 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Rotation of Systems -Steve Bliss (26-Sep-02 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: Rotation of Systems -Orion Pobursky (26-Sep-02 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Rotation of Systems -Ryan Farrington (20-Sep-02 to lugnet.cad.dev, lugnet.cad.mlcad)](/news/x.gif)
- 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
|
|
|
|