![]() |
[LDCad] Step rotation on Z issue - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html) +--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html) +--- Thread: [LDCad] Step rotation on Z issue (/thread-28963.html) |
Step rotation on Z issue - mihao - 2025-07-26 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: ![]() But when I just rotate it around Z for 30 degrees, it is rendered like this: ![]() 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: ![]() Could anyone help me to understand what is the logic behind this in LDCad? Or can it just be a bug? Thanks! RE: Step rotation on Z issue - Roland Melkert - 2025-07-26 I don't think you are rotating just 30 degrees: ![]() If you did a 30 deg z rotation, it would be: Code: 0 ROTSTEP 0 0 30 ABS RE: Step rotation on Z issue - mihao - 2025-07-27 (Yesterday, 20:14)Roland Melkert Wrote: I don't think you are rotating just 30 degrees: Thanks for replying! I am talking about the very first step which is exactly same as you mentioned. The line you pointed it out is not related to this issue. To avoid confusion, I delete all following steps after step 2, so no more other rotations now. ![]() RE: Step rotation on Z issue - Roland Melkert - 2025-07-27 (6 hours ago)mihao Wrote: Thanks for replying! I am talking about the very first step which is exactly same as you mentioned. The line you pointed it out is not related to this issue. To avoid confusion, I delete all following steps after step 2, so no more other rotations now.This works for me, are you sure ARS (top right of compass) is enabled? It shows NSR if disabled. |