MathGroup Archive 2007

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

Search the Archive

Re: Re: how draw box with open front


I should have stated that this box will need to use black/white + 
grayscale only.  (Probably I also need Lighting->"Neutral".)  So using 
White in the second argument of FaceForm makes the bottom and left side 
disappear completely!

Helen Read wrote:
> 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}
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Question about exponent shorthand
  • Next by Date: Re: Can't Save Style Sheet with Notebook
  • Previous by thread: Re: how draw box with open front
  • Next by thread: Re: how draw box with open front