Blog


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

CAD

Basement

In the following code fragment, you'll find a Sketch-based BRep modeling sample. Sketch sk1 = new Sketch(Plane.XZ); SketchPoint origin1 = sk1.AddOrigin(); SketchLine[] poly = sk1.AddPolygon( new Point2D(0, 0), new Point2D(80, 0), new Point2D(170, 100), new Point2D(560, 100), …

by Alberto Bencivenni | June 30, 2023 | Share

Announcement

Eyeshot 2023.2 Released

Bologna, Italy — June 20, 2023. devDept Software S.r.l., leading provider of software development tools to the engineering industry, today announces the release of Eyeshot 2023.2, the native CAD control for .NET New Features NuGet packages, at last! Visual Studio 2022 Extensions menu item (Video) …

June 20, 2023 | Share

Miscellaneous

Add 3D mouse support to an MFC application

A 3D mouse is an input device used by CAD users. If you are hosting one of Eyeshot's WinForms controls within an MFC application, you'll notice that your 3D mouse won't work at all. The problem Eyeshot WinForms controls process 3D-mice-related Windows Messages by implementing the IMessageFilter int…

by Stefano Volpe | June 16, 2023 | Share

Miscellaneous

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 arti…

by Leone Ruggiero | May 03, 2023 | Share

Miscellaneous

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 …

by Stefano Volpe | April 28, 2023 | Share

3D Graphics

Custom Entity with EntityGraphicsData

Starting from Eyeshot 2023 the EntityGraphicsData class is abstract. This article explains the recommended approach for creating an instance of the concrete class in a custom Entity. For a complete sample, you can see the SelectTriangle source code. To create an instance you should override the Ent…

by Simone Maccaferri | April 18, 2023 | Share

3D Graphics

Limitations of AntiAliasing

Eyeshot offers the possibility to enable multisample anti-aliasing (MSAA), a technique that removes the artifacts known as jaggies from the raster image of a 3d scene. It can be activated like this: design1.AskForAntiAliasing = true; // in the Form/Window constructor design1.AntiAlisasing = true; …

by Leone Ruggiero | April 14, 2023 | Share

3D Graphics

Fast and approximate world position under mouse cursor

Sometimes it is convenient to get a rough estimate of the 3d position of whatever is under the mouse cursor. It is possible to get that information by reading the depth value corresponding to the mouse screen location.  The method Workspace.ScreenToWorld() does exactly that. The following code sam…

by Leone Ruggiero | April 06, 2023 | Share

Announcement

Eyeshot 2023 is here! 🚀

Bologna, Italy — April 5, 2023. devDept Software S.r.l., leading provider of software development tools to the engineering industry, today announces the release of Eyeshot 2023, the native CAD control for .NET New Architecture Document classes have been introduced Workspace.Document now contains …

April 05, 2023 | Share

3D Graphics

Screen-Space Ambient Occlusion

  Ambient occlusion is a shading and rendering technique used to calculate how exposed each point in a scene is to ambient lighting (source: Wikipedia). Starting from Eyeshot 2023, it is possible to enable the Screen-Space Ambient Occlusion effect (SSAO): a fast approximation of ambient occlusion …

by Leone Ruggiero | March 14, 2023 | Share