Wolfram Language

Core Geometry

Mesh from Files

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

Click for copyable input

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
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

Related Examples

de es fr ja ko pt-br ru zh