Curve Fitting (β spline dose not work)

Hello everyone,

I have a series of 2D points representing an airfoil.
I would like to draw a single line (geoemetric entity) passing exactly between these points.

So far what I have managed to do is draw n lines one for each copy of points. However, I would like to have a single geometric entity (one line, one edge).

I have tried spline but the curve does not pass exactly through my points, it interpolates. Instead I want my curve to pass exactly through the given points.

I am well aware that afterwards, adding a wire creates a single geometric entity. however, since i have to use quadrangle mapping as a meshing algorithm, it reasons in terms of edges and not wires.

If you could help me I would be immensely grateful.

There is an entity called Polyline it is available both in GEOM and SHAPER.
Which one are you using?

Hello Fred, the problem with the Polyline function is that it creates a geometric entity with n edges within it.

I misunderstood before, I would like to have a line that has only one edge. I would like to merge several consecutive edges into a single edge, as if the vertices inside ‘no longer exist’.

Have I explained myself better now? If you look in the image I have uploaded, I have drawn an example polyline. It says 2 edges. I would like to have one edge which is the fusion of the two edges.

Screenshot from 2024-11-07 11-40-16

Hello
What I am missing is that you have the correct name,
https://docs.salome-platform.org/9/gui/GEOM/create_curve_page.html
Here you have the doc, there are 3 types the first one will make a wire with several vertexes, the second will make only one edge but will not pass though all vertexes selected. And the third one will pass though all vertexes and make only one edge. Keep in mind that you can use a max of 27 points.

1 Like

Thank you very much Fred!!