Blog
Learn about industry trends, news and how-tos from our product experts.
Swivel Handle
double y1 = 5.62; double y2 = 7.11; Line lineint = new Line(-50, y1, 0, y2); Point3D first = lineint.IntersectWith(new Circle(new Point3D(0, 0), 15))[0]; Arc a1 = new Arc(new Point3D(0, 0), new Point3D(15, 0), first); Point3D second = lineint.IntersectWith(new Circle(new Point3D(-50, 0), 14))[0]; Point3D fourth = new Line(-50, 5, -100, 5).IntersectWith(new Circle(new Point3D(-50, 0), 14))[0]; Arc a2 = new Arc(new Point3D(-50, 0), second, fo…
by
Alberto Bencivenni |
April 07, 2021 | Share
CAD Practice Drawings 124
private const string DimLayer = "Dimension", ThinLayer = "ThinLayer", DashDot = "DashDot"; design1.Layers[0].LineWeight = 2; design1.Layers.Add(new Layer(DimLayer, Color.CornflowerBlue)); design1.Layers.Add(new Layer(ThinLayer)); design1.LineTypes.Add(DashDot, new float[] { 30, -5, 5, -5 }); design1.SetView(viewType.Top); int x = 0; int y = 287 / 6 - 20; DrawFrame(); Circle bco = new Circle(x, y, 0, 65); Circle cit = new…
by
Alberto Bencivenni |
April 07, 2021 | Share
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
//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