Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Plotting polyhedra

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62207] Plotting polyhedra
  • From: "King, Peter R" <peter.king at imperial.ac.uk>
  • Date: Tue, 15 Nov 2005 04:16:06 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I wish to be able to plot polyhedra given a table of (xyz) coordinates
for vertices. I'd be happy if I was restricted to tetrahedra, but would
prefer to be able to deal with general polyhedra. I can always plot the
polygons that make up the faces of the polyhedron but this seems a bit
tedious, is there a more efficient way than (for example)

Show[Graphics3D[{Polygon[{{0,0,0},{1,0,0},{0,1,0}}],Polygon[{{0,0,0},{1,
0,0},{0,0,1}}],Polygon[{{0,0,0},{0,0,1},{0,1,0}}],Polygon[{{0,0,1},{1,0,
0},{0,1,0}}]}]]

Which involves putting in the coordinates of each vertex 3 times.

Thanks.



  • Prev by Date: Re: FullSimplify Hang?
  • Next by Date: Re: How long does technical support take?
  • Previous by thread: Re: Magnetic Pendulum
  • Next by thread: Re: Plotting polyhedra