STL instead of IGES #1226
mikerife
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
Hi @mikerife This is interesting. I did run your script: It seems to work very well. I presume STL works only with triangles? I think having the possibility to export to STL will be useful. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
MAPDL can export ANF and IGES versions of geometry that exists in its database. ANF is its internal format and I don't think any other program imports it (Space Claim and Design Modeler can export). Way back a coworker and I had written a APDL macro to generate a STL file from an tri area mesh. Attached is an example in Python + Numpy. I did not use any STL specific Python module as I wanted to remind myself of what we did. Plus it's not very defensive i.e. assumes no node/element gaps in the numbering. No other FEM other than the meshed areas. Does not write multiple parts (treats all as one part). What else...not sure at this time. Anyway it was kind of fun. Next step is to see what is already available.
Mike
STL.zip
Beta Was this translation helpful? Give feedback.
All reactions