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


Groups > comp.soft-sys.math.mathematica > #12350 > unrolled thread

The risks of Sphere export

Started byAndrzej Kozlowski <akozlowski@gmail.com>
First post2012-11-15 09:05 +0000
Last post2012-11-16 08:05 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  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

#12350 — The risks of Sphere export

FromAndrzej Kozlowski <akozlowski@gmail.com>
Date2012-11-15 09:05 +0000
SubjectThe risks of Sphere export
Message-ID<k82b8r$7ll$1@smc.vnet.net>
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 

[toc] | [next] | [standalone]


#12361

FromYves Klett <yves.klett@googlemail.com>
Date2012-11-16 08:03 +0000
Message-ID<k84s0i$gl8$1@smc.vnet.net>
In reply to#12350
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 
> 

[toc] | [prev] | [next] | [standalone]


#12362

FromVince Virgilio <blueschi@gmail.com>
Date2012-11-16 08:05 +0000
Message-ID<k84s51$gmb$1@smc.vnet.net>
In reply to#12350
Confirmed on Win 7 x64. Though, my Mathematica doesn't crash but hangs.

In[2]:= $Version
Out[2]= 8.0 for Microsoft Windows (64-bit) (October 7, 2011)

On Thursday, November 15, 2012 4:07:44 AM UTC-5, Andrzej Kozlowski wrote:
> 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web