示例#1
0
        private void _drawColumn()
        {
            var solidColumn = new Solid3d();

            solidColumn.Extrude(Region, d, 0);

            AutoCadHelper.AppendAndAddToTransaction(solidColumn);
        }
示例#2
0
        private void _drawBeam()
        {
            const double angle = (Math.PI / 2);

            var solidBeam = new Solid3d();

            solidBeam.Extrude(Region, d, 0);

            // Rotate along flange
            solidBeam.TransformBy(Matrix3d.Rotation(angle, Vector3d.XAxis, Point3d.Origin));
            AutoCadHelper.AppendAndAddToTransaction(solidBeam);
        }
示例#3
0
 public void DrawBeam(Line line)
 {
     AutoCadHelper.Do(_drawBeam);
 }
示例#4
0
 public void DrawColumn()
 {
     AutoCadHelper.Do(_drawColumn);
 }