Export Data to STL

Raïsa Roeplal
Raïsa Roeplal Altair Community Member
edited October 2 in Community Q&A

Hello,

I am performing a simulation of heap formation and want to export the final heap (see image) to STL. My particles are both spherical and non-spherical, and I have some really small particles, so exporting takes very, very long. I am considering to only export parts of the heap which I am interested in, in order to reduce the number of particles which need to be exported. 

image

So far, I do not see the option for only exporting a certain selection of particles... Or maybe I am missing something. Does anyone have experience with this? Thanks in advance for any suggestions. 

Tagged:

Answers

  • RWood
    RWood
    Altair Employee
    edited October 2

    Hi,

    I can think of a couple of choices, though neither is ideal.

    If the smaller particles are a different particle type you could delete that particle type from the finished simulation (after making a copy). Even after the simulation is run, if you go back to the Creator and delete the particle type they will be removed from the simulation at the current timestep.

    Alternatively, if you're happy editing the original python scripts, they're completely open and part of the install. They can be found here:

    C:\Program Files\Altair\2024\EDEM\python\EDEMtoStl

    Off the top of my head, in the utilityScripts\geth5data.py script you could edit it to only gather data for particles above a particular radius or for a particular type.

    I should add that I don't particularly recommend this approach, but if you're happy editing python / edemPy scripts, then it's an option.

    Cheers,

    Richard