How to export an ANSYS model into STL format for 3D printing

Click For Summary

Discussion Overview

The discussion revolves around the process of exporting an ANSYS model into STL format for 3D printing, specifically focusing on challenges related to models composed of BEAM4 elements and the limitations of ANSYS Mechanical 14.5. Participants explore potential methods for converting beam elements into a solid mesh suitable for STL export.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant inquires about exporting an ANSYS model with BEAM4 elements to STL format and questions the possibility of converting beam elements into a solid mesh.
  • Another participant expresses skepticism about the feasibility of exporting STL files from ANSYS, suggesting that CAD programs like Inventor, Solidworks, or ProE might be more appropriate for this task.
  • A participant clarifies that their model is generated through an APDL script, which complicates the use of traditional CAD software for importing the model.
  • It is noted that BEAM4 elements represent a line in 3D space, and the /ESHAPE command can be used to visualize the geometry, but this does not facilitate STL export.
  • One participant suggests reviewing the APDL script to extract real constants for the BEAM elements and recreating the geometry in a CAD program, indicating that this may be a more viable approach.
  • Another participant expresses reluctance to recreate the geometry manually due to the complexity of the APDL script and proposes modifying the Perl script to generate input for a CAD program that supports better export features.
  • There is a request for recommendations on which CAD program and file format would allow STL export from line geometry and cross-sections, with a preference for text format input.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the feasibility of exporting STL files directly from ANSYS models with BEAM4 elements. Multiple competing views exist regarding the best approach to achieve the desired outcome, and the discussion remains unresolved.

Contextual Notes

Limitations include the specific version of ANSYS being used (ANSYS Mechanical 14.5) and the nature of BEAM4 elements, which may not easily translate to a solid mesh suitable for STL export. The discussion also highlights the challenges of using APDL scripts in conjunction with CAD software.

Vigardo
Messages
87
Reaction score
7
Engineering news on Phys.org
Sorry, I forgot to say that my ANSYS model is created in ANSYS Mechanical 14.5.
 
I don't believe that is even possible. I have brought STL files into ANSYS but never the other way around. Why use ANSYS to create an STL? Why not use a CAD program such as, Inventor, Solidworks, or ProE?
 
I'm trying to use ANSYS to create an STL because my model is generated with some APDL script. This latter creates a complicated grid of BEAM4 elements with defined sections (just rectangular). Would Inventor, Solidworks or ProE import ANSYS's APDL script files? If so, would you tell me how?

Thanks a lot for your interest!
 
No, those programs cannot read APDL. BEAM4 is a 3D elastic beam element that is nothing more than a line. You can issue the /ESHAPE command to plot the elements and see what the beam geometry looks like but that will only be available when the EPLOT command is issued. STL is a surface tessalation file and is just the surfaces of the object. I can't see any way that you could get the correct geometry from ANSYS APDL.

Why don't you read thru the APDL script, look at the real constants for the BEAM elements and then recreate the geometry using a CAD program?
 
In fact, that's what I typically do to check beam geometry (using /ESHAPE I mean). Ideally, I hoped that somebody had some APDL script to convert beams into STL surfaces using the section shape (real constants) of their elements. From what you say, now this seems quite infeasible...

I don't want to recreate the geometry using a CAD program because the APDL script is a large list with thousands of elements and a few real constants that has been generated by some in-house Perl script.

Since I'm not expert in CAD programs, I think it would be less difficult for me to modify the Perl script to generate input for some CAD program with better export features. Which CAD program and file format do you recommend me? In other words, which program/format would allow STL exportation from just lines geometry and cross-sections? Text format input would be highly preferred.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
7K
  • · Replies 2 ·
Replies
2
Views
29K
Replies
6
Views
32K
  • · Replies 8 ·
Replies
8
Views
8K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
7K