Wolfram Language

Core Geometry

Mesh from Files

Version 11 improves import and export of 3D geometry from all standard formats.

In[1]:=
Click for copyable input
Import["ExampleData/seashell.stl"]
Out[1]=

Compare timings for import STL file format. Experiments were performed on an Intel Core 2 Duo 3.06 GHz Mac OS X Lion system, with a time limit of 1000 seconds. The number at the bottom tells how many times faster Mathematica 11 is compared to Mathematica 10.

show complete Wolfram Language input
In[2]:=
Click for copyable input
names = {"MoebiusStrip", "UtahTeapot", "Seashell", "KleinBottle", "Torus", "VikingLander", "Tree", "Tugboat", "StanfordBunny"}; data = ExampleData[{"Geometry3D", #}, "Region"] & /@ names; getTime[reg_] := Block[{file}, Export[file = FileNameJoin[{$TemporaryDirectory, "test.stl" }], reg]; First[AbsoluteTiming[Import[file];]]]; getTime /@ data
Out[40]=

Related Examples

de es fr ja ko pt-br ru zh