# Fix orientation for triangles after Delaunay2D filter

**URL:** https://discourse.paraview.org/t/fix-orientation-for-triangles-after-delaunay2d-filter/7473
**Category:** ParaView Support
**Created:** [June 24, 2021, 12:40am UTC](https://discourse.paraview.org/t/fix-orientation-for-triangles-after-delaunay2d-filter/7473 "2021-06-24T00:40:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Juan\_Jose\_Casafranca](https://discourse.paraview.org/user_avatar/discourse.paraview.org/juan_jose_casafranca/32/3499_2.png) [@Juan\_Jose\_Casafranca](https://discourse.paraview.org/u/Juan_Jose_Casafranca)
#### Post date: [June 24, 2021, 12:40am UTC](https://discourse.paraview.org/t/fix-orientation-for-triangles-after-delaunay2d-filter/7473/1 "2021-06-24T00:40:45Z")

</div>

I have a pipeline which consist on a Delaunay2D filter followed by an ExtractSurface. After this, I save the mesh as an obj. I have tried to load it in CGAL and it reports each time different number of faces, until I have realised that the orientation for the faces generated by my paraview pipeline is not consistent.

```auto
coarseobj = WavefrontOBJReader(registrationName='coarse.obj', FileName='coarse.obj')
delaunay2D1 = Delaunay2D(registrationName='Delaunay2D1', Input=coarseobj)
extractSurface1 = ExtractSurface(registrationName='ExtractSurface1', Input=delaunay2D1)
SaveData('coarse.obj', proxy=extractSurface1)

```

How can I fix the orientation of my triangles after this pipeline?

---

<div class="post-metadata">

### Author: ![Kenichiro-Yoshimi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kenichiro-Yoshimi](https://discourse.paraview.org/u/Kenichiro-Yoshimi)
#### Post date: [June 26, 2021, 1:59am UTC](https://discourse.paraview.org/t/fix-orientation-for-triangles-after-delaunay2d-filter/7473/2 "2021-06-26T01:59:51Z")

</div>

Hello,

To adjust the normal direction of the triangles, you can apply the **Generate Surface Normals** filter to extractSurface1 with the **Consistency** option turned on.
