Can Eyeshot be deployed to Linux or macOS operating systems?

Was this article helpful?
0 out of 0 found this helpful

Comments

11 comments
Date Votes
  • But ODA (Drawing SDK) supports macOS and other platforms - Drawings SDK | Open Design Alliance

    0
  • Hello George,

    Eyeshot supports macOS. I need help understanding the point of your comment.

    0
  • 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.

    0
  • ODA delivers unmanaged libraries. Eyeshot is 100% pure .NET. We will soon include a managed WriteDWG and WriteDXF classes to overcome this limitation.

    0
  • 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 :

    1. Installed devDept.Eyeshot and devDept.Eyeshot.x64 2024 packages on MACOS from https://nuget.devdept.com/nuget and included in my project
    2. On compiling the code with the nuget package included I get an XCopy error while copying DLLs from installed package location into the output directory of the project.
    3. To solve this XCopy error, I edited the file devDept.Eyeshot.x64.targets at installed path and replaced XCopy commands with cp command .
    4. I have all .dll and .tx files available in the output directory.

     

    Please help me resolve this issue. Let me know if I am missing something here.

    0
  • 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.

     

    0
  • 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.

    0
  • Hello George,

    PolyfaceMesh, PolygonMesh are supported instead.

     

    0
  • 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...)

    0
  • Hello Jorg,

    No, sorry. It's not possible to create a bitmap in Linux, as Eyeshot.Control is not cross-platform.

    0
  • 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...

    0

Please sign in to leave a comment.

Articles in this section

See more