Step rotation on Z issue
2025-07-26, 16:42 (This post was last modified: 2025-07-26, 20:01 by mihao.)
	2025-07-26, 16:42 (This post was last modified: 2025-07-26, 20:01 by mihao.)
		Hi,
I am trying to create a phone app, and my goal is to show each step of my design (with LDCad) on the phone app the same way as shown in LDCad. I met a problem when implementing the behavior when a step rotating on Z.
Below is a step having no rotation:
![[Image: 800x538.png]](https://bricksafe.com/files/legobee/misc/z00.png/800x538.png)
But when I just rotate it around Z for 30 degrees, it is rendered like this:
![[Image: 800x538.png]](https://bricksafe.com/files/legobee/misc/z30.png/800x538.png)
From what I see, it is more like rotating on Y and X for some reason. But if I open the same step in LPub3D, the render is expected as below:
![[Image: 800x416.png]](https://bricksafe.com/files/legobee/misc/z30inlpub3d.png/800x416.png)
Could anyone help me to understand what is the logic behind this in LDCad? Or can it just be a bug?
Thanks!
	
	
	
	
I am trying to create a phone app, and my goal is to show each step of my design (with LDCad) on the phone app the same way as shown in LDCad. I met a problem when implementing the behavior when a step rotating on Z.
Below is a step having no rotation:
![[Image: 800x538.png]](https://bricksafe.com/files/legobee/misc/z00.png/800x538.png)
But when I just rotate it around Z for 30 degrees, it is rendered like this:
![[Image: 800x538.png]](https://bricksafe.com/files/legobee/misc/z30.png/800x538.png)
From what I see, it is more like rotating on Y and X for some reason. But if I open the same step in LPub3D, the render is expected as below:
![[Image: 800x416.png]](https://bricksafe.com/files/legobee/misc/z30inlpub3d.png/800x416.png)
Could anyone help me to understand what is the logic behind this in LDCad? Or can it just be a bug?
Thanks!
 
       
       
 

 
 

 
 
 
 
 
			 
  ![[Image: 800x547.png]](https://bricksafe.com/files/legobee/misc/z30-2.png/800x547.png) 
	![[Image: 800x439.png]](https://bricksafe.com/files/legobee/misc/z30-3.png/800x439.png)