Trimming of Faces


I have some particulary difficult surfaces with bounding curves and have created the necessary trimming wires which I want to apply to the existing faces. Has anyone some thoughts on which classes to use for reliable trimming. Using the BRepFeat_SplitShape etc fails to find the correct intersection as the surfaces have almost tangent UV lines in one location.
Thanks David

François Lauzon's picture

Hello David,
- First, project your wire either normal to your face (BRepAlgo_NormalProjection) or along a direction (BRepProj_Projection). For that you will have to iterate on each edge of your wire.
- then build a new wire, and use that wire to build your trimmed face.
- you might need to use ShapeFix on your new trimmed face.

Good Luck,