Show / Hide Table of Contents

    Class WeldPathSegment

    Represents the orientation and length of one segment of a WeldPathSpecification.Segments

    Inheritance
    object
    WeldPathSegment
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: DesignData.SDS2.Model
    Assembly: DesignData.SDS2.Model.dll
    Syntax
    public sealed class WeldPathSegment

    Constructors

    WeldPathSegment()

    Represents the orientation and length of one segment of a WeldPathSpecification.Segments

    Declaration
    public WeldPathSegment()

    Properties

    Length

    The length of the weld segment

    Declaration
    public double Length { get; set; }
    Property Value
    Type Description
    double

    ToFilletRoot

    Defines the direction of toe1 to the root for fillet welds

    Declaration
    public Vector3D ToFilletRoot { get; }
    Property Value
    Type Description
    Vector3D
    Remarks

    Fillet welds should use FromFilletLayout(), FromFilletSegment(), or WeldProfileFillet.GetWeldPathSegment() to set this value appropriately

    ToGlobalCoordinates

    The segment's transformation matrix from local coordinates to global coordinates. The X axis of a weld segment is is the direction from one end of the segment to the other end. The Y axis is the direction from the first toe to the second toe. For bevel welds, the Z axis is the direction from the first toe towards the root. Fillet welds ignore the Z axis and instead use ToFilletRoot. The translation portion of the matrix represents a point on the face of the weld. For fillet and groove welds this is toe1. For U and V groove welds this is the midpoint between toes on the face of the weld.

    Declaration
    public Matrix ToGlobalCoordinates { get; set; }
    Property Value
    Type Description
    Matrix
    Remarks

    See WeldProfileFillet for an alternative representation that may be more useful for fillet welds

    Methods

    ~WeldPathSegment()

    Represents the orientation and length of one segment of a WeldPathSpecification.Segments

    Declaration
    protected ~WeldPathSegment()

    FromFilletLayout(Layout3D, double)

    Return a list of WeldPathSegment objects that represent the fillet weld layout

    Declaration
    public static WeldPathSegmentList FromFilletLayout(Layout3D layout, double weldSize)
    Parameters
    Type Name Description
    Layout3D layout
    double weldSize
    Returns
    Type Description
    WeldPathSegmentList
    Remarks

    This will create welds where the root runs along the layout nodes which is useful for fillet welds. It is less useful for butt welds when you want the toe to run along the layout nodes. See FromLayout for butt welds

    Exceptions
    Type Condition
    InvalidValueException

    Thrown when the cross product of the vector between end points of any segment and the depth vector for those end points is zero

    FromFilletSegment(Point3D, Point3D, Vector3D, Vector3D, double)

    Return a WeldPathSegment given the segment end points and two normals of the the surfaces to fillet weld

    Declaration
    public static WeldPathSegment FromFilletSegment(Point3D segmentEndPoint1, Point3D segmentEndPoint2, Vector3D surfaceNormal1, Vector3D surfaceNormal2, double weldSize)
    Parameters
    Type Name Description
    Point3D segmentEndPoint1
    Point3D segmentEndPoint2
    Vector3D surfaceNormal1
    Vector3D surfaceNormal2
    double weldSize
    Returns
    Type Description
    WeldPathSegment
    Exceptions
    Type Condition
    InvalidValueException

    Thrown when the cross product of the profile toes is the zero.

    FromLayout(Layout3D)

    Return a list of WeldPathSegment objects that represent the layout

    Declaration
    public static WeldPathSegmentList FromLayout(Layout3D layout)
    Parameters
    Type Name Description
    Layout3D layout
    Returns
    Type Description
    WeldPathSegmentList
    Remarks

    This will create welds where the toe runs along the layout nodes which is useful for butt welds. It is not useful for fillet welds when you want the root to run along the layout nodes. See FromFilletLayout for a fillet weld layout

    Exceptions
    Type Condition
    InvalidValueException

    Thrown when the cross product of the vector between end points of any segment and the depth vector for those end points is zero

    Back to top