MathGroup Archive 2012

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

Search the Archive

Re: The risks of Sphere export


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 
> 



  • Prev by Date: The risks of Sphere export
  • Next by Date: Re: Relational operators on intervals: bug?
  • Previous by thread: The risks of Sphere export
  • Next by thread: Re: The risks of Sphere export