Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: how draw box with open front

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83820] Re: how draw box with open front
  • From: Helen Read <hpr at together.net>
  • Date: Sat, 1 Dec 2007 05:47:39 -0500 (EST)
  • References: <fior1b$d0u$1@smc.vnet.net>
  • Reply-to: HPR <read at math.uvm.edu>

Murray Eisenberg wrote:
> In Mathematica 6, what's the best way to draw a convincing box 
> (rectangular parallelepiped) with an open front?
> 
> Of course I tried Cuboid, but no matter how I try to treat the faces, it 
> still looks like the front is solid, too.

There's an example in the documenation of Cuboid that uses FaceForm to 
specify different properties for the front and back of faces.

Graphics3D[{FaceForm[Yellow, Blue],
   Cuboid[Scaled[{.1, -.5, .1}], Scaled[{.9, .8, .9}]]},
  PlotRange -> {{-1/4, 5/4}, {1/4, 5/4}, {-1/4, 5/4}}]

To me this looks like the front is open, and even more so with something 
like FaceForm[Blue,White] or perhaps FaceForm[Blue, {Opacity[.6], White}


-- 
Helen Read
University of Vermont


  • Prev by Date: Re: how draw box with open front
  • Next by Date: Question about exponent shorthand
  • Previous by thread: Re: how draw box with open front
  • Next by thread: Re: Re: how draw box with open front