Problems with some Graphics`Polyhedra` functions
- To: mathgroup at smc.vnet.net
- Subject: [mg58311] Problems with some Graphics`Polyhedra` functions
- From: Mark Normand <mnormand at foodsci.umass.edu>
- Date: Mon, 27 Jun 2005 00:30:46 -0400 (EDT)
- Organization: UMass Dept. of Food Science
- Sender: owner-wri-mathgroup at wolfram.com
The attached notebook demonstrates three problems I have encountered using some functions in the Graphics`Polyhedra` Mathematica package. Any suggestions will be appreciated. Thank you. -- Mark Normand UMass. Dept. of Food Science mnormand at foodsci.umass.edu filename="GraphicsPolyhedra problems.nb" (************** Content-type: application/mathematica ************** CreatedBy='Mathematica 5.1' Mathematica-Compatible Notebook This notebook can be used with any Mathematica-compatible application, such as Mathematica, MathReader or Publicon. The data for the notebook starts with the line containing stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info at wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. *******************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 6076, 221]*) (*NotebookOutlinePosition[ 6733, 244]*) (* CellTagsIndexPosition[ 6689, 240]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell["GraphicsPolyhedra problems.nb", "Text", FontSize->18, FontWeight->"Bold"], Cell["\<\ Mark Normand UMass Dept. of Food Science June 26, 2005\ \>", "Text"], Cell[TextData[{ "I'm using ", StyleBox["Mathematica", FontSlant->"Italic"], " 5.1.0 on a 1.6 GHz PowerMac G5 running MacOS 10.3.9 with 1.25 GB RAM and \ over 130 GB of free hard disk space. Problems 1) and 2) also occur in the \ Windows XP versions of ", StyleBox["Mathematica", FontSlant->"Italic"], " 5.1.0 and 5.1.1. Problem 3) does not occur in the Windows XP versions of \ ", StyleBox["Mathematica", FontSlant->"Italic"], " 5.1.0 or 5.1.1." }], "Text"] }, Open ]], Cell[BoxData[ \(<< Graphics`Polyhedra`\)], "Input"], Cell[CellGroupData[{ Cell["\<\ 1) Why do the Vertices and Faces functions return results for \ GreatIcosahedron but not for GreatDodecahedron, SmallStellatedDodecahedron \ and GreatStellatedDodecahedron? Can this be corrected?\ \>", "Text", FontSize->18, FontWeight->"Bold"], Cell[BoxData[ \(Vertices[GreatIcosahedron]\)], "Input"], Cell[BoxData[ \(Faces[GreatIcosahedron]\)], "Input"], Cell[BoxData[ \(Vertices[GreatDodecahedron]\)], "Input"], Cell[BoxData[ \(Faces[GreatDodecahedron]\)], "Input"], Cell[BoxData[ \(Vertices[SmallStellatedDodecahedron]\)], "Input"], Cell[BoxData[ \(Faces[SmallStellatedDodecahedron]\)], "Input"], Cell[BoxData[ \(Vertices[GreatStellatedDodecahedron]\)], "Input"], Cell[BoxData[ \(Faces[GreatStellatedDodecahedron]\)], "Input"] }, Closed]], Cell[CellGroupData[{ Cell["\<\ 2) Why do the Truncate and OpenTruncate functions of \ Polyhedron[GreatIcosahedron] look asymmetric and incomplete as if not all \ polygons have been drawn? Can this be corrected?\ \>", "Text", FontSize->18, FontWeight->"Bold"], Cell[CellGroupData[{ Cell["\<\ Display a truncated GreatIcosahedron at the default truncation \ ratio (0.3).\ \>", "Text"], Cell[BoxData[ \(\(Show[Truncate[Polyhedron[GreatIcosahedron]], Boxed \[Rule] False];\)\)], "Input"] }, Open ]], Cell[CellGroupData[{ Cell["\<\ Display a truncated GreatIcosahedron with the polygon edges \ truncated by a ratio of 0.4.\ \>", "Text"], Cell[BoxData[ \(\(Show[Truncate[Polyhedron[GreatIcosahedron], 0.4], Boxed \[Rule] False];\)\)], "Input"] }, Open ]], Cell[CellGroupData[{ Cell["\<\ Display a truncated GreatIcosahedron at the default truncation \ ratio (0.3) without the polygons that close the truncated vertices.\ \>", \ "Text"], Cell[BoxData[ \(\(Show[OpenTruncate[Polyhedron[GreatIcosahedron]], Boxed \[Rule] False];\)\)], "Input"] }, Open ]], Cell[CellGroupData[{ Cell["\<\ Display a truncated GreatIcosahedron with edges truncated by a \ ratio of 0.4 without the polygons that close the truncated vertices.\ \>", \ "Text"], Cell[BoxData[ \(\(Show[OpenTruncate[Polyhedron[GreatIcosahedron], 0.4], Boxed \[Rule] False];\)\)], "Input"] }, Open ]] }, Closed]], Cell[CellGroupData[{ Cell[TextData[{ "3) Why does execution of the Geodesate function of \ Polyhedron[GreatIcosahedron] appear to never terminate? Can this be \ corrected? After force quitting ", StyleBox["Mathematica", FontSlant->"Italic"], " with Command-Option-Escape, restarting ", StyleBox["Mathematica", FontSlant->"Italic"], " sometimes (This seems to depend on how long the spinning colorwheel has \ been visible: A few seconds and there is no trouble restarting ", StyleBox["Mathematica", FontSlant->"Italic"], "; A few minutes and the computer must be restarted before ", StyleBox["Mathematica", FontSlant->"Italic"], " will start normally.) causes display of a dialog box that says my ", StyleBox["Mathematica", FontSlant->"Italic"], " license has expired, which is not true. Rebooting the Mac then allows ", StyleBox["Mathematica", FontSlant->"Italic"], " to start normally." }], "Text", FontSize->18, FontWeight->"Bold"], Cell[CellGroupData[{ Cell["\<\ Display the projection of the order=3 regular tessellation of each \ face of the GreatIcosahedron onto the circumscribed sphere.\ \>", "Text"], Cell[BoxData[ \(\(Show[Geodesate[Polyhedron[GreatIcosahedron], 3], Boxed \[Rule] False];\)\)], "Input"] }, Open ]] }, Closed]] }, FrontEndVersion->"5.1 for Macintosh", ScreenRectangle->{{0, 1152}, {0, 820}}, CellGrouping->Manual, WindowSize->{528, 797}, WindowMargins->{{1, Automatic}, {Automatic, 0}} ] (******************************************************************* Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. *******************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1776, 53, 83, 2, 39, "Text"], Cell[1862, 57, 78, 4, 68, "Text"], Cell[1943, 63, 485, 14, 86, "Text"] }, Open ]], Cell[2443, 80, 55, 1, 27, "Input"], Cell[CellGroupData[{ Cell[2523, 85, 258, 6, 114, "Text"], Cell[2784, 93, 59, 1, 27, "Input"], Cell[2846, 96, 56, 1, 27, "Input"], Cell[2905, 99, 60, 1, 27, "Input"], Cell[2968, 102, 57, 1, 27, "Input"], Cell[3028, 105, 69, 1, 27, "Input"], Cell[3100, 108, 66, 1, 27, "Input"], Cell[3169, 111, 69, 1, 27, "Input"], Cell[3241, 114, 66, 1, 27, "Input"] }, Closed]], Cell[CellGroupData[{ Cell[3344, 120, 242, 6, 111, "Text"], Cell[CellGroupData[{ Cell[3611, 130, 101, 3, 32, "Text"], Cell[3715, 135, 112, 2, 43, "Input"] }, Open ]], Cell[CellGroupData[{ Cell[3864, 142, 114, 3, 32, "Text"], Cell[3981, 147, 117, 2, 43, "Input"] }, Open ]], Cell[CellGroupData[{ Cell[4135, 154, 158, 4, 50, "Text"], Cell[4296, 160, 116, 2, 43, "Input"] }, Open ]], Cell[CellGroupData[{ Cell[4449, 167, 159, 4, 50, "Text"], Cell[4611, 173, 121, 2, 43, "Input"] }, Open ]] }, Closed]], Cell[CellGroupData[{ Cell[4781, 181, 971, 25, 336, "Text"], Cell[CellGroupData[{ Cell[5777, 210, 152, 3, 50, "Text"], Cell[5932, 215, 116, 2, 43, "Input"] }, Open ]] }, Closed]] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)