Creating a surface using edges.

Hello,

I wanted to create a surface like the attached surface image using edges, the attached edge image.
I could not find a method to make a single surface with the edges - the curves made using GeomAPI_Interpolate.
So, I created three surfaces by BRepFill_Filling API, and made them as one shell by BRepBuilderAPI_Sewing API.
Mostly it works fine. However, it sometimes fails because the adjacent faces are misaligned and afterwards prevents performing cad operations like offset, making solid etc.

I have two questions.

1. Is there any method to create a single surface using the given edges from the beginning?
If so, what methods are available?

2. If making a few surfaces and merging them, is there a way to prevent misalignment of adjacent surfaces?

I attached the brep file as a wrong case; the adjacent faces are misaligned.

Thank you in advance.

Mikhail Sazonov's picture

I would try to use the algorithm GeomPlate_BuildPlateSurface. You can use a cylindrical surface as the initial one. Use your edges as curve constraints.

Suwan Park's picture

Dear Mikhail,

Thank you for reply.
Could you please provide a more detailed explanation?
I don't understand the core algorithms of OCCT well, and I'm just using the APIs.