Plane pl1 = Plane.YZ; pl1.Translate(37.5, 0);
Transformation m1 = Transformation.CreateReflection(pl1);
Brep br1 = Brep.CreateBox(75, 45, 10);
Brep br2 = Brep.CreateBox(30, 45, 35);
br2.Translate(22.5, 0, 10); br1.Add(br2);
br1.ExtrudeRemove(devDept.Eyeshot.Entities.Region.CreateCircle(Plane.XZ, new Point2D(37.5, 30), 7.5), -45);
devDept.Eyeshot.Entities.Region r1 = devDept.Eyeshot.Entities.Region.CreatePolygon(Plane.XZ, new Point2D[]{
new Point2D(22.5, 45),
new Point2D(27.5, 45),
new Point2D(22.5, 40)});
devDept.Eyeshot.Entities.Region r2 = (devDept.Eyeshot.Entities.Region)r1.Clone(); r2.TransformBy(m1);
br1.ExtrudeRemove(r1, -45);
br1.ExtrudeRemove(r2, 45);
devDept.Eyeshot.Entities.Region r3 = devDept.Eyeshot.Entities.Region.CreateCircle(Plane.XY, new Point2D(7, 38), 3.25);
br1.ExtrudeRemovePattern(r3, 10, 61, 2, -31, 2);
devDept.Eyeshot.Entities.Region r4 = devDept.Eyeshot.Entities.Region.CreatePolygon(Plane.XY, new Point2D[]{
new Point2D(0, 45),
new Point2D(2, 45),
new Point2D(0, 43)});
devDept.Eyeshot.Entities.Region r5 = devDept.Eyeshot.Entities.Region.CreatePolygon(Plane.XY, new Point2D[]{
new Point2D(0, 0),
new Point2D(2, 0),
new Point2D(0, 2)});
devDept.Eyeshot.Entities.Region r6 = (devDept.Eyeshot.Entities.Region)r4.Clone(); r6.TransformBy(m1);
devDept.Eyeshot.Entities.Region r7 = (devDept.Eyeshot.Entities.Region)r5.Clone(); r7.TransformBy(m1);
br1.ExtrudeRemove(r4, 10);
br1.ExtrudeRemove(r5, 10);
br1.ExtrudeRemove(r6, -10);
br1.ExtrudeRemove(r7, -10);
devDept.Eyeshot.Entities.Region r8 = devDept.Eyeshot.Entities.Region.CreateRectangle(Plane.YZ, 0, 10, 7.5, 35);
devDept.Eyeshot.Entities.Region r9 = devDept.Eyeshot.Entities.Region.CreateRectangle(Plane.YZ, 17.5, 10, 10, 35);
devDept.Eyeshot.Entities.Region r10 = devDept.Eyeshot.Entities.Region.CreateRectangle(Plane.YZ, 37.5, 10, 7.5, 35);
br1.ExtrudeRemove(r8, 75);
br1.ExtrudeRemove(r9, 75);
br1.ExtrudeRemove(r10, 75);
design1.Entities.Add(br1, Color.FloralWhite);
Modeling Practice Drawings 37
Alberto Bencivenni
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.