How do you export a mesh file as STL in pyfluent? #3411
Unanswered
forharrisonbaby
asked this question in
Q&A
Replies: 2 comments 1 reply
-
are you able to assist here with this question ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@forharrisonbaby @seanpearsonuk @mkundu1 @ekostson Please use it as follows:
You can refer the TUI command usage here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the main section of code where I try to export a mesh file:
The error happens at the last line of code. When that code is ran, it tells me this:
In the Pyfluent documentation, it says that the stl class has 4 inputs; service, version, mode and path. It's possible that these inputs are wrong, but I'm not really sure what they should be changed to. It's also possible that the function is wrong, but again I'm not sure. I also tried this:
session.tui.file.export.stl(file_name = r"C:\Users\forha\OneDrive\Documents\GitHub\F1car-wAI\my_mesh.stl")
But it basically gave what looks like the exact same error:
I don't know if I have to make the file beforehand or what, but nothing I've tried allows me to export the stl.
Beta Was this translation helpful? Give feedback.
All reactions