Blog


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

CAD

Hook

Let us define some useful constants first: private const string dimLayer = "Dimension", thinLayer = "ThinLayer", dashDot = "DashDot"; private const double textHeight = 5; private const float defaultLineWeight = 2; Here is the primary function: void hook() { hookSetup(); hookFrame(); …

by Stefano Volpe | October 25, 2021 | Share

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))…

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) U…

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];…

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,…

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.Cent…

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 = c…

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, …

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 Point3…

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 …

by Antonio Spagnuolo | June 26, 2020 | Share