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


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 causing the multitouch gestures to no longer work on WPF cont…

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.   Expected image Current image Differences Code snippet: Bitmap…

by Marcello Stagni | January 07, 2020 | Share


How we test Eyeshot using the UI Automation

Starting with Eyeshot 2020, we introduced a series of interactive tests to cover particular scenarios that cannot be tested with the standard unit testing approach. We tried some commercial solutions, but we found out that they were congenial for testing a full application, not a single and complex component like Eyeshot. We need something more flexible and c…

by Marcello Stagni | December 20, 2019 | 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 { public Color MaskColor = System.Drawing.Color.Red; // Enables the halo effect f…

by Antonio Spagnuolo | December 13, 2019 | Share



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 and write the entity XData you need to proceed as follows:  Li…

by Antonio Spagnuolo | December 13, 2019 | Share


Assembly Navigation

This article explains the basic concept of assembly navigation. For a better understanding, it is recommended to read the RootBlock article first. For an advanced implementation of this feature, you can see the code of the AssemblyDemo sample. Take for example a simple scene with two blocks, in addition to the root one. Block red = new Block("Red"); red.Entities.Add(Brep…

by Simone Maccaferri | November 29, 2019 | Share


RootBlock paradigm

Eyeshot 2023 includes a Block, called RootBlock, that represents the scene root. This means that every single piece of geometry is always inside a Block definition. There is no longer a collection of entities associated with the environment, the Workspace.Entities collection is now a shortcut that refers always to a Block.Entities collection, normally of the R…

by Simone Maccaferri | November 18, 2019 | Share


Eyeshot 2020 Beta

devDept Software is proud to announce the Eyeshot 2020 Beta program. New Features Added ReadGCode class and a new entity called Toolpath Added the ability to draw Text entities always front-facing even when defined inside a Block Added the GetLength(), GetPerimeter(), GetArea() and GetMass() methods for Entity/Face/Edge/Curve with proper linear and mass unit suppor…

November 18, 2019 | Share


2D rotation perpendicular to screen

If you want to recreate the features of a 2D viewer (for example, only on the XY plane) you can do it with Eyeshot by means of the tips reported in this article.The following code allows simulating the basic features of a 2D viewer: enables the orthographic projection mode, disables the rotation on the 3D space, leaving only the one on the XY plane enabled. design1.Activ…

by Antonio Spagnuolo | September 06, 2019 | Share


Merchandise Shop

We just launched our new online shop with devDept clothing series and accessories! You can choose from male and female t-shirts in multiple colors, unisex baseball t-shirts, gym bags and caps.    

September 05, 2019 | Share