def add(self, load_pattern, ux, uy, uz, rx, ry, rz): displacement = Displacement(load_pattern, ux, uy, uz, rx, ry, rz) Collection.add(self, displacement) return displacement
def add(self, load_pattern, reactions): reaction = Reaction(load_pattern, reactions) Collection.add(self, reaction) return reaction
def add(self, node, fx, fy, fz): point_load = PointLoad(self.parent.nodes[node], fx, fy, fz) Collection.add(self, point_load) return point_load
def add(self, frame, fx, fy, fz): distributed_load = DistributedLoad(self.parent.frames[frame], fx, fy, fz) Collection.add(self, distributed_load) return distributed_load
def add(self, node, ux, uy, uz, rx, ry, rz): support = Support(self.parent.nodes[node], ux, uy, uz, rx, ry, rz) Collection.add(self, support) return support
def add(self, label): load_pattern = LoadPattern(label, self.parent) Collection.add(self, load_pattern) return load_pattern
def add(self, label, node_i, node_j, section): frame = Frame(label, self.parent.nodes[node_i], self.parent.nodes[node_j], self.parent.sections[section]) Collection.add(self, frame) return frame
def add(self, label, node_i, node_j, section): truss = Truss(label, self.parent.nodes[node_i], self.parent.nodes[node_j], self.parent.sections[section]) Collection.add(self, truss) return truss
def add(self, label, x, y, z): node = Node(label, x, y, z) Collection.add(self, node) return node
def add(self, label, material, area, inertia_y, inertia_z, torsion_constant): section = Section(label, self.parent.materials[material], area, inertia_y, inertia_z, torsion_constant) Collection.add(self, section) return section
def add(self, label, modulus_elasticity, modulus_elasticity_shear): material = Material(label, modulus_elasticity, modulus_elasticity_shear) Collection.add(self, material) return material