# Reflect .vtp file and save as new .vtp file

**URL:** https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398
**Category:** ParaView Support
**Created:** [June 11, 2021, 2:45pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398 "2021-06-11T14:45:27Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Ahenry](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@Ahenry](https://discourse.paraview.org/u/Ahenry)
#### Post date: [June 11, 2021, 2:45pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/1 "2021-06-11T14:45:27Z")

</div>

Hello,  
I am fairly new to ParaView, but I did not see anything related to my question on the FAQ. I am attempting to create a reflection of a .vtp file that I have acquired from an OpenSim model. I can open the .vtp file in ParaView and have used the reflect tool to reflect it over the Z axis. I have then extracted the surface to allow me to save it as a .vtp file, but the file format has 6 columns of polydata rather than the 3 of the original file. Is this the correct process for reflecting a .vtp and saving the result as a new file? If not, how should I go about this?  
Thanks,

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 14, 2021, 2:42pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/2 "2021-06-14T14:42:52Z")

</div>

Not sure to follow here, could you share data and screenshots ?

---

<div class="post-metadata">

### Author: ![Ahenry](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@Ahenry](https://discourse.paraview.org/u/Ahenry)
#### Post date: [June 14, 2021, 4:15pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/3 "2021-06-14T16:15:59Z")

</div>

Yes, I am attaching the original .vtp file that I would like to make a reflectionof, the resutling .vtp file that I get based on the process I described in my original post and a screenshot of the reflection and original vtp in paraview.

 ![Original_and_Reflected_Pelvis](https://discourse.paraview.org/uploads/default/original/2X/f/f1f262f2677b4b42e4c9fed1cdf09190aee9b8a1.jpeg)  
 ![OriginalPelvis](https://discourse.paraview.org/uploads/default/original/2X/d/df9ec96286682dc169dc623e9984f9230b339bca.jpeg)  
[sheeppelvis.vtp](https://discourse.paraview.org/uploads/short-url/12CSBgrzcNjbzbXAtv987bP27qc.vtp) (990.8 KB)  
[sheeppelvisReflected.vtp](https://discourse.paraview.org/uploads/short-url/lV7tnNAIEnxUIv9dZRHyX1FgoTb.vtp) (1.5 MB)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 15, 2021, 7:34am UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/4 "2021-06-15T07:34:34Z")

</div>

I think you want to uncheck “Copy Input” checkbox of the reflect filter.

---

<div class="post-metadata">

### Author: ![Ahenry](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@Ahenry](https://discourse.paraview.org/u/Ahenry)
#### Post date: [June 15, 2021, 8:00pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/5 "2021-06-15T20:00:06Z")

</div>

Yes, I have unchecked the ‘Copy Input’ box. I was unable to save the reflection as a .vtp file though. I tried using the ‘Save Data’ option to do this, but .vtp was not available in the file type dropdown menu.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 15, 2021, 8:03pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/6 "2021-06-15T20:03:55Z")

</div>

Add an extract surface filter.

---

<div class="post-metadata">

### Author: ![Ahenry](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@Ahenry](https://discourse.paraview.org/u/Ahenry)
#### Post date: [June 15, 2021, 8:34pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/7 "2021-06-15T20:34:22Z")

</div>

Adding an extract surface filter allowed me to save the file as a .vtp, but the file now contains 6 columns of ‘Normals’ data instead of the 3 in the original file. Is this a result of settings within ‘Save Data’ or just how .vtp files are saved within ParaView?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 15, 2021, 8:40pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/8 "2021-06-15T20:40:47Z")

</div>

No idea what you mean, what is a “columns of ‘Normals’” ?

---

<div class="post-metadata">

### Author: ![Ahenry](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@Ahenry](https://discourse.paraview.org/u/Ahenry)
#### Post date: [June 15, 2021, 8:47pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/9 "2021-06-15T20:47:16Z")

</div>

When opening the .vtp files in a notepad or other text editor the individual points are defined by 3 coordinates (3 columns). However, after reflecting, extracting the surface, and saving as a .vtp file in ParaView, the points are now defined by 6 coordinates for some reason. I am not sure why there are 6 coordinates per point after saving the extracted surface as a .vtp. To see the difference, you can open the original and reflected .vtp files I attached to see the change in number of coordinate columns.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 16, 2021, 12:10pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/10 "2021-06-16T12:10:14Z")

</div>

They are not. This is just the automatic styling in ASCII files that organize the points two by two.

Just count the lines if you want to be sure.

---

<div class="post-metadata">

### Author: ![Ahenry](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@Ahenry](https://discourse.paraview.org/u/Ahenry)
#### Post date: [June 16, 2021, 1:48pm UTC](https://discourse.paraview.org/t/reflect-vtp-file-and-save-as-new-vtp-file/7398/11 "2021-06-16T13:48:27Z")

</div>

Ah okay. Thank you
