Dear All,

I have an stl file which is constructed from 3D point cloud data using Open3D python library. The stl file consists of a surface and a base integrated together in a single stl. (For reference, I have attached the ascii stl file and also the image).

1. I need this stl file to be split into two files. One for the surface and one for the base using python. This is because, I need to give two Boundary conditions (Base and surface) further using OpenFoam software. How do I achieve that?

2. My idea was to sort the stl file in terms of base mesh and surface mesh and then create two lists of stl and save as two stls. But I am finding it difficult to achieve. I tried to use numpy-stl.

3. The base stl file looks like a planar shape, but has some minute elevations to it for which I can give the range of the coordinate.

Any leads will be appreciated.

Similar questions and discussions