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

secmesh process error #38

Open
whispers1104 opened this issue Sep 2, 2024 · 1 comment
Open

secmesh process error #38

whispers1104 opened this issue Sep 2, 2024 · 1 comment

Comments

@whispers1104
Copy link

Hi Yexiang,
I installed the latest version of opstool and found some issues that may be bugs during use:

  1. When importing opstool in a linux server, the content in cytriangle may not be found, which does not seem to happen in windows system. I tried to modify sectionproperties.pre, changing import cytriangle to import triangle seems to work, but I don't know if this will cause some problems.
  2. The beam_sec parameter in ModelData.get_model_data: I set the section in section_library for each element as instructed in the document, but it seems to have a problem. In the windows system, only an empty folder (results_dir) appears, but there is no terminal output, while on the linux server, Segmentation fault (core dumped) will be displayed. I tried to find where the problem occurred. It should be in the get_beam_sec_info function in opstool\vis_get_model_base.py.
    The problem occurred in the line B = tr.triangulate(A, "qpa1000000000"), but unfortunately it stopped without any error message.
@yexiang1992
Copy link
Owner

Hi Yexiang, 嗨Yexiang, I installed the latest version of opstool and found some issues that may be bugs during use:我安装了最新版本的 opstool,并在使用过程中发现了一些可能的 bug:

  1. When importing opstool in a linux server, the content in cytriangle may not be found, which does not seem to happen in windows system. I tried to modify sectionproperties.pre, changing import cytriangle to import triangle seems to work, but I don't know if this will cause some problems.在Linux服务器上导入opstool时,可能会找不到cytriangle的内容,而在Windows系统中则不会出现这种情况。我尝试修改了sectionproperties.pre文件,将import cytriangle更改为import triangle,似乎可以解决问题,但我不知道这样做是否会引发其他问题。
  2. The beam_sec parameter in ModelData.get_model_data: I set the section in section_library for each element as instructed in the document, but it seems to have a problem. In the windows system, only an empty folder (results_dir) appears, but there is no terminal output, while on the linux server, Segmentation fault (core dumped) will be displayed. I tried to find where the problem occurred. It should be in the get_beam_sec_info function in opstool\vis_get_model_base.py.ModelData.get_model_data中的beam_sec参数:我按照文档中的说明为每个元素设置了section_library中的截面信息,但似乎出现了问题。在Windows系统中,只出现了一个空文件夹(results_dir),但没有终端输出,而在Linux服务器上,则会显示“Segmentation fault (core dumped)”。我试图找出问题所在。问题应该出现在opstool\vis_get_model_base.py中的get_beam_sec_info函数中。
    The problem occurred in the line B = tr.triangulate(A, "qpa1000000000"), but unfortunately it stopped without any error message.问题出现在代码行中,但不幸的是,它没有给出任何错误提示就停止了。

Hi, it's been a long time since I replied😁. This seems to be a problem with the triangle library. The cross-section division is tied together and depends on another library, sectionproperties. In the latest version of opstool, the beam cross-section rendering function has been temporarily cancelled. In the future, we can consider a better rendering method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants