We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally posted by tryzang March 29, 2024 I want to import an IGES file and then show it, but I get an error Here's my python code
from ansys.mapdl.core import launch_mapdl mapdl = launch_mapdl(loglevel="ERROR") # clear mapdl.finish() mapdl.clear() mapdl.prep7() mapdl.igesin("D:/1", "IGS") mapdl.geometry.areas.plot()
Here's the error message
C:\Users\UserX\AppData\Local\Programs\Python\Python312\python.exe D:\桌面\3DD\main.py CRITICAL - pymapdl_global - logging - handle_exception - Uncaught exception Traceback (most recent call last): File "D:\桌面\3DD\main.py", line 6, in <module> mapdl.igesin("D:/1.IGS") File "C:\Users\UserX\AppData\Local\Programs\Python\Python312\Lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 3388, in igesin return super().igesin(fname=filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserX\AppData\Local\Programs\Python\Python312\Lib\site-packages\ansys\mapdl\core\_commands\aux15_.py", line 57, in igesin return self.run(f"IGESIN,{fname},{ext}", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserX\AppData\Local\Programs\Python\Python312\Lib\site-packages\ansys\mapdl\core\mapdl.py", line 3291, in run text = self._run(command, verbose=verbose, mute=mute) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserX\AppData\Local\Programs\Python\Python312\Lib\site-packages\ansys\mapdl\core\mapdl_grpc.py", line 938, in _run response = self._send_command(cmd, mute=mute) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserX\AppData\Local\Programs\Python\Python312\Lib\site-packages\ansys\mapdl\core\errors.py", line 168, in wrapper raise MapdlExitedError("MAPDL server connection terminated") from None ansys.mapdl.core.errors.MapdlExitedError: MAPDL server connection terminated 进程已结束,退出代码为 1
Also, I have this question, if I want to import a file in STL format and do finite element analysis, is there any way? Thank you for your reply~~
The text was updated successfully, but these errors were encountered:
Hi @tryzang
Can you share the IGS file?
Sorry, something went wrong.
No branches or pull requests
Discussed in #2947
Originally posted by tryzang March 29, 2024
I want to import an IGES file and then show it, but I get an error
Here's my python code
Here's the error message
Also, I have this question, if I want to import a file in STL format and do finite element analysis, is there any way?
Thank you for your reply~~
The text was updated successfully, but these errors were encountered: