Blog
Learn about industry trends, news and how-tos from our product experts.
How to generate a thumbnail for each assembly component
This article proposes a solution to a common problem in CAD applications: saving a bitmap for each leaf node in an assembly. The suggested method is based on Eyeshot's assembly navigation system, so it is recommended that you read the article Assembly Navigation first. Our Pulley Transmission article is used to build a sample scene: The assembly tree contains so…
by
Leone Ruggiero |
May 03, 2023 | Share
Shortcut menus (ContextMenuStrip/ContextMenu) and the 3D Mouse
A 3D mouse is an input device used by some CAD users. After a 3D mouse is detected for the first time, whenever the user right-clicks on an Eyeshot control with their (standard) mouse the normal shortcut menu is repopulated with navigation options specific for 3D mice. Please be aware that Eyeshot controls do not react when the "MENU" button of your 3D mouse is pressed. T…
by
Stefano Volpe |
April 28, 2023 | Share
System.AccessViolationException with Intel integrated graphics card
When setting the ProjectionMode in the OnLoad() override of a WinForms application you may get a System.AccessViolationException if the renderer is OpenGL and WorkSpace.AskForAntiAliasing is true. Unfortunately, this is a bug in the graphics driver, Intel will fix it but only for 11th Gen and onwards Intel Processor Graphics since they discontinued support…
by
Simone Maccaferri |
September 22, 2022 | Share
WinForms vs WPF
After fifteen years in business, we still discuss this topic frequently with our customers. The bottom line is that between these two popular UI platforms there is no clear winner. A list of links we collected during the years, where the WinForms vs WPF topic is discussed, follows. https://www.geeksforgeeks.org/difference-between-wpf-and-winforms/ https://wpf-tutoria…
by
Alberto Bencivenni |
September 06, 2022 | Share
Eyeshot Visual Studio Debugger Visualizer
What is it? Since Eyeshot 2022.2 a Debugger Visualizer will be deployed, which is a custom Visual Studio extension providing the ability to inspect Entities and other Eyeshot objects at debug-time. Items are taken by Visual Studio from the code that is being debugged in order to show information about them in a dedicated Windows Form. Supported items At the momen…
by
Federico Fucci |
June 09, 2022 | Share
.NET6 Windows Support
Starting from version 2022.2 the Eyeshot installer includes .NET6-Windows assemblies for both WinForms and WPF platforms. Prerequisites Prerequisites to build .NET applications: Download .NET Visual Studio 2022 Upgrade .NET Framework Applications To convert a .NET Framework project to .NET, you can use the net-upgrade assistant offered by Microsoft. Open the D…
by
Marcello Stagni |
May 26, 2022 | Share
Silent installation
A new MSI-based installer is used starting from Eyeshot 2022 and you can run a silent installation with the standard commands for MSI packages. Listed below are some command line samples: WinForms with a verbose logEyeshotFem20221271.exe /exenoui /qn /L*V log.txt ADDLOCAL=ALL REMOVE=WPF WPF with a verbose log and a visible progress windowEyeshotFem20221271.exe…
by
Marcello Stagni |
February 11, 2022 | Share
Workspace.IsBestAdapterAvailable property
When using DirectX, Eyeshot tries to get the best adapter for rendering but some laptops with dual graphics cards don't allow to do this throwing an exception during their initialization.That's because, on those machines, the best adapter (NVidia or AMD) is not a true discrete GPU - it is a co-processor for the Intel GPU, and all video data, even if rendered by those adapt…
by
Alberto Bencivenni |
December 13, 2021 | Share
Geometric kernel/UI separation in Eyeshot 2022
From Eyeshot 2023, GEntity class and inherit classes have been abandoned in favor of a new architecture. With Eyeshot 2022 we make a strong separation between geometric algorithms and object rendering. For this reason, we introduced a new hierarchy of objects under the namespace devDept.Geometry.Entities that can be used to perform geometric modeling witho…
by
Simone Maccaferri |
October 25, 2021 | Share
How CollisionDetection Works
We provide two different CollisionDetection classes: CollisionDetection2D for the 2D version in which all the input entities have to lie on Plane.XY (it supports BlockReference, Region and ICurve); CollisionDetection for the 3D version with input entities in any position and orientation of the 3D space (it supports BlockReference and all entities implemen…
by
Melissa Angelini |
January 25, 2021 | Share