Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12361

Re: The risks of Sphere export

From Yves Klett <yves.klett@googlemail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: The risks of Sphere export
Date 2012-11-16 08:03 +0000
Message-ID <k84s0i$gl8$1@smc.vnet.net> (permalink)
References <k82b8r$7ll$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Confirmed on Windows 7, Mathematica 8.04 with 16GB.

Even just evaluating:

Export["cellular.pdf",
 Graphics3D[
  Sphere /@
   Position[CellularAutomaton[{10, {2, 1}, {1, 1}}, {{{1}}, 0}, 1],
    1], ViewVertical -> {-1, 0, 0}]]

results in a horrible 21MB PDF with a gazillion polygons. Spheres and
Tubes do not work well together with PDF in my experience.

I would go for rasterizing at a suitable resolution.

Regards,
Yves

Am 15.11.2012 10:05, schrieb Andrzej Kozlowski:
> The following will crash my Mathematica every time:
> 
> Export["cellular.pdf", 
>  Graphics3D[
>   Sphere /@ 
>    Position[CellularAutomaton[{10, {2, 1}, {1, 1}}, {{{1}}, 0}, 20], 
>     1], ViewVertical -> {-1, 0, 0}], "PDF"]
> 
> However, if I  replace Sphere by Cuboid,i.e. 
> 
> Export["cellular.pdf", 
>  Graphics3D[
>   Cuboid /@ 
>    Position[CellularAutomaton[{10, {2, 1}, {1, 1}}, {{{1}}, 0}, 20], 
>     1], ViewVertical -> {-1, 0, 0}], "PDF"]
> 
> I get no crash. 
> 
> $Version
> 
> 8.0 for Mac OS X x86 (64-bit) (October 5, 2011)
> 
> ?
> 
> Andrzej Kozlowski 
> 

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

The risks of Sphere export Andrzej Kozlowski <akozlowski@gmail.com> - 2012-11-15 09:05 +0000
  Re: The risks of Sphere export Yves Klett <yves.klett@googlemail.com> - 2012-11-16 08:03 +0000
  Re: The risks of Sphere export Vince Virgilio <blueschi@gmail.com> - 2012-11-16 08:05 +0000

csiph-web