Class Grating
Grating is material of different sizes of steel bar. It is considered to be a single material because it may be purchased from manufactures as a single piece of material.
Inherited Members
Namespace: DesignData.SDS2.Model
Assembly: DesignData.SDS2.Model.dll
Syntax
public sealed class Grating : Material
Constructors
Grating()
Declaration
public Grating()
Properties
BearingBarCount
The number of bars parallel with the grating's X axis. Changing the number of bearing bars will impact the grating width.
Declaration
public int BearingBarCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
BearingBarDepth
Bearing bar depth measured perpendicular to the workline of the grating. The bottom surface of the grating will be in the same plane as the workline. All bearing bars and end bands will have this depth.
Declaration
public double BearingBarDepth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A floating point value in inches. |
BearingBarSpacing
The distance between any one bearing bar and the next bearing bar plus the thickness of the one bearing bar. Changing the spacing will impact the grating width.
Declaration
public double BearingBarSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A floating point value in inches. |
BearingBarThickness
Bearing bar thickness for all bearing bars. Changing the thickness will impact the grating width.
Declaration
public double BearingBarThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A floating point value in inches. |
CrossBarCount
The number of bars parallel to the grating's Y axis, not including the end bands, based on the following calculation: OrderLength / CrossBarSpacing
Declaration
public int CrossBarCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CrossBarDepth
Cross bar depth measured perpendicular to the workline of the grating between the top and bottom edges of any one cross bar. In other words, this is the Z axis dimension of the cross bar. All cross bars have this depth.
Declaration
public double CrossBarDepth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A floating point value in inches. |
CrossBarSpacing
The distance between the center of any one cross bar to the center of the next cross bar plus the thickness of the one cross bar. The generated material length does not automatically change when spacing changes.
Declaration
public double CrossBarSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A floating point value in inches. |
CrossBarThickness
Cross bar thickness for all cross bars.
Declaration
public double CrossBarThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A floating point value in inches. |
Ends
The left and right end information of the grating material.
Declaration
public GratingEndList Ends { get; }
Property Value
Type | Description |
---|---|
GratingEndList |
Grade
Returns a steel grade, or null if not applicable
Declaration
public SteelGrade Grade { get; set; }
Property Value
Type | Description |
---|---|
SteelGrade |
Remarks
To set a grade look for the Grade property on the derived class. You'll need to choose a grade from an appropriate grade list for that material type. Which can be found in a static property, on that class, called AvailableSteelGrades.
Exceptions
Type | Condition |
---|---|
InvalidValueException | Attempting to set a grade not in this type of material's grade list will throw an InvalidValueException. This is determined by searching that grade list for a grade which is equal (operator ==). |
OrderLength
The actual length along the longitudinal axis, i.e. X material axis. Changing this distance adjusts the number of cross bars while maintaining the thickness and spacing when the solids are regenerated.
Declaration
public double OrderLength { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A floating point value in inches. |
Width
The width of of the material along the material Y axis based on the following calculation: (BearingBarCount - 1) * BearingBarSpacing + BearingBarThickness
Declaration
public double Width { get; }
Property Value
Type | Description |
---|---|
System.Double | A floating point value in inches. |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
GetAvailableSteelGrades()
Available steel grade list for grating materials in the active job
Declaration
public static SteelGradeList GetAvailableSteelGrades()
Returns
Type | Description |
---|---|
SteelGradeList |