Skip to content

New feature: STL export #1242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks
germa89 opened this issue Jun 30, 2022 · 3 comments
Open
2 tasks

New feature: STL export #1242

germa89 opened this issue Jun 30, 2022 · 3 comments
Milestone

Comments

@germa89
Copy link
Collaborator

germa89 commented Jun 30, 2022

Description of the feature

Currently you cannot export to STL, but you can export the "view" created by the plotting functions using Pyvista.

We should be able to generate STL files of the full geometry without plotting.

Steps for implementing the feature

Reevaluate steps because of comments.

Better implement first DPF

  • Generate full volumes, areas, lines, elements, etc. models (not views)
  • Create function such as:
mapdl.export("stl", "volumes") 
mapdl.export("stl", "all") 

which will wrap Pyvista Save function.

Useful links and references

@germa89 germa89 added this to the v0.63 milestone Jun 30, 2022
@bedermaus
Copy link

bedermaus commented Jun 30, 2022

There is already an operator in DPF-Core which can do it:
https://dpfdocs.pyansys.com/api/ansys.dpf.core.operators.mesh.stl_export.html

@germa89
Copy link
Collaborator Author

germa89 commented Jun 30, 2022

Thank you @bedermaus !

@germa89
Copy link
Collaborator Author

germa89 commented Sep 18, 2023

If we are going to reuse the DPF operator, we will introduce DPF as a dependency. We should coordinate with #1298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants