Is there a way to read .3dm file embedded preview image with Rhino3dmIO


(Expandable) #1

Hello,

I’m writing a simple .NET file browser application and I want to display the embedded preview in .3dm files. Is this possible with Rhino3dmIO?


(Willem Derks) #2

Hi Expandable,

I found this:

http://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_FileIO_File3dm_GetPreviewImage.htm

Does that help

-Willem


(Expandable) #3

Hi Willem,

Thanks for the reply!

Unfortunately this is only available in RhinoCommon.dll

The standalone .NET assembly Rhino3dmIO.dll that allows you to read .3dm files without having Rhino installed does’t have this method.

Most of the classes and methods that are available in RhinoCommon are also available in Rhino3dmIO but not all of them. I searched, but I couldn’t find anything that reads the preview.

Expandable


(Dale Fugier) #4

Hi @expandable, @Willem,

I’ve created an issue for this.

https://mcneel.myjetbrains.com/youtrack/issue/RH-45096

– Dale


(Expandable) #5

Hi Dale,

Thanks a lot!

– Expandable