TAGGED: export-data, script
-
-
April 9, 2024 at 12:28 pm
Bob
SubscriberHello!ÂAt Ansys mechanical, I am conducting a 2D ball impact experiment of circles with various radious and plates with various thicknesses, as shown in the picture below.ÂAll relevant parameters will be automated using "parameter set".ÂAt this time, we want to insert python code into the solution, so run after_post whenever the geometry changes (or after each collision experiment).ÂAs far as I know, 3D geometry can be exported using the script below.ÂGraphics.Export3D("C:\\temp\\test.stl")ÂHowever, what script can be used to export 2D geometry? -
April 10, 2024 at 2:08 pm
Aniket
Forum ModeratorIf you need an STL 2D file, you can still use Graphics.Export3D API as shown in:
https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v241/en/act_script/mech_apis_Graphics_Exporting.html
-Aniket
-
Viewing 1 reply thread
- The topic ‘Export 2D Geometry using Mechanical python code (script)’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- The legend values are not changing.
- LPBF Simulation of dissimilar materials in ANSYS mechanical (Thermal Transient)
- Convergence error in modal analysis
- How to model a bimodular material in Mechanical
- APDL, memory, solid
- Meaning of the error
- Simulate a fan on the end of shaft
- Nonlinear load cases combinations
- Real Life Example of a non-symmetric eigenvalue problem
- How can the results of Pressures and Motions for all elements be obtained?
Top Contributors
-
3912
-
1414
-
1256
-
1118
-
1015
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.