<p>Does anyone know a way to calculate the Z-height and support's volume of an object at a specific orientation (specific x, y, z angles)?</p>
<p>I am looking for an Equation/s or a Python code/s, not a slicer software. Thank you.</p>

CC BY-SA 4.0
2022-09-13T01:00:33.280Z
This sounds more like a question for [Mathematics.SE](https://math.stackexchange.com/) or [Engineering.SE](https://engineering.stackexchange.com/).
agarza
CC BY-SA 4.0
2022-09-13T04:31:20.080Z
What do you think about [rotation matrices](https://en.m.wikipedia.org/wiki/Rotation_matrix)? I think this is perfectly answerable on mathematics or engineering stacks. The rotation matrix calculates the new position of the coordinates of your mesh, so every coordinate is rotated to a new position, what is left is to find the minimum (can be below the Z=0 plane) and maximum Z height, the difference is the height of the rotated object.
0scar
<z-axis><support-structures>
Calculate Z-height at a given orientation
Z47
# Calculate Z-height at a given orientation

(Asked by: username_0 on 2022-09-12)

Does anyone know a way to calculate the Z-height and support's volume of an object at a specific orientation (specific x, y, z angles)?

I am looking for an Equation/s or a Python code/s, not a slicer software. Thank you.

**Tags:** z-axis, support-structures
> **Comments:**
> **username_1**: This sounds more like a question for [Mathematics.SE](https://math.stackexchange.com/) or [Engineering.SE](https://engineering.stackexchange.com/).  
> **username_2**: What do you think about [rotation matrices](https://en.m.wikipedia.org/wiki/Rotation_matrix)? I think this is perfectly answerable on mathematics or engineering stacks. The rotation matrix calculates the new position of the coordinates of your mesh, so every coordinate is rotated to a new position, what is left is to find the minimum (can be below the Z=0 plane) and maximum Z height, the difference is the height of the rotated object.  

---

## 0 answers

