Skip to content

Creating smooth interpolation curves #2091

@philipp-tty

Description

@philipp-tty

📝 Description of the feature

Sometimes I find it necessary to create smooth curves or splines in my geometry from arbitrary points.
This can be especially helpful when later working with CFD where the realistic geometries are often "smooth".
As far as I understand we currently have the following options to create our wanted sketch:

  • arc
  • box
  • circle
  • ellipse
  • gear
  • polygon
  • segment
  • slot
  • trapezoid
  • triangle

None seem ideal for this.

Coming from design modeler, there I would use the spline function. This does not to seem available at the moment.

Smooth surfaces are especially crucial when working with boundary layers, which is state of the art in CFD. The impact on the mesh can be seen below.

Image Image

💡 Steps for implementing the feature

I am imagining something like this. This would reproduce the functionality seen in DM.

def spline(*points: Point2D):

🔗 Useful links and references

No response

Metadata

Metadata

Labels

enhancementNew features or code improvements

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions