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

            solidColumn.Extrude(Region, d, 0);

            AutoCadHelper.AppendAndAddToTransaction(solidColumn);
        }
Exemple #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);
        }