Class Slab
slab_type
public class Slab : NamedEntityBase, INamedEntity, IStructureElement, IFemDesignEntity, IStageElement, IShell
- Inheritance
-
Slab
- Implements
- Inherited Members
- Extension Methods
Constructors
Slab(SlabType, string, SlabPart, Material)
Construct Slab.
public Slab(SlabType type, string identifier, SlabPart slabPart, Material material)
Parameters
Fields
SurfaceReinforcement
public List<SurfaceReinforcement> SurfaceReinforcement
Field Value
_slabPart
public SlabPart _slabPart
Field Value
Properties
End
public string End { get; set; }
Property Value
IsVariableThickness
public bool IsVariableThickness { get; }
Property Value
Material
public Material Material { get; set; }
Property Value
Region
public Region Region { get; }
Property Value
SlabPart
public SlabPart SlabPart { get; set; }
Property Value
StageId
public int StageId { get; set; }
Property Value
SurfaceReinforcementParameters
public SurfaceReinforcementParameters SurfaceReinforcementParameters { get; set; }
Property Value
Type
public SlabType Type { get; set; }
Property Value
Methods
AverageSurfaceElementSize(Slab, double)
Set average mesh size to slab.
public static Slab AverageSurfaceElementSize(Slab slab, double avgMeshSize)
Parameters
Returns
Remarks
Action
FromFourPoints(Point3d, Point3d, Point3d, Point3d, double, Material, EdgeConnection, ShellEccentricity, ShellOrthotropy, string)
Construct a slab from four points.
public static Slab FromFourPoints(Point3d point0, Point3d point1, Point3d point2, Point3d point3, double thickness, Material material, EdgeConnection shellEdgeConnection = null, ShellEccentricity eccentricity = null, ShellOrthotropy orthotropy = null, string identifier = "P")
Parameters
point0Point3dpoint1Point3dpoint2Point3dpoint3Point3dthicknessdoublematerialMaterialshellEdgeConnectionEdgeConnectioneccentricityShellEccentricityorthotropyShellOrthotropyidentifierstring
Returns
GetEdgeConnection(Guid)
Return the edge connections on a slab by the their guid. Emptu list if guid does not match.
public EdgeConnection GetEdgeConnection(Guid guid)
Parameters
guidGuid
Returns
GetEdgeConnections()
Return the edge connections on a slab
public List<EdgeConnection> GetEdgeConnections()
Returns
GetEdgeConnections(string)
Return the edge connections on a slab by the their name. Empty list if name does not match. The method will return the edge connections if the input name is contains in the edge connection name.
public List<EdgeConnection> GetEdgeConnections(string name)
Parameters
namestring
Returns
GetUniqueInstanceCount()
This value will be used to set number (like ".1") part of the entity name (like "B.1"). Typically this is a counter starting at 1 and incrementing for each new instance of this class that has been created.
protected override int GetUniqueInstanceCount()
Returns
- int
A unique number.
Plate(Point3d, double, double, double, Material, EdgeConnection, ShellEccentricity, ShellOrthotropy, string)
Construct a rectangular slab in the XY plane
public static Slab Plate(Point3d corner, double widthX, double widthY, double thickness, Material material, EdgeConnection shellEdgeConnection = null, ShellEccentricity eccentricity = null, ShellOrthotropy orthotropy = null, string identifier = "P")
Parameters
cornerPoint3dwidthXdoublewidthYdoublethicknessdoublematerialMaterialshellEdgeConnectionEdgeConnectioneccentricityShellEccentricityorthotropyShellOrthotropyidentifierstring
Returns
Plate(string, Material, Region, EdgeConnection, ShellEccentricity, ShellOrthotropy, List<Thickness>)
public static Slab Plate(string identifier, Material material, Region region, EdgeConnection shellEdgeConnection, ShellEccentricity eccentricity, ShellOrthotropy orthotropy, List<Thickness> thickness)
Parameters
identifierstringmaterialMaterialregionRegionshellEdgeConnectionEdgeConnectioneccentricityShellEccentricityorthotropyShellOrthotropythicknessList<Thickness>
Returns
Plate(string, Material, Region, EdgeConnection, ShellEccentricity, ShellOrthotropy, double)
public static Slab Plate(string identifier, Material material, Region region, EdgeConnection shellEdgeConnection, ShellEccentricity eccentricity, ShellOrthotropy orthotropy, double thickness)
Parameters
identifierstringmaterialMaterialregionRegionshellEdgeConnectionEdgeConnectioneccentricityShellEccentricityorthotropyShellOrthotropythicknessdouble
Returns
SetEdgeConnection(Slab, EdgeConnection, List<int>)
Set EdgeConnections by indices.
public static Slab SetEdgeConnection(Slab slab, EdgeConnection shellEdgeConnection, List<int> indices)
Parameters
slabSlabSlab.
shellEdgeConnectionEdgeConnectionEdgeConnection.
indicesList<int>Index. List of items. Use SlabDeconstruct to extract index for each respective edge.
Returns
SetEdgeConnection(Slab, EdgeConnection, int)
Set EdgeConnections by indices.
public static Slab SetEdgeConnection(Slab slab, EdgeConnection shellEdgeConnection, int index)
Parameters
slabSlabSlab.
shellEdgeConnectionEdgeConnectionEdgeConnection.
indexintIndex of edge to set.
Returns
ToString()
public override string ToString()
Returns
UpdateMaterial(Material)
public void UpdateMaterial(Material material)
Parameters
materialMaterial
UpdateThickness(List<Point3d>, List<double>)
public void UpdateThickness(List<Point3d> points, List<double> thickness)
Parameters
UpdateThickness(double)
public void UpdateThickness(double thickness)
Parameters
thicknessdouble
Wall(Point3d, Point3d, double, double, Material, EdgeConnection, ShellEccentricity, ShellOrthotropy, string)
Construct a vertical wall from two points
public static Slab Wall(Point3d point0, Point3d point1, double height, double thickness, Material material, EdgeConnection shellEdgeConnection = null, ShellEccentricity eccentricity = null, ShellOrthotropy orthotropy = null, string identifier = "W")
Parameters
point0Point3dpoint1Point3dheightdoublethicknessdoublematerialMaterialshellEdgeConnectionEdgeConnectioneccentricityShellEccentricityorthotropyShellOrthotropyidentifierstring
Returns
Wall(string, Material, Region, EdgeConnection, ShellEccentricity, ShellOrthotropy, List<Thickness>)
public static Slab Wall(string identifier, Material material, Region region, EdgeConnection shellEdgeConnection, ShellEccentricity eccentricity, ShellOrthotropy orthotropy, List<Thickness> thickness)
Parameters
identifierstringmaterialMaterialregionRegionshellEdgeConnectionEdgeConnectioneccentricityShellEccentricityorthotropyShellOrthotropythicknessList<Thickness>
Returns
Wall(string, Material, Region, EdgeConnection, ShellEccentricity, ShellOrthotropy, double)
public static Slab Wall(string identifier, Material material, Region region, EdgeConnection shellEdgeConnection, ShellEccentricity eccentricity, ShellOrthotropy orthotropy, double thickness)
Parameters
identifierstringmaterialMaterialregionRegionshellEdgeConnectionEdgeConnectioneccentricityShellEccentricityorthotropyShellOrthotropythicknessdouble