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
Top Contributors
-
3492
-
1057
-
1051
-
965
-
942
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.