How to customize OHIF for Viewing STL Files in OHIF Viewer Hi everyone,

Hi everyone,

I’ve successfully deployed OHIF Viewer on my PC and connected it with Orthanc. Currently, I’m looking to add functionality for viewing STL files within the OHIF Viewer.

As OHIF primarily supports 2D images, I’m unsure of the best approach to integrate STL file support. Could anyone provide guidance on how to upload and view STL files in OHIF, or suggest any methods or extensions that might facilitate this?

Thank you in advance for your help!

Not easy to do, but doable.
You need a custom extension, with custom getSopClassHandler, with custom Viewport, you can see our chart viewport and follow that pattern , it is in the pre-clinical extension