Is there any possibility to split stl file section cuts and need to export section cuts using three js

Is there any possibility to split stl file section cuts and need to export section cuts and save as .stl file format using three js.