Beispiel #1
0
        public void BuildRectangleToLineBarShape(Rectangle3d rectangle, int position, CoverDimensions coverDimensions)
        {
            List <Point3d> shapePoints =
                RebarPoints.CreateForLineFromRectangle(rectangle, position, coverDimensions, Props);
            LineCurve line = new LineCurve(shapePoints[0], shapePoints[1]);

            RebarCurve = CreateRebarCurveInAnotherPlane(line, Plane.WorldXY, rectangle.Plane);
            RebarMesh  = CreateRebarMesh(RebarCurve, Props.Radius);
        }
Beispiel #2
0
        public void BuildLBarShape(Plane insertPlane, double height, double width, BendingRoller bendingRoller)
        {
            List <Point3d> shapePoints = RebarPoints.CreateForLBarShape(height, width, Props);

            PolylineCurve polyline         = new PolylineCurve(shapePoints);
            Curve         filletedPolyline = CreateFilletPolylineWithBendingRoller(polyline, bendingRoller);

            RebarCurve = CreateRebarCurveInAnotherPlane(filletedPolyline, Plane.WorldXY, insertPlane);
            RebarMesh  = CreateRebarMesh(RebarCurve, Props.Radius);
        }
Beispiel #3
0
        public void BuildRectangleToUBarShape(Rectangle3d rectangle, BendingRoller bendingRoller,
                                              int position, CoverDimensions coverDimensions, double hookLength)
        {
            List <Point3d> shapePoints =
                RebarPoints.CreateForUBarFromRectangle(rectangle, position, coverDimensions, hookLength, Props);
            PolylineCurve polyline         = new PolylineCurve(shapePoints);
            Curve         filletedPolyline = CreateFilletPolylineWithBendingRoller(polyline, bendingRoller);

            RebarCurve = CreateRebarCurveInAnotherPlane(filletedPolyline, Plane.WorldXY, rectangle.Plane);
            RebarMesh  = CreateRebarMesh(RebarCurve, Props.Radius);
        }