Skip to content

How to create sections with linear distribution type #386

Closed Answered by heetrojivadiya
lekuaa asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @lekuaa,

Thank you for using our webservice. You can create different section distribution type beam with help of the Member.Beam()static method of the Member class. I have attached the small example so you can know how to use it.

Model(True, 'demo')

Node(1,0.0,0.0,0.0)
Node(2,10.0,0.0,0.0)
Node(3,10.0,0.0,-7.0)
Node(4,0.0,0.0,-7.0)

Material(1,'Q235')

Section(1, 'RHS 200x100x8 | GB/T 6728-2017 | --',1)
Section(2, 'RHS 400x200x10 | GB/T 6728-2017 | --',1)

# Linear distribution
Member.Beam(1, 1, 2, MemberSectionDistributionType.SECTION_DISTRIBUTION_TYPE_LINEAR, start_section_no=2, end_section_no=1, distribution_parameters=[MemberSectionAlignment.SECTION_ALIGNMENT_TOP])

# Tapered …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lekuaa
Comment options

@lekuaa
Comment options

@heetrojivadiya
Comment options

@lekuaa
Comment options

Answer selected by heetrojivadiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants