Re: can't translate 3D model to 0,0,0
- To: mathgroup at smc.vnet.net
- Subject: [mg88444] Re: can't translate 3D model to 0,0,0
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 5 May 2008 06:15:54 -0400 (EDT)
- References: <fvhe4g$3v9$1@smc.vnet.net>
Hi,
what may
Normal[Translate[your3DGraphics,ma]]
do ??
Regards
Jens
will parr wrote:
> Dear Math Forum,
>
> I have a problem with translating some 3D models to 0,0,0. I have been using the following code:
>
> ma = Mean@a; ac = # + ({0, 0, 0} - ma) & /@ a;
>
> where "a" is a 3D model made up of many 3D coordinates. However, this code does not work - in that the new centroid (mean) of the model is not at 0,0,0. can anyone suggest an alternative method?
>
> best wishes,
>
> Will
>