fconcrete.Structural.Node module¶
-
class
fconcrete.Structural.Node.
Node
(x, condition_boundary, length=0)[source]¶ Bases:
object
Methods
Crimp
(x[, length])Represents a node with vertical displacement and rotation equal to zero. Free
(x)Represents a node with vertical displacement and rotation. MiddleNode
(x)Represents a node with vertical displacement and rotation. SimpleSupport
(x[, length])Represents a node with vertical displacement equal to zero. -
classmethod
Crimp
(x, length=0)[source]¶ Represents a node with vertical displacement and rotation equal to zero.
Call signatures:
fc.Node.Crimp(x)>>> crimp_node_1 = fc.Node.Crimp(100) >>> crimp_node_2 = fc.Node.Crimp('1m') >>> repr(crimp_node_1) == repr(crimp_node_2) True
Parameters: - x :
number
orpython:str
Position of the node. If it is a number, default unit is cm, but also [length] unit can be given. Example: ‘20m’, ‘10dm’, etc
- length :
number
orpython:str
, optional Length of the node if applicable. If it is a number, default unit is cm, but also [length] unit can be given. Example: ‘20m’, ‘10dm’, etc. Default is 0.
- x :
-
classmethod
Free
(x)[source]¶ Represents a node with vertical displacement and rotation.
Call signatures:
fc.Node.Free(x)>>> free_node_1 = fc.Node.Free(100) >>> free_node_2 = fc.Node.Free('1m') >>> repr(free_node_1) == repr(free_node_2) True
Parameters: - x :
number
orpython:str
Position of the node. If it is a number, default unit is cm, but also [length] unit can be given. Example: ‘20m’, ‘10dm’, etc
- x :
-
classmethod
MiddleNode
(x)[source]¶ Represents a node with vertical displacement and rotation.
Call signatures:
fc.Node.Free(x)>>> middle_node_1 = fc.Node.MiddleNode(100) >>> middle_node_2 = fc.Node.MiddleNode('1m') >>> repr(middle_node_1) == repr(middle_node_2) True
Parameters: - x :
number
orpython:str
Position of the node. If it is a number, default unit is cm, but also [length] unit can be given. Example: ‘20m’, ‘10dm’, etc
- x :
-
classmethod
SimpleSupport
(x, length=0)[source]¶ Represents a node with vertical displacement equal to zero. But it allows rotation.
Call signatures:
fc.Node.SimpleSupport(x, length=0)>>> simple_support_1 = fc.Node.SimpleSupport(100) >>> simple_support_2 = fc.Node.SimpleSupport('1m') >>> repr(simple_support_1) == repr(simple_support_2) True
Parameters: - x :
number
orpython:str
Position of the node. If it is a number, default unit is cm, but also [length] unit can be given. Example: ‘20m’, ‘10dm’, etc
- length :
number
orpython:str
, optional Length of the node if applicable. If it is a number, default unit is cm, but also [length] unit can be given. Example: ‘20m’, ‘10dm’, etc. Default is 0.
- x :
-
classmethod