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 = Curve.Intersection(new Circle(new Point3D(0, 0), 15), lineint)[0];Arc a1 = new Arc(new Point3D(0, 0), new Point3D(15, 0), first);Point3D second = Curve.Intersection(new Circle(new Point3D(-50, 0), 14), lineint)[0];Point3D fourth = Curve.Intersection(new Circle(new Point3D(-50, 0), 14), new Line(-50, 5, -100, 5))[0];Arc a2 = new Arc(new Point3…
by
Alberto Bencivenni |
April 07, 2021 | Share
CAD Practice Drawings 124
const string Dim = "Dimension", DashDot = "DashDot"; model1.Layers[0].LineWeight = 2; model1.Layers.Add(new Layer(DimLayer, Color.CornflowerBlue)); model1.Layers.Add(new Layer(ThinLayer)); model1.LineTypes.Add(DashDot, new float[] { 30, -5, 5, -5 }); model1.SetView(viewType.Top); int x = 0; int y = 287 / 6 - 20; DrawFrame(); Circle bco = new Circle(x, y, 0, 65); Circle cit = new Circle(x, y + 100, 0, 17); Circle cot = new Circle(x, y + 1…
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"; model1.LineTypes.Add(DashDot, new float[] { 20, -2, 2, -2 }); model1.Layers.Add(new Layer(Dim, Color.CornflowerBlue)); model1.Layers[0].LineWeight = 2.5f; // Y axis Line axisY = new Line(0, -45, 0, 45) { LineTypeMethod = colorMethodType.byEntity, LineTypeName = DashDot }; model1.Entities.Add(axisY, Dim); Mirror m = new Mirror(Plane.ZY); // Building geo…
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 CollisionDetection Works
We provide two different CollisionDetection classes: CollisionDetection2D for the 2D version in which all the input entities have to lie 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 implemen…
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 for handling a queue of WorkUnit objects.For better understanding, we can use the term Operation to indicate the work of every single WorkUnit.The WorkManager allows performing a single operation or all the operations one after the other synchronously or asynchronously (when an object implementing the ISupportW…
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