Blog
Learn about industry trends, news and how-tos from our product experts.
Swing Arm
Circle c1 = new Circle(Plane.XY, new Point3D(0, 0, 0), 25.0); Circle c2 = new Circle(Plane.XY, new Point3D(100, 0, 0), 12.0); Circle c1_inner = new Circle(Plane.XY, c1.Center, 18.0); Circle c2_inner = new Circle(Plane.XY, c2.Center, 6.0); Circle c3_inner = new Circle(Plane.XY, new Point3D(c2.Center.X - c2.Radius - 8.0, c2.Center.Y, c2.Center.Z), 6.0); Line[] tangents = UtilityEx.GetLinesTangentToTwoCircles(c1, c2); Arc a1 = new…
by Federico Fucci | March 03, 2021 | Share
2D CAD Exercises 57
const string Dim = "Dimension"; const string DashDot = "DashDot"; design1.LineTypes.Add(DashDot, new float[] { 20, -2, 2, -2 }); design1.Layers.Add(new Layer(Dim, Color.CornflowerBlue)); design1.Layers[0].LineWeight = 2.5f; // Y axis Line axisY = new Line(0, -45, 0, 45) { LineTypeMethod = colorMethodType.byEntity, LineTypeName = DashDot }; design1.Entities.Add(axisY, Dim); Mirror m = new Mirror(Plane.ZY); // Buildin…
by Federico Fucci | March 03, 2021 | Share
Eyeshot 2021 Released 🍾
Bologna, Italy — February 5, 2021. devDept Software S.r.l., leading provider of software development tools to the engineering industry, today announces the release of Eyeshot 2021, the native CAD control for .NET Framework. What's new in Eyeshot 2021 Drafting Hatch entity (Video, can be tested in DraftingDemo code sample) BOM and Balloons (Video, can be tested in…
February 05, 2021 | Share
How Collision Detection works
Eyeshot provides two different collision detection classes: CollisionDetection2D for the 2D version in which all the input entities have to lay on Plane.XY (it supports BlockReference, Region, and ICurve); CollisionDetection for the 3D version with input entities in any position and orientation of the 3D space (it supports BlockReference and all entities im…
by Melissa Angelini | January 25, 2021 | Share
Modeling Practice Drawings 142 + Drawing
//HorizonatalBox Dimensions double hBoxWidth = 50, hBoxHeight = 140, hBoxExtr = 10; //VerticalBox Dimensions double vBoxSideBig = 55.5, vBoxTop = 50, vBoxSideSmall = 8, vBoxRadius = 18; //Slot Dimensions double slotOuterHeight = 25, slotOuterExtrNeg = 12.5, slotOuterExtrPos = 22.5, slotOuterRadius = 25, slotInnerRadius = 10; //Circle Dimensions double circleOuterRadius = 25, circleInn…
by Leone Ruggiero | January 14, 2021 | Share
WorkManager (How to handle multiple WorkUnits)
Eyeshot 2021 introduces a new helper class designed to handle a queue of WorkUnit objects more efficiently.To facilitate understanding, we use the term Operation to refer to the work carried out by each individual WorkUnit.The WorkManager class enables the execution of either a single operation or all operations in the queue, either synchronously or async…
by Marcello Stagni | December 22, 2020 | Share
Add to scene as single object
The following code is a sample of the main steps to insert the contents of a file inside a Block and create a BlockReference that refers to it. ReadSTEP readFile = new ReadSTEP(fileName); readFile.DoWork(); // Merge the master collections loaded from the file with the Environment ones // In case of name conflict, these utility methods preserve the existing items readFile…
by Simone Maccaferri | November 04, 2020 | Share
Eyeshot 2021 Beta
devDept Software is proud to announce the Eyeshot 2021 Beta program. The list of new features ready to be tested in this build follows. With regard to toolpath generation, we are still focusing on toolpath accuracy and computation speed, we will add proper leads and linkings soon. Volume meshing, although completed, is still under revision for…
October 29, 2020 | Share
Multi-file and lazy loading
Eyeshot 2021 introduces a new feature that allows you to save the entire scene to multiple files using the Eyeshot proprietary file format. With this feature, you have the flexibility to work on a file representing a single component and observe its changes when loading the entire assembly (video), or you can choose to load only a partial assembly, loading specif…
by Marcello Stagni | October 09, 2020 | Share
Speed up the resizing of the control
Update for version 2022 and newer Starting from Eyeshot 2022, this solution is no longer needed if Minimum Frame Rate is enabled. In order to speed up the resizing of our control, it is possible to activate the culling feature even during its resizing. Here is the snippet code for both WinForms and WPF. For WinForms: protected override void OnResizeBegin(EventArg…
by Antonio Spagnuolo | October 01, 2020 | Share