Certain .stl files couldn't be Imported

I tried to import a 3d object into Masematica.
However, it stopped advancing from the running screen.
Other 3d object files could be imported.
If the file size is too large, can it not be imported?
Attached files that could not be imported.

sample5.stl (118 KB)

What version of Mathematica are you using? Import works for me on “13.3.1 for Mac OS X ARM (64-bit) (July 24, 2023)”

Import["~/Downloads/sample5.stl"]

I have the same $Version. If I do Import with this file it works fine, but if I drag and drop from the finder Mathematica crashes.

Hi Gianluca,

I am able to reproduce the crash when I drag and drop it into a new empty notebook. However, it works fine if I open a new empty notebook, evaluate 1+1, and then drag and drop. I will report this on the Wolfram Redmine bug tracker.

Version is "13.3.1 for Microsoft Windows(64-bit)(July 24,2023)

furnitureBmesh = 
  Import[FileNameJoin[{"C:\\Users\sagalab\Documents\Wolfram \
Mathematica\sample5.stl"}]];
furnitureMesh = ToElementMesh[furnitureBmesh];
RegionPlot3D[furnitureMesh, 
 Sequence[PlotTheme -> "Detailed", PlotLegends -> None, 
  AxesLabel -> {"x", "y", "z"}, PlotStyle -> Directive[LightGray], 
  Mesh -> None, ImageSize -> Medium]]

Hi Megumi,

The Import works fine. It is ToElementMesh that seems to hang. I tried to abort evaluation after about 5 minutes and that did not work. I had to manually kill the kernel process. You should report this problem to Wolfram Support.

Version is "13.3.1 for Microsoft Windows(64-bit)(July 24,2023)

furnitureBmesh = 
  Import[FileNameJoin[{"C:\\Users\sagalab\Documents\Wolfram \
Mathematica\sample5.stl"}]];
furnitureMesh = ToElementMesh[furnitureBmesh];
RegionPlot3D[furnitureMesh, 
 Sequence[PlotTheme -> "Detailed", PlotLegends -> None, 
  AxesLabel -> {"x", "y", "z"}, PlotStyle -> Directive[LightGray], 
  Mesh -> None, ImageSize -> Medium]]