Skip to content

Problem with tesselation when using periodic surfaces #128

Open
@LorenzSLH

Description

@LorenzSLH

Dear Bingol,
i would like to know if you have any idea on how to solve that issue. For one part of my project, I am using your libary to create an airfoil. As it is a closed (periodic) NURB curve, i have set according to the course of the MTU, the knotvector and the control points. Which perfectly works and i get a closed curve.

My problem is now that when extruding the surface in z-direction (in v direction i have the closed NURB curve of degree 3, and in the u-direction i have a degree 1 curve - linear). Therefore the curves v[0] and v[1] only differ by an offset in the z-direction. When trying to export it now as a .stl file, i have an issue with the faces it creates.
I checked already the evaluation points if there are any double points but that algorithm of yours seem to work fine. Also when plotting it with VisMPL.VisSurfWireframe it looks fine. However when plotting it with VisMPL.VisSurface i have the same error as with the stl file. Wrong faces in the area of the double ctrlpts. So my guess there is an issue with the tesselation when the surface is closed. Picture of failed faces: failedFaces

Do you have any ideas on that? Would be great help. I will attach you a json file of the curve i am using as well as the surface.
airfoilHull.zip

With best regards,
Lorenz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThere is a problem with the coding or algorithmsenhancementNew feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions