Blog


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

CAD

Modeling Practice Drawings 101

// Main polygon devDept.Eyeshot.Entities.Region reg1 = devDept.Eyeshot.Entities.Region.CreatePolygon(Plane.XZ, new Point2D[]{ new Point2D(0, 0), new Point2D(92, 0), new Point2D(92, 13), new Point2D(19,13), new Point2D(19, 129), new Point2D(6, 129), new Point2D(6, 113.5), new Point2D(10, 113.5), new Point2D(10, 100.5), new Point2D(6, 100.5), new Point2D(6, 13), new Point2D(0, 13) }); Brep ext1 = reg1.ExtrudeAsBrep(new…

by Paolo Bencivenni | July 11, 2023 | Share

CAD

CAD Practice Drawings 63

const string Dim = "Dimension", DashDotLarge = "DashDotLarge", DashDotSmall = "DashDotSmall", ThinLayer = "ThinLayer", CenterLinesL = "CenterLinesLarge", CenterLinesS = "CenterLinesSmall"; // Add new layers design1.Layers.Add(new Layer(Dim, Color.CornflowerBlue)); design1.Layers[0].LineWeight = 2; design1.LineTypes.Add(DashDotLarge, new float[] { 9, -2, 2, -2 }); design1.LineTypes.Add(DashDotSm…

by Paolo Bencivenni | July 11, 2023 | Share

3D Graphics

EDM Simulation using MultiFastMesh

  In this article, we explore a practical application of the new MultiFastMesh entity in a real-world scenario, specifically focusing on creating a fast and efficient 3D visualization for a wire-cut EDM simulation. Before diving into the details, we highly recommend reading our introductory article on MultiFastMesh. MultiFastMesh provides a way to batch all t…

by Leone Ruggiero | July 05, 2023 | Share

3D Graphics

MultiFastMesh

  In certain situations, there is a need to showcase a 3D object that consists of numerous smaller sub-parts, each with its own color and visibility settings. For instance, let's consider a 3D printing simulation where the final piece is built by adding a small amount of material at each step. If you were to recreate a 3D representation of this process, you would typica…

by Leone Ruggiero | July 05, 2023 | Share

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), new Point2D(650, 0), new Point2D(730, 0), new Point2D(730, 625), new Point2D(650, 625), new Point2D(580, 540), new Point2D(150, 540), new…

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) NET6-Windows Toolbox items Planar curve projection on Sketch plane Impro…

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 interface and asking the WinForms application to be added to its mess…

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 article is used to build a sample scene: The assembly tree contains so…

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 controls do not react when the "MENU" button of your 3D mouse is pressed. T…

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 Entity.InitGraphicsData() and use the RenderContextBase.Creat…

by Simone Maccaferri | April 18, 2023 | Share