CompositeCurve cc1 = new CompositeCurve(
new Line(-6, -13.5, -6, -21),
new Arc(-4.5, -21, 0, 1.5, Utility.DegToRad(180), Utility.DegToRad(270)),
new Line(-4.5, -22.5, -1.5, -22.5),
new Arc(-1.5, -24, 0, 1.5, Utility.DegToRad(90), 0),
new Line(0, -24, 0, -80),
new Line(0, -80, 15, -80),
new Line(15, -80, 15, -24),
new Arc(16.5, -24, 0, 1.5, Utility.DegToRad(180), Utility.DegToRad(90)),
new Line(16.5, -22.5, 34.5, -22.5),
new Arc(34.5, -21, 0, 1.5, Utility.DegToRad(270), Utility.DegToRad(360)),
new Line(36, -21, 36, -13.5),
new Line(36, -13.5, -6, -13.5));
Brep rev1 = cc1.RevolveAsBrep(0, Utility.DegToRad(360), Vector3D.AxisX, Point3D.Origin);
devDept.Eyeshot.Entities.Region cr1 = devDept.Eyeshot.Entities.Region.CreateCircle(Plane.YZ, 0, 92, 33);
rev1.ExtrudeRemovePattern(cr1, 20, Vector3D.AxisX, Point3D.Origin, Utility.DegToRad(60), 6);
devDept.Eyeshot.Entities.Region ssr1 = devDept.Eyeshot.Entities.Region.CreateSlot(Plane.YZ, 45, 0, 50, 9);
rev1.ExtrudeRemovePattern(ssr1, 20, Vector3D.AxisX, Point3D.Origin, Utility.DegToRad(60), 6);
devDept.Eyeshot.Entities.Region cr = devDept.Eyeshot.Entities.Region.CreateCircle(Plane.XZ, 22.5, 0, 3.25);
rev1.ExtrudeRemove(cr, new Interval(-25, 25));
design1.Entities.Add(rev1, Color.LightCoral);
Maltese Cross
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.