Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14057

Re: 3D ViewPoint Selector (V5.2) in higher Mathematica versions ?

From awnl <awnl@gmx-topmail.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: 3D ViewPoint Selector (V5.2) in higher Mathematica versions ?
Date 2013-04-05 02:29 +0000
Message-ID <kjlcue$b5k$1@smc.vnet.net> (permalink)
References <kjgo10$pui$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Hi,

> in Mathematica V 5.2 there was a useful graphics tool being envoked by Menu >
> Input > *3D ViewPoint Selector*. With this interactive palette/notebook one
> could easily determine the Cartesian or Spherical coordinates (i.e. {theta, phi,
> r} resp. {x,y,} ) of a wireframe cube and then paste these values for the
> optimized view of the rotated cube into another Mathematica graphics.
>
> Unfortunately this tool became obsolete from version 6.0. on (which is mainly
> due to the fact that 3D graphics can be manipulated interactively in higher
> Mathematica versions.) Nevertheless, in order to determine the optimum viewpoint
> coordinates I sometimes miss this tool. And I just searched in the installation
> tree structure of Mathematica V5.2 (and higher versions too) for a notebook
> resp. palette with the name 3DViewPointSelector (or similar) but could not find
> this tool even in V5.2. Of course, one could write a litte application with
> Manipulate for rotating a wireframe cube and read out the viewpoint coordinates.
> But if this tool already exists why do additional efforts...
>
> Does anyone know where to look for this nice graphics tool which (if available)
> would certainly be applicable in other Mathematica versions too. Help would be
> appreciated.

There are many different ways how this could be realized with newer 
versions. Here is a palette that copies the ViewPoint of the currently 
selected Graphics3D to the clipboard:

CreatePalette[Button["Copy Viewpoint",
   Replace[
    Cases[NotebookRead[SelectedNotebook[]], _[
      ViewPoint, _], \[Infinity]],
    {v : (ViewPoint -> _)} :> CopyToClipboard[v]
    ]
   ]]

  If nothing is selected or the selection is not a Graphics3D (or 
contains exactly one of those) it won't change the clipboard content...


hth,

albert

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

3D ViewPoint Selector (V5.2) in higher Mathematica versions ? "Dr. Robert Kragler" <kragler@hs-weingarten.de> - 2013-04-03 08:08 +0000
  Re: 3D ViewPoint Selector (V5.2) in higher Mathematica versions ? "Alexander Elkins" <alexander_elkins@hotmail.com> - 2013-04-04 02:50 +0000
  Re: 3D ViewPoint Selector (V5.2) in higher Mathematica versions ? awnl <awnl@gmx-topmail.de> - 2013-04-05 02:29 +0000

csiph-web