Re: DXF Filter
- To: mathgroup at christensen.cybernetics.net
- Subject: [mg1803] Re: DXF Filter
- From: John Fultz <jfultz>
- Date: Thu, 17 Aug 1995 00:01:15 -0400
> Actually, if you have Mathematica 2.2, this is part of the standard packages. > The package is Utilities`DXF`. What particular improvements were you > thinking of that you'd like to see? I'm not aware of anything that > transmits any information beyond basic polygon and line information, so > you're probably out of luck there unless you write something yourself. > However, several people have asked if there is a way to convert 2D > graphics to DXF. If this is what you want, than this can be easily > accomplished by converting the 2D graphic to a 3D graphic: > > gr3d = Graphics3D[gr2d[[1]] /. {x_?NumberQ,y_?NumberQ} :> {x,y,0}] > > This should work for most gr2d, where gr2d is a Graphics[] object > (for example, the output of a Plot or ParametricPlot). gr3d can > not be written as a DXF file. > > John Fultz > Wolfram Research, Inc. Er, typo there... > not be written as a DXF file. ~~~ should be: > now be written as a DXF file. Changes the meaning quite a lot. Sorry. John Fultz Wolfram Research, Inc.