Get boundary

Hello
I am currently working on importing the files of stl, step, and iges and displaying them on 3d.
The 3d shape has been displayed, but I don't know what to do with the edge.
If you look at the cad assistant program, I want to show the boundary in display mode like wireframe or shaded with edges.
Please help me with what to do.