Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQUEST: a way to set members_number_of_divisions_for_result_diagram #24

Open
damianbobrowski opened this issue Jun 29, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@damianbobrowski
Copy link

Is your feature request related to a problem? Please describe.
In RFEM it is possible to set members_number_of_divisions_for_result_diagram. Example usage:

from RFEM.initModel import Model, Calculate_all
from RFEM.Results.resultTables import ResultTables
from RFEM.Calculate.meshSettings import MeshSettings

Model(False, "simpleBeam")

# switch to detailde results
Model.clientModel.service.use_detailed_member_results(True)

# set the member division to 12
meshConfig = {'members_number_of_divisions_for_result_diagram': 12}
MeshSettings(meshConfig)

Calculate_all()
resultTable = ResultTables.MembersInternalForces() 

In RSTAB module RSTAB.meshSettings is missing. Probably reasons is that it relies on WS methods:

model.clientModel.service.get_mesh_settings()
model.clientModel.service.set_mesh_settings()

which are missing for RSTAB

raise MethodNotFound(qn)
suds.MethodNotFound: Method not found: 'RstabModel.RstabModelPort.get_mesh_settings'    

Describe the solution you'd like
API way to set members_number_of_divisions_for_result_diagram

Describe alternatives you've considered
_

Additional context
_

@damianbobrowski damianbobrowski added enhancement New feature or request question Further information is requested labels Jun 29, 2023
@OndraMichal
Copy link
Contributor

Hi @damianbobrowski,
RSTAB doesn't have Mesh Settings... (get_mesh_settings()) function. Only generate_mesh() and get_mesh_statistics().

image

@OndraMichal OndraMichal self-assigned this Jun 30, 2023
@damianbobrowski
Copy link
Author

My problem: how in RSTAB I can set up Member Division for Calculation then when setting Detailed Member Results:

Model.clientModel.service.use_detailed_member_results(True)

I have more points in Result Tables

image

image


In RFEM this setting is in MeshSettings. That is why I start from RFEM point of view. I only want to set members_number_of_divisions_for_result_diagram for RSTAB.

image

Is it possible?

@OndraMichal
Copy link
Contributor

Hi @damianbobrowski,
the function Member Division for Calculation is implemented in US-13144, which is in progress right now.

@MartaStolarzCreoox
Copy link

Hi @OndraMichal short question, when do you estimate that this functionality will be available?

@damianbobrowski
Copy link
Author

When checking newest package RSTAB=1.8.0 and RSTAB 9.03.0007 it still now work when using new class MemberDivision()

from RSTAB.Calculate.memberDivision import MemberDivision
MemberDivision(number_of_divisions_for_result_diagram=20)

It looks like WebService is not ready for package implementation

  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\suds\client.py", line 524, in __getitem__
    raise MethodNotFound(qn)
suds.MethodNotFound: Method not found: 'RstabModel.RstabModelPort.get_member_divisions'

FYI
@MartaStolarzCreoox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants