Слиты
запросил слияние github/fork/ArpegorPSGH/reduce_scope_limitation_cut_object_by_surface в master
Created by: ArpegorPSGH
Addressed problem description
Solve part of the implementation limitations, as discussed here #4594.
Solution description
I removed the double projection with raycast, removed the limitation when only looking for intersection points, added an option to speed up bvh tree generation when the surface mesh is made of triangles only, and provided an idea on how to completely remove the limitation, along with how to deal with a potential problem with how the intersection points are detected, if it ever arose. See the code comments for more details.
Preflight checklist
-
Code changes complete. -
Code documentation complete. -
Documentation for users complete (or not required, if user never sees these changes). -
Manual testing done. -
Unit-tests implemented. -
Ready for merge.