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: https://github.com/daign/clipping-with-caps. It’s quite complicated for me to understand.
Could you SpeckleAdmin devs please shed some lights on this?