Slicing or Clipping on 3D (JSON) object

Problem solved in a different way, post deleted as it’s a school project