I want to add a button that is similar to Section Box button in Revit for selectedObjects in SpeckleAdmin. I’m not familiar with threejs so I don’t know where to start. I’m thinking of these steps:
- Get bounding box of selected objects using computeBoundingBox. I don’t know how to get all geometries from selectedObjects.
- Implement something similar to this repo: GitHub - daign/clipping-with-caps: Clipping a mesh and covering the openings with caps in WebGL. It’s quite complicated for me to understand.
Could you SpeckleAdmin devs please shed some lights on this?