Re: The risks of Sphere export
- To: mathgroup at smc.vnet.net
- Subject: [mg128674] Re: The risks of Sphere export
- From: Yves Klett <yves.klett at googlemail.com>
- Date: Fri, 16 Nov 2012 01:50:35 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <k82b8r$7ll$1@smc.vnet.net>
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 >