Based on three.js, how can I apply boundary conditions to a 3D model?

How can I implement mesh division of STEP files using three.js and retrieve the data for node set, point set, element set, and facet set?The result is shown in the figure below. :::https://www.simhub.com.cn/app/home/main.html#/
https://www.simhub.com.cn/app/staticstructuralanalysis/main.html

When it comes to STEP files you might not get as lucky with three.js alone.

Maybe take a look at Online 3D Viewer (O3DV) and recently introduced bitbybit-dev.

While you are at it, don’t hesitate to check my implementation of O3DV in Quick Viewer and also STEP++ Viewer which is using occt-import-js from the author of O3DV. These are basically just viewers which can possibly show the STEP model itself. They also include exporting functionality to other formats.