Line l1 = new Line(40, 6, 40, 20);
Arc a1 = new Arc(0, -56, 0, 80, Utility.DegToRad(50), Utility.DegToRad(130));
Curve.Trim(l1, a1, false, true);
Line l2 = new Line(-40, 20, -40, 6);
Curve.Trim(a1, l2, false, true);
CompositeCurve cc1 = new CompositeCurve(
new Line(-35, 0, -35, 6),
new Line(-35, 6, -40, 6),
l1, a1, l2,
new Line(40, 6, 35, 6),
new Line(35, 6, 35, 0),
new Line(35, 0, -35, 0));
devDept.Eyeshot.Entities.Region reg1 = new devDept.Eyeshot.Entities.Region(cc1, Plane.XY);
Brep ext1 = reg1.ExtrudeAsBrep(38);
devDept.Eyeshot.Entities.Region ssr1 = devDept.Eyeshot.Entities.Region.CreateSlot(Plane.XZ, 0, 19, 24, 5, 0, true);
ext1.ExtrudeRemove(ssr1, -30);
devDept.Eyeshot.Entities.Region rr1 = devDept.Eyeshot.Entities.Region.CreateRectangle(Plane.YZ, 17, 9, 10, 20);
ext1.ExtrudeRemove(rr1, new Interval(-40, 40));
design1.Entities.Add(ext1, Color.Coral);
Part 5
Giulia Martini
This content is available only to customers with an active subscription. Please ensure your subscription is current to access this article.
Please sign in to access this article.
If you believe this is an error, please contact our support team for assistance.
Comments
Please sign in to leave a comment.