# Smoothing Contours (iso lines) on a Planar Slice

**URL:** https://discourse.paraview.org/t/smoothing-contours-iso-lines-on-a-planar-slice/4104
**Category:** ParaView Support
**Created:** [April 17, 2020, 7:32pm UTC](https://discourse.paraview.org/t/smoothing-contours-iso-lines-on-a-planar-slice/4104 "2020-04-17T19:32:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RAndress](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@RAndress](https://discourse.paraview.org/u/RAndress)
#### Post date: [April 17, 2020, 7:32pm UTC](https://discourse.paraview.org/t/smoothing-contours-iso-lines-on-a-planar-slice/4104/1 "2020-04-17T19:32:48Z")

</div>

Shown below is the plot of electric current density (A/m) imported from FEAtool output VTK and STL data. I am, as yet, unable to smoothing the contour/Iso lines. Please point the way …

 ![Cylinder-in-box-hifi-slice-XYCurDensWithGeoSTLsmooth](https://discourse.paraview.org/uploads/default/original/2X/b/b96c9ac72d3ee3666ca17f39d3e74eabef7fcc34.png) ![ParaView-Cylinder-in-box](https://discourse.paraview.org/uploads/default/original/2X/b/b8fb843f6de9a864ae7c7288366fc4bed5a18900.png)

The model is of a cylindrical conductor in a tank of impure water with opposite sides (of the tank) held 10V appart (+10V and 0V).

-Randal

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [April 19, 2020, 12:37am UTC](https://discourse.paraview.org/t/smoothing-contours-iso-lines-on-a-planar-slice/4104/2 "2020-04-19T00:37:06Z")

</div>

If I recall correctly, the slice filter will triangulate your data, so if you started with hexahedra the triangles might not interpolate your data as accurately. You could try to run the `Contour` algorithm first and then run `Slice` on the contour result.

---

<div class="post-metadata">

### Author: ![RAndress](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/258eb7/32.png) [@RAndress](https://discourse.paraview.org/u/RAndress)
#### Post date: [April 19, 2020, 5:54pm UTC](https://discourse.paraview.org/t/smoothing-contours-iso-lines-on-a-planar-slice/4104/3 "2020-04-19T17:54:13Z")

</div>

Thanks for the suggestion … while it produced an interesting result, it was still not what I am looking for which is essentially a curve fit to the ios line points before they are plotted so that, while the resultant lines are not precisely correct, they are easier on the eyes 🙂

I was hoping to be able to use the paraview.simple.smooth:

[https://kitware.github.io/paraview-docs/latest/python/paraview.simple.Smooth.html](https://kitware.github.io/paraview-docs/latest/python/paraview.simple.Smooth.html) - whose description seems to fit my need.
