Blog


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

CAD

Casing

Define layer names and text height. const string Dim = "Dim", DashDot = "DashDot", Frame = "Frame", FrameText = "FrameText";const double textHeight = 2.0; Draw the component and its dimensions. // Setting layers and linetype design1.Layers.Add(new Layer(Dim, Color.CornflowerBlue)); design1.Layers.Add(new Layer(Frame) { LineWeight = 2 }); design1.Layers.Add(new Layer(FrameText) { LineWeight = 3 }); de…

by Adriano Ongaretto | August 30, 2021 | Share

CAD

Modeling Practice Drawings 152

Circle c1 = new Circle(new Point3D(0, 0), 30); Circle c2 = new Circle(new Point3D(105, 0), 21); devDept.Eyeshot.Entities.Region creg1 = new devDept.Eyeshot.Entities.Region(c1, Plane.XY); devDept.Eyeshot.Entities.Region creg2 = new devDept.Eyeshot.Entities.Region(c2, Plane.XY); Arc l1top = (Arc) UtilityEx.GetCirclesTangentToTwoCircles(c1, c2,115,true)[3]; Arc l1bottom = new Arc(l1top.Center…

by Alberto Bencivenni | April 09, 2021 | Share

CAD

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

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

CAD

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

CAD

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

CAD

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

CAD

Sheet Metal (base flange)

This article explains how to model a sheet metal starting from a LinearPath object. int thickness = 2; int length = 120; int heigth = 80; int depth = 60; int baseRadius = 5; int bottomLength = 10; int sideLength = 8; int sideRadius = 3; LinearPath lp = new LinearPath(new Point3D[] { new Point3D(0, 0, 0), new Point3D(0, 0, heigth), new Point3D(length, 0, heigth), new Point3D(length, 0, 0), }); // base flange Brep shee…

by Melissa Angelini | June 26, 2020 | Share

CAD

The Drawing workspace

Drawing is the Eyeshot workspace where you can create and annotate high-quality 2D views of your 3D geometry. Sheet The Drawing can be made up of one or more Sheets and each Sheet can contain a title block and multiple views. The current sheet is the one set in Drawing.ActiveSheet property. Title Block The title block is a block reference containing information ab…

by Antonio Spagnuolo | June 26, 2020 | Share

CAD

Sheet Metal Cover

This article explains how to model a sheet metal. double thickness = 1; double radius = 1; double width = 570 - 2 * radius - 2 * thickness; double depth = 100 - radius - thickness; double height = 90 - radius - thickness; double bend = 25 - radius; const double angleInRad = devDept.Geometry.Utility.PI_2; List<ICurve> curveList = new List<ICurve>(); LinearPath lp = new LinearPath(0, 0, width, heigh…

by Melissa Angelini | May 29, 2020 | Share