Blog


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

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

Announcement

Eyeshot 2020.1 Build 167

This build includes only last-minute bug fixing. To learn more about this update, please check the Changelog.

February 19, 2020 | Share

Announcement

Eyeshot 2020 Released 🍹

Bologna, Italy — February 3, 2020. devDept Software S.r.l., leading provider of software development tools to the engineering industry, today announces the release of Eyeshot 2020, the native CAD control for .NET Framework. New Features ReadGCode class and a new entity called Toolpath (…

February 03, 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

Miscellaneous

Entity.AutodeskProperties

Starting from Eyeshot 2020, we introduced a new property of type AutodeskMiscProperties of the Entity class called AutdoeskProperties. This class gathers inside it some miscellaneous Autodesk properties such as curve thickness, the thickness extrusion direction, and the entity XData.  Now to read a…

by Antonio Spagnuolo | December 13, 2019 | Share