Thu, 06/23/2022 - 19:16
Forums:
Hi Bros! It's not the first time I meet the problem.
I try to get the cross section of a shape, assume the shape is a cylinder.
I can get the location and direction of the cylinder, then can get a plane with this.
I try to get the cross section through BRepAlgoAPI_Cut. However, it doesn't work.
Now I will try to use GeomAPI_IntSS.
Fri, 06/24/2022 - 06:34
shape1 is a cylinder, shape2 is a face, result shape is a wire you can use get TopoDS_Edge and TopoDS_Vertex
Fri, 06/24/2022 - 09:30
Thanks very much, it works.