var file3dm = Rhino.FileIO.File3dm.Read(fileInfo.FullName);
var bmp = file3dm.GetPreviewImage();
if (bmp != null)
bmp.Save(fileInfo.FullName.Replace(".3dm", ".png"), System.Drawing.Imaging.ImageFormat.Png);
It works for Windows. Like Rhino.RhinoDoc.ExtractPreviewImage and File3dm.ReadPreviewImage.
it’s the only thing that works. for macOS. System.Drawing.Bitmap tf = Rhino.FileIO.File3dm.Read(adres).GetPreviewImage();
but this process is too expensive to process if I want to download a lot of files.