I am trying to find an intersection as per here with
pts=ToExpression/@Import["https://raw.githubusercontent.com/martinq321/points/main/pts","List"];
Graphics3D[{
InfinitePlane[{{.5,0,0},{.5,1,1},{.5,1,0}}],Polygon@pts},
Boxed->False,ViewPoint -> {1, 0,-6}, ViewVertical -> {1, 0, 0}
]
r1=RegionUnion[ConvexHullMesh/@pts];r2=InfinitePlane[{{.5,0,0},{.5,1,1},{.5,1,0}}];
r3=DeleteCases[RegionIntersection[r2,#]&/@MeshPrimitives[r1,2],_EmptyRegion];
line=Line[(r3[[##]][[1]]&@@@(Most/@Position[r3,Line]))];
Show[r1, Graphics3D[line]]
MMA completes the task, but it takes a very long time. Can I speed things up?
