Yes, from Eyeshot version 2022 a .NET neutral cross-platform core is available for this purpose. This is not true for the User Interface and import/export of DWG/DXF files which relies on ODA libraries, instead.
Can Eyeshot be deployed to Linux or macOS operating systems?

Alberto Bencivenni
This content is available only to customers with an active subscription. Please ensure your subscription is current to access this article.
Please sign in to access this article.
If you believe this is an error, please contact our support team for assistance.
Comments
But ODA (Drawing SDK) supports macOS and other platforms - Drawings SDK | Open Design Alliance
Hello George,
Eyeshot supports macOS. I need help understanding the point of your comment.
Alberto,
In your message you said that "This is not true for the User Interface and import/export of DWG/DXF files which relies on ODA libraries".
I understood this that I cannot use Eyeshot for import/export of DWG/DXF files on macOS, and this is because Eyeshot uses ODA libraries. Is this statement correct?
If this is correct, I have a question about ODA libraries - please see my first question - because ODA supports macOS.
ODA delivers unmanaged libraries. Eyeshot is 100% pure .NET. We will soon include a managed WriteDWG and WriteDXF classes to overcome this limitation.
Hi Alberto,
After including the Eyeshot packages on MAC, I am getting runtime null reference exception to read .DXF file using the code snippet below:
ReadAutodesk ra = new ReadAutodesk( DXF_File_Path );
ra.DoWork();
DesignDocument doc = new DesignDocument();
ra.AddTo( doc );
DrawingDocument drwDoc = new DrawingDocument();
ra.AddTo( drwDoc );
foreach (Entity entity in ra.Entities) // Entities is null and it throws an exception
{
//Do something
}
Below are the steps performed to setup and build my project with eyeshot on Mac :
Please help me resolve this issue. Let me know if I am missing something here.
Hello George,
devDept.Eyeshot.x64 is not cross-platform and is not compatible with MacOS. You can use the managed ReadDXF class instead.
ODA supports MacOS if you use their library directly on MacOS. Our product is built on Windows instead.
Hello Simone,
Unfortunately, we cannot "use managed ReadDXF class instead". It does not support entities like Face, PolyfaceMesh, PolygonMesh, Brep, so we can read with ReadDXF only lines, but not polygons. That makes ReadDXF (and the whole Eyeshot) pretty useless for us.
Hello George,
PolyfaceMesh, PolygonMesh are supported instead.
Hello,
is there an example of how to create a bitmap from a model on linux?
(Up to now we are using DrawToBitmap which depends on control namespace which isn't available on linux...)
Hello Jorg,
No, sorry. It's not possible to create a bitmap in Linux, as Eyeshot.Control is not cross-platform.
Hello Simone,
are there plans to support creating a bitmap from a model without control (so it could work on linux, also)?
I can't see why it should be necessary to have a control to "export" a model as bitmap...
Please sign in to leave a comment.