Class CrossSectionFactoryHelper
- Namespace
- IdeaStatiCa.BimApiLink.Utils
- Assembly
- IdeaStatiCa.BimApiLink.dll
CrossSectionFactoryHelper
public static class CrossSectionFactoryHelperInheritance
Inherited Members
Methods
FillBox2(IdeaCrossSectionByParameters, double, double, double, double, double, double, double)
Box 2 - steel shape
public static void FillBox2(IdeaCrossSectionByParameters css, double bu, double bb, double hw, double b1, double tw, double tfu, double tfb)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
budouble-
Width of upper flange
bbdouble-
Width of bottom flange
hwdouble-
Height of web
b1double-
Web distance
twdouble-
Web thickness
tfudouble-
Upper flange thickness
tfbdouble-
Bottom flange thickness
FillCircle(IdeaCrossSectionByParameters, double)
Circular shape - for steel or concrete shape
public static void FillCircle(IdeaCrossSectionByParameters css, double d)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
ddouble-
Diametrer of the shape
FillColdFormedC(IdeaCrossSectionByParameters, double, double, double, double, double, bool)
Fill parameters for cold formed C section
public static void FillColdFormedC(IdeaCrossSectionByParameters css, double Width, double Height, double Thickness, double Radius, double lip, bool mirrorZ = false)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
Widthdouble-
Css width
Heightdouble-
Height of cross-section
Thicknessdouble-
Thickness
Radiusdouble-
Inside radius
lipdouble-
Lip length
mirrorZbool
FillColdFormedChannel(IdeaCrossSectionByParameters, double, double, double, double, bool)
Fill parameters for cold formed C channel
public static void FillColdFormedChannel(IdeaCrossSectionByParameters css, double Width, double Height, double Thickness, double Radius, bool mirrorZ = false)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
Widthdouble-
Css width
Heightdouble-
Height of cross-section
Thicknessdouble-
Thickness
Radiusdouble-
Inside radius
mirrorZbool
FillColdFormedZ(IdeaCrossSectionByParameters, double, double, double, double, bool)
Fill parameters for cold formed Z section
public static void FillColdFormedZ(IdeaCrossSectionByParameters css, double width, double height, double thickness, double radius, bool mirrorZ)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
widthdouble-
Css width
heightdouble-
Height of cross-section
thicknessdouble-
Thickness
radiusdouble-
Inside radius
mirrorZbool-
Mirrored shape
FillComposedDblLt(IdeaCrossSectionByParameters, double, double, double, double, bool, bool)
Creates a new L shape css
public static void FillComposedDblLt(IdeaCrossSectionByParameters css, double h, double b, double th, double distance, bool shortLegUp = false, bool mirrorY = false)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
hdouble-
The height of css.
bdouble-
The width of css.
thdouble-
Thickness
distancedouble-
Distance between ||
shortLegUpboolmirrorYbool
FillComposedDblUo(IdeaCrossSectionByParameters, double, double, double, double, double)
Fills a double channel steel section. They form an open/front-to-front ][ shape.
public static void FillComposedDblUo(IdeaCrossSectionByParameters css, double b, double h, double tw, double th, double distance)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
bdouble-
The width of css
hdouble-
The height of css
twdouble-
Web thickness
thdouble-
Flange thickness
distancedouble-
Distance between ][
FillCssRectangleHollow(IdeaCrossSectionByParameters, double, double, double, double, double, double)
Fill cross-section of shape rectangular for concrete sections
public static void FillCssRectangleHollow(IdeaCrossSectionByParameters css, double width, double height, double thickLeft, double thickRight, double thickTop, double thickBottom)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
widthdouble-
The width of css.
heightdouble-
The height of css.
thickLeftdouble-
The thickness at the left side.
thickRightdouble-
The thickness at the rigth side.
thickTopdouble-
The thickness at the top.
thickBottomdouble-
The thickness at the bottom.
FillOHollow(IdeaCrossSectionByParameters, double, double)
Fill massive pipe shape
public static void FillOHollow(IdeaCrossSectionByParameters css, double r, double t)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
rdouble-
The radius of circle.
tdouble-
The thickness of wall.
FillRectangle(IdeaCrossSectionByParameters, double, double)
Rectangle shape - massive concrete shape
public static void FillRectangle(IdeaCrossSectionByParameters css, double width, double height)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
widthdouble-
Width of the rectangle
heightdouble-
Height of the rectangle
FillRolledAngle(IdeaCrossSectionByParameters, double, double, double, double, double, double, bool, bool)
Rolled steel angle
public static void FillRolledAngle(IdeaCrossSectionByParameters css, double B, double D, double t, double rw, double r2, double C, bool mirrorZ = false, bool mirrorY = false)Parameters
cssIdeaCrossSectionByParameters-
CrossSectionParameter to fill
Bdouble-
Width
Ddouble-
Depth
tdouble-
Thickness
rwdouble-
Root radius
r2double-
Toe radius
Cdouble-
Centroid position
mirrorZbool-
Z-axis mirror
mirrorYbool-
Y-axis mirror
FillRolledCHS(IdeaCrossSectionByParameters, double, double)
Steel circular hollow section
public static void FillRolledCHS(IdeaCrossSectionByParameters css, double r, double t)Parameters
cssIdeaCrossSectionByParameters-
CrossSectionParameter to fill
rdouble-
Radius
tdouble-
Thickness
FillRolledChannel(IdeaCrossSectionByParameters, double, double, double, double, double, double, double, bool)
Rolled steel channel
public static void FillRolledChannel(IdeaCrossSectionByParameters css, double B, double D, double tw, double tf, double rw, double rf, double taperF, bool mirrorZ = false)Parameters
cssIdeaCrossSectionByParameters-
CrossSectionParameter to fill
Bdouble-
Width
Ddouble-
Depth
twdouble-
Web thickness
tfdouble-
Flange thickness
rwdouble-
Root radius
rfdouble-
Flange edge radius
taperFdouble-
Flange taper
mirrorZbool
FillRolledI(IdeaCrossSectionByParameters, double, double, double, double, double, double, double)
Rolled steel I section
public static void FillRolledI(IdeaCrossSectionByParameters css, double b, double h, double s, double t, double r2, double tapperF, double r1)Parameters
cssIdeaCrossSectionByParameters-
IdeaCrossSectionByParameters to fill
bdouble-
Width
hdouble-
Height
sdouble-
Web thickness
tdouble-
Flange thickness
r2double-
Inside radius
tapperFdouble-
Flange tapper
r1double-
Flange edge rounding radius
FillRolledRHS(IdeaCrossSectionByParameters, double, double, double, double, double, double)
Steel rectangular hollow section
public static void FillRolledRHS(IdeaCrossSectionByParameters css, double D, double B, double t, double r1, double r2, double d)Parameters
cssIdeaCrossSectionByParameters-
CrossSectionParameter to fill
Ddouble-
depth
Bdouble-
width
tdouble-
thickness
r1double-
inner radius
r2double-
outer radius
ddouble-
web buckling depth
FillRolledT(IdeaCrossSectionByParameters, double, double, double, double, double, double, double, double, double, bool)
Rolled steel T section
public static void FillRolledT(IdeaCrossSectionByParameters css, double B, double H, double Tw, double Tf, double R, double R1, double R2, double tapperF, double tapperW, bool mirrorY = false)Parameters
cssIdeaCrossSectionByParameters-
CrossSectionParameter to fill
Bdouble-
Width
Hdouble-
Height
Twdouble-
Web thickness
Tfdouble-
Flange thickness
Rdouble-
Inside radius
R1double-
Flange edge rounding radius
R2double-
Web edge rounding radius
tapperFdouble-
Flange tapper
tapperWdouble-
Web tapper
mirrorYbool-
Y-axis mirror
FillShapeI(IdeaCrossSectionByParameters, double, double, double, double, double, double)
I shape - massive concrete shape
public static void FillShapeI(IdeaCrossSectionByParameters css, double h, double btf, double bbf, double htf, double hbf, double tw)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
hdouble-
Total height
btfdouble-
Width of the upper part
bbfdouble-
Width of the bottom part
htfdouble-
Thickness of the upper part
hbfdouble-
Thickness of the bottom part
twdouble-
Thinkness of the web
FillShapeL(IdeaCrossSectionByParameters, double, double, double, double)
Creates a new L shape css - massive concrete shape
public static void FillShapeL(IdeaCrossSectionByParameters css, double h, double b, double th, double sh)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
hdouble-
The height of css.
bdouble-
The width of css.
thdouble-
The bottom flange thisckness.
shdouble-
The wall thickness.
FillShapeT(IdeaCrossSectionByParameters, double, double, double, double)
T shape - massive concrete shape
public static void FillShapeT(IdeaCrossSectionByParameters css, double b, double h, double hf, double bw)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
bdouble-
Width of shape
hdouble-
Height of shape
hfdouble-
Top flange width
bwdouble-
Wall width
FillShapeTwh(IdeaCrossSectionByParameters, double, double, double, double, double)
T shape - massive concrete shape
public static void FillShapeTwh(IdeaCrossSectionByParameters css, double b, double h, double hf, double bwT, double bwB)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
bdouble-
Width of shape
hdouble-
Height of shape
hfdouble-
Flange thickness
bwTdouble-
Web thickness top
bwBdouble-
Web thickness bottom
FillShapeU(IdeaCrossSectionByParameters, double, double, double, double, double, double)
Creates a U shape of css.
public static void FillShapeU(IdeaCrossSectionByParameters css, double bt, double bb, double h, double tb, double tl, double tr)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
btdouble-
The width of U top flange.
bbdouble-
The width of U bottom flange.
hdouble-
The height of U shape.
tbdouble-
The bottom deck thickness.
tldouble-
The left deck thickness.
trdouble-
The right deck thickness.
FillWeldedAsymI(IdeaCrossSectionByParameters, double, double, double, double, double, double)
Welded I asymetrical - steel shape
public static void FillWeldedAsymI(IdeaCrossSectionByParameters css, double bu, double bb, double hw, double tw, double tfu, double tfb)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
budouble-
Width of upper flange
bbdouble-
Width of bottom flange
hwdouble-
Height of web
twdouble-
Web thickness
tfudouble-
Upper flange thickness
tfbdouble-
Bottom flange thickness
Examples
This sample shows how to call this method./>
CrossSectionParameter css = new CrossSectionParameter();
css.Id = 4;
css.Material = new ReferenceElement(openStructModel.MatSteel.First());
double bu = 0.150;
double bb = 0.180;
double hw = 0.320;
double tw = 0.016;
double tfu = 0.014;
double tfb = 0.018;
CrossSectionFactory.FillWeldedAsymI(css, bu, bb, hw, tw, tfu, tfb);
openStructModel.AddObject(css);
Remarks
Dimension of assymetrical I section
FillWeldedBoxFlange(IdeaCrossSectionByParameters, double, double, double, double, double, double, double)
Box 2 - steel shape
public static void FillWeldedBoxFlange(IdeaCrossSectionByParameters css, double bu, double bb, double hw, double b1, double tw, double tfu, double tfb)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
budouble-
Width of upper flange
bbdouble-
Width of bottom flange
hwdouble-
Height of web
b1double-
Web distance
twdouble-
Web thickness
tfudouble-
Upper flange thickness
tfbdouble-
Bottom flange thickness
FillWeldedI(IdeaCrossSectionByParameters, double, double, double, double)
Fill steel section of welded I
public static void FillWeldedI(IdeaCrossSectionByParameters css, double bu, double hw, double tw, double tf)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
budouble-
Width of flange
hwdouble-
Height of web
twdouble-
Web thickness
tfdouble-
Flange thickness
Examples
This sample shows how to call this method./>
CrossSectionParameter css = new CrossSectionParameter();
css.Id = 1;
css.Material = new ReferenceElement(openStructModel.MatSteel.First()); // I have only one material, I take the first one
double bu = 0.2;
double hw = 0.4;
double tw = 0.025;
double tf = 0.02;
CrossSectionFactory.FillWeldedI(css, bu, hw, tw, tf);
openStructModel.AddObject(css);
Remarks
Dimension of welded I section
FillWeldedT(IdeaCrossSectionByParameters, double, double, double, double, bool)
Fill steel section of welded T
public static void FillWeldedT(IdeaCrossSectionByParameters css, double b, double h, double tw, double tf, bool mirrorY = false)Parameters
cssIdeaCrossSectionByParameters-
Parameters of CrossSectionParameter will be filled
bdouble-
Width of flange
hdouble-
Height of web
twdouble-
Web thickness
tfdouble-
Flange thickness
mirrorYbool
IdeaCrossSectionByParameters(IdeaCrossSectionByParameters, double, double, double, double, double)
T shape - massive concrete shape
public static void IdeaCrossSectionByParameters(IdeaCrossSectionByParameters css, double b, double h, double hf, double bwT, double bwB)