Blog


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

Miscellaneous

System.AccessViolationException with Intel integrated graphics card

When setting the ProjectionMode in the OnLoad() override of a WinForms application you may get a System.AccessViolationException if the renderer is OpenGL and WorkSpace.AskForAntiAliasing is true. Unfortunately, this is a bug in the graphics driver, Intel will fix it but only for 11th Gen and onwards Intel Processor Graphics since they discontinued support…

by Simone Maccaferri | September 22, 2022 | Share

Announcement

Eyeshot 2022.3 Released

We are proud to announce the availability of Eyeshot version 2022.3 New Features History-based parametric modeling in SketcherDemo code sample (Video) Interactive sketch trimming (Video) Support for IfcAdvancedBrep entity in ReadIFC class Project3D machining strategy (Image) Projected leads in Contour3D machining strategy AreaAndVolume.GetPrincipal…

September 12, 2022 | Share

Miscellaneous

WinForms vs WPF

After fifteen years in business, we still discuss this topic frequently with our customers. The bottom line is that between these two popular UI platforms there is no clear winner. A list of links we collected during the years, where the WinForms vs WPF topic is discussed, follows. https://www.geeksforgeeks.org/difference-between-wpf-and-winforms/ https://wpf-tutoria…

by Alberto Bencivenni | September 06, 2022 | Share

Announcement

Eyeshot 2022.2 build 484

We are proud to announce the availability of a new Eyeshot 2022 stable build: 2022.2.484 Highlights Fixed a 3D graphics memory leak Fixed web code samples not properly disposing Eyeshot control Fixed broken Workspaces code sample Fixed Parallel3D machining with boundary defined Fixed perspective camera in Drawing workspace views Added spline and ellips…

July 04, 2022 | Share

CAD

Changing hole diameter in a BRep object

In the following code, we first create a BRep object with a hole, then we change the diameter of a hole with world axis-alignment by editing BRep elements: faces/edges/vertices. Note that this code will work only for radius values that do not intersect/touch the contours of the others faces. devDept.Eyeshot.Entities.Region reg = devDept.Eyeshot.Entities.Region.Creat…

by Alberto Bencivenni | June 30, 2022 | Share

Announcement

Eyeshot 2022.2 Released

We are proud to announce the availability of Eyeshot version 2022.2 New Features Brep Fillet and Chamfer (Video, can be tested in SketcherDemo code sample) Mixed selection modes: edge/face vertex/face edge/face (can be tested in Measure code sample) Subitem selection on Sketch, Region, and CompositeCurve entity (can be tested in EyeshotDemo code sample) net472…

June 10, 2022 | Share

Miscellaneous

Eyeshot Visual Studio Debugger Visualizer

  What is it? Since Eyeshot 2022.2 a Debugger Visualizer will be deployed, which is a custom Visual Studio extension providing the ability to inspect Entities and other Eyeshot objects at debug-time. Items are taken by Visual Studio from the code that is being debugged in order to show information about them in a dedicated Windows Form.   Supported items At the momen…

by Federico Fucci | June 09, 2022 | Share

3D Graphics

Semi-transparent Selection with Halo

Starting from Eyeshot 2022.2 it is possible to draw dynamically selected entities with a halo effect. Starting from Eyeshot 2023 it is possible to draw both static and dynamic selection entities with a halo effect. All the relevant settings are grouped under the property Workspace.Selection. The new SelectionSettings class contains all the properties rela…

by Leone Ruggiero | May 30, 2022 | Share

CAD

Modeling Practice Drawings 42

Brep elbow; //creating the first part of the elbow var headRegion = devDept.Eyeshot.Entities.Region.CreateRoundedRectangle(360, 360, 10); for (int i = 0; i < 2; i++) { for (int k = 0; k < 2; k++) { Func<int, int> calcPos = (int pos) => (pos > 0) ? (pos * (360 - 50)) : (pos + 50); var circle = new Circle(calcPos(i), calcPos(k), 0, 15); circle.Reverse(); headRegion.ContourList.Add(circle); } } var headBrep = headRegion.ExtrudeAsBrep(5…

by Gian Maria Gentilini | May 30, 2022 | Share

Miscellaneous

.NET6 Windows Support

The Eyeshot installer includes the official NuGet packages for .NET6-Windows. In order to simplify the package installation, an additional entry under the Visual Studio Extensions menu has been created, from which you can easily add the proper NuGet reference to the selected project; here you can find a demo video showing this feature. Once the package devDept…

by Marcello Stagni | May 26, 2022 | Share