# Sub-pixel positioning making pipes look wonky

**URL:** <https://forum.inductiveautomation.com/t/sub-pixel-positioning-making-pipes-look-wonky/104438>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 31, 2025, 1:10am UTC](https://forum.inductiveautomation.com/t/sub-pixel-positioning-making-pipes-look-wonky/104438 "2025-03-31T01:10:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MHolst](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@MHolst](https://forum.inductiveautomation.com/u/MHolst)\
**Post date:** [March 31, 2025, 1:10am UTC](https://forum.inductiveautomation.com/t/sub-pixel-positioning-making-pipes-look-wonky/104438/1 "2025-03-31T01:10:07Z")

</div>

Hello,

Just wondering if anyone has some easier ways to deal with this:  
When pipes have non-rounded values the lines become fuzzy and a little wonky.  
Is there any way to snap to grid (While still snapping to the nearby component point), or rounding the coordinates of all the pipes without having to go through the menu manually editing values?

Left side: sub pixel coordinates, Right side: rounded coordinates

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/0/e0fd8cd62dbbf16985b17c9d79a432f367a5109a.png)

Thanks,  
Matt

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 31, 2025, 3:01am UTC](https://forum.inductiveautomation.com/t/sub-pixel-positioning-making-pipes-look-wonky/104438/2 "2025-03-31T03:01:54Z")

</div>

You could relatively easily process the pipes' x and y values, but only in fixed mode. It will be impossible to do in percent mode

---

<div class="post-metadata">

**Author:** ![MHolst](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@MHolst](https://forum.inductiveautomation.com/u/MHolst)\
**Post date:** [March 31, 2025, 3:18am UTC](https://forum.inductiveautomation.com/t/sub-pixel-positioning-making-pipes-look-wonky/104438/3 "2025-03-31T03:18:22Z")

</div>

We are currently using fixed mode  
how would you go about fixing them?

---

<div class="post-metadata">

**Author:** ![MHolst](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@MHolst](https://forum.inductiveautomation.com/u/MHolst)\
**Post date:** [April 1, 2025, 2:50am UTC](https://forum.inductiveautomation.com/t/sub-pixel-positioning-making-pipes-look-wonky/104438/4 "2025-04-01T02:50:07Z")

</div>

Just figured out a quicker way than going through all the pipes individually:

Copy the pipes array in the PROPS editor  
Paste into VS Code  
Use search and replace with the regex: `\.\d+`  
Replace with `.00`  
Paste back onto the pipes array

This doesn't round the numbers, but it gets the pipes looking solid again  
Hope this helps anyone who stumbles across this
