Blog


Learn about industry trends, news and how-tos from our product experts.

Announcement

Eyeshot 2021 Beta

devDept Software is proud to announce the Eyeshot 2021 Beta program. The list of new features ready to be tested in this build follows. With regard to toolpath generation, we are still focusing on toolpath accuracy and computation speed, we will add proper leads and linkings so…

October 29, 2020 | Share

Miscellaneous

Multi-file and lazy loading

Eyeshot 2021 introduces a new feature that allows you to save the entire scene to multiple files using the Eyeshot proprietary file format. With this feature, you have the flexibility to work on a file representing a single component and observe its changes when loading the entire assembly (video),…

by Marcello Stagni | October 09, 2020 | Share

3D Graphics

Speed up the resizing of the control

Update for version 2022 and newer Starting from Eyeshot 2022, this solution is no longer needed if Minimum Frame Rate is enabled. In order to speed up the resizing of our control, it is possible to activate the culling feature even during its resizing.  Here is the snippet code for both WinForms …

by Antonio Spagnuolo | October 01, 2020 | Share

Miscellaneous

Eyeshot issues with Infragistics controls

Issue 1: Docking control and draw overlay If you need to customize the Eyeshot control by drawing a text in the overlay, you will get an error during docking/undocking operations with Infragistics control. To overcome this, you can use the below trick: using System.Runtime.InteropServices; class My…

by Marcello Stagni | May 26, 2020 | Share

3D Graphics

Draw infinite world axes

With the following class derived from Design you can draw the infinite world axes as shown in the following image:  The axes are drawn in 3 overridden methods: DrawViewportBackground: the part of the axes beyond the far plane DrawViewport: the part between the camera planes DrawOverlay: the part n…

by Antonio Spagnuolo | May 20, 2020 | Share

Miscellaneous

Eyeshot WPF multitouch

Starting from Eyeshot 2020 WPF, the handler for touch gestures is the native one.In this way, we can avoid disabling the RealTimeStylus support from the application Window by default. On the other hand, in order to manage multitouch in an efficient way*, you can still use WM TOUCH events just by se…

by Marcello Stagni | January 08, 2020 | Share

Miscellaneous

WM TOUCH: Enable multitouch on Eyeshot WPF control when added programmatically

For the Eyeshot WPF control,  when the ImmediateMode is not activated but the property model1.MultiTouch.UseWindowsMessages is set to true and you need to add the Eyeshot control programmatically, you need the below code in the main window constructor to make it work. public MainWindow() { Init…

by Marcello Stagni | January 08, 2020 | Share

Miscellaneous

WM TOUCH: Enable multitouch for the other WPF controls

For the Eyeshot 2020 WPF control, in order to manage multitouch in an efficient way when the ImmediateMode is not activated, you can set model1.MultiTouch.UseWindowsMessages = true in the MainWindow constructor.As a side-effect, this disables the RealTimeStylus support from the application Window c…

by Marcello Stagni | January 08, 2020 | Share

3D Graphics

3D scene visual testing

Eyeshot contains a utility to perform an accurate check between images.The general idea is very simple: a pixel-by-pixel comparison. The method devDept.ImageComparison.CompareImages() compares 2 bitmaps and returns an image showing the different pixels and the mismatch percentage between them.   …

by Marcello Stagni | January 07, 2020 | Share

3D Graphics

Text entity with background mask

 Non-maintained solution The proposed solution is not natively supported and may not work in all scenarios and versions. Here's an example on how to derive the Text class in order to draw a colored background mask behind the text.  Here is the code:  class MyText : devDept.Eyeshot.Entities.Text…

by Antonio Spagnuolo | December 13, 2019 | Share