Table of Contents

Class Slab

Namespace
FemDesign.Shells
Assembly
FemDesign.Core.dll

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

type SlabType
identifier string
slabPart SlabPart
material Material

Fields

SurfaceReinforcement

public List<SurfaceReinforcement> SurfaceReinforcement

Field Value

List<SurfaceReinforcement>

_slabPart

public SlabPart _slabPart

Field Value

SlabPart

Properties

End

public string End { get; set; }

Property Value

string

IsVariableThickness

public bool IsVariableThickness { get; }

Property Value

bool

Material

public Material Material { get; set; }

Property Value

Material

Region

public Region Region { get; }

Property Value

Region

SlabPart

public SlabPart SlabPart { get; set; }

Property Value

SlabPart

StageId

public int StageId { get; set; }

Property Value

int

SurfaceReinforcementParameters

public SurfaceReinforcementParameters SurfaceReinforcementParameters { get; set; }

Property Value

SurfaceReinforcementParameters

Type

public SlabType Type { get; set; }

Property Value

SlabType

Methods

AverageSurfaceElementSize(Slab, double)

Set average mesh size to slab.

public static Slab AverageSurfaceElementSize(Slab slab, double avgMeshSize)

Parameters

slab Slab

Slab.

avgMeshSize double

Average mesh size.

Returns

Slab

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

point0 Point3d
point1 Point3d
point2 Point3d
point3 Point3d
thickness double
material Material
shellEdgeConnection EdgeConnection
eccentricity ShellEccentricity
orthotropy ShellOrthotropy
identifier string

Returns

Slab

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

guid Guid

Returns

EdgeConnection

GetEdgeConnections()

Return the edge connections on a slab

public List<EdgeConnection> GetEdgeConnections()

Returns

List<EdgeConnection>

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

name string

Returns

List<EdgeConnection>

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

corner Point3d
widthX double
widthY double
thickness double
material Material
shellEdgeConnection EdgeConnection
eccentricity ShellEccentricity
orthotropy ShellOrthotropy
identifier string

Returns

Slab

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

identifier string
material Material
region Region
shellEdgeConnection EdgeConnection
eccentricity ShellEccentricity
orthotropy ShellOrthotropy
thickness List<Thickness>

Returns

Slab

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

identifier string
material Material
region Region
shellEdgeConnection EdgeConnection
eccentricity ShellEccentricity
orthotropy ShellOrthotropy
thickness double

Returns

Slab

SetEdgeConnection(Slab, EdgeConnection, List<int>)

Set EdgeConnections by indices.

public static Slab SetEdgeConnection(Slab slab, EdgeConnection shellEdgeConnection, List<int> indices)

Parameters

slab Slab

Slab.

shellEdgeConnection EdgeConnection

EdgeConnection.

indices List<int>

Index. List of items. Use SlabDeconstruct to extract index for each respective edge.

Returns

Slab

SetEdgeConnection(Slab, EdgeConnection, int)

Set EdgeConnections by indices.

public static Slab SetEdgeConnection(Slab slab, EdgeConnection shellEdgeConnection, int index)

Parameters

slab Slab

Slab.

shellEdgeConnection EdgeConnection

EdgeConnection.

index int

Index of edge to set.

Returns

Slab

ToString()

public override string ToString()

Returns

string

UpdateMaterial(Material)

public void UpdateMaterial(Material material)

Parameters

material Material

UpdateThickness(List<Point3d>, List<double>)

public void UpdateThickness(List<Point3d> points, List<double> thickness)

Parameters

points List<Point3d>
thickness List<double>

UpdateThickness(double)

public void UpdateThickness(double thickness)

Parameters

thickness double

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

point0 Point3d
point1 Point3d
height double
thickness double
material Material
shellEdgeConnection EdgeConnection
eccentricity ShellEccentricity
orthotropy ShellOrthotropy
identifier string

Returns

Slab

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

identifier string
material Material
region Region
shellEdgeConnection EdgeConnection
eccentricity ShellEccentricity
orthotropy ShellOrthotropy
thickness List<Thickness>

Returns

Slab

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

identifier string
material Material
region Region
shellEdgeConnection EdgeConnection
eccentricity ShellEccentricity
orthotropy ShellOrthotropy
thickness double

Returns

Slab