MathGroup Archive 1996

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

Search the Archive

Re: (yet another) dxf translation question

  • To: mathgroup at
  • Subject: [mg4935] Re: (yet another) dxf translation question
  • From: Harald Berndt <hberndt9 at>
  • Date: Fri, 4 Oct 1996 00:18:02 -0400
  • Organization: Data Communication and Newtorking Services
  • Sender: owner-wri-mathgroup at

Larry Burks wrote:
> I fave searched through everything I could find about writing dxf files
> from Mathmatica. (I'm running 2.2.4 in Windows 95) The closest I could
> find was the snipet below:
>  Needs["Utilities`DXF`"]
>  shape = Plot3D[Sin[x+Sin[y]], {x,-3,3},{y,-3,3}]
>  WriteDXF["knot.dxf", shape]
> Instead, what I get is this message:
>  WriteDXF[knot.dxf, -SurfaceGraphics-]
> What am I missing? Thanks for your help!

A simple thing that I couldn't find in the documentation either: the 
second argument to WriteDXF must be a Graphics3D[] object!!! (Hmmm...)

So, if you just write

   WriteDXF["knot.dxf", Graphics3D[shape]]

everything goes smoothly.


Harald Berndt, Ph.D.                              Research Specialist,

Phone:	510-652-5974                                FAX:			510-215-4299
"I am what I am"..................................  .Popeye the Sailor

(KRYTEN:.............Are you sure? I always thought it was Descartes!)
(LISTER:.So did I, man! It's so easy to get those two dudes mixed up!)


  • Prev by Date: BOOK ADVERTISEMENT: Experiments in Undergraduate Mathematics
  • Next by Date: Re: Most recent version of mode for interacting with Mathematica?
  • Previous by thread: (yet another) dxf translation question
  • Next by thread: Mathematica Seminars in Switzerland