# How to hard the transform for stl?

**URL:** <https://discourse.slicer.org/t/how-to-hard-the-transform-for-stl/6929>\
**Category:** Support\
**Created:** [May 25, 2019, 4:41pm UTC](https://discourse.slicer.org/t/how-to-hard-the-transform-for-stl/6929 "2019-05-25T16:41:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [May 25, 2019, 4:41pm UTC](https://discourse.slicer.org/t/how-to-hard-the-transform-for-stl/6929/1 "2019-05-25T16:41:38Z")

</div>

[1, 0, 0, 2],  
[0, 1, 0, 2],  
[0, 0, 1, 2],  
[0, 0, 0, 0.01]

the “0.01” seems not work in slicer and cannot save as well as.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 25, 2019, 5:08pm UTC](https://discourse.slicer.org/t/how-to-hard-the-transform-for-stl/6929/2 "2019-05-25T17:08:17Z")

</div>

You must not change the last row of the transform (it would create transforms that violate assumptions in VTK and ITK filters). There is a ticket for making the last row read-only but we have not come around to implement it yet.

What would you like to achieve by modifying the last row?

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [May 26, 2019, 4:12am UTC](https://discourse.slicer.org/t/how-to-hard-the-transform-for-stl/6929/3 "2019-05-26T04:12:57Z")

</div>

I want to scale the group stl file, but never change the relationship location and then display it in the 3d slicer

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 26, 2019, 11:49am UTC](https://discourse.slicer.org/t/how-to-hard-the-transform-for-stl/6929/4 "2019-05-26T11:49:01Z")

</div>

Scaling transform is:

```auto
ScaleX 0 0 0
0 ScaleY 0 0
0 0 ScaleZ 0
0 0 0 1

```
